pdap-design-system 3.1.0-beta.20 → 3.1.0-beta.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,16 @@
1
- import { PdapInputSelectProps } from './types';
1
+ import { PdapSelectOption as Option, PdapInputSelectProps } from './types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputSelectProps>, {
3
+ combobox: boolean;
3
4
  placeholder: string;
5
+ filter: (searchText: any, options: any) => any;
4
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputSelectProps>, {
7
+ combobox: boolean;
5
8
  placeholder: string;
9
+ filter: (searchText: any, options: any) => any;
6
10
  }>>>, {
11
+ filter: (searchText: string, options: Option[]) => Option[];
7
12
  placeholder: string;
13
+ combobox: boolean;
8
14
  }, {}>, {
9
15
  label?(_: {}): any;
10
16
  error?(_: {}): any;
@@ -8,4 +8,6 @@ export interface PdapInputSelectProps {
8
8
  name: string;
9
9
  placeholder?: string;
10
10
  options: PdapSelectOption[];
11
+ combobox?: boolean;
12
+ filter?: (searchText: string, options: PdapSelectOption[]) => PdapSelectOption[];
11
13
  }