UNPKG

@nextcloud/vue

Version:
276 lines (275 loc) 14.1 kB
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ /** * The reference provider */ provider: { type: ObjectConstructor; required: true; }; }>, {}, { inputValue: string; loading: boolean; reference: null; abortController: null; inputPlaceholder: string; }, { isLinkValid(): boolean; debouncedUpdateReference(): import('debounce').DebouncedFunction<() => void>; }, { focus(): void; onSubmit(e: any): void; onClear(): void; onInput(): void; updateReference(): void; }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "submit"[], "submit", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ /** * The reference provider */ provider: { type: ObjectConstructor; required: true; }; }>> & Readonly<{ onSubmit?: ((...args: any[]) => any) | undefined; }>, {}, {}, { LinkVariantIcon: any; NcEmptyContent: { new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{ description?: string; name?: string; }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, { name: string; description: string; }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ description?: string; name?: string; }> & Readonly<{}>, {}, {}, {}, {}, { name: string; description: string; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import('vue').ComponentOptionsBase<Readonly<{ description?: string; name?: string; }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, { name: string; description: string; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => { $slots: Readonly<{ action?: import('vue').Slot; icon?: import('vue').Slot; name?: import('vue').Slot; description?: import('vue').Slot; }> & { action?: import('vue').Slot; icon?: import('vue').Slot; name?: import('vue').Slot; description?: import('vue').Slot; }; }); NcLoadingIcon: import('vue').DefineComponent<{ appearance?: "auto" | "light" | "dark"; name?: string; size?: number; }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{ appearance?: "auto" | "light" | "dark"; name?: string; size?: number; }> & Readonly<{}>, { size: number; name: string; appearance: "auto" | "light" | "dark"; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>; NcReferenceWidget: import('vue').DefineComponent<{ reference: import('../../../functions/reference/widgets.ts').ReferenceWidgetObject; interactive?: boolean; interactiveOptIn?: boolean; }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{ reference: import('../../../functions/reference/widgets.ts').ReferenceWidgetObject; interactive?: boolean; interactiveOptIn?: boolean; }> & Readonly<{}>, { interactive: boolean; interactiveOptIn: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { widgetRoot: HTMLDivElement; customWidget: HTMLDivElement; }, HTMLDivElement>; NcTextField: { new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{ modelValue?: string | number; } & import('../../NcInputField/NcInputField.vue').NcInputFieldProps & { trailingButtonIcon?: "arrowEnd" | "close" | "undo"; trailingButtonLabel?: string; }> & Readonly<{ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined; }>, { focus: (options?: FocusOptions) => void; select: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: string | number) => any; }, import('vue').PublicProps, { trailingButtonLabel: string; trailingButtonIcon: "arrowEnd" | "close" | "undo"; }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, { inputField: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly modelValue: string | number; readonly class?: import('../../../utils/VueTypes.ts').VueClassType | undefined; readonly inputClass?: import('../../../utils/VueTypes.ts').VueClassType | undefined; readonly id?: string | undefined; readonly label?: string | undefined; readonly labelOutside?: boolean | undefined; readonly type?: "text" | "password" | "email" | "tel" | "url" | "search" | "number" | undefined; readonly placeholder?: string | undefined; readonly showTrailingButton?: boolean | undefined; readonly trailingButtonLabel?: string | undefined; readonly success?: boolean | undefined; readonly error?: boolean | undefined; readonly helperText?: string | undefined; readonly disabled?: boolean | undefined; readonly pill?: boolean | undefined; readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined; readonly onTrailingButtonClick?: ((event: MouseEvent) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; } & { input: HTMLInputElement; }; $slots: Readonly<{ [name: string]: import('vue').Slot<any> | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "update:modelValue", value: string | number) => void) & ((event: "trailingButtonClick", event: MouseEvent) => void); $el: any; $options: import('vue').ComponentOptionsBase<Readonly<{ modelValue: string | number; } & import('../../NcInputField/NcInputField.vue').NcInputFieldProps> & Readonly<{ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined; onTrailingButtonClick?: ((event: MouseEvent) => any) | undefined; }>, { focus: (options?: FocusOptions) => void; select: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: string | number) => any; trailingButtonClick: (event: MouseEvent) => any; }, string, { id: string; type: "text" | "password" | "email" | "tel" | "url" | "search" | "number"; label: string; class: import('../../../utils/VueTypes.ts').VueClassType; inputClass: import('../../../utils/VueTypes.ts').VueClassType; placeholder: string; trailingButtonLabel: string; helperText: string; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ id: string; type: "text" | "password" | "email" | "tel" | "url" | "search" | "number"; label: string; class: import('../../../utils/VueTypes.ts').VueClassType; inputClass: import('../../../utils/VueTypes.ts').VueClassType; placeholder: string; trailingButtonLabel: string; helperText: string; }> & Omit<Readonly<{ modelValue: string | number; } & import('../../NcInputField/NcInputField.vue').NcInputFieldProps> & Readonly<{ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined; onTrailingButtonClick?: ((event: MouseEvent) => any) | undefined; }>, "select" | "focus" | ("id" | "type" | "label" | "class" | "inputClass" | "placeholder" | "trailingButtonLabel" | "helperText")> & import('vue').ShallowUnwrapRef<{ focus: (options?: FocusOptions) => void; select: () => void; }> & {} & import('vue').ComponentCustomProperties & {} & { $slots: Readonly<{ icon?: import('vue').Slot; 'trailing-button-icon'?: import('vue').Slot; }> & { icon?: import('vue').Slot; 'trailing-button-icon'?: import('vue').Slot; }; }) | null; }, any, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ modelValue?: string | number; } & import('../../NcInputField/NcInputField.vue').NcInputFieldProps & { trailingButtonIcon?: "arrowEnd" | "close" | "undo"; trailingButtonLabel?: string; }> & Readonly<{ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined; }>, { focus: (options?: FocusOptions) => void; select: () => void; }, {}, {}, {}, { trailingButtonLabel: string; trailingButtonIcon: "arrowEnd" | "close" | "undo"; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import('vue').ComponentOptionsBase<Readonly<{ modelValue?: string | number; } & import('../../NcInputField/NcInputField.vue').NcInputFieldProps & { trailingButtonIcon?: "arrowEnd" | "close" | "undo"; trailingButtonLabel?: string; }> & Readonly<{ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined; }>, { focus: (options?: FocusOptions) => void; select: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: string | number) => any; }, string, { trailingButtonLabel: string; trailingButtonIcon: "arrowEnd" | "close" | "undo"; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => { $slots: Readonly<{ icon?: import('vue').Slot; }> & { icon?: import('vue').Slot; }; }); }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default _default;