eslink-ui-plus
Version:
vue3 component library, css framework
41 lines (40 loc) • 955 B
TypeScript
import { PropType } from "vue";
export interface keyConfigType {
labelKey?: string;
valueKey?: string;
disabledKey?: string;
childrenKey?: string;
}
export declare const initKeyConfig: {
labelKey: string;
valueKey: string;
disabledKey: string;
childrenKey: string;
};
export declare const keyConfigProp: {
type: PropType<keyConfigType>;
default: () => {
labelKey: string;
valueKey: string;
disabledKey: string;
childrenKey: string;
};
};
export interface sourceItemType {
value: string;
label: string;
disabled: string;
children: sourceItemType[];
show?: boolean;
}
export declare const sourceProp: {
type: PropType<sourceItemType[]>;
default: () => never[];
};
export interface objectType<V> {
[key: string]: V;
}
export declare const multipleProp: {
type: BooleanConstructor;
default: boolean;
};