UNPKG

@nextcloud/vue

Version:
78 lines (77 loc) 2.13 kB
import { Slot, VNode } from 'vue'; export interface IAppSettingsSection { id: string; name: string; order?: number; icon?: VNode[]; } type __VLS_Props = { /** * Shows the navigation on desktop if true */ showNavigation?: boolean; /** * Selector for the popover container */ container?: string; /** * Name of the settings */ name?: string; /** * Additional elements to add to the focus trap */ additionalTrapElements?: (string | HTMLElement)[]; /** * Use legacy design without any requirements for the section content * * @deprecated The legacy design will be removed */ legacy?: boolean; /** * Do not add the application version at the bottom of the dialog */ noVersion?: boolean; }; type __VLS_PublicProps = { 'open': boolean; } & __VLS_Props; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ /** * The NcAppSettingsSections */ default?: Slot; }> & { /** * The NcAppSettingsSections */ default?: Slot; }; refs: { settingsScroller: HTMLDivElement; }; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:open": (value: boolean) => any; }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; }>, { name: string; container: string; additionalTrapElements: (string | HTMLElement)[]; legacy: boolean; noVersion: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { settingsScroller: HTMLDivElement; }, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };