@nl-design-system-community/clippy-components 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clippy-button/index.d.ts +24 -0
- package/dist/clippy-button/index.d.ts.map +1 -0
- package/dist/clippy-button/index.js +97 -0
- package/dist/clippy-code/index.d.ts +11 -0
- package/dist/clippy-code/index.d.ts.map +1 -0
- package/dist/clippy-code/index.js +20 -0
- package/dist/clippy-color-combobox/index.d.ts +41 -0
- package/dist/clippy-color-combobox/index.d.ts.map +1 -0
- package/dist/clippy-color-combobox/index.js +8 -0
- package/dist/clippy-color-combobox/lib.d.ts +19 -0
- package/dist/clippy-color-combobox/lib.d.ts.map +1 -0
- package/dist/clippy-color-combobox/messages/en.d.ts +10 -0
- package/dist/clippy-color-combobox/messages/en.d.ts.map +1 -0
- package/dist/clippy-color-combobox/messages/nl.d.ts +10 -0
- package/dist/clippy-color-combobox/messages/nl.d.ts.map +1 -0
- package/dist/clippy-combobox/index.d.ts +15 -22
- package/dist/clippy-combobox/index.d.ts.map +1 -0
- package/dist/clippy-combobox/index.js +231 -162
- package/dist/clippy-font-combobox/external.d.ts +3 -6
- package/dist/clippy-font-combobox/external.d.ts.map +1 -0
- package/dist/clippy-font-combobox/index.d.ts +2 -1
- package/dist/clippy-font-combobox/index.d.ts.map +1 -0
- package/dist/clippy-font-combobox/index.js +31 -28
- package/dist/clippy-html-image/index.d.ts +1 -0
- package/dist/clippy-html-image/index.d.ts.map +1 -0
- package/dist/clippy-icon/index.d.ts +26 -0
- package/dist/clippy-icon/index.d.ts.map +1 -0
- package/dist/clippy-icon/index.js +40 -0
- package/dist/clippy-modal/index.d.ts +1 -0
- package/dist/clippy-modal/index.d.ts.map +1 -0
- package/dist/clippy-modal/index.js +1 -1
- package/dist/en-DR1i85jp.js +4 -0
- package/dist/external-GSP7IGqN.js +4 -0
- package/dist/index-C_dkFbzv.js +3616 -0
- package/dist/lib/FormField/index.d.ts +17 -0
- package/dist/lib/FormField/index.d.ts.map +1 -0
- package/dist/lib/converters/index.d.ts +5 -0
- package/dist/lib/converters/index.d.ts.map +1 -0
- package/dist/nl-CJG2-yS5.js +11 -0
- package/package.json +10 -6
- package/dist/clippy-font-combobox/google-fonts.json.d.ts +0 -33283
- package/dist/external-lwd0iv80.js +0 -8
- package/dist/index.d.ts +0 -0
|
@@ -1,31 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const Q = ".utrecht-combobox{inline-size:100%;max-inline-size:var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size));position:relative}.utrecht-combobox__popover{border-width:0;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:0;background-color:canvas;block-size:fit-content;color:canvastext;inline-size:fit-content;inset:0;overflow:auto;position:absolute;z-index:var(--utrecht-combobox-popover-z-index, 1)}.utrecht-combobox__popover--block-end{inset-block-start:100%}.utrecht-combobox__popover--hidden{display:none!important}", K = ".utrecht-listbox{--utrecht-listbox-max-block-size: 300px;background-color:var(--_utrecht-listbox-disabled-background-color, var(--_utrecht-listbox-interactive-background-color, var(--utrecht-listbox-background-color)));border-color:var(--_utrecht-listbox-disabled-border-color, var(--_utrecht-listbox-interactive-border-color, var(--utrecht-listbox-border-color)));border-radius:var(--utrecht-listbox-border-radius);border-style:solid;border-width:var(--utrecht-listbox-border-width);box-sizing:border-box;color:var(--_utrecht-listbox-disabled-color, var(--_utrecht-listbox-interactive-color, var(--utrecht-listbox-color)));cursor:default;display:flex;flex-direction:column;font-weight:var(--utrecht-listbox-font-weight, var(--utrecht-form-control-font-weight, initial));inline-size:var(--utrecht-listbox-inline-size, var(--utrecht-form-control-max-inline-size));max-block-size:var(--utrecht-listbox-max-block-size);max-inline-size:100%;min-block-size:1em;overflow-block:auto;overflow-y:auto;padding-block-end:var(--utrecht-listbox-padding-block-end);padding-block-start:var(--utrecht-listbox-padding-block-start);padding-inline-end:var(--utrecht-listbox-padding-inline-end);padding-inline-start:var(--utrecht-listbox-padding-inline-start);-webkit-user-select:none;user-select:none}@media(forced-colors:active){.utrecht-listbox{--utrecht-listbox-background-color: field;--utrecht-listbox-border-color: fieldtext;--utrecht-listbox-hover-background-color: field;--utrecht-listbox-hover-border-color: fieldtext;--utrecht-listbox-hover-color: fieldtext;--utrecht-listbox-focus-border-color: Highlight;--utrecht-listbox-disabled-border-color: GrayText;--utrecht-listbox-option-background-color: field;--utrecht-listbox-option-color: fieldtext;--utrecht-listbox-option-hover-background-color: Highlight;--utrecht-listbox-option-hover-color: HighlightText;--utrecht-listbox-option-active-background-color: Highlight;--utrecht-listbox-option-active-color: HighlightText;--utrecht-listbox-option-disabled-background-color: field;--utrecht-listbox-option-disabled-color: GrayText;--utrecht-listbox-option-selected-background-color: Highlight;--utrecht-listbox-option-selected-color: HighlightText;--utrecht-listbox-option-selected-hover-background-color: Highlight;--utrecht-listbox-option-selected-hover-color: HighlightText;--utrecht-listbox-option-selected-disabled-background-color: GrayText;--utrecht-listbox-option-selected-disabled-color: field}}.utrecht-listbox--focus{--_utrecht-listbox-interactive-border-color: var(--utrecht-listbox-focus-border-color)}.utrecht-listbox--focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-listbox__list{margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0;padding-inline-start:0}.utrecht-listbox__group{margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0;padding-inline-start:0;margin-block-end:var(--utrecht-listbox-option-group-margin-block-end)}.utrecht-listbox__group-label{color:var(--utrecht-listbox-option-group-label-color);font-size:var(--utrecht-listbox-option-group-label-font-size);font-weight:var(--utrecht-listbox-option-group-label-font-weight);line-height:var(--utrecht-listbox-option-group-label-line-height);margin-inline-start:var(--utrecht-listbox-option-group-label-margin-inline-start)}@media(forced-colors:active){.utrecht-listbox__group-label{background-color:field;color:fieldtext}}.utrecht-listbox__option{list-style:none;--_utrecht-listbox-option-background-color: var( --_utrecht-listbox-option-disabled-background-color, var( --_utrecht-listbox-option-interactive-background-color, var(--_utrecht-listbox-option-state-background-color, var(--utrecht-listbox-option-background-color)) ) );--_utrecht-listbox-option-color: var( --_utrecht-listbox-option-disabled-color, var( --_utrecht-listbox-option-interactive-color, var(--_utrecht-listbox-option-state-color, var(--utrecht-listbox-option-color)) ) );align-items:center;background-color:var(--_utrecht-listbox-option-background-color);box-sizing:border-box;color:var(--_utrecht-listbox-option-color);display:flex;min-block-size:var(--utrecht-listbox-option-min-block-size, var(--utrecht-pointer-target-min-size, 24px));padding-block-end:var(--utrecht-listbox-option-padding-block-end);padding-block-start:var(--utrecht-listbox-option-padding-block-start);padding-inline-end:var(--utrecht-listbox-option-padding-inline-end);padding-inline-start:var(--utrecht-listbox-option-padding-inline-start)}@media(forced-colors:active){.utrecht-listbox__option{forced-color-adjust:none}}.utrecht-listbox__option--hover{--_utrecht-listbox-option-interactive-background-color: var(--utrecht-listbox-option-hover-background-color);--_utrecht-listbox-option-interactive-color: var(--utrecht-listbox-option-hover-color)}.utrecht-listbox__option--focus{--_utrecht-listbox-option-state-background-color: var(--utrecht-listbox-option-focus-background-color);--_utrecht-listbox-option-state-color: var(--utrecht-listbox-option-focus-color)}.utrecht-listbox__option--focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1;--utrecht-focus-outline-offset: calc(var(--utrecht-focus-outline-width) * -1)}.utrecht-listbox__option--active{--_utrecht-listbox-option-state-background-color: var(--utrecht-listbox-option-active-background-color);--_utrecht-listbox-option-state-color: var(--utrecht-listbox-option-active-color);font-weight:var(--utrecht-listbox-option-is-active-font-weight)}.utrecht-listbox__option--selected{--_utrecht-listbox-option-disabled-background-color: var(--utrecht-listbox-option-selected-disabled-background-color);--_utrecht-listbox-option-disabled-color: var(--utrecht-listbox-option-selected-disabled-color);--_utrecht-listbox-option-interactive-background-color: var(--utrecht-listbox-option-selected-hover-background-color);--_utrecht-listbox-option-interactive-color: var(--utrecht-listbox-option-selected-hover-color);--_utrecht-listbox-option-state-background-color: var(--utrecht-listbox-option-selected-background-color);--_utrecht-listbox-option-state-color: var(--utrecht-listbox-option-selected-color)}.utrecht-listbox__option--html-li{list-style:none}.utrecht-listbox__option--html-li:hover{--_utrecht-listbox-option-interactive-background-color: var(--utrecht-listbox-option-hover-background-color);--_utrecht-listbox-option-interactive-color: var(--utrecht-listbox-option-hover-color)}.utrecht-listbox__option--html-li:focus{--_utrecht-listbox-option-state-background-color: var(--utrecht-listbox-option-focus-background-color);--_utrecht-listbox-option-state-color: var(--utrecht-listbox-option-focus-color)}.utrecht-listbox__option--disabled{--utrecht-listbox-option-hover-background-color: var(--utrecht-listbox-option-disabled-background-color);--utrecht-listbox-option-hover-color: var(--utrecht-listbox-option-disabled-color);--_utrecht-listbox-option-interactive-background-color: var(--utrecht-listbox-option-disabled-background-color);--_utrecht-listbox-option-interactive-color: var(--utrecht-listbox-option-disabled-color);cursor:var(--utrecht-action-disabled-cursor, not-allowed)}.utrecht-listbox--disabled{--_utrecht-listbox-option-disabled-background-color: var(--utrecht-listbox-option-disabled-background-color);--_utrecht-listbox-option-disabled-color: var(--utrecht-listbox-option-disabled-color);--_utrecht-listbox-disabled-background-color: var(--utrecht-listbox-disabled-background-color);--_utrecht-listbox-disabled-border-color: var(--utrecht-listbox-disabled-border-color);--_utrecht-listbox-disabled-color: var(--utrecht-listbox-disabled-color);cursor:var(--utrecht-action-disabled-cursor, not-allowed)}.utrecht-listbox--html-div:focus{--_utrecht-listbox-interactive-border-color: var(--utrecht-listbox-focus-border-color)}.utrecht-listbox--html-div:focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-listbox--forced-colors{--utrecht-listbox-background-color: field;--utrecht-listbox-border-color: fieldtext;--utrecht-listbox-hover-background-color: field;--utrecht-listbox-hover-border-color: fieldtext;--utrecht-listbox-hover-color: fieldtext;--utrecht-listbox-focus-border-color: Highlight;--utrecht-listbox-disabled-border-color: GrayText;--utrecht-listbox-option-background-color: field;--utrecht-listbox-option-color: fieldtext;--utrecht-listbox-option-hover-background-color: Highlight;--utrecht-listbox-option-hover-color: HighlightText;--utrecht-listbox-option-active-background-color: Highlight;--utrecht-listbox-option-active-color: HighlightText;--utrecht-listbox-option-disabled-background-color: field;--utrecht-listbox-option-disabled-color: GrayText;--utrecht-listbox-option-selected-background-color: Highlight;--utrecht-listbox-option-selected-color: HighlightText;--utrecht-listbox-option-selected-hover-background-color: Highlight;--utrecht-listbox-option-selected-hover-color: HighlightText;--utrecht-listbox-option-selected-disabled-background-color: GrayText;--utrecht-listbox-option-selected-disabled-color: field}", R = '.utrecht-textbox{--_utrecht-textbox-value-char: .667em + .334ch;--_utrecht-textbox-max-inline-size: calc( calc(var(--utrecht-textbox-value-max-length) * var(--_utrecht-textbox-value-char)) + var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, 0)) + var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, 0)) + var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width, 0)) + var(--utrecht-textbox-autocomplete-ui-size, 44px) );background-color:var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color));block-size:initial;border-width:var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width));border-block-end-width:var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width)));border-color:var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color));border-radius:var(--utrecht-textbox-border-radius, var(--utrecht-form-control-border-radius, 0));border-style:solid;box-sizing:border-box;color:var(--utrecht-textbox-color, var(--utrecht-form-control-color));font-family:var(--utrecht-textbox-font-family, var(--utrecht-form-control-font-family));font-size:var(--utrecht-textbox-font-size, var(--utrecht-form-control-font-size, inherit));font-weight:var(--utrecht-textbox-font-weight, var(--utrecht-form-control-font-weight, initial));inline-size:100%;line-height:var(--utrecht-textbox-line-height, var(--utrecht-form-control-line-height, initial));min-block-size:var(--utrecht-pointer-target-min-size, 44px);min-inline-size:var(--utrecht-pointer-target-min-size, 44px);max-inline-size:min(var(--_utrecht-textbox-max-inline-size, 100%),var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size)));padding-block-end:var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));padding-block-start:var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));padding-inline-end:var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));padding-inline-start:var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, initial))}.utrecht-textbox--invalid{--_utrecht-textbox-border-width: var( --utrecht-textbox-invalid-border-width, var( --utrecht-form-control-invalid-border-width, var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width)) ) );background-color:var(--utrecht-textbox-invalid-background-color, var(--utrecht-form-control-invalid-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-width:var(--_utrecht-textbox-border-width);border-block-end-width:var(--utrecht-textbox-invalid-border-bottom-width, var(--utrecht-form-control-invalid-border-bottom-width, var(--utrecht-textbox-border-bottom-width, var(--utrecht-form-control-border-bottom-width, var(--_utrecht-textbox-border-width)))));border-color:var(--utrecht-textbox-invalid-border-color, var(--utrecht-form-control-invalid-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-invalid-color, var(--utrecht-form-control-invalid-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--disabled{background-color:var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));cursor:var(--utrecht-action-disabled-cursor, not-allowed)}.utrecht-textbox--focus{background-color:var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-textbox--read-only{background-color:var(--utrecht-textbox-read-only-background-color, var(--utrecht-form-control-read-only-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-read-only-border-color, var(--utrecht-form-control-read-only-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox__placeholder{color:var(--utrecht-textbox-placeholder-color, var(--utrecht-form-control-placeholder-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));font-style:var(--utrecht-form-control-placeholder-font-style);opacity:100%}.utrecht-textbox--numeric{-moz-appearance:textfield;font-variant-numeric:lining-nums tabular-nums}.utrecht-textbox--password{font-variant-ligatures:none;font-variant-numeric:slashed-zero}.utrecht-textbox--postal-code-nl-size{--utrecht-textbox-value-max-length: 7}.utrecht-textbox--house-number-size{--utrecht-textbox-value-max-length: 5}.utrecht-textbox--house-letter-size{--utrecht-textbox-value-max-length: 1}.utrecht-textbox--house-addition-size{--utrecht-textbox-value-max-length: 4}.utrecht-textbox--voorvoegsel-size{--utrecht-textbox-value-max-length: 10}.utrecht-textbox--tel-size{--utrecht-textbox-value-max-length: 19}.utrecht-textbox--tel-nl-size{--utrecht-textbox-value-max-length: 13}.utrecht-textbox--iban-size{--utrecht-textbox-value-max-length: 41}.utrecht-textbox--iban-nl-size{--utrecht-textbox-value-max-length: 22}.utrecht-textbox--placeholder-ltr::placeholder,.utrecht-textbox--placeholder-ltr:placeholder-shown{direction:ltr}.utrecht-textbox--placeholder-rtl::placeholder,.utrecht-textbox--placeholder-rtl:placeholder-shown{direction:rtl}.utrecht-textbox--url{font-variant-ligatures:none}.utrecht-textbox--html-input:focus{background-color:var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--html-input:focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-textbox--html-input:user-invalid,.utrecht-textbox--html-input[aria-invalid=true]{--_utrecht-textbox-border-width: var( --utrecht-textbox-invalid-border-width, var( --utrecht-form-control-invalid-border-width, var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width)) ) );background-color:var(--utrecht-textbox-invalid-background-color, var(--utrecht-form-control-invalid-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-width:var(--_utrecht-textbox-border-width);border-block-end-width:var(--utrecht-textbox-invalid-border-bottom-width, var(--utrecht-form-control-invalid-border-bottom-width, var(--utrecht-textbox-border-bottom-width, var(--utrecht-form-control-border-bottom-width, var(--_utrecht-textbox-border-width)))));border-color:var(--utrecht-textbox-invalid-border-color, var(--utrecht-form-control-invalid-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-invalid-color, var(--utrecht-form-control-invalid-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--html-input:read-only{background-color:var(--utrecht-textbox-read-only-background-color, var(--utrecht-form-control-read-only-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-read-only-border-color, var(--utrecht-form-control-read-only-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--html-input:disabled{background-color:var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));cursor:var(--utrecht-action-disabled-cursor, not-allowed)}.utrecht-textbox--html-input::placeholder{color:var(--utrecht-textbox-placeholder-color, var(--utrecht-form-control-placeholder-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));font-style:var(--utrecht-form-control-placeholder-font-style);opacity:100%}.utrecht-textbox--html-input[type=password i]{font-variant-ligatures:none;font-variant-numeric:slashed-zero}.utrecht-textbox--html-input[type=url i],.utrecht-textbox--html-input[type=email i],.utrecht-textbox--html-input[inputMode=email i],.utrecht-textbox--html-input[inputMode=url i]{font-variant-ligatures:none}.utrecht-textbox--html-input[pattern="\\\\d*"],.utrecht-textbox--html-input[pattern="[0-9]*"],.utrecht-textbox--html-input[type=number i],.utrecht-textbox--html-input[type=tel i],.utrecht-textbox--html-input[inputMode=numeric i],.utrecht-textbox--html-input[inputMode=decimal i],.utrecht-textbox--html-input[inputMode=tel i]{-moz-appearance:textfield;font-variant-numeric:lining-nums tabular-nums}', U = (t, o, r, e) => {
|
|
1
|
+
var B = (t) => {
|
|
2
|
+
throw TypeError(t);
|
|
3
|
+
};
|
|
4
|
+
var Y = (t, o, r) => o.has(t) || B("Cannot " + r);
|
|
5
|
+
var I = (t, o, r) => (Y(t, o, "read from private field"), r ? r.call(t) : o.get(t)), R = (t, o, r) => o.has(t) ? B("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(t) : o.set(t, r), S = (t, o, r, e) => (Y(t, o, "write to private field"), e ? e.call(t, r) : o.set(t, r), r);
|
|
6
|
+
import { LitElement as U, css as X, unsafeCSS as P, html as C, nothing as Z } from "lit";
|
|
7
|
+
import { property as b, state as L, customElement as tt } from "lit/decorators.js";
|
|
8
|
+
import { classMap as J } from "lit/directives/class-map.js";
|
|
9
|
+
const ot = ".utrecht-combobox{inline-size:100%;max-inline-size:var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size));position:relative}.utrecht-combobox__popover{border-width:0;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:0;background-color:canvas;block-size:fit-content;color:canvastext;inline-size:fit-content;inset:0;overflow:auto;position:absolute;z-index:var(--utrecht-combobox-popover-z-index, 1)}.utrecht-combobox__popover--block-end{inset-block-start:100%}.utrecht-combobox__popover--hidden{display:none!important}", rt = ".utrecht-listbox{--utrecht-listbox-max-block-size: 300px;background-color:var(--_utrecht-listbox-disabled-background-color, var(--_utrecht-listbox-interactive-background-color, var(--utrecht-listbox-background-color)));border-color:var(--_utrecht-listbox-disabled-border-color, var(--_utrecht-listbox-interactive-border-color, var(--utrecht-listbox-border-color)));border-radius:var(--utrecht-listbox-border-radius);border-style:solid;border-width:var(--utrecht-listbox-border-width);box-sizing:border-box;color:var(--_utrecht-listbox-disabled-color, var(--_utrecht-listbox-interactive-color, var(--utrecht-listbox-color)));cursor:default;display:flex;flex-direction:column;font-weight:var(--utrecht-listbox-font-weight, var(--utrecht-form-control-font-weight, initial));inline-size:var(--utrecht-listbox-inline-size, var(--utrecht-form-control-max-inline-size));max-block-size:var(--utrecht-listbox-max-block-size);max-inline-size:100%;min-block-size:1em;overflow-block:auto;overflow-y:auto;padding-block-end:var(--utrecht-listbox-padding-block-end);padding-block-start:var(--utrecht-listbox-padding-block-start);padding-inline-end:var(--utrecht-listbox-padding-inline-end);padding-inline-start:var(--utrecht-listbox-padding-inline-start);-webkit-user-select:none;user-select:none}@media(forced-colors:active){.utrecht-listbox{--utrecht-listbox-background-color: field;--utrecht-listbox-border-color: fieldtext;--utrecht-listbox-hover-background-color: field;--utrecht-listbox-hover-border-color: fieldtext;--utrecht-listbox-hover-color: fieldtext;--utrecht-listbox-focus-border-color: Highlight;--utrecht-listbox-disabled-border-color: GrayText;--utrecht-listbox-option-background-color: field;--utrecht-listbox-option-color: fieldtext;--utrecht-listbox-option-hover-background-color: Highlight;--utrecht-listbox-option-hover-color: HighlightText;--utrecht-listbox-option-active-background-color: Highlight;--utrecht-listbox-option-active-color: HighlightText;--utrecht-listbox-option-disabled-background-color: field;--utrecht-listbox-option-disabled-color: GrayText;--utrecht-listbox-option-selected-background-color: Highlight;--utrecht-listbox-option-selected-color: HighlightText;--utrecht-listbox-option-selected-hover-background-color: Highlight;--utrecht-listbox-option-selected-hover-color: HighlightText;--utrecht-listbox-option-selected-disabled-background-color: GrayText;--utrecht-listbox-option-selected-disabled-color: field}}.utrecht-listbox--focus{--_utrecht-listbox-interactive-border-color: var(--utrecht-listbox-focus-border-color)}.utrecht-listbox--focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-listbox__list{margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0;padding-inline-start:0}.utrecht-listbox__group{margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0;padding-inline-start:0;margin-block-end:var(--utrecht-listbox-option-group-margin-block-end)}.utrecht-listbox__group-label{color:var(--utrecht-listbox-option-group-label-color);font-size:var(--utrecht-listbox-option-group-label-font-size);font-weight:var(--utrecht-listbox-option-group-label-font-weight);line-height:var(--utrecht-listbox-option-group-label-line-height);margin-inline-start:var(--utrecht-listbox-option-group-label-margin-inline-start)}@media(forced-colors:active){.utrecht-listbox__group-label{background-color:field;color:fieldtext}}.utrecht-listbox__option{list-style:none;--_utrecht-listbox-option-background-color: var( --_utrecht-listbox-option-disabled-background-color, var( --_utrecht-listbox-option-interactive-background-color, var(--_utrecht-listbox-option-state-background-color, var(--utrecht-listbox-option-background-color)) ) );--_utrecht-listbox-option-color: var( --_utrecht-listbox-option-disabled-color, var( --_utrecht-listbox-option-interactive-color, var(--_utrecht-listbox-option-state-color, var(--utrecht-listbox-option-color)) ) );align-items:center;background-color:var(--_utrecht-listbox-option-background-color);box-sizing:border-box;color:var(--_utrecht-listbox-option-color);display:flex;min-block-size:var(--utrecht-listbox-option-min-block-size, var(--utrecht-pointer-target-min-size, 24px));padding-block-end:var(--utrecht-listbox-option-padding-block-end);padding-block-start:var(--utrecht-listbox-option-padding-block-start);padding-inline-end:var(--utrecht-listbox-option-padding-inline-end);padding-inline-start:var(--utrecht-listbox-option-padding-inline-start)}@media(forced-colors:active){.utrecht-listbox__option{forced-color-adjust:none}}.utrecht-listbox__option--hover{--_utrecht-listbox-option-interactive-background-color: var(--utrecht-listbox-option-hover-background-color);--_utrecht-listbox-option-interactive-color: var(--utrecht-listbox-option-hover-color)}.utrecht-listbox__option--focus{--_utrecht-listbox-option-state-background-color: var(--utrecht-listbox-option-focus-background-color);--_utrecht-listbox-option-state-color: var(--utrecht-listbox-option-focus-color)}.utrecht-listbox__option--focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1;--utrecht-focus-outline-offset: calc(var(--utrecht-focus-outline-width) * -1)}.utrecht-listbox__option--active{--_utrecht-listbox-option-state-background-color: var(--utrecht-listbox-option-active-background-color);--_utrecht-listbox-option-state-color: var(--utrecht-listbox-option-active-color);font-weight:var(--utrecht-listbox-option-is-active-font-weight)}.utrecht-listbox__option--selected{--_utrecht-listbox-option-disabled-background-color: var(--utrecht-listbox-option-selected-disabled-background-color);--_utrecht-listbox-option-disabled-color: var(--utrecht-listbox-option-selected-disabled-color);--_utrecht-listbox-option-interactive-background-color: var(--utrecht-listbox-option-selected-hover-background-color);--_utrecht-listbox-option-interactive-color: var(--utrecht-listbox-option-selected-hover-color);--_utrecht-listbox-option-state-background-color: var(--utrecht-listbox-option-selected-background-color);--_utrecht-listbox-option-state-color: var(--utrecht-listbox-option-selected-color)}.utrecht-listbox__option--html-li{list-style:none}.utrecht-listbox__option--html-li:hover{--_utrecht-listbox-option-interactive-background-color: var(--utrecht-listbox-option-hover-background-color);--_utrecht-listbox-option-interactive-color: var(--utrecht-listbox-option-hover-color)}.utrecht-listbox__option--html-li:focus{--_utrecht-listbox-option-state-background-color: var(--utrecht-listbox-option-focus-background-color);--_utrecht-listbox-option-state-color: var(--utrecht-listbox-option-focus-color)}.utrecht-listbox__option--disabled{--utrecht-listbox-option-hover-background-color: var(--utrecht-listbox-option-disabled-background-color);--utrecht-listbox-option-hover-color: var(--utrecht-listbox-option-disabled-color);--_utrecht-listbox-option-interactive-background-color: var(--utrecht-listbox-option-disabled-background-color);--_utrecht-listbox-option-interactive-color: var(--utrecht-listbox-option-disabled-color);cursor:var(--utrecht-action-disabled-cursor, not-allowed)}.utrecht-listbox--disabled{--_utrecht-listbox-option-disabled-background-color: var(--utrecht-listbox-option-disabled-background-color);--_utrecht-listbox-option-disabled-color: var(--utrecht-listbox-option-disabled-color);--_utrecht-listbox-disabled-background-color: var(--utrecht-listbox-disabled-background-color);--_utrecht-listbox-disabled-border-color: var(--utrecht-listbox-disabled-border-color);--_utrecht-listbox-disabled-color: var(--utrecht-listbox-disabled-color);cursor:var(--utrecht-action-disabled-cursor, not-allowed)}.utrecht-listbox--html-div:focus{--_utrecht-listbox-interactive-border-color: var(--utrecht-listbox-focus-border-color)}.utrecht-listbox--html-div:focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-listbox--forced-colors{--utrecht-listbox-background-color: field;--utrecht-listbox-border-color: fieldtext;--utrecht-listbox-hover-background-color: field;--utrecht-listbox-hover-border-color: fieldtext;--utrecht-listbox-hover-color: fieldtext;--utrecht-listbox-focus-border-color: Highlight;--utrecht-listbox-disabled-border-color: GrayText;--utrecht-listbox-option-background-color: field;--utrecht-listbox-option-color: fieldtext;--utrecht-listbox-option-hover-background-color: Highlight;--utrecht-listbox-option-hover-color: HighlightText;--utrecht-listbox-option-active-background-color: Highlight;--utrecht-listbox-option-active-color: HighlightText;--utrecht-listbox-option-disabled-background-color: field;--utrecht-listbox-option-disabled-color: GrayText;--utrecht-listbox-option-selected-background-color: Highlight;--utrecht-listbox-option-selected-color: HighlightText;--utrecht-listbox-option-selected-hover-background-color: Highlight;--utrecht-listbox-option-selected-hover-color: HighlightText;--utrecht-listbox-option-selected-disabled-background-color: GrayText;--utrecht-listbox-option-selected-disabled-color: field}", et = '.utrecht-textbox{--_utrecht-textbox-value-char: .667em + .334ch;--_utrecht-textbox-max-inline-size: calc( calc(var(--utrecht-textbox-value-max-length) * var(--_utrecht-textbox-value-char)) + var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, 0)) + var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, 0)) + var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width, 0)) + var(--utrecht-textbox-autocomplete-ui-size, 44px) );background-color:var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color));block-size:initial;border-width:var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width));border-block-end-width:var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width)));border-color:var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color));border-radius:var(--utrecht-textbox-border-radius, var(--utrecht-form-control-border-radius, 0));border-style:solid;box-sizing:border-box;color:var(--utrecht-textbox-color, var(--utrecht-form-control-color));font-family:var(--utrecht-textbox-font-family, var(--utrecht-form-control-font-family));font-size:var(--utrecht-textbox-font-size, var(--utrecht-form-control-font-size, inherit));font-weight:var(--utrecht-textbox-font-weight, var(--utrecht-form-control-font-weight, initial));inline-size:100%;line-height:var(--utrecht-textbox-line-height, var(--utrecht-form-control-line-height, initial));min-block-size:var(--utrecht-pointer-target-min-size, 44px);min-inline-size:var(--utrecht-pointer-target-min-size, 44px);max-inline-size:min(var(--_utrecht-textbox-max-inline-size, 100%),var(--utrecht-textbox-max-inline-size, var(--utrecht-form-control-max-inline-size)));padding-block-end:var(--utrecht-textbox-padding-block-end, var(--utrecht-form-control-padding-block-end, 0));padding-block-start:var(--utrecht-textbox-padding-block-start, var(--utrecht-form-control-padding-block-start, 0));padding-inline-end:var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-control-padding-inline-end, initial));padding-inline-start:var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-control-padding-inline-start, initial))}.utrecht-textbox--invalid{--_utrecht-textbox-border-width: var( --utrecht-textbox-invalid-border-width, var( --utrecht-form-control-invalid-border-width, var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width)) ) );background-color:var(--utrecht-textbox-invalid-background-color, var(--utrecht-form-control-invalid-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-width:var(--_utrecht-textbox-border-width);border-block-end-width:var(--utrecht-textbox-invalid-border-bottom-width, var(--utrecht-form-control-invalid-border-bottom-width, var(--utrecht-textbox-border-bottom-width, var(--utrecht-form-control-border-bottom-width, var(--_utrecht-textbox-border-width)))));border-color:var(--utrecht-textbox-invalid-border-color, var(--utrecht-form-control-invalid-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-invalid-color, var(--utrecht-form-control-invalid-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--disabled{background-color:var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));cursor:var(--utrecht-action-disabled-cursor, not-allowed)}.utrecht-textbox--focus{background-color:var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-textbox--read-only{background-color:var(--utrecht-textbox-read-only-background-color, var(--utrecht-form-control-read-only-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-read-only-border-color, var(--utrecht-form-control-read-only-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox__placeholder{color:var(--utrecht-textbox-placeholder-color, var(--utrecht-form-control-placeholder-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));font-style:var(--utrecht-form-control-placeholder-font-style);opacity:100%}.utrecht-textbox--numeric{-moz-appearance:textfield;font-variant-numeric:lining-nums tabular-nums}.utrecht-textbox--password{font-variant-ligatures:none;font-variant-numeric:slashed-zero}.utrecht-textbox--postal-code-nl-size{--utrecht-textbox-value-max-length: 7}.utrecht-textbox--house-number-size{--utrecht-textbox-value-max-length: 5}.utrecht-textbox--house-letter-size{--utrecht-textbox-value-max-length: 1}.utrecht-textbox--house-addition-size{--utrecht-textbox-value-max-length: 4}.utrecht-textbox--voorvoegsel-size{--utrecht-textbox-value-max-length: 10}.utrecht-textbox--tel-size{--utrecht-textbox-value-max-length: 19}.utrecht-textbox--tel-nl-size{--utrecht-textbox-value-max-length: 13}.utrecht-textbox--iban-size{--utrecht-textbox-value-max-length: 41}.utrecht-textbox--iban-nl-size{--utrecht-textbox-value-max-length: 22}.utrecht-textbox--placeholder-ltr::placeholder,.utrecht-textbox--placeholder-ltr:placeholder-shown{direction:ltr}.utrecht-textbox--placeholder-rtl::placeholder,.utrecht-textbox--placeholder-rtl:placeholder-shown{direction:rtl}.utrecht-textbox--url{font-variant-ligatures:none}.utrecht-textbox--html-input:focus{background-color:var(--utrecht-textbox-focus-background-color, var(--utrecht-form-control-focus-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-focus-border-color, var(--utrecht-form-control-focus-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-focus-color, var(--utrecht-form-control-focus-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--html-input:focus-visible{--_utrecht-focus-ring-box-shadow: 0 0 0 var(--utrecht-focus-outline-width, 0) var(--utrecht-focus-inverse-outline-color, transparent);box-shadow:var(--_utrecht-focus-ring-box-shadow);outline-color:var(--utrecht-focus-outline-color, revert);outline-offset:var(--utrecht-focus-outline-offset, revert);outline-style:var(--utrecht-focus-outline-style, revert);outline-width:var(--utrecht-focus-outline-width, revert);z-index:1}.utrecht-textbox--html-input:user-invalid,.utrecht-textbox--html-input[aria-invalid=true]{--_utrecht-textbox-border-width: var( --utrecht-textbox-invalid-border-width, var( --utrecht-form-control-invalid-border-width, var(--utrecht-textbox-border-width, var(--utrecht-form-control-border-width)) ) );background-color:var(--utrecht-textbox-invalid-background-color, var(--utrecht-form-control-invalid-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-width:var(--_utrecht-textbox-border-width);border-block-end-width:var(--utrecht-textbox-invalid-border-bottom-width, var(--utrecht-form-control-invalid-border-bottom-width, var(--utrecht-textbox-border-bottom-width, var(--utrecht-form-control-border-bottom-width, var(--_utrecht-textbox-border-width)))));border-color:var(--utrecht-textbox-invalid-border-color, var(--utrecht-form-control-invalid-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-invalid-color, var(--utrecht-form-control-invalid-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--html-input:read-only{background-color:var(--utrecht-textbox-read-only-background-color, var(--utrecht-form-control-read-only-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-read-only-border-color, var(--utrecht-form-control-read-only-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-read-only-color, var(--utrecht-form-control-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))))}.utrecht-textbox--html-input:disabled{background-color:var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-control-disabled-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-control-background-color))));border-color:var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-control-disabled-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-control-border-color))));color:var(--utrecht-textbox-disabled-color, var(--utrecht-form-control-disabled-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));cursor:var(--utrecht-action-disabled-cursor, not-allowed)}.utrecht-textbox--html-input::placeholder{color:var(--utrecht-textbox-placeholder-color, var(--utrecht-form-control-placeholder-color, var(--utrecht-textbox-color, var(--utrecht-form-control-color))));font-style:var(--utrecht-form-control-placeholder-font-style);opacity:100%}.utrecht-textbox--html-input[type=password i]{font-variant-ligatures:none;font-variant-numeric:slashed-zero}.utrecht-textbox--html-input[type=url i],.utrecht-textbox--html-input[type=email i],.utrecht-textbox--html-input[inputMode=email i],.utrecht-textbox--html-input[inputMode=url i]{font-variant-ligatures:none}.utrecht-textbox--html-input[pattern="\\\\d*"],.utrecht-textbox--html-input[pattern="[0-9]*"],.utrecht-textbox--html-input[type=number i],.utrecht-textbox--html-input[type=tel i],.utrecht-textbox--html-input[inputMode=numeric i],.utrecht-textbox--html-input[inputMode=decimal i],.utrecht-textbox--html-input[inputMode=tel i]{-moz-appearance:textfield;font-variant-numeric:lining-nums tabular-nums}', ct = (t, o, r, e) => {
|
|
5
10
|
if (r === "length" || r === "prototype" || r === "arguments" || r === "caller")
|
|
6
11
|
return;
|
|
7
|
-
const c = Object.getOwnPropertyDescriptor(t, r),
|
|
8
|
-
!
|
|
9
|
-
},
|
|
12
|
+
const c = Object.getOwnPropertyDescriptor(t, r), i = Object.getOwnPropertyDescriptor(o, r);
|
|
13
|
+
!it(c, i) && e || Object.defineProperty(t, r, i);
|
|
14
|
+
}, it = function(t, o) {
|
|
10
15
|
return t === void 0 || t.configurable || t.writable === o.writable && t.enumerable === o.enumerable && t.configurable === o.configurable && (t.writable || t.value === o.value);
|
|
11
|
-
},
|
|
16
|
+
}, lt = (t, o) => {
|
|
12
17
|
const r = Object.getPrototypeOf(o);
|
|
13
18
|
r !== Object.getPrototypeOf(t) && Object.setPrototypeOf(t, r);
|
|
14
|
-
},
|
|
15
|
-
${o}`,
|
|
16
|
-
const e = r === "" ? "" : `with ${r.trim()}() `, c =
|
|
17
|
-
Object.defineProperty(c, "name",
|
|
18
|
-
const { writable:
|
|
19
|
-
Object.defineProperty(t, "toString", { value: c, writable:
|
|
19
|
+
}, nt = (t, o) => `/* Wrapped ${t}*/
|
|
20
|
+
${o}`, at = Object.getOwnPropertyDescriptor(Function.prototype, "toString"), ut = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name"), st = (t, o, r) => {
|
|
21
|
+
const e = r === "" ? "" : `with ${r.trim()}() `, c = nt.bind(null, e, o.toString());
|
|
22
|
+
Object.defineProperty(c, "name", ut);
|
|
23
|
+
const { writable: i, enumerable: a, configurable: k } = at;
|
|
24
|
+
Object.defineProperty(t, "toString", { value: c, writable: i, enumerable: a, configurable: k });
|
|
20
25
|
};
|
|
21
|
-
function
|
|
26
|
+
function ht(t, o, { ignoreNonConfigurable: r = !1 } = {}) {
|
|
22
27
|
const { name: e } = t;
|
|
23
28
|
for (const c of Reflect.ownKeys(o))
|
|
24
|
-
|
|
25
|
-
return
|
|
29
|
+
ct(t, o, c, r);
|
|
30
|
+
return lt(t, o), st(t, o, e), t;
|
|
26
31
|
}
|
|
27
|
-
const
|
|
28
|
-
function
|
|
32
|
+
const w = 2147483647, dt = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), bt = /* @__PURE__ */ new WeakMap();
|
|
33
|
+
function xt(t, o) {
|
|
29
34
|
const r = t.get(o);
|
|
30
35
|
if (r) {
|
|
31
36
|
if (r.maxAge <= Date.now()) {
|
|
@@ -35,46 +40,110 @@ function lt(t, o) {
|
|
|
35
40
|
return r;
|
|
36
41
|
}
|
|
37
42
|
}
|
|
38
|
-
function
|
|
43
|
+
function vt(t, { cacheKey: o, cache: r = /* @__PURE__ */ new Map(), maxAge: e } = {}) {
|
|
39
44
|
if (e === 0)
|
|
40
45
|
return t;
|
|
41
46
|
if (typeof e == "number" && Number.isFinite(e)) {
|
|
42
|
-
if (e >
|
|
43
|
-
throw new TypeError(`The \`maxAge\` option cannot exceed ${
|
|
47
|
+
if (e > w)
|
|
48
|
+
throw new TypeError(`The \`maxAge\` option cannot exceed ${w}.`);
|
|
44
49
|
if (e < 0)
|
|
45
50
|
throw new TypeError("The `maxAge` option should not be a negative number.");
|
|
46
51
|
}
|
|
47
|
-
const c = function(...
|
|
48
|
-
const
|
|
49
|
-
if (
|
|
50
|
-
return
|
|
51
|
-
const
|
|
52
|
-
if (
|
|
53
|
-
if (!Number.isFinite(
|
|
52
|
+
const c = function(...i) {
|
|
53
|
+
const a = o ? o(i) : i[0], k = xt(r, a);
|
|
54
|
+
if (k)
|
|
55
|
+
return k.data;
|
|
56
|
+
const O = t.apply(this, i), u = typeof e == "function" ? e(...i) : e;
|
|
57
|
+
if (u !== void 0 && u !== Number.POSITIVE_INFINITY) {
|
|
58
|
+
if (!Number.isFinite(u))
|
|
54
59
|
throw new TypeError("The `maxAge` function must return a finite number, `0`, or `Infinity`.");
|
|
55
|
-
if (
|
|
56
|
-
return
|
|
57
|
-
if (
|
|
58
|
-
throw new TypeError(`The \`maxAge\` function result cannot exceed ${
|
|
60
|
+
if (u <= 0)
|
|
61
|
+
return O;
|
|
62
|
+
if (u > w)
|
|
63
|
+
throw new TypeError(`The \`maxAge\` function result cannot exceed ${w}.`);
|
|
59
64
|
}
|
|
60
|
-
if (r.set(
|
|
61
|
-
data:
|
|
62
|
-
maxAge:
|
|
63
|
-
}),
|
|
64
|
-
const
|
|
65
|
-
r.delete(
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
const
|
|
69
|
-
|
|
65
|
+
if (r.set(a, {
|
|
66
|
+
data: O,
|
|
67
|
+
maxAge: u === void 0 || u === Number.POSITIVE_INFINITY ? Number.POSITIVE_INFINITY : Date.now() + u
|
|
68
|
+
}), u !== void 0 && u !== Number.POSITIVE_INFINITY) {
|
|
69
|
+
const $ = setTimeout(() => {
|
|
70
|
+
r.delete(a), M.get(c)?.delete($);
|
|
71
|
+
}, u);
|
|
72
|
+
$.unref?.();
|
|
73
|
+
const D = M.get(c) ?? /* @__PURE__ */ new Set();
|
|
74
|
+
D.add($), M.set(c, D);
|
|
70
75
|
}
|
|
71
|
-
return
|
|
76
|
+
return O;
|
|
72
77
|
};
|
|
73
|
-
return
|
|
78
|
+
return ht(c, t, {
|
|
74
79
|
ignoreNonConfigurable: !0
|
|
75
|
-
}),
|
|
80
|
+
}), dt.set(c, r), bt.set(c, o ?? ((i) => i[0])), c;
|
|
76
81
|
}
|
|
77
|
-
const
|
|
82
|
+
const pt = (t) => {
|
|
83
|
+
if (t === null) return t;
|
|
84
|
+
try {
|
|
85
|
+
const o = t && JSON.parse(t);
|
|
86
|
+
return Array.isArray(o) ? o : null;
|
|
87
|
+
} catch {
|
|
88
|
+
return t.split(" ");
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
var ft = Object.defineProperty, gt = Object.getOwnPropertyDescriptor, _ = (t, o, r, e) => {
|
|
92
|
+
for (var c = e > 1 ? void 0 : e ? gt(o, r) : o, i = t.length - 1, a; i >= 0; i--)
|
|
93
|
+
(a = t[i]) && (c = (e ? a(o, r, c) : a(c)) || c);
|
|
94
|
+
return e && c && ft(o, r, c), c;
|
|
95
|
+
}, p;
|
|
96
|
+
const G = class G extends U {
|
|
97
|
+
constructor() {
|
|
98
|
+
super(...arguments);
|
|
99
|
+
R(this, p);
|
|
100
|
+
this.name = "", this.hiddenLabel = "", this.disabled = !1, this.readonly = !1, this.internals_ = this.attachInternals(), S(this, p, null);
|
|
101
|
+
}
|
|
102
|
+
set value(r) {
|
|
103
|
+
I(this, p) !== r && (S(this, p, r), this.internals_.setFormValue(this.valueToFormValue(r)));
|
|
104
|
+
}
|
|
105
|
+
get value() {
|
|
106
|
+
return I(this, p);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Override this function to customize how the value is converted to a form value;
|
|
110
|
+
*/
|
|
111
|
+
valueToFormValue(r) {
|
|
112
|
+
switch (!0) {
|
|
113
|
+
/* eslint-disable eqeqeq -- loose equality will also return null for undefined */
|
|
114
|
+
case r == null:
|
|
115
|
+
return null;
|
|
116
|
+
case (typeof r == "string" || r instanceof File):
|
|
117
|
+
return r;
|
|
118
|
+
case typeof r == "object":
|
|
119
|
+
try {
|
|
120
|
+
return JSON.stringify(r);
|
|
121
|
+
} catch {
|
|
122
|
+
return null;
|
|
123
|
+
}
|
|
124
|
+
default:
|
|
125
|
+
return String(r);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
p = new WeakMap(), G.formAssociated = !0;
|
|
130
|
+
let x = G;
|
|
131
|
+
_([
|
|
132
|
+
b()
|
|
133
|
+
], x.prototype, "name", 2);
|
|
134
|
+
_([
|
|
135
|
+
b({ attribute: "hidden-label" })
|
|
136
|
+
], x.prototype, "hiddenLabel", 2);
|
|
137
|
+
_([
|
|
138
|
+
b({ type: Boolean })
|
|
139
|
+
], x.prototype, "disabled", 2);
|
|
140
|
+
_([
|
|
141
|
+
b({ type: Boolean })
|
|
142
|
+
], x.prototype, "readonly", 2);
|
|
143
|
+
_([
|
|
144
|
+
b()
|
|
145
|
+
], x.prototype, "value", 1);
|
|
146
|
+
const mt = X`
|
|
78
147
|
/* stylelint-disable */
|
|
79
148
|
.sr-only {
|
|
80
149
|
position: absolute;
|
|
@@ -88,49 +157,51 @@ const at = G`
|
|
|
88
157
|
border-width: 0;
|
|
89
158
|
}
|
|
90
159
|
`;
|
|
91
|
-
var
|
|
160
|
+
var _t = Object.defineProperty, kt = Object.getOwnPropertyDescriptor, Q = (t) => {
|
|
92
161
|
throw TypeError(t);
|
|
93
|
-
},
|
|
94
|
-
for (var c = e > 1 ? void 0 : e ?
|
|
95
|
-
(
|
|
96
|
-
return e && c &&
|
|
97
|
-
},
|
|
98
|
-
const
|
|
99
|
-
let
|
|
162
|
+
}, v = (t, o, r, e) => {
|
|
163
|
+
for (var c = e > 1 ? void 0 : e ? kt(o, r) : o, i = t.length - 1, a; i >= 0; i--)
|
|
164
|
+
(a = t[i]) && (c = (e ? a(o, r, c) : a(c)) || c);
|
|
165
|
+
return e && c && _t(o, r, c), c;
|
|
166
|
+
}, A = (t, o, r) => o.has(t) || Q("Cannot " + r), l = (t, o, r) => (A(t, o, "read from private field"), r ? r.call(t) : o.get(t)), s = (t, o, r) => o.has(t) ? Q("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(t) : o.set(t, r), wt = (t, o, r, e) => (A(t, o, "write to private field"), o.set(t, r), r), h = (t, o, r) => (A(t, o, "access private method"), r), n, m, g, N, E, z, y, H, W, q, j, f, V, F, T;
|
|
167
|
+
const K = "clippy-combobox";
|
|
168
|
+
let d = class extends x {
|
|
100
169
|
constructor() {
|
|
101
|
-
super(...arguments),
|
|
170
|
+
super(...arguments), s(this, n), this.open = !1, this.position = "block-end", s(this, g, /* @__PURE__ */ new Map()), this.selectedIndex = -1, this.query = "", this.filter = ({ label: t }) => t.toLowerCase().includes(this.query.toLowerCase()), s(this, N, vt(async (t) => {
|
|
102
171
|
const o = await this.fetchAdditionalOptions(t);
|
|
103
172
|
for (const r of o)
|
|
104
|
-
|
|
105
|
-
})),
|
|
106
|
-
this.open = !1, this.emit("blur");
|
|
107
|
-
}),
|
|
173
|
+
l(this, g).set(r.label, r);
|
|
174
|
+
})), s(this, E, (t) => {
|
|
175
|
+
t.relatedTarget && !this.shadowRoot?.contains(t.relatedTarget) && (this.open = !1, this.emit("blur"));
|
|
176
|
+
}), s(this, z, () => {
|
|
108
177
|
this.emit("change");
|
|
109
|
-
}),
|
|
178
|
+
}), s(this, y, (t) => {
|
|
179
|
+
t.composedPath().some((r) => r instanceof Node && this.contains(r)) || (this.open = !1, this.emit("blur"));
|
|
180
|
+
}), s(this, H, () => {
|
|
110
181
|
this.open = !0, this.emit("focus");
|
|
111
|
-
}),
|
|
182
|
+
}), s(this, W, (t) => {
|
|
112
183
|
const o = t.target;
|
|
113
184
|
o instanceof HTMLInputElement && (this.selectedIndex = -1, this.open = !0, this.query = o.value, this.value = this.queryToValue(this.query), this.emit("input"));
|
|
114
|
-
}),
|
|
185
|
+
}), s(this, q, (t) => {
|
|
115
186
|
const o = t.currentTarget;
|
|
116
187
|
if (!(o instanceof HTMLElement)) return;
|
|
117
188
|
const r = Number(o.dataset.index);
|
|
118
|
-
Number.isNaN(r) ||
|
|
119
|
-
}),
|
|
189
|
+
Number.isNaN(r) || h(this, n, V).call(this, r);
|
|
190
|
+
}), s(this, j, ({ key: t }) => {
|
|
120
191
|
const o = this.selectedIndex, r = this.filteredOptions.length;
|
|
121
192
|
switch (t) {
|
|
122
193
|
case "ArrowDown":
|
|
123
|
-
return
|
|
194
|
+
return h(this, n, f).call(this, o + 1, !0);
|
|
124
195
|
case "ArrowUp":
|
|
125
|
-
return
|
|
196
|
+
return h(this, n, f).call(this, o - 1, !0);
|
|
126
197
|
case "Enter":
|
|
127
|
-
return
|
|
198
|
+
return h(this, n, V).call(this, o);
|
|
128
199
|
case "Escape":
|
|
129
|
-
return
|
|
200
|
+
return h(this, n, f).call(this, -1);
|
|
130
201
|
case "Home":
|
|
131
|
-
return
|
|
202
|
+
return h(this, n, f).call(this, 0);
|
|
132
203
|
case "End":
|
|
133
|
-
return
|
|
204
|
+
return h(this, n, f).call(this, r - 1);
|
|
134
205
|
default:
|
|
135
206
|
return;
|
|
136
207
|
}
|
|
@@ -140,19 +211,23 @@ let n = class extends B {
|
|
|
140
211
|
if (this.query.length === 0)
|
|
141
212
|
return this.options;
|
|
142
213
|
const t = this.options.filter(this.filter);
|
|
143
|
-
return t.length === 0 &&
|
|
214
|
+
return t.length === 0 && l(this, N).call(this, this.query), t;
|
|
144
215
|
}
|
|
145
216
|
set options(t) {
|
|
146
|
-
|
|
217
|
+
wt(this, g, new Map(
|
|
218
|
+
t.map(
|
|
219
|
+
(o) => typeof o == "string" ? [o, { label: o, value: o }] : [o.label, o]
|
|
220
|
+
)
|
|
221
|
+
));
|
|
147
222
|
}
|
|
148
223
|
get options() {
|
|
149
|
-
return [...
|
|
224
|
+
return [...l(this, g).values()];
|
|
150
225
|
}
|
|
151
226
|
set value(t) {
|
|
152
|
-
|
|
227
|
+
super.value = t, this.query = this.valueToQuery(t);
|
|
153
228
|
}
|
|
154
229
|
get value() {
|
|
155
|
-
return
|
|
230
|
+
return super.value;
|
|
156
231
|
}
|
|
157
232
|
emit(t) {
|
|
158
233
|
this.dispatchEvent(new Event(t, { bubbles: !0, composed: !0 }));
|
|
@@ -172,69 +247,70 @@ let n = class extends B {
|
|
|
172
247
|
return t;
|
|
173
248
|
}
|
|
174
249
|
/**
|
|
175
|
-
* Override this function to customize how a value is converted to a .
|
|
250
|
+
* Override this function to customize how a value is converted to a query.
|
|
176
251
|
* This runs on setting the value.
|
|
177
252
|
*/
|
|
178
253
|
valueToQuery(t) {
|
|
179
254
|
return (t ?? "").toString();
|
|
180
255
|
}
|
|
181
|
-
/**
|
|
182
|
-
* Override this function to customize how the value is converted to a form value;
|
|
183
|
-
*/
|
|
184
|
-
valueToFormValue(t) {
|
|
185
|
-
return t ? `${t}` : "";
|
|
186
|
-
}
|
|
187
256
|
/**
|
|
188
257
|
* Override this function to customize the rendering of combobox options and selected value.
|
|
189
258
|
*/
|
|
190
|
-
renderEntry(t, o) {
|
|
191
|
-
return
|
|
259
|
+
renderEntry({ label: t }, o) {
|
|
260
|
+
return C`${t}`;
|
|
261
|
+
}
|
|
262
|
+
connectedCallback() {
|
|
263
|
+
super.connectedCallback(), document.addEventListener("click", l(this, y));
|
|
264
|
+
}
|
|
265
|
+
disconnectedCallback() {
|
|
266
|
+
super.disconnectedCallback(), document.removeEventListener("click", l(this, y));
|
|
192
267
|
}
|
|
193
268
|
render() {
|
|
194
269
|
const t = {
|
|
195
270
|
[`utrecht-combobox__popover--${this.position}`]: this.position,
|
|
196
271
|
"utrecht-combobox__popover--hidden": !this.open
|
|
197
272
|
};
|
|
198
|
-
return
|
|
273
|
+
return C`
|
|
199
274
|
<div class="utrecht-combobox">
|
|
200
|
-
<label for="${
|
|
275
|
+
<label for="${l(this, n, m)}" class="sr-only">${this.hiddenLabel}</label>
|
|
201
276
|
<input
|
|
202
|
-
id=${
|
|
277
|
+
id=${l(this, n, m)}
|
|
203
278
|
name=${this.name}
|
|
204
279
|
autocomplete="off"
|
|
205
280
|
role="combobox"
|
|
206
281
|
aria-autocomplete="list"
|
|
207
282
|
aria-haspopup="listbox"
|
|
208
|
-
aria-controls=${
|
|
209
|
-
aria-
|
|
283
|
+
aria-controls=${l(this, n, F)}
|
|
284
|
+
aria-expanded=${this.open}
|
|
285
|
+
aria-activedescendant=${h(this, n, T).call(this)}
|
|
210
286
|
type="text"
|
|
211
287
|
class="utrecht-textbox utrecht-combobox__input"
|
|
212
288
|
dir="auto"
|
|
213
289
|
.value=${this.query}
|
|
214
|
-
@input=${
|
|
215
|
-
@focus=${
|
|
216
|
-
@blur=${
|
|
217
|
-
@change=${
|
|
218
|
-
@keydown=${
|
|
290
|
+
@input=${l(this, W)}
|
|
291
|
+
@focus=${l(this, H)}
|
|
292
|
+
@blur=${l(this, E)}
|
|
293
|
+
@change=${l(this, z)}
|
|
294
|
+
@keydown=${l(this, j)}
|
|
219
295
|
/>
|
|
220
296
|
<div
|
|
221
|
-
id=${
|
|
222
|
-
class="utrecht-listbox utrecht-combobox__popover ${
|
|
297
|
+
id=${l(this, n, F)}
|
|
298
|
+
class="utrecht-listbox utrecht-combobox__popover ${J(t)}"
|
|
223
299
|
role="listbox"
|
|
224
300
|
tabindex="-1"
|
|
225
301
|
>
|
|
226
302
|
<ul class="utrecht-listbox__list" role="none">
|
|
227
303
|
${this.filteredOptions.map((o, r) => {
|
|
228
304
|
const e = r === this.selectedIndex;
|
|
229
|
-
return
|
|
230
|
-
class="utrecht-listbox__option utrecht-listbox__option--html-li ${
|
|
305
|
+
return C`<li
|
|
306
|
+
class="utrecht-listbox__option utrecht-listbox__option--html-li ${J({
|
|
231
307
|
"utrecht-listbox__option--selected": e
|
|
232
308
|
})}"
|
|
233
309
|
role="option"
|
|
234
|
-
id=${
|
|
310
|
+
id=${h(this, n, T).call(this, r)}
|
|
235
311
|
aria-selected=${e}
|
|
236
312
|
data-index=${r}
|
|
237
|
-
@
|
|
313
|
+
@click=${l(this, q)}
|
|
238
314
|
>
|
|
239
315
|
${this.renderEntry(o, r)}
|
|
240
316
|
</li>`;
|
|
@@ -245,73 +321,66 @@ let n = class extends B {
|
|
|
245
321
|
`;
|
|
246
322
|
}
|
|
247
323
|
};
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
S = /* @__PURE__ */ new WeakMap();
|
|
255
|
-
M = /* @__PURE__ */ new WeakMap();
|
|
256
|
-
P = /* @__PURE__ */ new WeakMap();
|
|
324
|
+
n = /* @__PURE__ */ new WeakSet();
|
|
325
|
+
m = function() {
|
|
326
|
+
return `${K}-${this.name}`;
|
|
327
|
+
};
|
|
328
|
+
g = /* @__PURE__ */ new WeakMap();
|
|
329
|
+
N = /* @__PURE__ */ new WeakMap();
|
|
257
330
|
E = /* @__PURE__ */ new WeakMap();
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
331
|
+
z = /* @__PURE__ */ new WeakMap();
|
|
332
|
+
y = /* @__PURE__ */ new WeakMap();
|
|
333
|
+
H = /* @__PURE__ */ new WeakMap();
|
|
334
|
+
W = /* @__PURE__ */ new WeakMap();
|
|
335
|
+
q = /* @__PURE__ */ new WeakMap();
|
|
336
|
+
j = /* @__PURE__ */ new WeakMap();
|
|
337
|
+
f = function(t, o = !1) {
|
|
338
|
+
this.open = o, this.selectedIndex = t > -1 ? t % this.filteredOptions.length : -1, this.selectedIndex > -1 && this.shadowRoot?.querySelector(`#${String(h(this, n, T).call(this))}`)?.scrollIntoView({
|
|
339
|
+
behavior: "smooth",
|
|
340
|
+
block: "nearest",
|
|
341
|
+
inline: "nearest"
|
|
342
|
+
});
|
|
261
343
|
};
|
|
262
|
-
|
|
344
|
+
V = function(t) {
|
|
263
345
|
const { label: o, value: r } = this.filteredOptions.at(t) ?? {};
|
|
264
|
-
t < 0 || !o || (this.query = o.toString(), this.value !== r && (this.value = r,
|
|
346
|
+
t < 0 || !o || !r || (this.query = o.toString(), this.value !== r && (this.value = r, l(this, z).call(this)), this.open = !1);
|
|
265
347
|
};
|
|
266
|
-
|
|
267
|
-
return `list-${
|
|
348
|
+
F = function() {
|
|
349
|
+
return `list-${l(this, n, m)}`;
|
|
268
350
|
};
|
|
269
|
-
|
|
270
|
-
return t !== -1 ? `option-${t}-${
|
|
351
|
+
T = function(t = this.selectedIndex) {
|
|
352
|
+
return t !== -1 ? `option-${t}-${l(this, n, m)}` : Z;
|
|
271
353
|
};
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
z(R)
|
|
354
|
+
d.styles = [
|
|
355
|
+
mt,
|
|
356
|
+
P(ot),
|
|
357
|
+
P(rt),
|
|
358
|
+
P(et)
|
|
278
359
|
];
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
],
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
],
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
],
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
],
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
],
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
],
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
],
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
],
|
|
303
|
-
u([
|
|
304
|
-
W()
|
|
305
|
-
], n.prototype, "filteredOptions", 1);
|
|
306
|
-
u([
|
|
307
|
-
x({ type: Array })
|
|
308
|
-
], n.prototype, "options", 1);
|
|
309
|
-
u([
|
|
310
|
-
x({ attribute: !1 })
|
|
311
|
-
], n.prototype, "value", 1);
|
|
312
|
-
n = u([
|
|
313
|
-
D(L)
|
|
314
|
-
], n);
|
|
360
|
+
v([
|
|
361
|
+
b({ reflect: !0, type: Boolean })
|
|
362
|
+
], d.prototype, "open", 2);
|
|
363
|
+
v([
|
|
364
|
+
b()
|
|
365
|
+
], d.prototype, "position", 2);
|
|
366
|
+
v([
|
|
367
|
+
L()
|
|
368
|
+
], d.prototype, "selectedIndex", 2);
|
|
369
|
+
v([
|
|
370
|
+
L()
|
|
371
|
+
], d.prototype, "query", 2);
|
|
372
|
+
v([
|
|
373
|
+
L()
|
|
374
|
+
], d.prototype, "filteredOptions", 1);
|
|
375
|
+
v([
|
|
376
|
+
b({ converter: pt })
|
|
377
|
+
], d.prototype, "options", 1);
|
|
378
|
+
v([
|
|
379
|
+
b()
|
|
380
|
+
], d.prototype, "value", 1);
|
|
381
|
+
d = v([
|
|
382
|
+
tt(K)
|
|
383
|
+
], d);
|
|
315
384
|
export {
|
|
316
|
-
|
|
385
|
+
d as ClippyCombobox
|
|
317
386
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../src/clippy-font-combobox/external.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,gCAAgC,CAAC;AAEnD,eAAe,KAAK,CAAC"}
|