import{v as p,h as l,x as f,F as _,y as d,e as h,H as v,r as b,m,q as c,w as g,t as y,B as w}from"./index-CJwtOLCA.js";import{c as O}from"./clsx-09a06a12-BT_IL7Fz.js";import{t as r}from"./i18n-820d85c7-BH6ws-IX.js";import{n as k}from"./dev.utils-3a332b59-DBi0Ex3b.js";import{t as x}from"./events-29e84d75-BhxFwhXP.js";import{g as I}from"./controller-4fa871d2-DxJzFlE4.js";import{I as S}from"./InternalUnderlinedBadgeText-4b7bd697-nUTktt7o.js";import{I as V}from"./controller-icon-811adcf4-BcNia3Yb.js";import{f as C,b as A}from"./controller-e97b79b7--p8Thz4f.js";import"./associated.controller-3dab1e00-BHMiQ5Kb.js";import"./access-and-short-key-a34a0af0-BJWpCbQN.js";import"./hide-label-2b46168f-E2ZtYcU8.js";import"./label-51d66c9d-CT4N_dB0.js";import"./tooltip-align-de415afb-B-bR3uVi.js";import"./align-bc8d98ac-DfD8j5LE.js";import"./icons-d29928c3-C82OB1oh.js";/*!
 * KoliBri - The accessible HTML-Standard
 */class K extends V{constructor(t,i,n){super(t,i,n),this.keyOptionMap=new Map,this.afterPatchOptions=(s,o,a,u)=>{u==="_value"&&this.setFormAssociatedValue(s)},this.beforePatchOptions=(s,o)=>{const a=o.has("_options")?o.get("_options"):this.component.state._options;Array.isArray(a)&&a.length>0&&(this.keyOptionMap.clear(),C(this.keyOptionMap,a))},this.component=t}validateOptions(t){A(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateRequired(t){c(this.component,"_required",t)}validateValue(t){g(this.component,"_value",i=>i!==void 0,new Set(["StencilUnknown"]),t)}validatePlaceholder(t){y(this.component,"_placeholder",t)}validateHideClearButton(t){c(this.component,"_hideClearButton",t)}validateRows(t){w(this.component,"_rows",t)}componentWillLoad(){super.componentWillLoad(),this.validateOptions(this.component._options),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validatePlaceholder(this.component._placeholder),this.validateHideClearButton(this.component._hideClearButton),this.validateRows(this.component._rows)}}const B=`/*
 * This file contains all rules for accessibility.
 */
@layer kol-a11y {
  :host {
    /*
     * Minimum size of interactive elements.
     */
    --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));
    /*
     * No element should be used without a background and font color whose contrast ratio has
     * not been checked. By initially setting the background color to white and the font color
     * to black, the contrast ratio is ensured and explicit adjustment is forced.
     */
    background-color: white;
    color: black;
    /*
     * Verdana is an accessible font that can be used without requiring additional loading time.
     */
    font-family: Verdana;
    /*
     * Letter spacing is required for all texts.
     */
    letter-spacing: inherit;
    /*
     * Word spacing is required for all texts.
     */
    word-spacing: inherit;
  }
  * {
    /*
     * This rule enables the word dividing for all texts. That is important for high zoom levels.
     */
    hyphens: auto;
    /*
     * This rule enables the word dividing for all texts. That is important for high zoom levels.
     */
    word-break: break-word;
  }
  /*
   * All interactive elements should have a minimum size of rem(44).
   */
  /* input:not([type='checkbox'], [type='radio'], [type='range']), */
  /* option, */
  /* select, */
  /* textarea, */
  [role=button],
  button:not([role=link]),
  .kol-input .input {
    min-height: var(--a11y-min-size);
    min-width: var(--a11y-min-size);
  }
  /*
   * Some interactive elements should not inherit the font-family and font-size.
   */
  a,
  button,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  input,
  option,
  select,
  textarea {
    /*
     * All elements should inherit the font family from his parent element.
     */
    font-family: inherit;
    /*
     * All elements should inherit the font size from his parent element.
     */
    font-size: inherit;
    /*
     * Letter spacing is required for all texts.
     */
    letter-spacing: inherit;
    /*
     * Word spacing is required for all texts.
     */
    word-spacing: inherit;
  }
  /**
  * Sometimes we need the semantic element for accessibility reasons,
  * but we don't want to show it.
  *
  * - https://www.a11yproject.com/posts/how-to-hide-content/
  */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }
}
@layer kol-global {
  /*
   * Dieses CSS stellt sicher, dass der Standard-Style
   * von A und Button resettet werden.
   */
  :is(a, button) {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
    width: 100%; /* 100% needed for custom width from outside */
  }
  /*
   * Ensure elements with hidden attribute to be actually not visible
   * @see https://meowni.ca/hidden.is.a.lie.html
   */
  [hidden] {
    display: none !important;
  }
}
@layer kol-global {
  :host {
    font-size: calc(16rem / var(--kolibri-root-font-size, 16));
    /*
     * The max-width is needed to prevent the table from overflowing the
     * parent node, if the table is wider than the parent node.
     */
    max-width: 100%;
  }
  * {
    /*
     * We prefer to box-sizing: border-box for all elements.
     */
    box-sizing: border-box;
  }
  /* KolSpan is a layout component with icons in all directions and a label text in the middle. */
  .kol-span-wc {
    display: grid;
    place-items: center;
  }
  /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
  .kol-span-wc > span {
    display: flex;
    place-items: center;
  }
  a,
  button {
    cursor: pointer;
  }
  /* This is the text label. */
  .hide-label > .kol-span-wc > span > span {
    display: none;
  }
  /* Reset browser agent style. */
  button:disabled {
    color: unset;
  }
  .disabled label,
  .disabled:focus-within label,
  [aria-disabled=true],
  [aria-disabled=true]:focus,
  [disabled],
  [disabled]:focus {
    cursor: not-allowed;
    opacity: 0.5;
    outline: none;
  }
  [aria-disabled=true]:focus .kol-span-wc,
  [disabled]:focus .kol-span-wc {
    outline: none !important;
  }
  .badge-text-hint {
    background-color: lightgray;
    color: black;
  }
}
@layer kol-component {
  :host {
    display: block;
  }
}
@layer kol-component {
  .kol-tooltip-wc {
    display: contents;
    contain: layout;
  }
  .kol-tooltip-wc .tooltip-floating {
    animation-duration: 0.25s;
    animation-iteration-count: 1;
    animation-name: fadeInOpacity;
    animation-timing-function: ease-in;
    display: none;
    position: fixed;
    visibility: hidden;
    /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
    top: 0;
    left: 0;
    max-width: 90vw;
    max-height: 90vh;
    /* Can be used to specify the tooltip-width from the outside. Unset by default.  */
    width: var(--kol-tooltip-width);
  }
  /* Shared between content and arrow */
  .kol-tooltip-wc .tooltip-area {
    background-color: #fff;
    color: #000;
  }
  .kol-tooltip-wc .tooltip-arrow {
    height: calc(10rem / var(--kolibri-root-font-size, 16));
    position: absolute;
    transform: rotate(45deg);
    width: calc(10rem / var(--kolibri-root-font-size, 16));
    z-index: 999;
  }
  .kol-tooltip-wc .tooltip-content {
    position: relative;
    z-index: 1000;
  }
  @keyframes fadeInOpacity {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
}
@layer kol-component {
  .required label > span::after,
  .required legend > span::after {
    content: "*";
  }
}
@layer kol-component {
  input,
  textarea {
    cursor: text;
  }
  input[type=checkbox],
  input[type=color],
  input[type=file],
  input[type=radio],
  input[type=range],
  label,
  option,
  select {
    cursor: pointer;
  }
  /* input[type='checkbox'], */
  /* input[type='radio'], */
  /* input[type='range'], */
  input[type=color],
  input[type=date],
  input[type=datetime-local],
  input[type=email],
  input[type=file],
  input[type=month],
  input[type=number],
  input[type=password],
  input[type=search],
  input[type=tel],
  input[type=text],
  input[type=time],
  input[type=url],
  input[type=week],
  option,
  select,
  textarea {
    background-color: transparent;
    width: 100%;
  }
  /* needed hack for vertical alignment */
  input[type=file] {
    padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;
  }
  /* needed hack for vertical alignment */
  select[multiple] option {
    padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;
  }
}
@layer kol-component {
  .kol-alert-wc {
    display: grid;
  }
  .kol-alert-wc .heading {
    display: flex;
    place-items: center;
  }
  .kol-alert-wc .heading > div {
    flex-grow: 1;
  }
  .close {
    /* Visible with forced colors */
    outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));
  }
}
@layer kol-component {
  .kol-input {
    display: grid;
  }
  .kol-input .input-slot {
    flex-grow: 1;
  }
  input:focus,
  option:focus,
  select:focus,
  textarea:focus {
    outline: 0;
  }
  .input {
    align-items: center;
    background-color: white;
    cursor: pointer;
    display: flex;
  }
  button:not([role=link]) {
    min-height: auto;
  }
  .input > .kol-icon {
    display: grid;
    place-items: center;
  }
  .kol-input.required .input-tooltip .span-label::after {
    content: "*";
  }
}
@layer kol-component {
  .single-select {
    position: relative;
  }
  .single-select.disabled, .single-select.disabled * {
    cursor: not-allowed !important;
  }
  .single-select__group {
    display: inline-flex;
    align-items: center;
  }
  .single-select__input {
    flex-grow: 1;
  }
  .single-select__button {
    height: auto;
    width: var(--a11y-min-size);
  }
  .single-select__listbox {
    display: block;
    position: absolute;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 2;
    background-color: white;
    max-height: calc((40rem / var(--kolibri-root-font-size, 16)) * var(--visible-options, 5) + (2rem / var(--kolibri-root-font-size, 16))) !important;
  }
  .single-select__item.highlighted {
    background-color: #f0f0f0;
  }
  .single-select__listbox--cursor-hidden .single-select__item {
    cursor: none !important;
  }
  .single-select__no-results-message {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(50rem / var(--kolibri-root-font-size, 16));
  }
}`,z=B,L=class{async getValue(){return this._value}async kolFocus(){var e;(e=this.refInput)===null||e===void 0||e.focus()}onBlur(){var e,t,i;const n=(e=this.state._options)===null||e===void 0?void 0:e.find(s=>{var o,a;return((o=s.label)===null||o===void 0?void 0:o.toLowerCase())===((a=this._inputValue)===null||a===void 0?void 0:a.toLowerCase())});n?this.selectOption(n):(this._inputValue=(i=(t=this.state._options)===null||t===void 0?void 0:t.find(s=>s.value===this._value))===null||i===void 0?void 0:i.label,this._filteredOptions=[...this.state._options]),this._isOpen=!1,this._hasOpened=!1}clearSelection(){this.state._disabled||(this._focusedOptionIndex=-1,this._value=null,this._inputValue="",this._filteredOptions=[...this.state._options],this.controller.onFacade.onInput(new CustomEvent("input",{bubbles:!0,detail:{name:this.state._name,value:null}}),!0,{value:null}),this.controller.onFacade.onChange(new CustomEvent("change",{bubbles:!0,detail:{name:this.state._name,value:null}}),{value:null}))}selectOption(e){this._value=e.value,this._inputValue=e.label,this.controller.onFacade.onInput(new CustomEvent("input",{bubbles:!0,detail:{name:this.state._name,value:e.value}}),!1,e.value),this.controller.onFacade.onChange(new CustomEvent("change",{bubbles:!0,detail:{name:this.state._name,value:e.value}}),e.value),this._filteredOptions=[...this.state._options],this.controller.setFormAssociatedValue(this._value)}onInput(e){const t=e.target;this._inputValue=t.value,this._isOpen=!0,this.setFilteredOptionsByQuery(t.value),this._focusedOptionIndex=-1}handleKeyDownDropdown(e){e.key.length===1&&/[a-z0-9]/i.test(e.key)&&(e.preventDefault(),this._isOpen=!0,this.focusSuggestionStartingWith(e.key))}setFilteredOptionsByQuery(e){(e==null?void 0:e.trim())===""?this._filteredOptions=[...this.state._options]:Array.isArray(this.state._options)&&this.state._options.length>0&&e.length>0&&(this._filteredOptions=this.state._options.filter(t=>{var i,n;return(n=(i=t.label)===null||i===void 0?void 0:i.toLowerCase())===null||n===void 0?void 0:n.includes(e==null?void 0:e.toLowerCase())}))}moveFocus(e){if(!this._filteredOptions)return;let t=this._focusedOptionIndex+e;t>=this._filteredOptions.length&&(t=0),t<0&&(t=this._filteredOptions.length-1),this._focusedOptionIndex=t,this.focusOption(this._focusedOptionIndex)}focusOption(e){if(this.refOptions){const t=this.refOptions[e];t==null||t.focus()}}focusSuggestionStartingWith(e){const t=e.toLowerCase(),i=Array.isArray(this._filteredOptions)&&this._filteredOptions.findIndex(n=>n.label.toLowerCase().startsWith(t));typeof i=="number"&&(this._focusedOptionIndex=i,this.focusOption(i))}render(){var e;const t=p(this.state._label),{ariaDescribedBy:i}=I(this.state);return l(v,{key:"465945a9b9298aeb8d3197633cc678a8750f5a17",class:"kol-single-select"},l("div",{key:"a67b71855a3e2d8c7e31ee4c0a9f80ea15ee0635",class:`single-select ${this.state._disabled===!0?"disabled":""} `},l(f,{key:"4852d5f434536f7a0999cab04e8b58485a825d11",_accessKey:this.state._accessKey,_alert:this.showAsAlert(),_disabled:this.state._disabled,_hideError:this.state._hideError,_hideLabel:this.state._hideLabel,_hint:this.state._hint,_icons:this.state._icons,_id:this.state._id,_label:this.state._label,_msg:this.state._msg,_required:this.state._required,_shortKey:this.state._shortKey,_tooltipAlign:this._tooltipAlign,_touched:this.state._touched,role:"presentation"},l("span",{key:"f5a5b02874135bacce158136d7891046247c6de8",slot:"label"},t?l("slot",{name:"expert"}):typeof this.state._accessKey=="string"||typeof this.state._shortKey=="string"?l(_,null,l(S,{badgeText:d(this.state._accessKey||this.state._shortKey),label:this.state._label})," ",l("kbd",{class:"badge-text-hint","aria-hidden":"true"},d(this.state._accessKey||this.state._shortKey))):l("span",null,this.state._label)),l("div",{key:"73b25ca8efed6aa520ce9d6c8f5b296e7d1a57ef",slot:"input"},l("div",{key:"5a576279f99e5a1b8c27b88d4607abb8b5704817",class:"single-select__group"},l("input",Object.assign({key:"55c3a0fd8d78c6c49a59f286a9e987ceaddd694c",ref:this.catchRef,class:"single-select__input","data-testid":"single-select-input",type:"text","aria-autocomplete":"both","aria-controls":"listbox",value:this._inputValue,accessKey:this.state._accessKey,"aria-describedby":i.length>0?i.join(" "):void 0,"aria-label":this.state._hideLabel&&typeof this.state._label=="string"?this.state._label:void 0,"aria-activedescendant":this._isOpen&&this._focusedOptionIndex>=0?`option-${this._focusedOptionIndex}`:void 0,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",disabled:this.state._disabled,name:this.state._name,required:this.state._required},this.controller.onFacade,{onInput:this.onInput.bind(this),onChange:this.onChange.bind(this),onClick:this.toggleListbox.bind(this),onFocus:n=>{this.controller.onFacade.onFocus(n),this.inputHasFocus=!0},onBlur:n=>{this.controller.onFacade.onBlur(n),this.inputHasFocus=!1},placeholder:this.state._placeholder})),this._inputValue&&!this.state._hideClearButton&&l(h,{key:"abe05da08c3ea54481ad99a10352f6c47508ebf4",_icons:"codicon codicon-close",_label:r("kol-delete-selection"),onClick:()=>{var n;this.clearSelection(),(n=this.refInput)===null||n===void 0||n.focus()},class:"single-select__delete"}),l("button",{key:"24c9f3ed76f59b840f328d1a7b06871b263b6a80",tabindex:"-1",class:"single-select__button",onClick:this.toggleListbox.bind(this),disabled:this.state._disabled},l(h,{key:"37a74ac3788ef73ac74bc3dbd36e4e1018536e70",_icons:"codicon codicon-triangle-down",_label:r("kol-dropdown")}))),this._isOpen&&this.state._disabled!==!0&&l("ul",{key:"fea6a8bef5910f31cc10d99ac37f95f638dd1e92",role:"listbox",class:O("single-select__listbox",this.blockSuggestionMouseOver&&"single-select__listbox--cursor-hidden"),style:{"--visible-options":`${(e=this._rows)!==null&&e!==void 0?e:5}`},onKeyDown:this.handleKeyDownDropdown.bind(this)},Array.isArray(this._filteredOptions)&&this._filteredOptions.length>0?this._filteredOptions.map((n,s)=>l("li",{id:`option-${s}`,key:`-${s}`,ref:o=>{o&&(this.refOptions[s]=o)},tabIndex:-1,role:"option","aria-selected":this._value===n.value?"true":void 0,onClick:o=>{var a;this.selectOption(n),(a=this.refInput)===null||a===void 0||a.focus(),this.toggleListbox(o),this._isOpen=!1,this._hasOpened=!1},onMouseOver:()=>{this.blockSuggestionMouseOver||(this._focusedOptionIndex=s,this.focusOption(s))},onFocus:()=>{this._focusedOptionIndex=s,this.focusOption(s)},class:"single-select__item",onKeyDown:o=>{var a;(o.key==="Enter"||o.key==="NumpadEnter")&&(this.selectOption(n),(a=this.refInput)===null||a===void 0||a.focus(),this.toggleListbox(o),o.preventDefault())}},l("input",{class:"visually-hidden",type:"radio",name:"options",id:`option-radio-${s}`,value:n.value,checked:this._value===n.value||s===this._focusedOptionIndex}),l("label",{htmlFor:`option-radio-${s}`,class:"radio-label"},n.label))):l("li",{class:"single-select__no-results-message"},r("kol-no-results-message")," "))))))}handleFocusOut(){setTimeout(()=>{var e;!((e=this.host)===null||e===void 0)&&e.contains(document.activeElement)||this.onBlur()},0)}handleWindowBlur(){this.onBlur()}handleKeyDown(e){var t,i;const n=(s,o)=>{var a;e.preventDefault(),s!==void 0&&(this._isOpen=s,s||(a=this.refInput)===null||a===void 0||a.focus()),o==null||o()};switch(e.key){case"Down":case"ArrowDown":{this.blockSuggestionMouseOver=!0,n(!0,()=>this.moveFocus(1));break}case"Up":case"ArrowUp":{this.blockSuggestionMouseOver=!0,n(!0,()=>this.moveFocus(-1));break}case"Tab":this._isOpen&&(this._isOpen=!this._isOpen,(t=this.refInput)===null||t===void 0||t.focus());break;case"Esc":case"Escape":{this._hasOpened=!1,this._isOpen=!1,n(!1);break}case" ":{this._isOpen?Array.isArray(this._filteredOptions)&&this._filteredOptions.length>0&&(this.selectOption(this._filteredOptions[this._focusedOptionIndex]),(i=this.refInput)===null||i===void 0||i.focus(),n(!1)):this.toggleListbox(e);break}case"NumpadEnter":case"Enter":{this.toggleListbox(e),this._hasOpened=!1,this._isOpen=!1;break}case"Home":{this.blockSuggestionMouseOver=!0,n(void 0,()=>{this._isOpen&&(this._focusedOptionIndex=0,this.focusOption(this._focusedOptionIndex))});break}case"End":{this.blockSuggestionMouseOver=!0,n(void 0,()=>{this._isOpen&&(this._focusedOptionIndex=this._filteredOptions?this._filteredOptions.length-1:0,this.focusOption(this._focusedOptionIndex))});break}case"PageUp":{this.blockSuggestionMouseOver=!0,n(void 0,()=>this._isOpen&&this.moveFocus(-10));break}case"PageDown":{this.blockSuggestionMouseOver=!0,n(void 0,()=>this._isOpen&&this.moveFocus(10));break}}}constructor(e){b(this,e),this.refOptions=[],this.catchRef=t=>{this.refInput=t},this.toggleListbox=t=>{var i;if(t==null||t.preventDefault(),!this.state._disabled&&!this._hasOpened){this._isOpen=!0,this._hasOpened=!0,(i=this.refInput)===null||i===void 0||i.focus();const n=Array.isArray(this._filteredOptions)?this._filteredOptions.findIndex(o=>o.label===this._inputValue):-1,s=this.refOptions[n];s==null||s.scrollIntoView({block:"nearest"}),this.focusOption(this._focusedOptionIndex)}},this._focusedOptionIndex=-1,this._isOpen=!1,this._hasOpened=!1,this._filteredOptions=[],this._inputValue="",this.blockSuggestionMouseOver=!1,this._accessKey=void 0,this._placeholder=void 0,this._alert=void 0,this._disabled=!1,this._hideError=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._options=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._hideClearButton=!1,this._rows=void 0,this.state={_hideError:!1,_id:`id-${k()}`,_label:"",_options:[],_hideClearButton:!1},this.inputHasFocus=!1,this.controller=new K(this,"single-select",this.host)}showAsAlert(){return this.state._alert===void 0?!!this.state._touched&&!this.inputHasFocus:this.state._alert}validatePlaceholder(e){this.controller.validatePlaceholder(e)}validateAccessKey(e){this.controller.validateAccessKey(e)}validateAlert(e){this.controller.validateAlert(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateHideError(e){this.controller.validateHideError(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateLabel(e){this.controller.validateLabel(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateOptions(e){this.controller.validateOptions(e),this._filteredOptions=e,this.updateInputValue(this._value)}validateRequired(e){this.controller.validateRequired(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTabIndex(e){this.controller.validateTabIndex(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e),this.oldValue=e,this.updateInputValue(e)}validateHideClearButton(e){this.controller.validateHideClearButton(e)}validateRows(e){this.controller.validateRows(e)}handleMouseEvent(){this.blockSuggestionMouseOver=!1}updateInputValue(e){if(Array.isArray(this._options)){const t=this._options.find(i=>i.value===e);this._inputValue=t?String(t.label):""}}componentWillLoad(){this.refOptions=[],this._touched=this._touched===!0,this.controller.componentWillLoad(),this.oldValue=this._value,this._filteredOptions=this.state._options,this.updateInputValue(this._value)}onChange(e){var t,i,n,s;this.oldValue!==((t=this.refInput)===null||t===void 0?void 0:t.value)&&(this.oldValue=(i=this.refInput)===null||i===void 0?void 0:i.value),x("change",this.host,this._value),typeof((n=this.state._on)===null||n===void 0?void 0:n.onChange)=="function"&&!this._isOpen&&this.state._on.onChange(e,this._value&&this.oldValue!==((s=this.refInput)===null||s===void 0?void 0:s.value))}static get delegatesFocus(){return!0}get host(){return m(this)}static get watchers(){return{_placeholder:["validatePlaceholder"],_accessKey:["validateAccessKey"],_alert:["validateAlert"],_disabled:["validateDisabled"],_hideError:["validateHideError"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_options:["validateOptions"],_required:["validateRequired"],_shortKey:["validateShortKey"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_value:["validateValue"],"_hideClearButton ":["validateHideClearButton"],_rows:["validateRows"]}}};L.style={default:z};export{L as kol_single_select};
//# sourceMappingURL=kol-single-select.entry-B3rZe6IW.js.map
