@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,10 +1,15 @@
1
1
  import { Editor } from '../tiptap/vue-3';
2
2
  import { CSSProperties, PropType } from 'vue';
3
3
  declare function __VLS_template(): {
4
- content?(_: {}): any;
5
- extra?(_: {}): any;
4
+ slots: {
5
+ content?(_: {}): any;
6
+ extra?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ attrs: Partial<{}>;
6
10
  };
7
- declare const __VLS_component: import('vue').DefineComponent<{
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
13
  editor: {
9
14
  type: PropType<Editor>;
10
15
  required: true;
@@ -19,7 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
19
24
  required: false;
20
25
  default: string;
21
26
  };
22
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
23
28
  editor: {
24
29
  type: PropType<Editor>;
25
30
  required: true;
@@ -34,13 +39,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
34
39
  required: false;
35
40
  default: string;
36
41
  };
37
- }>>, {
42
+ }>> & Readonly<{}>, {
38
43
  locale: "en" | "zh-CN" | "zh" | "en-US";
39
44
  contentStyles: CSSProperties;
40
- }, {}>;
41
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
47
  export default _default;
43
-
44
48
  type __VLS_WithTemplateSlots<T, S> = T & {
45
49
  new (): {
46
50
  $slots: S;
@@ -1,14 +1,14 @@
1
1
  import { Editor } from '../tiptap/vue-3';
2
2
  import { PropType } from 'vue';
3
- declare const _default: import('vue').DefineComponent<{
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  editor: {
5
5
  type: PropType<Editor>;
6
6
  required: true;
7
7
  };
8
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
8
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
9
  editor: {
10
10
  type: PropType<Editor>;
11
11
  required: true;
12
12
  };
13
- }>>, {}, {}>;
13
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
@@ -1,13 +1,13 @@
1
1
  import { Editor } from '../tiptap/vue-3';
2
- declare const _default: import('vue').DefineComponent<{
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
3
  editor: {
4
4
  type: typeof Editor;
5
5
  required: true;
6
6
  };
7
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
8
8
  editor: {
9
9
  type: typeof Editor;
10
10
  required: true;
11
11
  };
12
- }>>, {}, {}>;
12
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
13
  export default _default;
@@ -1,43 +1,25 @@
1
1
  declare function __VLS_template(): {
2
- icon?(_: {}): any;
2
+ slots: {
3
+ icon?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
3
7
  };
4
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import('vue').DefineComponent<{
5
10
  tooltip?: string;
6
11
  selected?: boolean;
7
- }>, {
8
- tooltip: undefined;
9
- selected: boolean;
10
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
12
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
11
13
  tooltip?: string;
12
14
  selected?: boolean;
13
- }>, {
14
- tooltip: undefined;
15
- selected: boolean;
16
- }>>>, {
15
+ }> & Readonly<{}>, {
17
16
  tooltip: string;
18
17
  selected: boolean;
19
- }, {}>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
20
  export default _default;
22
- type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
- default: D[K];
25
- }> : P[K];
26
- };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
21
  type __VLS_WithTemplateSlots<T, S> = T & {
31
22
  new (): {
32
23
  $slots: S;
33
24
  };
34
25
  };
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToOption<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
@@ -1,38 +1,15 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ declare const _default: import('vue').DefineComponent<{
2
2
  tooltip?: string;
3
3
  modelValue?: string;
4
- }>, {
5
- modelValue: string;
6
- tooltip: undefined;
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
- "update:modelValue": (value: string) => void;
9
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
+ "update:modelValue": (value: string) => any;
6
+ }, string, import('vue').PublicProps, Readonly<{
10
7
  tooltip?: string;
11
8
  modelValue?: string;
12
- }>, {
13
- modelValue: string;
14
- tooltip: undefined;
15
- }>>> & {
9
+ }> & Readonly<{
16
10
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
- }, {
11
+ }>, {
18
12
  tooltip: string;
19
13
  modelValue: string;
20
- }, {}>;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
15
  export default _default;
22
- type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
- default: D[K];
25
- }> : P[K];
26
- };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToOption<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
- } : {
35
- type: import('vue').PropType<T[K]>;
36
- required: true;
37
- };
38
- };
@@ -1,2 +1,2 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,46 +1,30 @@
1
1
  import { Editor } from '../../tiptap/vue-3';
2
2
  declare function __VLS_template(): {
3
- content?(_: {}): any;
4
- actions?(_: {}): any;
3
+ slots: {
4
+ content?(_: {}): any;
5
+ actions?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ attrs: Partial<{}>;
5
9
  };
6
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<{
7
12
  selected: boolean;
8
13
  editor: Editor;
9
14
  getPos: () => number;
10
15
  deleteNode: () => void;
11
- }>, {
12
- selected: boolean;
13
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
16
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
14
17
  selected: boolean;
15
18
  editor: Editor;
16
19
  getPos: () => number;
17
20
  deleteNode: () => void;
18
- }>, {
19
- selected: boolean;
20
- }>>>, {
21
+ }> & Readonly<{}>, {
21
22
  selected: boolean;
22
- }, {}>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
25
  export default _default;
25
- type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
- default: D[K];
28
- }> : P[K];
29
- };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
33
26
  type __VLS_WithTemplateSlots<T, S> = T & {
34
27
  new (): {
35
28
  $slots: S;
36
29
  };
37
30
  };
38
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
- type __VLS_TypePropsToOption<T> = {
40
- [K in keyof T]-?: {} extends Pick<T, K> ? {
41
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
- } : {
43
- type: import('vue').PropType<T[K]>;
44
- required: true;
45
- };
46
- };
@@ -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_WithDefaults<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
4
4
  editor: Editor;
5
5
  isActive?: ({ editor }: {
6
6
  editor: Editor;
@@ -14,14 +14,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
14
14
  action?: ({ editor }: {
15
15
  editor: Editor;
16
16
  }) => Component | void;
17
- }>, {
18
- isActive: () => false;
19
- visible: () => true;
20
- title: undefined;
21
- action: undefined;
22
- icon: undefined;
23
- iconStyle: undefined;
24
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
17
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
25
18
  editor: Editor;
26
19
  isActive?: ({ editor }: {
27
20
  editor: Editor;
@@ -35,14 +28,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
35
28
  action?: ({ editor }: {
36
29
  editor: Editor;
37
30
  }) => Component | void;
38
- }>, {
39
- isActive: () => false;
40
- visible: () => true;
41
- title: undefined;
42
- action: undefined;
43
- icon: undefined;
44
- iconStyle: undefined;
45
- }>>>, {
31
+ }> & Readonly<{}>, {
46
32
  title: string;
47
33
  icon: Component;
48
34
  isActive: ({ editor }: {
@@ -55,22 +41,5 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
55
41
  action: ({ editor }: {
56
42
  editor: Editor;
57
43
  }) => Component | void;
58
- }, {}>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
59
45
  export default _default;
60
- type __VLS_WithDefaults<P, D> = {
61
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
62
- default: D[K];
63
- }> : P[K];
64
- };
65
- type __VLS_Prettify<T> = {
66
- [K in keyof T]: T[K];
67
- } & {};
68
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
69
- type __VLS_TypePropsToOption<T> = {
70
- [K in keyof T]-?: {} extends Pick<T, K> ? {
71
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
72
- } : {
73
- type: import('vue').PropType<T[K]>;
74
- required: true;
75
- };
76
- };
@@ -1,9 +1,16 @@
1
1
  import { PropType } from 'vue';
2
2
  import { BubbleMenuPluginProps } from './BubbleMenuPlugin';
3
3
  declare function __VLS_template(): {
4
- default?(_: {}): any;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {
8
+ root: HTMLDivElement;
9
+ };
10
+ attrs: Partial<{}>;
5
11
  };
6
- declare const __VLS_component: import('vue').DefineComponent<{
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
14
  pluginKey: {
8
15
  type: PropType<BubbleMenuPluginProps["pluginKey"]>;
9
16
  default: string;
@@ -28,7 +35,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
28
35
  type: PropType<BubbleMenuPluginProps["defaultAnimation"]>;
29
36
  default: boolean;
30
37
  };
31
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
38
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
32
39
  pluginKey: {
33
40
  type: PropType<BubbleMenuPluginProps["pluginKey"]>;
34
41
  default: string;
@@ -53,7 +60,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
53
60
  type: PropType<BubbleMenuPluginProps["defaultAnimation"]>;
54
61
  default: boolean;
55
62
  };
56
- }>>, {
63
+ }>> & Readonly<{}>, {
57
64
  getRenderContainer: (node: HTMLElement) => HTMLElement;
58
65
  defaultAnimation: boolean | undefined;
59
66
  shouldShow: (props: {
@@ -67,8 +74,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
67
74
  }) => boolean;
68
75
  tippyOptions: Partial<import('./BubbleMenuPlugin').TippyOptionProps> | undefined;
69
76
  pluginKey: string | import('../../tiptap').PluginKey<any>;
70
- }, {}>;
71
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
77
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
78
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
72
79
  export default _default;
73
80
  type __VLS_WithTemplateSlots<T, S> = T & {
74
81
  new (): {
@@ -1,43 +1,27 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
3
- prefix?(_: {}): any;
2
+ slots: {
3
+ default?(_: {}): any;
4
+ prefix?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
4
8
  };
5
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{
6
11
  modelValue?: string;
7
- }>, {
8
- modelValue: undefined;
9
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- "update:modelValue": (value?: string | undefined) => void;
11
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
12
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
+ "update:modelValue": (value?: string | undefined) => any;
14
+ }, string, import('vue').PublicProps, Readonly<{
12
15
  modelValue?: string;
13
- }>, {
14
- modelValue: undefined;
15
- }>>> & {
16
+ }> & Readonly<{
16
17
  "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
17
- }, {
18
+ }>, {
18
19
  modelValue: string;
19
- }, {}>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
22
  export default _default;
22
- type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
- default: D[K];
25
- }> : P[K];
26
- };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
23
  type __VLS_WithTemplateSlots<T, S> = T & {
31
24
  new (): {
32
25
  $slots: S;
33
26
  };
34
27
  };
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToOption<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
@@ -1,2 +1,2 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,56 +1,25 @@
1
1
  import { ToolbarItem } from '../../types';
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
  isActive?: boolean;
5
5
  disabled?: boolean;
6
6
  title?: string;
7
7
  action?: () => void;
8
8
  icon?: Component;
9
9
  children?: ToolbarItem[];
10
- }>, {
11
- isActive: boolean;
12
- disabled: boolean;
13
- title: undefined;
14
- action: undefined;
15
- icon: undefined;
16
- children: 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
  isActive?: boolean;
19
12
  disabled?: boolean;
20
13
  title?: string;
21
14
  action?: () => void;
22
15
  icon?: Component;
23
16
  children?: ToolbarItem[];
24
- }>, {
25
- isActive: boolean;
26
- disabled: boolean;
27
- title: undefined;
28
- action: undefined;
29
- icon: undefined;
30
- children: undefined;
31
- }>>>, {
17
+ }> & Readonly<{}>, {
32
18
  title: string;
33
19
  children: ToolbarItem[];
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,50 +1,21 @@
1
1
  import { Component } from 'vue';
2
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ declare const _default: import('vue').DefineComponent<{
3
3
  isActive?: boolean;
4
4
  disabled?: boolean;
5
5
  title?: string;
6
6
  action?: () => void;
7
7
  icon?: Component;
8
- }>, {
9
- isActive: boolean;
10
- disabled: boolean;
11
- title: undefined;
12
- action: undefined;
13
- icon: undefined;
14
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
15
9
  isActive?: boolean;
16
10
  disabled?: boolean;
17
11
  title?: string;
18
12
  action?: () => void;
19
13
  icon?: Component;
20
- }>, {
21
- isActive: boolean;
22
- disabled: boolean;
23
- title: undefined;
24
- action: undefined;
25
- icon: undefined;
26
- }>>>, {
14
+ }> & Readonly<{}>, {
27
15
  title: string;
28
16
  icon: Component;
29
17
  isActive: boolean;
30
18
  action: () => void;
31
19
  disabled: boolean;
32
- }, {}>;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
21
  export default _default;
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToOption<T> = {
44
- [K in keyof T]-?: {} extends Pick<T, K> ? {
45
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
- } : {
47
- type: import('vue').PropType<T[K]>;
48
- required: true;
49
- };
50
- };
@@ -1,51 +1,22 @@
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
  title?: string;
6
6
  description?: string;
7
7
  action?: () => void;
8
8
  icon?: Component;
9
- }>, {
10
- editor: undefined;
11
- title: undefined;
12
- description: undefined;
13
- action: undefined;
14
- icon: undefined;
15
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
9
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
16
10
  editor?: Editor;
17
11
  title?: string;
18
12
  description?: string;
19
13
  action?: () => void;
20
14
  icon?: Component;
21
- }>, {
22
- editor: undefined;
23
- title: undefined;
24
- description: undefined;
25
- action: undefined;
26
- icon: undefined;
27
- }>>>, {
15
+ }> & Readonly<{}>, {
28
16
  title: string;
29
17
  editor: Editor;
30
18
  icon: Component;
31
19
  action: () => void;
32
20
  description: string;
33
- }, {}>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
22
  export default _default;
35
- type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
- default: D[K];
38
- }> : P[K];
39
- };
40
- type __VLS_Prettify<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToOption<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: import('vue').PropType<T[K]>;
49
- required: true;
50
- };
51
- };
@@ -1,2 +1,2 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -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
- };