@halo-dev/richtext-editor 2.19.0 → 2.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/components/Editor.vue.d.ts +12 -8
  2. package/dist/components/EditorBubbleMenu.vue.d.ts +3 -3
  3. package/dist/components/EditorHeader.vue.d.ts +3 -3
  4. package/dist/components/block/BlockActionButton.vue.d.ts +11 -29
  5. package/dist/components/block/BlockActionInput.vue.d.ts +7 -30
  6. package/dist/components/block/BlockActionSeparator.vue.d.ts +1 -1
  7. package/dist/components/block/BlockCard.vue.d.ts +12 -28
  8. package/dist/components/bubble/BubbleItem.vue.d.ts +4 -35
  9. package/dist/components/bubble/BubbleMenu.vue.d.ts +13 -6
  10. package/dist/components/common/ColorPickerDropdown.vue.d.ts +15 -31
  11. package/dist/components/icon/MdiDeleteForeverOutline.vue.d.ts +1 -1
  12. package/dist/components/toolbar/ToolbarItem.vue.d.ts +4 -35
  13. package/dist/components/toolbar/ToolbarSubItem.vue.d.ts +4 -33
  14. package/dist/components/toolbox/ToolboxItem.vue.d.ts +4 -33
  15. package/dist/dev/App.vue.d.ts +1 -1
  16. package/dist/extensions/audio/AudioView.vue.d.ts +2 -30
  17. package/dist/extensions/audio/BubbleItemAudioLink.vue.d.ts +3 -12
  18. package/dist/extensions/blockquote/index.d.ts +1 -1
  19. package/dist/extensions/bold/index.d.ts +1 -1
  20. package/dist/extensions/bullet-list/index.d.ts +1 -1
  21. package/dist/extensions/code/index.d.ts +1 -1
  22. package/dist/extensions/code-block/CodeBlockSelect.vue.d.ts +11 -16
  23. package/dist/extensions/code-block/CodeBlockViewRenderer.vue.d.ts +1 -10
  24. package/dist/extensions/code-block/code-block.d.ts +1 -1
  25. package/dist/extensions/color/ColorBubbleItem.vue.d.ts +3 -12
  26. package/dist/extensions/color/ColorToolbarItem.vue.d.ts +4 -35
  27. package/dist/extensions/color/index.d.ts +1 -1
  28. package/dist/extensions/commands-menu/CommandsView.vue.d.ts +4 -4
  29. package/dist/extensions/heading/index.d.ts +1 -1
  30. package/dist/extensions/highlight/HighlightBubbleItem.vue.d.ts +3 -12
  31. package/dist/extensions/highlight/HighlightToolbarItem.vue.d.ts +4 -35
  32. package/dist/extensions/highlight/index.d.ts +1 -1
  33. package/dist/extensions/history/index.d.ts +1 -1
  34. package/dist/extensions/iframe/BubbleItemIframeLink.vue.d.ts +3 -12
  35. package/dist/extensions/iframe/BubbleItemIframeSize.vue.d.ts +3 -12
  36. package/dist/extensions/iframe/IframeView.vue.d.ts +2 -30
  37. package/dist/extensions/image/BubbleItemImageAlt.vue.d.ts +3 -12
  38. package/dist/extensions/image/BubbleItemImageHref.vue.d.ts +3 -12
  39. package/dist/extensions/image/BubbleItemImageLink.vue.d.ts +3 -12
  40. package/dist/extensions/image/BubbleItemImageSize.vue.d.ts +3 -12
  41. package/dist/extensions/image/ImageView.vue.d.ts +2 -30
  42. package/dist/extensions/image/index.d.ts +1 -1
  43. package/dist/extensions/italic/index.d.ts +1 -1
  44. package/dist/extensions/link/LinkBubbleButton.vue.d.ts +3 -12
  45. package/dist/extensions/ordered-list/index.d.ts +1 -1
  46. package/dist/extensions/paragraph/index.d.ts +1 -1
  47. package/dist/extensions/search-and-replace/SearchAndReplace.vue.d.ts +4 -4
  48. package/dist/extensions/strike/index.d.ts +1 -1
  49. package/dist/extensions/subscript/index.d.ts +1 -1
  50. package/dist/extensions/superscript/index.d.ts +1 -1
  51. package/dist/extensions/table/index.d.ts +1 -1
  52. package/dist/extensions/task-list/index.d.ts +1 -1
  53. package/dist/extensions/text/index.d.ts +1 -1
  54. package/dist/extensions/text-align/index.d.ts +1 -1
  55. package/dist/extensions/underline/index.d.ts +1 -1
  56. package/dist/extensions/video/BubbleItemVideoLink.vue.d.ts +3 -12
  57. package/dist/extensions/video/BubbleItemVideoSize.vue.d.ts +3 -12
  58. package/dist/extensions/video/VideoView.vue.d.ts +2 -30
  59. package/dist/rich-text-editor.es.js +9801 -9748
  60. package/dist/rich-text-editor.iife.js +35 -35
  61. package/dist/style.css +1 -1
  62. package/package.json +39 -39
@@ -1,6 +1,6 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor: Editor;
5
5
  isActive: ({ editor }: {
6
6
  editor: Editor;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
13
13
  action?: ({ editor }: {
14
14
  editor: Editor;
15
15
  }) => void;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
17
17
  editor: Editor;
18
18
  isActive: ({ editor }: {
19
19
  editor: Editor;
@@ -26,14 +26,5 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
26
26
  action?: ({ editor }: {
27
27
  editor: Editor;
28
28
  }) => void;
29
- }>>>, {}, {}>;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { BlockquoteOptions } from '@tiptap/extension-blockquote';
3
- declare const Blockquote: import('../../tiptap/vue-3').Node<ExtensionOptions & BlockquoteOptions, any>;
3
+ declare const Blockquote: import('@tiptap/core').Node<ExtensionOptions & BlockquoteOptions, any>;
4
4
  export default Blockquote;
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { BoldOptions } from '@tiptap/extension-bold';
3
- declare const Bold: import('../../tiptap/vue-3').Mark<ExtensionOptions & BoldOptions, any>;
3
+ declare const Bold: import('@tiptap/core').Mark<ExtensionOptions & BoldOptions, any>;
4
4
  export default Bold;
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { BulletListOptions } from '@tiptap/extension-bullet-list';
3
- declare const BulletList: import('../../tiptap/vue-3').Node<ExtensionOptions & BulletListOptions, any>;
3
+ declare const BulletList: import('@tiptap/core').Node<ExtensionOptions & BulletListOptions, any>;
4
4
  export default BulletList;
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { CodeOptions } from '@tiptap/extension-code';
3
- declare const Code: import('../../tiptap/vue-3').Mark<ExtensionOptions & CodeOptions, any>;
3
+ declare const Code: import('@tiptap/core').Mark<ExtensionOptions & CodeOptions, any>;
4
4
  export default Code;
@@ -8,23 +8,18 @@ declare let __VLS_typeProps: {
8
8
  options: Option[];
9
9
  filterSort?: (options: Option[], query: string) => number;
10
10
  };
11
+ declare const __VLS_defaults: {
12
+ modelValue: string;
13
+ };
11
14
  type __VLS_PublicProps = {
12
- modelValue?: any;
15
+ modelValue?: typeof __VLS_defaults['modelValue'];
13
16
  } & typeof __VLS_typeProps;
14
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- "update:modelValue": (modelValue: any) => void;
16
- select: () => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
17
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ "update:modelValue": (modelValue: string) => any;
19
+ } & {
20
+ select: () => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
22
  onSelect?: (() => any) | undefined;
19
- "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
20
- }, {}, {}>;
23
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
25
  export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToOption<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
@@ -1,12 +1,3 @@
1
1
  import { NodeViewProps } from '../../tiptap/vue-3';
2
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<NodeViewProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<NodeViewProps>>>, {}, {}>;
2
+ declare const _default: import('vue').DefineComponent<NodeViewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NodeViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
3
  export default _default;
4
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
- type __VLS_TypePropsToOption<T> = {
6
- [K in keyof T]-?: {} extends Pick<T, K> ? {
7
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
8
- } : {
9
- type: import('vue').PropType<T[K]>;
10
- required: true;
11
- };
12
- };
@@ -62,5 +62,5 @@ export interface ExtensionCodeBlockOptions extends CodeBlockOptions {
62
62
  value: string;
63
63
  }>);
64
64
  }
65
- declare const _default: import('../../tiptap/vue-3').Node<ExtensionCodeBlockOptions, any>;
65
+ declare const _default: import('@tiptap/core').Node<ExtensionCodeBlockOptions, any>;
66
66
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor: Editor;
5
5
  isActive: ({ editor }: {
6
6
  editor: Editor;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
13
13
  action?: ({ editor }: {
14
14
  editor: Editor;
15
15
  }) => void;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
17
17
  editor: Editor;
18
18
  isActive: ({ editor }: {
19
19
  editor: Editor;
@@ -26,14 +26,5 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
26
26
  action?: ({ editor }: {
27
27
  editor: Editor;
28
28
  }) => void;
29
- }>>>, {}, {}>;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,56 +1,25 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor?: Editor;
5
5
  isActive?: boolean;
6
6
  disabled?: boolean;
7
7
  title?: string;
8
8
  action?: () => void;
9
9
  icon?: Component;
10
- }>, {
11
- editor: undefined;
12
- isActive: boolean;
13
- disabled: boolean;
14
- title: undefined;
15
- action: undefined;
16
- icon: undefined;
17
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
10
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
18
11
  editor?: Editor;
19
12
  isActive?: boolean;
20
13
  disabled?: boolean;
21
14
  title?: string;
22
15
  action?: () => void;
23
16
  icon?: Component;
24
- }>, {
25
- editor: undefined;
26
- isActive: boolean;
27
- disabled: boolean;
28
- title: undefined;
29
- action: undefined;
30
- icon: undefined;
31
- }>>>, {
17
+ }> & Readonly<{}>, {
32
18
  title: string;
33
19
  editor: Editor;
34
20
  icon: Component;
35
21
  isActive: boolean;
36
22
  action: () => void;
37
23
  disabled: boolean;
38
- }, {}>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
25
  export default _default;
40
- type __VLS_WithDefaults<P, D> = {
41
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
- default: D[K];
43
- }> : P[K];
44
- };
45
- type __VLS_Prettify<T> = {
46
- [K in keyof T]: T[K];
47
- } & {};
48
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
- type __VLS_TypePropsToOption<T> = {
50
- [K in keyof T]-?: {} extends Pick<T, K> ? {
51
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
- } : {
53
- type: import('vue').PropType<T[K]>;
54
- required: true;
55
- };
56
- };
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { ColorOptions } from '@tiptap/extension-color';
3
- declare const Color: import('../../tiptap/vue-3').Extension<ColorOptions & ExtensionOptions, any>;
3
+ declare const Color: import('@tiptap/core').Extension<ColorOptions & ExtensionOptions, any>;
4
4
  export default Color;
@@ -3,7 +3,7 @@ import { PropType } from 'vue';
3
3
  declare function onKeyDown({ event }: {
4
4
  event: KeyboardEvent;
5
5
  }): boolean;
6
- declare const _default: import('vue').DefineComponent<{
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
7
  items: {
8
8
  type: PropType<CommandMenuItem[]>;
9
9
  required: true;
@@ -12,9 +12,9 @@ declare const _default: import('vue').DefineComponent<{
12
12
  type: PropType<(item: CommandMenuItem) => void>;
13
13
  required: true;
14
14
  };
15
- }, {
15
+ }>, {
16
16
  onKeyDown: typeof onKeyDown;
17
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
18
  items: {
19
19
  type: PropType<CommandMenuItem[]>;
20
20
  required: true;
@@ -23,5 +23,5 @@ declare const _default: import('vue').DefineComponent<{
23
23
  type: PropType<(item: CommandMenuItem) => void>;
24
24
  required: true;
25
25
  };
26
- }>>, {}, {}>;
26
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
27
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { HeadingOptions } from '@tiptap/extension-heading';
3
- declare const Blockquote: import('../../tiptap').Node<ExtensionOptions & HeadingOptions, any>;
3
+ declare const Blockquote: import('@tiptap/core').Node<ExtensionOptions & HeadingOptions, any>;
4
4
  export default Blockquote;
@@ -1,6 +1,6 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor: Editor;
5
5
  isActive: ({ editor }: {
6
6
  editor: Editor;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
13
13
  action?: ({ editor }: {
14
14
  editor: Editor;
15
15
  }) => void;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
17
17
  editor: Editor;
18
18
  isActive: ({ editor }: {
19
19
  editor: Editor;
@@ -26,14 +26,5 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
26
26
  action?: ({ editor }: {
27
27
  editor: Editor;
28
28
  }) => void;
29
- }>>>, {}, {}>;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,56 +1,25 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor?: Editor;
5
5
  isActive?: boolean;
6
6
  disabled?: boolean;
7
7
  title?: string;
8
8
  action?: () => void;
9
9
  icon?: Component;
10
- }>, {
11
- editor: undefined;
12
- isActive: boolean;
13
- disabled: boolean;
14
- title: undefined;
15
- action: undefined;
16
- icon: undefined;
17
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
10
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
18
11
  editor?: Editor;
19
12
  isActive?: boolean;
20
13
  disabled?: boolean;
21
14
  title?: string;
22
15
  action?: () => void;
23
16
  icon?: Component;
24
- }>, {
25
- editor: undefined;
26
- isActive: boolean;
27
- disabled: boolean;
28
- title: undefined;
29
- action: undefined;
30
- icon: undefined;
31
- }>>>, {
17
+ }> & Readonly<{}>, {
32
18
  title: string;
33
19
  editor: Editor;
34
20
  icon: Component;
35
21
  isActive: boolean;
36
22
  action: () => void;
37
23
  disabled: boolean;
38
- }, {}>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
25
  export default _default;
40
- type __VLS_WithDefaults<P, D> = {
41
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
- default: D[K];
43
- }> : P[K];
44
- };
45
- type __VLS_Prettify<T> = {
46
- [K in keyof T]: T[K];
47
- } & {};
48
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
- type __VLS_TypePropsToOption<T> = {
50
- [K in keyof T]-?: {} extends Pick<T, K> ? {
51
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
- } : {
53
- type: import('vue').PropType<T[K]>;
54
- required: true;
55
- };
56
- };
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { HighlightOptions } from '@tiptap/extension-highlight';
3
- declare const Highlight: import('../../tiptap/vue-3').Mark<ExtensionOptions & HighlightOptions, any>;
3
+ declare const Highlight: import('@tiptap/core').Mark<ExtensionOptions & HighlightOptions, any>;
4
4
  export default Highlight;
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { HistoryOptions } from '@tiptap/extension-history';
3
- declare const History: import('../../tiptap/vue-3').Extension<ExtensionOptions & HistoryOptions, any>;
3
+ declare const History: import('@tiptap/core').Extension<ExtensionOptions & HistoryOptions, any>;
4
4
  export default History;
@@ -1,6 +1,6 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor: Editor;
5
5
  isActive: ({ editor }: {
6
6
  editor: Editor;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
13
13
  action?: ({ editor }: {
14
14
  editor: Editor;
15
15
  }) => void;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
17
17
  editor: Editor;
18
18
  isActive: ({ editor }: {
19
19
  editor: Editor;
@@ -26,14 +26,5 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
26
26
  action?: ({ editor }: {
27
27
  editor: Editor;
28
28
  }) => void;
29
- }>>>, {}, {}>;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,16 +1,7 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
+ declare const _default: import('vue').DefineComponent<{
3
3
  editor: Editor;
4
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
5
5
  editor: Editor;
6
- }>>>, {}, {}>;
6
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
7
  export default _default;
8
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToOption<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
14
- required: true;
15
- };
16
- };
@@ -1,31 +1,3 @@
1
- import { Decoration, Node as ProseMirrorNode } from '../../tiptap/pm';
2
- import { Editor, Node } from '../../tiptap/vue-3';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
4
- editor: Editor;
5
- node: ProseMirrorNode;
6
- decorations: Decoration[];
7
- selected: boolean;
8
- extension: Node<any, any>;
9
- getPos: () => number;
10
- updateAttributes: (attributes: Record<string, any>) => void;
11
- deleteNode: () => void;
12
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
13
- editor: Editor;
14
- node: ProseMirrorNode;
15
- decorations: Decoration[];
16
- selected: boolean;
17
- extension: Node<any, any>;
18
- getPos: () => number;
19
- updateAttributes: (attributes: Record<string, any>) => void;
20
- deleteNode: () => void;
21
- }>>>, {}, {}>;
1
+ import { NodeViewProps } from '../../tiptap/vue-3';
2
+ declare const _default: import('vue').DefineComponent<NodeViewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NodeViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
3
  export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToOption<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
@@ -1,6 +1,6 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor: Editor;
5
5
  isActive: ({ editor }: {
6
6
  editor: Editor;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
13
13
  action?: ({ editor }: {
14
14
  editor: Editor;
15
15
  }) => void;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
17
17
  editor: Editor;
18
18
  isActive: ({ editor }: {
19
19
  editor: Editor;
@@ -26,14 +26,5 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
26
26
  action?: ({ editor }: {
27
27
  editor: Editor;
28
28
  }) => void;
29
- }>>>, {}, {}>;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,6 +1,6 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor: Editor;
5
5
  isActive: ({ editor }: {
6
6
  editor: Editor;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
13
13
  action?: ({ editor }: {
14
14
  editor: Editor;
15
15
  }) => void;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
17
17
  editor: Editor;
18
18
  isActive: ({ editor }: {
19
19
  editor: Editor;
@@ -26,14 +26,5 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
26
26
  action?: ({ editor }: {
27
27
  editor: Editor;
28
28
  }) => void;
29
- }>>>, {}, {}>;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,6 +1,6 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor: Editor;
5
5
  isActive: ({ editor }: {
6
6
  editor: Editor;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
13
13
  action?: ({ editor }: {
14
14
  editor: Editor;
15
15
  }) => void;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
17
17
  editor: Editor;
18
18
  isActive: ({ editor }: {
19
19
  editor: Editor;
@@ -26,14 +26,5 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
26
26
  action?: ({ editor }: {
27
27
  editor: Editor;
28
28
  }) => void;
29
- }>>>, {}, {}>;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,6 +1,6 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  import { Component } from 'vue';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor: Editor;
5
5
  isActive?: ({ editor }: {
6
6
  editor: Editor;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
13
13
  action?: ({ editor }: {
14
14
  editor: Editor;
15
15
  }) => void;
16
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
17
17
  editor: Editor;
18
18
  isActive?: ({ editor }: {
19
19
  editor: Editor;
@@ -26,14 +26,5 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
26
26
  action?: ({ editor }: {
27
27
  editor: Editor;
28
28
  }) => void;
29
- }>>>, {}, {}>;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,31 +1,3 @@
1
- import { Decoration, Node as ProseMirrorNode } from '../../tiptap/pm';
2
- import { Editor, Node } from '../../tiptap/vue-3';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
4
- editor: Editor;
5
- node: ProseMirrorNode;
6
- decorations: Decoration[];
7
- selected: boolean;
8
- extension: Node<any, any>;
9
- getPos: () => number;
10
- updateAttributes: (attributes: Record<string, any>) => void;
11
- deleteNode: () => void;
12
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
13
- editor: Editor;
14
- node: ProseMirrorNode;
15
- decorations: Decoration[];
16
- selected: boolean;
17
- extension: Node<any, any>;
18
- getPos: () => number;
19
- updateAttributes: (attributes: Record<string, any>) => void;
20
- deleteNode: () => void;
21
- }>>>, {}, {}>;
1
+ import { NodeViewProps } from '../../tiptap/vue-3';
2
+ declare const _default: import('vue').DefineComponent<NodeViewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NodeViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
3
  export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToOption<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { ImageOptions } from '@tiptap/extension-image';
3
- declare const Image: import('../../tiptap/vue-3').Node<ExtensionOptions & ImageOptions, any>;
3
+ declare const Image: import('@tiptap/core').Node<ExtensionOptions & ImageOptions, any>;
4
4
  export default Image;
@@ -1,4 +1,4 @@
1
1
  import { ExtensionOptions } from '../../types';
2
2
  import { ItalicOptions } from '@tiptap/extension-italic';
3
- declare const Italic: import('../../tiptap/vue-3').Mark<ExtensionOptions & ItalicOptions, any>;
3
+ declare const Italic: import('@tiptap/core').Mark<ExtensionOptions & ItalicOptions, any>;
4
4
  export default Italic;