init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

View File

@@ -0,0 +1,34 @@
import { FunctionN } from 'fp-ts/lib/function';
import { ExtractPropTypes, PropType, ComputedRef, Ref } from 'vue';
import { BTableRow } from '../shared';
export declare const BTableSelectablePropsDefinition: {
isSelectable: {
type: PropType<boolean>;
default: boolean;
};
selectedRows: {
type: PropType<BTableRow[]>;
default: import("fp-ts/lib/function").Lazy<never[]>;
};
'onUpdate:selectedRows': {
type: PropType<FunctionN<[BTableRow[]], void>>;
default: import("fp-ts/lib/function").Lazy<() => void>;
};
onSelectRow: {
type: PropType<FunctionN<[BTableRow], void>>;
default: import("fp-ts/lib/function").Lazy<() => void>;
};
onUnselectRow: {
type: PropType<FunctionN<[BTableRow], void>>;
default: import("fp-ts/lib/function").Lazy<() => void>;
};
};
export interface BTableSelectableProps extends ExtractPropTypes<typeof BTableSelectablePropsDefinition> {
}
export declare function useSelectableTable(props: BTableSelectableProps): UseSelectableTableState;
export interface UseSelectableTableState {
isSelectable: Ref<boolean>;
selectedRowIds: ComputedRef<Set<unknown>>;
toggleRowSelection: FunctionN<[BTableRow], void>;
}
export declare function useInjectedSelectableTable(): UseSelectableTableState;