vuetify-pro-tiptap
Version:
tiptap text editor on vuejs and vuetify
150 lines (149 loc) • 5.64 kB
TypeScript
import { getIcon } from '../../../../constants/icons';
declare const disableToolbar: boolean;
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
declare var __VLS_18: {};
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
default?: (props: typeof __VLS_18) => any;
}>;
declare const __VLS_self: import('vue').DefineComponent<{
readonly editor: {
readonly type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
readonly required: true;
};
readonly icon: {
readonly type: import('vue').PropType<keyof import('../../../../constants/icons').IconsOptions>;
readonly default: undefined;
};
readonly tooltip: {
readonly type: StringConstructor;
readonly default: "";
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly color: {
readonly type: StringConstructor;
readonly default: undefined;
};
readonly action: {
readonly type: import('vue').PropType<import('../../../..').ButtonViewReturnComponentProps["action"]>;
readonly default: undefined;
};
readonly isActive: {
readonly type: import('vue').PropType<import('../../../..').ButtonViewReturnComponentProps["isActive"]>;
readonly default: undefined;
};
}, {
getIcon: typeof getIcon;
disableToolbar: typeof disableToolbar;
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly editor: {
readonly type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
readonly required: true;
};
readonly icon: {
readonly type: import('vue').PropType<keyof import('../../../../constants/icons').IconsOptions>;
readonly default: undefined;
};
readonly tooltip: {
readonly type: StringConstructor;
readonly default: "";
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly color: {
readonly type: StringConstructor;
readonly default: undefined;
};
readonly action: {
readonly type: import('vue').PropType<import('../../../..').ButtonViewReturnComponentProps["action"]>;
readonly default: undefined;
};
readonly isActive: {
readonly type: import('vue').PropType<import('../../../..').ButtonViewReturnComponentProps["isActive"]>;
readonly default: undefined;
};
}>>, {
readonly color: string;
readonly action: ((value?: unknown) => void) | undefined;
readonly isActive: (() => boolean) | undefined;
readonly icon: keyof import('../../../../constants/icons').IconsOptions;
readonly tooltip: string;
readonly disabled: boolean;
}, {}>;
declare const __VLS_component: import('vue').DefineComponent<{
readonly editor: {
readonly type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
readonly required: true;
};
readonly icon: {
readonly type: import('vue').PropType<keyof import('../../../../constants/icons').IconsOptions>;
readonly default: undefined;
};
readonly tooltip: {
readonly type: StringConstructor;
readonly default: "";
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly color: {
readonly type: StringConstructor;
readonly default: undefined;
};
readonly action: {
readonly type: import('vue').PropType<import('../../../..').ButtonViewReturnComponentProps["action"]>;
readonly default: undefined;
};
readonly isActive: {
readonly type: import('vue').PropType<import('../../../..').ButtonViewReturnComponentProps["isActive"]>;
readonly default: undefined;
};
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly editor: {
readonly type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
readonly required: true;
};
readonly icon: {
readonly type: import('vue').PropType<keyof import('../../../../constants/icons').IconsOptions>;
readonly default: undefined;
};
readonly tooltip: {
readonly type: StringConstructor;
readonly default: "";
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly color: {
readonly type: StringConstructor;
readonly default: undefined;
};
readonly action: {
readonly type: import('vue').PropType<import('../../../..').ButtonViewReturnComponentProps["action"]>;
readonly default: undefined;
};
readonly isActive: {
readonly type: import('vue').PropType<import('../../../..').ButtonViewReturnComponentProps["isActive"]>;
readonly default: undefined;
};
}>>, {
readonly color: string;
readonly action: ((value?: unknown) => void) | undefined;
readonly isActive: (() => boolean) | undefined;
readonly icon: keyof import('../../../../constants/icons').IconsOptions;
readonly tooltip: string;
readonly disabled: boolean;
}, {}>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};