UNPKG

an-quasar-utils

Version:

`npm i an-quasar-utils` or `yarn add an-quasar-utils`

113 lines (112 loc) 3.1 kB
import { QBtnProps, QCard } from 'quasar'; declare function __VLS_template(): { slots: { "close-icon-btn"?(_: { color: import("quasar").NamedColor | undefined; disable: boolean; }): any; content?(_: {}): any; "cancel-btn"?(_: { color: import("quasar").NamedColor | undefined; disable: boolean; label: string; }): any; "ok-btn"?(_: { color: import("quasar").NamedColor | undefined; label: string; disable: boolean; loading: boolean; }): any; }; refs: {}; attrs: Partial<{}>; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ isLoading: { type: BooleanConstructor; default: boolean; }; formIsLoading: { type: BooleanConstructor; default: boolean; }; okLabel: { type: StringConstructor; default: string; }; cancelLabel: { type: StringConstructor; default: string; }; title: { type: StringConstructor; default: string; }; btnsColor: { type: () => QBtnProps["color"]; default: QBtnProps["color"]; }; modalCardProps: { type: () => ({ class?: string; style?: string; } & InstanceType<typeof QCard>["$props"]); required: false; }; }>, { show: () => void; hide: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { hide: () => any; submit: (evt: Event | SubmitEvent) => any; }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ isLoading: { type: BooleanConstructor; default: boolean; }; formIsLoading: { type: BooleanConstructor; default: boolean; }; okLabel: { type: StringConstructor; default: string; }; cancelLabel: { type: StringConstructor; default: string; }; title: { type: StringConstructor; default: string; }; btnsColor: { type: () => QBtnProps["color"]; default: QBtnProps["color"]; }; modalCardProps: { type: () => ({ class?: string; style?: string; } & InstanceType<typeof QCard>["$props"]); required: false; }; }>> & Readonly<{ onHide?: (() => any) | undefined; onSubmit?: ((evt: Event | SubmitEvent) => any) | undefined; }>, { okLabel: string; cancelLabel: string; title: string; btnsColor: import("quasar").NamedColor | undefined; isLoading: boolean; formIsLoading: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };