@digitalservicebund/ris-ui 3.15.1 → 3.17.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.
@@ -4,7 +4,7 @@ export interface AutoCompleteSuggestion {
4
4
  label: string;
5
5
  secondaryLabel?: string;
6
6
  }
7
- export type Props = Pick<AutoCompleteProps, "dropdown" | "ariaLabel" | "ariaLabelledby" | "delay" | "completeOnFocus" | "optionDisabled" | "typeahead" | "scrollHeight" | "dropdownMode" | "placeholder" | "loading" | "invalid" | "disabled" | "forceSelection" | "autoOptionFocus" | "selectOnFocus" | "focusOnHover"> & {
7
+ export type Props = Pick<AutoCompleteProps, "dropdown" | "ariaLabel" | "ariaLabelledby" | "delay" | "completeOnFocus" | "optionDisabled" | "typeahead" | "scrollHeight" | "dropdownMode" | "placeholder" | "loading" | "invalid" | "disabled" | "forceSelection" | "autoOptionFocus" | "selectOnFocus" | "focusOnHover" | "appendTo"> & {
8
8
  suggestions?: AutoCompleteSuggestion[];
9
9
  initialLabel?: string;
10
10
  };
@@ -0,0 +1,23 @@
1
+ import { type AutoCompleteProps } from "primevue/autocomplete";
2
+ export interface AutoCompleteMultipleSuggestion {
3
+ id: string;
4
+ label: string;
5
+ secondaryLabel?: string;
6
+ }
7
+ export type Props = Pick<AutoCompleteProps, "ariaLabel" | "ariaLabelledby" | "placeholder" | "loading" | "invalid" | "disabled"> & {
8
+ suggestions: AutoCompleteMultipleSuggestion[];
9
+ };
10
+ type __VLS_Props = Props;
11
+ type __VLS_ModelProps = {
12
+ modelValue?: AutoCompleteMultipleSuggestion[];
13
+ };
14
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
16
+ autoCompleteRef: import("vue").Ref<import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "change", event: import("primevue").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: import("primevue").AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: import("primevue").AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: import("primevue").AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: import("primevue").AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null, import("@primevue/core").DefineComponent<AutoCompleteProps, import("primevue").AutoCompleteSlots, ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "change", event: import("primevue").AutoCompleteChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "item-select", event: import("primevue").AutoCompleteOptionSelectEvent) => void) & ((e: "item-unselect", event: import("primevue").AutoCompleteOptionUnselectEvent) => void) & ((e: "option-select", event: import("primevue").AutoCompleteOptionSelectEvent) => void) & ((e: "option-unselect", event: import("primevue").AutoCompleteOptionUnselectEvent) => void) & ((e: "dropdown-click", event: import("primevue").AutoCompleteDropdownClickEvent) => void) & ((e: "clear") => void) & ((e: "complete", event: import("primevue").AutoCompleteCompleteEvent) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void)> | null>;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:modelValue": (value: AutoCompleteMultipleSuggestion[] | undefined) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: AutoCompleteMultipleSuggestion[] | undefined) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import RisAutoCompleteMultiple from "./RisAutoCompleteMultiple.vue";
2
+ export default RisAutoCompleteMultiple;
@@ -6,9 +6,9 @@ type __VLS_ModelProps = {
6
6
  modelValue?: boolean;
7
7
  };
8
8
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
- declare var __VLS_42: {};
9
+ declare var __VLS_46: {};
10
10
  type __VLS_Slots = {} & {
11
- default?: (props: typeof __VLS_42) => any;
11
+ default?: (props: typeof __VLS_46) => any;
12
12
  };
13
13
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: boolean) => any;
@@ -4,4 +4,5 @@ import RisCopyableLabel from "./RisCopyableLabel";
4
4
  import RisExpandableText from "./RisExpandableText";
5
5
  import RisPaginator from "./RisPaginator";
6
6
  import RisChipsInput from "./RisChipsInput";
7
- export { RisSingleAccordion, RisAutoComplete, RisExpandableText, RisCopyableLabel, RisPaginator, RisChipsInput, };
7
+ import RisAutoCompleteMultiple from "./RisAutoCompleteMultiple";
8
+ export { RisSingleAccordion, RisAutoComplete, RisExpandableText, RisCopyableLabel, RisPaginator, RisChipsInput, RisAutoCompleteMultiple, };