@public-ui/hydrate 1.7.2-rc.0 → 2.0.0-rc.0

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 (2) hide show
  1. package/dist/index.js +125 -1037
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -7810,7 +7810,7 @@ const initKoliBri = () => {
7810
7810
  | . ' | .-. | | | ,--. | .-. \\ | .--' ,--.
7811
7811
  | |\\ \\ | '-' | | | | | | '--' / | | | |
7812
7812
  \`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'
7813
- 🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 1.7.2-rc.0
7813
+ 🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 2.0.0-rc.0
7814
7814
  `, {
7815
7815
  forceLog: true,
7816
7816
  });
@@ -8690,16 +8690,6 @@ const a11yHint = (msg, options) => {
8690
8690
  });
8691
8691
  }
8692
8692
  };
8693
- const deprecatedCache = new Set();
8694
- const deprecatedHint = (msg, options) => {
8695
- if (deprecatedCache.has(msg) === false || !!(options === null || options === void 0 ? void 0 : options.force)) {
8696
- deprecatedCache.add(msg);
8697
- Log.warn([msg].concat((options === null || options === void 0 ? void 0 : options.details) || []), {
8698
- classifier: `🔥 deprecated`,
8699
- overwriteStyle: '; background-color: #f00',
8700
- });
8701
- }
8702
- };
8703
8693
  const devCache = new Set();
8704
8694
  const devHint = (msg, options) => {
8705
8695
  if (devCache.has(msg) === false || !!(options === null || options === void 0 ? void 0 : options.force)) {
@@ -9913,39 +9903,6 @@ const koliBriQuerySelectorColors = (selector, a11yColorContrast = getDefaultColo
9913
9903
  return koliBriA11yColorContrast(selectedNode, a11yColorContrast);
9914
9904
  }
9915
9905
  };
9916
- const scrollByHTMLElement = (element, parentElement = window) => {
9917
- if (element instanceof HTMLElement) {
9918
- parentElement.scrollTo({
9919
- behavior: 'smooth',
9920
- top: element.getBoundingClientRect().top + getWindow$1().pageYOffset - 50,
9921
- });
9922
- element.focus();
9923
- }
9924
- else {
9925
- devHint(`Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.`);
9926
- }
9927
- };
9928
- const scrollBySelector = (selector, document) => {
9929
- if ((selector instanceof Document || selector instanceof HTMLElement || selector instanceof ShadowRoot) &&
9930
- typeof document === 'string') {
9931
- devHint(`Bei der Methode querySelectorAll wurden die Parameter document, selector in selector, document getauscht, da der Parameter selector nicht, allerdings der Parameter document optional sein kann.`);
9932
- const temp = `${document}`;
9933
- document = selector;
9934
- selector = temp;
9935
- }
9936
- if (typeof selector === 'string') {
9937
- const element = koliBriQuerySelector(selector, document);
9938
- if (element instanceof HTMLElement) {
9939
- scrollByHTMLElement(element);
9940
- }
9941
- else {
9942
- devHint(`Es konnte kein HTMLElement mit dem Selector (${selector}) gefunden werden, zu dem gescrollt werden soll.`);
9943
- }
9944
- }
9945
- else {
9946
- devHint(`Der Selector ist nicht valide, zu dem gescrollt werden soll.`);
9947
- }
9948
- };
9949
9906
  class KoliBriUtils {
9950
9907
  static queryHtmlElementColors(targetNode, a11yColorContrast, recursion = false, log = true) {
9951
9908
  let returnValue = null;
@@ -10015,13 +9972,9 @@ KoliBriUtils.cache = new Map();
10015
9972
  const ariaCurrentSubject = new Subject();
10016
9973
  class KoliBriDevHelper {
10017
9974
  }
10018
- KoliBriDevHelper.ariaCurrentSubject = ariaCurrentSubject;
10019
9975
  KoliBriDevHelper.patchTheme = patchTheme;
10020
- KoliBriDevHelper.patchThemeTag = patchThemeTag;
10021
9976
  KoliBriDevHelper.querySelector = koliBriQuerySelector;
10022
9977
  KoliBriDevHelper.querySelectorAll = koliBriQuerySelectorAll;
10023
- KoliBriDevHelper.scrollByHTMLElement = scrollByHTMLElement;
10024
- KoliBriDevHelper.scrollBySelector = scrollBySelector;
10025
9978
  KoliBriDevHelper.stringifyJson = stringifyJson;
10026
9979
 
10027
9980
  const READABLE_CHARS = /[a-zA-Z0-9äöüÄÖÜß]/g;
@@ -10081,7 +10034,6 @@ class KolAbbr {
10081
10034
  this.nonce = nonce();
10082
10035
  this._label = undefined;
10083
10036
  this._tooltipAlign = 'top';
10084
- this._title = undefined;
10085
10037
  this.state = {
10086
10038
  _label: '…',
10087
10039
  _tooltipAlign: 'top',
@@ -10093,19 +10045,15 @@ class KolAbbr {
10093
10045
  validateLabel(value) {
10094
10046
  validateLabel(this, value);
10095
10047
  }
10096
- validateTitle(value) {
10097
- this.validateLabel(value);
10098
- }
10099
10048
  validateTooltipAlign(value) {
10100
10049
  validateTooltipAlign(this, value);
10101
10050
  }
10102
10051
  componentWillLoad() {
10103
- this.validateLabel(this._label || this._title);
10052
+ this.validateLabel(this._label);
10104
10053
  this.validateTooltipAlign(this._tooltipAlign);
10105
10054
  }
10106
10055
  static get watchers() { return {
10107
10056
  "_label": ["validateLabel"],
10108
- "_title": ["validateTitle"],
10109
10057
  "_tooltipAlign": ["validateTooltipAlign"]
10110
10058
  }; }
10111
10059
  static get style() { return {
@@ -10117,7 +10065,6 @@ class KolAbbr {
10117
10065
  "$members$": {
10118
10066
  "_label": [1],
10119
10067
  "_tooltipAlign": [1, "_tooltip-align"],
10120
- "_title": [1],
10121
10068
  "state": [32]
10122
10069
  },
10123
10070
  "$listeners$": undefined,
@@ -10160,7 +10107,6 @@ class KolAccordion {
10160
10107
  }
10161
10108
  });
10162
10109
  };
10163
- this._heading = undefined;
10164
10110
  this._label = undefined;
10165
10111
  this._level = 1;
10166
10112
  this._on = undefined;
@@ -10174,10 +10120,7 @@ class KolAccordion {
10174
10120
  return (hAsync(Host, null, hAsync("div", { class: {
10175
10121
  accordion: true,
10176
10122
  open: this.state._open === true,
10177
- } }, hAsync("kol-heading-wc", { _label: "", _level: this.state._level }, hAsync("kol-button-wc", { _ariaControls: this.nonce, _ariaExpanded: this.state._open, _icons: this.state._open ? 'codicon codicon-remove' : 'codicon codicon-add', _label: this.state._label, _on: { onClick: this.onClick } })), hAsync("div", { class: "header" }, hAsync("slot", { name: "header" })), hAsync("div", { class: "wrapper" }, hAsync("div", { class: "animation-wrapper" }, hAsync("div", { "aria-hidden": this.state._open === false ? 'true' : undefined, class: "content", id: this.nonce }, hAsync("slot", { name: "content" }), " ", hAsync("slot", null)))))));
10178
- }
10179
- validateHeading(value) {
10180
- this.validateLabel(value);
10123
+ } }, hAsync("kol-heading-wc", { _label: "", _level: this.state._level }, hAsync("kol-button-wc", { _ariaControls: this.nonce, _ariaExpanded: this.state._open, _icons: this.state._open ? 'codicon codicon-remove' : 'codicon codicon-add', _label: this.state._label, _on: { onClick: this.onClick } })), hAsync("div", { class: "wrapper" }, hAsync("div", { class: "animation-wrapper" }, hAsync("div", { "aria-hidden": this.state._open === false ? 'true' : undefined, class: "content", id: this.nonce }, hAsync("slot", null)))))));
10181
10124
  }
10182
10125
  validateLabel(value) {
10183
10126
  validateLabel(this, value);
@@ -10194,13 +10137,12 @@ class KolAccordion {
10194
10137
  validateOpen(this, value);
10195
10138
  }
10196
10139
  componentWillLoad() {
10197
- this.validateLabel(this._label || this._heading);
10140
+ this.validateLabel(this._label);
10198
10141
  this.validateLevel(this._level);
10199
10142
  this.validateOn(this._on);
10200
10143
  this.validateOpen(this._open);
10201
10144
  }
10202
10145
  static get watchers() { return {
10203
- "_heading": ["validateHeading"],
10204
10146
  "_label": ["validateLabel"],
10205
10147
  "_level": ["validateLevel"],
10206
10148
  "_on": ["validateOn"],
@@ -10213,7 +10155,6 @@ class KolAccordion {
10213
10155
  "$flags$": 41,
10214
10156
  "$tagName$": "kol-accordion",
10215
10157
  "$members$": {
10216
- "_heading": [1],
10217
10158
  "_label": [1],
10218
10159
  "_level": [2],
10219
10160
  "_on": [16],
@@ -10233,7 +10174,6 @@ class KolAlert {
10233
10174
  registerInstance(this, hostRef);
10234
10175
  this._alert = false;
10235
10176
  this._hasCloser = false;
10236
- this._heading = undefined;
10237
10177
  this._label = undefined;
10238
10178
  this._level = 1;
10239
10179
  this._on = undefined;
@@ -10244,7 +10184,7 @@ class KolAlert {
10244
10184
  };
10245
10185
  }
10246
10186
  render() {
10247
- return (hAsync(Host, null, hAsync("kol-alert-wc", { _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label || this._heading, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, hAsync("slot", null))));
10187
+ return (hAsync(Host, null, hAsync("kol-alert-wc", { _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, hAsync("slot", null))));
10248
10188
  }
10249
10189
  static get style() { return {
10250
10190
  default: defaultStyleCss$H
@@ -10255,7 +10195,6 @@ class KolAlert {
10255
10195
  "$members$": {
10256
10196
  "_alert": [4],
10257
10197
  "_hasCloser": [4, "_has-closer"],
10258
- "_heading": [1],
10259
10198
  "_label": [1],
10260
10199
  "_level": [2],
10261
10200
  "_on": [16],
@@ -10293,8 +10232,6 @@ var locale_de = {
10293
10232
  'page-current': 'Seite {{page}}',
10294
10233
  'page-selected': 'Seite {{page}} ist ausgewählt',
10295
10234
  'page-per-site': '{{entries}} Einträge pro Seite',
10296
- 'nav-maximize': 'Navigation maximieren',
10297
- 'nav-minimize': 'Navigation minimieren',
10298
10235
  'logo-description': 'Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}',
10299
10236
  'open-link-in-tab': 'Der Link wird in einem neuen Tab geöffnet.',
10300
10237
  'kolibri-logo': 'Logo von KoliBri',
@@ -10330,8 +10267,6 @@ var locale_en = {
10330
10267
  'page-current': 'Page {{page}}',
10331
10268
  'page-selected': 'Page {{page}} is selected',
10332
10269
  'page-per-site': '{{entries}} entries per page',
10333
- 'nav-maximize': 'Maximize',
10334
- 'nav-minimize': 'Minimize',
10335
10270
  'logo-description': 'Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}',
10336
10271
  'open-link-in-tab': 'The link will open in a new tab.',
10337
10272
  'kolibri-logo': 'KoliBri logo',
@@ -10371,7 +10306,7 @@ const validateHasCloser = (component, value) => {
10371
10306
  };
10372
10307
 
10373
10308
  const Icon = (props) => {
10374
- return hAsync("kol-icon", { class: "heading-icon", _ariaLabel: typeof props.label === 'string' && props.label.length > 0 ? '' : props.ariaLabel, _icons: props.icon });
10309
+ return hAsync("kol-icon", { class: "heading-icon", _label: typeof props.label === 'string' && props.label.length > 0 ? '' : props.ariaLabel, _icons: props.icon });
10375
10310
  };
10376
10311
  const AlertIcon = (props) => {
10377
10312
  switch (props.type) {
@@ -11018,8 +10953,6 @@ function isColorObjectString(value) {
11018
10953
  const parsed = JSON.parse(value);
11019
10954
  if (isValidColorPair(parsed))
11020
10955
  return { type: 'ColorPair', value: parsed };
11021
- if (isValidDeprecatedColorPair(parsed))
11022
- return { type: 'DeprecatedColorPair', value: parsed };
11023
10956
  }
11024
10957
  catch (error) {
11025
10958
  return { type: null, value: null };
@@ -11042,9 +10975,6 @@ function typeOfColor(value) {
11042
10975
  const asColorPair = value;
11043
10976
  if (isValidColorPair(asColorPair))
11044
10977
  return { type: 'ColorPair', valid: true, value: asColorPair };
11045
- const asDeprecatedColorPair = value;
11046
- if (isValidDeprecatedColorPair(asDeprecatedColorPair))
11047
- return { type: 'DeprecatedColorPair', valid: true, value: asDeprecatedColorPair };
11048
10978
  }
11049
10979
  }
11050
10980
  return { type: null, valid: false, value: '' };
@@ -11059,9 +10989,6 @@ function isValidColorPair(value) {
11059
10989
  typeof value.foregroundColor.secondary === 'string' &&
11060
10990
  typeof value.foregroundColor.neutral === 'string')));
11061
10991
  }
11062
- function isValidDeprecatedColorPair(value) {
11063
- return typeof value === 'object' && value && typeof value.backgroundColor === 'string' && typeof value.color === 'string';
11064
- }
11065
10992
  function validatorFunction(value) {
11066
10993
  const valueType = typeOfColor(value);
11067
10994
  switch (valueType.type) {
@@ -11069,7 +10996,6 @@ function validatorFunction(value) {
11069
10996
  return false;
11070
10997
  case 'string':
11071
10998
  case 'ColorPair':
11072
- case 'DeprecatedColorPair':
11073
10999
  return valueType.valid;
11074
11000
  }
11075
11001
  }
@@ -11084,19 +11010,13 @@ const handleColorChange = (value) => {
11084
11010
  case 'string':
11085
11011
  colorContrast = createContrastColorPair(valueType.value);
11086
11012
  break;
11087
- case 'ColorPair':
11088
- case 'DeprecatedColorPair': {
11013
+ case 'ColorPair': {
11089
11014
  const asColorPair = valueType.value;
11090
- const asDeprecatedColorPair = valueType.value;
11091
11015
  let foreground = '';
11092
- if (asDeprecatedColorPair.color)
11093
- foreground = asDeprecatedColorPair.color;
11094
- else {
11095
- if (typeof asColorPair.foregroundColor === 'string')
11096
- foreground = asColorPair.foregroundColor;
11097
- else if ((_a = asColorPair.foregroundColor) === null || _a === void 0 ? void 0 : _a.primary)
11098
- foreground = asColorPair.foregroundColor.primary;
11099
- }
11016
+ if (typeof asColorPair.foregroundColor === 'string')
11017
+ foreground = asColorPair.foregroundColor;
11018
+ else if ((_a = asColorPair.foregroundColor) === null || _a === void 0 ? void 0 : _a.primary)
11019
+ foreground = asColorPair.foregroundColor.primary;
11100
11020
  if (!foreground || typeof foreground !== 'string')
11101
11021
  foreground = '#fff';
11102
11022
  colorContrast = createContrastColorPair({
@@ -11136,10 +11056,7 @@ class KolBadge {
11136
11056
  this.colorStr = colorPair.foregroundColor;
11137
11057
  };
11138
11058
  this._color = '#000';
11139
- this._hideLabel = false;
11140
- this._icon = undefined;
11141
11059
  this._icons = undefined;
11142
- this._iconOnly = undefined;
11143
11060
  this._label = undefined;
11144
11061
  this._smartButton = undefined;
11145
11062
  this.state = {
@@ -11150,7 +11067,7 @@ class KolBadge {
11150
11067
  };
11151
11068
  }
11152
11069
  renderSmartButton(props) {
11153
- return (hAsync("kol-button-wc", { _ariaControls: this.id, _customClass: props._customClass, _disabled: props._disabled, _hideLabel: true, _icons: props._icons || props._icon, _id: props._id, _label: props._label, _on: props._on, _tooltipAlign: props._tooltipAlign, _variant: props._variant }));
11070
+ return (hAsync("kol-button-wc", { _ariaControls: this.id, _customClass: props._customClass, _disabled: props._disabled, _hideLabel: true, _icons: props._icons, _id: props._id, _label: props._label, _on: props._on, _tooltipAlign: props._tooltipAlign, _variant: props._variant }));
11154
11071
  }
11155
11072
  render() {
11156
11073
  const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;
@@ -11159,7 +11076,7 @@ class KolBadge {
11159
11076
  }, style: {
11160
11077
  backgroundColor: this.bgColorStr,
11161
11078
  color: this.colorStr,
11162
- } }, hAsync("kol-span-wc", { id: hasSmartButton ? this.id : undefined, _allowMarkdown: true, _hideLabel: this._hideLabel || this._iconOnly, _icons: this._icons || this._icon, _label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton))));
11079
+ } }, hAsync("kol-span-wc", { id: hasSmartButton ? this.id : undefined, _allowMarkdown: true, _icons: this._icons, _label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton))));
11163
11080
  }
11164
11081
  validateColor(value) {
11165
11082
  validateColor(this, value, {
@@ -11195,10 +11112,7 @@ class KolBadge {
11195
11112
  "$tagName$": "kol-badge",
11196
11113
  "$members$": {
11197
11114
  "_color": [1],
11198
- "_hideLabel": [4, "_hide-label"],
11199
- "_icon": [1],
11200
11115
  "_icons": [1],
11201
- "_iconOnly": [4, "_icon-only"],
11202
11116
  "_label": [1],
11203
11117
  "_smartButton": [1, "_smart-button"],
11204
11118
  "state": [32]
@@ -11234,10 +11148,8 @@ class KolBreadcrumb {
11234
11148
  registerInstance(this, hostRef);
11235
11149
  this.renderLink = (link, index) => {
11236
11150
  const lastIndex = this.state._links.length - 1;
11237
- const hideLabel = link._iconOnly || link._hideLabel;
11238
- return (hAsync("li", { key: index }, index !== 0 && hAsync("kol-icon", { _label: "", _icons: "codicon codicon-chevron-right" }), index === lastIndex ? (hAsync("span", null, hideLabel ? (hAsync("kol-icon", { _label: link._label, _icons: typeof link._icon === 'string' ? link._icon : 'codicon codicon-symbol-event' })) : (hAsync(Fragment, null, link._label)))) : (hAsync("kol-link", Object.assign({}, link)))));
11151
+ return (hAsync("li", { key: index }, index !== 0 && hAsync("kol-icon", { _label: "", _icons: "codicon codicon-chevron-right" }), index === lastIndex ? (hAsync("span", null, link._hideLabel ? (hAsync("kol-icon", { _label: link._label, _icons: typeof link._icons === 'string' ? link._icons : 'codicon codicon-symbol-event' })) : (hAsync(Fragment, null, link._label)))) : (hAsync("kol-link", Object.assign({}, link)))));
11239
11152
  };
11240
- this._ariaLabel = undefined;
11241
11153
  this._label = undefined;
11242
11154
  this._links = undefined;
11243
11155
  this.state = {
@@ -11248,9 +11160,6 @@ class KolBreadcrumb {
11248
11160
  render() {
11249
11161
  return (hAsync(Host, null, hAsync("nav", { "aria-label": this.state._label }, hAsync("ul", null, this.state._links.length === 0 && (hAsync("li", null, hAsync("kol-icon", { _label: "", _icons: "codicon codicon-home" }), "\u2026")), this.state._links.map(this.renderLink)))));
11250
11162
  }
11251
- validateAriaLabel(value) {
11252
- this.validateLabel(value);
11253
- }
11254
11163
  validateLabel(value, _oldValue, initial = false) {
11255
11164
  if (!initial) {
11256
11165
  removeNavLabel(this.state._label);
@@ -11263,14 +11172,13 @@ class KolBreadcrumb {
11263
11172
  watchNavLinks('KolBreadcrumb', this, value);
11264
11173
  }
11265
11174
  componentWillLoad() {
11266
- this.validateLabel(this._label || this._ariaLabel, undefined, true);
11175
+ this.validateLabel(this._label, undefined, true);
11267
11176
  this.validateLinks(this._links);
11268
11177
  }
11269
11178
  disconnectedCallback() {
11270
11179
  removeNavLabel(this.state._label);
11271
11180
  }
11272
11181
  static get watchers() { return {
11273
- "_ariaLabel": ["validateAriaLabel"],
11274
11182
  "_label": ["validateLabel"],
11275
11183
  "_links": ["validateLinks"]
11276
11184
  }; }
@@ -11281,7 +11189,6 @@ class KolBreadcrumb {
11281
11189
  "$flags$": 41,
11282
11190
  "$tagName$": "kol-breadcrumb",
11283
11191
  "$members$": {
11284
- "_ariaLabel": [1, "_aria-label"],
11285
11192
  "_label": [1],
11286
11193
  "_links": [1],
11287
11194
  "state": [32]
@@ -11301,19 +11208,13 @@ class KolButton {
11301
11208
  this.ref = ref;
11302
11209
  propagateFocus(this.host, this.ref);
11303
11210
  };
11304
- this._accessKey = undefined;
11305
11211
  this._ariaControls = undefined;
11306
- this._ariaCurrent = undefined;
11307
11212
  this._ariaExpanded = undefined;
11308
- this._ariaLabel = undefined;
11309
11213
  this._ariaSelected = undefined;
11310
11214
  this._customClass = undefined;
11311
11215
  this._disabled = false;
11312
11216
  this._hideLabel = false;
11313
- this._icon = undefined;
11314
11217
  this._icons = undefined;
11315
- this._iconAlign = undefined;
11316
- this._iconOnly = undefined;
11317
11218
  this._id = undefined;
11318
11219
  this._label = undefined;
11319
11220
  this._name = undefined;
@@ -11331,7 +11232,7 @@ class KolButton {
11331
11232
  button: true,
11332
11233
  [this._variant]: this._variant !== 'custom',
11333
11234
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
11334
- }, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaCurrent: this._ariaCurrent, _ariaExpanded: this._ariaExpanded, _ariaLabel: this._ariaLabel, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel || this._iconOnly, _icons: this._icons || this._icon, _iconAlign: this._iconAlign, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { name: "expert", slot: "expert" }))));
11235
+ }, _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { name: "expert", slot: "expert" }))));
11335
11236
  }
11336
11237
  get host() { return getElement(this); }
11337
11238
  static get style() { return {
@@ -11341,19 +11242,13 @@ class KolButton {
11341
11242
  "$flags$": 41,
11342
11243
  "$tagName$": "kol-button",
11343
11244
  "$members$": {
11344
- "_accessKey": [1, "_access-key"],
11345
11245
  "_ariaControls": [1, "_aria-controls"],
11346
- "_ariaCurrent": [8, "_aria-current"],
11347
11246
  "_ariaExpanded": [4, "_aria-expanded"],
11348
- "_ariaLabel": [1, "_aria-label"],
11349
11247
  "_ariaSelected": [4, "_aria-selected"],
11350
11248
  "_customClass": [1, "_custom-class"],
11351
11249
  "_disabled": [4],
11352
11250
  "_hideLabel": [4, "_hide-label"],
11353
- "_icon": [1],
11354
11251
  "_icons": [1],
11355
- "_iconAlign": [1, "_icon-align"],
11356
- "_iconOnly": [4, "_icon-only"],
11357
11252
  "_id": [1],
11358
11253
  "_label": [1],
11359
11254
  "_name": [1],
@@ -11423,17 +11318,12 @@ class KolButtonLink {
11423
11318
  this.ref = ref;
11424
11319
  propagateFocus(this.host, this.ref);
11425
11320
  };
11426
- this._accessKey = undefined;
11427
11321
  this._ariaControls = undefined;
11428
- this._ariaCurrent = undefined;
11429
11322
  this._ariaExpanded = undefined;
11430
- this._ariaLabel = undefined;
11431
11323
  this._ariaSelected = undefined;
11432
11324
  this._disabled = false;
11433
11325
  this._hideLabel = false;
11434
- this._icon = undefined;
11435
11326
  this._icons = undefined;
11436
- this._iconOnly = undefined;
11437
11327
  this._id = undefined;
11438
11328
  this._label = undefined;
11439
11329
  this._name = undefined;
@@ -11446,7 +11336,7 @@ class KolButtonLink {
11446
11336
  this._value = undefined;
11447
11337
  }
11448
11338
  render() {
11449
- return (hAsync(Host, null, hAsync("kol-button-wc", { ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaCurrent: this._ariaCurrent, _ariaExpanded: this._ariaExpanded, _ariaLabel: this._ariaLabel, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _icons: this._icons || this._icon, _hideLabel: this._hideLabel || this._iconOnly, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: "link", _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value }, hAsync("slot", { name: "expert", slot: "expert" }))));
11339
+ return (hAsync(Host, null, hAsync("kol-button-wc", { ref: this.catchRef, _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: "link", _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value }, hAsync("slot", { name: "expert", slot: "expert" }))));
11450
11340
  }
11451
11341
  get host() { return getElement(this); }
11452
11342
  static get style() { return {
@@ -11456,17 +11346,12 @@ class KolButtonLink {
11456
11346
  "$flags$": 41,
11457
11347
  "$tagName$": "kol-button-link",
11458
11348
  "$members$": {
11459
- "_accessKey": [1, "_access-key"],
11460
11349
  "_ariaControls": [1, "_aria-controls"],
11461
- "_ariaCurrent": [8, "_aria-current"],
11462
11350
  "_ariaExpanded": [4, "_aria-expanded"],
11463
- "_ariaLabel": [1025, "_aria-label"],
11464
11351
  "_ariaSelected": [4, "_aria-selected"],
11465
11352
  "_disabled": [4],
11466
11353
  "_hideLabel": [4, "_hide-label"],
11467
- "_icon": [1],
11468
11354
  "_icons": [1],
11469
- "_iconOnly": [4, "_icon-only"],
11470
11355
  "_id": [1],
11471
11356
  "_label": [1],
11472
11357
  "_name": [1],
@@ -11529,16 +11414,6 @@ const validateAriaControls = (component, value) => {
11529
11414
  watchString(component, '_ariaControls', value);
11530
11415
  };
11531
11416
 
11532
- const validate = (component, propName, value) => {
11533
- watchValidator(component, propName, (value) => value === 'date' || value === 'location' || value === 'page' || value === 'step' || value === 'time' || value === true || value === false, new Set(['String {data, location, page, step, time}', 'boolean']), value);
11534
- };
11535
- const validateAriaCurrent = (component, value) => {
11536
- validate(component, '_ariaCurrent', value);
11537
- };
11538
- const validateListenAriaCurrent = (component, value) => {
11539
- validate(component, '_listenAriaCurrent', value);
11540
- };
11541
-
11542
11417
  const validateAriaExpanded = (component, value) => {
11543
11418
  watchBoolean(component, '_ariaExpanded', value);
11544
11419
  };
@@ -11581,24 +11456,14 @@ const mapCustomIcon = (state, alignment, icon) => {
11581
11456
  };
11582
11457
  }
11583
11458
  };
11584
- const mapIconProp2State = (icon, iconAlign) => {
11459
+ const mapIconProp2State = (icon) => {
11585
11460
  let state = {};
11586
11461
  if (isString$1(icon, 1)) {
11587
- switch (iconAlign) {
11588
- case 'right':
11589
- state = {
11590
- right: {
11591
- icon: icon,
11592
- },
11593
- };
11594
- break;
11595
- default:
11596
- state = {
11597
- left: {
11598
- icon: icon,
11599
- },
11600
- };
11601
- }
11462
+ state = {
11463
+ left: {
11464
+ icon: icon,
11465
+ },
11466
+ };
11602
11467
  }
11603
11468
  else if (typeof icon === 'object' && icon !== null) {
11604
11469
  mapCustomIcon(state, 'top', icon.top);
@@ -11609,18 +11474,10 @@ const mapIconProp2State = (icon, iconAlign) => {
11609
11474
  return state;
11610
11475
  };
11611
11476
  const beforePatchIcon = (component) => {
11612
- var _a, _b, _c, _d, _e, _f, _g;
11477
+ var _a, _b, _c;
11613
11478
  if ((_a = component.nextState) === null || _a === void 0 ? void 0 : _a.has('_icons')) {
11614
- const icon = (_b = component.nextState) === null || _b === void 0 ? void 0 : _b.get('_icons');
11615
- const iconAlign = ((_c = component.nextState) === null || _c === void 0 ? void 0 : _c.get('_iconAlign')) || component.state._iconAlign;
11616
- (_d = component.nextState) === null || _d === void 0 ? void 0 : _d.set('_icons', mapIconProp2State(icon, iconAlign));
11617
- }
11618
- else if ((_e = component.nextState) === null || _e === void 0 ? void 0 : _e.has('_iconAlign')) {
11619
- const lastIconAlign = component.state._iconAlign;
11620
- (_f = component.nextState) === null || _f === void 0 ? void 0 : _f.set('_icons', {
11621
- [lastIconAlign]: undefined,
11622
- [(_g = component.nextState) === null || _g === void 0 ? void 0 : _g.get('_iconAlign')]: component.state._icons[lastIconAlign],
11623
- });
11479
+ const icons = (_b = component.nextState) === null || _b === void 0 ? void 0 : _b.get('_icons');
11480
+ (_c = component.nextState) === null || _c === void 0 ? void 0 : _c.set('_icons', mapIconProp2State(icons));
11624
11481
  }
11625
11482
  };
11626
11483
  const isIcon = (value) => typeof value === 'object' &&
@@ -11660,15 +11517,6 @@ const validateIcons = (component, value) => {
11660
11517
  });
11661
11518
  });
11662
11519
  };
11663
- const watchIconAlign = (component, value) => {
11664
- watchValidator(component, '_iconAlign', (value) => value === 'left' || value === 'right', new Set(['Alignment {left, right, top, bottom}']), value, {
11665
- hooks: {
11666
- beforePatch: () => {
11667
- beforePatchIcon(component);
11668
- },
11669
- },
11670
- });
11671
- };
11672
11520
 
11673
11521
  function stopPropagation(event) {
11674
11522
  event.stopImmediatePropagation();
@@ -11911,10 +11759,14 @@ class AssociatedInputController {
11911
11759
  }
11912
11760
  }
11913
11761
 
11762
+ const validateAriaSelected = (component, value) => {
11763
+ watchBoolean(component, '_ariaSelected', value);
11764
+ };
11765
+
11914
11766
  class KolButtonWc {
11915
11767
  render() {
11916
11768
  const hasExpertSlot = showExpertSlot(this.state._label);
11917
- return (hAsync(Host, null, hAsync("button", Object.assign({ ref: this.catchRef, accessKey: this.state._accessKey, "aria-controls": this.state._ariaControls, "aria-current": mapStringOrBoolean2String(this.state._ariaCurrent), "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapStringOrBoolean2String(this.state._ariaSelected), class: {
11769
+ return (hAsync(Host, null, hAsync("button", Object.assign({ ref: this.catchRef, "aria-controls": this.state._ariaControls, "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapStringOrBoolean2String(this.state._ariaSelected), class: {
11918
11770
  [this.state._variant]: this.state._variant !== 'custom',
11919
11771
  [this.state._customClass]: this.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,
11920
11772
  'icon-only': this.state._hideLabel === true,
@@ -11951,19 +11803,13 @@ class KolButtonWc {
11951
11803
  }
11952
11804
  }
11953
11805
  };
11954
- this._accessKey = undefined;
11955
11806
  this._ariaControls = undefined;
11956
- this._ariaCurrent = undefined;
11957
11807
  this._ariaExpanded = undefined;
11958
- this._ariaLabel = undefined;
11959
11808
  this._ariaSelected = undefined;
11960
11809
  this._customClass = undefined;
11961
11810
  this._disabled = false;
11962
11811
  this._hideLabel = false;
11963
- this._icon = undefined;
11964
11812
  this._icons = undefined;
11965
- this._iconAlign = undefined;
11966
- this._iconOnly = undefined;
11967
11813
  this._id = undefined;
11968
11814
  this._label = undefined;
11969
11815
  this._name = undefined;
@@ -11984,23 +11830,14 @@ class KolButtonWc {
11984
11830
  };
11985
11831
  this.controller = new AssociatedInputController(this, 'button', this.host);
11986
11832
  }
11987
- validateAccessKey(value) {
11988
- watchString(this, '_accessKey', value);
11989
- }
11990
11833
  validateAriaControls(value) {
11991
11834
  validateAriaControls(this, value);
11992
11835
  }
11993
- validateAriaCurrent(value) {
11994
- validateAriaCurrent(this, value);
11995
- }
11996
11836
  validateAriaExpanded(value) {
11997
11837
  validateAriaExpanded(this, value);
11998
11838
  }
11999
- validateAriaLabel(value) {
12000
- this.validateLabel(value);
12001
- }
12002
11839
  validateAriaSelected(value) {
12003
- watchBoolean(this, '_ariaSelected', value);
11840
+ validateAriaSelected(this, value);
12004
11841
  }
12005
11842
  validateCustomClass(value) {
12006
11843
  validateCustomClass(this, value);
@@ -12014,18 +11851,9 @@ class KolButtonWc {
12014
11851
  validateHideLabel(value) {
12015
11852
  validateHideLabel(this, value);
12016
11853
  }
12017
- validateIcon(value) {
12018
- validateIcons(this, value);
12019
- }
12020
11854
  validateIcons(value) {
12021
11855
  validateIcons(this, value);
12022
11856
  }
12023
- validateIconAlign(value) {
12024
- watchIconAlign(this, value);
12025
- }
12026
- validateIconOnly(value) {
12027
- this.validateHideLabel(value);
12028
- }
12029
11857
  validateId(value) {
12030
11858
  watchString(this, '_id', value);
12031
11859
  }
@@ -12061,19 +11889,15 @@ class KolButtonWc {
12061
11889
  validateButtonVariant(this, value);
12062
11890
  }
12063
11891
  componentWillLoad() {
12064
- var _a;
12065
- this.validateAccessKey(this._accessKey);
12066
11892
  this.validateAriaControls(this._ariaControls);
12067
- this.validateAriaCurrent(this._ariaCurrent);
12068
11893
  this.validateAriaExpanded(this._ariaExpanded);
12069
11894
  this.validateAriaSelected(this._ariaSelected);
12070
11895
  this.validateCustomClass(this._customClass);
12071
11896
  this.validateDisabled(this._disabled);
12072
- this.validateHideLabel(this._hideLabel || this._iconOnly);
12073
- this.validateIcons(this._icons || this._icon);
12074
- this.validateIconAlign(this._iconAlign);
11897
+ this.validateHideLabel(this._hideLabel);
11898
+ this.validateIcons(this._icons);
12075
11899
  this.validateId(this._id);
12076
- this.validateLabel((_a = this._label) !== null && _a !== void 0 ? _a : this._ariaLabel);
11900
+ this.validateLabel(this._label);
12077
11901
  this.validateName(this._name);
12078
11902
  this.validateOn(this._on);
12079
11903
  this.validateRole(this._role);
@@ -12086,19 +11910,13 @@ class KolButtonWc {
12086
11910
  }
12087
11911
  get host() { return getElement(this); }
12088
11912
  static get watchers() { return {
12089
- "_accessKey": ["validateAccessKey"],
12090
11913
  "_ariaControls": ["validateAriaControls"],
12091
- "_ariaCurrent": ["validateAriaCurrent"],
12092
11914
  "_ariaExpanded": ["validateAriaExpanded"],
12093
- "_ariaLabel": ["validateAriaLabel"],
12094
11915
  "_ariaSelected": ["validateAriaSelected"],
12095
11916
  "_customClass": ["validateCustomClass"],
12096
11917
  "_disabled": ["validateDisabled"],
12097
11918
  "_hideLabel": ["validateHideLabel"],
12098
- "_icon": ["validateIcon"],
12099
11919
  "_icons": ["validateIcons"],
12100
- "_iconAlign": ["validateIconAlign"],
12101
- "_iconOnly": ["validateIconOnly"],
12102
11920
  "_id": ["validateId"],
12103
11921
  "_label": ["validateLabel"],
12104
11922
  "_name": ["validateName"],
@@ -12115,19 +11933,13 @@ class KolButtonWc {
12115
11933
  "$flags$": 4,
12116
11934
  "$tagName$": "kol-button-wc",
12117
11935
  "$members$": {
12118
- "_accessKey": [1, "_access-key"],
12119
11936
  "_ariaControls": [1, "_aria-controls"],
12120
- "_ariaCurrent": [8, "_aria-current"],
12121
11937
  "_ariaExpanded": [4, "_aria-expanded"],
12122
- "_ariaLabel": [1, "_aria-label"],
12123
11938
  "_ariaSelected": [4, "_aria-selected"],
12124
11939
  "_customClass": [1, "_custom-class"],
12125
11940
  "_disabled": [4],
12126
11941
  "_hideLabel": [4, "_hide-label"],
12127
- "_icon": [1],
12128
11942
  "_icons": [1],
12129
- "_iconAlign": [1, "_icon-align"],
12130
- "_iconOnly": [4, "_icon-only"],
12131
11943
  "_id": [1],
12132
11944
  "_label": [1],
12133
11945
  "_name": [1],
@@ -12147,10 +11959,6 @@ class KolButtonWc {
12147
11959
  }; }
12148
11960
  }
12149
11961
 
12150
- const validateHasFooter = (component, value) => {
12151
- watchBoolean(component, '_hasFooter', value);
12152
- };
12153
-
12154
11962
  const defaultStyleCss$A = "/*!@:host*/.sc-kol-card-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-card-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-card-default,button.sc-kol-card-default:not([role='link']),kol-input.sc-kol-card-default .input.sc-kol-card-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-card-default,button.sc-kol-card-default,h1.sc-kol-card-default,h2.sc-kol-card-default,h3.sc-kol-card-default,h4.sc-kol-card-default,h5.sc-kol-card-default,h6.sc-kol-card-default,input.sc-kol-card-default,option.sc-kol-card-default,select.sc-kol-card-default,textarea.sc-kol-card-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-card-default:is(a,button).sc-kol-card-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-card-default-h{max-width:100%}/*!@**/*.sc-kol-card-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-card-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-card-default>span.sc-kol-card-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-card-default,button.sc-kol-card-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-card-default,input.sc-kol-card-default,option.sc-kol-card-default,select.sc-kol-card-default,textarea.sc-kol-card-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-card-default>kol-span-wc.sc-kol-card-default>span.sc-kol-card-default>span.sc-kol-card-default{display:none}/*!@:host > div.card*/.sc-kol-card-default-h>div.card.sc-kol-card-default{height:100%;position:relative}/*!@.close*/.close.sc-kol-card-default{position:absolute;top:0;right:0}";
12155
11963
 
12156
11964
  class KolCard {
@@ -12168,9 +11976,6 @@ class KolCard {
12168
11976
  this.validateOnValue = (value) => typeof value === 'object' && value !== null && typeof value.onClose === 'function';
12169
11977
  this._on = undefined;
12170
11978
  this._hasCloser = false;
12171
- this._hasFooter = false;
12172
- this._heading = undefined;
12173
- this._headline = undefined;
12174
11979
  this._label = undefined;
12175
11980
  this._level = 1;
12176
11981
  this.state = {
@@ -12178,7 +11983,7 @@ class KolCard {
12178
11983
  };
12179
11984
  }
12180
11985
  render() {
12181
- return (hAsync(Host, null, hAsync("div", { class: "card" }, hAsync("div", { class: "header" }, hAsync("kol-heading-wc", { _label: this.state._label, _level: this.state._level }), hAsync("slot", { name: "header" })), hAsync("div", { class: "content" }, hAsync("slot", { name: "content" }), hAsync("slot", null)), this.state._hasFooter && (hAsync("div", { class: "footer" }, hAsync("slot", { name: "footer" }))), this.state._hasCloser && (hAsync("kol-button-wc", { class: "close", _hideLabel: true, _icons: {
11986
+ return (hAsync(Host, null, hAsync("div", { class: "card" }, hAsync("div", { class: "header" }, hAsync("kol-heading-wc", { _label: this.state._label, _level: this.state._level })), hAsync("div", { class: "content" }, hAsync("slot", null)), this.state._hasCloser && (hAsync("kol-button-wc", { class: "close", _hideLabel: true, _icons: {
12182
11987
  left: {
12183
11988
  icon: 'codicon codicon-close',
12184
11989
  },
@@ -12194,15 +11999,6 @@ class KolCard {
12194
11999
  validateHasCloser(value) {
12195
12000
  validateHasCloser(this, value);
12196
12001
  }
12197
- validateHasFooter(value) {
12198
- validateHasFooter(this, value);
12199
- }
12200
- validateHeading(value) {
12201
- this.validateLabel(value);
12202
- }
12203
- validateHeadline(value) {
12204
- this.validateLabel(value);
12205
- }
12206
12002
  validateLabel(value) {
12207
12003
  validateLabel(this, value);
12208
12004
  }
@@ -12211,17 +12007,13 @@ class KolCard {
12211
12007
  }
12212
12008
  componentWillLoad() {
12213
12009
  this.validateHasCloser(this._hasCloser);
12214
- this.validateHasFooter(this._hasFooter);
12215
- this.validateLabel(this._label || this._heading || this._headline);
12010
+ this.validateLabel(this._label);
12216
12011
  this.validateLevel(this._level);
12217
12012
  this.validateOn(this._on);
12218
12013
  }
12219
12014
  static get watchers() { return {
12220
12015
  "_on": ["validateOn"],
12221
12016
  "_hasCloser": ["validateHasCloser"],
12222
- "_hasFooter": ["validateHasFooter"],
12223
- "_heading": ["validateHeading"],
12224
- "_headline": ["validateHeadline"],
12225
12017
  "_label": ["validateLabel"],
12226
12018
  "_level": ["validateLevel"]
12227
12019
  }; }
@@ -12234,9 +12026,6 @@ class KolCard {
12234
12026
  "$members$": {
12235
12027
  "_on": [16],
12236
12028
  "_hasCloser": [4, "_has-closer"],
12237
- "_hasFooter": [4, "_has-footer"],
12238
- "_heading": [1],
12239
- "_headline": [1],
12240
12029
  "_label": [1],
12241
12030
  "_level": [2],
12242
12031
  "state": [32]
@@ -12335,7 +12124,6 @@ class KolDetails {
12335
12124
  this._label = undefined;
12336
12125
  this._on = undefined;
12337
12126
  this._open = false;
12338
- this._summary = undefined;
12339
12127
  this.state = {
12340
12128
  _label: '…',
12341
12129
  _on: {},
@@ -12357,11 +12145,8 @@ class KolDetails {
12357
12145
  validateOpen(value) {
12358
12146
  validateOpen(this, value);
12359
12147
  }
12360
- validateSummary(value) {
12361
- this.validateLabel(value);
12362
- }
12363
12148
  componentWillLoad() {
12364
- this.validateLabel(this._label || this._summary);
12149
+ this.validateLabel(this._label);
12365
12150
  this.validateOn(this._on);
12366
12151
  this.validateOpen(this._open);
12367
12152
  }
@@ -12377,8 +12162,7 @@ class KolDetails {
12377
12162
  static get watchers() { return {
12378
12163
  "_label": ["validateLabel"],
12379
12164
  "_on": ["validateOn"],
12380
- "_open": ["validateOpen"],
12381
- "_summary": ["validateSummary"]
12165
+ "_open": ["validateOpen"]
12382
12166
  }; }
12383
12167
  static get style() { return {
12384
12168
  default: defaultStyleCss$z
@@ -12390,7 +12174,6 @@ class KolDetails {
12390
12174
  "_label": [1],
12391
12175
  "_on": [16],
12392
12176
  "_open": [1540],
12393
- "_summary": [1],
12394
12177
  "state": [32]
12395
12178
  },
12396
12179
  "$listeners$": undefined,
@@ -12578,47 +12361,30 @@ const defaultStyleCss$x = "@font-face{font-family:\"codicon\";font-display:block
12578
12361
  class KolIcon {
12579
12362
  constructor(hostRef) {
12580
12363
  registerInstance(this, hostRef);
12581
- this._ariaLabel = undefined;
12582
- this._icon = undefined;
12583
12364
  this._icons = undefined;
12584
12365
  this._label = undefined;
12585
- this._part = undefined;
12586
12366
  this.state = {
12587
12367
  _icons: 'codicon codicon-home',
12368
+ _label: '',
12588
12369
  };
12589
12370
  }
12590
12371
  render() {
12591
- const ariaShow = typeof this.state._label === 'string' && this.state._label.length > 0;
12372
+ const ariaShow = this.state._label.length > 0;
12592
12373
  return (hAsync(Host, { exportparts: "icon" }, hAsync("i", { "aria-hidden": ariaShow ? undefined : 'true', "aria-label": ariaShow ? this.state._label : undefined, class: this.state._icons, part: "icon", role: "img" })));
12593
12374
  }
12594
- validateAriaLabel(value) {
12595
- this.validateLabel(value);
12596
- }
12597
- validateIcon(value) {
12598
- this.validateIcons(value);
12599
- }
12600
12375
  validateIcons(value) {
12601
12376
  watchString(this, '_icons', value);
12602
12377
  }
12603
12378
  validateLabel(value) {
12604
12379
  validateLabel(this, value);
12605
12380
  }
12606
- validatePart(value) {
12607
- if (value) {
12608
- devHint(`ICON: The usage of the part attribute is deprecated and has no effect.`);
12609
- }
12610
- }
12611
12381
  componentWillLoad() {
12612
- this.validateIcons(this._icons || this._icon);
12613
- this.validateLabel(this._label || this._ariaLabel);
12614
- this.validatePart(this._part);
12382
+ this.validateIcons(this._icons);
12383
+ this.validateLabel(this._label);
12615
12384
  }
12616
12385
  static get watchers() { return {
12617
- "_ariaLabel": ["validateAriaLabel"],
12618
- "_icon": ["validateIcon"],
12619
12386
  "_icons": ["validateIcons"],
12620
- "_label": ["validateLabel"],
12621
- "_part": ["validatePart"]
12387
+ "_label": ["validateLabel"]
12622
12388
  }; }
12623
12389
  static get style() { return {
12624
12390
  default: defaultStyleCss$x
@@ -12627,11 +12393,8 @@ class KolIcon {
12627
12393
  "$flags$": 41,
12628
12394
  "$tagName$": "kol-icon",
12629
12395
  "$members$": {
12630
- "_ariaLabel": [1, "_aria-label"],
12631
- "_icon": [1],
12632
12396
  "_icons": [1],
12633
12397
  "_label": [1],
12634
- "_part": [1],
12635
12398
  "state": [32]
12636
12399
  },
12637
12400
  "$listeners$": undefined,
@@ -12640,56 +12403,6 @@ class KolIcon {
12640
12403
  }; }
12641
12404
  }
12642
12405
 
12643
- class KolIconFontAwesome {
12644
- constructor(hostRef) {
12645
- registerInstance(this, hostRef);
12646
- this._ariaLabel = undefined;
12647
- this._icon = undefined;
12648
- this._prefix = undefined;
12649
- this._part = undefined;
12650
- }
12651
- render() {
12652
- return (hAsync("kol-icon", { exportparts: `icon${typeof this._part === 'string' ? `,${this._part}` : ''}`, _ariaLabel: this._ariaLabel, _icon: typeof this._prefix === 'string' && typeof this._icon === 'string' ? `${this._prefix} fa-${this._icon}` : undefined }));
12653
- }
12654
- static get cmpMeta() { return {
12655
- "$flags$": 0,
12656
- "$tagName$": "kol-icon-font-awesome",
12657
- "$members$": {
12658
- "_ariaLabel": [1, "_aria-label"],
12659
- "_icon": [1],
12660
- "_prefix": [1],
12661
- "_part": [1]
12662
- },
12663
- "$listeners$": undefined,
12664
- "$lazyBundleId$": "-",
12665
- "$attrsToReflect$": []
12666
- }; }
12667
- }
12668
-
12669
- class KolIconIcofont {
12670
- constructor(hostRef) {
12671
- registerInstance(this, hostRef);
12672
- this._ariaLabel = undefined;
12673
- this._icon = undefined;
12674
- this._part = undefined;
12675
- }
12676
- render() {
12677
- return (hAsync("kol-icon", { exportparts: `icon${typeof this._part === 'string' ? `,${this._part}` : ''}`, _ariaLabel: this._ariaLabel, _icon: typeof this._icon === 'string' ? `icofont-${this._icon}` : undefined }));
12678
- }
12679
- static get cmpMeta() { return {
12680
- "$flags$": 0,
12681
- "$tagName$": "kol-icon-icofont",
12682
- "$members$": {
12683
- "_ariaLabel": [1, "_aria-label"],
12684
- "_icon": [1],
12685
- "_part": [1]
12686
- },
12687
- "$listeners$": undefined,
12688
- "$lazyBundleId$": "-",
12689
- "$attrsToReflect$": []
12690
- }; }
12691
- }
12692
-
12693
12406
  const AVAILABLE_LOADING_VALUES = new Set(['"eager", "lazy"']);
12694
12407
  function validateLoading(component, value) {
12695
12408
  watchValidator(component, '_loading', (value) => value === 'eager' || value === 'lazy', AVAILABLE_LOADING_VALUES, value);
@@ -12807,7 +12520,6 @@ class KolInput {
12807
12520
  this._hideError = false;
12808
12521
  this._hideLabel = false;
12809
12522
  this._hint = '';
12810
- this._icon = undefined;
12811
12523
  this._icons = undefined;
12812
12524
  this._id = undefined;
12813
12525
  this._label = undefined;
@@ -12824,9 +12536,6 @@ class KolInput {
12824
12536
  componentWillRender() {
12825
12537
  this.slotName = this._slotName ? this._slotName : 'input';
12826
12538
  }
12827
- getIconsProp() {
12828
- return this._icons || this._icon;
12829
- }
12830
12539
  getIconStyles(icon) {
12831
12540
  return icon && typeof icon === 'object' && icon.style ? icon.style : {};
12832
12541
  }
@@ -12845,9 +12554,9 @@ class KolInput {
12845
12554
  'hidden-error': this._hideError === true,
12846
12555
  } }, hAsync("label", { id: !useTooltopInsteadOfLabel ? `${this._id}-label` : undefined, hidden: useTooltopInsteadOfLabel, htmlFor: this._id }, hAsync("span", null, hAsync("slot", { name: "label" }))), hasHint && (hAsync("span", { class: "hint", id: `${this._id}-hint` }, this._hint)), hAsync("div", { class: {
12847
12556
  input: true,
12848
- 'icon-left': typeof ((_a = this.getIconsProp()) === null || _a === void 0 ? void 0 : _a.left) === 'object',
12849
- 'icon-right': typeof ((_b = this.getIconsProp()) === null || _b === void 0 ? void 0 : _b.right) === 'object',
12850
- } }, ((_c = this.getIconsProp()) === null || _c === void 0 ? void 0 : _c.left) && (hAsync("kol-icon", { _ariaLabel: "", _icons: ((_d = this.getIconsProp()) === null || _d === void 0 ? void 0 : _d.left).icon, style: this.getIconStyles((_e = this.getIconsProp()) === null || _e === void 0 ? void 0 : _e.left) })), hAsync("div", { ref: this.catchInputSlot, id: this.slotName, class: "input-slot" }), typeof this._smartButton === 'object' && this._smartButton !== null && (hAsync("kol-button-wc", { _customClass: this._smartButton._customClass, _disabled: this._smartButton._disabled, _icons: this._smartButton._icons, _hideLabel: true, _id: this._smartButton._id, _label: this._smartButton._label, _on: this._smartButton._on, _tooltipAlign: this._smartButton._tooltipAlign, _variant: this._smartButton._variant })), ((_f = this.getIconsProp()) === null || _f === void 0 ? void 0 : _f.right) && (hAsync("kol-icon", { _ariaLabel: "", _icons: ((_g = this.getIconsProp()) === null || _g === void 0 ? void 0 : _g.right).icon, style: this.getIconStyles((_h = this.getIconsProp()) === null || _h === void 0 ? void 0 : _h.right) }))), useTooltopInsteadOfLabel && (hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", _align: this._tooltipAlign, _id: this._hideLabel ? `${this._id}-label` : undefined, _label: this._label })), hasError && (hAsync("kol-alert", { _alert: this._alert, _type: "error", _variant: "msg", "aria-hidden": this._hideError, class: `error${this._hideError ? ' hidden' : ''}`, id: `${this._id}-error` }, this._error)), Array.isArray(this._suggestions) && this._suggestions.length > 0 && (hAsync("datalist", { id: `${this._id}-list` }, this._suggestions.map((option) => (hAsync("option", { value: option }))))), this._hasCounter && (hAsync("span", { class: "counter", "aria-atomic": "true", "aria-live": "polite" }, this._currentLength, this._maxLength && (hAsync(Fragment, null, hAsync("span", { "aria-label": translate('kol-of'), role: "img" }, "/"), this._maxLength)), ' ', hAsync("span", null, translate('kol-characters'))))));
12557
+ 'icon-left': typeof ((_a = this._icons) === null || _a === void 0 ? void 0 : _a.left) === 'object',
12558
+ 'icon-right': typeof ((_b = this._icons) === null || _b === void 0 ? void 0 : _b.right) === 'object',
12559
+ } }, ((_c = this._icons) === null || _c === void 0 ? void 0 : _c.left) && (hAsync("kol-icon", { _label: "", _icons: ((_d = this._icons) === null || _d === void 0 ? void 0 : _d.left).icon, style: this.getIconStyles((_e = this._icons) === null || _e === void 0 ? void 0 : _e.left) })), hAsync("div", { ref: this.catchInputSlot, id: this.slotName, class: "input-slot" }), typeof this._smartButton === 'object' && this._smartButton !== null && (hAsync("kol-button-wc", { _customClass: this._smartButton._customClass, _disabled: this._smartButton._disabled, _icons: this._smartButton._icons, _hideLabel: true, _id: this._smartButton._id, _label: this._smartButton._label, _on: this._smartButton._on, _tooltipAlign: this._smartButton._tooltipAlign, _variant: this._smartButton._variant })), ((_f = this._icons) === null || _f === void 0 ? void 0 : _f.right) && (hAsync("kol-icon", { _label: "", _icons: ((_g = this._icons) === null || _g === void 0 ? void 0 : _g.right).icon, style: this.getIconStyles((_h = this._icons) === null || _h === void 0 ? void 0 : _h.right) }))), useTooltopInsteadOfLabel && (hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", _align: this._tooltipAlign, _id: this._hideLabel ? `${this._id}-label` : undefined, _label: this._label })), hasError && (hAsync("kol-alert", { _alert: this._alert, _type: "error", _variant: "msg", "aria-hidden": this._hideError, class: `error${this._hideError ? ' hidden' : ''}`, id: `${this._id}-error` }, this._error)), Array.isArray(this._suggestions) && this._suggestions.length > 0 && (hAsync("datalist", { id: `${this._id}-list` }, this._suggestions.map((option) => (hAsync("option", { value: option }))))), this._hasCounter && (hAsync("span", { class: "counter", "aria-atomic": "true", "aria-live": "polite" }, this._currentLength, this._maxLength && (hAsync(Fragment, null, hAsync("span", { "aria-label": translate('kol-of'), role: "img" }, "/"), this._maxLength)), ' ', hAsync("span", null, translate('kol-characters'))))));
12851
12560
  }
12852
12561
  get host() { return getElement(this); }
12853
12562
  static get cmpMeta() { return {
@@ -12862,7 +12571,6 @@ class KolInput {
12862
12571
  "_hideError": [4, "_hide-error"],
12863
12572
  "_hideLabel": [4, "_hide-label"],
12864
12573
  "_hint": [1],
12865
- "_icon": [16],
12866
12574
  "_icons": [16],
12867
12575
  "_id": [1],
12868
12576
  "_label": [1],
@@ -12882,26 +12590,6 @@ class KolInput {
12882
12590
  }; }
12883
12591
  }
12884
12592
 
12885
- class KolInputAdapterLeanup {
12886
- constructor(hostRef) {
12887
- registerInstance(this, hostRef);
12888
- }
12889
- componentWillLoad() {
12890
- deprecatedHint(`Die Komponente 'kol-input-adapter-leanup' mit dem Release v1.1.7 umgezogen. Lesen Sie hier, wie Sie sie migrieren: https://public-ui.github.io/docs/changelog/#117---30092022`);
12891
- }
12892
- render() {
12893
- return (hAsync(Host, null, hAsync("kol-alert", { _type: "warning" }, "Die Komponente ", hAsync("code", null, "kol-input-adapter-leanup"), " ist umgezogen. Lesen Sie hier, wie Sie sie migrieren:", ' ', hAsync("kol-link", { _href: "https://public-ui.github.io/docs/changelog#118---07102022", _label: "https://public-ui.github.io/docs/changelog#118---07102022", _target: "documentation" }))));
12894
- }
12895
- static get cmpMeta() { return {
12896
- "$flags$": 9,
12897
- "$tagName$": "kol-input-adapter-leanup",
12898
- "$members$": undefined,
12899
- "$listeners$": undefined,
12900
- "$lazyBundleId$": "-",
12901
- "$attrsToReflect$": []
12902
- }; }
12903
- }
12904
-
12905
12593
  const getRenderStates = (state) => {
12906
12594
  const hasError = typeof state._error === 'string' && state._error.length > 0 && state._touched === true;
12907
12595
  const hasHint = typeof state._hint === 'string' && state._hint.length > 0;
@@ -13216,7 +12904,7 @@ class InputRadioController extends InputCheckboxRadioController {
13216
12904
  }
13217
12905
  };
13218
12906
  this.validateOrientation(this.component._orientation);
13219
- this.validateOptions(this.component._options || this.component._list);
12907
+ this.validateOptions(this.component._options);
13220
12908
  this.validateHideError(this.component._hideError);
13221
12909
  this.validateValue(this.component._value);
13222
12910
  }
@@ -13250,9 +12938,6 @@ class InputCheckboxController extends InputCheckboxRadioController {
13250
12938
  },
13251
12939
  });
13252
12940
  }
13253
- validateIcon(value) {
13254
- this.validateIcons(value);
13255
- }
13256
12941
  validateIcons(value) {
13257
12942
  watchValidator(this.component, '_icons', (value) => {
13258
12943
  return typeof value === 'object' && value !== null && (isString$1(value.checked, 1) || isString$1(value.indeterminate, 1) || isString$1(value.unchecked, 1));
@@ -13267,29 +12952,21 @@ class InputCheckboxController extends InputCheckboxRadioController {
13267
12952
  validateIndeterminate(value) {
13268
12953
  validateIndeterminate(this.component, value);
13269
12954
  }
13270
- validateType(value) {
13271
- devHint(`The "_type" prop is deprecated. Use "_variant" instead.`);
13272
- this.validateVariant(value);
13273
- }
13274
12955
  validateValue(value) {
13275
12956
  setState(this.component, '_value', value);
13276
12957
  this.setFormAssociatedCheckboxValue(this.component.state._value);
13277
12958
  }
13278
12959
  validateVariant(value) {
13279
- if (value === 'checkbox') {
13280
- devHint(`[KolCheckbox] The "_variant" value 'checkbox' is deprecated. Use the new value 'default' instead.`);
13281
- value = 'default';
13282
- }
13283
12960
  watchValidator(this.component, '_variant', (value) => typeof value === 'string' && (value === 'button' || value === 'default' || value === 'switch'), new Set(['String {button, default, switch}']), value);
13284
12961
  }
13285
12962
  componentWillLoad() {
13286
12963
  super.componentWillLoad();
13287
12964
  this.validateChecked(this.component._checked);
13288
12965
  this.validateHideError(this.component._hideError);
13289
- this.validateIcons(this.component._icons || this.component._icon);
12966
+ this.validateIcons(this.component._icons);
13290
12967
  this.validateIndeterminate(this.component._indeterminate);
13291
12968
  this.validateValue(this.component._value);
13292
- this.validateVariant(this.component._variant || this.component._type);
12969
+ this.validateVariant(this.component._variant);
13293
12970
  }
13294
12971
  }
13295
12972
 
@@ -13304,7 +12981,7 @@ class KolInputCheckbox {
13304
12981
  [this.state._variant]: true,
13305
12982
  'hide-label': !!this.state._hideLabel,
13306
12983
  checked: this.state._checked,
13307
- }, "data-role": this.state._variant === 'button' ? 'button' : undefined, onKeyPress: this.state._variant === 'button' ? this.onChange : undefined, tabIndex: this.state._variant === 'button' ? 0 : undefined, _alert: this.state._alert, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _label: this.state._label, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("kol-icon", { class: "icon", onClick: this.handleIconClick.bind(this), _icons: this.state._indeterminate ? this.state._icons.indeterminate : this.state._checked ? this.state._icons.checked : this.state._icons.unchecked, _label: "" }), hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, checked: this.state._checked, disabled: this.state._disabled, id: this.state._id, indeterminate: this.state._indeterminate, name: this.state._name, required: this.state._required, tabIndex: this.state._tabIndex, type: "checkbox" }, this.controller.onFacade, { onChange: this.onChange, onClick: undefined }))))));
12984
+ }, "data-role": this.state._variant === 'button' ? 'button' : undefined, onKeyPress: this.state._variant === 'button' ? this.onChange : undefined, tabIndex: this.state._variant === 'button' ? 0 : undefined, _alert: this.state._alert, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _label: this.state._label, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("kol-icon", { class: "icon", onClick: this.handleIconClick.bind(this), _icons: this.state._indeterminate ? this.state._icons.indeterminate : this.state._checked ? this.state._icons.checked : this.state._icons.unchecked, _label: "" }), hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, checked: this.state._checked, disabled: this.state._disabled, id: this.state._id, indeterminate: this.state._indeterminate, name: this.state._name, required: this.state._required, tabIndex: this.state._tabIndex, type: "checkbox" }, this.controller.onFacade, { onChange: this.onChange, onClick: undefined }))))));
13308
12985
  }
13309
12986
  constructor(hostRef) {
13310
12987
  registerInstance(this, hostRef);
@@ -13332,7 +13009,6 @@ class KolInputCheckbox {
13332
13009
  this._error = undefined;
13333
13010
  this._hideLabel = false;
13334
13011
  this._hint = '';
13335
- this._icon = undefined;
13336
13012
  this._icons = undefined;
13337
13013
  this._id = undefined;
13338
13014
  this._indeterminate = undefined;
@@ -13344,9 +13020,8 @@ class KolInputCheckbox {
13344
13020
  this._tabIndex = undefined;
13345
13021
  this._tooltipAlign = 'top';
13346
13022
  this._touched = false;
13347
- this._type = undefined;
13348
13023
  this._value = true;
13349
- this._variant = undefined;
13024
+ this._variant = 'default';
13350
13025
  this.state = {
13351
13026
  _checked: false,
13352
13027
  _hideError: false,
@@ -13387,9 +13062,6 @@ class KolInputCheckbox {
13387
13062
  validateHint(value) {
13388
13063
  this.controller.validateHint(value);
13389
13064
  }
13390
- validateIcon(value) {
13391
- this.validateIcons(value);
13392
- }
13393
13065
  validateIcons(value) {
13394
13066
  this.controller.validateIcons(value);
13395
13067
  }
@@ -13420,9 +13092,6 @@ class KolInputCheckbox {
13420
13092
  validateTouched(value) {
13421
13093
  this.controller.validateTouched(value);
13422
13094
  }
13423
- validateType(value) {
13424
- this.controller.validateType(value);
13425
- }
13426
13095
  validateValue(value) {
13427
13096
  this.controller.validateValue(value);
13428
13097
  }
@@ -13449,7 +13118,6 @@ class KolInputCheckbox {
13449
13118
  "_hideError": ["validateHideError"],
13450
13119
  "_hideLabel": ["validateHideLabel"],
13451
13120
  "_hint": ["validateHint"],
13452
- "_icon": ["validateIcon"],
13453
13121
  "_icons": ["validateIcons"],
13454
13122
  "_id": ["validateId"],
13455
13123
  "_indeterminate": ["validateIndeterminate"],
@@ -13460,7 +13128,6 @@ class KolInputCheckbox {
13460
13128
  "_syncValueBySelector": ["validateSyncValueBySelector"],
13461
13129
  "_tabIndex": ["validateTabIndex"],
13462
13130
  "_touched": ["validateTouched"],
13463
- "_type": ["validateType"],
13464
13131
  "_value": ["validateValue"],
13465
13132
  "_variant": ["validateVariant"]
13466
13133
  }; }
@@ -13479,7 +13146,6 @@ class KolInputCheckbox {
13479
13146
  "_error": [1],
13480
13147
  "_hideLabel": [4, "_hide-label"],
13481
13148
  "_hint": [1],
13482
- "_icon": [1],
13483
13149
  "_icons": [1],
13484
13150
  "_id": [1],
13485
13151
  "_indeterminate": [1540],
@@ -13491,7 +13157,6 @@ class KolInputCheckbox {
13491
13157
  "_tabIndex": [2, "_tab-index"],
13492
13158
  "_tooltipAlign": [1, "_tooltip-align"],
13493
13159
  "_touched": [1540],
13494
- "_type": [1],
13495
13160
  "_value": [8],
13496
13161
  "_variant": [1],
13497
13162
  "state": [32]
@@ -13565,7 +13230,6 @@ class InputColorController extends InputIconController {
13565
13230
  validateAutoComplete(value) {
13566
13231
  watchValidator(this.component, '_autoComplete', (value) => typeof value === 'string' && (value === 'on' || value === 'off'), new Set(['on | off']), value);
13567
13232
  }
13568
- validateList() { }
13569
13233
  validateSuggestions(value) {
13570
13234
  validateSuggestions(this.component, value);
13571
13235
  }
@@ -13588,7 +13252,7 @@ class InputColorController extends InputIconController {
13588
13252
  super.componentWillLoad();
13589
13253
  this.validateAutoComplete(this.component._autoComplete);
13590
13254
  this.validateHideError(this.component._hideError);
13591
- this.validateSuggestions(this.component._suggestions || this.component._list);
13255
+ this.validateSuggestions(this.component._suggestions);
13592
13256
  this.validateValue(this.component._value);
13593
13257
  }
13594
13258
  }
@@ -13603,7 +13267,7 @@ class KolInputColor {
13603
13267
  return (hAsync(Host, null, hAsync("kol-input", { class: {
13604
13268
  color: true,
13605
13269
  'hide-label': !!this.state._hideLabel,
13606
- }, _disabled: this.state._disabled, _error: this.state._error, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _hideError: this.state._hideError, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, name: this.state._name, slot: "input", spellcheck: "false", type: "color", value: this.state._value }, this.controller.onFacade))))));
13270
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _hideError: this.state._hideError, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, name: this.state._name, slot: "input", spellcheck: "false", type: "color", value: this.state._value }, this.controller.onFacade))))));
13607
13271
  }
13608
13272
  constructor(hostRef) {
13609
13273
  registerInstance(this, hostRef);
@@ -13619,11 +13283,9 @@ class KolInputColor {
13619
13283
  this._hideError = false;
13620
13284
  this._hideLabel = false;
13621
13285
  this._hint = '';
13622
- this._icon = undefined;
13623
13286
  this._icons = undefined;
13624
13287
  this._id = undefined;
13625
13288
  this._label = undefined;
13626
- this._list = undefined;
13627
13289
  this._name = undefined;
13628
13290
  this._on = undefined;
13629
13291
  this._smartButton = undefined;
@@ -13666,9 +13328,6 @@ class KolInputColor {
13666
13328
  validateHint(value) {
13667
13329
  this.controller.validateHint(value);
13668
13330
  }
13669
- validateIcon(value) {
13670
- this.validateIcons(value);
13671
- }
13672
13331
  validateIcons(value) {
13673
13332
  this.controller.validateIcons(value);
13674
13333
  }
@@ -13678,9 +13337,6 @@ class KolInputColor {
13678
13337
  validateLabel(value) {
13679
13338
  this.controller.validateLabel(value);
13680
13339
  }
13681
- validateList(value) {
13682
- this.validateSuggestions(value);
13683
- }
13684
13340
  validateName(value) {
13685
13341
  this.controller.validateName(value);
13686
13342
  }
@@ -13720,11 +13376,9 @@ class KolInputColor {
13720
13376
  "_hideError": ["validateHideError"],
13721
13377
  "_hideLabel": ["validateHideLabel"],
13722
13378
  "_hint": ["validateHint"],
13723
- "_icon": ["validateIcon"],
13724
13379
  "_icons": ["validateIcons"],
13725
13380
  "_id": ["validateId"],
13726
13381
  "_label": ["validateLabel"],
13727
- "_list": ["validateList"],
13728
13382
  "_name": ["validateName"],
13729
13383
  "_on": ["validateOn"],
13730
13384
  "_smartButton": ["validateSmartButton"],
@@ -13749,11 +13403,9 @@ class KolInputColor {
13749
13403
  "_hideError": [1540, "_hide-error"],
13750
13404
  "_hideLabel": [4, "_hide-label"],
13751
13405
  "_hint": [1],
13752
- "_icon": [1],
13753
13406
  "_icons": [1],
13754
13407
  "_id": [1],
13755
13408
  "_label": [1],
13756
- "_list": [1],
13757
13409
  "_name": [1],
13758
13410
  "_on": [16],
13759
13411
  "_smartButton": [1, "_smart-button"],
@@ -13805,7 +13457,6 @@ class InputDateController extends InputIconController {
13805
13457
  },
13806
13458
  });
13807
13459
  }
13808
- validateList() { }
13809
13460
  validateSuggestions(value) {
13810
13461
  validateSuggestions(this.component, value);
13811
13462
  }
@@ -13907,7 +13558,7 @@ class InputDateController extends InputIconController {
13907
13558
  this.validateMin(this.component._min);
13908
13559
  this.validateHideError(this.component._hideError);
13909
13560
  this.validateLabel(this.component._label);
13910
- this.validateSuggestions(this.component._suggestions || this.component._list);
13561
+ this.validateSuggestions(this.component._suggestions);
13911
13562
  this.validateOn(this.component._on);
13912
13563
  this.validateReadOnly(this.component._readOnly);
13913
13564
  this.validateRequired(this.component._required);
@@ -13933,7 +13584,7 @@ class KolInputDate {
13933
13584
  return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: {
13934
13585
  [this.state._type]: true,
13935
13586
  'hide-label': !!this.state._hideLabel,
13936
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, step: this.state._step, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
13587
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, step: this.state._step, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
13937
13588
  }
13938
13589
  constructor(hostRef) {
13939
13590
  registerInstance(this, hostRef);
@@ -13960,11 +13611,9 @@ class KolInputDate {
13960
13611
  this._hideError = false;
13961
13612
  this._hideLabel = false;
13962
13613
  this._hint = '';
13963
- this._icon = undefined;
13964
13614
  this._icons = undefined;
13965
13615
  this._id = undefined;
13966
13616
  this._label = undefined;
13967
- this._list = undefined;
13968
13617
  this._max = undefined;
13969
13618
  this._min = undefined;
13970
13619
  this._name = undefined;
@@ -14015,9 +13664,6 @@ class KolInputDate {
14015
13664
  validateHint(value) {
14016
13665
  this.controller.validateHint(value);
14017
13666
  }
14018
- validateIcon(value) {
14019
- this.validateIcons(value);
14020
- }
14021
13667
  validateIcons(value) {
14022
13668
  this.controller.validateIcons(value);
14023
13669
  }
@@ -14027,9 +13673,6 @@ class KolInputDate {
14027
13673
  validateLabel(value) {
14028
13674
  this.controller.validateLabel(value);
14029
13675
  }
14030
- validateList(value) {
14031
- this.validateSuggestions(value);
14032
- }
14033
13676
  validateMax(value) {
14034
13677
  this.controller.validateMax(value);
14035
13678
  }
@@ -14093,11 +13736,9 @@ class KolInputDate {
14093
13736
  "_hideError": ["validateHideError"],
14094
13737
  "_hideLabel": ["validateHideLabel"],
14095
13738
  "_hint": ["validateHint"],
14096
- "_icon": ["validateIcon"],
14097
13739
  "_icons": ["validateIcons"],
14098
13740
  "_id": ["validateId"],
14099
13741
  "_label": ["validateLabel"],
14100
- "_list": ["validateList"],
14101
13742
  "_max": ["validateMax"],
14102
13743
  "_min": ["validateMin"],
14103
13744
  "_name": ["validateName"],
@@ -14128,11 +13769,9 @@ class KolInputDate {
14128
13769
  "_hideError": [1540, "_hide-error"],
14129
13770
  "_hideLabel": [4, "_hide-label"],
14130
13771
  "_hint": [1],
14131
- "_icon": [1],
14132
13772
  "_icons": [1],
14133
13773
  "_id": [1],
14134
13774
  "_label": [1],
14135
- "_list": [1],
14136
13775
  "_max": [1],
14137
13776
  "_min": [1],
14138
13777
  "_name": [1],
@@ -14203,11 +13842,6 @@ class InputPasswordController extends InputIconController {
14203
13842
  validateRequired(value) {
14204
13843
  watchBoolean(this.component, '_required', value);
14205
13844
  }
14206
- validateSize(value) {
14207
- watchNumber(this.component, '_size', value, {
14208
- min: 1,
14209
- });
14210
- }
14211
13845
  validateValue(value) {
14212
13846
  watchString(this.component, '_value', value);
14213
13847
  this.setFormAssociatedValue(this.component.state._value);
@@ -14222,7 +13856,6 @@ class InputPasswordController extends InputIconController {
14222
13856
  this.validatePlaceholder(this.component._placeholder);
14223
13857
  this.validateReadOnly(this.component._readOnly);
14224
13858
  this.validateRequired(this.component._required);
14225
- this.validateSize(this.component._size);
14226
13859
  this.validateValue(this.component._value);
14227
13860
  }
14228
13861
  onBlur(event) {
@@ -14253,13 +13886,12 @@ class InputTextEmailController extends InputPasswordController {
14253
13886
  },
14254
13887
  });
14255
13888
  }
14256
- validateList() { }
14257
13889
  validateSuggestions(value) {
14258
13890
  validateSuggestions(this.component, value);
14259
13891
  }
14260
13892
  componentWillLoad() {
14261
13893
  super.componentWillLoad();
14262
- this.validateSuggestions(this.component._suggestions || this.component._list);
13894
+ this.validateSuggestions(this.component._suggestions);
14263
13895
  }
14264
13896
  }
14265
13897
  class InputTextController extends InputTextEmailController {
@@ -14317,7 +13949,7 @@ class KolInputEmail {
14317
13949
  const hasExpertSlot = showExpertSlot(this.state._label);
14318
13950
  return (hAsync(Host, { class: {
14319
13951
  'has-value': this.state._hasValue,
14320
- } }, hAsync("kol-input", { class: { email: true, 'hide-label': !!this.state._hideLabel }, _alert: this.state._alert, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, multiple: this.state._multiple, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, size: this.state._size, spellcheck: "false", type: "email", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
13952
+ } }, hAsync("kol-input", { class: { email: true, 'hide-label': !!this.state._hideLabel }, _alert: this.state._alert, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, multiple: this.state._multiple, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, spellcheck: "false", type: "email", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
14321
13953
  }
14322
13954
  constructor(hostRef) {
14323
13955
  registerInstance(this, hostRef);
@@ -14346,11 +13978,9 @@ class KolInputEmail {
14346
13978
  this._hideError = false;
14347
13979
  this._hideLabel = false;
14348
13980
  this._hint = '';
14349
- this._icon = undefined;
14350
13981
  this._icons = undefined;
14351
13982
  this._id = undefined;
14352
13983
  this._label = undefined;
14353
- this._list = undefined;
14354
13984
  this._maxLength = undefined;
14355
13985
  this._multiple = false;
14356
13986
  this._name = undefined;
@@ -14359,7 +13989,6 @@ class KolInputEmail {
14359
13989
  this._placeholder = undefined;
14360
13990
  this._readOnly = false;
14361
13991
  this._required = false;
14362
- this._size = undefined;
14363
13992
  this._smartButton = undefined;
14364
13993
  this._suggestions = undefined;
14365
13994
  this._syncValueBySelector = undefined;
@@ -14405,9 +14034,6 @@ class KolInputEmail {
14405
14034
  validateHint(value) {
14406
14035
  this.controller.validateHint(value);
14407
14036
  }
14408
- validateIcon(value) {
14409
- this.validateIcons(value);
14410
- }
14411
14037
  validateIcons(value) {
14412
14038
  this.controller.validateIcons(value);
14413
14039
  }
@@ -14417,9 +14043,6 @@ class KolInputEmail {
14417
14043
  validateLabel(value) {
14418
14044
  this.controller.validateLabel(value);
14419
14045
  }
14420
- validateList(value) {
14421
- this.validateSuggestions(value);
14422
- }
14423
14046
  validateMaxLength(value) {
14424
14047
  this.controller.validateMaxLength(value);
14425
14048
  }
@@ -14444,9 +14067,6 @@ class KolInputEmail {
14444
14067
  validateRequired(value) {
14445
14068
  this.controller.validateRequired(value);
14446
14069
  }
14447
- validateSize(value) {
14448
- this.controller.validateSize(value);
14449
- }
14450
14070
  validateSuggestions(value) {
14451
14071
  this.controller.validateSuggestions(value);
14452
14072
  }
@@ -14483,11 +14103,9 @@ class KolInputEmail {
14483
14103
  "_hideError": ["validateHideError"],
14484
14104
  "_hideLabel": ["validateHideLabel"],
14485
14105
  "_hint": ["validateHint"],
14486
- "_icon": ["validateIcon"],
14487
14106
  "_icons": ["validateIcons"],
14488
14107
  "_id": ["validateId"],
14489
14108
  "_label": ["validateLabel"],
14490
- "_list": ["validateList"],
14491
14109
  "_maxLength": ["validateMaxLength"],
14492
14110
  "_multiple": ["validateMultiple"],
14493
14111
  "_name": ["validateName"],
@@ -14496,7 +14114,6 @@ class KolInputEmail {
14496
14114
  "_placeholder": ["validatePlaceholder"],
14497
14115
  "_readOnly": ["validateReadOnly"],
14498
14116
  "_required": ["validateRequired"],
14499
- "_size": ["validateSize"],
14500
14117
  "_suggestions": ["validateSuggestions"],
14501
14118
  "_smartButton": ["validateSmartButton"],
14502
14119
  "_syncValueBySelector": ["validateSyncValueBySelector"],
@@ -14520,11 +14137,9 @@ class KolInputEmail {
14520
14137
  "_hideError": [1540, "_hide-error"],
14521
14138
  "_hideLabel": [4, "_hide-label"],
14522
14139
  "_hint": [1],
14523
- "_icon": [1],
14524
14140
  "_icons": [1],
14525
14141
  "_id": [1],
14526
14142
  "_label": [1],
14527
- "_list": [1],
14528
14143
  "_maxLength": [2, "_max-length"],
14529
14144
  "_multiple": [4],
14530
14145
  "_name": [1],
@@ -14533,7 +14148,6 @@ class KolInputEmail {
14533
14148
  "_placeholder": [1],
14534
14149
  "_readOnly": [4, "_read-only"],
14535
14150
  "_required": [4],
14536
- "_size": [2],
14537
14151
  "_smartButton": [1, "_smart-button"],
14538
14152
  "_suggestions": [1],
14539
14153
  "_syncValueBySelector": [1, "_sync-value-by-selector"],
@@ -14597,7 +14211,7 @@ class KolInputFile {
14597
14211
  return (hAsync(Host, null, hAsync("kol-input", { class: {
14598
14212
  file: true,
14599
14213
  'hide-label': !!this.state._hideLabel,
14600
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accept: this.state._accept, accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, spellcheck: "false", type: "file", value: this.state._value }, this.controller.onFacade, { onChange: this.onChange }))))));
14214
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accept: this.state._accept, accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, spellcheck: "false", type: "file", value: this.state._value }, this.controller.onFacade, { onChange: this.onChange }))))));
14601
14215
  }
14602
14216
  constructor(hostRef) {
14603
14217
  registerInstance(this, hostRef);
@@ -14625,7 +14239,6 @@ class KolInputFile {
14625
14239
  this._hideError = false;
14626
14240
  this._hideLabel = false;
14627
14241
  this._hint = '';
14628
- this._icon = undefined;
14629
14242
  this._icons = undefined;
14630
14243
  this._id = undefined;
14631
14244
  this._label = undefined;
@@ -14670,9 +14283,6 @@ class KolInputFile {
14670
14283
  validateHint(value) {
14671
14284
  this.controller.validateHint(value);
14672
14285
  }
14673
- validateIcon(value) {
14674
- this.validateIcons(value);
14675
- }
14676
14286
  validateIcons(value) {
14677
14287
  this.controller.validateIcons(value);
14678
14288
  }
@@ -14724,7 +14334,6 @@ class KolInputFile {
14724
14334
  "_hideError": ["validateHideError"],
14725
14335
  "_hideLabel": ["validateHideLabel"],
14726
14336
  "_hint": ["validateHint"],
14727
- "_icon": ["validateIcon"],
14728
14337
  "_icons": ["validateIcons"],
14729
14338
  "_id": ["validateId"],
14730
14339
  "_label": ["validateLabel"],
@@ -14753,7 +14362,6 @@ class KolInputFile {
14753
14362
  "_hideError": [1540, "_hide-error"],
14754
14363
  "_hideLabel": [4, "_hide-label"],
14755
14364
  "_hint": [1],
14756
- "_icon": [1],
14757
14365
  "_icons": [1],
14758
14366
  "_id": [1],
14759
14367
  "_label": [1],
@@ -14820,7 +14428,6 @@ class InputNumberController extends InputIconController {
14820
14428
  },
14821
14429
  });
14822
14430
  }
14823
- validateList() { }
14824
14431
  validateSuggestions(value) {
14825
14432
  validateSuggestions(this.component, value);
14826
14433
  }
@@ -14848,10 +14455,6 @@ class InputNumberController extends InputIconController {
14848
14455
  validateStep(value) {
14849
14456
  watchNumber(this.component, '_step', value);
14850
14457
  }
14851
- validateType(value) {
14852
- watchValidator(this.component, '_type', (value) => typeof value === 'string' &&
14853
- (value === 'date' || value === 'datetime-local' || value === 'month' || value === 'number' || value === 'time' || value === 'week'), new Set(['String {date, datetime-local, month, number, time, week}']), value);
14854
- }
14855
14458
  validateValue(value) {
14856
14459
  this.validateValueEx(value);
14857
14460
  }
@@ -14865,12 +14468,11 @@ class InputNumberController extends InputIconController {
14865
14468
  this.validateHideError(this.component._hideError);
14866
14469
  this.validateMax(this.component._max);
14867
14470
  this.validateMin(this.component._min);
14868
- this.validateSuggestions(this.component._suggestions || this.component._list);
14471
+ this.validateSuggestions(this.component._suggestions);
14869
14472
  this.validatePlaceholder(this.component._placeholder);
14870
14473
  this.validateReadOnly(this.component._readOnly);
14871
14474
  this.validateRequired(this.component._required);
14872
14475
  this.validateStep(this.component._step);
14873
- this.validateType(this.component._type);
14874
14476
  this.validateValue(this.component._value);
14875
14477
  }
14876
14478
  }
@@ -14885,9 +14487,9 @@ class KolInputNumber {
14885
14487
  return (hAsync(Host, { class: {
14886
14488
  'has-value': this.state._hasValue,
14887
14489
  } }, hAsync("kol-input", { class: {
14888
- [this.state._type]: true,
14490
+ number: true,
14889
14491
  'hide-label': !!this.state._hideLabel,
14890
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, placeholder: this.state._placeholder, step: this.state._step, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
14492
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, placeholder: this.state._placeholder, step: this.state._step, spellcheck: "false", type: "number", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
14891
14493
  }
14892
14494
  constructor(hostRef) {
14893
14495
  registerInstance(this, hostRef);
@@ -14914,11 +14516,9 @@ class KolInputNumber {
14914
14516
  this._hideError = false;
14915
14517
  this._hideLabel = false;
14916
14518
  this._hint = '';
14917
- this._icon = undefined;
14918
14519
  this._icons = undefined;
14919
14520
  this._id = undefined;
14920
14521
  this._label = undefined;
14921
- this._list = undefined;
14922
14522
  this._max = undefined;
14923
14523
  this._min = undefined;
14924
14524
  this._name = undefined;
@@ -14933,7 +14533,6 @@ class KolInputNumber {
14933
14533
  this._tabIndex = undefined;
14934
14534
  this._tooltipAlign = 'top';
14935
14535
  this._touched = false;
14936
- this._type = 'number';
14937
14536
  this._value = undefined;
14938
14537
  this.state = {
14939
14538
  _autoComplete: 'off',
@@ -14942,7 +14541,6 @@ class KolInputNumber {
14942
14541
  _id: `id-${nonce()}`,
14943
14542
  _label: '',
14944
14543
  _suggestions: [],
14945
- _type: 'number',
14946
14544
  };
14947
14545
  this.controller = new InputNumberController(this, 'input-number', this.host);
14948
14546
  }
@@ -14970,9 +14568,6 @@ class KolInputNumber {
14970
14568
  validateHint(value) {
14971
14569
  this.controller.validateHint(value);
14972
14570
  }
14973
- validateIcon(value) {
14974
- this.validateIcons(value);
14975
- }
14976
14571
  validateIcons(value) {
14977
14572
  this.controller.validateIcons(value);
14978
14573
  }
@@ -14982,9 +14577,6 @@ class KolInputNumber {
14982
14577
  validateLabel(value) {
14983
14578
  this.controller.validateLabel(value);
14984
14579
  }
14985
- validateList(value) {
14986
- this.validateSuggestions(value);
14987
- }
14988
14580
  validateMax(value) {
14989
14581
  this.controller.validateMax(value);
14990
14582
  }
@@ -15024,9 +14616,6 @@ class KolInputNumber {
15024
14616
  validateTouched(value) {
15025
14617
  this.controller.validateTouched(value);
15026
14618
  }
15027
- validateType(value) {
15028
- this.controller.validateType(value);
15029
- }
15030
14619
  validateValue(value) {
15031
14620
  this.controller.validateValueEx(value, (v) => {
15032
14621
  if (v === '' && this.ref) {
@@ -15051,11 +14640,9 @@ class KolInputNumber {
15051
14640
  "_hideError": ["validateHideError"],
15052
14641
  "_hideLabel": ["validateHideLabel"],
15053
14642
  "_hint": ["validateHint"],
15054
- "_icon": ["validateIcon"],
15055
14643
  "_icons": ["validateIcons"],
15056
14644
  "_id": ["validateId"],
15057
14645
  "_label": ["validateLabel"],
15058
- "_list": ["validateList"],
15059
14646
  "_max": ["validateMax"],
15060
14647
  "_min": ["validateMin"],
15061
14648
  "_name": ["validateName"],
@@ -15069,7 +14656,6 @@ class KolInputNumber {
15069
14656
  "_syncValueBySelector": ["validateSyncValueBySelector"],
15070
14657
  "_tabIndex": ["validateTabIndex"],
15071
14658
  "_touched": ["validateTouched"],
15072
- "_type": ["validateType"],
15073
14659
  "_value": ["validateValue"]
15074
14660
  }; }
15075
14661
  static get style() { return {
@@ -15087,11 +14673,9 @@ class KolInputNumber {
15087
14673
  "_hideError": [1540, "_hide-error"],
15088
14674
  "_hideLabel": [4, "_hide-label"],
15089
14675
  "_hint": [1],
15090
- "_icon": [1],
15091
14676
  "_icons": [1],
15092
14677
  "_id": [1],
15093
14678
  "_label": [1],
15094
- "_list": [1],
15095
14679
  "_max": [8],
15096
14680
  "_min": [8],
15097
14681
  "_name": [1],
@@ -15106,7 +14690,6 @@ class KolInputNumber {
15106
14690
  "_tabIndex": [2, "_tab-index"],
15107
14691
  "_tooltipAlign": [1, "_tooltip-align"],
15108
14692
  "_touched": [1540],
15109
- "_type": [1],
15110
14693
  "_value": [1032],
15111
14694
  "state": [32]
15112
14695
  },
@@ -15127,7 +14710,7 @@ class KolInputPassword {
15127
14710
  } }, hAsync("kol-input", { class: {
15128
14711
  'hide-label': !!this.state._hideLabel,
15129
14712
  password: true,
15130
- }, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hasCounter: this.state._hasCounter, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, size: this.state._size, spellcheck: "false", type: "password", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
14713
+ }, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hasCounter: this.state._hasCounter, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, spellcheck: "false", type: "password", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
15131
14714
  }
15132
14715
  constructor(hostRef) {
15133
14716
  registerInstance(this, hostRef);
@@ -15156,7 +14739,6 @@ class KolInputPassword {
15156
14739
  this._hideError = false;
15157
14740
  this._hideLabel = false;
15158
14741
  this._hint = '';
15159
- this._icon = undefined;
15160
14742
  this._icons = undefined;
15161
14743
  this._id = undefined;
15162
14744
  this._label = undefined;
@@ -15167,7 +14749,6 @@ class KolInputPassword {
15167
14749
  this._placeholder = undefined;
15168
14750
  this._readOnly = false;
15169
14751
  this._required = false;
15170
- this._size = undefined;
15171
14752
  this._smartButton = undefined;
15172
14753
  this._syncValueBySelector = undefined;
15173
14754
  this._tabIndex = undefined;
@@ -15214,9 +14795,6 @@ class KolInputPassword {
15214
14795
  validateHint(value) {
15215
14796
  this.controller.validateHint(value);
15216
14797
  }
15217
- validateIcon(value) {
15218
- this.validateIcons(value);
15219
- }
15220
14798
  validateIcons(value) {
15221
14799
  this.controller.validateIcons(value);
15222
14800
  }
@@ -15247,9 +14825,6 @@ class KolInputPassword {
15247
14825
  validateRequired(value) {
15248
14826
  this.controller.validateRequired(value);
15249
14827
  }
15250
- validateSize(value) {
15251
- this.controller.validateSize(value);
15252
- }
15253
14828
  validateSmartButton(value) {
15254
14829
  this.controller.validateSmartButton(value);
15255
14830
  }
@@ -15283,7 +14858,6 @@ class KolInputPassword {
15283
14858
  "_hideError": ["validateHideError"],
15284
14859
  "_hideLabel": ["validateHideLabel"],
15285
14860
  "_hint": ["validateHint"],
15286
- "_icon": ["validateIcon"],
15287
14861
  "_icons": ["validateIcons"],
15288
14862
  "_id": ["validateId"],
15289
14863
  "_label": ["validateLabel"],
@@ -15294,7 +14868,6 @@ class KolInputPassword {
15294
14868
  "_placeholder": ["validatePlaceholder"],
15295
14869
  "_readOnly": ["validateReadOnly"],
15296
14870
  "_required": ["validateRequired"],
15297
- "_size": ["validateSize"],
15298
14871
  "_smartButton": ["validateSmartButton"],
15299
14872
  "_syncValueBySelector": ["validateSyncValueBySelector"],
15300
14873
  "_tabIndex": ["validateTabIndex"],
@@ -15317,7 +14890,6 @@ class KolInputPassword {
15317
14890
  "_hideError": [1540, "_hide-error"],
15318
14891
  "_hideLabel": [4, "_hide-label"],
15319
14892
  "_hint": [1],
15320
- "_icon": [1],
15321
14893
  "_icons": [1],
15322
14894
  "_id": [1],
15323
14895
  "_label": [1],
@@ -15328,7 +14900,6 @@ class KolInputPassword {
15328
14900
  "_placeholder": [1],
15329
14901
  "_readOnly": [4, "_read-only"],
15330
14902
  "_required": [4],
15331
- "_size": [2],
15332
14903
  "_smartButton": [1, "_smart-button"],
15333
14904
  "_syncValueBySelector": [1, "_sync-value-by-selector"],
15334
14905
  "_tabIndex": [2, "_tab-index"],
@@ -15355,7 +14926,7 @@ class KolInputRadio {
15355
14926
  required: this.state._required === true,
15356
14927
  'hidden-error': this._hideError === true,
15357
14928
  [this.state._orientation]: true,
15358
- } }, hAsync("legend", { class: "block w-full mb-1 leading-normal" }, hAsync("span", null, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label))), this.state._options.map((option, index) => {
14929
+ } }, hAsync("legend", { class: "block w-full mb-1 leading-normal" }, hAsync("span", null, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label))), this.state._options.map((option, index) => {
15359
14930
  const customId = `${this.state._id}-${index}`;
15360
14931
  const slotName = `radio-${index}`;
15361
14932
  return (hAsync("kol-input", { class: "radio", key: customId, _disabled: this.state._disabled || option.disabled, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: customId, _label: option.label, _renderNoLabel: true, _required: this.state._required, _slotName: slotName, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("div", { slot: slotName, class: "radio-input-wrapper" }, hAsync("input", Object.assign({ ref: this.state._value === option.value ? this.catchRef : undefined, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof option.label === 'string' ? option.label : undefined, type: "radio", id: customId, checked: this.state._value === option.value, name: this.state._name || this.state._id, disabled: this.state._disabled || option.disabled, required: this.state._required, tabIndex: this.state._tabIndex, value: `-${index}` }, this.controller.onFacade, { onChange: this.onChange, onClick: undefined })), hAsync("label", { class: "radio-label", htmlFor: `${customId}`, style: {
@@ -15396,7 +14967,6 @@ class KolInputRadio {
15396
14967
  this._hint = '';
15397
14968
  this._id = undefined;
15398
14969
  this._label = undefined;
15399
- this._list = undefined;
15400
14970
  this._name = undefined;
15401
14971
  this._on = undefined;
15402
14972
  this._options = undefined;
@@ -15443,9 +15013,6 @@ class KolInputRadio {
15443
15013
  validateLabel(value) {
15444
15014
  this.controller.validateLabel(value);
15445
15015
  }
15446
- validateList(value) {
15447
- this.validateOptions(value);
15448
- }
15449
15016
  validateName(value) {
15450
15017
  this.controller.validateName(value);
15451
15018
  }
@@ -15489,7 +15056,6 @@ class KolInputRadio {
15489
15056
  "_hint": ["validateHint"],
15490
15057
  "_id": ["validateId"],
15491
15058
  "_label": ["validateLabel"],
15492
- "_list": ["validateList"],
15493
15059
  "_name": ["validateName"],
15494
15060
  "_on": ["validateOn"],
15495
15061
  "_options": ["validateOptions"],
@@ -15516,7 +15082,6 @@ class KolInputRadio {
15516
15082
  "_hint": [1],
15517
15083
  "_id": [1],
15518
15084
  "_label": [1],
15519
- "_list": [1],
15520
15085
  "_name": [1],
15521
15086
  "_on": [16],
15522
15087
  "_options": [1],
@@ -15535,59 +15100,6 @@ class KolInputRadio {
15535
15100
  }; }
15536
15101
  }
15537
15102
 
15538
- class KolInputRadioGroup {
15539
- constructor(hostRef) {
15540
- registerInstance(this, hostRef);
15541
- this._accessKey = undefined;
15542
- this._alert = true;
15543
- this._disabled = false;
15544
- this._error = undefined;
15545
- this._hideLabel = false;
15546
- this._hint = '';
15547
- this._id = undefined;
15548
- this._label = undefined;
15549
- this._list = undefined;
15550
- this._name = undefined;
15551
- this._on = undefined;
15552
- this._orientation = 'vertical';
15553
- this._required = false;
15554
- this._tabIndex = undefined;
15555
- this._touched = false;
15556
- this._value = undefined;
15557
- }
15558
- render() {
15559
- deprecatedHint(`[KolInputRadioGroup] Die Komponenten Input-Radio-Group und Input-Radio werden zur Komponente Input-Radio zusammengeführt. Wir empfehlen den Tag <kol-input-radio> statt <kol-input-radio-group> zu verwenden.
15560
-
15561
- Mit der Version 1.1 wird die Komponente KolInputRadioGroup aus der Bibliothek entfernt.`);
15562
- return (hAsync("kol-input-radio", { _accessKey: this._accessKey, _disabled: this._disabled, _error: this._error, _hideLabel: this._hideLabel, _id: this._id, _label: this._label, _list: this._list, _name: this._name, _on: this._on, _orientation: this._orientation, _required: this._required, _tabIndex: this._tabIndex, _touched: this._touched, _value: this._value }, hAsync("slot", null)));
15563
- }
15564
- static get cmpMeta() { return {
15565
- "$flags$": 9,
15566
- "$tagName$": "kol-input-radio-group",
15567
- "$members$": {
15568
- "_accessKey": [1, "_access-key"],
15569
- "_alert": [4],
15570
- "_disabled": [4],
15571
- "_error": [1],
15572
- "_hideLabel": [4, "_hide-label"],
15573
- "_hint": [1],
15574
- "_id": [1],
15575
- "_label": [1],
15576
- "_list": [1],
15577
- "_name": [1],
15578
- "_on": [16],
15579
- "_orientation": [1],
15580
- "_required": [4],
15581
- "_tabIndex": [2, "_tab-index"],
15582
- "_touched": [4],
15583
- "_value": [8]
15584
- },
15585
- "$listeners$": undefined,
15586
- "$lazyBundleId$": "-",
15587
- "$attrsToReflect$": []
15588
- }; }
15589
- }
15590
-
15591
15103
  class InputRangeController extends InputIconController {
15592
15104
  constructor(component, name, host) {
15593
15105
  super(component, name, host);
@@ -15607,11 +15119,6 @@ class InputRangeController extends InputIconController {
15607
15119
  },
15608
15120
  });
15609
15121
  }
15610
- validateList(value) {
15611
- if (Array.isArray(value)) {
15612
- this.validateSuggestions(value.map((option) => option.value));
15613
- }
15614
- }
15615
15122
  validateMax(value) {
15616
15123
  watchNumber(this.component, '_max', value);
15617
15124
  }
@@ -15632,7 +15139,6 @@ class InputRangeController extends InputIconController {
15632
15139
  super.componentWillLoad();
15633
15140
  this.validateAutoComplete(this.component._autoComplete);
15634
15141
  this.validateHideError(this.component._hideError);
15635
- this.validateList(this.component._list);
15636
15142
  this.validateMax(this.component._max);
15637
15143
  this.validateMin(this.component._min);
15638
15144
  this.validateStep(this.component._step);
@@ -15651,7 +15157,7 @@ class KolInputRange {
15651
15157
  return (hAsync(Host, null, hAsync("kol-input", { class: {
15652
15158
  range: true,
15653
15159
  'hide-label': !!this.state._hideLabel,
15654
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("div", { class: "inputs-wrapper", style: {
15160
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("div", { class: "inputs-wrapper", style: {
15655
15161
  '--kolibri-input-range--input-number--width': `${this.state._max}`.length + 0.5 + 'em',
15656
15162
  } }, hAsync("input", Object.assign({ title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name ? `${this.state._name}-range` : undefined, spellcheck: "false", step: this.state._step, tabIndex: -1, type: "range", value: this.state._value }, this.controller.onFacade, { onChange: this.onChange })), hAsync("input", Object.assign({ ref: this.catchInputNumberRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name ? `${this.state._name}-number` : undefined, step: this.state._step, type: "number", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp, onChange: this.onChange }))), hasSuggestions && [
15657
15163
  hAsync("datalist", { id: `${this.state._id}-list` }, this.state._suggestions.map((option) => (hAsync("option", { value: option })))),
@@ -15700,11 +15206,9 @@ class KolInputRange {
15700
15206
  this._hideError = false;
15701
15207
  this._hideLabel = false;
15702
15208
  this._hint = '';
15703
- this._icon = undefined;
15704
15209
  this._icons = undefined;
15705
15210
  this._id = undefined;
15706
15211
  this._label = undefined;
15707
- this._list = undefined;
15708
15212
  this._max = undefined;
15709
15213
  this._min = undefined;
15710
15214
  this._name = undefined;
@@ -15749,9 +15253,6 @@ class KolInputRange {
15749
15253
  validateHint(value) {
15750
15254
  this.controller.validateHint(value);
15751
15255
  }
15752
- validateIcon(value) {
15753
- this.validateIcons(value);
15754
- }
15755
15256
  validateIcons(value) {
15756
15257
  this.controller.validateIcons(value);
15757
15258
  }
@@ -15761,9 +15262,6 @@ class KolInputRange {
15761
15262
  validateLabel(value) {
15762
15263
  this.controller.validateLabel(value);
15763
15264
  }
15764
- validateList(value) {
15765
- this.controller.validateList(value);
15766
- }
15767
15265
  validateMax(value) {
15768
15266
  this.controller.validateMax(value);
15769
15267
  }
@@ -15809,11 +15307,9 @@ class KolInputRange {
15809
15307
  "_hideError": ["validateHideError"],
15810
15308
  "_hideLabel": ["validateHideLabel"],
15811
15309
  "_hint": ["validateHint"],
15812
- "_icon": ["validateIcon"],
15813
15310
  "_icons": ["validateIcons"],
15814
15311
  "_id": ["validateId"],
15815
15312
  "_label": ["validateLabel"],
15816
- "_list": ["validateList"],
15817
15313
  "_max": ["validateMax"],
15818
15314
  "_min": ["validateMin"],
15819
15315
  "_name": ["validateName"],
@@ -15840,11 +15336,9 @@ class KolInputRange {
15840
15336
  "_hideError": [1540, "_hide-error"],
15841
15337
  "_hideLabel": [4, "_hide-label"],
15842
15338
  "_hint": [1],
15843
- "_icon": [1],
15844
15339
  "_icons": [1],
15845
15340
  "_id": [1],
15846
15341
  "_label": [1],
15847
- "_list": [1],
15848
15342
  "_max": [2],
15849
15343
  "_min": [2],
15850
15344
  "_name": [1],
@@ -15881,7 +15375,7 @@ class KolInputText {
15881
15375
  } }, hAsync("kol-input", { class: {
15882
15376
  [this.state._type]: true,
15883
15377
  'hide-label': !!this.state._hideLabel,
15884
- }, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, size: this.state._size, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
15378
+ }, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
15885
15379
  }
15886
15380
  constructor(hostRef) {
15887
15381
  registerInstance(this, hostRef);
@@ -15920,11 +15414,9 @@ class KolInputText {
15920
15414
  this._hideError = false;
15921
15415
  this._hideLabel = false;
15922
15416
  this._hint = '';
15923
- this._icon = undefined;
15924
15417
  this._icons = undefined;
15925
15418
  this._id = undefined;
15926
15419
  this._label = undefined;
15927
- this._list = undefined;
15928
15420
  this._maxLength = undefined;
15929
15421
  this._name = undefined;
15930
15422
  this._on = undefined;
@@ -15932,7 +15424,6 @@ class KolInputText {
15932
15424
  this._placeholder = undefined;
15933
15425
  this._readOnly = false;
15934
15426
  this._required = false;
15935
- this._size = undefined;
15936
15427
  this._suggestions = undefined;
15937
15428
  this._smartButton = undefined;
15938
15429
  this._syncValueBySelector = undefined;
@@ -15980,9 +15471,6 @@ class KolInputText {
15980
15471
  validateHint(value) {
15981
15472
  this.controller.validateHint(value);
15982
15473
  }
15983
- validateIcon(value) {
15984
- this.validateIcons(value);
15985
- }
15986
15474
  validateIcons(value) {
15987
15475
  this.controller.validateIcons(value);
15988
15476
  }
@@ -15992,9 +15480,6 @@ class KolInputText {
15992
15480
  validateLabel(value) {
15993
15481
  this.controller.validateLabel(value);
15994
15482
  }
15995
- validateList(value) {
15996
- this.validateSuggestions(value);
15997
- }
15998
15483
  validateMaxLength(value) {
15999
15484
  this.controller.validateMaxLength(value);
16000
15485
  }
@@ -16016,9 +15501,6 @@ class KolInputText {
16016
15501
  validateRequired(value) {
16017
15502
  this.controller.validateRequired(value);
16018
15503
  }
16019
- validateSize(value) {
16020
- this.controller.validateSize(value);
16021
- }
16022
15504
  validateSuggestions(value) {
16023
15505
  this.controller.validateSuggestions(value);
16024
15506
  }
@@ -16063,11 +15545,9 @@ class KolInputText {
16063
15545
  "_hideError": ["validateHideError"],
16064
15546
  "_hideLabel": ["validateHideLabel"],
16065
15547
  "_hint": ["validateHint"],
16066
- "_icon": ["validateIcon"],
16067
15548
  "_icons": ["validateIcons"],
16068
15549
  "_id": ["validateId"],
16069
15550
  "_label": ["validateLabel"],
16070
- "_list": ["validateList"],
16071
15551
  "_maxLength": ["validateMaxLength"],
16072
15552
  "_name": ["validateName"],
16073
15553
  "_on": ["validateOn"],
@@ -16075,7 +15555,6 @@ class KolInputText {
16075
15555
  "_placeholder": ["validatePlaceholder"],
16076
15556
  "_readOnly": ["validateReadOnly"],
16077
15557
  "_required": ["validateRequired"],
16078
- "_size": ["validateSize"],
16079
15558
  "_suggestions": ["validateSuggestions"],
16080
15559
  "_smartButton": ["validateSmartButton"],
16081
15560
  "_syncValueBySelector": ["validateSyncValueBySelector"],
@@ -16100,11 +15579,9 @@ class KolInputText {
16100
15579
  "_hideError": [1540, "_hide-error"],
16101
15580
  "_hideLabel": [4, "_hide-label"],
16102
15581
  "_hint": [1],
16103
- "_icon": [1],
16104
15582
  "_icons": [1],
16105
15583
  "_id": [1],
16106
15584
  "_label": [1],
16107
- "_list": [1],
16108
15585
  "_maxLength": [2, "_max-length"],
16109
15586
  "_name": [1],
16110
15587
  "_on": [16],
@@ -16112,7 +15589,6 @@ class KolInputText {
16112
15589
  "_placeholder": [1],
16113
15590
  "_readOnly": [4, "_read-only"],
16114
15591
  "_required": [4],
16115
- "_size": [2],
16116
15592
  "_suggestions": [1],
16117
15593
  "_smartButton": [1, "_smart-button"],
16118
15594
  "_syncValueBySelector": [1, "_sync-value-by-selector"],
@@ -16239,33 +15715,21 @@ class KolLink {
16239
15715
  this.ref = ref;
16240
15716
  propagateFocus(this.host, this.ref);
16241
15717
  };
16242
- this._ariaControls = undefined;
16243
- this._ariaCurrent = undefined;
16244
- this._ariaExpanded = undefined;
16245
- this._ariaLabel = undefined;
16246
- this._ariaSelected = undefined;
16247
- this._disabled = false;
16248
15718
  this._download = undefined;
16249
15719
  this._hideLabel = false;
16250
15720
  this._href = undefined;
16251
- this._icon = undefined;
16252
15721
  this._icons = undefined;
16253
- this._iconAlign = undefined;
16254
- this._iconOnly = undefined;
16255
15722
  this._label = undefined;
16256
15723
  this._listenAriaCurrent = undefined;
16257
15724
  this._on = undefined;
16258
15725
  this._role = undefined;
16259
- this._selector = undefined;
16260
- this._stealth = false;
16261
15726
  this._tabIndex = undefined;
16262
15727
  this._target = undefined;
16263
15728
  this._targetDescription = 'Der Link wird in einem neuen Tab geöffnet.';
16264
15729
  this._tooltipAlign = 'right';
16265
- this._useCase = 'text';
16266
15730
  }
16267
15731
  render() {
16268
- return (hAsync(Host, null, hAsync("kol-link-wc", { ref: this.catchRef, _ariaControls: this._ariaControls, _ariaCurrent: this._ariaCurrent, _ariaExpanded: this._ariaExpanded, _ariaLabel: this._ariaLabel, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons || this._icon, _iconAlign: this._iconAlign, _label: this._label, _listenAriaCurrent: this._listenAriaCurrent, _on: this._on, _role: this._role, _selector: this._selector, _stealth: this._stealth, _tabIndex: this._tabIndex, _target: this._target, _targetDescription: this._targetDescription, _tooltipAlign: this._tooltipAlign, _useCase: this._useCase }, hAsync("slot", { name: "expert", slot: "expert" }), hAsync("slot", { slot: "expert" }))));
15732
+ return (hAsync(Host, null, hAsync("kol-link-wc", { ref: this.catchRef, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _label: this._label, _listenAriaCurrent: this._listenAriaCurrent, _on: this._on, _role: this._role, _tabIndex: this._tabIndex, _target: this._target, _targetDescription: this._targetDescription, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { name: "expert", slot: "expert" }))));
16269
15733
  }
16270
15734
  get host() { return getElement(this); }
16271
15735
  static get style() { return {
@@ -16275,30 +15739,18 @@ class KolLink {
16275
15739
  "$flags$": 41,
16276
15740
  "$tagName$": "kol-link",
16277
15741
  "$members$": {
16278
- "_ariaControls": [1, "_aria-controls"],
16279
- "_ariaCurrent": [8, "_aria-current"],
16280
- "_ariaExpanded": [4, "_aria-expanded"],
16281
- "_ariaLabel": [1, "_aria-label"],
16282
- "_ariaSelected": [4, "_aria-selected"],
16283
- "_disabled": [4],
16284
15742
  "_download": [1],
16285
15743
  "_hideLabel": [4, "_hide-label"],
16286
15744
  "_href": [1],
16287
- "_icon": [1],
16288
15745
  "_icons": [1],
16289
- "_iconAlign": [1, "_icon-align"],
16290
- "_iconOnly": [4, "_icon-only"],
16291
15746
  "_label": [1],
16292
15747
  "_listenAriaCurrent": [8, "_listen-aria-current"],
16293
15748
  "_on": [16],
16294
15749
  "_role": [1],
16295
- "_selector": [1],
16296
- "_stealth": [4],
16297
15750
  "_tabIndex": [2, "_tab-index"],
16298
15751
  "_target": [1],
16299
15752
  "_targetDescription": [1, "_target-description"],
16300
- "_tooltipAlign": [1, "_tooltip-align"],
16301
- "_useCase": [1, "_use-case"]
15753
+ "_tooltipAlign": [1, "_tooltip-align"]
16302
15754
  },
16303
15755
  "$listeners$": undefined,
16304
15756
  "$lazyBundleId$": "-",
@@ -16315,18 +15767,11 @@ class KolLinkButton {
16315
15767
  this.ref = ref;
16316
15768
  propagateFocus(this.host, this.ref);
16317
15769
  };
16318
- this._ariaControls = undefined;
16319
- this._ariaCurrent = undefined;
16320
- this._ariaExpanded = undefined;
16321
- this._ariaLabel = undefined;
16322
- this._ariaSelected = undefined;
16323
15770
  this._customClass = undefined;
16324
- this._disabled = false;
16325
15771
  this._download = undefined;
16326
15772
  this._hideLabel = false;
16327
15773
  this._href = undefined;
16328
- this._icon = undefined;
16329
- this._iconOnly = undefined;
15774
+ this._icons = undefined;
16330
15775
  this._label = undefined;
16331
15776
  this._listenAriaCurrent = undefined;
16332
15777
  this._on = undefined;
@@ -16342,7 +15787,7 @@ class KolLinkButton {
16342
15787
  button: true,
16343
15788
  [this._variant]: this._variant !== 'custom',
16344
15789
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
16345
- }, _ariaControls: this._ariaControls, _ariaCurrent: this._ariaCurrent, _ariaExpanded: this._ariaExpanded, _ariaLabel: this._ariaLabel, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icon: this._icon, _label: this._label, _listenAriaCurrent: this._listenAriaCurrent, _on: this._on, _role: "button", _tabIndex: this._tabIndex, _target: this._target, _targetDescription: this._targetDescription, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { name: "expert", slot: "expert" }))));
15790
+ }, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _label: this._label, _listenAriaCurrent: this._listenAriaCurrent, _on: this._on, _role: "button", _tabIndex: this._tabIndex, _target: this._target, _targetDescription: this._targetDescription, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { name: "expert", slot: "expert" }))));
16346
15791
  }
16347
15792
  get host() { return getElement(this); }
16348
15793
  static get style() { return {
@@ -16352,18 +15797,11 @@ class KolLinkButton {
16352
15797
  "$flags$": 41,
16353
15798
  "$tagName$": "kol-link-button",
16354
15799
  "$members$": {
16355
- "_ariaControls": [1, "_aria-controls"],
16356
- "_ariaCurrent": [8, "_aria-current"],
16357
- "_ariaExpanded": [4, "_aria-expanded"],
16358
- "_ariaLabel": [1, "_aria-label"],
16359
- "_ariaSelected": [4, "_aria-selected"],
16360
15800
  "_customClass": [1, "_custom-class"],
16361
- "_disabled": [4],
16362
15801
  "_download": [1],
16363
15802
  "_hideLabel": [4, "_hide-label"],
16364
15803
  "_href": [1],
16365
- "_icon": [1],
16366
- "_iconOnly": [4, "_icon-only"],
15804
+ "_icons": [1],
16367
15805
  "_label": [1],
16368
15806
  "_listenAriaCurrent": [8, "_listen-aria-current"],
16369
15807
  "_on": [16],
@@ -16398,13 +15836,9 @@ class KolLinkGroup {
16398
15836
  constructor(hostRef) {
16399
15837
  registerInstance(this, hostRef);
16400
15838
  this.isUl = true;
16401
- this._ariaLabel = undefined;
16402
15839
  this._listStyleType = undefined;
16403
- this._heading = undefined;
16404
15840
  this._label = undefined;
16405
- this._level = undefined;
16406
15841
  this._links = undefined;
16407
- this._ordered = false;
16408
15842
  this._orientation = 'vertical';
16409
15843
  this.state = {
16410
15844
  _label: '…',
@@ -16414,17 +15848,10 @@ class KolLinkGroup {
16414
15848
  };
16415
15849
  }
16416
15850
  render() {
16417
- var _a;
16418
15851
  return (hAsync("nav", { "aria-label": this.state._label, class: {
16419
15852
  vertical: this.state._orientation === 'vertical',
16420
15853
  horizontal: this.state._orientation === 'horizontal',
16421
- } }, typeof this.state._heading === 'string' && ((_a = this.state._heading) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("kol-heading-wc", { _label: this.state._heading, _level: this.state._level })), this.isUl === false ? (hAsync("ol", null, hAsync(ListItem, { links: this.state._links, orientation: this.state._orientation, listStyleType: this.state._listStyleType }))) : (hAsync("ul", null, hAsync(ListItem, { links: this.state._links, orientation: this.state._orientation, listStyleType: this.state._listStyleType })))));
16422
- }
16423
- validateAriaLabel(value) {
16424
- this.validateLabel(value);
16425
- }
16426
- validateHeading(value) {
16427
- watchString(this, '_heading', value);
15854
+ } }, this.isUl === false ? (hAsync("ol", null, hAsync(ListItem, { links: this.state._links, orientation: this.state._orientation, listStyleType: this.state._listStyleType }))) : (hAsync("ul", null, hAsync(ListItem, { links: this.state._links, orientation: this.state._orientation, listStyleType: this.state._listStyleType })))));
16428
15855
  }
16429
15856
  validateLabel(value, _oldValue, initial = false) {
16430
15857
  if (!initial) {
@@ -16433,9 +15860,6 @@ class KolLinkGroup {
16433
15860
  validateLabel(this, value);
16434
15861
  addNavLabel(this.state._label);
16435
15862
  }
16436
- validateLevel(value) {
16437
- watchHeadingLevel(this, value);
16438
- }
16439
15863
  validateListStyleType(value) {
16440
15864
  watchValidator(this, '_listStyleType', (value) => {
16441
15865
  switch (value) {
@@ -16464,18 +15888,13 @@ class KolLinkGroup {
16464
15888
  validateLinks(value) {
16465
15889
  watchNavLinks('KolLinkGroup', this, value);
16466
15890
  }
16467
- validateOrdered(value) {
16468
- watchBoolean(this, '_ordered', value);
16469
- }
16470
15891
  validateOrientation(value) {
16471
15892
  watchValidator(this, '_orientation', (value) => value === 'horizontal' || value === 'vertical', new Set(['Orientation {horizontal, vertical}']), value, {
16472
15893
  defaultValue: 'vertical',
16473
15894
  });
16474
15895
  }
16475
15896
  componentWillLoad() {
16476
- this.validateHeading(this._heading);
16477
- this.validateLabel(this._label || this._ariaLabel, undefined, true);
16478
- this.validateLevel(this._level);
15897
+ this.validateLabel(this._label, undefined, true);
16479
15898
  this.validateListStyleType(this._listStyleType);
16480
15899
  this.validateLinks(this._links);
16481
15900
  this.validateOrientation(this._orientation);
@@ -16484,13 +15903,9 @@ class KolLinkGroup {
16484
15903
  removeNavLabel(this.state._label);
16485
15904
  }
16486
15905
  static get watchers() { return {
16487
- "_ariaLabel": ["validateAriaLabel"],
16488
- "_heading": ["validateHeading"],
16489
15906
  "_label": ["validateLabel"],
16490
- "_level": ["validateLevel"],
16491
15907
  "_listStyleType": ["validateListStyleType"],
16492
15908
  "_links": ["validateLinks"],
16493
- "_ordered": ["validateOrdered"],
16494
15909
  "_orientation": ["validateOrientation"]
16495
15910
  }; }
16496
15911
  static get style() { return {
@@ -16500,13 +15915,9 @@ class KolLinkGroup {
16500
15915
  "$flags$": 41,
16501
15916
  "$tagName$": "kol-link-group",
16502
15917
  "$members$": {
16503
- "_ariaLabel": [1, "_aria-label"],
16504
15918
  "_listStyleType": [1, "_list-style-type"],
16505
- "_heading": [1],
16506
15919
  "_label": [1],
16507
- "_level": [2],
16508
15920
  "_links": [1],
16509
- "_ordered": [4],
16510
15921
  "_orientation": [1],
16511
15922
  "state": [32]
16512
15923
  },
@@ -16516,8 +15927,14 @@ class KolLinkGroup {
16516
15927
  }; }
16517
15928
  }
16518
15929
 
16519
- const validateAriaSelected = (component, value) => {
16520
- watchBoolean(component, '_ariaSelected', value);
15930
+ const validate = (component, propName, value) => {
15931
+ watchValidator(component, propName, (value) => value === 'date' || value === 'location' || value === 'page' || value === 'step' || value === 'time' || value === true || value === false, new Set(['String {data, location, page, step, time}', 'boolean']), value);
15932
+ };
15933
+ const validateAriaCurrent = (component, value) => {
15934
+ validate(component, '_ariaCurrent', value);
15935
+ };
15936
+ const validateListenAriaCurrent = (component, value) => {
15937
+ validate(component, '_listenAriaCurrent', value);
16521
15938
  };
16522
15939
 
16523
15940
  const validateDownload = (component, value) => {
@@ -16538,10 +15955,6 @@ const validateLinkTarget = (component, value) => {
16538
15955
  watchString(component, '_target', value);
16539
15956
  };
16540
15957
 
16541
- const validateStealth = (component, value) => {
16542
- watchBoolean(component, '_stealth', value);
16543
- };
16544
-
16545
15958
  class KolLinkWc {
16546
15959
  constructor(hostRef) {
16547
15960
  registerInstance(this, hostRef);
@@ -16559,19 +15972,6 @@ class KolLinkWc {
16559
15972
  }
16560
15973
  };
16561
15974
  this.getRenderValues = () => {
16562
- let goToProps = {};
16563
- if (typeof this.state._selector === 'string') {
16564
- goToProps = {
16565
- role: 'link',
16566
- tabIndex: 0,
16567
- onClick: () => {
16568
- scrollBySelector(this.state._selector);
16569
- },
16570
- onKeyPress: () => {
16571
- scrollBySelector(this.state._selector);
16572
- },
16573
- };
16574
- }
16575
15975
  const isExternal = typeof this.state._target === 'string' && this.state._target !== '_self';
16576
15976
  const tagAttrs = {
16577
15977
  href: typeof this.state._href === 'string' && this.state._href.length > 0 ? this.state._href : 'javascript:void(0);',
@@ -16579,10 +15979,10 @@ class KolLinkWc {
16579
15979
  rel: isExternal ? 'noopener' : undefined,
16580
15980
  download: typeof this.state._download === 'string' ? this.state._download : undefined,
16581
15981
  };
16582
- if ((this.state._useCase === 'image' || this.state._hideLabel === true) && !this.state._label) {
16583
- devHint(`[KolLink] Es muss ein Aria-Label gesetzt werden, wenn eine Grafik verlinkt oder der _hide-label gesetzt ist.`);
15982
+ if (this.state._hideLabel === true && !this.state._label) {
15983
+ devHint(`[KolLink] Es muss ein Aria-Label gesetzt werden _hide-label gesetzt ist.`);
16584
15984
  }
16585
- return { isExternal, tagAttrs, goToProps };
15985
+ return { isExternal, tagAttrs };
16586
15986
  };
16587
15987
  this.unsubscribeAriaCurrentSubject = ariaCurrentSubject.subscribe((event) => {
16588
15988
  try {
@@ -16599,67 +15999,34 @@ class KolLinkWc {
16599
15999
  devWarning(`The aria-current event is not valid.`);
16600
16000
  }
16601
16001
  });
16602
- this._ariaControls = undefined;
16603
- this._ariaCurrent = undefined;
16604
- this._ariaExpanded = undefined;
16605
- this._ariaLabel = undefined;
16606
- this._ariaSelected = undefined;
16607
- this._disabled = false;
16608
16002
  this._download = undefined;
16609
16003
  this._hideLabel = false;
16610
16004
  this._href = undefined;
16611
- this._icon = undefined;
16612
16005
  this._icons = undefined;
16613
- this._iconAlign = undefined;
16614
- this._iconOnly = undefined;
16615
16006
  this._label = undefined;
16616
16007
  this._listenAriaCurrent = undefined;
16617
16008
  this._on = undefined;
16618
16009
  this._role = undefined;
16619
- this._selector = undefined;
16620
- this._stealth = false;
16621
16010
  this._tabIndex = undefined;
16622
16011
  this._target = undefined;
16623
16012
  this._targetDescription = translate('kol-open-link-in-tab');
16624
16013
  this._tooltipAlign = 'right';
16625
- this._useCase = 'text';
16626
16014
  this.state = {
16627
16015
  _href: '…',
16628
16016
  _icons: {},
16629
16017
  };
16630
16018
  }
16631
16019
  render() {
16632
- const { isExternal, tagAttrs, goToProps } = this.getRenderValues();
16020
+ const { isExternal, tagAttrs } = this.getRenderValues();
16633
16021
  const hasExpertSlot = showExpertSlot(this.state._label);
16634
- return (hAsync(Host, null, hAsync("a", Object.assign({ ref: this.catchRef }, tagAttrs, { "aria-controls": this.state._ariaControls, "aria-current": this.state._ariaCurrent, "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapBoolean2String(this.state._ariaSelected), class: {
16635
- disabled: this.state._disabled === true,
16636
- 'skip ': this.state._stealth !== false,
16637
- 'icon-only': this.state._hideLabel === true,
16638
- 'hide-label': this.state._hideLabel === true,
16022
+ return (hAsync(Host, null, hAsync("a", Object.assign({ ref: this.catchRef }, tagAttrs, { "aria-current": this.state._ariaCurrent, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, class: {
16639
16023
  'external-link': isExternal,
16640
- } }, this.state._on, { onClick: this.onClick, onKeyPress: this.onClick }, goToProps, { role: this.state._role, tabIndex: this.state._tabIndex }), hAsync("kol-span-wc", { _icons: this.state._icons, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? '' : this.state._label || this.state._href }, hAsync("slot", { name: "expert", slot: "expert" })), isExternal && hAsync("kol-icon", { class: "external-link-icon", _label: this.state._targetDescription, _icons: 'codicon codicon-link-external' })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href })));
16641
- }
16642
- validateAriaControls(value) {
16643
- validateAriaControls(this, value);
16024
+ 'hide-label': this.state._hideLabel === true,
16025
+ } }, this.state._on, { onClick: this.onClick, onKeyPress: this.onClick, role: this.state._role, tabIndex: this.state._tabIndex }), hAsync("kol-span-wc", { _icons: this.state._icons, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? '' : this.state._label || this.state._href }, hAsync("slot", { name: "expert", slot: "expert" })), isExternal && hAsync("kol-icon", { class: "external-link-icon", _label: this.state._targetDescription, _icons: 'codicon codicon-link-external' })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href })));
16644
16026
  }
16645
16027
  validateAriaCurrent(value) {
16646
16028
  validateAriaCurrent(this, value);
16647
16029
  }
16648
- validateAriaExpanded(value) {
16649
- watchBoolean(this, '_ariaExpanded', value);
16650
- }
16651
- validateAriaLabel(value) {
16652
- this.validateLabel(value);
16653
- }
16654
- validateAriaSelected(value) {
16655
- validateAriaSelected(this, value);
16656
- }
16657
- validateDisabled(value) {
16658
- watchBoolean(this, '_disabled', value);
16659
- if (value === true) {
16660
- a11yHintDisabled();
16661
- }
16662
- }
16663
16030
  validateDownload(value) {
16664
16031
  validateDownload(this, value);
16665
16032
  }
@@ -16669,18 +16036,9 @@ class KolLinkWc {
16669
16036
  validateHref(value) {
16670
16037
  validateHref(this, value);
16671
16038
  }
16672
- validateIcon(value) {
16673
- this.validateIcons(value);
16674
- }
16675
16039
  validateIcons(value) {
16676
16040
  validateIcons(this, value);
16677
16041
  }
16678
- validateIconAlign(value) {
16679
- watchIconAlign(this, value);
16680
- }
16681
- validateIconOnly(value) {
16682
- this.validateHideLabel(value);
16683
- }
16684
16042
  validateLabel(value) {
16685
16043
  validateLabelWithExpertSlot(this, value);
16686
16044
  }
@@ -16693,12 +16051,6 @@ class KolLinkWc {
16693
16051
  validateRole(value) {
16694
16052
  validateAlternativeButtonLinkRole(this, value);
16695
16053
  }
16696
- validateSelector(value) {
16697
- watchString(this, '_selector', value);
16698
- }
16699
- validateStealth(value) {
16700
- validateStealth(this, value);
16701
- }
16702
16054
  validateTabIndex(value) {
16703
16055
  validateTabIndex(this, value);
16704
16056
  }
@@ -16711,93 +16063,54 @@ class KolLinkWc {
16711
16063
  validateTooltipAlign(value) {
16712
16064
  validateTooltipAlign(this, value);
16713
16065
  }
16714
- validateUseCase(value) {
16715
- if (typeof value === 'string') {
16716
- this.state = Object.assign(Object.assign({}, this.state), { _useCase: value });
16717
- }
16718
- }
16719
16066
  componentWillLoad() {
16720
- var _a;
16721
- this.validateAriaControls(this._ariaControls);
16722
- this.validateAriaCurrent(this._ariaCurrent);
16723
- this.validateAriaExpanded(this._ariaExpanded);
16724
- this.validateAriaSelected(this._ariaSelected);
16725
- this.validateDisabled(this._disabled);
16726
16067
  this.validateDownload(this._download);
16727
- this.validateHideLabel(this._hideLabel || this._iconOnly);
16068
+ this.validateHideLabel(this._hideLabel);
16728
16069
  this.validateHref(this._href);
16729
- this.validateIcon(this._icons || this._icon);
16730
- this.validateIconAlign(this._iconAlign);
16731
- this.validateLabel((_a = this._label) !== null && _a !== void 0 ? _a : this._ariaLabel);
16070
+ this.validateIcons(this._icons);
16071
+ this.validateLabel(this._label);
16732
16072
  this.validateListenAriaCurrent(this._listenAriaCurrent);
16733
16073
  this.validateOn(this._on);
16734
16074
  this.validateRole(this._role);
16735
- this.validateSelector(this._selector);
16736
- this.validateStealth(this._stealth);
16737
16075
  this.validateTabIndex(this._tabIndex);
16738
16076
  this.validateTarget(this._target);
16739
16077
  this.validateTargetDescription(this._targetDescription);
16740
16078
  this.validateTooltipAlign(this._tooltipAlign);
16741
- this.validateUseCase(this._useCase);
16742
16079
  }
16743
16080
  disconnectedCallback() {
16744
16081
  this.unsubscribeAriaCurrentSubject.unsubscribe();
16745
16082
  }
16746
16083
  get host() { return getElement(this); }
16747
16084
  static get watchers() { return {
16748
- "_ariaControls": ["validateAriaControls"],
16749
- "_ariaCurrent": ["validateAriaCurrent"],
16750
- "_ariaExpanded": ["validateAriaExpanded"],
16751
- "_ariaLabel": ["validateAriaLabel"],
16752
- "_ariaSelected": ["validateAriaSelected"],
16753
- "_disabled": ["validateDisabled"],
16754
16085
  "_download": ["validateDownload"],
16755
16086
  "_hideLabel": ["validateHideLabel"],
16756
16087
  "_href": ["validateHref"],
16757
- "_icon": ["validateIcon"],
16758
16088
  "_icons": ["validateIcons"],
16759
- "_iconAlign": ["validateIconAlign"],
16760
- "_iconOnly": ["validateIconOnly"],
16761
16089
  "_label": ["validateLabel"],
16762
16090
  "_listenAriaCurrent": ["validateListenAriaCurrent"],
16763
16091
  "_on": ["validateOn"],
16764
16092
  "_role": ["validateRole"],
16765
- "_selector": ["validateSelector"],
16766
- "_stealth": ["validateStealth"],
16767
16093
  "_tabIndex": ["validateTabIndex"],
16768
16094
  "_target": ["validateTarget"],
16769
16095
  "_targetDescription": ["validateTargetDescription"],
16770
- "_tooltipAlign": ["validateTooltipAlign"],
16771
- "_useCase": ["validateUseCase"]
16096
+ "_tooltipAlign": ["validateTooltipAlign"]
16772
16097
  }; }
16773
16098
  static get cmpMeta() { return {
16774
16099
  "$flags$": 4,
16775
16100
  "$tagName$": "kol-link-wc",
16776
16101
  "$members$": {
16777
- "_ariaControls": [1, "_aria-controls"],
16778
- "_ariaCurrent": [8, "_aria-current"],
16779
- "_ariaExpanded": [4, "_aria-expanded"],
16780
- "_ariaLabel": [1, "_aria-label"],
16781
- "_ariaSelected": [4, "_aria-selected"],
16782
- "_disabled": [4],
16783
16102
  "_download": [1],
16784
16103
  "_hideLabel": [4, "_hide-label"],
16785
16104
  "_href": [1],
16786
- "_icon": [1],
16787
16105
  "_icons": [1],
16788
- "_iconAlign": [1, "_icon-align"],
16789
- "_iconOnly": [4, "_icon-only"],
16790
16106
  "_label": [1],
16791
16107
  "_listenAriaCurrent": [8, "_listen-aria-current"],
16792
16108
  "_on": [16],
16793
16109
  "_role": [1],
16794
- "_selector": [1],
16795
- "_stealth": [4],
16796
16110
  "_tabIndex": [2, "_tab-index"],
16797
16111
  "_target": [1],
16798
16112
  "_targetDescription": [1, "_target-description"],
16799
16113
  "_tooltipAlign": [1, "_tooltip-align"],
16800
- "_useCase": [1, "_use-case"],
16801
16114
  "state": [32]
16802
16115
  },
16803
16116
  "$listeners$": undefined,
@@ -16994,15 +16307,11 @@ const Adler = () => (hAsync("path", { d: "M21.72,12.77c0.04-0.33,0.06-0.67,0.06-
16994
16307
  class KolLogo {
16995
16308
  constructor(hostRef) {
16996
16309
  registerInstance(this, hostRef);
16997
- this._abbr = undefined;
16998
16310
  this._org = undefined;
16999
16311
  this.state = {
17000
16312
  _org: Bundesanstalt['Informationstechnikzentrum Bund'],
17001
16313
  };
17002
16314
  }
17003
- validateAbbr(value) {
17004
- this.validateOrg(value);
17005
- }
17006
16315
  validateOrg(value) {
17007
16316
  if (typeof value === 'string' && ENUM_AS_MAP.has(value)) {
17008
16317
  setState(this, '_org', value);
@@ -17012,7 +16321,7 @@ class KolLogo {
17012
16321
  }
17013
16322
  }
17014
16323
  componentWillLoad() {
17015
- this.validateOrg(this._org || this._abbr);
16324
+ this.validateOrg(this._org);
17016
16325
  }
17017
16326
  render() {
17018
16327
  var _a;
@@ -17021,7 +16330,6 @@ class KolLogo {
17021
16330
  }))) : (hAsync("tspan", { fill: "red" }, hAsync("tspan", { x: "0", dy: "1.1em" }, "Der Schl\u00FCsselwert"), hAsync("tspan", { x: "0", dy: "1.1em", "font-weight": "bold" }, "'", this.state._org, "'"), hAsync("tspan", { x: "0", dy: "1.1em" }, "ist nicht definiert."), hAsync("tspan", { x: "0", dy: "1.1em" }, "oder freigegeben.")))))));
17022
16331
  }
17023
16332
  static get watchers() { return {
17024
- "_abbr": ["validateAbbr"],
17025
16333
  "_org": ["validateOrg"]
17026
16334
  }; }
17027
16335
  static get style() { return {
@@ -17031,7 +16339,6 @@ class KolLogo {
17031
16339
  "$flags$": 41,
17032
16340
  "$tagName$": "kol-logo",
17033
16341
  "$members$": {
17034
- "_abbr": [1],
17035
16342
  "_org": [1],
17036
16343
  "state": [32]
17037
16344
  },
@@ -17052,7 +16359,6 @@ class KolModal {
17052
16359
  }
17053
16360
  };
17054
16361
  this._activeElement = undefined;
17055
- this._ariaLabel = undefined;
17056
16362
  this._label = undefined;
17057
16363
  this._on = undefined;
17058
16364
  this._width = '100%';
@@ -17102,9 +16408,6 @@ class KolModal {
17102
16408
  },
17103
16409
  });
17104
16410
  }
17105
- validateAriaLabel(value) {
17106
- this.validateLabel(value);
17107
- }
17108
16411
  validateLabel(value) {
17109
16412
  validateLabel(this, value);
17110
16413
  }
@@ -17125,13 +16428,12 @@ class KolModal {
17125
16428
  }
17126
16429
  componentWillLoad() {
17127
16430
  this.validateActiveElement(this._activeElement);
17128
- this.validateLabel(this._label || this._ariaLabel);
16431
+ this.validateLabel(this._label);
17129
16432
  this.validateOn(this._on);
17130
16433
  this.validateWidth(this._width);
17131
16434
  }
17132
16435
  static get watchers() { return {
17133
16436
  "_activeElement": ["validateActiveElement"],
17134
- "_ariaLabel": ["validateAriaLabel"],
17135
16437
  "_label": ["validateLabel"],
17136
16438
  "_on": ["validateOn"],
17137
16439
  "_width": ["validateWidth"]
@@ -17144,7 +16446,6 @@ class KolModal {
17144
16446
  "$tagName$": "kol-modal",
17145
16447
  "$members$": {
17146
16448
  "_activeElement": [1040],
17147
- "_ariaLabel": [1, "_aria-label"],
17148
16449
  "_label": [1],
17149
16450
  "_on": [16],
17150
16451
  "_width": [1],
@@ -17160,10 +16461,6 @@ const validateCollapsible = (component, value) => {
17160
16461
  watchBoolean(component, '_collapsible', value);
17161
16462
  };
17162
16463
 
17163
- const validateHasCompactButton = (component, value) => {
17164
- watchBoolean(component, '_hasCompactButton', value);
17165
- };
17166
-
17167
16464
  const defaultStyleCss$e = "/*!@:host*/.sc-kol-nav-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-nav-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-nav-default,button.sc-kol-nav-default:not([role='link']),kol-input.sc-kol-nav-default .input.sc-kol-nav-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-nav-default,button.sc-kol-nav-default,h1.sc-kol-nav-default,h2.sc-kol-nav-default,h3.sc-kol-nav-default,h4.sc-kol-nav-default,h5.sc-kol-nav-default,h6.sc-kol-nav-default,input.sc-kol-nav-default,option.sc-kol-nav-default,select.sc-kol-nav-default,textarea.sc-kol-nav-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-nav-default:is(a,button).sc-kol-nav-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-nav-default-h{max-width:100%}/*!@**/*.sc-kol-nav-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-nav-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-nav-default>span.sc-kol-nav-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-nav-default,button.sc-kol-nav-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-nav-default,input.sc-kol-nav-default,option.sc-kol-nav-default,select.sc-kol-nav-default,textarea.sc-kol-nav-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-nav-default>kol-span-wc.sc-kol-nav-default>span.sc-kol-nav-default>span.sc-kol-nav-default{display:none}/*!@:host > div*/.sc-kol-nav-default-h>div.sc-kol-nav-default{display:grid;place-items:center}/*!@nav*/nav.sc-kol-nav-default{width:100%}/*!@.list*/.list.sc-kol-nav-default{display:flex;list-style:none;margin:0;padding:0}/*!@.list.vertical*/.list.vertical.sc-kol-nav-default{flex-direction:column}/*!@.entry*/.entry.sc-kol-nav-default{display:flex}/*!@.entry kol-button-wc:first-child,\n.entry kol-link-wc,\n.entry kol-span-wc*/.entry.sc-kol-nav-default kol-button-wc.sc-kol-nav-default:first-child,.entry.sc-kol-nav-default kol-link-wc.sc-kol-nav-default,.entry.sc-kol-nav-default kol-span-wc.sc-kol-nav-default{flex-grow:1}/*!@.entry kol-span-wc*/.entry.sc-kol-nav-default kol-span-wc.sc-kol-nav-default{justify-items:start}";
17168
16465
 
17169
16466
  class KolNav {
@@ -17185,24 +16482,18 @@ class KolNav {
17185
16482
  })));
17186
16483
  };
17187
16484
  this._ariaCurrentValue = false;
17188
- this._ariaLabel = undefined;
17189
16485
  this._collapsible = true;
17190
- this._compact = false;
17191
- this._hasCompactButton = false;
17192
16486
  this._hideLabel = false;
17193
16487
  this._label = undefined;
17194
16488
  this._links = undefined;
17195
16489
  this._orientation = 'vertical';
17196
- this._variant = 'primary';
17197
16490
  this.state = {
17198
16491
  _ariaCurrentValue: false,
17199
16492
  _collapsible: true,
17200
- _hasCompactButton: false,
17201
16493
  _hideLabel: false,
17202
16494
  _label: '…',
17203
16495
  _links: [],
17204
16496
  _orientation: 'vertical',
17205
- _variant: 'primary',
17206
16497
  };
17207
16498
  }
17208
16499
  entry(collapsible, hideLabel, hasChildren, link, expanded) {
@@ -17219,42 +16510,22 @@ class KolNav {
17219
16510
  active,
17220
16511
  expanded,
17221
16512
  'has-children': hasChildren,
17222
- selected: expanded,
17223
16513
  }, key: index }, this.entry(collapsible, hideLabel, hasChildren, link, active), expanded ? (hAsync(this.linkList, { collapsible: collapsible, hideLabel: hideLabel, deep: deep + 1, links: link._children || [], orientation: orientation })) : ('')));
17224
16514
  }
17225
16515
  render() {
17226
- let hasCompactButton = this.state._hasCompactButton;
17227
- if (this.state._orientation === 'horizontal' && this.state._hasCompactButton === true) {
17228
- hasCompactButton = false;
17229
- devWarning(`[KolNav] Wenn eine horizontale Navigation verwendet wird, kann die Option _hasCompactButton nicht aktiviert werden.`);
17230
- }
17231
16516
  const collapsible = this.state._collapsible === true;
17232
16517
  const hideLabel = this.state._hideLabel === true;
17233
16518
  const orientation = this.state._orientation;
17234
16519
  return (hAsync(Host, null, hAsync("div", { class: {
17235
16520
  [orientation]: true,
17236
- [this.state._variant]: true,
17237
- } }, hAsync("nav", { "aria-label": this.state._label, id: "nav" }, hAsync(this.linkList, { collapsible: collapsible, hideLabel: hideLabel, deep: 0, links: this.state._links, orientation: orientation })), hasCompactButton && (hAsync("div", { class: "compact" }, hAsync("kol-button", { _ariaControls: "nav", _ariaExpanded: !hideLabel, _icons: hideLabel ? 'codicon codicon-chevron-right' : 'codicon codicon-chevron-left', _hideLabel: true, _label: translate(hideLabel ? 'kol-nav-maximize' : 'kol-nav-minimize'), _on: {
17238
- onClick: () => {
17239
- this.state = Object.assign(Object.assign({}, this.state), { _hideLabel: this.state._hideLabel === false });
17240
- },
17241
- }, _tooltipAlign: "right", _variant: "ghost" }))))));
16521
+ } }, hAsync("nav", { "aria-label": this.state._label, id: "nav" }, hAsync(this.linkList, { collapsible: collapsible, hideLabel: hideLabel, deep: 0, links: this.state._links, orientation: orientation })))));
17242
16522
  }
17243
16523
  validateAriaCurrentValue(value) {
17244
16524
  watchValidator(this, '_ariaCurrentValue', (value) => value === true || value === 'date' || value === 'location' || value === 'page' || value === 'step' || value === 'time', new Set(['boolean', 'String {data, location, page, step, time}']), value);
17245
16525
  }
17246
- validateAriaLabel(value) {
17247
- this.validateLabel(value);
17248
- }
17249
16526
  validateCollapsible(value) {
17250
16527
  validateCollapsible(this, value);
17251
16528
  }
17252
- validateCompact(value) {
17253
- this.validateHideLabel(value);
17254
- }
17255
- validateHasCompactButton(value) {
17256
- validateHasCompactButton(this, value);
17257
- }
17258
16529
  validateHideLabel(value) {
17259
16530
  validateHideLabel(this, value);
17260
16531
  }
@@ -17275,35 +16546,24 @@ class KolNav {
17275
16546
  defaultValue: 'vertical',
17276
16547
  });
17277
16548
  }
17278
- validateVariant(value) {
17279
- watchValidator(this, '_variant', (value) => value === 'primary' || value === 'secondary', new Set(['KoliBriNavVariant {primary, secondary}']), value, {
17280
- defaultValue: 'primary',
17281
- });
17282
- }
17283
16549
  componentWillLoad() {
17284
16550
  this.validateAriaCurrentValue(this._ariaCurrentValue);
17285
16551
  this.validateCollapsible(this._collapsible);
17286
- this.validateHideLabel(this._hideLabel || this._compact);
17287
- this.validateHasCompactButton(this._hasCompactButton);
17288
- this.validateLabel(this._label || this._ariaLabel, undefined, true);
16552
+ this.validateHideLabel(this._hideLabel);
16553
+ this.validateLabel(this._label, undefined, true);
17289
16554
  this.validateLinks(this._links);
17290
16555
  this.validateOrientation(this._orientation);
17291
- this.validateVariant(this._variant);
17292
16556
  }
17293
16557
  disconnectedCallback() {
17294
16558
  removeNavLabel(this.state._label);
17295
16559
  }
17296
16560
  static get watchers() { return {
17297
16561
  "_ariaCurrentValue": ["validateAriaCurrentValue"],
17298
- "_ariaLabel": ["validateAriaLabel"],
17299
16562
  "_collapsible": ["validateCollapsible"],
17300
- "_compact": ["validateCompact"],
17301
- "_hasCompactButton": ["validateHasCompactButton"],
17302
16563
  "_hideLabel": ["validateHideLabel"],
17303
16564
  "_label": ["validateLabel"],
17304
16565
  "_links": ["validateLinks"],
17305
- "_orientation": ["validateOrientation"],
17306
- "_variant": ["validateVariant"]
16566
+ "_orientation": ["validateOrientation"]
17307
16567
  }; }
17308
16568
  static get style() { return {
17309
16569
  default: defaultStyleCss$e
@@ -17313,15 +16573,11 @@ class KolNav {
17313
16573
  "$tagName$": "kol-nav",
17314
16574
  "$members$": {
17315
16575
  "_ariaCurrentValue": [8, "_aria-current-value"],
17316
- "_ariaLabel": [1, "_aria-label"],
17317
16576
  "_collapsible": [4],
17318
- "_compact": [4],
17319
- "_hasCompactButton": [4, "_has-compact-button"],
17320
16577
  "_hideLabel": [4, "_hide-label"],
17321
16578
  "_label": [1],
17322
16579
  "_links": [1],
17323
16580
  "_orientation": [1],
17324
- "_variant": [1],
17325
16581
  "state": [32]
17326
16582
  },
17327
16583
  "$listeners$": undefined,
@@ -17457,7 +16713,6 @@ class KolPagination {
17457
16713
  this._on = undefined;
17458
16714
  this._siblingCount = 1;
17459
16715
  this._tooltipAlign = 'top';
17460
- this._total = undefined;
17461
16716
  this._max = undefined;
17462
16717
  this._variant = 'normal';
17463
16718
  this.state = {
@@ -17506,7 +16761,7 @@ class KolPagination {
17506
16761
  return null;
17507
16762
  }
17508
16763
  });
17509
- return (hAsync(Host, null, hAsync("nav", { "aria-label": this.state._label }, hAsync("ul", { class: "navigation-list" }, this.state._hasButtons.first && (hAsync("li", null, hAsync("kol-button", { class: "first", exportparts: "icon", _customClass: this.state._customClass, _disabled: this.state._page <= 1, _icon: leftDoubleArrowIcon, _hideLabel: true, _label: translate('kol-page-first'), _on: this.onGoToFirst, _variant: this.state._variant, _tooltipAlign: this.state._tooltipAlign }))), this.state._hasButtons.previous && (hAsync("li", null, hAsync("kol-button", { class: "previous", exportparts: "icon", _customClass: this.state._customClass, _disabled: this.state._page <= 1, _icon: leftSingleArrow, _hideLabel: true, _label: translate('kol-page-back'), _on: this.onGoBackward, _variant: this.state._variant, _tooltipAlign: this.state._tooltipAlign }))), pageButtons, this.state._hasButtons.next && (hAsync("li", null, hAsync("kol-button", { class: "next", exportparts: "icon", _customClass: this.state._customClass, _disabled: count <= this.state._page, _icon: rightSingleArrowIcon, _hideLabel: true, _label: translate('kol-page-next'), _on: this.onGoForward, _variant: this.state._variant, _tooltipAlign: this.state._tooltipAlign }))), this.state._hasButtons.last && (hAsync("li", null, hAsync("kol-button", { class: "last", exportparts: "icon", _customClass: this.state._customClass, _disabled: count <= this.state._page, _icon: rightDoubleArrowIcon, _hideLabel: true, _label: translate('kol-page-last'), _on: this.onGoToEnd, _variant: this.state._variant, _tooltipAlign: this.state._tooltipAlign }))))), ((_a = this.state._pageSizeOptions) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("kol-select", { _hideLabel: true, _id: `pagination-size-${this.nonce}`, _label: translate('kol-entries-per-site'), _list: this.state._pageSizeOptions, _on: {
16764
+ return (hAsync(Host, null, hAsync("nav", { "aria-label": this.state._label }, hAsync("ul", { class: "navigation-list" }, this.state._hasButtons.first && (hAsync("li", null, hAsync("kol-button", { class: "first", exportparts: "icon", _customClass: this.state._customClass, _disabled: this.state._page <= 1, _icons: leftDoubleArrowIcon, _hideLabel: true, _label: translate('kol-page-first'), _on: this.onGoToFirst, _variant: this.state._variant, _tooltipAlign: this.state._tooltipAlign }))), this.state._hasButtons.previous && (hAsync("li", null, hAsync("kol-button", { class: "previous", exportparts: "icon", _customClass: this.state._customClass, _disabled: this.state._page <= 1, _icons: leftSingleArrow, _hideLabel: true, _label: translate('kol-page-back'), _on: this.onGoBackward, _variant: this.state._variant, _tooltipAlign: this.state._tooltipAlign }))), pageButtons, this.state._hasButtons.next && (hAsync("li", null, hAsync("kol-button", { class: "next", exportparts: "icon", _customClass: this.state._customClass, _disabled: count <= this.state._page, _icons: rightSingleArrowIcon, _hideLabel: true, _label: translate('kol-page-next'), _on: this.onGoForward, _variant: this.state._variant, _tooltipAlign: this.state._tooltipAlign }))), this.state._hasButtons.last && (hAsync("li", null, hAsync("kol-button", { class: "last", exportparts: "icon", _customClass: this.state._customClass, _disabled: count <= this.state._page, _icons: rightDoubleArrowIcon, _hideLabel: true, _label: translate('kol-page-last'), _on: this.onGoToEnd, _variant: this.state._variant, _tooltipAlign: this.state._tooltipAlign }))))), ((_a = this.state._pageSizeOptions) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("kol-select", { _hideLabel: true, _id: `pagination-size-${this.nonce}`, _label: translate('kol-entries-per-site'), _options: this.state._pageSizeOptions, _on: {
17510
16765
  onChange: this.onChangePageSize,
17511
16766
  }, _value: [this.state._pageSize] }))));
17512
16767
  }
@@ -17518,7 +16773,7 @@ class KolPagination {
17518
16773
  }, _variant: this.state._variant })));
17519
16774
  }
17520
16775
  getSelectedPageButton(page) {
17521
- return (hAsync("li", null, hAsync("kol-button-wc", { class: "selected", key: `${this.nonce}-selected`, _customClass: this.state._customClass, _disabled: true, _ariaCurrent: true, _label: `${page}`, _variant: this.state._variant })));
16776
+ return (hAsync("li", null, hAsync("kol-button-wc", { class: "selected", key: `${this.nonce}-selected`, _customClass: this.state._customClass, _disabled: true, _label: `${page}`, _variant: this.state._variant })));
17522
16777
  }
17523
16778
  validateBoundaryCount(value) {
17524
16779
  watchNumber(this, '_boundaryCount', Math.max(0, value !== null && value !== void 0 ? value : 1));
@@ -17603,9 +16858,6 @@ class KolPagination {
17603
16858
  validateSiblingCount(value) {
17604
16859
  watchNumber(this, '_siblingCount', Math.max(0, value !== null && value !== void 0 ? value : 1));
17605
16860
  }
17606
- validateTotal(value) {
17607
- this.validateMax(value);
17608
- }
17609
16861
  validateMax(value) {
17610
16862
  validateMax(this, value, {
17611
16863
  hooks: {
@@ -17634,7 +16886,7 @@ class KolPagination {
17634
16886
  this.validatePageSizeOptions(this._pageSizeOptions);
17635
16887
  this.validateSiblingCount(this._siblingCount);
17636
16888
  this.validateTooltipAlign(this._tooltipAlign);
17637
- this.validateMax(this._max || this._total);
16889
+ this.validateMax(this._max);
17638
16890
  this.validateVariant(this._variant);
17639
16891
  this.validatePage(this._page);
17640
16892
  }
@@ -17651,7 +16903,6 @@ class KolPagination {
17651
16903
  "_pageSize": ["validatePageSize"],
17652
16904
  "_pageSizeOptions": ["validatePageSizeOptions"],
17653
16905
  "_siblingCount": ["validateSiblingCount"],
17654
- "_total": ["validateTotal"],
17655
16906
  "_max": ["validateMax"],
17656
16907
  "_tooltipAlign": ["validateTooltipAlign"],
17657
16908
  "_variant": ["validateVariant"]
@@ -17673,7 +16924,6 @@ class KolPagination {
17673
16924
  "_on": [16],
17674
16925
  "_siblingCount": [2, "_sibling-count"],
17675
16926
  "_tooltipAlign": [1, "_tooltip-align"],
17676
- "_total": [2],
17677
16927
  "_max": [2],
17678
16928
  "_variant": [1],
17679
16929
  "state": [32]
@@ -19263,7 +18513,6 @@ class KolProcess {
19263
18513
  registerInstance(this, hostRef);
19264
18514
  this._label = undefined;
19265
18515
  this._max = undefined;
19266
- this._type = undefined;
19267
18516
  this._unit = '%';
19268
18517
  this._value = undefined;
19269
18518
  this._variant = undefined;
@@ -19289,9 +18538,6 @@ class KolProcess {
19289
18538
  required: true,
19290
18539
  });
19291
18540
  }
19292
- validateType(value) {
19293
- this.validateVariant(value);
19294
- }
19295
18541
  validateUnit(value) {
19296
18542
  watchString(this, '_unit', value);
19297
18543
  }
@@ -19311,7 +18557,7 @@ class KolProcess {
19311
18557
  this.validateMax(this._max);
19312
18558
  this.validateUnit(this._unit);
19313
18559
  this.validateValue(this._value);
19314
- this.validateVariant(this._variant || this._type);
18560
+ this.validateVariant(this._variant);
19315
18561
  this.interval = setInterval(() => {
19316
18562
  if (this.state._liveValue !== this.state._value) {
19317
18563
  this.state = Object.assign(Object.assign({}, this.state), { _liveValue: this.state._value });
@@ -19324,7 +18570,6 @@ class KolProcess {
19324
18570
  static get watchers() { return {
19325
18571
  "_label": ["validateLabel"],
19326
18572
  "_max": ["validateMax"],
19327
- "_type": ["validateType"],
19328
18573
  "_unit": ["validateUnit"],
19329
18574
  "_value": ["validateValue"],
19330
18575
  "_variant": ["validateVariant"]
@@ -19338,7 +18583,6 @@ class KolProcess {
19338
18583
  "$members$": {
19339
18584
  "_label": [1],
19340
18585
  "_max": [2],
19341
- "_type": [1],
19342
18586
  "_unit": [1],
19343
18587
  "_value": [2],
19344
18588
  "_variant": [1],
@@ -19355,7 +18599,6 @@ const defaultStyleCss$b = "/*!@:host*/.sc-kol-quote-default-h{--a11y-min-size:44
19355
18599
  class KolQuote {
19356
18600
  constructor(hostRef) {
19357
18601
  registerInstance(this, hostRef);
19358
- this._caption = undefined;
19359
18602
  this._label = undefined;
19360
18603
  this._href = undefined;
19361
18604
  this._quote = undefined;
@@ -19366,9 +18609,6 @@ class KolQuote {
19366
18609
  _variant: 'inline',
19367
18610
  };
19368
18611
  }
19369
- validateCaption(value) {
19370
- this.validateLabel(value);
19371
- }
19372
18612
  validateLabel(value) {
19373
18613
  validateLabel(this, value);
19374
18614
  }
@@ -19387,7 +18627,7 @@ class KolQuote {
19387
18627
  }
19388
18628
  componentWillLoad() {
19389
18629
  this.validateHref(this._href);
19390
- this.validateLabel(this._label || this._caption);
18630
+ this.validateLabel(this._label);
19391
18631
  this.validateQuote(this._quote);
19392
18632
  this.validateVariant(this._variant);
19393
18633
  }
@@ -19398,7 +18638,6 @@ class KolQuote {
19398
18638
  } }, this.state._variant === 'block' ? (hAsync("blockquote", { cite: this.state._href }, this.state._quote, hAsync("span", { "aria-hidden": !hasExpertSlot ? 'true' : undefined, hidden: !hasExpertSlot }, hAsync("slot", { name: "expert" })))) : (hAsync("q", { cite: this.state._href }, this.state._quote, hAsync("span", { "aria-hidden": !hasExpertSlot ? 'true' : undefined, hidden: !hasExpertSlot }, hAsync("slot", { name: "expert" })))), typeof this.state._label === 'string' && this.state._label.length > 0 && (hAsync("figcaption", null, hAsync("cite", null, hAsync("kol-link", { _href: this.state._href, _label: this.state._label, _target: "_blank" })))))));
19399
18639
  }
19400
18640
  static get watchers() { return {
19401
- "_caption": ["validateCaption"],
19402
18641
  "_label": ["validateLabel"],
19403
18642
  "_href": ["validateHref"],
19404
18643
  "_quote": ["validateQuote"],
@@ -19411,7 +18650,6 @@ class KolQuote {
19411
18650
  "$flags$": 41,
19412
18651
  "$tagName$": "kol-quote",
19413
18652
  "$members$": {
19414
- "_caption": [1],
19415
18653
  "_label": [1],
19416
18654
  "_href": [1],
19417
18655
  "_quote": [1],
@@ -19475,9 +18713,6 @@ class SelectController extends InputIconController {
19475
18713
  },
19476
18714
  });
19477
18715
  }
19478
- validateHeight(value) {
19479
- watchString(this.component, '_height', value);
19480
- }
19481
18716
  validateOptions(value) {
19482
18717
  validateOptionsWithOptgroup(this.component, value, {
19483
18718
  hooks: {
@@ -19516,12 +18751,11 @@ class SelectController extends InputIconController {
19516
18751
  });
19517
18752
  }
19518
18753
  };
19519
- this.validateHeight(this.component._height);
19520
18754
  this.validateHideError(this.component._hideError);
19521
- this.validateOptions(this.component._options || this.component._list);
18755
+ this.validateOptions(this.component._options);
19522
18756
  this.validateMultiple(this.component._multiple);
19523
18757
  this.validateRequired(this.component._required);
19524
- this.validateRows(this.component._rows || this.component._size);
18758
+ this.validateRows(this.component._rows);
19525
18759
  this.validateValue(this.component._value);
19526
18760
  }
19527
18761
  }
@@ -19550,9 +18784,7 @@ class KolSelect {
19550
18784
  return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: {
19551
18785
  'hide-label': !!this.state._hideLabel,
19552
18786
  select: true,
19553
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("select", { ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, size: this.state._rows, spellcheck: "false", style: {
19554
- height: this.state._height,
19555
- }, onClick: this.controller.onFacade.onClick,
18787
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("select", { ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, size: this.state._rows, spellcheck: "false", onClick: this.controller.onFacade.onClick,
19556
18788
  onBlur: this.controller.onFacade.onBlur,
19557
18789
  onFocus: this.controller.onFacade.onFocus, onChange: this.onChange }, this.state._options.map((option, index) => {
19558
18790
  const key = `-${index}`;
@@ -19586,22 +18818,18 @@ class KolSelect {
19586
18818
  this._alert = true;
19587
18819
  this._disabled = false;
19588
18820
  this._error = undefined;
19589
- this._height = undefined;
19590
18821
  this._hideError = false;
19591
18822
  this._hideLabel = false;
19592
18823
  this._hint = '';
19593
- this._icon = undefined;
19594
18824
  this._icons = undefined;
19595
18825
  this._id = undefined;
19596
18826
  this._label = undefined;
19597
- this._list = undefined;
19598
18827
  this._multiple = false;
19599
18828
  this._name = undefined;
19600
18829
  this._on = undefined;
19601
18830
  this._options = undefined;
19602
18831
  this._required = false;
19603
18832
  this._rows = undefined;
19604
- this._size = undefined;
19605
18833
  this._syncValueBySelector = undefined;
19606
18834
  this._tabIndex = undefined;
19607
18835
  this._tooltipAlign = 'top';
@@ -19609,7 +18837,6 @@ class KolSelect {
19609
18837
  this._value = undefined;
19610
18838
  this.state = {
19611
18839
  _hasValue: false,
19612
- _height: '',
19613
18840
  _hideError: false,
19614
18841
  _id: `id-${nonce()}`,
19615
18842
  _label: '',
@@ -19631,9 +18858,6 @@ class KolSelect {
19631
18858
  validateError(value) {
19632
18859
  this.controller.validateError(value);
19633
18860
  }
19634
- validateHeight(value) {
19635
- this.controller.validateHeight(value);
19636
- }
19637
18861
  validateHideError(value) {
19638
18862
  this.controller.validateHideError(value);
19639
18863
  }
@@ -19643,9 +18867,6 @@ class KolSelect {
19643
18867
  validateHint(value) {
19644
18868
  this.controller.validateHint(value);
19645
18869
  }
19646
- validateIcon(value) {
19647
- this.validateIcons(value);
19648
- }
19649
18870
  validateIcons(value) {
19650
18871
  this.controller.validateIcons(value);
19651
18872
  }
@@ -19655,9 +18876,6 @@ class KolSelect {
19655
18876
  validateLabel(value) {
19656
18877
  this.controller.validateLabel(value);
19657
18878
  }
19658
- validateList(value) {
19659
- this.validateOptions(value);
19660
- }
19661
18879
  validateMultiple(value) {
19662
18880
  this.controller.validateMultiple(value);
19663
18881
  }
@@ -19676,9 +18894,6 @@ class KolSelect {
19676
18894
  validateRows(value) {
19677
18895
  this.controller.validateRows(value);
19678
18896
  }
19679
- validateSize(value) {
19680
- this.controller.validateRows(value);
19681
- }
19682
18897
  validateSyncValueBySelector(value) {
19683
18898
  this.controller.validateSyncValueBySelector(value);
19684
18899
  }
@@ -19704,22 +18919,18 @@ class KolSelect {
19704
18919
  "_alert": ["validateAlert"],
19705
18920
  "_disabled": ["validateDisabled"],
19706
18921
  "_error": ["validateError"],
19707
- "_height": ["validateHeight"],
19708
18922
  "_hideError": ["validateHideError"],
19709
18923
  "_hideLabel": ["validateHideLabel"],
19710
18924
  "_hint": ["validateHint"],
19711
- "_icon": ["validateIcon"],
19712
18925
  "_icons": ["validateIcons"],
19713
18926
  "_id": ["validateId"],
19714
18927
  "_label": ["validateLabel"],
19715
- "_list": ["validateList"],
19716
18928
  "_multiple": ["validateMultiple"],
19717
18929
  "_name": ["validateName"],
19718
18930
  "_on": ["validateOn"],
19719
18931
  "_options": ["validateOptions"],
19720
18932
  "_required": ["validateRequired"],
19721
18933
  "_rows": ["validateRows"],
19722
- "_size": ["validateSize"],
19723
18934
  "_syncValueBySelector": ["validateSyncValueBySelector"],
19724
18935
  "_tabIndex": ["validateTabIndex"],
19725
18936
  "_touched": ["validateTouched"],
@@ -19736,22 +18947,18 @@ class KolSelect {
19736
18947
  "_alert": [1540],
19737
18948
  "_disabled": [4],
19738
18949
  "_error": [1],
19739
- "_height": [1],
19740
18950
  "_hideError": [1540, "_hide-error"],
19741
18951
  "_hideLabel": [4, "_hide-label"],
19742
18952
  "_hint": [1],
19743
- "_icon": [1],
19744
18953
  "_icons": [1],
19745
18954
  "_id": [1],
19746
18955
  "_label": [1],
19747
- "_list": [1],
19748
18956
  "_multiple": [4],
19749
18957
  "_name": [1],
19750
18958
  "_on": [16],
19751
18959
  "_options": [1],
19752
18960
  "_required": [4],
19753
18961
  "_rows": [2],
19754
- "_size": [2],
19755
18962
  "_syncValueBySelector": [1, "_sync-value-by-selector"],
19756
18963
  "_tabIndex": [2, "_tab-index"],
19757
18964
  "_tooltipAlign": [1, "_tooltip-align"],
@@ -19770,7 +18977,6 @@ const defaultStyleCss$9 = "/*!@:host*/.sc-kol-skip-nav-default-h{--a11y-min-size
19770
18977
  class KolSkipNav {
19771
18978
  constructor(hostRef) {
19772
18979
  registerInstance(this, hostRef);
19773
- this._ariaLabel = undefined;
19774
18980
  this._label = undefined;
19775
18981
  this._links = undefined;
19776
18982
  this.state = {
@@ -19783,9 +18989,6 @@ class KolSkipNav {
19783
18989
  return (hAsync("li", { key: index }, hAsync("kol-link-wc", Object.assign({}, link))));
19784
18990
  }))));
19785
18991
  }
19786
- validateAriaLabel(value) {
19787
- this.validateLabel(value);
19788
- }
19789
18992
  validateLabel(value, _oldValue, initial = false) {
19790
18993
  if (!initial) {
19791
18994
  removeNavLabel(this.state._label);
@@ -19797,14 +19000,13 @@ class KolSkipNav {
19797
19000
  watchNavLinks('KolSkipNav', this, value);
19798
19001
  }
19799
19002
  componentWillLoad() {
19800
- this.validateLabel(this._label || this._ariaLabel, undefined, true);
19003
+ this.validateLabel(this._label, undefined, true);
19801
19004
  this.validateLinks(this._links);
19802
19005
  }
19803
19006
  disconnectedCallback() {
19804
19007
  removeNavLabel(this.state._label);
19805
19008
  }
19806
19009
  static get watchers() { return {
19807
- "_ariaLabel": ["validateAriaLabel"],
19808
19010
  "_label": ["validateLabel"],
19809
19011
  "_links": ["validateLinks"]
19810
19012
  }; }
@@ -19815,7 +19017,6 @@ class KolSkipNav {
19815
19017
  "$flags$": 41,
19816
19018
  "$tagName$": "kol-skip-nav",
19817
19019
  "$members$": {
19818
- "_ariaLabel": [1, "_aria-label"],
19819
19020
  "_label": [1],
19820
19021
  "_links": [1],
19821
19022
  "state": [32]
@@ -19832,13 +19033,11 @@ class KolSpan {
19832
19033
  constructor(hostRef) {
19833
19034
  registerInstance(this, hostRef);
19834
19035
  this._hideLabel = false;
19835
- this._icon = undefined;
19836
19036
  this._icons = undefined;
19837
- this._iconOnly = undefined;
19838
19037
  this._label = undefined;
19839
19038
  }
19840
19039
  render() {
19841
- return (hAsync("kol-span-wc", { _icons: this._icons || this._icon, _hideLabel: this._hideLabel, _label: this._label }, hAsync("slot", { name: "expert", slot: "expert" })));
19040
+ return (hAsync("kol-span-wc", { _icons: this._icons, _hideLabel: this._hideLabel, _label: this._label }, hAsync("slot", { name: "expert", slot: "expert" })));
19842
19041
  }
19843
19042
  static get style() { return {
19844
19043
  default: defaultStyleCss$8
@@ -19848,9 +19047,7 @@ class KolSpan {
19848
19047
  "$tagName$": "kol-span",
19849
19048
  "$members$": {
19850
19049
  "_hideLabel": [4, "_hide-label"],
19851
- "_icon": [1],
19852
19050
  "_icons": [1],
19853
- "_iconOnly": [4, "_icon-only"],
19854
19051
  "_label": [1]
19855
19052
  },
19856
19053
  "$listeners$": undefined,
@@ -32078,9 +31275,7 @@ class KolSpanWc {
32078
31275
  registerInstance(this, hostRef);
32079
31276
  this._allowMarkdown = false;
32080
31277
  this._hideLabel = false;
32081
- this._icon = undefined;
32082
31278
  this._icons = undefined;
32083
- this._iconOnly = undefined;
32084
31279
  this._label = undefined;
32085
31280
  this.state = {
32086
31281
  _allowMarkdown: false,
@@ -32093,7 +31288,6 @@ class KolSpanWc {
32093
31288
  var _a;
32094
31289
  const hideExpertSlot = !showExpertSlot(this.state._label);
32095
31290
  return (hAsync(Host, { class: {
32096
- 'icon-only': !!this.state._hideLabel,
32097
31291
  'hide-label': !!this.state._hideLabel,
32098
31292
  } }, this.state._icons.top && hAsync("kol-icon", { class: "icon top", style: this.state._icons.top.style, _label: "", _icons: this.state._icons.top.icon }), hAsync("span", null, this.state._icons.left && hAsync("kol-icon", { class: "icon left", style: this.state._icons.left.style, _label: "", _icons: this.state._icons.left.icon }), !this.state._hideLabel && hideExpertSlot ? (this.state._allowMarkdown && typeof this.state._label === 'string' && this.state._label.length > 0 ? (hAsync("span", { class: "span-label md", innerHTML: md(this.state._label) })) : (hAsync("span", { class: "span-label" }, (_a = this.state._label) !== null && _a !== void 0 ? _a : ''))) : (''), hAsync("span", { "aria-hidden": hideExpertSlot ? 'true' : undefined, class: "span-label", hidden: hideExpertSlot }, hAsync("slot", { name: "expert" })), this.state._icons.right && hAsync("kol-icon", { class: "icon right", style: this.state._icons.right.style, _label: "", _icons: this.state._icons.right.icon })), this.state._icons.bottom && hAsync("kol-icon", { class: "icon bottom", style: this.state._icons.bottom.style, _label: "", _icons: this.state._icons.bottom.icon })));
32099
31293
  }
@@ -32105,30 +31299,22 @@ class KolSpanWc {
32105
31299
  validateHideLabel(value) {
32106
31300
  validateHideLabel(this, value);
32107
31301
  }
32108
- validateIcon(value) {
32109
- this.validateIcons(value);
32110
- }
32111
31302
  validateIcons(value) {
32112
31303
  validateIcons(this, value);
32113
31304
  }
32114
- validateIconOnly(value) {
32115
- this.validateHideLabel(value);
32116
- }
32117
31305
  validateLabel(value) {
32118
31306
  validateLabelWithExpertSlot(this, value);
32119
31307
  }
32120
31308
  componentWillLoad() {
32121
31309
  this.validateAllowMarkdown(this._allowMarkdown);
32122
- this.validateHideLabel(this._hideLabel || this._iconOnly);
32123
- this.validateIcons(this._icons || this._icon);
31310
+ this.validateHideLabel(this._hideLabel);
31311
+ this.validateIcons(this._icons);
32124
31312
  this.validateLabel(this._label);
32125
31313
  }
32126
31314
  static get watchers() { return {
32127
31315
  "_allowMarkdown": ["validateAllowMarkdown"],
32128
31316
  "_hideLabel": ["validateHideLabel"],
32129
- "_icon": ["validateIcon"],
32130
31317
  "_icons": ["validateIcons"],
32131
- "_iconOnly": ["validateIconOnly"],
32132
31318
  "_label": ["validateLabel"]
32133
31319
  }; }
32134
31320
  static get cmpMeta() { return {
@@ -32137,9 +31323,7 @@ class KolSpanWc {
32137
31323
  "$members$": {
32138
31324
  "_allowMarkdown": [4, "_allow-markdown"],
32139
31325
  "_hideLabel": [4, "_hide-label"],
32140
- "_icon": [1],
32141
31326
  "_icons": [1],
32142
- "_iconOnly": [4, "_icon-only"],
32143
31327
  "_label": [1],
32144
31328
  "state": [32]
32145
31329
  },
@@ -32249,36 +31433,20 @@ class KolSplitButton {
32249
31433
  else
32250
31434
  this.closeDropdown();
32251
31435
  };
32252
- this.forceCounter = 100;
32253
- this.forceOpenDropdown = () => {
32254
- var _a;
32255
- if (this.forceCounter > 0) {
32256
- if ((_a = this.dropdownContent) === null || _a === void 0 ? void 0 : _a.clientHeight)
32257
- this.openDropdown();
32258
- else
32259
- setTimeout(this.forceOpenDropdown, 10);
32260
- this.forceCounter--;
32261
- }
32262
- };
32263
31436
  this.catchDropdownElements = (e) => {
32264
31437
  if (e) {
32265
31438
  this.dropdown = e;
32266
31439
  setTimeout(() => {
32267
31440
  this.dropdownContent = e.firstChild;
32268
- if (this._show)
32269
- this.forceOpenDropdown();
32270
31441
  });
32271
31442
  }
32272
31443
  };
32273
- this._accessKey = undefined;
32274
31444
  this._ariaControls = undefined;
32275
31445
  this._ariaExpanded = undefined;
32276
- this._ariaLabel = undefined;
32277
31446
  this._ariaSelected = undefined;
32278
31447
  this._customClass = undefined;
32279
31448
  this._disabled = false;
32280
31449
  this._hideLabel = false;
32281
- this._icon = undefined;
32282
31450
  this._icons = undefined;
32283
31451
  this._id = undefined;
32284
31452
  this._label = undefined;
@@ -32286,8 +31454,6 @@ class KolSplitButton {
32286
31454
  this._on = undefined;
32287
31455
  this._role = undefined;
32288
31456
  this._syncValueBySelector = undefined;
32289
- this._show = false;
32290
- this._showDropdown = false;
32291
31457
  this._tabIndex = undefined;
32292
31458
  this._tooltipAlign = 'top';
32293
31459
  this._type = 'button';
@@ -32303,26 +31469,8 @@ class KolSplitButton {
32303
31469
  button: true,
32304
31470
  [this._variant]: this._variant !== 'custom',
32305
31471
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
32306
- }, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _icons: this._icons || this._icon, _hideLabel: this._hideLabel, _label: this._label, _name: this._name, _on: this.clickButtonHandler, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }), hAsync("div", { class: "horizontal-line" }), hAsync("kol-button-wc", { class: "secondary-button", _disabled: this._disabled, _hideLabel: true, _icons: "codicon codicon-triangle-down", _label: `dropdown ${this.state._show ? 'schließen' : 'öffnen'}`, _on: this.clickToggleHandler }), hAsync("div", { class: "popover", ref: this.catchDropdownElements }, hAsync("div", { class: "popover-content" }, hAsync("slot", null)))));
32307
- }
32308
- validateShowDropdown(value) {
32309
- this.validateShow(value);
31472
+ }, _ariaControls: this._ariaControls, _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, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }), hAsync("div", { class: "horizontal-line" }), hAsync("kol-button-wc", { class: "secondary-button", _disabled: this._disabled, _hideLabel: true, _icons: "codicon codicon-triangle-down", _label: `dropdown ${this.state._show ? 'schließen' : 'öffnen'}`, _on: this.clickToggleHandler }), hAsync("div", { class: "popover", ref: this.catchDropdownElements }, hAsync("div", { class: "popover-content" }, hAsync("slot", null)))));
32310
31473
  }
32311
- validateShow(value) {
32312
- validateShow(this, value, {
32313
- hooks: {
32314
- afterPatch: (value) => {
32315
- this.toggleDropdown(!!value);
32316
- },
32317
- },
32318
- });
32319
- }
32320
- componentWillLoad() {
32321
- this.validateShow(this._show || this._show);
32322
- }
32323
- static get watchers() { return {
32324
- "_show": ["validateShowDropdown", "validateShow"]
32325
- }; }
32326
31474
  static get style() { return {
32327
31475
  default: defaultStyleCss$6
32328
31476
  }; }
@@ -32330,15 +31478,12 @@ class KolSplitButton {
32330
31478
  "$flags$": 41,
32331
31479
  "$tagName$": "kol-split-button",
32332
31480
  "$members$": {
32333
- "_accessKey": [1, "_access-key"],
32334
31481
  "_ariaControls": [1, "_aria-controls"],
32335
31482
  "_ariaExpanded": [4, "_aria-expanded"],
32336
- "_ariaLabel": [1, "_aria-label"],
32337
31483
  "_ariaSelected": [4, "_aria-selected"],
32338
31484
  "_customClass": [1, "_custom-class"],
32339
31485
  "_disabled": [4],
32340
31486
  "_hideLabel": [4, "_hide-label"],
32341
- "_icon": [1],
32342
31487
  "_icons": [1],
32343
31488
  "_id": [1],
32344
31489
  "_label": [1],
@@ -32346,8 +31491,6 @@ class KolSplitButton {
32346
31491
  "_on": [16],
32347
31492
  "_role": [1],
32348
31493
  "_syncValueBySelector": [1, "_sync-value-by-selector"],
32349
- "_show": [1540],
32350
- "_showDropdown": [1540, "_show-dropdown"],
32351
31494
  "_tabIndex": [2, "_tab-index"],
32352
31495
  "_tooltipAlign": [1, "_tooltip-align"],
32353
31496
  "_type": [1],
@@ -32357,14 +31500,13 @@ class KolSplitButton {
32357
31500
  },
32358
31501
  "$listeners$": undefined,
32359
31502
  "$lazyBundleId$": "-",
32360
- "$attrsToReflect$": [["_show", "_show"], ["_showDropdown", "_show-dropdown"]]
31503
+ "$attrsToReflect$": []
32361
31504
  }; }
32362
31505
  }
32363
31506
 
32364
31507
  class KolSymbol {
32365
31508
  constructor(hostRef) {
32366
31509
  registerInstance(this, hostRef);
32367
- this._ariaLabel = undefined;
32368
31510
  this._label = undefined;
32369
31511
  this._symbol = undefined;
32370
31512
  this.state = {
@@ -32375,9 +31517,6 @@ class KolSymbol {
32375
31517
  render() {
32376
31518
  return (hAsync(Host, null, hAsync("span", { "aria-label": this.state._label, role: "term" }, this.state._symbol)));
32377
31519
  }
32378
- validateAriaLabel(value) {
32379
- this.validateLabel(value);
32380
- }
32381
31520
  validateLabel(value) {
32382
31521
  validateLabel(this, value);
32383
31522
  }
@@ -32387,11 +31526,10 @@ class KolSymbol {
32387
31526
  });
32388
31527
  }
32389
31528
  componentWillLoad() {
32390
- this.validateLabel(this._label || this._ariaLabel);
31529
+ this.validateLabel(this._label);
32391
31530
  this.validateSymbol(this._symbol);
32392
31531
  }
32393
31532
  static get watchers() { return {
32394
- "_ariaLabel": ["validateAriaLabel"],
32395
31533
  "_label": ["validateLabel"],
32396
31534
  "_symbol": ["validateSymbol"]
32397
31535
  }; }
@@ -32399,7 +31537,6 @@ class KolSymbol {
32399
31537
  "$flags$": 0,
32400
31538
  "$tagName$": "kol-symbol",
32401
31539
  "$members$": {
32402
- "_ariaLabel": [1, "_aria-label"],
32403
31540
  "_label": [1],
32404
31541
  "_symbol": [1],
32405
31542
  "state": [32]
@@ -32508,7 +31645,7 @@ class KolTable {
32508
31645
  }, "aria-sort": sortDirection, "data-sort": `sort-${this.sortDirections.get(headerCell.sort)}` }, hAsync("div", { class: "w-full flex gap-1 items-center" }, hAsync("div", { class: {
32509
31646
  'w-full': true,
32510
31647
  [headerCell.textAlign]: typeof headerCell.textAlign === 'string' && headerCell.textAlign.length > 0,
32511
- }, innerHTML: headerCell.label, style: { textAlign: headerCell.textAlign } }), !this.disableSort && typeof headerCell.sort === 'function' && (hAsync("kol-button", { exportparts: "icon", _icon: sortButtonIcon, _hideLabel: true, _label: translate('kol-change-order', { placeholders: { colLabel: headerCell.label } }), _on: {
31648
+ }, innerHTML: headerCell.label, style: { textAlign: headerCell.textAlign } }), !this.disableSort && typeof headerCell.sort === 'function' && (hAsync("kol-button", { exportparts: "icon", _icons: sortButtonIcon, _hideLabel: true, _label: translate('kol-change-order', { placeholders: { colLabel: headerCell.label } }), _on: {
32512
31649
  onClick: () => {
32513
31650
  if (typeof headerCell.sort === 'function') {
32514
31651
  this.sortFunction = headerCell.sort;
@@ -32544,7 +31681,6 @@ class KolTable {
32544
31681
  const rows = this.createDataField(this.state._dataFoot, this.state._headers, true);
32545
31682
  return hAsync("tfoot", null, rows.map(this.renderTableRow));
32546
31683
  };
32547
- this._caption = undefined;
32548
31684
  this._data = undefined;
32549
31685
  this._dataFoot = undefined;
32550
31686
  this._headers = undefined;
@@ -32567,9 +31703,6 @@ class KolTable {
32567
31703
  _sortedData: [],
32568
31704
  };
32569
31705
  }
32570
- validateCaption(value) {
32571
- this.validateLabel(value);
32572
- }
32573
31706
  validateData(value) {
32574
31707
  emptyStringByArrayHandler(value, () => {
32575
31708
  objectObjectHandler(value, () => {
@@ -32673,7 +31806,7 @@ class KolTable {
32673
31806
  this.validateData(this._data);
32674
31807
  this.validateDataFoot(this._dataFoot);
32675
31808
  this.validateHeaders(this._headers);
32676
- this.validateLabel(this._label || this._caption);
31809
+ this.validateLabel(this._label);
32677
31810
  this.validateMinWidth(this._minWidth);
32678
31811
  this.validatePagination(this._pagination);
32679
31812
  }
@@ -32857,7 +31990,7 @@ class KolTable {
32857
31990
  var _a, _b;
32858
31991
  const displayedData = this.selectDisplayedData(this.state._sortedData, this.showPagination ? (_b = (_a = this.state._pagination) === null || _a === void 0 ? void 0 : _a._pageSize) !== null && _b !== void 0 ? _b : 10 : this.state._sortedData.length, this.state._pagination._page || 1);
32859
31992
  const dataField = this.createDataField(displayedData, this.state._headers);
32860
- return (hAsync(Host, null, hAsync("span", { style: { height: '0', width: '0', overflow: 'hidden' }, "aria-live": "assertive" }, this.ariaLive), this.pageEndSlice > 0 && this.showPagination && (hAsync("div", { class: "pagination" }, hAsync("span", null, "Eintr\u00E4ge ", this.pageEndSlice > 0 ? this.pageStartSlice + 1 : 0, " bis ", this.pageEndSlice, " von", ' ', this.state._pagination._max || (Array.isArray(this.state._data) ? this.state._data.length : 0), " angezeigt"), hAsync("div", null, hAsync("kol-pagination", { _boundaryCount: this.state._pagination._boundaryCount, _customClass: this.state._pagination._customClass, _on: this.handlePagination, _page: this.state._pagination._page, _pageSize: this.state._pagination._pageSize, _pageSizeOptions: this.state._pagination._pageSizeOptions || PAGINATION_OPTIONS, _siblingCount: this.state._pagination._siblingCount, _tooltipAlign: "bottom", _max: this.state._pagination._max || this.state._pagination._total || this.state._data.length, _label: translate('kol-table-pagination-label', { placeholders: { label: this.state._label } }) })))), hAsync("div", { class: "table", tabindex: "0" }, hAsync("table", { style: {
31993
+ return (hAsync(Host, null, hAsync("span", { style: { height: '0', width: '0', overflow: 'hidden' }, "aria-live": "assertive" }, this.ariaLive), this.pageEndSlice > 0 && this.showPagination && (hAsync("div", { class: "pagination" }, hAsync("span", null, "Eintr\u00E4ge ", this.pageEndSlice > 0 ? this.pageStartSlice + 1 : 0, " bis ", this.pageEndSlice, " von", ' ', this.state._pagination._max || (Array.isArray(this.state._data) ? this.state._data.length : 0), " angezeigt"), hAsync("div", null, hAsync("kol-pagination", { _boundaryCount: this.state._pagination._boundaryCount, _customClass: this.state._pagination._customClass, _on: this.handlePagination, _page: this.state._pagination._page, _pageSize: this.state._pagination._pageSize, _pageSizeOptions: this.state._pagination._pageSizeOptions || PAGINATION_OPTIONS, _siblingCount: this.state._pagination._siblingCount, _tooltipAlign: "bottom", _max: this.state._pagination._max || this.state._pagination._max || this.state._data.length, _label: translate('kol-table-pagination-label', { placeholders: { label: this.state._label } }) })))), hAsync("div", { class: "table", tabindex: "0" }, hAsync("table", { style: {
32861
31994
  minWidth: this.state._minWidth,
32862
31995
  } }, hAsync("caption", null, this.state._label), Array.isArray(this.state._headers.horizontal) && (hAsync("thead", null, this.state._headers.horizontal.map((cols, rowIndex) => (hAsync("tr", { key: `thead-${rowIndex}` }, cols.map((col, colIndex) => {
32863
31996
  if (col.asTd === true) {
@@ -32896,7 +32029,7 @@ class KolTable {
32896
32029
  [col.textAlign]: typeof col.textAlign === 'string' && col.textAlign.length > 0,
32897
32030
  }, innerHTML: col.label, style: {
32898
32031
  textAlign: col.textAlign,
32899
- } }), !this.disableSort && typeof headerCell.sort === 'function' && (hAsync("kol-button", { exportparts: "icon", _icon: sortButtonIcon, _hideLabel: true, _label: translate('kol-change-order', { placeholders: { colLabel: col.label } }), _on: {
32032
+ } }), !this.disableSort && typeof headerCell.sort === 'function' && (hAsync("kol-button", { exportparts: "icon", _icons: sortButtonIcon, _hideLabel: true, _label: translate('kol-change-order', { placeholders: { colLabel: col.label } }), _on: {
32900
32033
  onClick: () => {
32901
32034
  if (typeof headerCell.sort === 'function') {
32902
32035
  this.sortFunction = headerCell.sort;
@@ -32918,7 +32051,6 @@ class KolTable {
32918
32051
  })))))), hAsync("tbody", null, dataField.map(this.renderTableRow)), this.state._dataFoot.length > 0 ? this.renderFoot() : ''))));
32919
32052
  }
32920
32053
  static get watchers() { return {
32921
- "_caption": ["validateCaption"],
32922
32054
  "_data": ["validateData"],
32923
32055
  "_dataFoot": ["validateDataFoot"],
32924
32056
  "_headers": ["validateHeaders"],
@@ -32933,7 +32065,6 @@ class KolTable {
32933
32065
  "$flags$": 41,
32934
32066
  "$tagName$": "kol-table",
32935
32067
  "$members$": {
32936
- "_caption": [1],
32937
32068
  "_data": [1],
32938
32069
  "_dataFoot": [1, "_data-foot"],
32939
32070
  "_headers": [1],
@@ -33082,12 +32213,10 @@ class KolTabs {
33082
32213
  }
33083
32214
  };
33084
32215
  this._align = 'top';
33085
- this._ariaLabel = undefined;
33086
32216
  this._label = undefined;
33087
32217
  this._on = undefined;
33088
32218
  this._selected = 0;
33089
32219
  this._tabs = undefined;
33090
- this._tabsAlign = 'top';
33091
32220
  this.state = {
33092
32221
  _align: 'top',
33093
32222
  _label: '…',
@@ -33096,7 +32225,7 @@ class KolTabs {
33096
32225
  };
33097
32226
  }
33098
32227
  renderButtonGroup() {
33099
- return (hAsync("kol-button-group-wc", { role: "tablist", "aria-label": this.state._label, onKeyDown: this.onKeyDown }, this.state._tabs.map((button, index) => (hAsync("kol-button-wc", { _disabled: button._disabled, _icons: button._icons || button._icon, _hideLabel: button._hideLabel || button._iconOnly, _label: button._label, _on: this.callbacks, _tabIndex: this.state._selected === index ? 0 : -1, _tooltipAlign: button._tooltipAlign, _variant: this.state._selected === index ? 'custom' : undefined, _customClass: this.state._selected === index ? 'selected' : undefined, _ariaControls: `tabpanel-${index}`, _ariaSelected: this.state._selected === index, _id: `${this.state._label.replace(/\s/g, '-')}-tab-${index}`, _role: "tab", _value: index }))), this.showCreateTab && (hAsync("kol-button-wc", { class: "create-button", _label: this.onCreateLabel, _on: {
32228
+ return (hAsync("kol-button-group-wc", { role: "tablist", "aria-label": this.state._label, onKeyDown: this.onKeyDown }, this.state._tabs.map((button, index) => (hAsync("kol-button-wc", { _disabled: button._disabled, _icons: button._icons, _hideLabel: button._hideLabel, _label: button._label, _on: this.callbacks, _tabIndex: this.state._selected === index ? 0 : -1, _tooltipAlign: button._tooltipAlign, _variant: this.state._selected === index ? 'custom' : undefined, _customClass: this.state._selected === index ? 'selected' : undefined, _ariaControls: `tabpanel-${index}`, _ariaSelected: this.state._selected === index, _id: `${this.state._label.replace(/\s/g, '-')}-tab-${index}`, _role: "tab", _value: index }))), this.showCreateTab && (hAsync("kol-button-wc", { class: "create-button", _label: this.onCreateLabel, _on: {
33100
32229
  onClick: this.onCreate,
33101
32230
  } }))));
33102
32231
  }
@@ -33110,9 +32239,6 @@ class KolTabs {
33110
32239
  validateAlign(value) {
33111
32240
  validateAlign(this, value);
33112
32241
  }
33113
- validateAriaLabel(value) {
33114
- this.validateLabel(value);
33115
- }
33116
32242
  validateLabel(value) {
33117
32243
  validateLabel(this, value);
33118
32244
  }
@@ -33171,12 +32297,9 @@ class KolTabs {
33171
32297
  });
33172
32298
  uiUxHintMillerscheZahl('KolTabs', this.state._tabs.length);
33173
32299
  }
33174
- validateTabsAlign(value) {
33175
- this.validateAlign(value);
33176
- }
33177
32300
  componentWillLoad() {
33178
- this.validateAlign(this._align || this._tabsAlign);
33179
- this.validateLabel(this._label || this._ariaLabel);
32301
+ this.validateAlign(this._align);
32302
+ this.validateLabel(this._label);
33180
32303
  this.validateOn(this._on);
33181
32304
  this.validateSelected(this._selected);
33182
32305
  this.validateTabs(this._tabs);
@@ -33213,12 +32336,10 @@ class KolTabs {
33213
32336
  get host() { return getElement(this); }
33214
32337
  static get watchers() { return {
33215
32338
  "_align": ["validateAlign"],
33216
- "_ariaLabel": ["validateAriaLabel"],
33217
32339
  "_label": ["validateLabel"],
33218
32340
  "_on": ["validateOn"],
33219
32341
  "_selected": ["validateSelected"],
33220
- "_tabs": ["validateTabs"],
33221
- "_tabsAlign": ["validateTabsAlign"]
32342
+ "_tabs": ["validateTabs"]
33222
32343
  }; }
33223
32344
  static get style() { return {
33224
32345
  default: defaultStyleCss$4
@@ -33228,12 +32349,10 @@ class KolTabs {
33228
32349
  "$tagName$": "kol-tabs",
33229
32350
  "$members$": {
33230
32351
  "_align": [1],
33231
- "_ariaLabel": [1, "_aria-label"],
33232
32352
  "_label": [1],
33233
32353
  "_on": [16],
33234
32354
  "_selected": [1538],
33235
32355
  "_tabs": [1],
33236
- "_tabsAlign": [1, "_tabs-align"],
33237
32356
  "state": [32]
33238
32357
  },
33239
32358
  "$listeners$": undefined,
@@ -33330,7 +32449,7 @@ class KolTextarea {
33330
32449
  render() {
33331
32450
  const { ariaDescribedBy } = getRenderStates(this.state);
33332
32451
  const hasExpertSlot = showExpertSlot(this.state._label);
33333
- return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: { textarea: true, 'hide-label': !!this.state._hideLabel, 'has-counter': !!this.state._hasCounter }, _alert: this.state._alert, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _label: this.state._label, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("textarea", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, maxlength: this.state._maxLength, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, rows: this.state._rows, placeholder: this.state._placeholder, spellcheck: "false" }, this.controller.onFacade, { onKeyUp: this.onKeyUp, style: {
32452
+ return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: { textarea: true, 'hide-label': !!this.state._hideLabel, 'has-counter': !!this.state._hasCounter }, _alert: this.state._alert, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _label: this.state._label, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", { name: "expert" }) : this.state._label), hAsync("div", { slot: "input" }, hAsync("textarea", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, maxlength: this.state._maxLength, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, rows: this.state._rows, placeholder: this.state._placeholder, spellcheck: "false" }, this.controller.onFacade, { onKeyUp: this.onKeyUp, style: {
33334
32453
  resize: this.state._resize,
33335
32454
  }, value: this.state._value }))))));
33336
32455
  }
@@ -33875,53 +32994,27 @@ class KolTooltip {
33875
32994
  }; }
33876
32995
  }
33877
32996
 
33878
- var Farbspektrum;
33879
- (function (Farbspektrum) {
33880
- Farbspektrum["Violett"] = "#5f316e";
33881
- Farbspektrum["Dunkelrot"] = "#780f2d";
33882
- Farbspektrum["Rot"] = "#c0003c";
33883
- Farbspektrum["Orange"] = "#cd5038";
33884
- Farbspektrum["Hellorange"] = "#f7bb3d";
33885
- Farbspektrum["Gelb"] = "#f9e03a";
33886
- Farbspektrum["Hellgr\u00FCn"] = "#c1ca31";
33887
- Farbspektrum["Oliv"] = "#597c39";
33888
- Farbspektrum["Dunkelgr\u00FCn"] = "#005c45";
33889
- Farbspektrum["Gr\u00FCn"] = "#00854a";
33890
- Farbspektrum["T\u00FCrkis"] = "#00818b";
33891
- Farbspektrum["Hellblau"] = "#80cdec";
33892
- Farbspektrum["Blau"] = "#0077b6";
33893
- Farbspektrum["Petrol"] = "#007194";
33894
- Farbspektrum["Dunkelblau"] = "#004b76";
33895
- Farbspektrum["Dunkelgrau"] = "#576164";
33896
- Farbspektrum["Hellgrau"] = "#bec5c9";
33897
- })(Farbspektrum || (Farbspektrum = {}));
33898
-
33899
32997
  const defaultStyleCss = "/*!@:host*/.sc-kol-version-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-version-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-version-default,button.sc-kol-version-default:not([role='link']),kol-input.sc-kol-version-default .input.sc-kol-version-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-version-default,button.sc-kol-version-default,h1.sc-kol-version-default,h2.sc-kol-version-default,h3.sc-kol-version-default,h4.sc-kol-version-default,h5.sc-kol-version-default,h6.sc-kol-version-default,input.sc-kol-version-default,option.sc-kol-version-default,select.sc-kol-version-default,textarea.sc-kol-version-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-version-default:is(a,button).sc-kol-version-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-version-default-h{max-width:100%}/*!@**/*.sc-kol-version-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-version-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-version-default>span.sc-kol-version-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-version-default,button.sc-kol-version-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-version-default,input.sc-kol-version-default,option.sc-kol-version-default,select.sc-kol-version-default,textarea.sc-kol-version-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-version-default>kol-span-wc.sc-kol-version-default>span.sc-kol-version-default>span.sc-kol-version-default{display:none}";
33900
32998
 
33901
32999
  class KolVersion {
33902
33000
  constructor(hostRef) {
33903
33001
  registerInstance(this, hostRef);
33904
33002
  this._label = undefined;
33905
- this._version = undefined;
33906
33003
  this.state = {
33907
33004
  _label: '0.0.0-alpha.0',
33908
33005
  };
33909
33006
  }
33910
33007
  render() {
33911
- return hAsync("kol-badge", { _color: Farbspektrum.Hellgrau, _icon: "codicon codicon-versions", _label: `v${this.state._label}` });
33008
+ return hAsync("kol-badge", { _color: "#bec5c9", _icons: "codicon codicon-versions", _label: `v${this.state._label}` });
33912
33009
  }
33913
33010
  validateLabel(value) {
33914
33011
  validateLabel(this, value);
33915
33012
  }
33916
- validateVersion(value) {
33917
- this.validateLabel(value);
33918
- }
33919
33013
  componentWillLoad() {
33920
- this.validateLabel(this._label || this._version);
33014
+ this.validateLabel(this._label);
33921
33015
  }
33922
33016
  static get watchers() { return {
33923
- "_label": ["validateLabel"],
33924
- "_version": ["validateVersion"]
33017
+ "_label": ["validateLabel"]
33925
33018
  }; }
33926
33019
  static get style() { return {
33927
33020
  default: defaultStyleCss
@@ -33931,7 +33024,6 @@ class KolVersion {
33931
33024
  "$tagName$": "kol-version",
33932
33025
  "$members$": {
33933
33026
  "_label": [1],
33934
- "_version": [1],
33935
33027
  "state": [32]
33936
33028
  },
33937
33029
  "$listeners$": undefined,
@@ -33961,12 +33053,9 @@ registerComponents([
33961
33053
  KolHeading,
33962
33054
  KolHeadingWc,
33963
33055
  KolIcon,
33964
- KolIconFontAwesome,
33965
- KolIconIcofont,
33966
33056
  KolImage,
33967
33057
  KolIndentedText,
33968
33058
  KolInput,
33969
- KolInputAdapterLeanup,
33970
33059
  KolInputCheckbox,
33971
33060
  KolInputColor,
33972
33061
  KolInputDate,
@@ -33975,7 +33064,6 @@ registerComponents([
33975
33064
  KolInputNumber,
33976
33065
  KolInputPassword,
33977
33066
  KolInputRadio,
33978
- KolInputRadioGroup,
33979
33067
  KolInputRange,
33980
33068
  KolInputText,
33981
33069
  KolKolibri,