合伙人运营小程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

dropdown-item.d.ts 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. import { RelationsOptions, SuperComponent } from '../common/src/index';
  2. import type { TdDropdownItemProps } from './type';
  3. export interface DropdownItemProps extends TdDropdownItemProps {
  4. }
  5. export default class DropdownMenuItem extends SuperComponent {
  6. externalClasses: string[];
  7. properties: {
  8. style?: {
  9. type: StringConstructor;
  10. value?: string;
  11. };
  12. disabled?: {
  13. type: BooleanConstructor;
  14. value?: boolean;
  15. };
  16. externalClasses?: {
  17. type: ArrayConstructor;
  18. value?: ["t-class", "t-class-content", "t-class-column", "t-class-column-item", "t-class-column-item-label", "t-class-footer"];
  19. };
  20. keys?: {
  21. type: ObjectConstructor;
  22. value?: import("../common/common").KeysType;
  23. };
  24. label?: {
  25. type: StringConstructor;
  26. value?: string;
  27. };
  28. multiple?: {
  29. type: BooleanConstructor;
  30. value?: boolean;
  31. };
  32. options?: {
  33. type: ArrayConstructor;
  34. value?: import("./type").DropdownOption[];
  35. };
  36. optionsColumns?: {
  37. type: null;
  38. value?: string | number;
  39. };
  40. optionsLayout?: {
  41. type: StringConstructor;
  42. value?: string;
  43. };
  44. value?: {
  45. type: null;
  46. value?: import("./type").DropdownValue;
  47. };
  48. defaultValue?: {
  49. type: null;
  50. value?: import("./type").DropdownValue;
  51. };
  52. };
  53. data: {
  54. prefix: string;
  55. classPrefix: string;
  56. show: boolean;
  57. top: number;
  58. maskHeight: number;
  59. initValue: any;
  60. hasChanged: boolean;
  61. duration: string | number;
  62. zIndex: number;
  63. overlay: boolean;
  64. labelAlias: string;
  65. valueAlias: string;
  66. computedLabel: string;
  67. firstCheckedValue: string;
  68. };
  69. relations: RelationsOptions;
  70. controlledProps: {
  71. key: string;
  72. event: string;
  73. }[];
  74. observers: {
  75. keys(obj: any): void;
  76. value(v: any): void;
  77. 'label, computedLabel'(): void;
  78. show(visible: any): void;
  79. };
  80. methods: {
  81. closeDropdown(): void;
  82. getParentBottom(cb: any): void;
  83. handleTreeClick(e: any): void;
  84. handleRadioChange(e: any): void;
  85. handleMaskClick(): void;
  86. handleReset(): void;
  87. handleConfirm(): void;
  88. onLeaved(): void;
  89. };
  90. }