import { DOMElement, ID } from "../../types/index.mjs"; import { NestedActiveMode, NestedOpenMode, NestedSelectionMode } from "../../composables/createNested/types.mjs"; import "../../index.mjs"; import { TreeviewActivatorProps, TreeviewActivatorSlotProps, TreeviewCheckboxProps, TreeviewCheckboxSlotProps, TreeviewContentProps, TreeviewContentSlotProps, TreeviewCueProps, TreeviewCueSlotProps, TreeviewGroupProps, TreeviewGroupSlotProps, TreeviewIndicatorProps, TreeviewIndicatorSlotProps, TreeviewItemProps, TreeviewItemSlotProps, TreeviewListProps, TreeviewListSlotProps, TreeviewRootProps, TreeviewRootSlotProps, TreeviewSelectAllProps, TreeviewSelectAllSlotProps } from "./types.mjs"; import _default from "./TreeviewActivator.vue.mjs"; import _default$1 from "./TreeviewCheckbox.vue.mjs"; import _default$2 from "./TreeviewContent.vue.mjs"; import _default$3 from "./TreeviewCue.vue.mjs"; import _default$4 from "./TreeviewGroup.vue.mjs"; import _default$5 from "./TreeviewIndicator.vue.mjs"; import _default$6, { TreeviewItemContext, provideTreeviewItem, useTreeviewItem } from "./TreeviewItem.vue.mjs"; import _default$7, { TreeviewListContext, provideTreeviewList, useTreeviewList } from "./TreeviewList.vue.mjs"; import _default$8, { TreeviewRootContext, provideTreeviewRoot, useTreeviewRoot } from "./TreeviewRoot.vue.mjs"; import _default$9 from "./TreeviewSelectAll.vue.mjs"; //#region src/components/Treeview/index.d.ts /** * Treeview component with sub-components for hierarchical data. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * * * ``` */ declare const Treeview: { /** * Root component that creates and provides the nested context. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * * * ``` */ Root: (__VLS_props: NonNullable>["props"], __VLS_ctx?: { emit: ((evt: "update:model-value", value: T | T[]) => void) & ((event: "update:modelValue", value: T | T[] | undefined) => void); attrs: any; slots: { default: (props: TreeviewRootSlotProps) => any; }; }, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & { namespace?: string | undefined; disabled?: boolean | undefined; enroll?: boolean | undefined; mandatory?: boolean | "force" | undefined; multiple?: boolean | undefined; open?: NestedOpenMode | undefined; openAll?: boolean | undefined; reveal?: boolean | undefined; selection?: NestedSelectionMode | undefined; active?: NestedActiveMode | undefined; modelValue?: (T | T[]) | undefined; "onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined; "onUpdate:model-value"?: ((value: T | T[]) => any) | undefined; } & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { default: (props: TreeviewRootSlotProps) => any; }; emit: ((evt: "update:model-value", value: T | T[]) => void) & ((event: "update:modelValue", value: T | T[] | undefined) => void); }>) => import("vue").VNode & { __ctx?: NonNullable>; }; /** * Top-level list container with `role="tree"` and `aria-multiselectable`. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * ... * * ``` */ List: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: TreeviewListSlotProps) => any; }; }); /** * Tree node with `role="treeitem"`. Registers with the nearest Root context * and auto-nests under the closest ancestor Item. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * Documents * * * * Resume.pdf * * * * * ``` */ Item: (__VLS_props: NonNullable>["props"], __VLS_ctx?: { emit: {}; attrs: any; slots: { default: (props: TreeviewItemSlotProps) => any; }; }, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & { id?: ID | undefined; value?: V | undefined; disabled?: (boolean | import("vue").MaybeRefOrGetter) | undefined; namespace?: string | undefined; as?: (DOMElement | null) | undefined; renderless?: boolean | undefined; } & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { default: (props: TreeviewItemSlotProps) => any; }; emit: {}; }>) => import("vue").VNode & { __ctx?: NonNullable>; }; /** * Click-to-toggle trigger for expand/collapse. Renders a button by default. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * {{ isOpen ? '▼' : '▶' }} Documents * * ``` */ Activator: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: TreeviewActivatorSlotProps) => any; }; }); /** * Collapse gate for child nodes. Conditionally renders when the parent Item is open. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * * ... * * * ``` */ Content: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: TreeviewContentSlotProps) => any; }; }); /** * Visual cue for expand/collapse state. Hides itself on leaf nodes. * Exposes `data-state="open|closed"` for CSS-driven styling. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * ▶ * * ``` */ Cue: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: TreeviewCueSlotProps) => any; }; }); /** * Wrapper with `role="group"` for nested child items inside Content. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * * Child A * Child B * * * ``` */ Group: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: TreeviewGroupSlotProps) => any; }; }); /** * Tri-state checkbox for selection. Toggles selection on click * and shows mixed state for partially-selected parents. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * {{ isMixed ? '−' : isSelected ? '✓' : '○' }} * * ``` */ Checkbox: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: TreeviewCheckboxSlotProps) => any; }; }); /** * Visual indicator for selection state. Shows checked, unchecked, * or indeterminate via `data-state`. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * ● * * ``` */ Indicator: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: TreeviewIndicatorSlotProps) => any; }; }); /** * Select all checkbox for tree-wide multi-selection. * * Binds to parent TreeviewRoot's aggregate state. Reflects * isAllSelected/isMixed and calls toggleAll on click. Does NOT * register as a tree item. Must be used within a Treeview.Root. * * @see https://0.vuetifyjs.com/components/disclosure/treeview * * @example * ```vue * * * * ``` */ SelectAll: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { $slots: { default: (props: TreeviewSelectAllSlotProps) => any; }; }); }; //#endregion export { Treeview, _default as TreeviewActivator, type TreeviewActivatorProps, type TreeviewActivatorSlotProps, _default$1 as TreeviewCheckbox, type TreeviewCheckboxProps, type TreeviewCheckboxSlotProps, _default$2 as TreeviewContent, type TreeviewContentProps, type TreeviewContentSlotProps, _default$3 as TreeviewCue, type TreeviewCueProps, type TreeviewCueSlotProps, _default$4 as TreeviewGroup, type TreeviewGroupProps, type TreeviewGroupSlotProps, _default$5 as TreeviewIndicator, type TreeviewIndicatorProps, type TreeviewIndicatorSlotProps, _default$6 as TreeviewItem, type TreeviewItemContext, type TreeviewItemProps, type TreeviewItemSlotProps, _default$7 as TreeviewList, type TreeviewListContext, type TreeviewListProps, type TreeviewListSlotProps, _default$8 as TreeviewRoot, type TreeviewRootContext, type TreeviewRootProps, type TreeviewRootSlotProps, _default$9 as TreeviewSelectAll, type TreeviewSelectAllProps, type TreeviewSelectAllSlotProps, provideTreeviewItem, provideTreeviewList, provideTreeviewRoot, useTreeviewItem, useTreeviewList, useTreeviewRoot };