tree-select.d.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import { SuperComponent } from '../common/src/index';
  2. import type { TreeOptionData } from '../common/common';
  3. export default class TreeSelect extends SuperComponent {
  4. externalClasses: string[];
  5. options: {
  6. multipleSlots: boolean;
  7. };
  8. data: {
  9. prefix: string;
  10. classPrefix: string;
  11. scrollIntoView: any;
  12. };
  13. properties: {
  14. customValue: {
  15. type: any;
  16. value: any;
  17. };
  18. height?: {
  19. type: null;
  20. value?: string | number;
  21. };
  22. keys?: {
  23. type: ObjectConstructor;
  24. value?: import("../common/common").KeysType;
  25. };
  26. multiple?: {
  27. type: BooleanConstructor;
  28. value?: boolean;
  29. };
  30. options?: {
  31. type: ArrayConstructor;
  32. value?: TreeOptionData<string | number>[];
  33. };
  34. value?: {
  35. type: null;
  36. value?: import("./type").TreeSelectValue;
  37. };
  38. defaultValue?: {
  39. type: null;
  40. value?: import("./type").TreeSelectValue;
  41. };
  42. };
  43. controlledProps: {
  44. key: string;
  45. event: string;
  46. }[];
  47. observers: {
  48. 'value, customValue, options, keys, multiple'(): void;
  49. };
  50. lifetimes: {
  51. ready(): void;
  52. };
  53. methods: {
  54. buildTreeOptions(): void;
  55. getScrollIntoView(status: string): void;
  56. onRootChange(e: any): void;
  57. handleTreeClick(e: any): void;
  58. handleRadioChange(e: any): void;
  59. };
  60. }