@skillbill/vuelace-3
Version:
[](https://opensource.org/licenses/MIT) [](https://badge.fury.io/js/@skillbill%2Fvuelace-3)
205 lines (203 loc) • 6.72 kB
TypeScript
import { VLInputRuleType } from '../utils/types';
import { VLSelectOptionType } from '../VLSelect';
declare const _default: import('vue').DefineComponent<{
suggestions: import('vue').PropType<any>;
modelValue: import('vue').PropType<string>;
error: {
type: import('vue').PropType<string>;
};
label: {
type: import('vue').PropType<string>;
};
onFocus: {
type: import('vue').PropType<(evt: Event) => void>;
};
onBlur: {
type: import('vue').PropType<(evt: Event) => void>;
};
onChange: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteChangeEvent) => void>;
};
onClick: {
type: import('vue').PropType<(evt: Event) => void>;
};
disabled: {
type: import('vue').PropType<boolean>;
default: boolean;
};
placeholder: {
type: import('vue').PropType<string>;
};
required: {
type: import('vue').PropType<boolean>;
default: boolean;
};
rules: {
type: import('vue').PropType<VLInputRuleType[]>;
default: () => VLInputRuleType[];
};
onClear: {
type: import('vue').PropType<() => void>;
};
options: {
type: import('vue').PropType<VLSelectOptionType[]>;
default: () => VLSelectOptionType[];
};
onShow: {
type: import('vue').PropType<() => void>;
};
onHide: {
type: import('vue').PropType<() => void>;
};
forceSelection: {
type: import('vue').PropType<boolean>;
default: boolean;
};
emptySearchMessage: {
type: import('vue').PropType<string>;
};
optionLabel: {
type: import('vue').PropType<string>;
};
labelClass: {
type: import('vue').PropType<string>;
};
onItemSelect: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteItemSelectEvent) => void>;
};
onItemUnselect: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteItemUnselectEvent) => void>;
};
onDropdownClick: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteDropdownClickEvent) => void>;
};
onComplete: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteCompleteEvent) => void>;
};
onBeforeShow: {
type: import('vue').PropType<() => void>;
};
onBeforeHide: {
type: import('vue').PropType<() => void>;
};
}, {
isValid: () => boolean;
validateInput: () => boolean;
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
focus: (...args: any[]) => void;
blur: (...args: any[]) => void;
change: (...args: any[]) => void;
clear: (...args: any[]) => void;
show: (...args: any[]) => void;
hide: (...args: any[]) => void;
click: (...args: any[]) => void;
"update:modelValue": (...args: any[]) => void;
"item-select": (...args: any[]) => void;
"item-unselect": (...args: any[]) => void;
"dropdown-click": (...args: any[]) => void;
complete: (...args: any[]) => void;
"before-show": (...args: any[]) => void;
"before-hide": (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
suggestions: import('vue').PropType<any>;
modelValue: import('vue').PropType<string>;
error: {
type: import('vue').PropType<string>;
};
label: {
type: import('vue').PropType<string>;
};
onFocus: {
type: import('vue').PropType<(evt: Event) => void>;
};
onBlur: {
type: import('vue').PropType<(evt: Event) => void>;
};
onChange: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteChangeEvent) => void>;
};
onClick: {
type: import('vue').PropType<(evt: Event) => void>;
};
disabled: {
type: import('vue').PropType<boolean>;
default: boolean;
};
placeholder: {
type: import('vue').PropType<string>;
};
required: {
type: import('vue').PropType<boolean>;
default: boolean;
};
rules: {
type: import('vue').PropType<VLInputRuleType[]>;
default: () => VLInputRuleType[];
};
onClear: {
type: import('vue').PropType<() => void>;
};
options: {
type: import('vue').PropType<VLSelectOptionType[]>;
default: () => VLSelectOptionType[];
};
onShow: {
type: import('vue').PropType<() => void>;
};
onHide: {
type: import('vue').PropType<() => void>;
};
forceSelection: {
type: import('vue').PropType<boolean>;
default: boolean;
};
emptySearchMessage: {
type: import('vue').PropType<string>;
};
optionLabel: {
type: import('vue').PropType<string>;
};
labelClass: {
type: import('vue').PropType<string>;
};
onItemSelect: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteItemSelectEvent) => void>;
};
onItemUnselect: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteItemUnselectEvent) => void>;
};
onDropdownClick: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteDropdownClickEvent) => void>;
};
onComplete: {
type: import('vue').PropType<(evt: import('primevue/autocomplete').AutoCompleteCompleteEvent) => void>;
};
onBeforeShow: {
type: import('vue').PropType<() => void>;
};
onBeforeHide: {
type: import('vue').PropType<() => void>;
};
}>> & {
onFocus?: ((...args: any[]) => any) | undefined;
onBlur?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
onClick?: ((...args: any[]) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
onShow?: ((...args: any[]) => any) | undefined;
onHide?: ((...args: any[]) => any) | undefined;
onComplete?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
"onItem-select"?: ((...args: any[]) => any) | undefined;
"onItem-unselect"?: ((...args: any[]) => any) | undefined;
"onDropdown-click"?: ((...args: any[]) => any) | undefined;
"onBefore-show"?: ((...args: any[]) => any) | undefined;
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
required: boolean;
rules: VLInputRuleType[];
options: VLSelectOptionType[];
forceSelection: boolean;
}, {}>;
export default _default;