gitea push

This commit is contained in:
2026-05-09 12:19:29 -06:00
parent 06113c95b8
commit 429461e985
1481 changed files with 74306 additions and 52475 deletions
+3 -2
View File
@@ -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>>;