UNPKG

code-monkey-ui

Version:

A Component Library for Vue 3

45 lines (44 loc) 6.48 kB
declare const _default: import("vue").DefineComponent<{ readonly title: StringConstructor; readonly confirmButtonText: StringConstructor; readonly cancelButtonText: StringConstructor; readonly confirmButtonType: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "primary", boolean>; readonly cancelButtonType: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "text", boolean>; readonly icon: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>; readonly iconColor: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>; readonly hideIcon: import("code-monkey-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>; readonly hideAfter: import("code-monkey-ui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>; readonly teleported: import("code-monkey-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; readonly persistent: BooleanConstructor; readonly width: import("code-monkey-ui/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>; }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { confirm: (e: MouseEvent) => boolean; cancel: (e: MouseEvent) => boolean; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ readonly title: StringConstructor; readonly confirmButtonText: StringConstructor; readonly cancelButtonText: StringConstructor; readonly confirmButtonType: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "primary", boolean>; readonly cancelButtonType: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "text", boolean>; readonly icon: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>; readonly iconColor: import("code-monkey-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>; readonly hideIcon: import("code-monkey-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>; readonly hideAfter: import("code-monkey-ui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>; readonly teleported: import("code-monkey-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; readonly persistent: BooleanConstructor; readonly width: import("code-monkey-ui/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>; }>> & { onCancel?: ((e: MouseEvent) => any) | undefined; onConfirm?: ((e: MouseEvent) => any) | undefined; }, { readonly width: import("code-monkey-ui/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>; readonly icon: import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>; readonly hideAfter: number; readonly teleported: import("code-monkey-ui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>; readonly persistent: boolean; readonly confirmButtonType: import("code-monkey-ui/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>; readonly cancelButtonType: import("code-monkey-ui/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>; readonly iconColor: string; readonly hideIcon: import("code-monkey-ui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>; }>; export default _default;