@public-ui/hydrate 2.0.6 → 2.0.7

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);
@@ -8996,7 +9130,7 @@ const initKoliBri = () => {
8996
9130
  | . ' | .-. | | | ,--. | .-. \\ | .--' ,--.
8997
9131
  | |\\ \\ | '-' | | | | | | '--' / | | | |
8998
9132
  \`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'
8999
- 🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 2.0.6
9133
+ 🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 2.0.7
9000
9134
  `, {
9001
9135
  forceLog: true,
9002
9136
  });
@@ -9424,7 +9558,8 @@ class ResourceStore extends EventEmitter {
9424
9558
  }
9425
9559
  addResourceBundle(lng, ns, resources, deep, overwrite) {
9426
9560
  let options = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {
9427
- silent: false
9561
+ silent: false,
9562
+ skipCopy: false
9428
9563
  };
9429
9564
  let path = [lng, ns];
9430
9565
  if (lng.indexOf('.') > -1) {
@@ -9435,6 +9570,7 @@ class ResourceStore extends EventEmitter {
9435
9570
  }
9436
9571
  this.addNamespaces(ns);
9437
9572
  let pack = getPath(this.data, path) || {};
9573
+ if (!options.skipCopy) resources = JSON.parse(JSON.stringify(resources));
9438
9574
  if (deep) {
9439
9575
  deepExtend(pack, resources, overwrite);
9440
9576
  } else {
@@ -10674,7 +10810,9 @@ class Connector extends EventEmitter {
10674
10810
  const ns = s[1];
10675
10811
  if (err) this.emit('failedLoading', lng, ns, err);
10676
10812
  if (data) {
10677
- this.store.addResourceBundle(lng, ns, data);
10813
+ this.store.addResourceBundle(lng, ns, data, undefined, undefined, {
10814
+ skipCopy: true
10815
+ });
10678
10816
  }
10679
10817
  this.state[name] = err ? -1 : 2;
10680
10818
  const loaded = {};
@@ -11851,8 +11989,7 @@ const createElm = (e, t, o, n) => {
11851
11989
  const n = t.$elm$ = e.$elm$, s = e.$children$, l = t.$children$, a = t.$tag$, r = t.$text$;
11852
11990
  let i;
11853
11991
  null !== r ? (i = n["s-cr"]) ? i.parentNode.textContent = r : e.$text$ !== r && (n.data = r) : ((isSvgMode = "svg" === a || "foreignObject" !== a && isSvgMode),
11854
- ("slot" === a || updateElement(e, t, isSvgMode)),
11855
- null !== s && null !== l ? ((e, t, o, n, s = !1) => {
11992
+ ("slot" === a && !useNativeShadowDom ? BUILD.experimentalSlotFixes : updateElement(e, t, isSvgMode)), null !== s && null !== l ? ((e, t, o, n, s = !1) => {
11856
11993
  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];
11857
11994
  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),
11858
11995
  m = t[++r], f = n[++i]; else if (isSameVnode(p, u, s)) patch(p, u, s), p = t[--$],
@@ -11920,9 +12057,9 @@ const createElm = (e, t, o, n) => {
11920
12057
  if (d.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, d.$attrsToReflect$.map((([e, t]) => $.$attrs$[t] = i[e]))),
11921
12058
  o && $.$attrs$) for (const e of Object.keys($.$attrs$)) i.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e) && ($.$attrs$[e] = i[e]);
11922
12059
  if ($.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = c.$elm$ = i.shadowRoot || i,
11923
- (scopeId = i["s-sc"]), (contentRef = i["s-cr"],
11924
- useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(c, $, o),
11925
- BUILD.slotRelocation) {
12060
+ (scopeId = i["s-sc"]), useNativeShadowDom = supportsShadow,
12061
+ (contentRef = i["s-cr"], checkSlotFallbackVisibility = !1),
12062
+ patch(c, $, o), BUILD.slotRelocation) {
11926
12063
  if (plt.$flags$ |= 1, checkSlotRelocate) {
11927
12064
  markSlotContentForRelocation($.$elm$);
11928
12065
  for (const e of relocateNodes) {
@@ -12334,7 +12471,7 @@ class KolAbbr {
12334
12471
  };
12335
12472
  }
12336
12473
  render() {
12337
- 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 })));
12474
+ return (hAsync(Host, { key: 'c8fda666071c39aa4736d619ac760882a6d0979c' }, hAsync("abbr", { key: 'f95f6d33272895f591ed8d6acd75d7d02a28292c', "aria-labelledby": this.nonce, role: "definition", tabindex: "0", title: this.state._label }, hAsync("span", { key: 'fd5c2bde0303e96f02fa7bfb15e7139cfbfd5fdd', title: "" }, hAsync("slot", { key: '17f1f1603c95bce1d30d35876e50386dac2b8bf2' }))), hAsync("kol-tooltip-wc", { key: '8e6809d59f0d2bf55fc0cfa3de14d5cf6e441e00', _align: this.state._tooltipAlign, _id: this.nonce, _label: this.state._label })));
12338
12475
  }
12339
12476
  validateLabel(value) {
12340
12477
  validateLabel(this, value, {
@@ -12414,11 +12551,11 @@ class KolAccordion {
12414
12551
  };
12415
12552
  }
12416
12553
  render() {
12417
- return (hAsync(Host, null, hAsync("div", { class: {
12554
+ return (hAsync(Host, { key: '3ab8adaec7d4f0b9958ed3c2694a6e2001a5775d' }, hAsync("div", { key: 'f55779b5c6fde69de6510614742d1a2ade7d8225', class: {
12418
12555
  accordion: true,
12419
12556
  disabled: this.state._disabled === true,
12420
12557
  open: this.state._open === true,
12421
- } }, hAsync("kol-heading-wc", { _label: "", _level: this.state._level, class: "accordion-heading" }, hAsync("kol-button-wc", { class: "accordion-button", ref: this.catchRef, slot: "expert", _ariaControls: this.nonce, _ariaExpanded: this.state._open, _disabled: this.state._disabled, _icons: this.state._open ? 'codicon codicon-remove' : 'codicon codicon-add', _label: this.state._label, _on: { onClick: this.onClick } })), hAsync("div", { class: "wrapper" }, hAsync("div", { class: "animation-wrapper" }, hAsync("div", { "aria-hidden": this.state._open === false ? 'true' : undefined, class: "content", id: this.nonce }, hAsync("slot", null)))))));
12558
+ } }, hAsync("kol-heading-wc", { key: 'e7625190a24a0d4a0faa99ae41ac2fcb8ca313cb', _label: "", _level: this.state._level, class: "accordion-heading" }, hAsync("kol-button-wc", { key: 'f0cd4bbd5a68ddbbf77d8d7de42dd609f8e63524', class: "accordion-button", ref: this.catchRef, slot: "expert", _ariaControls: this.nonce, _ariaExpanded: this.state._open, _disabled: this.state._disabled, _icons: this.state._open ? 'codicon codicon-remove' : 'codicon codicon-add', _label: this.state._label, _on: { onClick: this.onClick } })), hAsync("div", { key: 'c43fb947876253f1d6d0abf27bb11513f193a4bf', class: "wrapper" }, hAsync("div", { key: '80440135831c357d57bcd909fc4f89243fd1a9c2', class: "animation-wrapper" }, hAsync("div", { key: 'ce90b614d3c0b50297c28aa4408fe49f87aa108b', "aria-hidden": this.state._open === false ? 'true' : undefined, class: "content", id: this.nonce }, hAsync("slot", { key: 'f9b15c4efd666d4799f9a2b51b18ec2479d38540' })))))));
12422
12559
  }
12423
12560
  validateDisabled(value) {
12424
12561
  validateDisabled(this, value);
@@ -12492,7 +12629,7 @@ class KolAlert {
12492
12629
  };
12493
12630
  }
12494
12631
  render() {
12495
- return (hAsync(Host, null, hAsync("kol-alert-wc", { _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, hAsync("slot", null))));
12632
+ return (hAsync(Host, { key: '047deb6500f45201d1f0dec17303ef2bf0524f04' }, hAsync("kol-alert-wc", { key: '5b9819b1b4458892011a936eab2ea7056420ca52', _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, hAsync("slot", { key: '3c79632bfdca99fbe09866a9a9f2d6a73e554cd5' }))));
12496
12633
  }
12497
12634
  static get style() { return {
12498
12635
  default: KolAlertDefaultStyle0
@@ -12671,12 +12808,12 @@ class KolAlertWc {
12671
12808
  this.validateAlert(false);
12672
12809
  }, 10000);
12673
12810
  }
12674
- return (hAsync(Host, { class: {
12811
+ return (hAsync(Host, { key: '3b2f5ac6462c380e631c36367a2e55b7519ecbe6', class: {
12675
12812
  alert: true,
12676
12813
  [this.state._type]: true,
12677
12814
  [this.state._variant]: true,
12678
12815
  hasCloser: !!this.state._hasCloser,
12679
- }, role: this.state._alert ? 'alert' : undefined }, hAsync("div", { class: "heading" }, hAsync(AlertIcon, { label: this.state._label, type: this.state._type }), hAsync("div", { class: "heading-content" }, 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: {
12816
+ }, role: this.state._alert ? 'alert' : undefined }, hAsync("div", { key: 'e805417410e1ff870e45c1eadb03d3d7203901b5', class: "heading" }, hAsync(AlertIcon, { key: '9705bf593034348a8aa47f7980c94deac6cac7db', label: this.state._label, type: this.state._type }), hAsync("div", { key: '5360f5cc4ac1d3c3360a2517e0c934ddc21e57c6', class: "heading-content" }, 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: {
12680
12817
  left: {
12681
12818
  icon: 'codicon codicon-close',
12682
12819
  },
@@ -12754,7 +12891,7 @@ class KolAvatar {
12754
12891
  this._label = undefined;
12755
12892
  }
12756
12893
  render() {
12757
- return (hAsync(Host, null, hAsync("kol-avatar-wc", { _src: this._src, _label: this._label })));
12894
+ return (hAsync(Host, { key: '8a9cbc49c03d979e691c9863195908918df024eb' }, hAsync("kol-avatar-wc", { key: 'ac1ec4bb151efb6ef0809b005e4f0a17dd9ba923', _src: this._src, _label: this._label })));
12758
12895
  }
12759
12896
  static get style() { return {
12760
12897
  default: KolAvatarDefaultStyle0
@@ -12799,7 +12936,7 @@ class KolAvatarWc {
12799
12936
  };
12800
12937
  }
12801
12938
  render() {
12802
- 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()))))));
12939
+ return (hAsync(Host, { key: 'bd338a71d4f2a5610dfb048fa22b33462e3a9d5b' }, hAsync("div", { key: '397f13c05f8ea2ac25934d8775b1231196a482ca', "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()))))));
12803
12940
  }
12804
12941
  validateSrc(value) {
12805
12942
  validateImageSource(this, value);
@@ -12862,12 +12999,12 @@ class KolBadge {
12862
12999
  }
12863
13000
  render() {
12864
13001
  const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;
12865
- return (hAsync(Host, null, hAsync("span", { class: {
13002
+ return (hAsync(Host, { key: '94ed7b6910261ea2bb4165f06ef65c4c76672656' }, hAsync("span", { key: '50c6d9a53ab192ec2b81ebea8997a037dbc2175e', class: {
12866
13003
  'smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,
12867
13004
  }, style: {
12868
13005
  backgroundColor: this.bgColorStr,
12869
13006
  color: this.colorStr,
12870
- } }, hAsync("kol-span-wc", { id: hasSmartButton ? this.id : undefined, _allowMarkdown: true, _icons: this._icons, _label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton))));
13007
+ } }, hAsync("kol-span-wc", { key: 'eade82d0c27658fdd9bc0a7f7efd1ec028cdbf85', id: hasSmartButton ? this.id : undefined, _allowMarkdown: true, _icons: this._icons, _label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton))));
12871
13008
  }
12872
13009
  validateColor(value) {
12873
13010
  validateColor(this, value, {
@@ -12950,7 +13087,7 @@ class KolBreadcrumb {
12950
13087
  };
12951
13088
  }
12952
13089
  render() {
12953
- return (hAsync(Host, null, hAsync("nav", { "aria-label": this.state._label }, hAsync("ul", null, this.state._links.length === 0 && (hAsync("li", null, hAsync("kol-icon", { _label: "", _icons: "codicon codicon-home" }), "\u2026")), this.state._links.map(this.renderLink)))));
13090
+ return (hAsync(Host, { key: '7b72011fc371f8906f6e0ba6c780d0ec94b2cd5e' }, hAsync("nav", { key: 'f9aa18b4fcfd26f904b125a899e1ef36dd2a79d5', "aria-label": this.state._label }, hAsync("ul", { key: 'f85d981b4be053928f7fb6050e2b1d66e6974ec1' }, this.state._links.length === 0 && (hAsync("li", null, hAsync("kol-icon", { _label: "", _icons: "codicon codicon-home" }), "\u2026")), this.state._links.map(this.renderLink)))));
12954
13091
  }
12955
13092
  validateLabel(value, _oldValue, initial = false) {
12956
13093
  if (!initial) {
@@ -13026,11 +13163,11 @@ class KolButton {
13026
13163
  return this._value;
13027
13164
  }
13028
13165
  render() {
13029
- return (hAsync(Host, null, hAsync("kol-button-wc", { ref: this.catchRef, class: {
13166
+ return (hAsync(Host, { key: '791fdae290d39968b888fbc672326ceea48e5561' }, hAsync("kol-button-wc", { key: '51928aa7425860caabc74dffbdfa3360bce5ea3f', ref: this.catchRef, class: {
13030
13167
  button: true,
13031
13168
  [this._variant]: this._variant !== 'custom',
13032
13169
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
13033
- }, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { name: "expert", slot: "expert" }))));
13170
+ }, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { key: '851ea7e0ab0a17642e4e0f3f1200241e8d1c659e', name: "expert", slot: "expert" }))));
13034
13171
  }
13035
13172
  get host() { return getElement(this); }
13036
13173
  static get style() { return {
@@ -13075,7 +13212,7 @@ class KolButtonGroup {
13075
13212
  registerInstance(this, hostRef);
13076
13213
  }
13077
13214
  render() {
13078
- return (hAsync(Host, null, hAsync("kol-button-group-wc", null, hAsync("slot", null))));
13215
+ return (hAsync(Host, { key: '64fce1581c4c59a0c8af0b610c51d8dc03a834e7' }, hAsync("kol-button-group-wc", { key: 'e63c9c4964d550138f585e256903f620972341f5' }, hAsync("slot", { key: '3323c39072f26c1964165cb53dc6b3cdabd69018' }))));
13079
13216
  }
13080
13217
  static get style() { return {
13081
13218
  default: KolButtonGroupDefaultStyle0
@@ -13096,7 +13233,7 @@ class KolButtonGroupWc {
13096
13233
  this.state = {};
13097
13234
  }
13098
13235
  render() {
13099
- return (hAsync(Host, null, hAsync("slot", null)));
13236
+ return (hAsync(Host, { key: 'f33b91e186660a417bcf29bd3ff24c9e844393d8' }, hAsync("slot", { key: '718b94573ac85798def9f963c2c13be9b995be0d' })));
13100
13237
  }
13101
13238
  static get cmpMeta() { return {
13102
13239
  "$flags$": 4,
@@ -13141,7 +13278,7 @@ class KolButtonLink {
13141
13278
  return this._value;
13142
13279
  }
13143
13280
  render() {
13144
- return (hAsync(Host, null, hAsync("kol-button-wc", { ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: "link", _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value }, hAsync("slot", { name: "expert", slot: "expert" }))));
13281
+ return (hAsync(Host, { key: 'dac1e09dcd3ebb01c490db08b71b38e7aab511fc' }, hAsync("kol-button-wc", { key: '9ba3251eb1bd9687854af82cc210ba7b41cfa1c4', ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: "link", _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value }, hAsync("slot", { key: '4b84f529453b63eafed0ac8937e2e902518a982c', name: "expert", slot: "expert" }))));
13145
13282
  }
13146
13283
  get host() { return getElement(this); }
13147
13284
  static get style() { return {
@@ -13272,15 +13409,16 @@ const propagateSubmitEventToForm = (options = {}) => {
13272
13409
  }
13273
13410
  };
13274
13411
 
13412
+ const isAssociatedTagName = (name) => name === 'KOL-BUTTON' || name === 'KOL-INPUT' || name === 'KOL-SELECT' || name === 'KOL-TEXTAREA';
13275
13413
  class AssociatedInputController {
13276
- constructor(component, name, host) {
13277
- var _a, _b;
13414
+ constructor(component, type, host) {
13415
+ var _a, _b, _c;
13278
13416
  this.experimentalMode = getExperimentalMode();
13279
13417
  this.setFormAssociatedValue = (rawValue) => {
13280
13418
  var _a;
13281
13419
  const name = (_a = this.formAssociated) === null || _a === void 0 ? void 0 : _a.getAttribute('name');
13282
13420
  if (name === null || name === '') {
13283
- devHint(` The form field (${this.name}) must have a name attribute to be form-associated. Please define the _name attribute.`);
13421
+ devHint(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);
13284
13422
  }
13285
13423
  const strValue = this.tryToStringifyValue(rawValue);
13286
13424
  this.syncValue(rawValue, strValue, this.formAssociated);
@@ -13288,15 +13426,26 @@ class AssociatedInputController {
13288
13426
  };
13289
13427
  this.component = component;
13290
13428
  this.host = this.findHostWithShadowRoot(host);
13291
- this.name = name;
13292
- if (this.experimentalMode) {
13293
- (_a = this.host) === null || _a === void 0 ? void 0 : _a.querySelectorAll('input,select,textarea').forEach((el) => {
13429
+ this.type = type;
13430
+ if (getExperimentalMode() && isAssociatedTagName((_a = this.host) === null || _a === void 0 ? void 0 : _a.tagName)) {
13431
+ (_b = this.host) === null || _b === void 0 ? void 0 : _b.querySelectorAll('input,select,textarea').forEach((el) => {
13294
13432
  var _a;
13295
13433
  (_a = this.host) === null || _a === void 0 ? void 0 : _a.removeChild(el);
13296
13434
  });
13297
- switch (this.name) {
13435
+ switch (this.type) {
13298
13436
  case 'button':
13299
- this.formAssociated = document.createElement('button');
13437
+ case 'checkbox':
13438
+ case 'color':
13439
+ case 'date':
13440
+ case 'email':
13441
+ case 'file':
13442
+ case 'number':
13443
+ case 'password':
13444
+ case 'radio':
13445
+ case 'range':
13446
+ case 'text':
13447
+ this.formAssociated = document.createElement('input');
13448
+ this.formAssociated.setAttribute('type', this.type);
13300
13449
  break;
13301
13450
  case 'select':
13302
13451
  this.formAssociated = document.createElement('select');
@@ -13308,12 +13457,11 @@ class AssociatedInputController {
13308
13457
  default:
13309
13458
  this.formAssociated = document.createElement('input');
13310
13459
  this.formAssociated.setAttribute('type', 'hidden');
13311
- break;
13312
13460
  }
13313
13461
  this.formAssociated.setAttribute('aria-hidden', 'true');
13314
13462
  this.formAssociated.setAttribute('data-form-associated', '');
13315
13463
  this.formAssociated.setAttribute('hidden', '');
13316
- (_b = this.host) === null || _b === void 0 ? void 0 : _b.appendChild(this.formAssociated);
13464
+ (_c = this.host) === null || _c === void 0 ? void 0 : _c.appendChild(this.formAssociated);
13317
13465
  }
13318
13466
  }
13319
13467
  findHostWithShadowRoot(host) {
@@ -13352,7 +13500,7 @@ class AssociatedInputController {
13352
13500
  }
13353
13501
  syncValue(rawValue, strValue, associatedElement) {
13354
13502
  if (associatedElement) {
13355
- switch (this.name) {
13503
+ switch (this.type) {
13356
13504
  case 'select':
13357
13505
  associatedElement.querySelectorAll('option').forEach((el) => {
13358
13506
  associatedElement.removeChild(el);
@@ -13410,13 +13558,13 @@ class AssociatedInputController {
13410
13558
  class KolButtonWc {
13411
13559
  render() {
13412
13560
  const hasExpertSlot = showExpertSlot(this.state._label);
13413
- return (hAsync(Host, null, hAsync("button", Object.assign({ ref: this.catchRef, accessKey: this.state._accessKey || undefined, "aria-controls": this.state._ariaControls, "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapStringOrBoolean2String(this.state._ariaSelected), class: {
13561
+ return (hAsync(Host, { key: '6210753dd7db71f0a3df9e778cd1c526f95503d3' }, hAsync("button", Object.assign({ key: 'e1422d9e465b133e5328cbe0037b9378174b19e4', ref: this.catchRef, accessKey: this.state._accessKey || undefined, "aria-controls": this.state._ariaControls, "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapStringOrBoolean2String(this.state._ariaSelected), class: {
13414
13562
  button: true,
13415
13563
  disabled: this.state._disabled === true,
13416
13564
  [this.state._variant]: this.state._variant !== 'custom',
13417
13565
  [this.state._customClass]: this.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,
13418
13566
  'hide-label': this.state._hideLabel === true,
13419
- }, 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", _accessKey: this.state._accessKey, _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, _accessKey: this._accessKey, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })));
13567
+ }, 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: '17436202d4fa5926b88734c2e0e59da6aeea3072', class: "button-inner", _accessKey: this.state._accessKey, _icons: this.state._icons, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? '' : this.state._label }, hAsync("slot", { key: '59e7ae324b13a0ebc386f5d4cfc451b92a65c76c', name: "expert", slot: "expert" }))), hAsync("kol-tooltip-wc", { key: '6b14c5d6852abfd4b6c692b9de9e58928f7ba0ba', "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _accessKey: this._accessKey, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })));
13420
13568
  }
13421
13569
  constructor(hostRef) {
13422
13570
  registerInstance(this, hostRef);
@@ -13635,7 +13783,7 @@ class KolCard {
13635
13783
  };
13636
13784
  }
13637
13785
  render() {
13638
- return (hAsync(Host, null, hAsync("div", { class: "card" }, hAsync("div", { class: "header" }, hAsync("kol-heading-wc", { _label: this.state._label, _level: this.state._level })), hAsync("div", { class: "content" }, hAsync("slot", null)), this.state._hasCloser && (hAsync("kol-button-wc", { class: "close", _hideLabel: true, _icons: {
13786
+ return (hAsync(Host, { key: '37ad71d5f2139e179320e6851febe3be1b9b2bea' }, hAsync("div", { key: '88a0f248e55150345d9db00493554bc0b390602d', class: "card" }, hAsync("div", { key: '5f386f35d258bfca44452bd1097a28f6387f357e', class: "header" }, hAsync("kol-heading-wc", { key: 'ef42ea80d858504380e8652f3311e4ab96012071', _label: this.state._label, _level: this.state._level })), hAsync("div", { key: '3cc317335b260fe67c94f80eab0b6d36189bd387', class: "content" }, hAsync("slot", { key: 'dc1210ec7880c6c89c0c689602265ef7e9b45ae1' })), this.state._hasCloser && (hAsync("kol-button-wc", { class: "close", _hideLabel: true, _icons: {
13639
13787
  left: {
13640
13788
  icon: 'codicon codicon-close',
13641
13789
  },
@@ -13798,10 +13946,10 @@ class KolDetails {
13798
13946
  };
13799
13947
  }
13800
13948
  render() {
13801
- return (hAsync(Host, null, hAsync("details", { ref: this.catchDetails, class: {
13949
+ return (hAsync(Host, { key: '7ab10edda0368a0ac4bcd0b7f46b7134bbd3430d' }, hAsync("details", { key: '0b0c72fb5cb0e24410143ed61ecff54b2a932306', ref: this.catchDetails, class: {
13802
13950
  disabled: this.state._disabled === true,
13803
13951
  open: this.state._open === true,
13804
- }, onToggle: this.handleToggle }, hAsync("summary", { ref: this.catchSummary, "aria-disabled": this.state._disabled ? 'true' : undefined, onClick: this.preventToggleIfDisabled, onKeyPress: this.preventToggleIfDisabled, tabIndex: this.state._disabled ? -1 : undefined }, hAsync("kol-icon", { _label: "", _icons: "codicon codicon-chevron-right", class: `icon ${this.state._open ? 'is-open' : ''}` }), 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))))));
13952
+ }, onToggle: this.handleToggle }, hAsync("summary", { key: 'b5cfe622618b9b7b7a629f4a6856c4b2ee14716e', ref: this.catchSummary, "aria-disabled": this.state._disabled ? 'true' : undefined, onClick: this.preventToggleIfDisabled, onKeyPress: this.preventToggleIfDisabled, tabIndex: this.state._disabled ? -1 : undefined }, hAsync("kol-icon", { key: '08c2e357a57bf92dd67029b0db473362cbe1945e', _label: "", _icons: "codicon codicon-chevron-right", class: `icon ${this.state._open ? 'is-open' : ''}` }), hAsync("span", { key: '57aa8182fec67c7989ccb6788bcff481883004da' }, this.state._label)), hAsync("div", { key: '5023ecbb30d3cad07eb63d56f04147cf3b5f53b6', "aria-hidden": this.state._open === false ? 'true' : undefined, class: "content", ref: (element) => (this.contentElement = element) }, hAsync("kol-indented-text", { key: 'c50a195c6b5ffe096ce1459b84b6fe4d6b080cc1' }, hAsync("slot", { key: 'd61c17f9ac1d54e8645a575c1a98f366bcd4d223' }))))));
13805
13953
  }
13806
13954
  validateDisabled(value) {
13807
13955
  validateDisabled(this, value);
@@ -13896,10 +14044,10 @@ class KolForm {
13896
14044
  this.state = {};
13897
14045
  }
13898
14046
  render() {
13899
- 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) => {
14047
+ return (hAsync("form", { key: 'dea80b85f061a10604684cdd6fc7e19493a01dbe', 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) => {
13900
14048
  if (index === 0)
13901
14049
  this.errorListElement = el;
13902
- } })))))))), 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)));
14050
+ } })))))))), 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: '6c5120cbfab3903b5f8e1f5d29ed0849c646f5d1' })));
13903
14051
  }
13904
14052
  validateOn(value) {
13905
14053
  if (typeof value === 'object' && value !== null) {
@@ -13960,7 +14108,7 @@ class KolHeading {
13960
14108
  this._variant = undefined;
13961
14109
  }
13962
14110
  render() {
13963
- return (hAsync("kol-heading-wc", { _label: this._label, _level: this._level, _secondaryHeadline: this._secondaryHeadline, _variant: this._variant }, hAsync("slot", { name: "expert", slot: "expert" })));
14111
+ return (hAsync("kol-heading-wc", { key: '9bd5fbd58d07dba0dec0ffd891855331aa529707', _label: this._label, _level: this._level, _secondaryHeadline: this._secondaryHeadline, _variant: this._variant }, hAsync("slot", { key: '15a9446734dda61f5c222c579ad674c9110b693a', name: "expert", slot: "expert" })));
13964
14112
  }
13965
14113
  static get style() { return {
13966
14114
  default: KolHeadingDefaultStyle0
@@ -14038,7 +14186,7 @@ class KolHeadingWc {
14038
14186
  this.validateVariant(this._variant);
14039
14187
  }
14040
14188
  render() {
14041
- 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))));
14189
+ return (hAsync(Host, { key: '3a0b2e5eae14d4a7d83b25e806eaf7cda1b52c9a' }, 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))));
14042
14190
  }
14043
14191
  static get watchers() { return {
14044
14192
  "_label": ["validateLabel"],
@@ -14077,7 +14225,7 @@ class KolIcon {
14077
14225
  }
14078
14226
  render() {
14079
14227
  const ariaShow = this.state._label.length > 0;
14080
- 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" })));
14228
+ return (hAsync(Host, { key: 'c62ac4835d52e7e1ec559fb021c6450707313b28', exportparts: "icon" }, hAsync("i", { key: 'b7f1f9bc1218abcc1fee4c480e3a01b25be509ec', "aria-hidden": ariaShow ? undefined : 'true', "aria-label": ariaShow ? this.state._label : undefined, class: this.state._icons, part: "icon", role: "img" })));
14081
14229
  }
14082
14230
  validateIcons(value) {
14083
14231
  watchString(this, '_icons', value, {
@@ -14158,7 +14306,7 @@ class KolImage {
14158
14306
  this.validateSrcset(this._srcset);
14159
14307
  }
14160
14308
  render() {
14161
- 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 })));
14309
+ return (hAsync(Host, { key: 'fa4060a68dc8c17a0095fbbc022945fd0898a708' }, hAsync("img", { key: '01c112546e862a87b4dafb60575c973522aa87d7', alt: this.state._alt, loading: this.state._loading, sizes: this.state._sizes, src: this.state._src, srcset: this.state._srcset })));
14162
14310
  }
14163
14311
  static get watchers() { return {
14164
14312
  "_alt": ["validateAlt"],
@@ -14196,7 +14344,7 @@ class KolIndentedText {
14196
14344
  this.state = {};
14197
14345
  }
14198
14346
  render() {
14199
- return (hAsync(Host, null, hAsync("div", null, hAsync("slot", null))));
14347
+ return (hAsync(Host, { key: 'c4a28b561e6f9759fed50c19ba6dd7731fbf6b68' }, hAsync("div", { key: '73f0c897232209f6027ff2f500cd4b4a9efb0331' }, hAsync("slot", { key: 'a1ee7c1f37038705cbadd7632623d4e6ce2a5f55' }))));
14200
14348
  }
14201
14349
  static get style() { return {
14202
14350
  default: KolIndentedTextDefaultStyle0
@@ -14259,18 +14407,18 @@ class KolInput {
14259
14407
  const hasExpertSlot = showExpertSlot(this._label);
14260
14408
  const hasHint = typeof this._hint === 'string' && this._hint.length > 0;
14261
14409
  const useTooltopInsteadOfLabel = !hasExpertSlot && this._hideLabel;
14262
- return (hAsync(Host, { class: {
14410
+ return (hAsync(Host, { key: '84c5c262466dfcd6f00ecf98e386fd2e247dfdf0', class: {
14263
14411
  disabled: this._disabled === true,
14264
14412
  error: hasError === true,
14265
14413
  'read-only': this._readOnly === true,
14266
14414
  required: this._required === true,
14267
14415
  touched: this._touched === true,
14268
14416
  'hidden-error': this._hideError === true,
14269
- } }, hAsync("label", { class: "input-label", id: !useTooltopInsteadOfLabel ? `${this._id}-label` : undefined, hidden: useTooltopInsteadOfLabel, htmlFor: this._id }, hAsync("span", { class: "input-label-span" }, hAsync("slot", { name: "label" }))), hasHint && (hAsync("span", { class: "hint", id: `${this._id}-hint` }, this._hint)), hAsync("div", { class: {
14417
+ } }, hAsync("label", { key: '692b578460ceb0d47189059a473bcc28ef2d2ee4', class: "input-label", id: !useTooltopInsteadOfLabel ? `${this._id}-label` : undefined, hidden: useTooltopInsteadOfLabel, htmlFor: this._id }, hAsync("span", { key: 'f9e73404ef4579a1190f4de8e9e5d06d95b4074a', class: "input-label-span" }, hAsync("slot", { key: '40868844711a5af81c9216d35c07726fff2429f3', name: "label" }))), hasHint && (hAsync("span", { class: "hint", id: `${this._id}-hint` }, this._hint)), hAsync("div", { key: '0efa6378c4e54f228079afda9cbe4a386feb8cc5', class: {
14270
14418
  input: true,
14271
14419
  'icon-left': typeof ((_a = this._icons) === null || _a === void 0 ? void 0 : _a.left) === 'object',
14272
14420
  'icon-right': typeof ((_b = this._icons) === null || _b === void 0 ? void 0 : _b.right) === 'object',
14273
- } }, ((_c = this._icons) === null || _c === void 0 ? void 0 : _c.left) && (hAsync("kol-icon", { _label: "", _icons: ((_d = this._icons) === null || _d === void 0 ? void 0 : _d.left).icon, style: this.getIconStyles((_e = this._icons) === null || _e === void 0 ? void 0 : _e.left) })), hAsync("div", { ref: this.catchInputSlot, id: this.slotName, class: "input-slot" }), typeof this._smartButton === 'object' && this._smartButton !== null && (hAsync("kol-button-wc", { _customClass: this._smartButton._customClass, _disabled: this._smartButton._disabled, _icons: this._smartButton._icons, _hideLabel: true, _id: this._smartButton._id, _label: this._smartButton._label, _on: this._smartButton._on, _tooltipAlign: this._smartButton._tooltipAlign, _variant: this._smartButton._variant })), ((_f = this._icons) === null || _f === void 0 ? void 0 : _f.right) && (hAsync("kol-icon", { _label: "", _icons: ((_g = this._icons) === null || _g === void 0 ? void 0 : _g.right).icon, style: this.getIconStyles((_h = this._icons) === null || _h === void 0 ? void 0 : _h.right) }))), useTooltopInsteadOfLabel && (hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", _accessKey: this._accessKey, _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'))))));
14421
+ } }, ((_c = this._icons) === null || _c === void 0 ? void 0 : _c.left) && (hAsync("kol-icon", { _label: "", _icons: ((_d = this._icons) === null || _d === void 0 ? void 0 : _d.left).icon, style: this.getIconStyles((_e = this._icons) === null || _e === void 0 ? void 0 : _e.left) })), hAsync("div", { key: '713beb804dc8d47b2ae8a850f49a66bbc54953bd', ref: this.catchInputSlot, id: this.slotName, class: "input-slot" }), typeof this._smartButton === 'object' && this._smartButton !== null && (hAsync("kol-button-wc", { _customClass: this._smartButton._customClass, _disabled: this._smartButton._disabled, _icons: this._smartButton._icons, _hideLabel: true, _id: this._smartButton._id, _label: this._smartButton._label, _on: this._smartButton._on, _tooltipAlign: this._smartButton._tooltipAlign, _variant: this._smartButton._variant })), ((_f = this._icons) === null || _f === void 0 ? void 0 : _f.right) && (hAsync("kol-icon", { _label: "", _icons: ((_g = this._icons) === null || _g === void 0 ? void 0 : _g.right).icon, style: this.getIconStyles((_h = this._icons) === null || _h === void 0 ? void 0 : _h.right) }))), useTooltopInsteadOfLabel && (hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", _accessKey: this._accessKey, _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'))))));
14274
14422
  }
14275
14423
  get host() { return getElement(this); }
14276
14424
  static get cmpMeta() { return {
@@ -14647,13 +14795,13 @@ class KolInputCheckbox {
14647
14795
  render() {
14648
14796
  const { ariaDescribedBy } = getRenderStates(this.state);
14649
14797
  const hasExpertSlot = showExpertSlot(this.state._label);
14650
- return (hAsync(Host, null, hAsync("kol-input", { class: {
14798
+ return (hAsync(Host, { key: 'a07b9523e15742657eed5e19e04d31fc73fb92ff' }, hAsync("kol-input", { key: '596bdf49c677c0f3bef6c1c1ef7e7e45d56cbe8d', class: {
14651
14799
  checkbox: true,
14652
14800
  [this.state._variant]: true,
14653
14801
  'hide-label': !!this.state._hideLabel,
14654
14802
  checked: this.state._checked,
14655
14803
  indeterminate: this.state._indeterminate,
14656
- }, "data-role": this.state._variant === 'button' ? 'button' : undefined, onKeyPress: this.state._variant === 'button' ? this.onChange : undefined, _accessKey: this.state._accessKey, _alert: this.state._alert, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _label: this.state._label, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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 }))))));
14804
+ }, "data-role": this.state._variant === 'button' ? 'button' : undefined, onKeyPress: this.state._variant === 'button' ? this.onChange : undefined, _accessKey: this.state._accessKey, _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: '25b62229f692c0f8f0c0d81fb634783c2c4a1078', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("label", { key: 'ea1c89027957b528af3ecabfd2582f41557cd93a', slot: "input", class: "checkbox-container" }, hAsync("kol-icon", { key: 'a322010f5619374675b84d4d7943f341c6c77d0d', 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: '2add081eb4b44c33e30711f6eabbb43ae3154ac9', 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 }))))));
14657
14805
  }
14658
14806
  constructor(hostRef) {
14659
14807
  registerInstance(this, hostRef);
@@ -14707,7 +14855,7 @@ class KolInputCheckbox {
14707
14855
  _value: true,
14708
14856
  _variant: 'default',
14709
14857
  };
14710
- this.controller = new InputCheckboxController(this, 'input-checkbox', this.host);
14858
+ this.controller = new InputCheckboxController(this, 'checkbox', this.host);
14711
14859
  }
14712
14860
  validateAccessKey(value) {
14713
14861
  this.controller.validateAccessKey(value);
@@ -14912,10 +15060,10 @@ class KolInputColor {
14912
15060
  const { ariaDescribedBy } = getRenderStates(this.state);
14913
15061
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
14914
15062
  const hasExpertSlot = showExpertSlot(this.state._label);
14915
- return (hAsync(Host, null, hAsync("kol-input", { class: {
15063
+ return (hAsync(Host, { key: 'e413f694aee1c550ddcfac91c7f860355cf748d9' }, hAsync("kol-input", { key: 'e37379ebccdaa03ec1bf8199770c358d362e6e1e', class: {
14916
15064
  color: true,
14917
15065
  'hide-label': !!this.state._hideLabel,
14918
- }, _accessKey: this.state._accessKey, _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", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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))))));
15066
+ }, _accessKey: this.state._accessKey, _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: 'aeaee354e5d2be63c029a3409b25fe42f9f22e67', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: 'd2b355405561a2cdda0fc3633744298a95070cbd', slot: "input" }, hAsync("input", Object.assign({ key: '0a299b99d10fe275e7431db33cb8f607a99faebb', 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))))));
14919
15067
  }
14920
15068
  constructor(hostRef) {
14921
15069
  registerInstance(this, hostRef);
@@ -14950,7 +15098,7 @@ class KolInputColor {
14950
15098
  _label: '',
14951
15099
  _suggestions: [],
14952
15100
  };
14953
- this.controller = new InputColorController(this, 'input-color', this.host);
15101
+ this.controller = new InputColorController(this, 'color', this.host);
14954
15102
  }
14955
15103
  validateAccessKey(value) {
14956
15104
  this.controller.validateAccessKey(value);
@@ -15218,10 +15366,10 @@ class KolInputDate {
15218
15366
  const { ariaDescribedBy } = getRenderStates(this.state);
15219
15367
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
15220
15368
  const hasExpertSlot = showExpertSlot(this.state._label);
15221
- return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: {
15369
+ return (hAsync(Host, { key: 'adc4ad74212e328f2ff36a1ec902d9b0ee89e594', class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { key: 'f6cb87a10b7e78738009bfffc192e7b760d51980', class: {
15222
15370
  [this.state._type]: true,
15223
15371
  'hide-label': !!this.state._hideLabel,
15224
- }, _accessKey: this.state._accessKey, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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 }))))));
15372
+ }, _accessKey: this.state._accessKey, _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: '201872a3ee7612aa5e2744c1896b76a6acdbed06', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: 'ec6ceed26ed523eefb8a7ce6f08966c961d12f92', slot: "input" }, hAsync("input", Object.assign({ key: '10d8d3f70e22fdf8380be5a3909b1549560846d4', 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 }))))));
15225
15373
  }
15226
15374
  constructor(hostRef) {
15227
15375
  registerInstance(this, hostRef);
@@ -15275,7 +15423,7 @@ class KolInputDate {
15275
15423
  _suggestions: [],
15276
15424
  _type: 'datetime-local',
15277
15425
  };
15278
- this.controller = new InputDateController(this, 'input-date', this.host);
15426
+ this.controller = new InputDateController(this, 'date', this.host);
15279
15427
  }
15280
15428
  validateAccessKey(value) {
15281
15429
  this.controller.validateAccessKey(value);
@@ -15546,9 +15694,9 @@ class KolInputEmail {
15546
15694
  const { ariaDescribedBy } = getRenderStates(this.state);
15547
15695
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
15548
15696
  const hasExpertSlot = showExpertSlot(this.state._label);
15549
- return (hAsync(Host, { class: {
15697
+ return (hAsync(Host, { key: '1010c13d2bac3c27fa31b567555a488b1fac3f93', class: {
15550
15698
  'has-value': this.state._hasValue,
15551
- } }, hAsync("kol-input", { class: { email: true, 'hide-label': !!this.state._hideLabel }, _accessKey: this.state._accessKey, _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", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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, spellcheck: "false", type: "email", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
15699
+ } }, hAsync("kol-input", { key: 'd1dfdbbcab99c404211843b92a6f5824d699d8b1', class: { email: true, 'hide-label': !!this.state._hideLabel }, _accessKey: this.state._accessKey, _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: '7257973314bca2037ac794ccb4ded0fb5af970d0', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: '16ab7468139503e608b61a3fba47e8d7ff6095be', slot: "input" }, hAsync("input", Object.assign({ key: 'b87e5fc3ed10295c7f15bd825bfe62fd8009b97c', ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, multiple: this.state._multiple, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, spellcheck: "false", type: "email", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
15552
15700
  }
15553
15701
  constructor(hostRef) {
15554
15702
  registerInstance(this, hostRef);
@@ -15604,7 +15752,7 @@ class KolInputEmail {
15604
15752
  _label: '',
15605
15753
  _suggestions: [],
15606
15754
  };
15607
- this.controller = new InputEmailController(this, 'input-email', this.host);
15755
+ this.controller = new InputEmailController(this, 'email', this.host);
15608
15756
  }
15609
15757
  validateAccessKey(value) {
15610
15758
  this.controller.validateAccessKey(value);
@@ -15801,10 +15949,10 @@ class KolInputFile {
15801
15949
  render() {
15802
15950
  const { ariaDescribedBy } = getRenderStates(this.state);
15803
15951
  const hasExpertSlot = showExpertSlot(this.state._label);
15804
- return (hAsync(Host, null, hAsync("kol-input", { class: {
15952
+ return (hAsync(Host, { key: '1a00cbdc8da61ed4d773749d445e7028ea295780' }, hAsync("kol-input", { key: '6f4ac79d4a9194f32b9f1bcd2b384aae023884fb', class: {
15805
15953
  file: true,
15806
15954
  'hide-label': !!this.state._hideLabel,
15807
- }, _accessKey: this.state._accessKey, _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", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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 }))))));
15955
+ }, _accessKey: this.state._accessKey, _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: '32d556ef00c6b59a5122b4e77f96753ad1c02b5d', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: '8ee73c16f14342716a38c602b71cf50aa3a8923a', slot: "input" }, hAsync("input", Object.assign({ key: '71bbb2da4c60b7b9550782aa951cf18516eab2fa', 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 }))))));
15808
15956
  }
15809
15957
  constructor(hostRef) {
15810
15958
  registerInstance(this, hostRef);
@@ -15850,7 +15998,7 @@ class KolInputFile {
15850
15998
  _id: `id-${nonce()}`,
15851
15999
  _label: '',
15852
16000
  };
15853
- this.controller = new InputFileController(this, 'input-file', this.host);
16001
+ this.controller = new InputFileController(this, 'file', this.host);
15854
16002
  }
15855
16003
  validateAccept(value) {
15856
16004
  this.controller.validateAccept(value);
@@ -16071,12 +16219,12 @@ class KolInputNumber {
16071
16219
  const { ariaDescribedBy } = getRenderStates(this.state);
16072
16220
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
16073
16221
  const hasExpertSlot = showExpertSlot(this.state._label);
16074
- return (hAsync(Host, { class: {
16222
+ return (hAsync(Host, { key: 'cd7f33a2ad550edf368e904bccec26d6daafe0f9', class: {
16075
16223
  'has-value': this.state._hasValue,
16076
- } }, hAsync("kol-input", { class: {
16224
+ } }, hAsync("kol-input", { key: 'fa31562f05fdcdedc9d7b27c35984302307320f5', class: {
16077
16225
  number: true,
16078
16226
  'hide-label': !!this.state._hideLabel,
16079
- }, _accessKey: this.state._accessKey, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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: "number", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
16227
+ }, _accessKey: this.state._accessKey, _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: 'dcea00aa8a8141b85dc97c0b29a9f961ef464a00', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: '9d1da1b50a72dd6c7e3525b15bbe1bc2689f7b51', slot: "input" }, hAsync("input", Object.assign({ key: '6f1cf0cf4c5994fbd9e689c753ba4e7a2bfe5795', ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, placeholder: this.state._placeholder, step: this.state._step, spellcheck: "false", type: "number", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
16080
16228
  }
16081
16229
  constructor(hostRef) {
16082
16230
  registerInstance(this, hostRef);
@@ -16129,7 +16277,7 @@ class KolInputNumber {
16129
16277
  _label: '',
16130
16278
  _suggestions: [],
16131
16279
  };
16132
- this.controller = new InputNumberController(this, 'input-number', this.host);
16280
+ this.controller = new InputNumberController(this, 'number', this.host);
16133
16281
  }
16134
16282
  validateAccessKey(value) {
16135
16283
  this.controller.validateAccessKey(value);
@@ -16298,12 +16446,12 @@ class KolInputPassword {
16298
16446
  render() {
16299
16447
  const { ariaDescribedBy } = getRenderStates(this.state);
16300
16448
  const hasExpertSlot = showExpertSlot(this.state._label);
16301
- return (hAsync(Host, { class: {
16449
+ return (hAsync(Host, { key: '9dc5a4f4f630528c5109ca88a7080cb6bf67a309', class: {
16302
16450
  'has-value': this.state._hasValue,
16303
- } }, hAsync("kol-input", { class: {
16451
+ } }, hAsync("kol-input", { key: 'edfa1940e0f75db1500aa7109231f07eee670bf6', class: {
16304
16452
  'hide-label': !!this.state._hideLabel,
16305
16453
  password: true,
16306
- }, _accessKey: this.state._accessKey, _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", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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, spellcheck: "false", type: "password", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
16454
+ }, _accessKey: this.state._accessKey, _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: '49d31402441803e467e5436802d502bebb3bd502', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: '1eb4f001b9412bfcb311aef044f4acc0b7ebe184', slot: "input" }, hAsync("input", Object.assign({ key: '36089c1878bc4278886f27489f002fb4e332f570', ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, spellcheck: "false", type: "password", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
16307
16455
  }
16308
16456
  constructor(hostRef) {
16309
16457
  registerInstance(this, hostRef);
@@ -16356,7 +16504,7 @@ class KolInputPassword {
16356
16504
  _id: `id-${nonce()}`,
16357
16505
  _label: '',
16358
16506
  };
16359
- this.controller = new InputPasswordController(this, 'input-password', this.host);
16507
+ this.controller = new InputPasswordController(this, 'password', this.host);
16360
16508
  }
16361
16509
  validateAccessKey(value) {
16362
16510
  this.controller.validateAccessKey(value);
@@ -16518,14 +16666,14 @@ class KolInputRadio {
16518
16666
  render() {
16519
16667
  const { ariaDescribedBy, hasError } = getRenderStates(this.state);
16520
16668
  const hasExpertSlot = showExpertSlot(this.state._label);
16521
- return (hAsync(Host, null, hAsync("fieldset", { class: {
16669
+ return (hAsync(Host, { key: 'c9e64d8efb3ce0debe7b9532eb6071425d6f2201' }, hAsync("fieldset", { key: 'd8fbd35669f5f399aed3bedb07ff429f34306022', class: {
16522
16670
  fieldset: true,
16523
16671
  disabled: this.state._disabled === true,
16524
16672
  error: hasError === true,
16525
16673
  required: this.state._required === true,
16526
16674
  'hidden-error': this._hideError === true,
16527
16675
  [this.state._orientation]: true,
16528
- } }, hAsync("legend", { class: "block w-full mb-1 leading-normal" }, hAsync("span", null, hAsync("span", { slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this._accessKey === 'string' ? (hAsync(InternalUnderlinedAccessKey, { accessKey: this._accessKey, label: this._label })) : (this._label)))), this.state._options.map((option, index) => {
16676
+ } }, hAsync("legend", { key: 'df0ecf4b0dbdd28aa9340f2d13da7e1d792c38bd', class: "block w-full mb-1 leading-normal" }, hAsync("span", { key: '51e28dd4824425a92cedd525da59f1bdef3bdf07' }, hAsync("span", { key: '5dddfbcc63e57962de5ea5b98c3642e3f8373b95', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this._accessKey === 'string' ? (hAsync(InternalUnderlinedAccessKey, { accessKey: this._accessKey, label: this._label })) : (this._label)))), this.state._options.map((option, index) => {
16529
16677
  const customId = `${this.state._id}-${index}`;
16530
16678
  const slotName = `radio-${index}`;
16531
16679
  return (hAsync("kol-input", { class: {
@@ -16585,7 +16733,7 @@ class KolInputRadio {
16585
16733
  _options: [],
16586
16734
  _orientation: 'vertical',
16587
16735
  };
16588
- this.controller = new InputRadioController(this, 'input-radio', this.host);
16736
+ this.controller = new InputRadioController(this, 'radio', this.host);
16589
16737
  }
16590
16738
  validateAccessKey(value) {
16591
16739
  this.controller.validateAccessKey(value);
@@ -16768,12 +16916,12 @@ class KolInputRange {
16768
16916
  const { ariaDescribedBy } = getRenderStates(this.state);
16769
16917
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
16770
16918
  const hasExpertSlot = showExpertSlot(this.state._label);
16771
- return (hAsync(Host, null, hAsync("kol-input", { class: {
16919
+ return (hAsync(Host, { key: '3063e3182a644acac54d280ef6cc6dc12c97e3cd' }, hAsync("kol-input", { key: '7f67c977b65b767fa2f3752c73bd4020cb2c0bf0', class: {
16772
16920
  range: true,
16773
16921
  'hide-label': !!this.state._hideLabel,
16774
- }, _accessKey: this.state._accessKey, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { slot: "input" }, hAsync("div", { class: "inputs-wrapper", style: {
16922
+ }, _accessKey: this.state._accessKey, _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: 'd7e3122596fa19c63e05d69855fbc693cb8c4fe7', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: '334e8196e0a431b4ee5b7facef958de2a4e4bb47', slot: "input" }, hAsync("div", { key: 'e31f8117925acae260c1ca724d4fad90b3407b73', class: "inputs-wrapper", style: {
16775
16923
  '--kolibri-input-range--input-number--width': `${this.state._max}`.length + 0.5 + 'em',
16776
- } }, 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 && [
16924
+ } }, hAsync("input", Object.assign({ key: 'c8b422e960b6970de164b495e78f6a7b1ac0ad58', 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: '7823e5a594ba84184ebdf45c7fafccac82072bb3', 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 && [
16777
16925
  hAsync("datalist", { id: `${this.state._id}-list` }, this.state._suggestions.map((option) => (hAsync("option", { value: option })))),
16778
16926
  ]))));
16779
16927
  }
@@ -16843,7 +16991,7 @@ class KolInputRange {
16843
16991
  _label: '',
16844
16992
  _suggestions: [],
16845
16993
  };
16846
- this.controller = new InputRangeController(this, 'input-range', this.host);
16994
+ this.controller = new InputRangeController(this, 'range', this.host);
16847
16995
  }
16848
16996
  validateAccessKey(value) {
16849
16997
  this.controller.validateAccessKey(value);
@@ -16987,12 +17135,12 @@ class KolInputText {
16987
17135
  const { ariaDescribedBy } = getRenderStates(this.state);
16988
17136
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
16989
17137
  const hasExpertSlot = showExpertSlot(this.state._label);
16990
- return (hAsync(Host, { class: {
17138
+ return (hAsync(Host, { key: '8c39e3b68d6c24eca318d6863838f9e62ae58cca', class: {
16991
17139
  'has-value': this.state._hasValue,
16992
- } }, hAsync("kol-input", { class: {
17140
+ } }, hAsync("kol-input", { key: '068ec3fc8ff78febf6793adc0bf65789aff082d2', class: {
16993
17141
  [this.state._type]: true,
16994
17142
  'hide-label': !!this.state._hideLabel,
16995
- }, _accessKey: this.state._accessKey, _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", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
17143
+ }, _accessKey: this.state._accessKey, _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: 'eb3d8afa30bdca1feaaca76269ef01c4901493d7', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: 'af4199f60ca3dbd22426f6b6d25897e5883da8b4', slot: "input" }, hAsync("input", Object.assign({ key: 'a08f6f8474d596096f80cb7312534ec62b916456', ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
16996
17144
  }
16997
17145
  constructor(hostRef) {
16998
17146
  registerInstance(this, hostRef);
@@ -17059,7 +17207,7 @@ class KolInputText {
17059
17207
  _suggestions: [],
17060
17208
  _type: 'text',
17061
17209
  };
17062
- this.controller = new InputTextController(this, 'input-text', this.host);
17210
+ this.controller = new InputTextController(this, 'text', this.host);
17063
17211
  }
17064
17212
  validateAccessKey(value) {
17065
17213
  this.controller.validateAccessKey(value);
@@ -17255,7 +17403,7 @@ class KolKolibri {
17255
17403
  }
17256
17404
  render() {
17257
17405
  const fillColor = `rgb(${this.state._color.red},${this.state._color.green},${this.state._color.blue})`;
17258
- 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")))));
17406
+ return (hAsync(Host, { key: 'ace45f5926a8b600be0cc2273c8f8d546d8ba8e6' }, hAsync("svg", { key: '55eb99abc0de54f35143118031842ea7cc70842d', 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: '6942ab866b0ad07bf7a2a568bf8de31e835a5a96', d: "M353 322L213 304V434L353 322Z" }), hAsync("path", { key: 'eb9f91f28efba0690560edfc3ed6711b36e90259', d: "M209 564V304L149 434L209 564Z" }), hAsync("path", { key: 'a7eac30abca3ea80e8c949ef4f8f956e36abc12f', d: "M357 316L417 250L361 210L275 244L357 316Z" }), hAsync("path", { key: 'fe744bbfafb1223b8a9ccf849fa18a453ba518eb', d: "M329 218L237 92L250 222L272 241L329 218Z" }), hAsync("path", { key: 'b92a34e10d1ea8c34f6ddd3b3b2eb216f18fea2d', d: "M353 318L35 36L213 300L353 318Z" }), hAsync("path", { key: 'ce93d66cc49880140d623bbfea2fc1e81192b8f8', d: "M391 286L565 272L421 252L391 286Z" }), this.state._labeled === true && (hAsync("text", { x: "250", y: "525", fill: fillColor }, "KoliBri")))));
17259
17407
  }
17260
17408
  validateColor(value) {
17261
17409
  validateColor(this, value, {
@@ -17319,7 +17467,7 @@ class KolLink {
17319
17467
  this._tooltipAlign = 'right';
17320
17468
  }
17321
17469
  render() {
17322
- return (hAsync(Host, null, hAsync("kol-link-wc", { ref: this.catchRef, _accessKey: this._accessKey, _ariaCurrentValue: this._ariaCurrentValue, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _label: this._label, _on: this._on, _role: this._role, _tabIndex: this._tabIndex, _target: this._target, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { name: "expert", slot: "expert" }))));
17470
+ return (hAsync(Host, { key: '6710a59a05f71914b93c200848ca36e6ddfaf34e' }, hAsync("kol-link-wc", { key: '698c38c2e98a207093a813f2e4136ea6756c5fb1', ref: this.catchRef, _accessKey: this._accessKey, _ariaCurrentValue: this._ariaCurrentValue, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _label: this._label, _on: this._on, _role: this._role, _tabIndex: this._tabIndex, _target: this._target, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { key: '685bd39e0a4b03a8ac3eb2cf8f1b7beed3669604', name: "expert", slot: "expert" }))));
17323
17471
  }
17324
17472
  get host() { return getElement(this); }
17325
17473
  static get style() { return {
@@ -17375,11 +17523,11 @@ class KolLinkButton {
17375
17523
  this._variant = 'normal';
17376
17524
  }
17377
17525
  render() {
17378
- return (hAsync(Host, null, hAsync("kol-link-wc", { ref: this.catchRef, class: {
17526
+ return (hAsync(Host, { key: '489505aec82cab0c660d6a4a6a3270582fd392df' }, hAsync("kol-link-wc", { key: '592085ffa185d411abb0f6b907b82c18415b4787', ref: this.catchRef, class: {
17379
17527
  button: true,
17380
17528
  [this._variant]: this._variant !== 'custom',
17381
17529
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
17382
- }, _accessKey: this._accessKey, _ariaCurrentValue: this._ariaCurrentValue, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _label: this._label, _on: this._on, _role: "button", _tabIndex: this._tabIndex, _target: this._target, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { name: "expert", slot: "expert" }))));
17530
+ }, _accessKey: this._accessKey, _ariaCurrentValue: this._ariaCurrentValue, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _label: this._label, _on: this._on, _role: "button", _tabIndex: this._tabIndex, _target: this._target, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { key: 'b119d17e62c9b30d9f041d1af1d3bc8e592e7582', name: "expert", slot: "expert" }))));
17383
17531
  }
17384
17532
  get host() { return getElement(this); }
17385
17533
  static get style() { return {
@@ -17442,7 +17590,7 @@ class KolLinkGroup {
17442
17590
  };
17443
17591
  }
17444
17592
  render() {
17445
- return (hAsync("nav", { "aria-label": this.state._label, class: {
17593
+ return (hAsync("nav", { key: 'b6e88795a40d5c7d21733ed902e0e2cfcf15f87a', "aria-label": this.state._label, class: {
17446
17594
  vertical: this.state._orientation === 'vertical',
17447
17595
  horizontal: this.state._orientation === 'horizontal',
17448
17596
  } }, 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 })))));
@@ -17586,13 +17734,13 @@ class KolLinkWc {
17586
17734
  render() {
17587
17735
  const { isExternal, tagAttrs } = this.getRenderValues();
17588
17736
  const hasExpertSlot = showExpertSlot(this.state._label);
17589
- return (hAsync(Host, null, hAsync("a", Object.assign({ ref: this.catchRef }, tagAttrs, { accessKey: this.state._accessKey, "aria-current": this.state._ariaCurrent, "aria-disabled": this.state._disabled ? 'true' : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string'
17737
+ return (hAsync(Host, { key: '5af118226534baebdc688bbe495e5d1640d485e9' }, hAsync("a", Object.assign({ key: '7327fe25769295d0786ddaf0c60b8758e3411715', ref: this.catchRef }, tagAttrs, { accessKey: this.state._accessKey, "aria-current": this.state._ariaCurrent, "aria-disabled": this.state._disabled ? 'true' : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string'
17590
17738
  ? `${this.state._label}${isExternal ? ` (${translate('kol-open-link-in-tab')})` : ''}`
17591
17739
  : undefined, class: {
17592
17740
  disabled: this.state._disabled === true,
17593
17741
  'external-link': isExternal,
17594
17742
  'hide-label': this.state._hideLabel === true,
17595
- } }, this.state._on, { onClick: this.onClick, onKeyPress: this.onClick, role: this.state._role, tabIndex: this.state._disabled ? -1 : this.state._tabIndex }), hAsync("kol-span-wc", { _accessKey: this.state._accessKey, _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, _accessKey: this.state._accessKey, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href })));
17743
+ } }, this.state._on, { onClick: this.onClick, onKeyPress: this.onClick, role: this.state._role, tabIndex: this.state._disabled ? -1 : this.state._tabIndex }), hAsync("kol-span-wc", { key: '5d7506bc04fb5790b1ee3f6dfdc56d309c9c829e', _accessKey: this.state._accessKey, _icons: this.state._icons, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? '' : this.state._label || this.state._href }, hAsync("slot", { key: '7212d1125baffafd781c7bdd9aef082332fa1d58', 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: '8ad3681d1c91dc44b2282f8ba180d1c1868db92a', "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _accessKey: this.state._accessKey, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href })));
17596
17744
  }
17597
17745
  validateAccessKey(value) {
17598
17746
  validateAccessKey(this, value);
@@ -17906,7 +18054,7 @@ class KolLogo {
17906
18054
  }
17907
18055
  render() {
17908
18056
  var _a;
17909
- 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) => {
18057
+ return (hAsync("svg", { key: 'd4cd2b9f73edfd42aa619e4cab6183b067f41785', "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: '39e257c063908ce9c165cafabf09168132e5265e', width: "100%", height: "100%", fill: "white" }), hAsync("svg", { key: '43ddbb553a5d45cb009ce805f11b01e2903025cc', x: "0", y: "4", height: "75" }, hAsync(Adler, { key: '8da4c572d5299c5fb2f55413bab21392db5a5e0e' })), hAsync("svg", { key: 'b219fa7ad4868b92b4311d6fa4dd2b6d7a338275', x: "40.5", y: "3.5", height: "100" }, hAsync("rect", { key: '6bec23ae0251600a066f59200a7c4d9d88422409', width: "5", height: "30" }), hAsync("rect", { key: 'c40fe99a709a2e696683bbced343e7409744fb66', y: "30", width: "5", height: "30", fill: "red" }), hAsync("rect", { key: 'c36e3de0a96d12abc228ec70464280095ebb4c0b', y: "60", width: "5", height: "30", fill: "#fc0" })), hAsync("svg", { key: 'e9727334c08d1f2a412ea2cb43ebffa8d9fa2b29', x: "50", y: "0" }, hAsync("text", { key: '760f0879b6eaa576fc649bc21c28611cf37aeea0', 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) => {
17910
18058
  return (hAsync("tspan", { x: "0", dy: "1.1em", key: `kol-logo-text-${index}` }, text));
17911
18059
  }))) : (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.")))))));
17912
18060
  }
@@ -17966,7 +18114,7 @@ class KolModal {
17966
18114
  }
17967
18115
  }
17968
18116
  render() {
17969
- return (hAsync(Host, { ref: (el) => {
18117
+ return (hAsync(Host, { key: '13b0c852e8354c554f0aa24ad2482f969e3ff1cc', ref: (el) => {
17970
18118
  this.hostElement = el;
17971
18119
  } }, this.state._activeElement && (hAsync("div", { class: "overlay" }, hAsync("div", { class: "modal", style: {
17972
18120
  width: this.state._width,
@@ -18134,11 +18282,11 @@ class KolNav {
18134
18282
  const collapsible = this.state._collapsible === true;
18135
18283
  const hideLabel = this.state._hideLabel === true;
18136
18284
  const orientation = this.state._orientation;
18137
- return (hAsync(Host, null, hAsync("div", { class: {
18285
+ return (hAsync(Host, { key: '24ac126009d1258a19767f0383de91a986caaad3' }, hAsync("div", { key: '4b6f320e19ad9a2dd41d0fb10c7386c9544e6694', class: {
18138
18286
  nav: true,
18139
18287
  [orientation]: true,
18140
18288
  'is-compact': this.state._hideLabel,
18141
- } }, 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: {
18289
+ } }, hAsync("nav", { key: '651dc0c04ca400605b475c9e1b2d366a62681d9f', "aria-label": this.state._label, id: "nav" }, hAsync(this.linkList, { key: 'fd850d1be85c31083ac52f7f37a06eb9d39909bb', 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: {
18142
18290
  onClick: () => {
18143
18291
  this.state = Object.assign(Object.assign({}, this.state), { _hideLabel: this.state._hideLabel === false });
18144
18292
  },
@@ -20610,7 +20758,7 @@ class KolPopover {
20610
20758
  });
20611
20759
  }
20612
20760
  render() {
20613
- 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))));
20761
+ return (hAsync(Host, { key: '6045a307b99a11bd0cf51e75b597837c3e78b3ad', ref: this.catchHostAndTriggerElement }, hAsync("div", { key: '25381a572a890f5965b19fb4f8d5d2cbe6b3fa84', class: { popover: true, hidden: !this.state._show, show: this.state._visible }, ref: this.catchPopoverElement }, hAsync("div", { key: '32699d94f9724862febdcbc9980d83e5cbeca45d', class: `arrow ${this.state._align}`, ref: this.catchArrowElement }), hAsync("slot", { key: 'c592d6463221cea6fb9e1f698d0790be8fbeaeb6' }))));
20614
20762
  }
20615
20763
  validateAlign(value) {
20616
20764
  validateAlign(this, value);
@@ -20683,7 +20831,7 @@ class KolProcess {
20683
20831
  };
20684
20832
  }
20685
20833
  render() {
20686
- 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", class: "visually-hidden" }, this.state._liveValue, " von ", this.state._max, " ", this.state._unit)));
20834
+ return (hAsync(Host, { key: 'b8551d5fcc8df4128baae8f4368ec3e2c32305cd' }, createProgressSVG(this.state), hAsync("progress", { key: 'cfcba3a3fc063ac99e368f02008b83832e4604bb', "aria-busy": this.state._value < this.state._max ? 'true' : 'false', max: this.state._max, value: this.state._value }), hAsync("span", { key: 'e03e9b9e456858ae4d090720900fb9238ae2c5fb', "aria-live": "polite", "aria-relevant": "removals text", class: "visually-hidden" }, this.state._liveValue, " von ", this.state._max, " ", this.state._unit)));
20687
20835
  }
20688
20836
  validateLabel(value) {
20689
20837
  validateLabel(this, value);
@@ -20792,7 +20940,7 @@ class KolQuote {
20792
20940
  }
20793
20941
  render() {
20794
20942
  const hasExpertSlot = showExpertSlot(this.state._quote);
20795
- return (hAsync(Host, null, hAsync("figure", { class: {
20943
+ return (hAsync(Host, { key: 'e64c92051e075c6caac6948c3f57ecc136b9dc48' }, hAsync("figure", { key: 'de736aac773e427275ca48515ef8c8941821c920', class: {
20796
20944
  [this.state._variant]: true,
20797
20945
  } }, 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" })))))));
20798
20946
  }
@@ -20935,10 +21083,10 @@ class KolSelect {
20935
21083
  render() {
20936
21084
  const { ariaDescribedBy } = getRenderStates(this.state);
20937
21085
  const hasExpertSlot = showExpertSlot(this.state._label);
20938
- return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: {
21086
+ return (hAsync(Host, { key: '93564d25e2f745598f1831de58509e4dc97522be', class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { key: '707171f30d8f0f9f26e5af27c1411c51feb111ae', class: {
20939
21087
  'hide-label': !!this.state._hideLabel,
20940
21088
  select: true,
20941
- }, _accessKey: this.state._accessKey, _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", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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", onClick: this.controller.onFacade.onClick,
21089
+ }, _accessKey: this.state._accessKey, _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: '8746d84571d09efe98a97dcd294bc157323d9f1d', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: 'd24118171dc30049646bf799f9fcc4e679920c78', slot: "input" }, hAsync("select", { key: 'f4123c4342d377c5fd952edd6612b1ea0e325cb4', ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, size: this.state._rows, spellcheck: "false", onClick: this.controller.onFacade.onClick,
20942
21090
  onBlur: this.controller.onFacade.onBlur,
20943
21091
  onFocus: this.controller.onFacade.onFocus, onChange: this.onChange }, this.state._options.map((option, index) => {
20944
21092
  const key = `-${index}`;
@@ -21141,7 +21289,7 @@ class KolSkipNav {
21141
21289
  };
21142
21290
  }
21143
21291
  render() {
21144
- return (hAsync("nav", { "aria-label": this.state._label }, hAsync("ul", null, this.state._links.map((link, index) => {
21292
+ return (hAsync("nav", { key: '9914c49a5cf8726c148b889897c4994843516020', "aria-label": this.state._label }, hAsync("ul", { key: 'd398b0ae6d4bd90b0e95d3f62647e49ed0a18c82' }, this.state._links.map((link, index) => {
21145
21293
  return (hAsync("li", { key: index }, hAsync("kol-link-wc", Object.assign({}, link))));
21146
21294
  }))));
21147
21295
  }
@@ -21197,7 +21345,7 @@ class KolSpan {
21197
21345
  this._label = undefined;
21198
21346
  }
21199
21347
  render() {
21200
- return (hAsync("kol-span-wc", { _icons: this._icons, _hideLabel: this._hideLabel, _label: this._label, _accessKey: this._accessKey }, hAsync("slot", { name: "expert", slot: "expert" })));
21348
+ return (hAsync("kol-span-wc", { key: '0132cc04217e1979d727ba49e2dcdcf757b4becb', _icons: this._icons, _hideLabel: this._hideLabel, _label: this._label, _accessKey: this._accessKey }, hAsync("slot", { key: '42a1318de3b333aba1c08624b925cda9fca6a175', name: "expert", slot: "expert" })));
21201
21349
  }
21202
21350
  static get style() { return {
21203
21351
  default: KolSpanDefaultStyle0
@@ -29519,9 +29667,9 @@ class KolSpanWc {
29519
29667
  render() {
29520
29668
  var _a, _b, _c, _d, _e;
29521
29669
  const hideExpertSlot = !showExpertSlot(this.state._label);
29522
- return (hAsync(Host, { class: {
29670
+ return (hAsync(Host, { key: 'be4bc67de506f0e8d720a29b7e44523b9989401f', class: {
29523
29671
  'hide-label': !!this.state._hideLabel,
29524
- } }, 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" }, this.state._accessKey && this.state._label.length ? (hAsync(InternalUnderlinedAccessKey, { label: this.state._label, accessKey: this.state._accessKey })) : ((_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._accessKey && (hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey)), 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 }))));
29672
+ } }, 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: '3c9d6a132b97d663b4161a0d25ee764b4bba0af9' }, 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" }, this.state._accessKey && this.state._label.length ? (hAsync(InternalUnderlinedAccessKey, { label: this.state._label, accessKey: this.state._accessKey })) : ((_c = this.state._label) !== null && _c !== void 0 ? _c : '')))) : (''), hAsync("span", { key: 'c6f24293d68c7e26423e8f9f9f88d9c699ec27f1', "aria-hidden": hideExpertSlot ? 'true' : undefined, class: "span-label", hidden: hideExpertSlot }, hAsync("slot", { key: 'a28ec0669c4c56dc107c9c258ebda888952925bf', name: "expert" })), this.state._accessKey && (hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey)), 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 }))));
29525
29673
  }
29526
29674
  validateAccessKey(value) {
29527
29675
  validateAccessKey(this, value);
@@ -29599,7 +29747,7 @@ class KolSpin {
29599
29747
  };
29600
29748
  }
29601
29749
  render() {
29602
- return (hAsync(Host, null, this.state._show ? (hAsync("span", { "aria-busy": "true", "aria-label": translate('kol-action-running'), "aria-live": "polite", class: {
29750
+ return (hAsync(Host, { key: 'd139babeb251d92e1dec7287cd3ac5011736058e' }, this.state._show ? (hAsync("span", { "aria-busy": "true", "aria-label": translate('kol-action-running'), "aria-live": "polite", class: {
29603
29751
  spin: true,
29604
29752
  [this.state._variant]: true,
29605
29753
  }, role: "alert" }, renderSpin(this.state._variant))) : (this.showToggled && hAsync("span", { "aria-label": translate('kol-action-done'), "aria-busy": "false", "aria-live": "polite", role: "alert" }))));
@@ -29704,12 +29852,12 @@ class KolSplitButton {
29704
29852
  };
29705
29853
  }
29706
29854
  render() {
29707
- return (hAsync(Host, null, hAsync("kol-button-wc", { class: {
29855
+ return (hAsync(Host, { key: 'e14c92c229423246686da05fc29bc0ad06bcdb9d' }, hAsync("kol-button-wc", { key: 'ff109880ee0ea19361527938bc2761ef1c76ec34', class: {
29708
29856
  'main-button': true,
29709
29857
  button: true,
29710
29858
  [this._variant]: this._variant !== 'custom',
29711
29859
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
29712
- }, _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _label: this._label, _name: this._name, _on: this.clickButtonHandler, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }), hAsync("div", { class: "horizontal-line" }), hAsync("kol-button-wc", { class: "secondary-button", _disabled: this._disabled, _hideLabel: true, _icons: "codicon codicon-triangle-down", _label: `dropdown ${this.state._show ? 'schließen' : 'öffnen'}`, _on: this.clickToggleHandler }), hAsync("div", { class: "popover", ref: this.catchDropdownElements }, hAsync("div", { class: "popover-content" }, hAsync("slot", null)))));
29860
+ }, _ariaControls: this._ariaControls, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _label: this._label, _name: this._name, _on: this.clickButtonHandler, _role: this._role, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }), hAsync("div", { key: '9c08c0874bce7db3cde524dc6979307cf29f3b3a', class: "horizontal-line" }), hAsync("kol-button-wc", { key: 'ca5e5f272716d90d226c49d7212ed4c71ceff188', 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: '26b2ae9fc3164315dcd193b8aeb9a7e4d5c9bc8c', class: "popover", ref: this.catchDropdownElements }, hAsync("div", { key: '1c19689a76b6e01ffafa7ca518ece929afbea09a', class: "popover-content" }, hAsync("slot", { key: '5dd900da7d0cd74cf3cf21dfcf7026fae71fbd9b' })))));
29713
29861
  }
29714
29862
  static get style() { return {
29715
29863
  default: KolSplitButtonDefaultStyle0
@@ -29755,7 +29903,7 @@ class KolSymbol {
29755
29903
  };
29756
29904
  }
29757
29905
  render() {
29758
- return (hAsync(Host, null, hAsync("span", { "aria-label": this.state._label, role: "term" }, this.state._symbol)));
29906
+ return (hAsync(Host, { key: 'c2f1d807eee08e97e9573ef9e9bf335ea22afb78' }, hAsync("span", { key: 'ced032be84fad5ecafb51bad19c0262102755de8', "aria-label": this.state._label, role: "term" }, this.state._symbol)));
29759
29907
  }
29760
29908
  validateLabel(value) {
29761
29909
  validateLabel(this, value, {
@@ -30359,11 +30507,11 @@ class KolTable {
30359
30507
  const dataField = this.createDataField(displayedData, this.state._headers);
30360
30508
  const paginationTop = this._paginationPosition === 'top' || this._paginationPosition === 'both' ? this.renderPagination() : null;
30361
30509
  const paginationBottom = this._paginationPosition === 'bottom' || this._paginationPosition === 'both' ? this.renderPagination() : null;
30362
- return (hAsync(Host, null, this.pageEndSlice > 0 && this.showPagination && paginationTop, hAsync("div", { ref: (element) => (this.tableDivElement = element), class: "table", tabindex: "-1", onMouseDown: (event) => {
30510
+ return (hAsync(Host, { key: 'c90677150b9e97cf70042e225ee5dfa636204a2a' }, this.pageEndSlice > 0 && this.showPagination && paginationTop, hAsync("div", { key: 'e37dc0befdd35956de27a1db150b18b33ac2f8e3', ref: (element) => (this.tableDivElement = element), class: "table", tabindex: "-1", onMouseDown: (event) => {
30363
30511
  event.preventDefault();
30364
- } }, hAsync("table", { style: {
30512
+ } }, hAsync("table", { key: 'c502edd590754d46df9896d5e7ac793fddcd3789', style: {
30365
30513
  minWidth: this.state._minWidth,
30366
- } }, 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) => {
30514
+ } }, hAsync("caption", { key: '8062918aa7072822127686bd49b38f5183c73d36', 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) => {
30367
30515
  if (col.asTd === true) {
30368
30516
  return (hAsync("td", { key: `thead-${rowIndex}-${colIndex}-${col.label}`, class: {
30369
30517
  [col.textAlign]: typeof col.textAlign === 'string' && col.textAlign.length > 0,
@@ -30416,7 +30564,7 @@ class KolTable {
30416
30564
  onClick: () => this.changeCellSort(headerCell),
30417
30565
  } })) : (col.label)));
30418
30566
  }
30419
- })))))), hAsync("tbody", null, dataField.map(this.renderTableRow)), this.state._dataFoot.length > 0 ? this.renderFoot() : '')), this.pageEndSlice > 0 && this.showPagination && paginationBottom));
30567
+ })))))), hAsync("tbody", { key: 'b6c697f9ce7867647db2d24b41ce1d889bce03b6' }, dataField.map(this.renderTableRow)), this.state._dataFoot.length > 0 ? this.renderFoot() : '')), this.pageEndSlice > 0 && this.showPagination && paginationBottom));
30420
30568
  }
30421
30569
  static get watchers() { return {
30422
30570
  "_allowMultiSort": ["validateAllowMultiSort"],
@@ -30604,11 +30752,11 @@ class KolTabs {
30604
30752
  } }))));
30605
30753
  }
30606
30754
  render() {
30607
- return (hAsync(Host, null, hAsync("div", { ref: (el) => {
30755
+ return (hAsync(Host, { key: '5036574493deb60734b6c17bffe39890fda4ebfb' }, hAsync("div", { key: '4bd78978770f15cc8682196c903a07b75d483b6a', ref: (el) => {
30608
30756
  this.tabPanelsElement = el;
30609
30757
  }, class: {
30610
30758
  [`tabs-align-${this.state._align}`]: true,
30611
- } }, this.renderButtonGroup(), hAsync("div", { class: "tabs-content", ref: this.catchTabPanelHost }))));
30759
+ } }, this.renderButtonGroup(), hAsync("div", { key: '5436e5f663a2ba7979e26f58e1bf8ba54ee5c919', class: "tabs-content", ref: this.catchTabPanelHost }))));
30612
30760
  }
30613
30761
  validateAlign(value) {
30614
30762
  validateAlign(this, value);
@@ -30818,7 +30966,7 @@ class KolTextarea {
30818
30966
  render() {
30819
30967
  const { ariaDescribedBy } = getRenderStates(this.state);
30820
30968
  const hasExpertSlot = showExpertSlot(this.state._label);
30821
- 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 }, _accessKey: this.state._accessKey, _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", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", 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: {
30969
+ return (hAsync(Host, { key: '7049722c61d60394be9ae94f768d86d885a37d32', class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { key: '6962edb5ba298933533f8fcd7094a259465f3b1f', class: { textarea: true, 'hide-label': !!this.state._hideLabel, 'has-counter': !!this.state._hasCounter }, _accessKey: this.state._accessKey, _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: 'a18b7d461c8bb5b83c3cb826a3275bbc0372501f', slot: "label" }, hasExpertSlot ? (hAsync("slot", { name: "expert" })) : typeof this.state._accessKey === 'string' ? (hAsync(Fragment, null, hAsync(InternalUnderlinedAccessKey, { accessKey: this.state._accessKey, label: this.state._label }), ' ', hAsync("span", { class: "access-key-hint", "aria-hidden": "true" }, this.state._accessKey))) : (hAsync("span", null, this.state._label))), hAsync("div", { key: '592e41f63a26c46f367da898599a088e6e2e6aa5', slot: "input" }, hAsync("textarea", Object.assign({ key: 'db5e708a3375b81ed61d8d94dc1d5772cd0fc84e', 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: {
30822
30970
  resize: this.state._resize,
30823
30971
  }, value: this.state._value }))))));
30824
30972
  }
@@ -31230,7 +31378,7 @@ class KolTooltip {
31230
31378
  this.showOrHideTooltip();
31231
31379
  }
31232
31380
  render() {
31233
- 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, _accessKey: this._accessKey, _label: this.state._label })))));
31381
+ return (hAsync(Host, { key: 'f4df7d861c46a816cea3f79a2a99be74a2af8338' }, 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, _accessKey: this._accessKey, _label: this.state._label })))));
31234
31382
  }
31235
31383
  validateAccessKey(value) {
31236
31384
  validateAccessKey(this, value);
@@ -31309,7 +31457,7 @@ class KolTree {
31309
31457
  this._label = undefined;
31310
31458
  }
31311
31459
  render() {
31312
- return (hAsync("kol-tree-wc", { _label: this._label }, hAsync("slot", null)));
31460
+ return (hAsync("kol-tree-wc", { key: '4e6fa26971d45ad93918c8ec2086a638f2f9336e', _label: this._label }, hAsync("slot", { key: '452ecae760f14c983c7b9107940e8b046180ee5c' })));
31313
31461
  }
31314
31462
  static get style() { return {
31315
31463
  default: KolTreeDefaultStyle0
@@ -31357,7 +31505,7 @@ class KolTreeItem {
31357
31505
  return (_b = (await ((_a = this.element) === null || _a === void 0 ? void 0 : _a.isOpen()))) !== null && _b !== void 0 ? _b : false;
31358
31506
  }
31359
31507
  render() {
31360
- return (hAsync("kol-tree-item-wc", { _active: this._active, _label: this._label, _open: this._open, _href: this._href, ref: (element) => (this.element = element) }, hAsync("slot", null)));
31508
+ return (hAsync("kol-tree-item-wc", { key: 'b62345e32892b245ba28d96da94b9d2b8399e577', _active: this._active, _label: this._label, _open: this._open, _href: this._href, ref: (element) => (this.element = element) }, hAsync("slot", { key: 'fd08f041fe1de76696116a09e1b7079706d76d18' })));
31361
31509
  }
31362
31510
  static get style() { return {
31363
31511
  default: KolTreeItemDefaultStyle0
@@ -31397,11 +31545,11 @@ class KolTreeItemWc {
31397
31545
  this._href = undefined;
31398
31546
  }
31399
31547
  render() {
31400
- return (hAsync(Host, { onSlotchange: this.handleSlotchange.bind(this) }, hAsync("li", { class: "tree-item" }, hAsync("kol-link", { class: {
31548
+ return (hAsync(Host, { key: 'ba7536b4c6f3830d30cf9dfbdce43d0fa4f7c4fc', onSlotchange: this.handleSlotchange.bind(this) }, hAsync("li", { key: '768094efd223e5213e9db1bc301b98a25cfc8982', class: "tree-item" }, hAsync("kol-link", { key: 'd70178ff1fb10c761ff39c147cad8e5025fb82b8', class: {
31401
31549
  'tree-link': true,
31402
31550
  active: Boolean(this.state._active),
31403
- }, _label: "", _href: this.state._href, ref: (element) => (this.linkElement = element), _tabIndex: this.state._active ? 0 : -1 }, hAsync("span", { slot: "expert" }, this.state._hasChildren &&
31404
- (this.state._open ? (hAsync("span", { class: "toggle-button", onClick: (event) => void this.handleCollapseClick(event) }, "-")) : (hAsync("span", { class: "toggle-button", onClick: (event) => void this.handleExpandClick(event) }, "+"))), ' ', this.state._label)), hAsync("ul", { hidden: !this.state._hasChildren || !this.state._open, role: "group" }, hAsync("slot", null)))));
31551
+ }, _label: "", _href: this.state._href, ref: (element) => (this.linkElement = element), _tabIndex: this.state._active ? 0 : -1 }, hAsync("span", { key: '116f34650bbd9ffe172cd508d3782b63379f7b1e', slot: "expert" }, this.state._hasChildren &&
31552
+ (this.state._open ? (hAsync("span", { class: "toggle-button", onClick: (event) => void this.handleCollapseClick(event) }, "-")) : (hAsync("span", { class: "toggle-button", onClick: (event) => void this.handleExpandClick(event) }, "+"))), ' ', this.state._label)), hAsync("ul", { key: '4ae5cd8eaee46ee7ae1a7404d2bee06bb6a89804', hidden: !this.state._hasChildren || !this.state._open, role: "group" }, hAsync("slot", { key: '6b99c6ab345710c2467cc3c19aa0c9684ae609f4' })))));
31405
31553
  }
31406
31554
  validateActive(value) {
31407
31555
  validateActive(this, value || false);
@@ -31497,7 +31645,7 @@ class KolTreeWc {
31497
31645
  validateLabel(this, value);
31498
31646
  }
31499
31647
  render() {
31500
- return (hAsync(Host, { onSlotchange: this.handleSlotchange.bind(this) }, hAsync("nav", { class: "tree", "aria-label": this.state._label }, hAsync("ul", { class: "treeview-navigation", role: "tree", "aria-label": this.state._label }, hAsync("slot", null)))));
31648
+ return (hAsync(Host, { key: 'e60c77ae0b5a99ffcfe98db836cb9ea1cd4c4149', onSlotchange: this.handleSlotchange.bind(this) }, hAsync("nav", { key: 'f192d670742c7e304b5f8b9571e16e4cce60d37b', class: "tree", "aria-label": this.state._label }, hAsync("ul", { key: '0099533c1bfd1691818656555c92b2caf39770ae', class: "treeview-navigation", role: "tree", "aria-label": this.state._label }, hAsync("slot", { key: 'e05b65f5929d98f0cab0c76f08622c5b312986bc' })))));
31501
31649
  }
31502
31650
  static isTreeItem(element) {
31503
31651
  return (element === null || element === void 0 ? void 0 : element.tagName) === TREE_ITEM_TAG_NAME.toUpperCase();
@@ -31654,7 +31802,7 @@ class KolVersion {
31654
31802
  };
31655
31803
  }
31656
31804
  render() {
31657
- return (hAsync("kol-badge", { _color: "#bec5c9", _icons: {
31805
+ return (hAsync("kol-badge", { key: 'a08d296da6f4e61827ed2c5916ca4cc7f6a9e18e', _color: "#bec5c9", _icons: {
31658
31806
  left: { icon: 'codicon codicon-versions', label: translate('kol-version') },
31659
31807
  }, _label: this.state._label }));
31660
31808
  }