import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment } from './p-a53686b3.js';
import { r as randomIdGenerator } from './p-ffe5c0e8.js';
import { l as logger } from './p-e3d2e899.js';
import { d as detectClickOutside } from './p-430607cb.js';
import { d as detectFocusOutside } from './p-ee33960b.js';
import { _ as _t } from './p-08cf2c0e.js';
import './p-717306ef.js';
import { k as FormSelectFilterValidation } from './p-5a256d98.js';
import './p-a4a001e1.js';
import './p-f518a4cf.js';
import './p-7e32c40b.js';
import './p-dcdffb3c.js';
import './p-5d21a361.js';
import './p-ad16c7a1.js';
import './p-f40f4b2a.js';
import './p-1f68d501.js';
import './p-ee88e3f1.js';
import './p-8142cc73.js';
import './p-905ccb30.js';
import './p-bc3d2778.js';
import { d as FormInputVariation, b as FormInputType, c as FormInputValidation } from './p-c8429245.js';
import './p-06625463.js';
import './p-f447b984.js';
import './p-9c5a93d8.js';
import './p-7933b555.js';
import './p-0f6c0360.js';
import './p-814ca2ad.js';
import './p-d8a98b3b.js';
import './p-07303cb5.js';
import './p-5f8dc01a.js';
import './p-2a023831.js';
import './p-5ba6737a.js';
import './p-e4a9f8f0.js';
import './p-f2a6768b.js';
import './p-40657c82.js';
import './p-f600576a.js';
import './p-3b20ec86.js';
import './p-9dd5d6c8.js';
import './p-77a93845.js';
import './p-06f939ab.js';
import './p-8cd2d6dd.js';
import './p-484a1d6d.js';
import './p-0f3fbb1e.js';
import './p-820e795b.js';
import './p-46cbbcb5.js';
import './p-d74742b8.js';
import './p-6e383896.js';
import './p-4bad4fb0.js';
import './p-d1886fff.js';
import './p-a6ca40fc.js';
import './p-b0e88537.js';
import './p-cdcaf0eb.js';
import { d as defineCustomElement$b } from './p-e8fc33ed.js';
import { d as defineCustomElement$a } from './p-d0884709.js';
import { d as defineCustomElement$9 } from './p-d1fc55fd.js';
import { d as defineCustomElement$8 } from './p-f630b5d3.js';
import { d as defineCustomElement$7 } from './p-b2ff86cf.js';
import { d as defineCustomElement$6 } from './p-34685ea4.js';
import { d as defineCustomElement$5 } from './p-e6a40b0a.js';
import { d as defineCustomElement$4 } from './p-013b272d.js';
import { d as defineCustomElement$3 } from './p-5bbb5a67.js';
import { d as defineCustomElement$2 } from './p-33f08ec3.js';

const formSelectFilterCss = ".sc-digi-form-select-filter-h{--digi--form-select-filter--footer--background:var(--digi--color--background--secondary);--digi--form-select-filter--scroll--max-height:10.625rem;--digi--form-select-filter--scroll--padding:var(--digi--padding--small);--digi--form-select-filter--reset-button--margin-right:var(--digi--padding--small);--digi--form-select-filter--legend__border-bottom:var(--digi--border-width--primary) solid var(--digi--color--divider--primary);--digi--form-select-filter--list--margin:0;--digi--form-select-filter--list--padding:var(--digi--gutter--small) 0 0 0;--digi--form-select-filter--item--margin:var(--digi--gutter--small) 0;--digi--form-select-filter--toggle-icon--transition:ease-in-out 0.2s all;--digi--form-select-filter--dropdown--border-radius:var(--digi--border-radius--input);--digi--form-select-filter--dropdown--background:var(--digi--color--background--interactive--default--input-elements);--digi--form-select-filter--dropdown--min-width:18.75rem;--digi--form-select-filter--dropdown--margin-top:var(--digi--gutter--small);--digi--form-select-filter--dropdown--z-index:999;--digi--form-select-filter--dropdown--header--background:var(--digi--color--background--secondary-accent);--digi--form-select-filter--dropdown--item--cursor:pointer;--digi--form-select-filter--dropdown--item--height:auto;--digi--form-select-filter--dropdown--item--min-height:1.5rem;--digi--form-select-filter--dropdown--item--color:var(--digi--color--text--primary);--digi--form-select-filter--dropdown--item--font-size:var(--digi--typography--body--font-size--desktop);--digi--form-select-filter--dropdown--item--font-family:var(--digi--global--typography--font-family--default);--digi--form-select-filter--dropdown--item--font-weight--default:var(--digi--typography--link--font-weight--desktop);--digi--form-select-filter--dropdown--item--font-weight--selected:var(--digi--typography--link-bold--font-weight--desktop);--digi--form-select-filter--dropdown--item--font-weight--hover:var(--digi--typography--link-bold--font-weight--desktop);--digi--form-select-filter--dropdown--item--letter-spacing:0px;--digi--form-select-filter--dropdown--item--line-height:1.5;--digi--form-select-filter--dropdown--item--margin-bottom:0px;--digi--form-select-filter--dropdown--item--border-width:var(--digi--border-width--primary);--digi--form-select-filter--dropdown--item--border-type:var(--digi--border-style--primary);--digi--form-select-filter--dropdown--item--border-color:var(--digi--color--divider--primary);--digi--form-select-filter--dropdown--item--padding-y:var(--digi--margin--small);--digi--form-select-filter--dropdown--item--padding-x:var(--digi--margin--largest);--digi--form-select-filter--dropdown--item--multiple--padding-y:var(--digi--margin--small);--digi--form-select-filter--dropdown--item--multiple--padding-x:var(--digi--padding--largest-2);--digi--form-select-filter--dropdown--item--background-color--default:var(--digi--color--background--interactive--default--input-elements);--digi--form-select-filter--dropdown--item--background-color--focus:var(--digi--color--background--interactive--hover--quarternary);--digi--form-select-filter--dropdown--item--background-color--hover:var(--digi--color--background--interactive--hover--quarternary);--digi--form-select-filter--dropdown--item--background-color--active:var(--digi--color--background--interactive--selected--tertiary);--digi--form-select-filter--dropdown--item--background-color--selected:var(--digi--color--background--interactive--selected--tertiary);--digi--form-select-filter--dropdown--item--checkbox--background-color:var(--digi--color--background--interactive--default--input-elements);--digi--form-select-filter--dropdown--item--checkbox--background-color--selected:var(--digi--color--marking--indication--primary);--digi--form-select-filter--dropdown--item--checkbox--border-color:var(--digi--color--border--interactive--default--on-input);--digi--form-select-filter--dropdown--item--checkbox--border-width:var(--digi--border-width--primary);--digi--form-select-filter--dropdown--item--checkbox--border-style:var(--digi--border-style--primary);--digi--form-select-filter--dropdown--item--checkbox--border-radius:var(--digi--border-radius--tertiary);--digi--form-select-filter--dropdown--item--checkbox--width:1.25rem;--digi--form-select-filter--dropdown--item--checkbox--height:1.25rem;--digi--form-select-filter--toggle-button-indicator--color--default:var(--digi--color--background--interactive--default--input-elements);--digi--form-select-filter--toggle-button-indicator--color--active:var(--digi--color--marking--indication--primary);--digi--form-select-filter--toggle-button-indicator--width:1rem;--digi--form-select-filter--toggle-button-indicator--height:1rem;--digi--form-select-filter--toggle-button-indicator--margin-right:var(--digi--margin--small);--digi--form-select-filter--toggle-button-indicator--margin-left:calc(var(--digi--margin--smaller) * -1);--digi--form-select-filter--toggle-button--text--margin-right:var(--digi--margin--smaller);--digi--form-select-filter--toggle-button-indicator--color:var(--digi--color--marking--indication--primary);--digi--form-select-filter--toggle-icon--width:0.875rem;--digi--form-select-filter--toggle-icon--height:0.875rem;--digi--form-select-filter--search-input--border-radius:var(--digi--border-radius--input);--digi--form-select-filter--search-input--border-width:var(--digi--border-width--input-regular);--digi--form-select-filter--search-input--border-style:var(--digi--border-style--primary);--digi--form-select-filter--search-input--border-color:var(--digi--form-select-filter--toggle-button--border-width--neutral);--digi--form-select-filter--search-input--height:var(--digi--input-height--medium);--digi--form-select-filter--search-input--width:100%;--digi--form-select-filter--legend--font-weight:var(--digi--typography--preamble--font-weight--desktop);--digi--form-select-filter--legend--font-family:var(--digi--global--typography--font-family--default);--digi--form-select-filter--legend--font-size:var(--digi--typography--preamble--font-size--desktop);--digi--form-select-filter--toggle-button--border-width--neutral:var(--digi--border-width--input-regular);--digi--form-select-filter--toggle-button--border-color--neutral:var(--digi--color--border--interactive--default--on-input);--digi--form-select-filter--toggle-button--background--neutral:var(--digi--color--background--interactive--default--input-elements);--digi--form-select-filter--toggle-button--border-width--success:var(--digi--border-width--input-validation);--digi--form-select-filter--toggle-button--border-color--success:var(--digi--color--border--interactive--validation--success);--digi--form-select-filter--toggle-button--background--success:var(--digi--color--background--interactive--validation--success);--digi--form-select-filter--toggle-button--border-width--warning:var(--digi--border-width--input-validation);--digi--form-select-filter--toggle-button--border-color--warning:var(--digi--color--border--interactive--validation--warning);--digi--form-select-filter--toggle-button--background--warning:var(--digi--color--background--interactive--validation--warning);--digi--form-select-filter--toggle-button--border-width--error:var(--digi--border-width--input-validation);--digi--form-select-filter--toggle-button--border-color--error:var(--digi--color--border--interactive--validation--error);--digi--form-select-filter--toggle-button--background--error:var(--digi--color--background--interactive--validation--error);box-sizing:content-box}.sc-digi-form-select-filter-h .digi--a11y--sr-only.sc-digi-form-select-filter{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-form-select-filter-h .digi-form-select-filter.sc-digi-form-select-filter{display:flex;flex-direction:column;gap:0.4em;position:relative;--INDICATOR--BACKGROUND:var(--digi--form-select-filter--toggle-button-indicator--color--default);--SCROLL--MAX-HEIGHT:var(--digi--form-select-filter--scroll--max-height)}.sc-digi-form-select-filter-h .digi-form-select-filter--neutral.sc-digi-form-select-filter{--BORDER-WIDTH:var(\n    --digi--form-select-filter--toggle-button--border-width--neutral\n  );--BORDER-COLOR:var(\n    --digi--form-select-filter--toggle-button--border-color--neutral\n  );--BACKGROUND:var(\n    --digi--form-select-filter--toggle-button--background--neutral\n  )}.sc-digi-form-select-filter-h .digi-form-select-filter--success.sc-digi-form-select-filter{--BORDER-WIDTH:var(\n    --digi--form-select-filter--toggle-button--border-width--success\n  );--BORDER-COLOR:var(\n    --digi--form-select-filter--toggle-button--border-color--success\n  );--BACKGROUND:var(\n    --digi--form-select-filter--toggle-button--background--success\n  )}.sc-digi-form-select-filter-h .digi-form-select-filter--warning.sc-digi-form-select-filter{--BORDER-WIDTH:var(\n    --digi--form-select-filter--toggle-button--border-width--warning\n  );--BORDER-COLOR:var(\n    --digi--form-select-filter--toggle-button--border-color--warning\n  );--BACKGROUND:var(\n    --digi--form-select-filter--toggle-button--background--warning\n  )}.sc-digi-form-select-filter-h .digi-form-select-filter--error.sc-digi-form-select-filter{--BORDER-WIDTH:var(\n    --digi--form-select-filter--toggle-button--border-width--error\n  );--BORDER-COLOR:var(\n    --digi--form-select-filter--toggle-button--border-color--error\n  );--BACKGROUND:var(\n    --digi--form-select-filter--toggle-button--background--error\n  )}.sc-digi-form-select-filter-h .digi-form-select-filter--open.sc-digi-form-select-filter .digi-form-select-filter__toggle-icon.sc-digi-form-select-filter{transform:rotate(-180deg)}.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-button.sc-digi-form-select-filter{background:var(--BACKGROUND);border:var(--BORDER-WIDTH) solid var(--BORDER-COLOR);border-radius:var(--digi--border-radius--input);color:var(--digi--color--text--primary);cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:400;font-size:var(--digi--typography--body--font-size--desktop);width:100%;padding:0 var(--digi--gutter--medium);min-height:var(--digi--input-height--medium);font-family:var(--digi--global--typography--font-family--default)}.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-button.sc-digi-form-select-filter:focus-visible,.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-button.sc-digi-form-select-filter:focus{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-icon.sc-digi-form-select-filter{transition:var(--digi--form-select-filter--toggle-icon--transition)}.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-icon.sc-digi-form-select-filter-s>[slot^=icon],.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-icon .sc-digi-form-select-filter-s>[slot^=icon]{--digi--icon--width:var(--digi--form-select-filter--toggle-icon--width);--digi--icon--height:var(--digi--form-select-filter--toggle-icon--height)}.sc-digi-form-select-filter-h .digi-form-select-filter__legend.sc-digi-form-select-filter{font-weight:var(--digi--form-select-filter--legend--font-weight);font-family:var(--digi--form-select-filter--legend--font-family);font-size:var(--digi--form-select-filter--legend--font-size);border:0;padding:0;margin:0;border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-form-select-filter-h .digi-form-select-filter__scroll.sc-digi-form-select-filter{max-height:var(--SCROLL--MAX-HEIGHT);overflow-y:auto}.sc-digi-form-select-filter-h .digi-form-select-filter__header.sc-digi-form-select-filter{background-color:var(--digi--form-select-filter--dropdown--header--background);padding:12px 12px 22px}.sc-digi-form-select-filter-h .digi-form-select-filter__header.sc-digi-form-select-filter input.sc-digi-form-select-filter{border-radius:var(--digi--form-select-filter--search-input--border-radius);border-width:var(--digi--form-select-filter--search-input--border-width);border-style:var(--digi--form-select-filter--search-input--border-style);border-color:var(--digi--form-select-filter--search-input--border-color);height:var(--digi--form-select-filter--search-input--height);width:var(--digi--form-select-filter--search-input--width)}.sc-digi-form-select-filter-h .digi-form-select-filter__header.sc-digi-form-select-filter legend.sc-digi-form-select-filter{width:100%;border-bottom:var(--digi--form-select-filter--legend__border-bottom)}.sc-digi-form-select-filter-h .digi-form-select-filter__footer.sc-digi-form-select-filter{display:flex;align-items:center;justify-content:center;background:var(--digi--form-select-filter--footer--background);padding:var(--digi--form-select-filter--scroll--padding)}.sc-digi-form-select-filter-h .digi-form-select-filter__reset-button.sc-digi-form-select-filter{display:inline-block;margin-right:var(--digi--form-select-filter--reset-button--margin-right)}.sc-digi-form-select-filter-h .digi-form-select-filter__dropdown.sc-digi-form-select-filter{box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.7);min-width:var(--digi--form-select-filter--dropdown--min-width);width:100%;position:absolute;z-index:var(--digi--form-select-filter--dropdown--z-index);background:var(--digi--form-select-filter--dropdown--background);border-radius:var(--digi--form-select-filter--dropdown--border-radius);overflow:hidden;margin-top:var(--digi--form-select-filter--dropdown--margin-top)}.sc-digi-form-select-filter-h .digi-form-select-filter__dropdown.sc-digi-form-select-filter fieldset.sc-digi-form-select-filter{border:none;padding:0;margin:0}@media (min-width: 48rem){.sc-digi-form-select-filter-h .digi-form-select-filter__dropdown--right.sc-digi-form-select-filter{right:0}}.sc-digi-form-select-filter-h .digi-form-select-filter__dropdown--hidden.sc-digi-form-select-filter{display:none}.sc-digi-form-select-filter-h .digi-form-select-filter__label.sc-digi-form-select-filter{display:block}.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-button-wrapper--activated.sc-digi-form-select-filter{display:flex;align-items:center}.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-button-indicator.sc-digi-form-select-filter{display:none;--digi--icon--color:var(--digi--form-select-filter--toggle-button-indicator--color)}.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-button-indicator--active.sc-digi-form-select-filter{display:flex;margin-right:var(--digi--form-select-filter--toggle-button-indicator--margin-right);width:var(--digi--form-select-filter--toggle-button-indicator--width);height:var(--digi--form-select-filter--toggle-button-indicator--height)}.sc-digi-form-select-filter-h .digi-form-select-filter__search-status.sc-digi-form-select-filter{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--label--font-size--desktop);color:var(--digi--color--text--primary)}.sc-digi-form-select-filter-h .digi-form-select-filter__list.sc-digi-form-select-filter{margin:var(--digi--form-select-filter--list--margin);padding:0;max-width:100%}.sc-digi-form-select-filter-h .digi-form-select-filter__item.sc-digi-form-select-filter{background-color:var(--digi--form-select-filter--dropdown--item--background-color--default);border-width:0;box-sizing:border-box;border-bottom-width:var(--digi--form-select-filter--dropdown--item--border-width);border-style:var(--digi--form-select-filter--dropdown--item--border-type);border-color:var(--digi--form-select-filter--dropdown--item--border-color);cursor:var(--digi--form-select-filter--dropdown--item--cursor);color:var(--digi--form-select-filter--dropdown--item--color);display:block;font-size:var(--digi--form-select-filter--dropdown--item--font-size);font-family:var(--digi--form-select-filter--dropdown--item--font-family);font-weight:var(--digi--form-select-filter--dropdown--item--font-weight--default);padding:var(--digi--form-select-filter--dropdown--item--padding-y) var(--digi--form-select-filter--dropdown--item--padding-x);position:relative;height:var(--digi--form-select-filter--dropdown--item--height);min-height:var(--digi--form-select-filter--dropdown--item--min-height);margin-bottom:var(--digi--form-select-filter--dropdown--item--margin-bottom);letter-spacing:var(--digi--form-select-filter--dropdown--item--letter-spacing);line-height:var(--digi--form-select-filter--dropdown--item--line-height)}.sc-digi-form-select-filter-h .digi-form-select-filter__item.sc-digi-form-select-filter:focus-visible{background-color:var(--digi--form-select-filter--dropdown--item--background-color--focus);outline:2px solid black;outline-offset:-3px;box-shadow:0px 0px 0px 5px inset white}.sc-digi-form-select-filter-h .digi-form-select-filter__item.sc-digi-form-select-filter:hover{background-color:var(--digi--form-select-filter--dropdown--item--background-color--hover);font-weight:var(--digi--form-select-filter--dropdown--item--font-weight--hover)}.sc-digi-form-select-filter-h .digi-form-select-filter__item.sc-digi-form-select-filter:active{background-color:var(--digi--form-select-filter--dropdown--item--background-color--active)}.sc-digi-form-select-filter-h .digi-form-select-filter__item[aria-checked=true].sc-digi-form-select-filter{font-weight:var(--digi--form-select-filter--dropdown--item--font-weight--selected);background-color:var(--digi--form-select-filter--dropdown--item--background-color--selected)}.sc-digi-form-select-filter-h .digi-form-select-filter__item[dir=rtl].sc-digi-form-select-filter{text-align:right}.sc-digi-form-select-filter-h .digi-form-select-filter__item[role=radio].sc-digi-form-select-filter .digi-form-select-filter__item__icon.sc-digi-form-select-filter{position:absolute;width:13px;height:25px;left:7px}.sc-digi-form-select-filter-h .digi-form-select-filter__item[role=radio][dir=rtl].sc-digi-form-select-filter::before{right:3px}.sc-digi-form-select-filter-h .digi-form-select-filter__item[role=radio][dir=rtl].sc-digi-form-select-filter .digi-form-select-filter__item__icon.sc-digi-form-select-filter{left:auto;right:7px}.sc-digi-form-select-filter-h .digi-form-select-filter__item[role=checkbox].sc-digi-form-select-filter{padding:var(--digi--form-select-filter--dropdown--item--multiple--padding-y) var(--digi--form-select-filter--dropdown--item--multiple--padding-x)}.sc-digi-form-select-filter-h .digi-form-select-filter__item[role=checkbox][aria-checked=true].sc-digi-form-select-filter:before{background:var(--digi--form-select-filter--dropdown--item--checkbox--background-color--selected);border-color:var(--digi--form-select-filter--dropdown--item--checkbox--background-color--selected)}.sc-digi-form-select-filter-h .digi-form-select-filter__item[role=checkbox].sc-digi-form-select-filter::before{content:\"\";position:absolute;background-color:var(--digi--form-select-filter--dropdown--item--checkbox--background-color);border-color:var(--digi--form-select-filter--dropdown--item--checkbox--border-color);border-width:var(--digi--form-select-filter--dropdown--item--checkbox--border-width);border-style:var(--digi--form-select-filter--dropdown--item--checkbox--border-style);height:var(--digi--form-select-filter--dropdown--item--checkbox--width);width:var(--digi--form-select-filter--dropdown--item--checkbox--height);border-radius:var(--digi--form-select-filter--dropdown--item--checkbox--border-radius);left:12px;transform:translateY(1px)}.sc-digi-form-select-filter-h .digi-form-select-filter__item[role=checkbox].sc-digi-form-select-filter .digi-form-select-filter__item__icon.sc-digi-form-select-filter{position:absolute;width:13px;left:16px;--digi--icon--color:white}.sc-digi-form-select-filter-h .digi-form-select-filter__item[role=checkbox][dir=rtl].sc-digi-form-select-filter::before{right:12px}.sc-digi-form-select-filter-h .digi-form-select-filter__item[role=checkbox][dir=rtl].sc-digi-form-select-filter .digi-form-select-filter__item__icon.sc-digi-form-select-filter{left:auto;right:16px}.sc-digi-form-select-filter-h .digi-form-select-filter__toggle-button-text.sc-digi-form-select-filter{margin-right:var(--digi--form-select-filter--toggle-button--text--margin-right)}.sc-digi-form-select-filter-h .hidden.sc-digi-form-select-filter{display:none}";
const DigiFormSelectFilterStyle0 = formSelectFilterCss;

const FormSelectFilter = /*@__PURE__*/ proxyCustomElement(class FormSelectFilter extends H {
    constructor() {
        super();
        this.__registerHost();
        this.afOnFocusout = createEvent(this, "afOnFocusout", 7);
        this.afOnSubmitFilters = createEvent(this, "afOnSubmitFilters", 7);
        this.afOnFilterClosed = createEvent(this, "afOnFilterClosed", 7);
        this.afOnResetFilters = createEvent(this, "afOnResetFilters", 7);
        this.afOnSelect = createEvent(this, "afOnSelect", 7);
        this.afOnQueryChanged = createEvent(this, "afOnQueryChanged", 7);
        this._searchQuery = '';
        this.isOpen = false;
        this.focusListItemIndex = 0;
        this.focusInList = false;
        this._afListItems = undefined;
        this._filteredResult = [];
        this._selectedItems = [];
        this.afDescription = undefined;
        this.afDisableValidation = undefined;
        this.afValidation = FormSelectFilterValidation.NEUTRAL;
        this.afValidationText = undefined;
        this.afRequired = undefined;
        this.afRequiredText = undefined;
        this.afAnnounceIfOptional = false;
        this.afAnnounceIfOptionalText = undefined;
        this.sortAlphabetically = true;
        this.value = [];
        this.afMultipleItems = false;
        this.afListItems = undefined;
        this.afId = randomIdGenerator('digi-form-select-filter');
        this.afFilterButtonTextLabel = undefined;
        this.afFilterButtonText = undefined;
        this.afFilterButtonTextMultipleValues = undefined;
        this.afSubmitButtonText = undefined;
        this.afSubmitButtonTextAriaLabel = undefined;
        this.afResetButtonText = _t.clear;
        this.afResetButtonTextAriaLabel = undefined;
        this.afHideResetButton = false;
        this.afAlignRight = undefined;
        this.afName = undefined;
        this.afEmptySearchMessage = 'Inga sökträffar för';
        this.afFilterButtonAriaDescribedby = undefined;
    }
    onValueChanged(value) {
        const joinedArray = [...value, ...this._selectedItems];
        const noDuplicates = joinedArray.filter((item, pos) => joinedArray.indexOf(item) === pos);
        if (noDuplicates && noDuplicates.length > 0) {
            if (this.afMultipleItems) {
                this._selectedItems = [...noDuplicates];
            }
            else {
                this._selectedItems = [noDuplicates[0]];
            }
        }
    }
    handleListItems() {
        if (this.afListItems) {
            try {
                if (this.afListItems.constructor === Array) {
                    this._afListItems = this.afListItems;
                }
                else if (typeof this.afListItems === 'string') {
                    this._afListItems = JSON.parse(this.afListItems);
                }
                else {
                    throw `Invalid type in "af-list-items" attribute`;
                }
                this.giveItemsValueIfNoneExist();
                this.sortListAlphabetically();
                const selectedListItems = this._afListItems.filter((item) => item.selected);
                if (selectedListItems && selectedListItems.length > 0) {
                    this._selectedItems = [...selectedListItems];
                    this.afOnSelect.emit(this._selectedItems);
                    this.value = this._selectedItems;
                }
                else if (this.value && this.value.length > 0) {
                    this._selectedItems = [...this.value];
                }
                this.filterResults();
            }
            catch (e) {
                logger.warn(`Invalid JSON in "af-list-items" attribute`, this.hostElement, e);
                return;
            }
        }
    }
    /**
     * Funktion för att rensa valda värden från komponenten
     * @en Function for clearing selected values from component
     */
    async afMReset() {
        this.resetSelectItems();
    }
    /**
     * Funktion för att stänga dropdownen
     * @en Function for closing the dropdown
     */
    async afMCloseDropdown() {
        this.setClosed();
    }
    clickHandler(e) {
        const target = e.target;
        const selector = `#${this.afId}-identifier`;
        if (detectClickOutside(target, selector) && this.isOpen) {
            this.emitFilterClosedEvent();
        }
    }
    focusoutHandler(e) {
        const target = e.target;
        const selector = `#${this.afId}-identifier`;
        const focusOutsideFilter = detectFocusOutside(target, selector);
        if (focusOutsideFilter && this.isOpen) {
            this.emitFilterClosedEvent();
        }
        else {
            this.focusInList = !detectFocusOutside(target, `#${this.afId}-select-filter-list`);
        }
    }
    debounce(func, timeout = 300) {
        let timer;
        return (...args) => {
            clearTimeout(timer);
            timer = setTimeout(() => {
                func.apply(this, args);
            }, timeout);
        };
    }
    setClosed(focusToggleButton = false) {
        this.isOpen = false;
        if (focusToggleButton) {
            document.getElementById(`${this.afId}`).focus();
        }
        this.setScroll(0);
        this._searchQuery = '';
        this.afOnQueryChanged.emit('');
        this.afOnSubmitFilters.emit(this._selectedItems);
        this.filterResults();
    }
    setScroll(scrollY) {
        document.querySelector(`#${this.afId}-dropdown-menu .digi-form-select-filter__scroll`).scrollTop = scrollY;
    }
    setOpen() {
        this.isOpen = true;
        this.focusListItemIndex = 0;
        setTimeout(() => {
            this.setFocusSearch();
        }, 50);
    }
    giveItemsValueIfNoneExist() {
        this._afListItems
            .filter((item) => {
            return item.value === undefined;
        })
            .forEach((item) => {
            item.value = item.label;
        });
    }
    sortListAlphabetically() {
        if (!this.sortAlphabetically) {
            return;
        }
        this._afListItems.sort((a, b) => {
            if (a.label < b.label) {
                return -1;
            }
            if (a.label > b.label) {
                return 1;
            }
            return 0;
        });
    }
    toggleDropdown() {
        return this.isOpen ? this.setClosed() : this.setOpen();
    }
    inputItem(identifier, index) {
        const item = this.hostElement
            .querySelectorAll(`#${identifier} .digi-form-select-filter__item`)
            .item(index);
        return item;
    }
    emitFilterClosedEvent() {
        this.setClosed(true);
        this.afOnFilterClosed.emit();
    }
    componentWillLoad() {
        this.handleListItems();
    }
    setFocusItem() {
        const element = this.inputItem(`${this.afId}-select-filter-list`, this.focusListItemIndex);
        if (element) {
            element.focus();
        }
    }
    setFocusSearch() {
        const element = this.hostElement.querySelector('input');
        if (element) {
            element.focus();
        }
    }
    incrementFocusItem() {
        const listLength = this.showNeutralValue
            ? this._filteredResult.length
            : this._filteredResult.length - 1;
        if (this.focusListItemIndex < listLength) {
            this.focusListItemIndex = this.focusListItemIndex + 1;
            this.setFocusItem();
            return;
        }
        else {
            if (!this.afMultipleItems) {
                this.focusListItemIndex = 0;
                this.setFocusItem();
                return;
            }
        }
        this.tabHandler();
    }
    decrementFocusItem() {
        if (this.focusListItemIndex === 0) {
            this.setFocusSearch();
            return;
        }
        if (this.focusListItemIndex > 0) {
            this.focusListItemIndex = this.focusListItemIndex - 1;
        }
        this.setFocusItem();
    }
    downHandler(e) {
        e.detail.preventDefault();
        if (e.detail.code === 'ArrowDown' || e.detail.code === 'ArrowRight') {
            this.incrementFocusItem();
        }
    }
    upHandler(e) {
        e.detail.preventDefault();
        if (e.detail.code === 'ArrowUp' || e.detail.code === 'ArrowLeft') {
            this.decrementFocusItem();
        }
    }
    homeHandler(e) {
        e.detail.preventDefault();
        this.focusListItemIndex = 0;
        this.setFocusItem();
    }
    endHandler(e) {
        e.detail.preventDefault();
        this.focusListItemIndex = this.showNeutralValue
            ? this._filteredResult.length
            : this._filteredResult.length - 1;
        this.setFocusItem();
    }
    enterHandler(e) {
        e.detail.preventDefault();
        e.detail.target.click();
    }
    spaceHandler(e) {
        e.detail.preventDefault();
        e.detail.target.click();
    }
    escHandler() {
        if (this.isOpen) {
            this.setClosed(true);
        }
    }
    tabHandler() {
        if (this.isOpen && this.focusInList) {
            if (this.afMultipleItems && this._submitButton) {
                setTimeout(() => {
                    var _a;
                    if (this._submitButton) {
                        (_a = this._submitButton.querySelector('button')) === null || _a === void 0 ? void 0 : _a.focus();
                    }
                }, 10);
            }
            else {
                this.setClosed(true);
            }
        }
    }
    shiftHandler() {
        if (this.isOpen && this.focusInList) {
            if (this.afMultipleItems && this._toggleButton) {
                this._toggleButton.querySelector('button').focus();
            }
            else {
                this.setFocusSearch();
            }
        }
    }
    filterResults() {
        if (this._searchQuery && this._searchQuery.length > 0) {
            this._filteredResult = [
                ...this._afListItems.filter((item) => {
                    return item.label
                        .toLowerCase()
                        .includes(this._searchQuery.toLowerCase());
                })
            ];
        }
        else {
            this._filteredResult = [...this._afListItems];
        }
    }
    inputSearchKeyboardHandler(e) {
        if (e.code === 'ArrowDown') {
            e.preventDefault();
            this.setFocusItem();
        }
        if (e.code === 'Enter' && this._searchQuery !== '') {
            e.preventDefault();
            this.setFocusItem();
        }
    }
    inputSearchInputHandler(e) {
        this._searchQuery = e.target.value;
        this.afOnQueryChanged.emit(this._searchQuery);
        this.filterResults();
    }
    resetSelectItems(close = false) {
        this._selectedItems = [];
        this.value = [];
        this.afOnSelect.emit([]);
        this._searchQuery = '';
        this.filterResults();
        if (close) {
            this.emitFilterClosedEvent();
        }
        this.afOnResetFilters.emit();
    }
    selectItemHandler(item) {
        if (this.afMultipleItems) {
            item.selected = !item.selected;
            if (this._selectedItems.filter((x) => {
                return x.value === item.value;
            }).length > 0) {
                //ITEM VALUE ALREADY EXISTS IN LIST, DELETE FROM LIST
                this._selectedItems.splice(this._selectedItems.findIndex((e) => e.value === item.value), 1);
            }
            else {
                this._selectedItems = [...this._selectedItems, item];
            }
        }
        else {
            this._selectedItems.forEach((item) => {
                item.selected = false;
            });
            item.selected = true;
            this._selectedItems = [item];
            this.emitFilterClosedEvent();
        }
        this.value = this._selectedItems;
        this.afOnSelect.emit(this._selectedItems);
        this.filterResults();
    }
    isSelected(textValue) {
        if (textValue && this._selectedItems && this._selectedItems.length > 0) {
            return (this._selectedItems.filter((item) => {
                return item.value === textValue;
            }).length > 0);
        }
        return false;
    }
    get cssModifiers() {
        return {
            'digi-form-select-filter--open': this.isOpen,
            'digi-form-select-filter--neutral': this.afValidation === FormSelectFilterValidation.NEUTRAL,
            'digi-form-select-filter--success': this.afValidation === FormSelectFilterValidation.SUCCESS,
            'digi-form-select-filter--warning': this.afValidation === FormSelectFilterValidation.WARNING,
            'digi-form-select-filter--error': this.afValidation === FormSelectFilterValidation.ERROR
        };
    }
    get cssModifiersToggleButtonIndicator() {
        return {
            'digi-form-select-filter__toggle-button-indicator--active': this._selectedItems.length > 0
        };
    }
    get cssModifiersToggleButtonWrapper() {
        return {
            'digi-form-select-filter__toggle-button-wrapper--activated': this._selectedItems.length > 0
        };
    }
    buttonText(isAriaLabel) {
        const ariaLabelText = (text = '') => {
            return isAriaLabel ? text : '';
        };
        if (this._selectedItems && this._selectedItems.length === 1) {
            return (ariaLabelText(this.afFilterButtonTextLabel + ': ') +
                this._selectedItems[0].label);
        }
        else if (this._selectedItems &&
            this._selectedItems.length > 0 &&
            this.afMultipleItems) {
            if (this.afFilterButtonTextMultipleValues) {
                return (ariaLabelText(this.afFilterButtonTextLabel + ': ') +
                    this.afFilterButtonTextMultipleValues.replace('{count}', this._selectedItems.length.toString()));
            }
            else {
                return (ariaLabelText(this.afFilterButtonTextLabel + ': ') +
                    `${this._selectedItems.length} valda`);
            }
        }
        else {
            return (ariaLabelText(this.afFilterButtonTextLabel
                ? this.afFilterButtonTextLabel + ': '
                : '') + this.afFilterButtonText);
        }
    }
    get renderButtonLabel() {
        return this.buttonText(false);
    }
    get ariaLabel() {
        return this.buttonText(true);
    }
    get showNeutralValue() {
        return (!this.afMultipleItems &&
            this.afFilterButtonText &&
            this._searchQuery.length === 0);
    }
    showValidation() {
        return !this.afDisableValidation &&
            this.afValidation !== FormSelectFilterValidation.NEUTRAL &&
            this.afValidationText
            ? true
            : false;
    }
    renderEmptyStateBox() {
        let statusMessage = '';
        if (this._filteredResult && this._filteredResult.length > 0) {
            statusMessage = `${this._filteredResult.length} sökträff${this._filteredResult.length > 1 ? 'ar' : ''}`;
        }
        else if (this._filteredResult.length === 0) {
            statusMessage = `${this.afEmptySearchMessage} ${this._searchQuery}`;
        }
        return (h(Fragment, null, h("div", { role: "status", id: `${this.afId}-searchstatus`, class: {
                'digi-form-select-filter__search-status': true,
                'digi--a11y--sr-only': this._filteredResult && this._filteredResult.length > 0
            } }, h("span", null, " ", statusMessage, " "), h("div", { class: {
                hidden: this._filteredResult && this._filteredResult.length > 0
            } }, h("slot", { name: "empty-search-result" })))));
    }
    render() {
        return (h("div", { key: '59ffc1d9dfccc348911d49d4fe2d4b4e5f2aefb9', class: Object.assign({ 'digi-form-select-filter': true }, this.cssModifiers), role: "application", id: `${this.afId}-identifier` }, h("digi-form-label", { key: 'e9ea0d81d58463dbcfca683cd26677043a49677c', afLabel: this.afFilterButtonTextLabel, afFor: `${this.afId}`, afId: `${this.afId}-label`, class: "digi-form-select-filter__label", afDescription: this.afDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("digi-util-keydown-handler", { key: '526e485fe0664d900b280148413ec284a64270e9', onAfOnEsc: () => this.escHandler() }, h("button", { key: '521363787fe80af4c7f711526c269977c7302feb', type: "button", id: `${this.afId}`, class: "digi-form-select-filter__toggle-button", onClick: () => this.toggleDropdown(), ref: (el) => (this._toggleButton = el), "aria-haspopup": "true", "aria-label": this.ariaLabel, "aria-labelledby": this.afFilterButtonAriaDescribedby, "aria-controls": `${this.afId}-dropdown-menu`, "aria-expanded": this.isOpen }, h("div", { key: '92fef929c1a37541cbae2c46d1b58066598027ba', class: Object.assign({ 'digi-form-filter__toggle-button-wrapper': true }, this.cssModifiersToggleButtonWrapper) }, h("digi-icon-check", { key: '57cec37118590daea519a2759b8efadba618aad1', class: Object.assign({ 'digi-form-select-filter__toggle-button-indicator': true }, this.cssModifiersToggleButtonIndicator), slot: "icon" }), h("span", { key: '65e862c658f9e67b4a8627f6f77d1be2365f611c', class: "digi-form-select-filter__toggle-button-text" }, this.renderButtonLabel)), h("digi-icon-chevron-down", { key: '9466f4a2f4d89ee0314f440be9e144a3c87142a5', class: "digi-form-select-filter__toggle-icon" })), h("div", { key: '736e3560ccd30dc238253208dd267774482ca8a7', id: `${this.afId}-dropdown-menu`, tabindex: this.isOpen ? '-1' : undefined, class: {
                'digi-form-select-filter__dropdown': true,
                'digi-form-select-filter__dropdown--right': this.afAlignRight,
                'digi-form-select-filter__dropdown--hidden': !this.isOpen
            } }, h("fieldset", { key: '57b313bd18ead628ffe38c709121cb48fde0cbc3' }, h("div", { key: '31fb512faf76807439e1dab1537c79908dd27bba', class: "digi-form-select-filter__header" }, h("legend", { key: '08bad844f0c681d4918d6b0b79b4c7ec182d289e', class: "digi-form-select-filter__legend" }, this.afFilterButtonTextLabel), h("digi-form-input", { key: 'ff06629732f2c5215b4e5a4ffda7d8632e060832', afLabel: this.afName, afId: `${this.afId}-search`, afVariation: FormInputVariation.MEDIUM, afType: FormInputType.SEARCH, afValidation: FormInputValidation.NEUTRAL, onAfOnFocus: () => {
                this.focusListItemIndex = 0;
            }, onAfOnKeyup: (e) => {
                this.inputSearchKeyboardHandler(e.detail);
            }, onAfOnInput: (e) => this.inputSearchInputHandler(e.detail), afValue: this._searchQuery, class: "digi-form-select-filter__search-input", afAriaControls: `${this.afId}-select-filter-list`, afAutocomplete: "off", afAriaAutocomplete: "none" }), this.renderEmptyStateBox()), h("div", { key: '1cedf3e2ebbd9c0980c8a56048efcec1cc6c3437', class: "digi-form-select-filter__scroll" }, h("digi-util-keydown-handler", { key: '10e410d90fe78d5cbc1af0eac55f4356cf37acb3', onAfOnDown: (e) => this.downHandler(e), onAfOnRight: (e) => this.downHandler(e), onAfOnUp: (e) => this.upHandler(e), onAfOnLeft: (e) => this.upHandler(e), onAfOnHome: (e) => this.homeHandler(e), onAfOnEnd: (e) => this.endHandler(e), onAfOnEnter: (e) => this.enterHandler(e), onAfOnSpace: (e) => this.spaceHandler(e), onAfOnTab: () => this.tabHandler(), onAfOnShiftTab: () => this.shiftHandler() }, h("ul", { key: '5d12c07fdc63d9445e35c088d793c7c202ce021a', class: "digi-form-select-filter__list", "aria-labelledby": `${this.afId}`, id: `${this.afId}-select-filter-list`, role: this.afMultipleItems ? '' : 'radiogroup', "aria-invalid": this.afMultipleItems
                ? 'false'
                : this.afValidation === FormSelectFilterValidation.ERROR
                    ? 'true'
                    : 'false', "aria-errormessage": `${this.afId}--validation-message`, "aria-required": this.afMultipleItems
                ? false
                : this.afRequired
                    ? 'true'
                    : 'false' }, this.showNeutralValue && (h("li", { key: 'dd77f313d6346d441316a53a9adf311ed341afd1', class: "digi-form-select-filter__item", role: "radio", "aria-required": this.afMultipleItems
                ? 'false'
                : this.afRequired
                    ? 'true'
                    : 'false', "aria-checked": this._selectedItems.length === 0 ? 'true' : 'false', onClick: () => this.resetSelectItems(true), tabIndex: 0, "aria-label": this.afFilterButtonText }, this._selectedItems.length === 0 && (h("digi-icon-check", { key: 'd2ad38d919541561dc9f0e87fe788d31577722a9', class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), this.afFilterButtonText)), this._filteredResult &&
            this._filteredResult.map((item, index) => {
                return (h("li", { class: "digi-form-select-filter__item", key: index, dir: item.dir, lang: item.lang, "aria-checked": this.isSelected(item.value) ? 'true' : 'false', role: this.afMultipleItems ? 'checkbox' : 'radio', "aria-required": this.afMultipleItems
                        ? 'false'
                        : this.afRequired
                            ? 'true'
                            : 'false', "aria-invalid": this.afMultipleItems
                        ? this.afValidation ===
                            FormSelectFilterValidation.ERROR
                            ? 'true'
                            : 'false'
                        : 'false', "aria-errormessage": `${this.afId}--validation-message`, onClick: () => this.selectItemHandler(item), tabIndex: this.showNeutralValue ? -1 : index === 0 ? 0 : -1 }, this.isSelected(item.value) && (h("digi-icon-check", { class: "digi-form-select-filter__item__icon", "aria-hidden": 'true' })), item.label));
            }))))), this.afMultipleItems && (h("div", { key: '8540327ec1dd929ebca8ee93107ffeb7a2a23a16', class: "digi-form-select-filter__footer" }, !this.afHideResetButton && (h("digi-button", { key: 'db997f3f23b5c8574fc641d012b46c8aeef9fab4', "af-variation": "secondary", "af-aria-label": this.afResetButtonTextAriaLabel, onClick: () => this.resetSelectItems(), class: "digi-form-select-filter__reset-button" }, this.afResetButtonText)), h("digi-util-keydown-handler", { key: '39c6d78b457f4737c50646a5e613fe06fd30c056', onAfOnUp: () => this.setFocusItem() }, h("digi-button", { key: '62dda11e757aa7414c0916ea75ad3b1c53baa955', ref: (el) => (this._submitButton = el), "af-variation": "primary", "af-aria-label": this.afSubmitButtonTextAriaLabel, onClick: () => {
                this.setClosed(true);
            }, class: "digi-form-select-filter__submit-button" }, this.afSubmitButtonText)))))), h("div", { key: '8ccfcd8bbed9f6915b599fe8b26d8b496e3d6b8e', class: "digi-form-select__footer" }, h("div", { key: 'f40c8541821a4d310bef6830c54a5c104cf7bb59', "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.showValidation() && (h("digi-form-validation-message", { key: 'ff62bb2d5f1de9c787d3bda12445ab5365de9c22', "af-variation": this.afValidation }, this.afValidationText))))));
    }
    get hostElement() { return this; }
    static get watchers() { return {
        "value": ["onValueChanged"],
        "afListItems": ["handleListItems"]
    }; }
    static get style() { return DigiFormSelectFilterStyle0; }
}, [6, "digi-form-select-filter", {
        "afDescription": [1, "af-description"],
        "afDisableValidation": [4, "af-disable-validation"],
        "afValidation": [1, "af-validation"],
        "afValidationText": [1, "af-validation-text"],
        "afRequired": [4, "af-required"],
        "afRequiredText": [1, "af-required-text"],
        "afAnnounceIfOptional": [4, "af-announce-if-optional"],
        "afAnnounceIfOptionalText": [1, "af-announce-if-optional-text"],
        "sortAlphabetically": [4, "sort-alphabetically"],
        "value": [1040],
        "afMultipleItems": [4, "af-multiple-items"],
        "afListItems": [1, "af-list-items"],
        "afId": [1, "af-id"],
        "afFilterButtonTextLabel": [1, "af-filter-button-text-label"],
        "afFilterButtonText": [1, "af-filter-button-text"],
        "afFilterButtonTextMultipleValues": [1, "af-filter-button-text-multiple-values"],
        "afSubmitButtonText": [1, "af-submit-button-text"],
        "afSubmitButtonTextAriaLabel": [1, "af-submit-button-text-aria-label"],
        "afResetButtonText": [1, "af-reset-button-text"],
        "afResetButtonTextAriaLabel": [1, "af-reset-button-text-aria-label"],
        "afHideResetButton": [4, "af-hide-reset-button"],
        "afAlignRight": [4, "af-align-right"],
        "afName": [1, "af-name"],
        "afEmptySearchMessage": [1, "af-empty-search-message"],
        "afFilterButtonAriaDescribedby": [1, "af-filter-button-aria-describedby"],
        "isOpen": [32],
        "focusListItemIndex": [32],
        "focusInList": [32],
        "_afListItems": [32],
        "_filteredResult": [32],
        "_selectedItems": [32],
        "afMReset": [64],
        "afMCloseDropdown": [64]
    }, [[8, "click", "clickHandler"], [4, "focusin", "focusoutHandler"]], {
        "value": ["onValueChanged"],
        "afListItems": ["handleListItems"]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["digi-form-select-filter", "digi-button", "digi-form-input", "digi-form-label", "digi-form-validation-message", "digi-icon-check", "digi-icon-chevron-down", "digi-icon-validation-error", "digi-icon-validation-success", "digi-icon-validation-warning", "digi-util-keydown-handler"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-form-select-filter":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, FormSelectFilter);
            }
            break;
        case "digi-button":
            if (!customElements.get(tagName)) {
                defineCustomElement$b();
            }
            break;
        case "digi-form-input":
            if (!customElements.get(tagName)) {
                defineCustomElement$a();
            }
            break;
        case "digi-form-label":
            if (!customElements.get(tagName)) {
                defineCustomElement$9();
            }
            break;
        case "digi-form-validation-message":
            if (!customElements.get(tagName)) {
                defineCustomElement$8();
            }
            break;
        case "digi-icon-check":
            if (!customElements.get(tagName)) {
                defineCustomElement$7();
            }
            break;
        case "digi-icon-chevron-down":
            if (!customElements.get(tagName)) {
                defineCustomElement$6();
            }
            break;
        case "digi-icon-validation-error":
            if (!customElements.get(tagName)) {
                defineCustomElement$5();
            }
            break;
        case "digi-icon-validation-success":
            if (!customElements.get(tagName)) {
                defineCustomElement$4();
            }
            break;
        case "digi-icon-validation-warning":
            if (!customElements.get(tagName)) {
                defineCustomElement$3();
            }
            break;
        case "digi-util-keydown-handler":
            if (!customElements.get(tagName)) {
                defineCustomElement$2();
            }
            break;
    } });
}

const DigiFormSelectFilter = FormSelectFilter;
const defineCustomElement = defineCustomElement$1;

export { DigiFormSelectFilter, defineCustomElement };
