project init & fix ui

This commit is contained in:
2023-01-06 14:24:11 +08:00
parent abc4f65a8e
commit ac9b479805
866 changed files with 39916 additions and 53 deletions

View File

@@ -0,0 +1,33 @@
import { SuperComponent } from '../common/src/index';
import { TdCascaderProps } from './type';
export interface CascaderProps extends TdCascaderProps {
}
export default class Cascader extends SuperComponent {
externalClasses: string[];
properties: TdCascaderProps<import("../common/common").TreeOptionData>;
data: {
prefix: string;
name: string;
stepIndex: number;
selectedIndexes: any[];
selectedValue: any[];
defaultOptionLabel: string;
scrollTopList: any[];
steps: string[];
};
observers: {
visible(v: any): void;
'value, options'(): void;
'selectedIndexes, options'(): void;
stepIndex(): Promise<void>;
};
methods: {
initWithValue(): void;
getIndexesByValue(options: import("../common/common").TreeOptionData[], value: any): any[];
updateScrollTop(): void;
hide(): void;
onStepClick(e: any): void;
onTabChange(e: any): void;
handleSelect(e: any): void;
};
}