yuang-framework-ui-pc
Version:
yuang-framework-ui-pc Library
241 lines (239 loc) • 16.5 kB
TypeScript
import { ElIconProps } from '../ele-app/el';
import { EleTooltipInstance } from '../ele-app/plus';
declare const _default: import('vue').DefineComponent<{
trigger: {
type: import('vue').PropType<import('../ele-app/plus').ElePopoverProps["trigger"]>;
default: string;
};
confirmButtonText: StringConstructor;
cancelButtonText: StringConstructor;
confirmButtonType: {
type: import('vue').PropType<import('../ele-app/el').ElPopconfirmProps["confirmButtonType"]>;
default: string;
};
cancelButtonType: {
type: import('vue').PropType<import('../ele-app/el').ElPopconfirmProps["cancelButtonType"]>;
default: string;
};
icon: import('vue').PropType<import('../ele-app/el').ElPopconfirmProps["icon"]>;
iconColor: {
type: StringConstructor;
default: string;
};
hideIcon: BooleanConstructor;
hideConfirmButton: BooleanConstructor;
hideCancelButton: BooleanConstructor;
iconStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
iconProps: import('vue').PropType<ElIconProps>;
confirmButtonProps: import('vue').PropType<import('../ele-app/el').ElButtonProps>;
cancelButtonProps: import('vue').PropType<import('../ele-app/el').ElButtonProps>;
footerStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
transition: {
type: StringConstructor;
default: string;
};
bodyClass: StringConstructor;
bodyStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
titleStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
contentStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
title: StringConstructor;
effect: {
readonly default: "light";
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
readonly __epPropKey: true;
};
placement: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => import('element-plus').Placement & {}) | (() => import('element-plus').Placement) | ((new (...args: any[]) => import('element-plus').Placement & {}) | (() => import('element-plus').Placement))[], unknown, unknown, "bottom", boolean>;
teleported: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
disabled: BooleanConstructor;
offset: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
persistent: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
width: import('element-plus/es/utils/index').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
visible: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>) | ((new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>))[], unknown, unknown, () => {}, boolean>;
tabindex: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>;
content: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
enterable: {
readonly default: true;
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
readonly __epPropKey: true;
};
showAfter: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
hideAfter: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
autoClose: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
showArrow: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
popperStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
popperClass: StringConstructor;
ariaLabel: StringConstructor;
bg: StringConstructor;
appendTo: {
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
zIndex: NumberConstructor;
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
arrowOffset: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
virtualRef: {
readonly type: import('vue').PropType<import('element-plus').Measurable>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
virtualTriggering: BooleanConstructor;
className: StringConstructor;
gpuAcceleration: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
arrowBg: StringConstructor;
}, {
tooltipRef: import('vue').Ref<EleTooltipInstance>;
tooltipProps: import('vue').ComputedRef<Partial<import('../ele-tooltip/props').TooltipProps>>;
iconOptions: import('vue').ComputedRef<ElIconProps>;
confirmText: import('vue').ComputedRef<string>;
cancelText: import('vue').ComputedRef<string>;
hidePopper: () => void;
confirm: (e: MouseEvent) => void;
cancel: (e: MouseEvent) => void;
handleUpdateVisible: (visible: boolean) => void;
handlePopBeforeEnter: () => void;
handlePopBeforeLeave: () => void;
handlePopAfterEnter: () => void;
handlePopAfterLeave: () => void;
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
confirm: (_e: MouseEvent) => boolean;
cancel: (_e: MouseEvent) => boolean;
'update:visible': (value: boolean) => boolean;
'before-enter': () => boolean;
'before-leave': () => boolean;
'after-enter': () => boolean;
'after-leave': () => boolean;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
trigger: {
type: import('vue').PropType<import('../ele-app/plus').ElePopoverProps["trigger"]>;
default: string;
};
confirmButtonText: StringConstructor;
cancelButtonText: StringConstructor;
confirmButtonType: {
type: import('vue').PropType<import('../ele-app/el').ElPopconfirmProps["confirmButtonType"]>;
default: string;
};
cancelButtonType: {
type: import('vue').PropType<import('../ele-app/el').ElPopconfirmProps["cancelButtonType"]>;
default: string;
};
icon: import('vue').PropType<import('../ele-app/el').ElPopconfirmProps["icon"]>;
iconColor: {
type: StringConstructor;
default: string;
};
hideIcon: BooleanConstructor;
hideConfirmButton: BooleanConstructor;
hideCancelButton: BooleanConstructor;
iconStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
iconProps: import('vue').PropType<ElIconProps>;
confirmButtonProps: import('vue').PropType<import('../ele-app/el').ElButtonProps>;
cancelButtonProps: import('vue').PropType<import('../ele-app/el').ElButtonProps>;
footerStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
transition: {
type: StringConstructor;
default: string;
};
bodyClass: StringConstructor;
bodyStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
titleStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
contentStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
title: StringConstructor;
effect: {
readonly default: "light";
readonly type: import('vue').PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
readonly __epPropKey: true;
};
placement: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => import('element-plus').Placement & {}) | (() => import('element-plus').Placement) | ((new (...args: any[]) => import('element-plus').Placement & {}) | (() => import('element-plus').Placement))[], unknown, unknown, "bottom", boolean>;
teleported: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
disabled: BooleanConstructor;
offset: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
persistent: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
width: import('element-plus/es/utils/index').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
visible: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>) | ((new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>))[], unknown, unknown, () => {}, boolean>;
tabindex: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>;
content: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
enterable: {
readonly default: true;
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
readonly __epPropKey: true;
};
showAfter: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
hideAfter: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
autoClose: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
showArrow: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
popperStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
popperClass: StringConstructor;
ariaLabel: StringConstructor;
bg: StringConstructor;
appendTo: {
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
zIndex: NumberConstructor;
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
arrowOffset: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
virtualRef: {
readonly type: import('vue').PropType<import('element-plus').Measurable>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
virtualTriggering: BooleanConstructor;
className: StringConstructor;
gpuAcceleration: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
arrowBg: StringConstructor;
}>> & {
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
"onAfter-enter"?: (() => any) | undefined;
"onAfter-leave"?: (() => any) | undefined;
"onBefore-enter"?: (() => any) | undefined;
"onBefore-leave"?: (() => any) | undefined;
onCancel?: ((_e: MouseEvent) => any) | undefined;
onConfirm?: ((_e: MouseEvent) => any) | undefined;
}, {
effect: string;
placement: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').Placement & {}) | (() => import('element-plus').Placement) | ((new (...args: any[]) => import('element-plus').Placement & {}) | (() => import('element-plus').Placement))[], unknown, unknown>;
teleported: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
disabled: boolean;
offset: number;
persistent: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
width: import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
visible: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
trigger: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | ((new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>))[], unknown, unknown> | undefined;
popperOptions: Partial<import('element-plus').Options>;
tabindex: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>;
triggerKeys: string[];
transition: string;
content: string;
enterable: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
showAfter: number;
hideAfter: number;
autoClose: number;
showArrow: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
arrowOffset: number;
virtualTriggering: boolean;
gpuAcceleration: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
confirmButtonType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text", unknown> | undefined;
cancelButtonType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "default" | "primary" | "danger" | "text", unknown> | undefined;
iconColor: string;
hideIcon: boolean;
hideConfirmButton: boolean;
hideCancelButton: boolean;
}, {}>;
export default _default;