This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { mergeAttributes, Node } from '@tiptap/core'; | |
import { TextSelection } from 'prosemirror-state'; | |
export interface PageBreakRuleOptions { | |
HTMLAttributes: Record<string, any>; | |
} | |
declare module '@tiptap/core' { | |
interface Commands<ReturnType> { | |
pageBreak: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO debounce/throttle support | |
import { computed, ComputedRef, Ref, ref, watch } from '@vue/composition-api'; | |
export function useAsyncComputed<R> (load: () => Promise<R>): { | |
error: ComputedRef<unknown>; | |
loading: ComputedRef<boolean>; | |
value: ComputedRef<R | undefined>; | |
forceRefresh: () => void; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import { PropValidator } from 'vue/types/options' | |
Vue.component('v-app', { | |
props: { | |
dark: Boolean, | |
id: String, | |
light: Boolean | |
} | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
// noinspection JSUnresolvedFunction | |
Vue.component('v-app', { | |
props: { | |
dark: Boolean, | |
id: String, | |
light: Boolean | |
} | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div :style="containerStyle" class="vertical-tabs" :class="{'vertical-tabs--vertical-text': verticalText, 'vertical-tabs--horizontal-text': !verticalText}"> | |
<v-tabs :value="value" @input="$emit('input', $event)" :show-arrows="verticalText" :color="color" :slider-color="sliderColor" :style="tabsStyle"> | |
<v-tab v-for="item in items" :key="item">{{ item }}</v-tab> | |
</v-tabs> | |
</div> | |
</template> | |
<script> | |
export default { |