@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
38 lines (37 loc) • 1.31 kB
text/typescript
import { JsonNode } from '@zag-js/json-tree-utils';
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { TreeViewRootBaseProps } from '../tree-view';
import { JsonTreeViewOptions } from './json-tree-view-props-context';
export interface JsonTreeViewRootBaseProps extends JsonTreeViewOptions, Omit<TreeViewRootBaseProps<JsonNode>, 'collection'> {
/**
* The data to display in the tree.
*/
data: object;
/**
* The default expand level.
*/
defaultExpandedDepth?: number;
}
export interface JsonTreeViewRootProps extends JsonTreeViewRootBaseProps,
/**
* @vue-ignore
*/
HTMLAttributes {
}
declare const _default: __VLS_WithTemplateSlots< DefineComponent<JsonTreeViewRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<JsonTreeViewRootProps> & Readonly<{}>, {
asChild: boolean;
lazyMount: boolean;
unmountOnExit: boolean;
expandOnClick: boolean;
typeahead: boolean;
showNonenumerable: boolean;
quotesOnKeys: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};