@yiitap/vue 1.0.3 → 1.0.5

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yiitap/vue",
3
3
  "description": "A WYSIWYG rich-text block-based editor built on top of tiptap.",
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Yiitap",
@@ -58,8 +58,8 @@
58
58
  "lowlight": "^3.3.0",
59
59
  "tippy.js": "^6.3.7",
60
60
  "uuid": "^10.0.0",
61
- "@yiitap/extension-callout": "1.0.3",
62
- "@yiitap/vue": "1.0.3"
61
+ "@yiitap/extension-callout": "1.0.5",
62
+ "@yiitap/vue": "1.0.5"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "@tiptap/core": "^2.11.5",
@@ -209,10 +209,15 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
209
209
  onTransaction?: (...args: any[]) => any;
210
210
  onUpdate?: (...args: any[]) => any;
211
211
  }>, {
212
- content: string | Record<string, any>;
213
- editable: boolean;
214
212
  locale: string;
215
213
  darkMode: boolean;
214
+ options: Record<string, any>;
215
+ content: string | Record<string, any>;
216
+ extensions: string[];
217
+ editable: boolean;
218
+ editorProps: Record<string, any>;
219
+ bubbleMenu: unknown[];
220
+ floatingMenu: unknown[];
216
221
  showMainMenu: boolean;
217
222
  showBubbleMenu: boolean;
218
223
  showFloatingMenu: boolean;
@@ -221,14 +226,9 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
221
226
  showContent: boolean;
222
227
  showGuide: boolean;
223
228
  scrollable: boolean;
224
- editorProps: Record<string, any>;
225
- extensions: string[];
226
229
  mainMenu: unknown[];
227
230
  tableMenu: unknown[];
228
- bubbleMenu: unknown[];
229
- floatingMenu: unknown[];
230
231
  pageView: string;
231
- options: Record<string, any>;
232
232
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
233
233
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
234
234
  content: {
@@ -403,10 +403,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
403
403
  onTransaction?: (...args: any[]) => any;
404
404
  onUpdate?: (...args: any[]) => any;
405
405
  }>, {
406
- content: string | Record<string, any>;
407
- editable: boolean;
408
406
  locale: string;
409
407
  darkMode: boolean;
408
+ options: Record<string, any>;
409
+ content: string | Record<string, any>;
410
+ extensions: string[];
411
+ editable: boolean;
412
+ editorProps: Record<string, any>;
413
+ bubbleMenu: unknown[];
414
+ floatingMenu: unknown[];
410
415
  showMainMenu: boolean;
411
416
  showBubbleMenu: boolean;
412
417
  showFloatingMenu: boolean;
@@ -415,14 +420,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
415
420
  showContent: boolean;
416
421
  showGuide: boolean;
417
422
  scrollable: boolean;
418
- editorProps: Record<string, any>;
419
- extensions: string[];
420
423
  mainMenu: unknown[];
421
424
  tableMenu: unknown[];
422
- bubbleMenu: unknown[];
423
- floatingMenu: unknown[];
424
425
  pageView: string;
425
- options: Record<string, any>;
426
426
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
427
427
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
428
428
  export default _default;
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
17
17
  default: string;
18
18
  };
19
19
  }>> & Readonly<{}>, {
20
- placeholder: string;
21
20
  icon: string;
21
+ placeholder: string;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
23
  export default _default;
@@ -89,9 +89,9 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
89
89
  onClick?: (...args: any[]) => any;
90
90
  }>, {
91
91
  color: string;
92
- background: string;
93
92
  icon: string;
94
93
  placement: string;
94
+ background: string;
95
95
  tooltip: string;
96
96
  disabled: boolean;
97
97
  contentClass: string | Record<string, any>;
@@ -178,9 +178,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
178
178
  onClick?: (...args: any[]) => any;
179
179
  }>, {
180
180
  color: string;
181
- background: string;
182
181
  icon: string;
183
182
  placement: string;
183
+ background: string;
184
184
  tooltip: string;
185
185
  disabled: boolean;
186
186
  contentClass: string | Record<string, any>;
@@ -89,9 +89,9 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
89
89
  onClick?: (...args: any[]) => any;
90
90
  }>, {
91
91
  color: string;
92
- background: string;
93
92
  icon: string;
94
93
  placement: string;
94
+ background: string;
95
95
  tooltip: string;
96
96
  disabled: boolean;
97
97
  contentClass: string | Record<string, any>;
@@ -178,9 +178,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
178
178
  onClick?: (...args: any[]) => any;
179
179
  }>, {
180
180
  color: string;
181
- background: string;
182
181
  icon: string;
183
182
  placement: string;
183
+ background: string;
184
184
  tooltip: string;
185
185
  disabled: boolean;
186
186
  contentClass: string | Record<string, any>;
@@ -70,9 +70,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
70
  onClick?: (...args: any[]) => any;
71
71
  }>, {
72
72
  color: string;
73
- background: string;
74
73
  icon: string;
75
74
  placement: string;
75
+ background: string;
76
76
  tooltip: string;
77
77
  contentClass: string | Record<string, any>;
78
78
  contentStyle: string | Record<string, any>;
@@ -8,4 +8,4 @@ export default DynamicClass;
8
8
  export declare const getDynamicExtension: (name: string) => DynamicClass;
9
9
  export declare const TableExtensions: import("@tiptap/core").Node<any, any>[];
10
10
  export declare const TableExtensions1: any[];
11
- export declare const TableExtensions0: import("@tiptap/core").Node<import("@tiptap/extension-table-row").TableRowOptions, any>[];
11
+ export declare const TableExtensions0: import("@tiptap/core").Node<import("@tiptap/extension-table-cell").TableCellOptions, any>[];
@@ -91,9 +91,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
91
91
  default: boolean;
92
92
  };
93
93
  }>> & Readonly<{}>, {
94
- small: boolean;
95
94
  name: string;
96
95
  color: string;
96
+ small: boolean;
97
97
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
98
98
  OList: {
99
99
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
@@ -1,36 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- items: {
3
- type: () => Indexable[];
4
- required: true;
5
- default: () => any[];
6
- };
7
- command: {
8
- type: FunctionConstructor;
9
- required: true;
10
- };
11
- editor: {
12
- type: ObjectConstructor;
13
- };
14
- range: {
15
- type: ObjectConstructor;
16
- };
17
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- items: {
19
- type: () => Indexable[];
20
- required: true;
21
- default: () => any[];
22
- };
23
- command: {
24
- type: FunctionConstructor;
25
- required: true;
26
- };
27
- editor: {
28
- type: ObjectConstructor;
29
- };
30
- range: {
31
- type: ObjectConstructor;
32
- };
33
- }>>, {
34
- items: Indexable<any>[];
35
- }, {}>;
36
- export default _default;
@@ -1,2 +0,0 @@
1
- import { UniqueID } from './unique-id';
2
- export { UniqueID as default, UniqueID };
@@ -1,2 +0,0 @@
1
- import { Extension } from '@tiptap/core';
2
- export declare const UniqueID: Extension<any, any>;