cascader.d.ts 948 B

123456789101112131415161718192021222324252627282930
  1. import { SuperComponent } from '../common/src/index';
  2. import { TdCascaderProps } from './type';
  3. export interface CascaderProps extends TdCascaderProps {
  4. }
  5. export default class Cascader extends SuperComponent {
  6. externalClasses: string[];
  7. properties: TdCascaderProps<import("../common/common").TreeOptionData>;
  8. data: {
  9. prefix: string;
  10. name: string;
  11. stepIndex: number;
  12. selectedIndexes: any[];
  13. selectedValue: any[];
  14. defaultOptionLabel: string;
  15. steps: string[];
  16. };
  17. observers: {
  18. visible(v: any): void;
  19. 'value, options'(): void;
  20. 'selectedIndexes, options'(): void;
  21. };
  22. methods: {
  23. initWithValue(): void;
  24. getIndexesByValue(options: import("../common/common").TreeOptionData[], value: any): any[];
  25. hide(): void;
  26. onStepClick(e: any): void;
  27. onTabChange(e: any): void;
  28. handleSelect(e: any): void;
  29. };
  30. }