UNPKG

@insightphp/elements

Version:

Collection of UI components for Insight.

300 lines (299 loc) 12.4 kB
declare const _default: { new (...args: any[]): { $: import("vue").ComponentInternalInstance; $data: {}; $props: Partial<{ nullable: boolean; by: string; labelBy: string; multiple: boolean; noSelectionLabel: string; showOptionIcon: boolean; noOptionsLabel: string; noResultsFoundLabel: string; searchPlaceholder: string; searchable: boolean; searchableBy: string; maxOptionsSelectedLabel: string; max: number; }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ name?: string | undefined; modelValue?: { [key: string]: any; } | { [key: string]: any; }[] | undefined; error?: string | null | undefined; options: { [key: string]: any; }[]; multiple?: boolean | undefined; by?: string | undefined; labelBy?: string | undefined; nullable?: boolean | undefined; noSelectionLabel?: string | undefined; showOptionIcon?: boolean | undefined; noOptionsLabel?: string | undefined; noResultsFoundLabel?: string | undefined; searchPlaceholder?: string | undefined; searchable?: boolean | undefined; searchableBy?: string | undefined; maxOptionsSelectedLabel?: string | undefined; max?: number | undefined; }>, { by: string; labelBy: string; multiple: boolean; nullable: boolean; noSelectionLabel: string; showOptionIcon: boolean; noOptionsLabel: string; noResultsFoundLabel: string; searchPlaceholder: string; searchable: boolean; searchableBy: string; max: number; maxOptionsSelectedLabel: string; }>>> & { onChange?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "nullable" | "by" | "labelBy" | "multiple" | "noSelectionLabel" | "showOptionIcon" | "noOptionsLabel" | "noResultsFoundLabel" | "searchPlaceholder" | "searchable" | "searchableBy" | "maxOptionsSelectedLabel" | "max">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null; $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null; $emit: (event: "update:modelValue" | "change", ...args: any[]) => void; $el: any; $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ name?: string | undefined; modelValue?: { [key: string]: any; } | { [key: string]: any; }[] | undefined; error?: string | null | undefined; options: { [key: string]: any; }[]; multiple?: boolean | undefined; by?: string | undefined; labelBy?: string | undefined; nullable?: boolean | undefined; noSelectionLabel?: string | undefined; showOptionIcon?: boolean | undefined; noOptionsLabel?: string | undefined; noResultsFoundLabel?: string | undefined; searchPlaceholder?: string | undefined; searchable?: boolean | undefined; searchableBy?: string | undefined; maxOptionsSelectedLabel?: string | undefined; max?: number | undefined; }>, { by: string; labelBy: string; multiple: boolean; nullable: boolean; noSelectionLabel: string; showOptionIcon: boolean; noOptionsLabel: string; noResultsFoundLabel: string; searchPlaceholder: string; searchable: boolean; searchableBy: string; max: number; maxOptionsSelectedLabel: string; }>>> & { onChange?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], string, { nullable: boolean; by: string; labelBy: string; multiple: boolean; noSelectionLabel: string; showOptionIcon: boolean; noOptionsLabel: string; noResultsFoundLabel: string; searchPlaceholder: string; searchable: boolean; searchableBy: string; maxOptionsSelectedLabel: string; max: number; }> & { beforeCreate?: ((() => void) | (() => void)[]) | undefined; created?: ((() => void) | (() => void)[]) | undefined; beforeMount?: ((() => void) | (() => void)[]) | undefined; mounted?: ((() => void) | (() => void)[]) | undefined; beforeUpdate?: ((() => void) | (() => void)[]) | undefined; updated?: ((() => void) | (() => void)[]) | undefined; activated?: ((() => void) | (() => void)[]) | undefined; deactivated?: ((() => void) | (() => void)[]) | undefined; beforeDestroy?: ((() => void) | (() => void)[]) | undefined; beforeUnmount?: ((() => void) | (() => void)[]) | undefined; destroyed?: ((() => void) | (() => void)[]) | undefined; unmounted?: ((() => void) | (() => void)[]) | undefined; renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined; }; $forceUpdate: () => void; $nextTick: typeof import("vue").nextTick; $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle; } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ name?: string | undefined; modelValue?: { [key: string]: any; } | { [key: string]: any; }[] | undefined; error?: string | null | undefined; options: { [key: string]: any; }[]; multiple?: boolean | undefined; by?: string | undefined; labelBy?: string | undefined; nullable?: boolean | undefined; noSelectionLabel?: string | undefined; showOptionIcon?: boolean | undefined; noOptionsLabel?: string | undefined; noResultsFoundLabel?: string | undefined; searchPlaceholder?: string | undefined; searchable?: boolean | undefined; searchableBy?: string | undefined; maxOptionsSelectedLabel?: string | undefined; max?: number | undefined; }>, { by: string; labelBy: string; multiple: boolean; nullable: boolean; noSelectionLabel: string; showOptionIcon: boolean; noOptionsLabel: string; noResultsFoundLabel: string; searchPlaceholder: string; searchable: boolean; searchableBy: string; max: number; maxOptionsSelectedLabel: string; }>>> & { onChange?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ name?: string | undefined; modelValue?: { [key: string]: any; } | { [key: string]: any; }[] | undefined; error?: string | null | undefined; options: { [key: string]: any; }[]; multiple?: boolean | undefined; by?: string | undefined; labelBy?: string | undefined; nullable?: boolean | undefined; noSelectionLabel?: string | undefined; showOptionIcon?: boolean | undefined; noOptionsLabel?: string | undefined; noResultsFoundLabel?: string | undefined; searchPlaceholder?: string | undefined; searchable?: boolean | undefined; searchableBy?: string | undefined; maxOptionsSelectedLabel?: string | undefined; max?: number | undefined; }>, { by: string; labelBy: string; multiple: boolean; nullable: boolean; noSelectionLabel: string; showOptionIcon: boolean; noOptionsLabel: string; noResultsFoundLabel: string; searchPlaceholder: string; searchable: boolean; searchableBy: string; max: number; maxOptionsSelectedLabel: string; }>>> & { onChange?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", { nullable: boolean; by: string; labelBy: string; multiple: boolean; noSelectionLabel: string; showOptionIcon: boolean; noOptionsLabel: string; noResultsFoundLabel: string; searchPlaceholder: string; searchable: boolean; searchableBy: string; maxOptionsSelectedLabel: string; max: number; }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { button: (_: { clear: () => void; showClearButton: boolean; label: any; open: any; value: { [key: string]: any; } | { [key: string]: any; }[] | undefined; }) => any; multiSelection: (_: { deselect: (option: { [key: string]: any; }) => void; show: boolean; selected: { [key: string]: any; } | { [key: string]: any; }[] | undefined; labelBy: string; }) => any; option: (_: { active: any; selected: any; option: { [key: string]: any; }; labelBy: string; }) => any; noOptions: (_: {}) => any; }; }); export default _default; declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; declare type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; declare type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & { default: D[K]; } : P[K]; };