1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- import { RelationsOptions, SuperComponent } from '../common/src/index';
- import type { TdDropdownItemProps } from './type';
- export interface DropdownItemProps extends TdDropdownItemProps {
- }
- export default class DropdownMenuItem extends SuperComponent {
- externalClasses: string[];
- properties: {
- customStyle?: {
- type: StringConstructor;
- value?: string;
- };
- disabled?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- externalClasses?: {
- type: ArrayConstructor;
- value?: ["t-class", "t-class-content", "t-class-column", "t-class-column-item", "t-class-column-item-label", "t-class-footer"];
- };
- keys?: {
- type: ObjectConstructor;
- value?: import("../common/common").KeysType;
- };
- label?: {
- type: StringConstructor;
- value?: string;
- };
- multiple?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- options?: {
- type: ArrayConstructor;
- value?: import("./type").DropdownOption[];
- };
- optionsColumns?: {
- type: null;
- value?: string | number;
- };
- optionsLayout?: {
- type: StringConstructor;
- value?: string;
- };
- value?: {
- type: null;
- value?: import("./type").DropdownValue;
- };
- defaultValue?: {
- type: null;
- value?: import("./type").DropdownValue;
- };
- };
- data: {
- prefix: string;
- classPrefix: string;
- show: boolean;
- top: number;
- maskHeight: number;
- initValue: any;
- hasChanged: boolean;
- duration: string | number;
- zIndex: number;
- overlay: boolean;
- labelAlias: string;
- valueAlias: string;
- };
- parent: any;
- relations: RelationsOptions;
- controlledProps: {
- key: string;
- event: string;
- }[];
- observers: {
- keys(obj: any): void;
- value(v: any): void;
- label(): void;
- show(visible: any): void;
- };
- methods: {
- closeDropdown(): void;
- getParentBottom(parent: any, cb: any): void;
- handleTreeClick(e: any): void;
- handleRadioChange(e: any): void;
- handleMaskClick(): void;
- handleReset(): void;
- handleConfirm(): void;
- onLeaved(): void;
- };
- }
|