@public-ui/hydrate 1.7.12 → 1.7.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  /*!
9
- Stencil Mock Doc v4.11.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Mock Doc v4.12.3 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  const CONTENT_REF_ID = 'r';
12
12
  const ORG_LOCATION_ID = 'o';
@@ -598,6 +598,10 @@ class MockEvent {
598
598
  stopImmediatePropagation() {
599
599
  this.cancelBubble = true;
600
600
  }
601
+ /**
602
+ * @ref https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath
603
+ * @returns a composed path of the event
604
+ */
601
605
  composedPath() {
602
606
  const composedPath = [];
603
607
  let currentElement = this.target;
@@ -609,7 +613,17 @@ class MockEvent {
609
613
  composedPath.push(currentElement.defaultView);
610
614
  break;
611
615
  }
612
- currentElement = currentElement.parentElement;
616
+ /**
617
+ * bubble up the parent chain until we arrive to the HTML element. Here we continue
618
+ * with the document object instead of the parent element since the parent element
619
+ * is `null` for HTML elements.
620
+ */
621
+ if (currentElement.parentElement == null && currentElement.tagName === 'HTML') {
622
+ currentElement = currentElement.ownerDocument;
623
+ }
624
+ else {
625
+ currentElement = currentElement.parentElement;
626
+ }
613
627
  }
614
628
  return composedPath;
615
629
  }
@@ -728,6 +742,9 @@ function triggerEventListener(elm, ev) {
728
742
  if (elm.nodeName === "#document" /* NODE_NAMES.DOCUMENT_NODE */) {
729
743
  triggerEventListener(elm.defaultView, ev);
730
744
  }
745
+ else if (elm.parentElement == null && elm.tagName === 'HTML') {
746
+ triggerEventListener(elm.ownerDocument, ev);
747
+ }
731
748
  else {
732
749
  triggerEventListener(elm.parentElement, ev);
733
750
  }
@@ -2633,18 +2650,104 @@ const jQuery = /*!
2633
2650
  return jQuery;
2634
2651
  });
2635
2652
 
2653
+ /**
2654
+ * Check whether an element of interest matches a given selector.
2655
+ *
2656
+ * @param selector the selector of interest
2657
+ * @param elm an element within which to find matching elements
2658
+ * @returns whether the element matches the selector
2659
+ */
2636
2660
  function matches(selector, elm) {
2637
- const r = jQuery.find(selector, undefined, undefined, [elm]);
2638
- return r.length > 0;
2661
+ try {
2662
+ const r = jQuery.find(selector, undefined, undefined, [elm]);
2663
+ return r.length > 0;
2664
+ }
2665
+ catch (e) {
2666
+ updateSelectorError(selector, e);
2667
+ throw e;
2668
+ }
2639
2669
  }
2670
+ /**
2671
+ * Select the first element that matches a given selector
2672
+ *
2673
+ * @param selector the selector of interest
2674
+ * @param elm the element within which to find a matching element
2675
+ * @returns the first matching element, or null if none is found
2676
+ */
2640
2677
  function selectOne(selector, elm) {
2641
- const r = jQuery.find(selector, elm, undefined, undefined);
2642
- return r[0] || null;
2678
+ try {
2679
+ const r = jQuery.find(selector, elm, undefined, undefined);
2680
+ return r[0] || null;
2681
+ }
2682
+ catch (e) {
2683
+ updateSelectorError(selector, e);
2684
+ throw e;
2685
+ }
2643
2686
  }
2687
+ /**
2688
+ * Select all elements that match a given selector
2689
+ *
2690
+ * @param selector the selector of interest
2691
+ * @param elm an element within which to find matching elements
2692
+ * @returns all matching elements
2693
+ */
2644
2694
  function selectAll(selector, elm) {
2645
- return jQuery.find(selector, elm, undefined, undefined);
2695
+ try {
2696
+ return jQuery.find(selector, elm, undefined, undefined);
2697
+ }
2698
+ catch (e) {
2699
+ updateSelectorError(selector, e);
2700
+ throw e;
2701
+ }
2702
+ }
2703
+ /**
2704
+ * A manifest of selectors which are known to be problematic in jQuery. See
2705
+ * here to track implementation and support:
2706
+ * https://github.com/jquery/jquery/issues/5111
2707
+ */
2708
+ const PROBLEMATIC_SELECTORS = [':scope', ':where', ':is'];
2709
+ /**
2710
+ * Given a selector and an error object thrown by jQuery, annotate the
2711
+ * error's message to add some context as to the probable reason for the error.
2712
+ * In particular, if the selector includes a selector which is known to be
2713
+ * unsupported in jQuery, then we know that was likely the cause of the
2714
+ * error.
2715
+ *
2716
+ * @param selector our selector of interest
2717
+ * @param e an error object that was thrown in the course of using jQuery
2718
+ */
2719
+ function updateSelectorError(selector, e) {
2720
+ const selectorsPresent = PROBLEMATIC_SELECTORS.filter((s) => selector.includes(s));
2721
+ if (selectorsPresent.length > 0 && e.message) {
2722
+ e.message =
2723
+ `At present jQuery does not support the ${humanReadableList(selectorsPresent)} ${selectorsPresent.length === 1 ? 'selector' : 'selectors'}.
2724
+ If you need this in your test, consider writing an end-to-end test instead.\n` + e.message;
2725
+ }
2726
+ }
2727
+ /**
2728
+ * Format a list of strings in a 'human readable' way.
2729
+ *
2730
+ * - If one string (['string']), return 'string'
2731
+ * - If two strings (['a', 'b']), return 'a and b'
2732
+ * - If three or more (['a', 'b', 'c']), return 'a, b and c'
2733
+ *
2734
+ * @param items a list of strings to format
2735
+ * @returns a formatted string
2736
+ */
2737
+ function humanReadableList(items) {
2738
+ if (items.length <= 1) {
2739
+ return items.join('');
2740
+ }
2741
+ return `${items.slice(0, items.length - 1).join(', ')} and ${items[items.length - 1]}`;
2646
2742
  }
2647
2743
 
2744
+ /**
2745
+ * Serialize a node (either a DOM node or a mock-doc node) to an HTML string
2746
+ *
2747
+ * @param elm the node to serialize
2748
+ * @param opts options to control serialization behavior
2749
+ * @returns an html string
2750
+ */
2648
2751
  function serializeNodeToHtml(elm, opts = {}) {
2649
2752
  const output = {
2650
2753
  currentLineWidth: 0,
@@ -2705,6 +2808,7 @@ function serializeNodeToHtml(elm, opts = {}) {
2705
2808
  return output.text.join('');
2706
2809
  }
2707
2810
  function serializeToHtml(node, opts, output, isShadowRoot) {
2811
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
2708
2812
  if (node.nodeType === 1 /* NODE_TYPES.ELEMENT_NODE */ || isShadowRoot) {
2709
2813
  const tagName = isShadowRoot ? 'mock:shadow-root' : getTagName(node);
2710
2814
  if (tagName === 'body') {
@@ -2712,12 +2816,12 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2712
2816
  }
2713
2817
  const ignoreTag = opts.excludeTags != null && opts.excludeTags.includes(tagName);
2714
2818
  if (ignoreTag === false) {
2715
- const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 ? isWithinWhitespaceSensitive(node) : false;
2819
+ const isWithinWhitespaceSensitiveNode = opts.newLines || ((_a = opts.indentSpaces) !== null && _a !== void 0 ? _a : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
2716
2820
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
2717
2821
  output.text.push('\n');
2718
2822
  output.currentLineWidth = 0;
2719
2823
  }
2720
- if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
2824
+ if (((_b = opts.indentSpaces) !== null && _b !== void 0 ? _b : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
2721
2825
  for (let i = 0; i < output.indent; i++) {
2722
2826
  output.text.push(' ');
2723
2827
  }
@@ -2742,7 +2846,9 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2742
2846
  const attrNamespaceURI = attr.namespaceURI;
2743
2847
  if (attrNamespaceURI == null) {
2744
2848
  output.currentLineWidth += attrName.length + 1;
2745
- if (opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
2849
+ if (opts.approximateLineWidth &&
2850
+ opts.approximateLineWidth > 0 &&
2851
+ output.currentLineWidth > opts.approximateLineWidth) {
2746
2852
  output.text.push('\n' + attrName);
2747
2853
  output.currentLineWidth = 0;
2748
2854
  }
@@ -2799,7 +2905,8 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2799
2905
  }
2800
2906
  if (node.hasAttribute('style')) {
2801
2907
  const cssText = node.style.cssText;
2802
- if (opts.approximateLineWidth > 0 &&
2908
+ if (opts.approximateLineWidth &&
2909
+ opts.approximateLineWidth > 0 &&
2803
2910
  output.currentLineWidth + cssText.length + 10 > opts.approximateLineWidth) {
2804
2911
  output.text.push(`\nstyle="${cssText}">`);
2805
2912
  output.currentLineWidth = 0;
@@ -2816,14 +2923,14 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2816
2923
  }
2817
2924
  if (EMPTY_ELEMENTS.has(tagName) === false) {
2818
2925
  if (opts.serializeShadowRoot && node.shadowRoot != null) {
2819
- output.indent = output.indent + opts.indentSpaces;
2926
+ output.indent = output.indent + ((_c = opts.indentSpaces) !== null && _c !== void 0 ? _c : 0);
2820
2927
  serializeToHtml(node.shadowRoot, opts, output, true);
2821
- output.indent = output.indent - opts.indentSpaces;
2928
+ output.indent = output.indent - ((_d = opts.indentSpaces) !== null && _d !== void 0 ? _d : 0);
2822
2929
  if (opts.newLines &&
2823
2930
  (node.childNodes.length === 0 ||
2824
2931
  (node.childNodes.length === 1 &&
2825
2932
  node.childNodes[0].nodeType === 3 /* NODE_TYPES.TEXT_NODE */ &&
2826
- node.childNodes[0].nodeValue.trim() === ''))) {
2933
+ ((_e = node.childNodes[0].nodeValue) === null || _e === void 0 ? void 0 : _e.trim()) === ''))) {
2827
2934
  output.text.push('\n');
2828
2935
  output.currentLineWidth = 0;
2829
2936
  for (let i = 0; i < output.indent; i++) {
@@ -2840,9 +2947,9 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2840
2947
  childNodes[0].nodeType === 3 /* NODE_TYPES.TEXT_NODE */ &&
2841
2948
  (typeof childNodes[0].nodeValue !== 'string' || childNodes[0].nodeValue.trim() === '')) ;
2842
2949
  else {
2843
- const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 ? isWithinWhitespaceSensitive(node) : false;
2844
- if (!isWithinWhitespaceSensitiveNode && opts.indentSpaces > 0 && ignoreTag === false) {
2845
- output.indent = output.indent + opts.indentSpaces;
2950
+ const isWithinWhitespaceSensitiveNode = opts.newLines || ((_f = opts.indentSpaces) !== null && _f !== void 0 ? _f : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
2951
+ if (!isWithinWhitespaceSensitiveNode && ((_g = opts.indentSpaces) !== null && _g !== void 0 ? _g : 0) > 0 && ignoreTag === false) {
2952
+ output.indent = output.indent + ((_h = opts.indentSpaces) !== null && _h !== void 0 ? _h : 0);
2846
2953
  }
2847
2954
  for (let i = 0; i < childNodeLength; i++) {
2848
2955
  serializeToHtml(childNodes[i], opts, output, false);
@@ -2852,8 +2959,8 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2852
2959
  output.text.push('\n');
2853
2960
  output.currentLineWidth = 0;
2854
2961
  }
2855
- if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
2856
- output.indent = output.indent - opts.indentSpaces;
2962
+ if (((_j = opts.indentSpaces) !== null && _j !== void 0 ? _j : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
2963
+ output.indent = output.indent - ((_k = opts.indentSpaces) !== null && _k !== void 0 ? _k : 0);
2857
2964
  for (let i = 0; i < output.indent; i++) {
2858
2965
  output.text.push(' ');
2859
2966
  }
@@ -2868,7 +2975,7 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2868
2975
  }
2869
2976
  }
2870
2977
  }
2871
- if (opts.approximateLineWidth > 0 && STRUCTURE_ELEMENTS.has(tagName)) {
2978
+ if (((_l = opts.approximateLineWidth) !== null && _l !== void 0 ? _l : 0) > 0 && STRUCTURE_ELEMENTS.has(tagName)) {
2872
2979
  output.text.push('\n');
2873
2980
  output.currentLineWidth = 0;
2874
2981
  }
@@ -2888,13 +2995,15 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2888
2995
  output.text.push(textContent);
2889
2996
  output.currentLineWidth += textContent.length;
2890
2997
  }
2891
- else if (opts.approximateLineWidth > 0 && !output.isWithinBody) ;
2998
+ else if (((_m = opts.approximateLineWidth) !== null && _m !== void 0 ? _m : 0) > 0 && !output.isWithinBody) ;
2892
2999
  else if (!opts.prettyHtml) {
2893
3000
  // this text node is only whitespace, and it's not
2894
3001
  // within a whitespace sensitive element like <pre> or <code>
2895
3002
  // so replace the entire white space with a single new line
2896
3003
  output.currentLineWidth += 1;
2897
- if (opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
3004
+ if (opts.approximateLineWidth &&
3005
+ opts.approximateLineWidth > 0 &&
3006
+ output.currentLineWidth > opts.approximateLineWidth) {
2898
3007
  // good enough for a new line
2899
3008
  // for perf these are all just estimates
2900
3009
  // we don't care to ensure exact line lengths
@@ -2909,12 +3018,12 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2909
3018
  }
2910
3019
  else {
2911
3020
  // this text node has text content
2912
- const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 || opts.prettyHtml ? isWithinWhitespaceSensitive(node) : false;
3021
+ const isWithinWhitespaceSensitiveNode = opts.newLines || ((_o = opts.indentSpaces) !== null && _o !== void 0 ? _o : 0) > 0 || opts.prettyHtml ? isWithinWhitespaceSensitive(node) : false;
2913
3022
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
2914
3023
  output.text.push('\n');
2915
3024
  output.currentLineWidth = 0;
2916
3025
  }
2917
- if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
3026
+ if (((_p = opts.indentSpaces) !== null && _p !== void 0 ? _p : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
2918
3027
  for (let i = 0; i < output.indent; i++) {
2919
3028
  output.text.push(' ');
2920
3029
  }
@@ -2926,7 +3035,7 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2926
3035
  const parentTagName = node.parentNode != null && node.parentNode.nodeType === 1 /* NODE_TYPES.ELEMENT_NODE */
2927
3036
  ? node.parentNode.nodeName
2928
3037
  : null;
2929
- if (NON_ESCAPABLE_CONTENT.has(parentTagName)) {
3038
+ if (typeof parentTagName === 'string' && NON_ESCAPABLE_CONTENT.has(parentTagName)) {
2930
3039
  // this text node cannot have its content escaped since it's going
2931
3040
  // into an element like <style> or <script>
2932
3041
  if (isWithinWhitespaceSensitive(node)) {
@@ -2959,7 +3068,8 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2959
3068
  textContentLength = textContent.length;
2960
3069
  if (textContentLength > 1) {
2961
3070
  if (/\s/.test(textContent.charAt(textContentLength - 1))) {
2962
- if (opts.approximateLineWidth > 0 &&
3071
+ if (opts.approximateLineWidth &&
3072
+ opts.approximateLineWidth > 0 &&
2963
3073
  output.currentLineWidth + textContentLength > opts.approximateLineWidth) {
2964
3074
  textContent = textContent.trimRight() + '\n';
2965
3075
  output.currentLineWidth = 0;
@@ -2981,20 +3091,20 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
2981
3091
  else if (node.nodeType === 8 /* NODE_TYPES.COMMENT_NODE */) {
2982
3092
  const nodeValue = node.nodeValue;
2983
3093
  if (opts.removeHtmlComments) {
2984
- const isHydrateAnnotation = nodeValue.startsWith(CONTENT_REF_ID + '.') ||
2985
- nodeValue.startsWith(ORG_LOCATION_ID + '.') ||
2986
- nodeValue.startsWith(SLOT_NODE_ID + '.') ||
2987
- nodeValue.startsWith(TEXT_NODE_ID + '.');
3094
+ const isHydrateAnnotation = (nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(CONTENT_REF_ID + '.')) ||
3095
+ (nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(ORG_LOCATION_ID + '.')) ||
3096
+ (nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(SLOT_NODE_ID + '.')) ||
3097
+ (nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(TEXT_NODE_ID + '.'));
2988
3098
  if (!isHydrateAnnotation) {
2989
3099
  return;
2990
3100
  }
2991
3101
  }
2992
- const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 ? isWithinWhitespaceSensitive(node) : false;
3102
+ const isWithinWhitespaceSensitiveNode = opts.newLines || ((_q = opts.indentSpaces) !== null && _q !== void 0 ? _q : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
2993
3103
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
2994
3104
  output.text.push('\n');
2995
3105
  output.currentLineWidth = 0;
2996
3106
  }
2997
- if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
3107
+ if (((_r = opts.indentSpaces) !== null && _r !== void 0 ? _r : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
2998
3108
  for (let i = 0; i < output.indent; i++) {
2999
3109
  output.text.push(' ');
3000
3110
  }
@@ -3028,12 +3138,21 @@ function escapeString(str, attrMode) {
3028
3138
  }
3029
3139
  return str.replace(LT_REGEX, '&lt;').replace(GT_REGEX, '&gt;');
3030
3140
  }
3141
+ /**
3142
+ * Determine whether a given node is within a whitespace-sensitive node by
3143
+ * walking the parent chain until either a whitespace-sensitive node is found or
3144
+ * there are no more parents to examine.
3145
+ *
3146
+ * @param node a node to check
3147
+ * @returns whether or not this is within a whitespace-sensitive node
3148
+ */
3031
3149
  function isWithinWhitespaceSensitive(node) {
3032
- while (node != null) {
3033
- if (WHITESPACE_SENSITIVE.has(node.nodeName)) {
3150
+ let _node = node;
3151
+ while (_node != null) {
3152
+ if (WHITESPACE_SENSITIVE.has(_node.nodeName)) {
3034
3153
  return true;
3035
3154
  }
3036
- node = node.parentNode;
3155
+ _node = _node.parentNode;
3037
3156
  }
3038
3157
  return false;
3039
3158
  }
@@ -3047,6 +3166,9 @@ function isWithinWhitespaceSensitive(node) {
3047
3166
  'NOFRAMES',
3048
3167
  'PLAINTEXT',
3049
3168
  ]);
3169
+ /**
3170
+ * A list of whitespace sensitive tag names, such as `code`, `pre`, etc.
3171
+ */
3050
3172
  const WHITESPACE_SENSITIVE = new Set([
3051
3173
  'CODE',
3052
3174
  'OUTPUT',
@@ -4106,6 +4228,18 @@ class MockHTMLElement extends MockElement {
4106
4228
  set tagName(value) {
4107
4229
  this.nodeName = value;
4108
4230
  }
4231
+ /**
4232
+ * A node’s parent of type Element is known as its parent element.
4233
+ * If the node has a parent of a different type, its parent element
4234
+ * is null.
4235
+ * @returns MockElement
4236
+ */
4237
+ get parentElement() {
4238
+ if (this.nodeName === 'HTML') {
4239
+ return null;
4240
+ }
4241
+ return super.parentElement;
4242
+ }
4109
4243
  get attributes() {
4110
4244
  if (this.__attributeMap == null) {
4111
4245
  const attrMap = createAttributeProxy(true);
@@ -7378,7 +7512,8 @@ class ResourceStore extends EventEmitter {
7378
7512
  }
7379
7513
  addResourceBundle(lng, ns, resources, deep, overwrite) {
7380
7514
  let options = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {
7381
- silent: false
7515
+ silent: false,
7516
+ skipCopy: false
7382
7517
  };
7383
7518
  let path = [lng, ns];
7384
7519
  if (lng.indexOf('.') > -1) {
@@ -7389,6 +7524,7 @@ class ResourceStore extends EventEmitter {
7389
7524
  }
7390
7525
  this.addNamespaces(ns);
7391
7526
  let pack = getPath(this.data, path) || {};
7527
+ if (!options.skipCopy) resources = JSON.parse(JSON.stringify(resources));
7392
7528
  if (deep) {
7393
7529
  deepExtend(pack, resources, overwrite);
7394
7530
  } else {
@@ -8628,7 +8764,9 @@ class Connector extends EventEmitter {
8628
8764
  const ns = s[1];
8629
8765
  if (err) this.emit('failedLoading', lng, ns, err);
8630
8766
  if (data) {
8631
- this.store.addResourceBundle(lng, ns, data);
8767
+ this.store.addResourceBundle(lng, ns, data, undefined, undefined, {
8768
+ skipCopy: true
8769
+ });
8632
8770
  }
8633
8771
  this.state[name] = err ? -1 : 2;
8634
8772
  const loaded = {};
@@ -9604,21 +9742,23 @@ const getKoliBri = () => {
9604
9742
  return kolibri;
9605
9743
  };
9606
9744
  const initKoliBri = () => {
9607
- if (getKoliBri().Modal === undefined) {
9608
- const Modal = new ModalService();
9609
- Object.defineProperty(getKoliBri(), 'Modal', {
9610
- get: function () {
9611
- return Modal;
9612
- },
9613
- });
9614
- initMeta();
9745
+ initMeta();
9746
+ if (getKoliBri() === undefined) {
9747
+ if (getKoliBri().Modal === undefined) {
9748
+ const Modal = new ModalService();
9749
+ Object.defineProperty(getKoliBri(), 'Modal', {
9750
+ get: function () {
9751
+ return Modal;
9752
+ },
9753
+ });
9754
+ }
9615
9755
  Log.debug(`
9616
9756
  ,--. ,--. ,--. ,--. ,-----. ,--.
9617
9757
  | .' / ,---. | | \`--' | |) /_ ,--.--. \`--'
9618
9758
  | . ' | .-. | | | ,--. | .-. \\ | .--' ,--.
9619
9759
  | |\\ \\ | '-' | | | | | | '--' / | | | |
9620
9760
  \`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'
9621
- 🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 1.7.12
9761
+ 🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 1.7.13
9622
9762
  `, {
9623
9763
  forceLog: true,
9624
9764
  });
@@ -10077,8 +10217,7 @@ const createElm = (e, t, o, n) => {
10077
10217
  const n = t.$elm$ = e.$elm$, s = e.$children$, l = t.$children$, a = t.$tag$, r = t.$text$;
10078
10218
  let i;
10079
10219
  null !== r ? (i = n["s-cr"]) ? i.parentNode.textContent = r : e.$text$ !== r && (n.data = r) : ((isSvgMode = "svg" === a || "foreignObject" !== a && isSvgMode),
10080
- ("slot" === a || updateElement(e, t, isSvgMode)),
10081
- null !== s && null !== l ? ((e, t, o, n, s = !1) => {
10220
+ ("slot" === a && !useNativeShadowDom ? BUILD.experimentalSlotFixes : updateElement(e, t, isSvgMode)), null !== s && null !== l ? ((e, t, o, n, s = !1) => {
10082
10221
  let l, a, r = 0, i = 0, d = 0, c = 0, $ = t.length - 1, m = t[0], p = t[$], h = n.length - 1, f = n[0], u = n[h];
10083
10222
  for (;r <= $ && i <= h; ) if (null == m) m = t[++r]; else if (null == p) p = t[--$]; else if (null == f) f = n[++i]; else if (null == u) u = n[--h]; else if (isSameVnode(m, f, s)) patch(m, f, s),
10084
10223
  m = t[++r], f = n[++i]; else if (isSameVnode(p, u, s)) patch(p, u, s), p = t[--$],
@@ -10146,9 +10285,9 @@ const createElm = (e, t, o, n) => {
10146
10285
  if (d.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, d.$attrsToReflect$.map((([e, t]) => $.$attrs$[t] = i[e]))),
10147
10286
  o && $.$attrs$) for (const e of Object.keys($.$attrs$)) i.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e) && ($.$attrs$[e] = i[e]);
10148
10287
  if ($.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = c.$elm$ = i.shadowRoot || i,
10149
- (scopeId = i["s-sc"]), (contentRef = i["s-cr"],
10150
- useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(c, $, o),
10151
- BUILD.slotRelocation) {
10288
+ (scopeId = i["s-sc"]), useNativeShadowDom = supportsShadow,
10289
+ (contentRef = i["s-cr"], checkSlotFallbackVisibility = !1),
10290
+ patch(c, $, o), BUILD.slotRelocation) {
10152
10291
  if (plt.$flags$ |= 1, checkSlotRelocate) {
10153
10292
  markSlotContentForRelocation($.$elm$);
10154
10293
  for (const e of relocateNodes) {
@@ -11952,7 +12091,7 @@ class KolAbbr {
11952
12091
  };
11953
12092
  }
11954
12093
  render() {
11955
- return (hAsync(Host, null, hAsync("abbr", { "aria-labelledby": this.nonce, role: "definition", tabindex: "0", title: this.state._label }, hAsync("span", { title: "" }, hAsync("slot", null))), hAsync("kol-tooltip-wc", { _align: this.state._tooltipAlign, _id: this.nonce, _label: this.state._label })));
12094
+ return (hAsync(Host, { key: '708351b62d4ddfaf9439718bf7051ed6e12b4486' }, hAsync("abbr", { key: 'b371ff0646d639bd497ed6fe92717905ff211d39', "aria-labelledby": this.nonce, role: "definition", tabindex: "0", title: this.state._label }, hAsync("span", { key: 'e36ec17f92845711268b3bd960913dc6c56bce3e', title: "" }, hAsync("slot", { key: '3278ea5174dd48858f631cb1c03bff4d761a211e' }))), hAsync("kol-tooltip-wc", { key: 'c1df9a9f393550710ccbd84a9e0545f6721079b0', _align: this.state._tooltipAlign, _id: this.nonce, _label: this.state._label })));
11956
12095
  }
11957
12096
  validateLabel(value) {
11958
12097
  validateLabel(this, value, {
@@ -12041,10 +12180,10 @@ class KolAccordion {
12041
12180
  };
12042
12181
  }
12043
12182
  render() {
12044
- return (hAsync(Host, null, hAsync("div", { class: {
12183
+ return (hAsync(Host, { key: '8c686a1ace1a5590acab87ea8f163256358ebf6d' }, hAsync("div", { key: '4f5503a545568c8f87fe2111c5136f9f16f490f4', class: {
12045
12184
  accordion: true,
12046
12185
  open: this.state._open === true,
12047
- } }, hAsync("kol-heading-wc", { _label: "", _level: this.state._level }, hAsync("kol-button-wc", { ref: this.catchRef, _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)))))));
12186
+ } }, hAsync("kol-heading-wc", { key: '9691df7d0623bb39c06be4f8286c5658aecdcb4c', _label: "", _level: this.state._level }, hAsync("kol-button-wc", { key: '3410de38f55311a87821e571762d4683e2062fa8', ref: this.catchRef, _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", { key: '3da23d8ba623e5e529b2c2394a33e1870ebdd014', class: "header" }, hAsync("slot", { key: 'b632cf66243ccb977959fddfb34db365ed38222d', name: "header" })), hAsync("div", { key: '11da544ccaa00747092f677cc459e09d82b31012', class: "wrapper" }, hAsync("div", { key: '68c299ae9645bf16aa1fb1a1ede356b14b4f0aef', class: "animation-wrapper" }, hAsync("div", { key: '508dfb7024c87ec0200ec2e21be2fa7e14bb8e05', "aria-hidden": this.state._open === false ? 'true' : undefined, class: "content", id: this.nonce }, hAsync("slot", { key: '9d26e7477d5ce341ce43e68d023c4d5ea0d28d27', name: "content" }), " ", hAsync("slot", { key: '656c38a9e4f3aceceb5e859007b2982483c3f946' })))))));
12048
12187
  }
12049
12188
  validateHeading(value) {
12050
12189
  this.validateLabel(value);
@@ -12118,7 +12257,7 @@ class KolAlert {
12118
12257
  };
12119
12258
  }
12120
12259
  render() {
12121
- 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))));
12260
+ return (hAsync(Host, { key: 'c03548c30755d84f8d3a8446a69ac66295e81904' }, hAsync("kol-alert-wc", { key: 'efbe11d9d405c7cc6f85e759cf8e4e4e3d1ecf4f', _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", { key: '84583b0ddd7a3cbc00127b0cc804659122f74e94' }))));
12122
12261
  }
12123
12262
  static get style() { return {
12124
12263
  default: KolAlertDefaultStyle0
@@ -12300,11 +12439,11 @@ class KolAlertWc {
12300
12439
  this.validateAlert(false);
12301
12440
  }, 10000);
12302
12441
  }
12303
- return (hAsync(Host, { class: {
12442
+ return (hAsync(Host, { key: 'a8c1c49a73dccecc52e1bb48ae90655d09d565e0', class: {
12304
12443
  [this.state._type]: true,
12305
12444
  [this.state._variant]: true,
12306
12445
  hasCloser: !!this.state._hasCloser,
12307
- }, role: this.state._alert ? 'alert' : undefined }, hAsync("div", { class: "heading" }, hAsync(AlertIcon, { label: this.state._label, type: this.state._type }), hAsync("div", null, typeof this.state._label === 'string' && ((_a = this.state._label) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("kol-heading-wc", { _label: this.state._label, _level: this.state._level })), this.state._variant === 'msg' && (hAsync("div", { class: "content" }, hAsync("slot", null)))), this.state._hasCloser && (hAsync("kol-button-wc", { class: "close", _hideLabel: true, _icons: {
12446
+ }, role: this.state._alert ? 'alert' : undefined }, hAsync("div", { key: 'd92efd87fd960c0ba7ce79b5fc1ceb433a4e11e8', class: "heading" }, hAsync(AlertIcon, { key: '8c9ad64898564e4dc796c9b5df091bfff74daa88', label: this.state._label, type: this.state._type }), hAsync("div", { key: 'd3052998c633241fc71779fad487eee4bafd0fce' }, typeof this.state._label === 'string' && ((_a = this.state._label) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("kol-heading-wc", { _label: this.state._label, _level: this.state._level })), this.state._variant === 'msg' && (hAsync("div", { class: "content" }, hAsync("slot", null)))), this.state._hasCloser && (hAsync("kol-button-wc", { class: "close", _hideLabel: true, _icons: {
12308
12447
  left: {
12309
12448
  icon: 'codicon codicon-close',
12310
12449
  },
@@ -12382,7 +12521,7 @@ class KolAvatar {
12382
12521
  this._label = undefined;
12383
12522
  }
12384
12523
  render() {
12385
- return (hAsync(Host, null, hAsync("kol-avatar-wc", { _src: this._src, _label: this._label })));
12524
+ return (hAsync(Host, { key: '5b96fc500d56c6996c034b7e847f4441a28fcae2' }, hAsync("kol-avatar-wc", { key: 'a7a695f8d2a6ab665c891b6a558a0c23df3c3d06', _src: this._src, _label: this._label })));
12386
12525
  }
12387
12526
  static get style() { return {
12388
12527
  default: KolAvatarDefaultStyle0
@@ -12431,7 +12570,7 @@ class KolAvatarWc {
12431
12570
  };
12432
12571
  }
12433
12572
  render() {
12434
- return (hAsync(Host, null, hAsync("div", { "aria-label": translate('kol-avatar-alt', { placeholders: { name: this.state._label } }), class: "container", role: "img" }, this.state._src ? (hAsync("img", { alt: "", "aria-hidden": "true", class: "image", src: this.state._src })) : (hAsync("span", { "aria-hidden": "true", class: "initials" }, formatLabelAsInitials(this.state._label.trim()))))));
12573
+ return (hAsync(Host, { key: 'd6f0df983e4fba51ff7210d193ba04117332c3a7' }, hAsync("div", { key: 'd860929aa8f9c5494921636cf0b5d1bf5be7cba9', "aria-label": translate('kol-avatar-alt', { placeholders: { name: this.state._label } }), class: "container", role: "img" }, this.state._src ? (hAsync("img", { alt: "", "aria-hidden": "true", class: "image", src: this.state._src })) : (hAsync("span", { "aria-hidden": "true", class: "initials" }, formatLabelAsInitials(this.state._label.trim()))))));
12435
12574
  }
12436
12575
  validateSrc(value) {
12437
12576
  validateImageSource(this, value);
@@ -13046,12 +13185,12 @@ class KolBadge {
13046
13185
  }
13047
13186
  render() {
13048
13187
  const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;
13049
- return (hAsync(Host, null, hAsync("span", { class: {
13188
+ return (hAsync(Host, { key: 'da2a9a1dee13abf702deba02e2eab426d4a8e13e' }, hAsync("span", { key: 'e5187949eaa03e7c52acc62246a992ef2dae47e4', class: {
13050
13189
  'smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,
13051
13190
  }, style: {
13052
13191
  backgroundColor: this.bgColorStr,
13053
13192
  color: this.colorStr,
13054
- } }, 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))));
13193
+ } }, hAsync("kol-span-wc", { key: 'fb2d932f756435a52549be7820a1b612ae93a532', 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))));
13055
13194
  }
13056
13195
  validateColor(value) {
13057
13196
  validateColor(this, value, {
@@ -13140,7 +13279,7 @@ class KolBreadcrumb {
13140
13279
  }
13141
13280
  render() {
13142
13281
  var _a;
13143
- return (hAsync(Host, null, hAsync("nav", { "aria-label": (_a = this.state._label) !== null && _a !== void 0 ? _a : '' }, 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)))));
13282
+ return (hAsync(Host, { key: '82d914b48822aac7b981ed22d2e90d85e8644a3f' }, hAsync("nav", { key: 'f5de4c29db727db5a3a41246450b9a22293d6483', "aria-label": (_a = this.state._label) !== null && _a !== void 0 ? _a : '' }, hAsync("ul", { key: '7f1dd301a992981f0878e6eea21c14dba15b5774' }, this.state._links.length === 0 && (hAsync("li", null, hAsync("kol-icon", { _label: "", _icons: "codicon codicon-home" }), "\u2026")), this.state._links.map(this.renderLink)))));
13144
13283
  }
13145
13284
  validateAriaLabel(value) {
13146
13285
  this.validateLabel(value);
@@ -13223,11 +13362,11 @@ class KolButton {
13223
13362
  this._variant = 'normal';
13224
13363
  }
13225
13364
  render() {
13226
- return (hAsync(Host, null, hAsync("kol-button-wc", { ref: this.catchRef, class: {
13365
+ return (hAsync(Host, { key: 'b228ce853ebee99e8708bfc57bd8f2192ac1f0cd' }, hAsync("kol-button-wc", { key: '48bdf9bf98bccee92cf5702b8f15270ae076333f', ref: this.catchRef, class: {
13227
13366
  button: true,
13228
13367
  [this._variant]: this._variant !== 'custom',
13229
13368
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
13230
- }, _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" }))));
13369
+ }, _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", { key: '60582d0b9caf121864c09971febef2e1513560a9', name: "expert", slot: "expert" }))));
13231
13370
  }
13232
13371
  get host() { return getElement(this); }
13233
13372
  static get style() { return {
@@ -13276,7 +13415,7 @@ class KolButtonGroup {
13276
13415
  registerInstance(this, hostRef);
13277
13416
  }
13278
13417
  render() {
13279
- return (hAsync(Host, null, hAsync("kol-button-group-wc", null, hAsync("slot", null))));
13418
+ return (hAsync(Host, { key: '138608450f886e6de9fd5f9e35b5d17c555abe95' }, hAsync("kol-button-group-wc", { key: '558bdfc37d4ec8bb44f60e75b57469d85c939b51' }, hAsync("slot", { key: 'c702a187186d9e28ed132628719934efe8322905' }))));
13280
13419
  }
13281
13420
  static get style() { return {
13282
13421
  default: KolButtonGroupDefaultStyle0
@@ -13297,7 +13436,7 @@ class KolButtonGroupWc {
13297
13436
  this.state = {};
13298
13437
  }
13299
13438
  render() {
13300
- return (hAsync(Host, null, hAsync("slot", null)));
13439
+ return (hAsync(Host, { key: '0a28d777fa9b7c36104f6a8615742a6364090af7' }, hAsync("slot", { key: '6019634c93288ec663b3a660672f3786940f58cc' })));
13301
13440
  }
13302
13441
  static get cmpMeta() { return {
13303
13442
  "$flags$": 4,
@@ -13343,7 +13482,7 @@ class KolButtonLink {
13343
13482
  this._value = undefined;
13344
13483
  }
13345
13484
  render() {
13346
- 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" }))));
13485
+ return (hAsync(Host, { key: '45b774f3a699e10d33cc71b48e07137501ca191f' }, hAsync("kol-button-wc", { key: 'cb5dbe3be87a23d23855879710c1b585f4cf8376', 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", { key: '2da5eb21f97a0f00f3e80407c2436287ff419b54', name: "expert", slot: "expert" }))));
13347
13486
  }
13348
13487
  get host() { return getElement(this); }
13349
13488
  static get style() { return {
@@ -13390,7 +13529,7 @@ class KolButtonLinkTextSwitch {
13390
13529
  this._link = undefined;
13391
13530
  }
13392
13531
  render() {
13393
- return hAsync(Host, null, this.renderContent());
13532
+ return hAsync(Host, { key: '762e39cdd166779bf6d6e0c12eaf0fd41d8e27e5' }, this.renderContent());
13394
13533
  }
13395
13534
  renderContent() {
13396
13535
  if (this._link._on) {
@@ -13656,14 +13795,15 @@ const validateName = (component, value, options) => {
13656
13795
  watchString(component, '_name', value, options);
13657
13796
  };
13658
13797
 
13798
+ const isAssociatedTagName = (name) => name === 'KOL-BUTTON' || name === 'KOL-INPUT' || name === 'KOL-SELECT' || name === 'KOL-TEXTAREA';
13659
13799
  class AssociatedInputController {
13660
- constructor(component, name, host) {
13661
- var _a, _b;
13800
+ constructor(component, type, host) {
13801
+ var _a, _b, _c;
13662
13802
  this.setFormAssociatedValue = (rawValue) => {
13663
13803
  var _a;
13664
13804
  const name = (_a = this.formAssociated) === null || _a === void 0 ? void 0 : _a.getAttribute('name');
13665
13805
  if (name === null || name === '') {
13666
- devHint(` The form field (${this.name}) must have a name attribute to be form-associated. Please define the _name attribute.`);
13806
+ devHint(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);
13667
13807
  }
13668
13808
  const strValue = this.tryToStringifyValue(rawValue);
13669
13809
  this.syncValue(rawValue, strValue, this.formAssociated);
@@ -13671,15 +13811,26 @@ class AssociatedInputController {
13671
13811
  };
13672
13812
  this.component = component;
13673
13813
  this.host = this.findHostWithShadowRoot(host);
13674
- this.name = name;
13675
- if (getExperimentalMode()) {
13676
- (_a = this.host) === null || _a === void 0 ? void 0 : _a.querySelectorAll('input,select,textarea').forEach((el) => {
13814
+ this.type = type;
13815
+ if (getExperimentalMode() && isAssociatedTagName((_a = this.host) === null || _a === void 0 ? void 0 : _a.tagName)) {
13816
+ (_b = this.host) === null || _b === void 0 ? void 0 : _b.querySelectorAll('input,select,textarea').forEach((el) => {
13677
13817
  var _a;
13678
13818
  (_a = this.host) === null || _a === void 0 ? void 0 : _a.removeChild(el);
13679
13819
  });
13680
- switch (this.name) {
13820
+ switch (this.type) {
13681
13821
  case 'button':
13682
- this.formAssociated = document.createElement('button');
13822
+ case 'checkbox':
13823
+ case 'color':
13824
+ case 'date':
13825
+ case 'email':
13826
+ case 'file':
13827
+ case 'number':
13828
+ case 'password':
13829
+ case 'radio':
13830
+ case 'range':
13831
+ case 'text':
13832
+ this.formAssociated = document.createElement('input');
13833
+ this.formAssociated.setAttribute('type', this.type);
13683
13834
  break;
13684
13835
  case 'select':
13685
13836
  this.formAssociated = document.createElement('select');
@@ -13691,12 +13842,11 @@ class AssociatedInputController {
13691
13842
  default:
13692
13843
  this.formAssociated = document.createElement('input');
13693
13844
  this.formAssociated.setAttribute('type', 'hidden');
13694
- break;
13695
13845
  }
13696
13846
  this.formAssociated.setAttribute('aria-hidden', 'true');
13697
13847
  this.formAssociated.setAttribute('data-form-associated', '');
13698
13848
  this.formAssociated.setAttribute('hidden', '');
13699
- (_b = this.host) === null || _b === void 0 ? void 0 : _b.appendChild(this.formAssociated);
13849
+ (_c = this.host) === null || _c === void 0 ? void 0 : _c.appendChild(this.formAssociated);
13700
13850
  }
13701
13851
  }
13702
13852
  findHostWithShadowRoot(host) {
@@ -13735,7 +13885,7 @@ class AssociatedInputController {
13735
13885
  }
13736
13886
  syncValue(rawValue, strValue, associatedElement) {
13737
13887
  if (associatedElement) {
13738
- switch (this.name) {
13888
+ switch (this.type) {
13739
13889
  case 'select':
13740
13890
  associatedElement.querySelectorAll('option').forEach((el) => {
13741
13891
  associatedElement.removeChild(el);
@@ -13793,13 +13943,13 @@ class AssociatedInputController {
13793
13943
  class KolButtonWc {
13794
13944
  render() {
13795
13945
  const hasExpertSlot = showExpertSlot(this.state._label);
13796
- 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: {
13946
+ return (hAsync(Host, { key: '5dff8da9a3b8734608f3c3f771e1a90339764d19' }, hAsync("button", Object.assign({ key: '33bc190417912eb7e72895350f493fc6a7967891', 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: {
13797
13947
  button: true,
13798
13948
  [this.state._variant]: this.state._variant !== 'custom',
13799
13949
  [this.state._customClass]: this.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,
13800
13950
  'icon-only': this.state._hideLabel === true,
13801
13951
  'hide-label': this.state._hideLabel === true,
13802
- }, disabled: this.state._disabled, id: this.state._id, name: this.state._name }, this.state._on, { onClick: this.onClick, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }), hAsync("kol-span-wc", { class: "button-inner", _icons: this.state._icons, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? '' : this.state._label }, hAsync("slot", { name: "expert", slot: "expert" }))), hAsync("kol-tooltip-wc", { "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })));
13952
+ }, disabled: this.state._disabled, id: this.state._id, name: this.state._name }, this.state._on, { onClick: this.onClick, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }), hAsync("kol-span-wc", { key: '56f8c91f168dafb82a184b9e79abe9d9aecd99ce', class: "button-inner", _icons: this.state._icons, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? '' : this.state._label }, hAsync("slot", { key: '303c0bfd4c0e6d97e14e91e2dbc9352af5e38680', name: "expert", slot: "expert" }))), hAsync("kol-tooltip-wc", { key: '636ba536af349d6ffccb691f663e3aa1dc2ad3d2', "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })));
13803
13953
  }
13804
13954
  constructor(hostRef) {
13805
13955
  registerInstance(this, hostRef);
@@ -14061,7 +14211,7 @@ class KolCard {
14061
14211
  };
14062
14212
  }
14063
14213
  render() {
14064
- 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: {
14214
+ return (hAsync(Host, { key: '2b8c626fafb032b61ef3743f3a04102ede6488d6' }, hAsync("div", { key: '3ccc471fd5fda77531de9d062cbdb0daefac6b54', class: "card" }, hAsync("div", { key: 'aa05b50858b4a628e0fb5708e4893f87888ce436', class: "header" }, hAsync("kol-heading-wc", { key: '1117ed09b7a7fb84f6fe6272f67e7742d975b1c2', _label: this.state._label, _level: this.state._level }), hAsync("slot", { key: 'bcd0bbaa9f0ae4eefae2b69c3322fe03ff703cd6', name: "header" })), hAsync("div", { key: 'e431e1fd02b10da6f924bbf8477830768617e812', class: "content" }, hAsync("slot", { key: '5936c807271e2a594c7fae849ff45b669f4823f9', name: "content" }), hAsync("slot", { key: '6267e9a4d99c8be762e286cacd4611aa09f5e5d8' })), this.state._hasFooter && (hAsync("div", { class: "footer" }, hAsync("slot", { name: "footer" }))), this.state._hasCloser && (hAsync("kol-button-wc", { class: "close", _hideLabel: true, _icons: {
14065
14215
  left: {
14066
14216
  icon: 'codicon codicon-close',
14067
14217
  },
@@ -14232,9 +14382,9 @@ class KolDetails {
14232
14382
  };
14233
14383
  }
14234
14384
  render() {
14235
- return (hAsync(Host, null, hAsync("details", { ref: (el) => {
14385
+ return (hAsync(Host, { key: 'a4b246a37223bdcf0d956b35d245aa4451e819e0' }, hAsync("details", { key: '80bae99a4b39285e81c32a3e85d9c558071b1032', ref: (el) => {
14236
14386
  this.detailsElement = el;
14237
- }, onToggle: this.handleToggle }, hAsync("summary", { ref: this.catchRef }, this.state._open ? hAsync("kol-icon", { _label: "", _icons: "codicon codicon-chevron-down" }) : hAsync("kol-icon", { _label: "", _icons: "codicon codicon-chevron-right" }), hAsync("span", null, this.state._label)), hAsync("div", { "aria-hidden": this.state._open === false ? 'true' : undefined, class: "content", ref: (element) => (this.contentElement = element) }, hAsync("kol-indented-text", null, hAsync("slot", null))))));
14387
+ }, onToggle: this.handleToggle }, hAsync("summary", { key: 'cac9c2810f0e782df5620788c104c0432a643744', ref: this.catchRef }, this.state._open ? hAsync("kol-icon", { _label: "", _icons: "codicon codicon-chevron-down" }) : hAsync("kol-icon", { _label: "", _icons: "codicon codicon-chevron-right" }), hAsync("span", { key: '185843eab9759cac6ce24a535b12d9b12faad9ed' }, this.state._label)), hAsync("div", { key: '027cd60a0956191b4465129e2170756483e72b08', "aria-hidden": this.state._open === false ? 'true' : undefined, class: "content", ref: (element) => (this.contentElement = element) }, hAsync("kol-indented-text", { key: 'a6c79680210a15ccd08fba0d01ded42d360de0d7' }, hAsync("slot", { key: 'ad55233de0422914a80e7bd3bd2456a84c2edc3f' }))))));
14238
14388
  }
14239
14389
  validateLabel(value) {
14240
14390
  validateLabel(this, value, {
@@ -14332,10 +14482,10 @@ class KolForm {
14332
14482
  this.state = {};
14333
14483
  }
14334
14484
  render() {
14335
- return (hAsync("form", { method: "post", onSubmit: this.onSubmit, onReset: this.onReset, autoComplete: "off", noValidate: true }, this._errorList && this._errorList.length > 0 && (hAsync("kol-alert", { _type: "error" }, translate('kol-error-list-message'), hAsync("nav", { "aria-label": translate('kol-error-list') }, hAsync("ul", null, this._errorList.map((error, index) => (hAsync("li", { key: index }, hAsync("kol-link", { _href: error.selector, _label: error.message, _on: { onClick: this.handleLinkClick }, ref: (el) => {
14485
+ return (hAsync("form", { key: '5a362febb352a2cd5451a884122763c56093edac', method: "post", onSubmit: this.onSubmit, onReset: this.onReset, autoComplete: "off", noValidate: true }, this._errorList && this._errorList.length > 0 && (hAsync("kol-alert", { _type: "error" }, translate('kol-error-list-message'), hAsync("nav", { "aria-label": translate('kol-error-list') }, hAsync("ul", null, this._errorList.map((error, index) => (hAsync("li", { key: index }, hAsync("kol-link", { _href: error.selector, _label: error.message, _on: { onClick: this.handleLinkClick }, ref: (el) => {
14336
14486
  if (index === 0)
14337
14487
  this.errorListElement = el;
14338
- } })))))))), this.state._requiredText === true ? (hAsync("p", null, hAsync("kol-indented-text", null, translate('kol-form-description')))) : typeof this.state._requiredText === 'string' && this.state._requiredText.length > 0 ? (hAsync("p", null, hAsync("kol-indented-text", null, this.state._requiredText))) : null, hAsync("slot", null)));
14488
+ } })))))))), this.state._requiredText === true ? (hAsync("p", null, hAsync("kol-indented-text", null, translate('kol-form-description')))) : typeof this.state._requiredText === 'string' && this.state._requiredText.length > 0 ? (hAsync("p", null, hAsync("kol-indented-text", null, this.state._requiredText))) : null, hAsync("slot", { key: 'a9c11e995286f97104b2f6f9b08d3bbb4de4bab2' })));
14339
14489
  }
14340
14490
  validateOn(value) {
14341
14491
  if (typeof value === 'object' && value !== null) {
@@ -14395,7 +14545,7 @@ class KolHeading {
14395
14545
  this._secondaryHeadline = undefined;
14396
14546
  }
14397
14547
  render() {
14398
- return (hAsync("kol-heading-wc", { _label: this._label, _level: this._level, _secondaryHeadline: this._secondaryHeadline }, hAsync("slot", null)));
14548
+ return (hAsync("kol-heading-wc", { key: '5f8441b182a577e01466384566b70ab6657fa353', _label: this._label, _level: this._level, _secondaryHeadline: this._secondaryHeadline }, hAsync("slot", { key: '7ea9f4b7e848bf3afa2039f5ec4ab14ce2573243' })));
14399
14549
  }
14400
14550
  static get style() { return {
14401
14551
  default: KolHeadingDefaultStyle0
@@ -14478,7 +14628,7 @@ class KolHeadingWc {
14478
14628
  this.validateSecondaryHeadline(this._secondaryHeadline);
14479
14629
  }
14480
14630
  render() {
14481
- return (hAsync(Host, null, typeof this.state._secondaryHeadline === 'string' && this.state._secondaryHeadline.length > 0 ? (hAsync("hgroup", null, this.renderHeadline(this.state._label, this.state._level), this.state._secondaryHeadline && this.renderSecondaryHeadline(this.state._secondaryHeadline, this.state._level + 1))) : (this.renderHeadline(this.state._label, this.state._level))));
14631
+ return (hAsync(Host, { key: 'd8cad5ea1646a4865ae0022f84ce2929b043f9b0' }, typeof this.state._secondaryHeadline === 'string' && this.state._secondaryHeadline.length > 0 ? (hAsync("hgroup", null, this.renderHeadline(this.state._label, this.state._level), this.state._secondaryHeadline && this.renderSecondaryHeadline(this.state._secondaryHeadline, this.state._level + 1))) : (this.renderHeadline(this.state._label, this.state._level))));
14482
14632
  }
14483
14633
  static get watchers() { return {
14484
14634
  "_label": ["validateLabel"],
@@ -14517,7 +14667,7 @@ class KolIcon {
14517
14667
  }
14518
14668
  render() {
14519
14669
  const ariaShow = typeof this.state._label === 'string' && this.state._label.length > 0;
14520
- 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" })));
14670
+ return (hAsync(Host, { key: '631762f738652194b8b7b1d57a165ccbbd1a4c0e', exportparts: "icon" }, hAsync("i", { key: '26865fd58a1580ae5aefc0ce870447c8a8808bcd', "aria-hidden": ariaShow ? undefined : 'true', "aria-label": ariaShow ? this.state._label : undefined, class: this.state._icons, part: "icon", role: "img" })));
14521
14671
  }
14522
14672
  validateAriaLabel(value) {
14523
14673
  this.validateLabel(value);
@@ -14579,7 +14729,7 @@ class KolIconFontAwesome {
14579
14729
  this._part = undefined;
14580
14730
  }
14581
14731
  render() {
14582
- 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 }));
14732
+ return (hAsync("kol-icon", { key: '743cf721c8dd2e1d45bab31269ab272ebfcccaa8', 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 }));
14583
14733
  }
14584
14734
  static get cmpMeta() { return {
14585
14735
  "$flags$": 0,
@@ -14604,7 +14754,7 @@ class KolIconIcofont {
14604
14754
  this._part = undefined;
14605
14755
  }
14606
14756
  render() {
14607
- return (hAsync("kol-icon", { exportparts: `icon${typeof this._part === 'string' ? `,${this._part}` : ''}`, _ariaLabel: this._ariaLabel, _icon: typeof this._icon === 'string' ? `icofont-${this._icon}` : undefined }));
14757
+ return (hAsync("kol-icon", { key: '1428836cf22a3df024ffc4c8dd5674e9ca0de44c', exportparts: `icon${typeof this._part === 'string' ? `,${this._part}` : ''}`, _ariaLabel: this._ariaLabel, _icon: typeof this._icon === 'string' ? `icofont-${this._icon}` : undefined }));
14608
14758
  }
14609
14759
  static get cmpMeta() { return {
14610
14760
  "$flags$": 0,
@@ -14669,7 +14819,7 @@ class KolImage {
14669
14819
  this.validateSrcset(this._srcset);
14670
14820
  }
14671
14821
  render() {
14672
- return (hAsync(Host, null, hAsync("img", { alt: this.state._alt, loading: this.state._loading, sizes: this.state._sizes, src: this.state._src, srcset: this.state._srcset })));
14822
+ return (hAsync(Host, { key: '2f7fb28b077bfaccd73846be554221556934f6dd' }, hAsync("img", { key: '63447e8ae1c2c802eb4342d5e8f21da6cc2b8087', alt: this.state._alt, loading: this.state._loading, sizes: this.state._sizes, src: this.state._src, srcset: this.state._srcset })));
14673
14823
  }
14674
14824
  static get watchers() { return {
14675
14825
  "_alt": ["validateAlt"],
@@ -14707,7 +14857,7 @@ class KolIndentedText {
14707
14857
  this.state = {};
14708
14858
  }
14709
14859
  render() {
14710
- return (hAsync(Host, null, hAsync("div", null, hAsync("slot", null))));
14860
+ return (hAsync(Host, { key: '0cccaf45787f9ce48b611b1a52b0874c4a289379' }, hAsync("div", { key: '79efcdb0fe562eeaf676b7dc2550554ff6ee3219' }, hAsync("slot", { key: 'c1642ad9e6743897698af21535db19a9eeffdb9f' }))));
14711
14861
  }
14712
14862
  static get style() { return {
14713
14863
  default: KolIndentedTextDefaultStyle0
@@ -14769,22 +14919,22 @@ class KolInput {
14769
14919
  }
14770
14920
  render() {
14771
14921
  var _a, _b, _c, _d, _e, _f, _g, _h;
14772
- const hasError = typeof this._error === 'string' && this._error.length > 0 && this._touched === true;
14922
+ const hasError = !this._readOnly && typeof this._error === 'string' && this._error.length > 0 && this._touched === true;
14773
14923
  const hasExpertSlot = showExpertSlot(this._label);
14774
14924
  const hasHint = typeof this._hint === 'string' && this._hint.length > 0;
14775
14925
  const useTooltopInsteadOfLabel = !hasExpertSlot && this._hideLabel;
14776
- return (hAsync(Host, { class: {
14926
+ return (hAsync(Host, { key: '00309cc52c4174d881725fad556e0d2e51fdacf4', class: {
14777
14927
  disabled: this._disabled === true,
14778
14928
  error: hasError === true,
14779
14929
  'read-only': this._readOnly === true,
14780
14930
  required: this._required === true,
14781
14931
  touched: this._touched === true,
14782
14932
  'hidden-error': this._hideError === true,
14783
- } }, hAsync("label", { class: "input-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: {
14933
+ } }, hAsync("label", { key: '64833944c9a10261e8d3ab97638a25c61ab532ce', class: "input-label", id: !useTooltopInsteadOfLabel ? `${this._id}-label` : undefined, hidden: useTooltopInsteadOfLabel, htmlFor: this._id }, hAsync("span", { key: 'a52a31e30c528dfc6f9822184161017f10017e02' }, hAsync("slot", { key: '077f57b5fb6b00756d6a2b8e9559c0921e2af9ad', name: "label" }))), hasHint && (hAsync("span", { class: "hint", id: `${this._id}-hint` }, this._hint)), hAsync("div", { key: '41890a631d116ffb5223c5686c595c81b24e3b8b', class: {
14784
14934
  input: true,
14785
14935
  'icon-left': typeof ((_a = this.getIconsProp()) === null || _a === void 0 ? void 0 : _a.left) === 'object',
14786
14936
  'icon-right': typeof ((_b = this.getIconsProp()) === null || _b === void 0 ? void 0 : _b.right) === 'object',
14787
- } }, ((_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(FormFieldMsg, { _alert: this._alert, _hideError: this._hideError, _error: this._error, _id: this._id }), 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'))))));
14937
+ } }, ((_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", { key: 'b6f8ec87d4f056f25fc725de1e7144929b5aaa0e', 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(FormFieldMsg, { _alert: this._alert, _hideError: this._hideError, _error: this._error, _id: this._id }), 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'))))));
14788
14938
  }
14789
14939
  get host() { return getElement(this); }
14790
14940
  static get cmpMeta() { return {
@@ -14827,7 +14977,7 @@ class KolInputAdapterLeanup {
14827
14977
  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`);
14828
14978
  }
14829
14979
  render() {
14830
- 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" }))));
14980
+ return (hAsync(Host, { key: '4b16cef24a209fd93fa5dad0fbd09ea540aae8a0' }, hAsync("kol-alert", { key: '0d59dae162b57c68530d2325889fc55b1cf03c2d', _type: "warning" }, "Die Komponente ", hAsync("code", { key: 'ceb863d89d8375cafb90ab03ccc1b13d6c3fc679' }, "kol-input-adapter-leanup"), " ist umgezogen. Lesen Sie hier, wie Sie sie migrieren:", ' ', hAsync("kol-link", { key: '4f35f28e03e61d8ac72280210dbd1eb596324d3b', _href: "https://public-ui.github.io/docs/changelog#118---07102022", _label: "https://public-ui.github.io/docs/changelog#118---07102022", _target: "documentation" }))));
14831
14981
  }
14832
14982
  static get cmpMeta() { return {
14833
14983
  "$flags$": 9,
@@ -15231,13 +15381,13 @@ class KolInputCheckbox {
15231
15381
  render() {
15232
15382
  const { ariaDescribedBy } = getRenderStates(this.state);
15233
15383
  const hasExpertSlot = showExpertSlot(this.state._label);
15234
- return (hAsync(Host, null, hAsync("kol-input", { class: {
15384
+ return (hAsync(Host, { key: '3e9589f1902103be9c9ed7347eac365c5555a34c' }, hAsync("kol-input", { key: '6f310044536e272fe74f395533c4f436133d2440', class: {
15235
15385
  checkbox: true,
15236
15386
  [this.state._variant]: true,
15237
15387
  'hide-label': !!this.state._hideLabel,
15238
15388
  checked: this.state._checked,
15239
15389
  indeterminate: this.state._indeterminate,
15240
- }, "data-role": this.state._variant === 'button' ? 'button' : undefined, onKeyPress: this.state._variant === 'button' ? this.onChange : 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("label", { slot: "input", class: "checkbox-container" }, hAsync("kol-icon", { class: "icon", _icons: this.state._indeterminate ? this.state._icons.indeterminate : this.state._checked ? this.state._icons.checked : this.state._icons.unchecked, _label: "" }), hAsync("input", Object.assign({ class: `checkbox-input-element${this.state._variant === 'button' ? ' visually-hidden' : ''}`, 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 }))))));
15390
+ }, "data-role": this.state._variant === 'button' ? 'button' : undefined, onKeyPress: this.state._variant === 'button' ? this.onChange : 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", { key: '2e3e0e5debe7102d24f6ea8d12ff9889ce7e01fe', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("label", { key: 'a4b5735954f4fb1a1d90870f08c963c8532f1c11', slot: "input", class: "checkbox-container" }, hAsync("kol-icon", { key: '6aef51233da37536004ca3baf88b128356058914', class: "icon", _icons: this.state._indeterminate ? this.state._icons.indeterminate : this.state._checked ? this.state._icons.checked : this.state._icons.unchecked, _label: "" }), hAsync("input", Object.assign({ key: '06fb3a9c5dc433e96933607d8bec92e586189d83', class: `checkbox-input-element${this.state._variant === 'button' ? ' visually-hidden' : ''}`, 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 }))))));
15241
15391
  }
15242
15392
  constructor(hostRef) {
15243
15393
  registerInstance(this, hostRef);
@@ -15292,7 +15442,7 @@ class KolInputCheckbox {
15292
15442
  _value: true,
15293
15443
  _variant: 'default',
15294
15444
  };
15295
- this.controller = new InputCheckboxController(this, 'input-checkbox', this.host);
15445
+ this.controller = new InputCheckboxController(this, 'checkbox', this.host);
15296
15446
  }
15297
15447
  validateAccessKey(value) {
15298
15448
  this.controller.validateAccessKey(value);
@@ -15515,10 +15665,10 @@ class KolInputColor {
15515
15665
  const { ariaDescribedBy } = getRenderStates(this.state);
15516
15666
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
15517
15667
  const hasExpertSlot = showExpertSlot(this.state._label);
15518
- return (hAsync(Host, null, hAsync("kol-input", { class: {
15668
+ return (hAsync(Host, { key: '0e16f9f2927ec02e72c4689044d48aa709e825e1' }, hAsync("kol-input", { key: '86fb6e8489c8828501bab5394c62a66bbb26df1e', class: {
15519
15669
  color: true,
15520
15670
  'hide-label': !!this.state._hideLabel,
15521
- }, _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(); }, role: `presentation` }, 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))))));
15671
+ }, _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(); }, role: `presentation` }, hAsync("span", { key: '187b54d97280c6fe4da049b9cd1304a703ab32c4', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: 'b18e47084eb0126f998b6567bb7b575b69538a15', slot: "input" }, hAsync("input", Object.assign({ key: '9255e5f72c4a20639499aec845449317b4d71a4e', 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))))));
15522
15672
  }
15523
15673
  constructor(hostRef) {
15524
15674
  registerInstance(this, hostRef);
@@ -15555,7 +15705,7 @@ class KolInputColor {
15555
15705
  _label: '…',
15556
15706
  _suggestions: [],
15557
15707
  };
15558
- this.controller = new InputColorController(this, 'input-color', this.host);
15708
+ this.controller = new InputColorController(this, 'color', this.host);
15559
15709
  }
15560
15710
  validateAccessKey(value) {
15561
15711
  this.controller.validateAccessKey(value);
@@ -15834,10 +15984,10 @@ class KolInputDate {
15834
15984
  const { ariaDescribedBy } = getRenderStates(this.state);
15835
15985
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
15836
15986
  const hasExpertSlot = showExpertSlot(this.state._label);
15837
- return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: {
15987
+ return (hAsync(Host, { key: 'a7939ff7a07ceb1f7d1353eb118135835c5efe8b', class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { key: '8e034cc422a6c55a5697ec7d88e79057c962525f', class: {
15838
15988
  [this.state._type]: true,
15839
15989
  'hide-label': !!this.state._hideLabel,
15840
- }, _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 }))))));
15990
+ }, _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", { key: '27402d1a52bab6253fdd00a2fe74e00b103f66f3', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: 'd645f8889c6cfafdbf119bb4e71698535aabb663', slot: "input" }, hAsync("input", Object.assign({ key: '2d7b453795f5f9bfbdb2fc788e95befc803c6465', 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 }))))));
15841
15991
  }
15842
15992
  constructor(hostRef) {
15843
15993
  registerInstance(this, hostRef);
@@ -15893,7 +16043,7 @@ class KolInputDate {
15893
16043
  _suggestions: [],
15894
16044
  _type: 'datetime-local',
15895
16045
  };
15896
- this.controller = new InputDateController(this, 'input-date', this.host);
16046
+ this.controller = new InputDateController(this, 'date', this.host);
15897
16047
  }
15898
16048
  validateAccessKey(value) {
15899
16049
  this.controller.validateAccessKey(value);
@@ -16184,9 +16334,9 @@ class KolInputEmail {
16184
16334
  const { ariaDescribedBy } = getRenderStates(this.state);
16185
16335
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
16186
16336
  const hasExpertSlot = showExpertSlot(this.state._label);
16187
- return (hAsync(Host, { class: {
16337
+ return (hAsync(Host, { key: '01c8ca031ea1865c96b5bc330b367fd614d80bb5', class: {
16188
16338
  'has-value': this.state._hasValue,
16189
- } }, 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(); }, role: `presentation` }, 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 }))))));
16339
+ } }, hAsync("kol-input", { key: '11df1e63cff7af57d8880abeeef7f9065cdc8cee', 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(); }, role: `presentation` }, hAsync("span", { key: '48afaefc49a29456ad14a76b4be7fab1a1ef2074', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: '7c90981b925209571446ead59bb1bddee7b6b789', slot: "input" }, hAsync("input", Object.assign({ key: '572e01e9686a08a92cbaeae84ca600d7a36d6d78', 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 }))))));
16190
16340
  }
16191
16341
  constructor(hostRef) {
16192
16342
  registerInstance(this, hostRef);
@@ -16245,7 +16395,7 @@ class KolInputEmail {
16245
16395
  _label: '…',
16246
16396
  _suggestions: [],
16247
16397
  };
16248
- this.controller = new InputEmailController(this, 'input-email', this.host);
16398
+ this.controller = new InputEmailController(this, 'email', this.host);
16249
16399
  }
16250
16400
  validateAccessKey(value) {
16251
16401
  this.controller.validateAccessKey(value);
@@ -16452,10 +16602,10 @@ class KolInputFile {
16452
16602
  render() {
16453
16603
  const { ariaDescribedBy } = getRenderStates(this.state);
16454
16604
  const hasExpertSlot = showExpertSlot(this.state._label);
16455
- return (hAsync(Host, null, hAsync("kol-input", { class: {
16605
+ return (hAsync(Host, { key: 'c539134ccffa259fabd21a191188654c70016d8f' }, hAsync("kol-input", { key: 'f566dfd52907707f5a38045c6541ca2de9cb45bd', class: {
16456
16606
  file: true,
16457
16607
  'hide-label': !!this.state._hideLabel,
16458
- }, _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(); }, role: `presentation` }, 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 }))))));
16608
+ }, _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(); }, role: `presentation` }, hAsync("span", { key: 'cb76cd13e9357276695d090da2154e350abc298d', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: 'd8d9ce4350121b3422bb0e768825c0cba596fa64', slot: "input" }, hAsync("input", Object.assign({ key: 'ac67747b45cc9929bea1170ee91ac1d57079fa20', 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 }))))));
16459
16609
  }
16460
16610
  constructor(hostRef) {
16461
16611
  registerInstance(this, hostRef);
@@ -16502,7 +16652,7 @@ class KolInputFile {
16502
16652
  _id: `id-${nonce()}`,
16503
16653
  _label: '…',
16504
16654
  };
16505
- this.controller = new InputFileController(this, 'input-file', this.host);
16655
+ this.controller = new InputFileController(this, 'file', this.host);
16506
16656
  }
16507
16657
  validateAccept(value) {
16508
16658
  this.controller.validateAccept(value);
@@ -16729,12 +16879,12 @@ class KolInputNumber {
16729
16879
  const { ariaDescribedBy } = getRenderStates(this.state);
16730
16880
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
16731
16881
  const hasExpertSlot = showExpertSlot(this.state._label);
16732
- return (hAsync(Host, { class: {
16882
+ return (hAsync(Host, { key: 'a9748277cee819adce6b127081f0cfa5441d682b', class: {
16733
16883
  'has-value': this.state._hasValue,
16734
- } }, hAsync("kol-input", { class: {
16884
+ } }, hAsync("kol-input", { key: '40ecd8ff4de1b9ad3f97b33bab7bd454d8de7882', class: {
16735
16885
  [this.state._type]: true,
16736
16886
  'hide-label': !!this.state._hideLabel,
16737
- }, _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 }))))));
16887
+ }, _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", { key: '07baca12888890bf6ea393e4c7114b5d8ec451fc', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: '643d5ba030e94ce9da1c2215f112d7bc765d735b', slot: "input" }, hAsync("input", Object.assign({ key: '8f01ed8220657ad891bf2825f847d05a45af88d7', 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 }))))));
16738
16888
  }
16739
16889
  constructor(hostRef) {
16740
16890
  registerInstance(this, hostRef);
@@ -16791,7 +16941,7 @@ class KolInputNumber {
16791
16941
  _suggestions: [],
16792
16942
  _type: 'number',
16793
16943
  };
16794
- this.controller = new InputNumberController(this, 'input-number', this.host);
16944
+ this.controller = new InputNumberController(this, 'number', this.host);
16795
16945
  }
16796
16946
  validateAccessKey(value) {
16797
16947
  this.controller.validateAccessKey(value);
@@ -16970,12 +17120,12 @@ class KolInputPassword {
16970
17120
  render() {
16971
17121
  const { ariaDescribedBy } = getRenderStates(this.state);
16972
17122
  const hasExpertSlot = showExpertSlot(this.state._label);
16973
- return (hAsync(Host, { class: {
17123
+ return (hAsync(Host, { key: '7736f862e07440f19114335d48657adcea46b951', class: {
16974
17124
  'has-value': this.state._hasValue,
16975
- } }, hAsync("kol-input", { class: {
17125
+ } }, hAsync("kol-input", { key: '173f549a9cb3364b81740c63f75e58e5726ac157', class: {
16976
17126
  'hide-label': !!this.state._hideLabel,
16977
17127
  password: true,
16978
- }, _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(); }, role: `presentation` }, 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 }))))));
17128
+ }, _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(); }, role: `presentation` }, hAsync("span", { key: '92e89e0ad7da94aa7aa18e8127861f0a4ab9bef9', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: '90fefb9899d9e05cce1f29ff7bdfcfc99ecc1e11', slot: "input" }, hAsync("input", Object.assign({ key: 'be6663629e465217015c54a9ef78fafe5a21891d', 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 }))))));
16979
17129
  }
16980
17130
  constructor(hostRef) {
16981
17131
  registerInstance(this, hostRef);
@@ -17030,7 +17180,7 @@ class KolInputPassword {
17030
17180
  _id: `id-${nonce()}`,
17031
17181
  _label: '…',
17032
17182
  };
17033
- this.controller = new InputPasswordController(this, 'input-password', this.host);
17183
+ this.controller = new InputPasswordController(this, 'password', this.host);
17034
17184
  }
17035
17185
  validateAccessKey(value) {
17036
17186
  this.controller.validateAccessKey(value);
@@ -17198,13 +17348,13 @@ class KolInputRadio {
17198
17348
  render() {
17199
17349
  const { ariaDescribedBy, hasError } = getRenderStates(this.state);
17200
17350
  const hasExpertSlot = showExpertSlot(this.state._label);
17201
- return (hAsync(Host, null, hAsync("fieldset", { class: {
17351
+ return (hAsync(Host, { key: '515c7bc42989a97794fb454999439e1ce017d5a7' }, hAsync("fieldset", { key: '60d734fef274115e225e8e39cf012138ee614ffa', class: {
17202
17352
  disabled: this.state._disabled === true,
17203
17353
  error: hasError === true,
17204
17354
  required: this.state._required === true,
17205
17355
  'hidden-error': this._hideError === true,
17206
17356
  [this.state._orientation]: true,
17207
- } }, 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) => {
17357
+ } }, hAsync("legend", { key: '5a45ea8d6231420bf7b642fbed4f428af07aaed9', class: "block w-full mb-1 leading-normal" }, hAsync("span", { key: 'c84d8dcdb811a98faab88a367fdb7ba2fbb058cd' }, hAsync("span", { key: 'eec4d1c9940d5f8eb991343be28982e7fce2a9bb', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label))), this.state._options.map((option, index) => {
17208
17358
  const customId = `${this.state._id}-${index}`;
17209
17359
  const slotName = `radio-${index}`;
17210
17360
  return (hAsync("kol-input", { class: {
@@ -17265,7 +17415,7 @@ class KolInputRadio {
17265
17415
  _options: [],
17266
17416
  _orientation: 'vertical',
17267
17417
  };
17268
- this.controller = new InputRadioController(this, 'input-radio', this.host);
17418
+ this.controller = new InputRadioController(this, 'radio', this.host);
17269
17419
  }
17270
17420
  validateAccessKey(value) {
17271
17421
  this.controller.validateAccessKey(value);
@@ -17410,7 +17560,7 @@ class KolInputRadioGroup {
17410
17560
  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.
17411
17561
 
17412
17562
  Mit der Version 1.1 wird die Komponente KolInputRadioGroup aus der Bibliothek entfernt.`);
17413
- 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)));
17563
+ return (hAsync("kol-input-radio", { key: '573d500e6df9c89211ee2a52e44c110af20711e9', _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", { key: '3227de03fd2efe1cbfe6cb1f098072efb93bee6a' })));
17414
17564
  }
17415
17565
  static get cmpMeta() { return {
17416
17566
  "$flags$": 9,
@@ -17494,12 +17644,12 @@ class KolInputRange {
17494
17644
  const { ariaDescribedBy } = getRenderStates(this.state);
17495
17645
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
17496
17646
  const hasExpertSlot = showExpertSlot(this.state._label);
17497
- return (hAsync(Host, null, hAsync("kol-input", { class: {
17647
+ return (hAsync(Host, { key: 'bd713229ee3ac562b5d954abcbdb35dc3459a202' }, hAsync("kol-input", { key: '0790ebec34ce9ed23529efd439a617a362287a85', class: {
17498
17648
  range: true,
17499
17649
  'hide-label': !!this.state._hideLabel,
17500
- }, _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: {
17650
+ }, _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", { key: 'c8b8fbf6f99e9d5a8e20adbe62a60360a240c59b', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: 'c7776296ab581b85f32853b6ca7acf1f55ae9b1d', slot: "input" }, hAsync("div", { key: '77994219a957c789271b9c3f9869c59e562dca45', class: "inputs-wrapper", style: {
17501
17651
  '--kolibri-input-range--input-number--width': `${this.state._max}`.length + 0.5 + 'em',
17502
- } }, hAsync("input", Object.assign({ ref: this.catchInputRangeRef, 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, "aria-hidden": "true", 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 && [
17652
+ } }, hAsync("input", Object.assign({ key: '9a405810b39660491228eda68ff54551a24fae62', ref: this.catchInputRangeRef, 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, "aria-hidden": "true", 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({ key: '52a0e7052e75a0564e09fd862e154601b48b30f7', 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 && [
17503
17653
  hAsync("datalist", { id: `${this.state._id}-list` }, this.state._suggestions.map((option) => (hAsync("option", { value: option })))),
17504
17654
  ]))));
17505
17655
  }
@@ -17574,7 +17724,7 @@ class KolInputRange {
17574
17724
  _label: '…',
17575
17725
  _suggestions: [],
17576
17726
  };
17577
- this.controller = new InputRangeController(this, 'input-range', this.host);
17727
+ this.controller = new InputRangeController(this, 'range', this.host);
17578
17728
  }
17579
17729
  validateAccessKey(value) {
17580
17730
  this.controller.validateAccessKey(value);
@@ -17728,12 +17878,12 @@ class KolInputText {
17728
17878
  const { ariaDescribedBy } = getRenderStates(this.state);
17729
17879
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
17730
17880
  const hasExpertSlot = showExpertSlot(this.state._label);
17731
- return (hAsync(Host, { class: {
17881
+ return (hAsync(Host, { key: '1a29c5451db5c23c9c05bae0ac6321b1e89e34d3', class: {
17732
17882
  'has-value': this.state._hasValue,
17733
- } }, hAsync("kol-input", { class: {
17883
+ } }, hAsync("kol-input", { key: 'b4c1540403fec357830d855ee82cf816ec0f8251', class: {
17734
17884
  [this.state._type]: true,
17735
17885
  'hide-label': !!this.state._hideLabel,
17736
- }, _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(); }, role: `presentation` }, 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 }))))));
17886
+ }, _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(); }, role: `presentation` }, hAsync("span", { key: '986082f361c179298755864962015c99d07db107', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: 'e12c4b1d18b45bc7907e03d52f9df372dda1785e', slot: "input" }, hAsync("input", Object.assign({ key: 'bf0942100325219e62df6063e92556b44cc4e4ba', 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 }))))));
17737
17887
  }
17738
17888
  constructor(hostRef) {
17739
17889
  registerInstance(this, hostRef);
@@ -17803,7 +17953,7 @@ class KolInputText {
17803
17953
  _suggestions: [],
17804
17954
  _type: 'text',
17805
17955
  };
17806
- this.controller = new InputTextController(this, 'input-text', this.host);
17956
+ this.controller = new InputTextController(this, 'text', this.host);
17807
17957
  }
17808
17958
  validateAccessKey(value) {
17809
17959
  this.controller.validateAccessKey(value);
@@ -18013,7 +18163,7 @@ class KolKolibri {
18013
18163
  }
18014
18164
  render() {
18015
18165
  const fillColor = `rgb(${this.state._color.red},${this.state._color.green},${this.state._color.blue})`;
18016
- return (hAsync(Host, null, hAsync("svg", { role: "img", "aria-label": translate('kol-kolibri-logo'), xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 600 600", fill: fillColor }, hAsync("path", { d: "M353 322L213 304V434L353 322Z" }), hAsync("path", { d: "M209 564V304L149 434L209 564Z" }), hAsync("path", { d: "M357 316L417 250L361 210L275 244L357 316Z" }), hAsync("path", { d: "M329 218L237 92L250 222L272 241L329 218Z" }), hAsync("path", { d: "M353 318L35 36L213 300L353 318Z" }), hAsync("path", { d: "M391 286L565 272L421 252L391 286Z" }), this.state._labeled === true && (hAsync("text", { x: "250", y: "525", fill: fillColor }, "KoliBri")))));
18166
+ return (hAsync(Host, { key: 'e91b308413c63a91d3d470be79f4d69f428eae2d' }, hAsync("svg", { key: '2b2fd488cc1fa7208b802e1d6fa52ff0450b56c6', role: "img", "aria-label": translate('kol-kolibri-logo'), xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 600 600", fill: fillColor }, hAsync("path", { key: 'f89dd3983aa16dfe3489e57f6eb8c2ed846f0be4', d: "M353 322L213 304V434L353 322Z" }), hAsync("path", { key: '69dc26bdf907ca3b8bc672f0efbdf6d7762d11fa', d: "M209 564V304L149 434L209 564Z" }), hAsync("path", { key: '38d1f715be410cd25207bc7bb7f95951c4a49db7', d: "M357 316L417 250L361 210L275 244L357 316Z" }), hAsync("path", { key: '08a98beb3d1e21dc4b8beb7550e8d209e94b18f3', d: "M329 218L237 92L250 222L272 241L329 218Z" }), hAsync("path", { key: '066236218d9e29ce6677932b17f13d97ab67b0ab', d: "M353 318L35 36L213 300L353 318Z" }), hAsync("path", { key: '6bbfe9422332e76cdcae2b42fc970421c90f93b0', d: "M391 286L565 272L421 252L391 286Z" }), this.state._labeled === true && (hAsync("text", { x: "250", y: "525", fill: fillColor }, "KoliBri")))));
18017
18167
  }
18018
18168
  validateColor(value) {
18019
18169
  validateColor(this, value, {
@@ -18087,7 +18237,7 @@ class KolLink {
18087
18237
  this._useCase = 'text';
18088
18238
  }
18089
18239
  render() {
18090
- 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, _tooltipAlign: this._tooltipAlign, _useCase: this._useCase }, hAsync("slot", { name: "expert", slot: "expert" }), hAsync("slot", { slot: "expert" }))));
18240
+ return (hAsync(Host, { key: 'eb3715ec38647a9077b26e3091a2a8bdbf907c62' }, hAsync("kol-link-wc", { key: 'c6ad6bc86b15a9f2ea02c91f698a82e9ae0e392c', 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, _tooltipAlign: this._tooltipAlign, _useCase: this._useCase }, hAsync("slot", { key: '303d1bbf2c0db58fbe429f6080d56b3d456f8f0c', name: "expert", slot: "expert" }), hAsync("slot", { key: '7c3259998fe4ec8192b320781accdcdd5d038040', slot: "expert" }))));
18091
18241
  }
18092
18242
  get host() { return getElement(this); }
18093
18243
  static get style() { return {
@@ -18158,11 +18308,11 @@ class KolLinkButton {
18158
18308
  this._variant = 'normal';
18159
18309
  }
18160
18310
  render() {
18161
- return (hAsync(Host, null, hAsync("kol-link-wc", { ref: this.catchRef, class: {
18311
+ return (hAsync(Host, { key: '402ef735b290dfcc919bd4378e0ea565e81facf2' }, hAsync("kol-link-wc", { key: '98357beb8cf1d50c9d1d10b2a9460c23a8d06612', ref: this.catchRef, class: {
18162
18312
  button: true,
18163
18313
  [this._variant]: this._variant !== 'custom',
18164
18314
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
18165
- }, _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, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { name: "expert", slot: "expert" }))));
18315
+ }, _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, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { key: '16ca94931954f62cf2a0436bfdd463ae28a76b6d', name: "expert", slot: "expert" }))));
18166
18316
  }
18167
18317
  get host() { return getElement(this); }
18168
18318
  static get style() { return {
@@ -18235,7 +18385,7 @@ class KolLinkGroup {
18235
18385
  }
18236
18386
  render() {
18237
18387
  var _a;
18238
- return (hAsync("nav", { "aria-label": this.state._label, class: {
18388
+ return (hAsync("nav", { key: '80528f3aea5083b8c38a525d16a516a984be9c89', "aria-label": this.state._label, class: {
18239
18389
  vertical: this.state._orientation === 'vertical',
18240
18390
  horizontal: this.state._orientation === 'horizontal',
18241
18391
  } }, 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 })))));
@@ -18452,7 +18602,7 @@ class KolLinkWc {
18452
18602
  render() {
18453
18603
  const { isExternal, tagAttrs, goToProps } = this.getRenderValues();
18454
18604
  const hasExpertSlot = showExpertSlot(this.state._label);
18455
- 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'
18605
+ return (hAsync(Host, { key: '9201bb10f5792a2919a139d70e770d4dec308246' }, hAsync("a", Object.assign({ key: '7291aaa7ba79a39fc32d8464824c953f306d83e7', 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'
18456
18606
  ? `${this.state._label}${isExternal ? ` (${translate('kol-open-link-in-tab')})` : ''}`
18457
18607
  : undefined, "aria-selected": mapBoolean2String(this.state._ariaSelected), class: {
18458
18608
  disabled: this.state._disabled === true,
@@ -18460,7 +18610,7 @@ class KolLinkWc {
18460
18610
  'icon-only': this.state._hideLabel === true,
18461
18611
  'hide-label': this.state._hideLabel === true,
18462
18612
  'external-link': isExternal,
18463
- } }, 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._hideLabel ? '' : translate('kol-open-link-in-tab'), _icons: 'codicon codicon-link-external', "aria-hidden": this.state._hideLabel }))), hAsync("kol-tooltip-wc", { "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href })));
18613
+ } }, this.state._on, { onClick: this.onClick, onKeyPress: this.onClick }, goToProps, { role: this.state._role, tabIndex: this.state._tabIndex }), hAsync("kol-span-wc", { key: 'e562c195cbebc81c20187ffe4fabfc18056e45e7', _icons: this.state._icons, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? '' : this.state._label || this.state._href }, hAsync("slot", { key: '01185b36134df7a0acdf06a30824800230ebf47a', name: "expert", slot: "expert" })), isExternal && (hAsync("kol-icon", { class: "external-link-icon", _label: this.state._hideLabel ? '' : translate('kol-open-link-in-tab'), _icons: 'codicon codicon-link-external', "aria-hidden": this.state._hideLabel }))), hAsync("kol-tooltip-wc", { key: '629160b8d5de598b088e05f253827aa07f64cad2', "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href })));
18464
18614
  }
18465
18615
  validateAriaControls(value) {
18466
18616
  validateAriaControls(this, value);
@@ -18836,7 +18986,7 @@ class KolLogo {
18836
18986
  }
18837
18987
  render() {
18838
18988
  var _a;
18839
- return (hAsync("svg", { "aria-label": translate('kol-logo-description', { placeholders: { orgShort: this.state._org, orgLong: getAriaLabel(this.state._org) } }), role: "img", viewBox: "0 0 225 100" }, hAsync("rect", { width: "100%", height: "100%", fill: "white" }), hAsync("svg", { x: "0", y: "4", height: "75" }, hAsync(Adler, null)), hAsync("svg", { x: "40.5", y: "3.5", height: "100" }, hAsync("rect", { width: "5", height: "30" }), hAsync("rect", { y: "30", width: "5", height: "30", fill: "red" }), hAsync("rect", { y: "60", width: "5", height: "30", fill: "#fc0" })), hAsync("svg", { x: "50", y: "0" }, hAsync("text", { x: "0", y: "-0.05em", "font-family": "BundesSans Web", style: { backgroundColor: 'white', color: 'black' } }, BUND_LOGO_TEXT_MAP.has(this.state._org) ? (hAsync("tspan", null, (_a = BUND_LOGO_TEXT_MAP.get(this.state._org)) === null || _a === void 0 ? void 0 : _a.map((text, index) => {
18989
+ return (hAsync("svg", { key: '120145309d86c12979fa05bfdf0eb8a154f72c85', "aria-label": translate('kol-logo-description', { placeholders: { orgShort: this.state._org, orgLong: getAriaLabel(this.state._org) } }), role: "img", viewBox: "0 0 225 100" }, hAsync("rect", { key: '80ef91901c5603b203dc41929115530896d5f83e', width: "100%", height: "100%", fill: "white" }), hAsync("svg", { key: 'ac4b76f90a05f294399e0e86697632f1c2af9441', x: "0", y: "4", height: "75" }, hAsync(Adler, { key: '538bf6e666341f1f613d978831ce89736cf86a99' })), hAsync("svg", { key: 'ff6d5f0c71b87c4218c44e6b94e0314d76d34dd6', x: "40.5", y: "3.5", height: "100" }, hAsync("rect", { key: '0f1bfb66248a62a42408e54c7a252d493c4af708', width: "5", height: "30" }), hAsync("rect", { key: '21c6e6f4589ca4839480048607392d7844e9067d', y: "30", width: "5", height: "30", fill: "red" }), hAsync("rect", { key: '0ab55202ff71653d1cd0a40dd721c43977df6bc6', y: "60", width: "5", height: "30", fill: "#fc0" })), hAsync("svg", { key: 'd2212bcdcb6afbece2d94f0c94fa1da91f5355ef', x: "50", y: "0" }, hAsync("text", { key: 'e2ae88a0ea0da6afa29b92129185198f8fecacb8', x: "0", y: "-0.05em", "font-family": "BundesSans Web", style: { backgroundColor: 'white', color: 'black' } }, BUND_LOGO_TEXT_MAP.has(this.state._org) ? (hAsync("tspan", null, (_a = BUND_LOGO_TEXT_MAP.get(this.state._org)) === null || _a === void 0 ? void 0 : _a.map((text, index) => {
18840
18990
  return (hAsync("tspan", { x: "0", dy: "1.1em", key: `kol-logo-text-${index}` }, text));
18841
18991
  }))) : (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.")))))));
18842
18992
  }
@@ -18899,7 +19049,7 @@ class KolModal {
18899
19049
  }
18900
19050
  }
18901
19051
  render() {
18902
- return (hAsync(Host, { ref: (el) => {
19052
+ return (hAsync(Host, { key: 'e12517d7dd2dd87ac02746af6a7906d7bf00df7c', ref: (el) => {
18903
19053
  this.hostElement = el;
18904
19054
  } }, this.state._activeElement && (hAsync("div", { class: "overlay" }, hAsync("div", { class: "modal", style: {
18905
19055
  width: this.state._width,
@@ -19055,10 +19205,10 @@ class KolNav {
19055
19205
  const collapsible = this.state._collapsible === true;
19056
19206
  const hideLabel = this.state._hideLabel === true;
19057
19207
  const orientation = this.state._orientation;
19058
- return (hAsync(Host, null, hAsync("div", { class: {
19208
+ return (hAsync(Host, { key: 'cf4267e07292edd55fef0d781af3914ce2419012' }, hAsync("div", { key: '816ac2cf881fd3b5fc431a3a88b934b22cce2214', class: {
19059
19209
  [orientation]: true,
19060
19210
  [this.state._variant]: true,
19061
- } }, 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: {
19211
+ } }, hAsync("nav", { key: 'bad828a3a972631cfc94ae99bc14f79917cc22fe', "aria-label": this.state._label, id: "nav" }, hAsync(this.linkList, { key: '5bf63301f434937fc4a3a09ce0d16b2e3bae66d3', 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: {
19062
19212
  onClick: () => {
19063
19213
  this.state = Object.assign(Object.assign({}, this.state), { _hideLabel: this.state._hideLabel === false });
19064
19214
  },
@@ -21093,7 +21243,7 @@ class KolPopover {
21093
21243
  (_a = document.scrollingElement) === null || _a === void 0 ? void 0 : _a.removeEventListener('scroll', this.showPopover);
21094
21244
  }
21095
21245
  render() {
21096
- return (hAsync(Host, { ref: this.catchHostAndTriggerElement }, hAsync("div", { class: { popover: true, hidden: !this.state._show, show: this.state._visible }, ref: this.catchPopoverElement }, hAsync("div", { class: `arrow ${this.state._align}`, ref: this.catchArrowElement }), hAsync("slot", null))));
21246
+ return (hAsync(Host, { key: '3fd3068c0582b286f2791afdc22547cc6ccdabc6', ref: this.catchHostAndTriggerElement }, hAsync("div", { key: 'edd1a77f65a9545cc477571e90d9a91b09bed747', class: { popover: true, hidden: !this.state._show, show: this.state._visible }, ref: this.catchPopoverElement }, hAsync("div", { key: '7ce5af20fc6284d5912eb6c2d9f188d858d36033', class: `arrow ${this.state._align}`, ref: this.catchArrowElement }), hAsync("slot", { key: '6678c27b47e83861139a3750531cf45240f4a594' }))));
21097
21247
  }
21098
21248
  validateAlign(value) {
21099
21249
  validateAlign(this, value);
@@ -21175,7 +21325,7 @@ class KolProcess {
21175
21325
  };
21176
21326
  }
21177
21327
  render() {
21178
- return (hAsync(Host, null, createProgressSVG(this.state), hAsync("progress", { "aria-busy": this.state._value < this.state._max ? 'true' : 'false', max: this.state._max, value: this.state._value }), hAsync("span", { "aria-live": "polite", "aria-relevant": "removals text", hidden: true }, this.state._liveValue, " von ", this.state._max, " ", this.state._unit)));
21328
+ return (hAsync(Host, { key: '7c5b72c294d76a569e1a1ec7b10aae5d97bc2ff4' }, createProgressSVG(this.state), hAsync("progress", { key: '3e7ca0cacc2f5b3aad5f68d796f38c2471406d6b', "aria-busy": this.state._value < this.state._max ? 'true' : 'false', max: this.state._max, value: this.state._value }), hAsync("span", { key: '448ca430be063f58130771e71a8201ac1dab5089', "aria-live": "polite", "aria-relevant": "removals text", hidden: true }, this.state._liveValue, " von ", this.state._max, " ", this.state._unit)));
21179
21329
  }
21180
21330
  validateLabel(value) {
21181
21331
  validateLabel(this, value);
@@ -21293,7 +21443,7 @@ class KolQuote {
21293
21443
  }
21294
21444
  render() {
21295
21445
  const hasExpertSlot = showExpertSlot(this.state._quote);
21296
- return (hAsync(Host, null, hAsync("figure", { class: {
21446
+ return (hAsync(Host, { key: 'd7e18d09d749c969274be2240c8d499e76199c2f' }, hAsync("figure", { key: '18a29720fa2f2eaf8fa3c41912ce5b3c3fe31ff4', class: {
21297
21447
  [this.state._variant]: true,
21298
21448
  } }, 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" })))))));
21299
21449
  }
@@ -21443,10 +21593,10 @@ class KolSelect {
21443
21593
  render() {
21444
21594
  const { ariaDescribedBy } = getRenderStates(this.state);
21445
21595
  const hasExpertSlot = showExpertSlot(this.state._label);
21446
- return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: {
21596
+ return (hAsync(Host, { key: 'b932d777ac13c627cfc6e10705197c968c20ac94', class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { key: 'b05cee642950421d1acf8a96b6a8cac5af19ebf0', class: {
21447
21597
  'hide-label': !!this.state._hideLabel,
21448
21598
  select: true,
21449
- }, _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(); }, role: `presentation` }, 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: {
21599
+ }, _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(); }, role: `presentation` }, hAsync("span", { key: '2911a3254ac87ca007f0792ff61cad7b0733d40d', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: '819ff89c6e60281cd49add83a8ba7a48bdbe3f2b', slot: "input" }, hAsync("select", { key: 'd3f28dcb1b69416ecb4b4489ffebc02afaac1fcb', 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: {
21450
21600
  height: this.state._height,
21451
21601
  }, onClick: this.controller.onFacade.onClick,
21452
21602
  onBlur: this.controller.onFacade.onBlur,
@@ -21676,7 +21826,7 @@ class KolSkipNav {
21676
21826
  };
21677
21827
  }
21678
21828
  render() {
21679
- return (hAsync("nav", { "aria-label": this.state._label }, hAsync("ul", null, this.state._links.map((link, index) => {
21829
+ return (hAsync("nav", { key: '8ec0b3a2de8c96ad8538dad8db2ce8c5b2ad2667', "aria-label": this.state._label }, hAsync("ul", { key: '644b35fbe9ac6d486c0e098a7e588878e13dac80' }, this.state._links.map((link, index) => {
21680
21830
  return (hAsync("li", { key: index }, hAsync("kol-link-wc", Object.assign({}, link))));
21681
21831
  }))));
21682
21832
  }
@@ -21738,7 +21888,7 @@ class KolSpan {
21738
21888
  this._label = undefined;
21739
21889
  }
21740
21890
  render() {
21741
- return (hAsync("kol-span-wc", { _icons: this._icons || this._icon, _hideLabel: this._hideLabel, _label: this._label }, hAsync("slot", { name: "expert", slot: "expert" })));
21891
+ return (hAsync("kol-span-wc", { key: '76067a8adf112183b6d04b05ee9f521903eaf840', _icons: this._icons || this._icon, _hideLabel: this._hideLabel, _label: this._label }, hAsync("slot", { key: 'df6518b1e9775d64c12295efe403403da58715f2', name: "expert", slot: "expert" })));
21742
21892
  }
21743
21893
  static get style() { return {
21744
21894
  default: KolSpanDefaultStyle0
@@ -30062,10 +30212,10 @@ class KolSpanWc {
30062
30212
  render() {
30063
30213
  var _a, _b, _c, _d, _e;
30064
30214
  const hideExpertSlot = !showExpertSlot(this.state._label);
30065
- return (hAsync(Host, { class: {
30215
+ return (hAsync(Host, { key: '5fc97f91b8dec7e2ad149a1af44a7204bc902e79', class: {
30066
30216
  'icon-only': !!this.state._hideLabel,
30067
30217
  'hide-label': !!this.state._hideLabel,
30068
- } }, this.state._icons.top && (hAsync("kol-icon", { class: "icon top", style: this.state._icons.top.style, _label: (_a = this.state._icons.top.label) !== null && _a !== void 0 ? _a : '', _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: (_b = this.state._icons.left.label) !== null && _b !== void 0 ? _b : '', _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" }, (_c = this.state._label) !== null && _c !== void 0 ? _c : ''))) : (''), 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: (_d = this.state._icons.right.label) !== null && _d !== void 0 ? _d : '', _icons: this.state._icons.right.icon }))), this.state._icons.bottom && (hAsync("kol-icon", { class: "icon bottom", style: this.state._icons.bottom.style, _label: (_e = this.state._icons.bottom.label) !== null && _e !== void 0 ? _e : '', _icons: this.state._icons.bottom.icon }))));
30218
+ } }, this.state._icons.top && (hAsync("kol-icon", { class: "icon top", style: this.state._icons.top.style, _label: (_a = this.state._icons.top.label) !== null && _a !== void 0 ? _a : '', _icons: this.state._icons.top.icon })), hAsync("span", { key: '94063870a7800b31838e9661fcdf652443b7cfbc' }, this.state._icons.left && (hAsync("kol-icon", { class: "icon left", style: this.state._icons.left.style, _label: (_b = this.state._icons.left.label) !== null && _b !== void 0 ? _b : '', _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" }, (_c = this.state._label) !== null && _c !== void 0 ? _c : ''))) : (''), hAsync("span", { key: '77083a652d6c9e05528f49d9413d6614f8b3ecb9', "aria-hidden": hideExpertSlot ? 'true' : undefined, class: "span-label", hidden: hideExpertSlot }, hAsync("slot", { key: '453158202d2c93980e1febaeb76b5dc5a63bd9e8', name: "expert" })), this.state._icons.right && (hAsync("kol-icon", { class: "icon right", style: this.state._icons.right.style, _label: (_d = this.state._icons.right.label) !== null && _d !== void 0 ? _d : '', _icons: this.state._icons.right.icon }))), this.state._icons.bottom && (hAsync("kol-icon", { class: "icon bottom", style: this.state._icons.bottom.style, _label: (_e = this.state._icons.bottom.label) !== null && _e !== void 0 ? _e : '', _icons: this.state._icons.bottom.icon }))));
30069
30219
  }
30070
30220
  validateAllowMarkdown(value) {
30071
30221
  watchBoolean(this, '_allowMarkdown', value, {
@@ -30151,7 +30301,7 @@ class KolSpin {
30151
30301
  };
30152
30302
  }
30153
30303
  render() {
30154
- return (hAsync(Host, null, this.state._show ? (hAsync("span", { "aria-busy": "true", "aria-label": translate('kol-action-running'), "aria-live": "polite", class: {
30304
+ return (hAsync(Host, { key: 'acea6ca3c535ee30fa850c122b56704db547e8e3' }, this.state._show ? (hAsync("span", { "aria-busy": "true", "aria-label": translate('kol-action-running'), "aria-live": "polite", class: {
30155
30305
  spin: true,
30156
30306
  [this.state._variant]: true,
30157
30307
  }, role: "alert" }, renderSpin(this.state._variant))) : (this.showToggled && hAsync("span", { "aria-label": translate('kol-action-done'), "aria-busy": "false", "aria-live": "polite", role: "alert" }))));
@@ -30274,12 +30424,12 @@ class KolSplitButton {
30274
30424
  };
30275
30425
  }
30276
30426
  render() {
30277
- return (hAsync(Host, null, hAsync("kol-button-wc", { class: {
30427
+ return (hAsync(Host, { key: '77a40c57394a116af5fd949db3e0db294c78ed03' }, hAsync("kol-button-wc", { key: 'f2351f1fc873029a149d3cadba087b6ae454b67c', class: {
30278
30428
  'main-button': true,
30279
30429
  button: true,
30280
30430
  [this._variant]: this._variant !== 'custom',
30281
30431
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
30282
- }, _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)))));
30432
+ }, _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", { key: '8ff44a6250eefc056b9ce78916332aef97e05a8f', class: "horizontal-line" }), hAsync("kol-button-wc", { key: 'cfa410189c5cf8f2cb06ec2f3e02383ba4ae431b', 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", { key: 'd9d4d37a72a781e57bacb4f5c501c6e2a98459b3', class: "popover", ref: this.catchDropdownElements }, hAsync("div", { key: '4517c49f73440929a898250a88b31c2b4cd3e19d', class: "popover-content" }, hAsync("slot", { key: '5da8c5c3489e6fc93e50f4998d3d31e2dc216307' })))));
30283
30433
  }
30284
30434
  validateShowDropdown(value) {
30285
30435
  this.validateShow(value);
@@ -30349,7 +30499,7 @@ class KolSymbol {
30349
30499
  };
30350
30500
  }
30351
30501
  render() {
30352
- return (hAsync(Host, null, hAsync("span", { "aria-label": this.state._label, role: "term" }, this.state._symbol)));
30502
+ return (hAsync(Host, { key: '2d5a491f86548d3ae09f56e3445ca224fe6a7db9' }, hAsync("span", { key: '8c23febba820e390d90650f88affa5fe59325a5f', "aria-label": this.state._label, role: "term" }, this.state._symbol)));
30353
30503
  }
30354
30504
  validateAriaLabel(value) {
30355
30505
  this.validateLabel(value);
@@ -30849,11 +30999,11 @@ class KolTable {
30849
30999
  var _a, _b;
30850
31000
  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);
30851
31001
  const dataField = this.createDataField(displayedData, this.state._headers);
30852
- return (hAsync(Host, null, 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", { ref: (element) => (this.tableDivElement = element), class: "table", tabindex: "-1", onMouseDown: (event) => {
31002
+ return (hAsync(Host, { key: 'f794beeff78b8ce946e98c0a4f10be2e55729783' }, 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", { key: '98f7c3ca6d5d59e09bbade107641460898d51477', ref: (element) => (this.tableDivElement = element), class: "table", tabindex: "-1", onMouseDown: (event) => {
30853
31003
  event.preventDefault();
30854
- } }, hAsync("table", { style: {
31004
+ } }, hAsync("table", { key: 'd0d6ffe63fbeac62252a13212e7f80ce64ba01ee', style: {
30855
31005
  minWidth: this.state._minWidth,
30856
- } }, hAsync("caption", { tabindex: this.tableDivElementHasScrollbar ? '0' : undefined }, 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) => {
31006
+ } }, hAsync("caption", { key: 'f1e234380539c835b369d15bab9ac71f4db64f1e', tabindex: this.tableDivElementHasScrollbar ? '0' : undefined }, 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) => {
30857
31007
  if (col.asTd === true) {
30858
31008
  return (hAsync("td", { key: `thead-${rowIndex}-${colIndex}-${col.label}`, class: {
30859
31009
  [col.textAlign]: typeof col.textAlign === 'string' && col.textAlign.length > 0,
@@ -30903,7 +31053,7 @@ class KolTable {
30903
31053
  },
30904
31054
  } })) : (col.label)));
30905
31055
  }
30906
- })))))), hAsync("tbody", null, dataField.map(this.renderTableRow)), this.state._dataFoot.length > 0 ? this.renderFoot() : ''))));
31056
+ })))))), hAsync("tbody", { key: '9e4e017a420d45539a9144c3a731f7f0563f1753' }, dataField.map(this.renderTableRow)), this.state._dataFoot.length > 0 ? this.renderFoot() : ''))));
30907
31057
  }
30908
31058
  static get watchers() { return {
30909
31059
  "_caption": ["validateCaption"],
@@ -31091,11 +31241,11 @@ class KolTabs {
31091
31241
  } }))));
31092
31242
  }
31093
31243
  render() {
31094
- return (hAsync(Host, null, hAsync("div", { ref: (el) => {
31244
+ return (hAsync(Host, { key: 'be1e630d4846c8ef49d61c9cab2552124894a3ad' }, hAsync("div", { key: '9aab458792e5d7837f1c1fd161ec45b6f35e9be1', ref: (el) => {
31095
31245
  this.tabPanelsElement = el;
31096
31246
  }, class: {
31097
31247
  [`tabs-align-${this.state._align}`]: true,
31098
- } }, this.renderButtonGroup(), hAsync("div", { ref: this.catchTabPanelHost }))));
31248
+ } }, this.renderButtonGroup(), hAsync("div", { key: 'c1a2e1a886e97df496dae2528502fe3932c06122', ref: this.catchTabPanelHost }))));
31099
31249
  }
31100
31250
  validateAlign(value) {
31101
31251
  validateAlign(this, value);
@@ -31311,7 +31461,7 @@ class KolTextarea {
31311
31461
  render() {
31312
31462
  const { ariaDescribedBy } = getRenderStates(this.state);
31313
31463
  const hasExpertSlot = showExpertSlot(this.state._label);
31314
- 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(); }, role: `presentation` }, 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, { onInput: this.onInput, style: {
31464
+ return (hAsync(Host, { key: '167c7a02e594ac5bc34bcf92ea7a7d9115fdcc9d', class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { key: '912d0306c10c55646d43a853d6faccc91dd1f07e', 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(); }, role: `presentation` }, hAsync("span", { key: '3c9ffd3f11b2b111967260fcdfeb0963ac0254c7', slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { key: 'a75008135953f90fcfa4795ff3df6512fa3e3c0d', slot: "input" }, hAsync("textarea", Object.assign({ key: 'a39da00d59818eaccf2806321f25ad0f01e46aef', 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, { onInput: this.onInput, style: {
31315
31465
  resize: this.state._resize,
31316
31466
  }, value: this.state._value }))))));
31317
31467
  }
@@ -31597,7 +31747,7 @@ class KolToast {
31597
31747
  this.validateType(this._type);
31598
31748
  }
31599
31749
  render() {
31600
- return (hAsync(Host, null, this.state._show && (hAsync("div", null, hAsync("kol-alert", { _alert: this.state._alert, _label: this.state._label, _level: this.state._level, _hasCloser: this.state._hasCloser, _type: this.state._type, _variant: "card", _on: this.on }, hAsync("slot", null))))));
31750
+ return (hAsync(Host, { key: '3126796e9dab24ea6322b4839821966fe0630daf' }, this.state._show && (hAsync("div", null, hAsync("kol-alert", { _alert: this.state._alert, _label: this.state._label, _level: this.state._level, _hasCloser: this.state._hasCloser, _type: this.state._type, _variant: "card", _on: this.on }, hAsync("slot", null))))));
31601
31751
  }
31602
31752
  static get watchers() { return {
31603
31753
  "_alert": ["validateAlert"],
@@ -31689,7 +31839,7 @@ class KolToastContainer {
31689
31839
  }, TRANSITION_TIMEOUT);
31690
31840
  }
31691
31841
  render() {
31692
- return (hAsync(Fragment, null, this.state._toastStates.length > 1 && (hAsync("kol-button", { _label: translate('kol-toast-close-all'), class: "close-all", _on: {
31842
+ return (hAsync(Fragment, { key: '2c9e021d640aa320053781d0796d3de3bcf30e18' }, this.state._toastStates.length > 1 && (hAsync("kol-button", { _label: translate('kol-toast-close-all'), class: "close-all", _on: {
31693
31843
  onClick: () => {
31694
31844
  void this.closeAll();
31695
31845
  },
@@ -31873,7 +32023,7 @@ class KolTooltip {
31873
32023
  this.showOrHideTooltip();
31874
32024
  }
31875
32025
  render() {
31876
- return (hAsync(Host, null, this.state._label !== '' && (hAsync("div", { class: "tooltip-floating", ref: this.catchTooltipElement }, hAsync("div", { class: "tooltip-area tooltip-arrow", ref: this.catchArrowElement }), hAsync("kol-span-wc", { class: "tooltip-area tooltip-content", id: this.state._id, _label: this.state._label })))));
32026
+ return (hAsync(Host, { key: 'f614a97e8b5de6eed4d4cd824baca94c82e77118' }, this.state._label !== '' && (hAsync("div", { class: "tooltip-floating", ref: this.catchTooltipElement }, hAsync("div", { class: "tooltip-area tooltip-arrow", ref: this.catchArrowElement }), hAsync("kol-span-wc", { class: "tooltip-area tooltip-content", id: this.state._id, _label: this.state._label })))));
31877
32027
  }
31878
32028
  validateAlign(value) {
31879
32029
  validateAlign(this, value);
@@ -31971,7 +32121,7 @@ class KolVersion {
31971
32121
  };
31972
32122
  }
31973
32123
  render() {
31974
- return (hAsync("kol-badge", { _color: Farbspektrum.Hellgrau, _icons: {
32124
+ return (hAsync("kol-badge", { key: '517d542f789eabd86874a6a592d7d7c0f55b549e', _color: Farbspektrum.Hellgrau, _icons: {
31975
32125
  left: { icon: 'codicon codicon-versions', label: translate('kol-version') },
31976
32126
  }, _label: this.state._label }));
31977
32127
  }