gitea push
This commit is contained in:
+3
-2
@@ -3,7 +3,7 @@ import type { ActiveStrategy } from './activeStrategies.js';
|
||||
import type { OpenStrategy } from './openStrategies.js';
|
||||
import type { SelectStrategy } from './selectStrategies.js';
|
||||
import type { ListItem } from '../list-items.js';
|
||||
import type { EventProp } from '../../util/index.js';
|
||||
import type { EventProp, ValueComparator } from '../../util/index.js';
|
||||
export type ActiveStrategyProp = 'single-leaf' | 'leaf' | 'independent' | 'single-independent' | ActiveStrategy | ((mandatory: boolean) => ActiveStrategy);
|
||||
export type SelectStrategyProp = 'single-leaf' | 'leaf' | 'independent' | 'single-independent' | 'classic' | 'trunk' | 'branch' | SelectStrategy | ((mandatory: boolean) => SelectStrategy);
|
||||
export type OpenStrategyProp = 'single' | 'multiple' | 'list' | OpenStrategy;
|
||||
@@ -109,10 +109,11 @@ export declare const makeNestedProps: <Defaults extends {
|
||||
default: unknown extends Defaults["itemsRegistration"] ? ItemsRegistrationType : Defaults["itemsRegistration"] | NonNullable<ItemsRegistrationType>;
|
||||
};
|
||||
};
|
||||
export declare const useNested: (props: NestedProps, { items, returnObject, scrollToActive, }: {
|
||||
export declare const useNested: (props: NestedProps, { items, returnObject, scrollToActive, valueComparator, }: {
|
||||
items: Ref<ListItem[]>;
|
||||
returnObject: MaybeRefOrGetter<boolean>;
|
||||
scrollToActive: MaybeRefOrGetter<boolean>;
|
||||
valueComparator?: MaybeRefOrGetter<ValueComparator | undefined>;
|
||||
}) => {
|
||||
children: Ref<Map<unknown, unknown[]>>;
|
||||
parents: Ref<Map<unknown, unknown>>;
|
||||
|
||||
Reference in New Issue
Block a user