@yiitap/vue 1.2.2 → 1.2.4
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/dist/index.cjs +43 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +43 -43
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11838 -11716
- package/dist/index.mjs.map +1 -1
- package/dist/vue.css +1 -1
- package/package.json +19 -18
- package/types/components/YiiEditor.vue.d.ts +316 -128
- package/types/components/common/OBlockPopover.vue.d.ts +28 -4
- package/types/components/common/OBlockToolbar.vue.d.ts +28 -4
- package/types/components/common/OCommandBtn.vue.d.ts +2 -2
- package/types/components/common/OCommonBtn.vue.d.ts +2 -2
- package/types/components/common/OContextMenu.vue.d.ts +28 -4
- package/types/components/common/ODocToc.vue.d.ts +38 -5
- package/types/components/common/OMenubarBtn.vue.d.ts +1 -1
- package/types/components/ui/OIcon.vue.d.ts +19 -1
- package/types/components/ui/OPopover.vue.d.ts +38 -0
- package/types/constants/index.d.ts +2 -0
- package/types/extensions/char-command/emoji/suggestion.d.ts +1 -1
- package/types/extensions/char-command/slash/view.vue.d.ts +1 -1
- package/types/i18n/messages/en.d.ts +3 -0
- package/types/i18n/messages/zh-hans.d.ts +3 -0
- package/types/index.d.ts +4 -2
- package/types/constants/emoji.d.ts +0 -8
|
@@ -25,6 +25,11 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
25
25
|
type: PropType<[number, number]>;
|
|
26
26
|
default: () => [number, number];
|
|
27
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* Placement
|
|
30
|
+
*
|
|
31
|
+
* @see https://atomiks.github.io/tippyjs/#placements
|
|
32
|
+
*/
|
|
28
33
|
placement: {
|
|
29
34
|
type: StringConstructor;
|
|
30
35
|
default: string;
|
|
@@ -37,6 +42,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
37
42
|
type: StringConstructor;
|
|
38
43
|
default: string;
|
|
39
44
|
};
|
|
45
|
+
contentClass: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
40
49
|
event: {
|
|
41
50
|
type: ObjectConstructor;
|
|
42
51
|
default: () => {};
|
|
@@ -67,6 +76,11 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
67
76
|
type: PropType<[number, number]>;
|
|
68
77
|
default: () => [number, number];
|
|
69
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
* Placement
|
|
81
|
+
*
|
|
82
|
+
* @see https://atomiks.github.io/tippyjs/#placements
|
|
83
|
+
*/
|
|
70
84
|
placement: {
|
|
71
85
|
type: StringConstructor;
|
|
72
86
|
default: string;
|
|
@@ -79,6 +93,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
79
93
|
type: StringConstructor;
|
|
80
94
|
default: string;
|
|
81
95
|
};
|
|
96
|
+
contentClass: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
82
100
|
event: {
|
|
83
101
|
type: ObjectConstructor;
|
|
84
102
|
default: () => {};
|
|
@@ -100,6 +118,7 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
100
118
|
placement: string;
|
|
101
119
|
trigger: string;
|
|
102
120
|
tippyClass: string;
|
|
121
|
+
contentClass: string;
|
|
103
122
|
event: Record<string, any>;
|
|
104
123
|
delay: number;
|
|
105
124
|
duration: number;
|
|
@@ -117,6 +136,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
117
136
|
type: PropType<[number, number]>;
|
|
118
137
|
default: () => [number, number];
|
|
119
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* Placement
|
|
141
|
+
*
|
|
142
|
+
* @see https://atomiks.github.io/tippyjs/#placements
|
|
143
|
+
*/
|
|
120
144
|
placement: {
|
|
121
145
|
type: StringConstructor;
|
|
122
146
|
default: string;
|
|
@@ -129,6 +153,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
129
153
|
type: StringConstructor;
|
|
130
154
|
default: string;
|
|
131
155
|
};
|
|
156
|
+
contentClass: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
132
160
|
event: {
|
|
133
161
|
type: ObjectConstructor;
|
|
134
162
|
default: () => {};
|
|
@@ -158,6 +186,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
158
186
|
type: PropType<[number, number]>;
|
|
159
187
|
default: () => [number, number];
|
|
160
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* Placement
|
|
191
|
+
*
|
|
192
|
+
* @see https://atomiks.github.io/tippyjs/#placements
|
|
193
|
+
*/
|
|
161
194
|
placement: {
|
|
162
195
|
type: StringConstructor;
|
|
163
196
|
default: string;
|
|
@@ -170,6 +203,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
170
203
|
type: StringConstructor;
|
|
171
204
|
default: string;
|
|
172
205
|
};
|
|
206
|
+
contentClass: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
default: string;
|
|
209
|
+
};
|
|
173
210
|
event: {
|
|
174
211
|
type: ObjectConstructor;
|
|
175
212
|
default: () => {};
|
|
@@ -191,6 +228,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
191
228
|
placement: string;
|
|
192
229
|
trigger: string;
|
|
193
230
|
tippyClass: string;
|
|
231
|
+
contentClass: string;
|
|
194
232
|
event: Record<string, any>;
|
|
195
233
|
delay: number;
|
|
196
234
|
duration: number;
|
|
@@ -92,8 +92,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
92
92
|
};
|
|
93
93
|
}>> & Readonly<{}>, {
|
|
94
94
|
name: string;
|
|
95
|
-
color: string;
|
|
96
95
|
small: boolean;
|
|
96
|
+
color: string;
|
|
97
97
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
98
98
|
OList: {
|
|
99
99
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -124,10 +124,13 @@ declare const _default: {
|
|
|
124
124
|
insert: string;
|
|
125
125
|
remove: string;
|
|
126
126
|
addColumn: string;
|
|
127
|
+
selectColumn: string;
|
|
127
128
|
removeColumn: string;
|
|
128
129
|
addRow: string;
|
|
130
|
+
selectRow: string;
|
|
129
131
|
removeRow: string;
|
|
130
132
|
merge: string;
|
|
133
|
+
split: string;
|
|
131
134
|
};
|
|
132
135
|
image: {
|
|
133
136
|
preferences: string;
|
|
@@ -124,10 +124,13 @@ declare const _default: {
|
|
|
124
124
|
insert: string;
|
|
125
125
|
remove: string;
|
|
126
126
|
addColumn: string;
|
|
127
|
+
selectColumn: string;
|
|
127
128
|
removeColumn: string;
|
|
128
129
|
addRow: string;
|
|
130
|
+
selectRow: string;
|
|
129
131
|
removeRow: string;
|
|
130
132
|
merge: string;
|
|
133
|
+
split: string;
|
|
131
134
|
};
|
|
132
135
|
image: {
|
|
133
136
|
preferences: string;
|
package/types/index.d.ts
CHANGED
|
@@ -6,5 +6,7 @@ declare const YiiEditorPlugin: {
|
|
|
6
6
|
install(app: App): void;
|
|
7
7
|
};
|
|
8
8
|
export { YiiEditor, YiiEditorPlugin };
|
|
9
|
-
export * from './components
|
|
10
|
-
export * from './
|
|
9
|
+
export * from './components';
|
|
10
|
+
export * from './constants';
|
|
11
|
+
export * from './extensions';
|
|
12
|
+
export * from './hooks';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emoji
|
|
3
|
-
*/
|
|
4
|
-
import emojiGroups from '../data/emoji/data-by-group.json';
|
|
5
|
-
declare const emojiList: () => any[];
|
|
6
|
-
declare const filterEmojiGroups: (query: string) => any[];
|
|
7
|
-
declare const emojiGroupIcons: Indexable;
|
|
8
|
-
export { emojiGroups, emojiList, filterEmojiGroups, emojiGroupIcons };
|