UNPKG

@nextcloud/vue

Version:
156 lines (155 loc) 6.3 kB
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ /** * Is the list currently open (or collapsed) */ open: { type: BooleanConstructor; required: true; }; /** * Is the navigation item currently active. */ active: { type: BooleanConstructor; required: true; }; }>, {}, {}, { labelButton(): string; }, { onClick(e: any): void; }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ /** * Is the list currently open (or collapsed) */ open: { type: BooleanConstructor; required: true; }; /** * Is the navigation item currently active. */ active: { type: BooleanConstructor; required: true; }; }>> & Readonly<{ onClick?: ((...args: any[]) => any) | undefined; }>, {}, {}, { NcButton: { new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{ alignment?: import('../NcButton/NcButton.vue').ButtonAlignment; ariaLabel?: string; disabled?: boolean; download?: string | true; href?: string; pressed?: boolean | undefined; size?: import('../NcButton/NcButton.vue').ButtonSize; target?: string; text?: string; to?: import('vue-router').RouteLocationRaw; type?: import('../NcButton/NcButton.vue').ButtonType; variant?: import('../NcButton/NcButton.vue').ButtonVariant; wide?: boolean; }> & Readonly<{ onClick?: ((e: MouseEvent) => any) | undefined; "onUpdate:pressed"?: ((pressed: boolean) => any) | undefined; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { click: (e: MouseEvent) => any; "update:pressed": (pressed: boolean) => any; }, import('vue').PublicProps, { size: import('../NcButton/NcButton.vue').ButtonSize; type: import('../NcButton/NcButton.vue').ButtonType; text: string; alignment: import('../NcButton/NcButton.vue').ButtonAlignment; ariaLabel: string; download: string | true; href: string; pressed: boolean; target: string; to: import('vue-router').RouteLocationRaw; variant: import('../NcButton/NcButton.vue').ButtonVariant; }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ alignment?: import('../NcButton/NcButton.vue').ButtonAlignment; ariaLabel?: string; disabled?: boolean; download?: string | true; href?: string; pressed?: boolean | undefined; size?: import('../NcButton/NcButton.vue').ButtonSize; target?: string; text?: string; to?: import('vue-router').RouteLocationRaw; type?: import('../NcButton/NcButton.vue').ButtonType; variant?: import('../NcButton/NcButton.vue').ButtonVariant; wide?: boolean; }> & Readonly<{ onClick?: ((e: MouseEvent) => any) | undefined; "onUpdate:pressed"?: ((pressed: boolean) => any) | undefined; }>, {}, {}, {}, {}, { size: import('../NcButton/NcButton.vue').ButtonSize; type: import('../NcButton/NcButton.vue').ButtonType; text: string; alignment: import('../NcButton/NcButton.vue').ButtonAlignment; ariaLabel: string; download: string | true; href: string; pressed: boolean; target: string; to: import('vue-router').RouteLocationRaw; variant: import('../NcButton/NcButton.vue').ButtonVariant; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import('vue').ComponentOptionsBase<Readonly<{ alignment?: import('../NcButton/NcButton.vue').ButtonAlignment; ariaLabel?: string; disabled?: boolean; download?: string | true; href?: string; pressed?: boolean | undefined; size?: import('../NcButton/NcButton.vue').ButtonSize; target?: string; text?: string; to?: import('vue-router').RouteLocationRaw; type?: import('../NcButton/NcButton.vue').ButtonType; variant?: import('../NcButton/NcButton.vue').ButtonVariant; wide?: boolean; }> & Readonly<{ onClick?: ((e: MouseEvent) => any) | undefined; "onUpdate:pressed"?: ((pressed: boolean) => any) | undefined; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { click: (e: MouseEvent) => any; "update:pressed": (pressed: boolean) => any; }, string, { size: import('../NcButton/NcButton.vue').ButtonSize; type: import('../NcButton/NcButton.vue').ButtonType; text: string; alignment: import('../NcButton/NcButton.vue').ButtonAlignment; ariaLabel: string; download: string | true; href: string; pressed: boolean; target: string; to: import('vue-router').RouteLocationRaw; variant: import('../NcButton/NcButton.vue').ButtonVariant; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => { $slots: Readonly<{ default?: import('vue').Slot; icon?: import('vue').Slot; }> & { default?: import('vue').Slot; icon?: import('vue').Slot; }; }); ChevronDown: any; ChevronUp: any; }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default _default;