UNPKG

@seemusic/ui-components

Version:

A Vue 3 UI Library. Uses Composable.

85 lines (84 loc) 2.26 kB
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue'; export interface OnOKEvent { close: () => void; setLoading: (status: boolean) => void; } export interface DialogOrDrawerHeaderSlots { close: () => void; titleId: string; titleClass: string; } declare const _default: DefineComponent<{ visible: { type: BooleanConstructor; required: true; }; width: { type: StringConstructor; default: string; }; isShowFooter: { type: BooleanConstructor; default: boolean; }; isShowDefaultFooter: { type: BooleanConstructor; default: boolean; }; isShowConfirmBtn: { type: BooleanConstructor; default: boolean; }; isShowCancelBtn: { type: BooleanConstructor; default: boolean; }; confirmBtnText: { type: StringConstructor; }; cancelBtnText: { type: StringConstructor; }; }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "on-ok" | "on-close")[], "update:visible" | "on-ok" | "on-close", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ visible: { type: BooleanConstructor; required: true; }; width: { type: StringConstructor; default: string; }; isShowFooter: { type: BooleanConstructor; default: boolean; }; isShowDefaultFooter: { type: BooleanConstructor; default: boolean; }; isShowConfirmBtn: { type: BooleanConstructor; default: boolean; }; isShowCancelBtn: { type: BooleanConstructor; default: boolean; }; confirmBtnText: { type: StringConstructor; }; cancelBtnText: { type: StringConstructor; }; }>> & { "onUpdate:visible"?: (...args: any[]) => any; "onOn-ok"?: (...args: any[]) => any; "onOn-close"?: (...args: any[]) => any; }, { width: string; isShowFooter: boolean; isShowDefaultFooter: boolean; isShowConfirmBtn: boolean; isShowCancelBtn: boolean; }, {}>; export default _default;