routie dev init since i didn't adhere to any proper guidance up until now

This commit is contained in:
2026-04-29 22:27:29 -06:00
commit e1dabb71e2
15301 changed files with 3562618 additions and 0 deletions
@@ -0,0 +1,24 @@
type SelectStrategyFunction = (data: {
id: unknown;
value: boolean;
selected: Map<unknown, 'on' | 'off' | 'indeterminate'>;
children: Map<unknown, unknown[]>;
parents: Map<unknown, unknown>;
disabled: Set<unknown>;
event?: Event;
}) => Map<unknown, 'on' | 'off' | 'indeterminate'>;
type SelectStrategyTransformInFunction = (v: readonly unknown[] | undefined, children: Map<unknown, unknown[]>, parents: Map<unknown, unknown>, disabled: Set<unknown>) => Map<unknown, 'on' | 'off' | 'indeterminate'>;
type SelectStrategyTransformOutFunction = (v: Map<unknown, 'on' | 'off' | 'indeterminate'>, children: Map<unknown, unknown[]>, parents: Map<unknown, unknown>) => unknown[];
export type SelectStrategy = {
select: SelectStrategyFunction;
in: SelectStrategyTransformInFunction;
out: SelectStrategyTransformOutFunction;
};
export declare const independentSelectStrategy: (mandatory?: boolean) => SelectStrategy;
export declare const independentSingleSelectStrategy: (mandatory?: boolean) => SelectStrategy;
export declare const leafSelectStrategy: (mandatory?: boolean) => SelectStrategy;
export declare const leafSingleSelectStrategy: (mandatory?: boolean) => SelectStrategy;
export declare const classicSelectStrategy: (mandatory?: boolean) => SelectStrategy;
export declare const trunkSelectStrategy: (mandatory?: boolean) => SelectStrategy;
export declare const branchSelectStrategy: (mandatory?: boolean) => SelectStrategy;