@yiitap/vue 1.2.3 → 1.3.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.
- package/dist/index.cjs +80 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +80 -46
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15129 -13400
- package/dist/index.mjs.map +1 -1
- package/dist/vue.css +1 -1
- package/package.json +23 -18
- package/types/components/YiiEditor.vue.d.ts +331 -124
- package/types/components/buttons/OAiBtn.vue.d.ts +20 -0
- package/types/components/common/OBlockList.vue.d.ts +26 -0
- package/types/components/common/OBlockListItem.vue.d.ts +16 -0
- package/types/components/common/OBlockPopover.vue.d.ts +46 -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 +22 -4
- 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 +100 -2
- package/types/components/common/OToast.d.ts +11 -0
- package/types/components/index.d.ts +5 -0
- package/types/components/menus/OAiMenu.vue.d.ts +27 -0
- package/types/components/menus/OBubbleMenu.vue.d.ts +1 -1
- package/types/components/menus/OFloatingMenu.vue.d.ts +1 -1
- package/types/components/ui/OBtn.vue.d.ts +36 -0
- package/types/components/ui/OBtnGroup.vue.d.ts +100 -0
- package/types/components/ui/OIcon.vue.d.ts +19 -1
- package/types/components/ui/OInput.vue.d.ts +23 -1
- package/types/components/ui/OPopover.vue.d.ts +38 -0
- package/types/constants/ai.d.ts +6 -0
- package/types/constants/block.d.ts +2 -0
- package/types/constants/data.d.ts +4 -0
- package/types/constants/index.d.ts +4 -0
- package/types/extensions/ai-block/index.d.ts +3 -0
- package/types/extensions/ai-block/view.vue.d.ts +92 -0
- package/types/extensions/char-command/emoji/suggestion.d.ts +5 -9
- package/types/extensions/char-command/slash/suggestion.d.ts +5 -9
- package/types/extensions/char-command/slash/view.vue.d.ts +1 -1
- package/types/extensions/dynamic.d.ts +1 -1
- package/types/extensions/index.d.ts +48 -23
- package/types/hooks/index.d.ts +2 -0
- package/types/hooks/useAi.d.ts +6 -0
- package/types/hooks/useI18n.d.ts +1 -0
- package/types/hooks/useNodeView.d.ts +6 -0
- package/types/i18n/messages/en.d.ts +47 -0
- package/types/i18n/messages/zh-hans.d.ts +45 -0
- package/types/i18n/messages/zh-hant.d.ts +1 -0
- package/types/index.d.ts +3 -2
- package/types/utils/convert.d.ts +1 -0
- package/types/constants/demo-article.d.ts +0 -7
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
name: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
editor: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
name: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
editor: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{}>, {
|
|
18
|
+
name: string;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
items: {
|
|
3
|
+
type: () => BlockOption[];
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
useKeyboard: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
select: (...args: any[]) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
items: {
|
|
14
|
+
type: () => BlockOption[];
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
useKeyboard: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
onSelect?: (...args: any[]) => any;
|
|
23
|
+
}>, {
|
|
24
|
+
useKeyboard: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
item: {
|
|
3
|
+
type: () => BlockOption;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
select: (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
item: {
|
|
10
|
+
type: () => BlockOption;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
onSelect?: (...args: any[]) => any;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -10,6 +10,7 @@ declare const popover: import("vue").Ref<{
|
|
|
10
10
|
placement: string;
|
|
11
11
|
trigger: string;
|
|
12
12
|
tippyClass: string;
|
|
13
|
+
contentClass: string;
|
|
13
14
|
event: Record<string, any>;
|
|
14
15
|
delay: number;
|
|
15
16
|
duration: number;
|
|
@@ -20,11 +21,12 @@ declare const popover: import("vue").Ref<{
|
|
|
20
21
|
readonly placement: string;
|
|
21
22
|
readonly trigger: string;
|
|
22
23
|
readonly tippyClass: string;
|
|
24
|
+
readonly contentClass: string;
|
|
23
25
|
readonly event: Record<string, any>;
|
|
24
26
|
readonly delay: number;
|
|
25
27
|
readonly duration: number;
|
|
26
28
|
readonly "onUpdate:show"?: (...args: any[]) => any;
|
|
27
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration">;
|
|
29
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration">;
|
|
28
30
|
$attrs: {
|
|
29
31
|
[x: string]: unknown;
|
|
30
32
|
};
|
|
@@ -64,6 +66,10 @@ declare const popover: import("vue").Ref<{
|
|
|
64
66
|
type: StringConstructor;
|
|
65
67
|
default: string;
|
|
66
68
|
};
|
|
69
|
+
contentClass: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
67
73
|
event: {
|
|
68
74
|
type: ObjectConstructor;
|
|
69
75
|
default: () => {};
|
|
@@ -89,6 +95,7 @@ declare const popover: import("vue").Ref<{
|
|
|
89
95
|
placement: string;
|
|
90
96
|
trigger: string;
|
|
91
97
|
tippyClass: string;
|
|
98
|
+
contentClass: string;
|
|
92
99
|
event: Record<string, any>;
|
|
93
100
|
delay: number;
|
|
94
101
|
duration: number;
|
|
@@ -119,6 +126,7 @@ declare const popover: import("vue").Ref<{
|
|
|
119
126
|
placement: string;
|
|
120
127
|
trigger: string;
|
|
121
128
|
tippyClass: string;
|
|
129
|
+
contentClass: string;
|
|
122
130
|
event: Record<string, any>;
|
|
123
131
|
delay: number;
|
|
124
132
|
duration: number;
|
|
@@ -147,6 +155,10 @@ declare const popover: import("vue").Ref<{
|
|
|
147
155
|
type: StringConstructor;
|
|
148
156
|
default: string;
|
|
149
157
|
};
|
|
158
|
+
contentClass: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
150
162
|
event: {
|
|
151
163
|
type: ObjectConstructor;
|
|
152
164
|
default: () => {};
|
|
@@ -161,7 +173,7 @@ declare const popover: import("vue").Ref<{
|
|
|
161
173
|
};
|
|
162
174
|
}>> & Readonly<{
|
|
163
175
|
"onUpdate:show"?: (...args: any[]) => any;
|
|
164
|
-
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
176
|
+
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
165
177
|
setShow: (show: boolean) => void;
|
|
166
178
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
167
179
|
$slots: {
|
|
@@ -178,6 +190,7 @@ declare const popover: import("vue").Ref<{
|
|
|
178
190
|
placement: string;
|
|
179
191
|
trigger: string;
|
|
180
192
|
tippyClass: string;
|
|
193
|
+
contentClass: string;
|
|
181
194
|
event: Record<string, any>;
|
|
182
195
|
delay: number;
|
|
183
196
|
duration: number;
|
|
@@ -188,11 +201,12 @@ declare const popover: import("vue").Ref<{
|
|
|
188
201
|
readonly placement: string;
|
|
189
202
|
readonly trigger: string;
|
|
190
203
|
readonly tippyClass: string;
|
|
204
|
+
readonly contentClass: string;
|
|
191
205
|
readonly event: Record<string, any>;
|
|
192
206
|
readonly delay: number;
|
|
193
207
|
readonly duration: number;
|
|
194
208
|
readonly "onUpdate:show"?: (...args: any[]) => any;
|
|
195
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration">;
|
|
209
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration">;
|
|
196
210
|
$attrs: {
|
|
197
211
|
[x: string]: unknown;
|
|
198
212
|
};
|
|
@@ -232,6 +246,10 @@ declare const popover: import("vue").Ref<{
|
|
|
232
246
|
type: StringConstructor;
|
|
233
247
|
default: string;
|
|
234
248
|
};
|
|
249
|
+
contentClass: {
|
|
250
|
+
type: StringConstructor;
|
|
251
|
+
default: string;
|
|
252
|
+
};
|
|
235
253
|
event: {
|
|
236
254
|
type: ObjectConstructor;
|
|
237
255
|
default: () => {};
|
|
@@ -257,6 +275,7 @@ declare const popover: import("vue").Ref<{
|
|
|
257
275
|
placement: string;
|
|
258
276
|
trigger: string;
|
|
259
277
|
tippyClass: string;
|
|
278
|
+
contentClass: string;
|
|
260
279
|
event: Record<string, any>;
|
|
261
280
|
delay: number;
|
|
262
281
|
duration: number;
|
|
@@ -287,6 +306,7 @@ declare const popover: import("vue").Ref<{
|
|
|
287
306
|
placement: string;
|
|
288
307
|
trigger: string;
|
|
289
308
|
tippyClass: string;
|
|
309
|
+
contentClass: string;
|
|
290
310
|
event: Record<string, any>;
|
|
291
311
|
delay: number;
|
|
292
312
|
duration: number;
|
|
@@ -315,6 +335,10 @@ declare const popover: import("vue").Ref<{
|
|
|
315
335
|
type: StringConstructor;
|
|
316
336
|
default: string;
|
|
317
337
|
};
|
|
338
|
+
contentClass: {
|
|
339
|
+
type: StringConstructor;
|
|
340
|
+
default: string;
|
|
341
|
+
};
|
|
318
342
|
event: {
|
|
319
343
|
type: ObjectConstructor;
|
|
320
344
|
default: () => {};
|
|
@@ -329,7 +353,7 @@ declare const popover: import("vue").Ref<{
|
|
|
329
353
|
};
|
|
330
354
|
}>> & Readonly<{
|
|
331
355
|
"onUpdate:show"?: (...args: any[]) => any;
|
|
332
|
-
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
356
|
+
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
333
357
|
setShow: (show: boolean) => void;
|
|
334
358
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
335
359
|
$slots: {
|
|
@@ -367,6 +391,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
367
391
|
type: StringConstructor;
|
|
368
392
|
default: string;
|
|
369
393
|
};
|
|
394
|
+
contentClass: {
|
|
395
|
+
type: StringConstructor;
|
|
396
|
+
default: string;
|
|
397
|
+
};
|
|
370
398
|
offset: {
|
|
371
399
|
type: PropType<[number, number]>;
|
|
372
400
|
default: () => [number, number];
|
|
@@ -401,6 +429,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
401
429
|
type: StringConstructor;
|
|
402
430
|
default: string;
|
|
403
431
|
};
|
|
432
|
+
contentClass: {
|
|
433
|
+
type: StringConstructor;
|
|
434
|
+
default: string;
|
|
435
|
+
};
|
|
404
436
|
offset: {
|
|
405
437
|
type: PropType<[number, number]>;
|
|
406
438
|
default: () => [number, number];
|
|
@@ -413,6 +445,7 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
413
445
|
offset: [number, number];
|
|
414
446
|
placement: string;
|
|
415
447
|
tippyClass: string;
|
|
448
|
+
contentClass: string;
|
|
416
449
|
modelValue: boolean;
|
|
417
450
|
showArrow: boolean;
|
|
418
451
|
hideClickOutside: boolean;
|
|
@@ -438,6 +471,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
438
471
|
type: StringConstructor;
|
|
439
472
|
default: string;
|
|
440
473
|
};
|
|
474
|
+
contentClass: {
|
|
475
|
+
type: StringConstructor;
|
|
476
|
+
default: string;
|
|
477
|
+
};
|
|
441
478
|
offset: {
|
|
442
479
|
type: PropType<[number, number]>;
|
|
443
480
|
default: () => [number, number];
|
|
@@ -467,6 +504,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
467
504
|
type: StringConstructor;
|
|
468
505
|
default: string;
|
|
469
506
|
};
|
|
507
|
+
contentClass: {
|
|
508
|
+
type: StringConstructor;
|
|
509
|
+
default: string;
|
|
510
|
+
};
|
|
470
511
|
offset: {
|
|
471
512
|
type: PropType<[number, number]>;
|
|
472
513
|
default: () => [number, number];
|
|
@@ -479,6 +520,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
479
520
|
offset: [number, number];
|
|
480
521
|
placement: string;
|
|
481
522
|
tippyClass: string;
|
|
523
|
+
contentClass: string;
|
|
482
524
|
modelValue: boolean;
|
|
483
525
|
showArrow: boolean;
|
|
484
526
|
hideClickOutside: boolean;
|
|
@@ -10,6 +10,7 @@ declare const popover: import("vue").Ref<{
|
|
|
10
10
|
placement: string;
|
|
11
11
|
trigger: string;
|
|
12
12
|
tippyClass: string;
|
|
13
|
+
contentClass: string;
|
|
13
14
|
event: Record<string, any>;
|
|
14
15
|
delay: number;
|
|
15
16
|
duration: number;
|
|
@@ -20,11 +21,12 @@ declare const popover: import("vue").Ref<{
|
|
|
20
21
|
readonly placement: string;
|
|
21
22
|
readonly trigger: string;
|
|
22
23
|
readonly tippyClass: string;
|
|
24
|
+
readonly contentClass: string;
|
|
23
25
|
readonly event: Record<string, any>;
|
|
24
26
|
readonly delay: number;
|
|
25
27
|
readonly duration: number;
|
|
26
28
|
readonly "onUpdate:show"?: (...args: any[]) => any;
|
|
27
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration">;
|
|
29
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration">;
|
|
28
30
|
$attrs: {
|
|
29
31
|
[x: string]: unknown;
|
|
30
32
|
};
|
|
@@ -64,6 +66,10 @@ declare const popover: import("vue").Ref<{
|
|
|
64
66
|
type: StringConstructor;
|
|
65
67
|
default: string;
|
|
66
68
|
};
|
|
69
|
+
contentClass: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
67
73
|
event: {
|
|
68
74
|
type: ObjectConstructor;
|
|
69
75
|
default: () => {};
|
|
@@ -89,6 +95,7 @@ declare const popover: import("vue").Ref<{
|
|
|
89
95
|
placement: string;
|
|
90
96
|
trigger: string;
|
|
91
97
|
tippyClass: string;
|
|
98
|
+
contentClass: string;
|
|
92
99
|
event: Record<string, any>;
|
|
93
100
|
delay: number;
|
|
94
101
|
duration: number;
|
|
@@ -119,6 +126,7 @@ declare const popover: import("vue").Ref<{
|
|
|
119
126
|
placement: string;
|
|
120
127
|
trigger: string;
|
|
121
128
|
tippyClass: string;
|
|
129
|
+
contentClass: string;
|
|
122
130
|
event: Record<string, any>;
|
|
123
131
|
delay: number;
|
|
124
132
|
duration: number;
|
|
@@ -147,6 +155,10 @@ declare const popover: import("vue").Ref<{
|
|
|
147
155
|
type: StringConstructor;
|
|
148
156
|
default: string;
|
|
149
157
|
};
|
|
158
|
+
contentClass: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
150
162
|
event: {
|
|
151
163
|
type: ObjectConstructor;
|
|
152
164
|
default: () => {};
|
|
@@ -161,7 +173,7 @@ declare const popover: import("vue").Ref<{
|
|
|
161
173
|
};
|
|
162
174
|
}>> & Readonly<{
|
|
163
175
|
"onUpdate:show"?: (...args: any[]) => any;
|
|
164
|
-
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
176
|
+
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
165
177
|
setShow: (show: boolean) => void;
|
|
166
178
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
167
179
|
$slots: {
|
|
@@ -178,6 +190,7 @@ declare const popover: import("vue").Ref<{
|
|
|
178
190
|
placement: string;
|
|
179
191
|
trigger: string;
|
|
180
192
|
tippyClass: string;
|
|
193
|
+
contentClass: string;
|
|
181
194
|
event: Record<string, any>;
|
|
182
195
|
delay: number;
|
|
183
196
|
duration: number;
|
|
@@ -188,11 +201,12 @@ declare const popover: import("vue").Ref<{
|
|
|
188
201
|
readonly placement: string;
|
|
189
202
|
readonly trigger: string;
|
|
190
203
|
readonly tippyClass: string;
|
|
204
|
+
readonly contentClass: string;
|
|
191
205
|
readonly event: Record<string, any>;
|
|
192
206
|
readonly delay: number;
|
|
193
207
|
readonly duration: number;
|
|
194
208
|
readonly "onUpdate:show"?: (...args: any[]) => any;
|
|
195
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration">;
|
|
209
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration">;
|
|
196
210
|
$attrs: {
|
|
197
211
|
[x: string]: unknown;
|
|
198
212
|
};
|
|
@@ -232,6 +246,10 @@ declare const popover: import("vue").Ref<{
|
|
|
232
246
|
type: StringConstructor;
|
|
233
247
|
default: string;
|
|
234
248
|
};
|
|
249
|
+
contentClass: {
|
|
250
|
+
type: StringConstructor;
|
|
251
|
+
default: string;
|
|
252
|
+
};
|
|
235
253
|
event: {
|
|
236
254
|
type: ObjectConstructor;
|
|
237
255
|
default: () => {};
|
|
@@ -257,6 +275,7 @@ declare const popover: import("vue").Ref<{
|
|
|
257
275
|
placement: string;
|
|
258
276
|
trigger: string;
|
|
259
277
|
tippyClass: string;
|
|
278
|
+
contentClass: string;
|
|
260
279
|
event: Record<string, any>;
|
|
261
280
|
delay: number;
|
|
262
281
|
duration: number;
|
|
@@ -287,6 +306,7 @@ declare const popover: import("vue").Ref<{
|
|
|
287
306
|
placement: string;
|
|
288
307
|
trigger: string;
|
|
289
308
|
tippyClass: string;
|
|
309
|
+
contentClass: string;
|
|
290
310
|
event: Record<string, any>;
|
|
291
311
|
delay: number;
|
|
292
312
|
duration: number;
|
|
@@ -315,6 +335,10 @@ declare const popover: import("vue").Ref<{
|
|
|
315
335
|
type: StringConstructor;
|
|
316
336
|
default: string;
|
|
317
337
|
};
|
|
338
|
+
contentClass: {
|
|
339
|
+
type: StringConstructor;
|
|
340
|
+
default: string;
|
|
341
|
+
};
|
|
318
342
|
event: {
|
|
319
343
|
type: ObjectConstructor;
|
|
320
344
|
default: () => {};
|
|
@@ -329,7 +353,7 @@ declare const popover: import("vue").Ref<{
|
|
|
329
353
|
};
|
|
330
354
|
}>> & Readonly<{
|
|
331
355
|
"onUpdate:show"?: (...args: any[]) => any;
|
|
332
|
-
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
356
|
+
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
333
357
|
setShow: (show: boolean) => void;
|
|
334
358
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
335
359
|
$slots: {
|
|
@@ -91,10 +91,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
91
91
|
color: string;
|
|
92
92
|
icon: string;
|
|
93
93
|
placement: string;
|
|
94
|
+
contentClass: string | Record<string, any>;
|
|
94
95
|
background: string;
|
|
95
96
|
tooltip: string;
|
|
96
97
|
disabled: boolean;
|
|
97
|
-
contentClass: string | Record<string, any>;
|
|
98
98
|
contentStyle: string | Record<string, any>;
|
|
99
99
|
iconClass: string | Record<string, any>;
|
|
100
100
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -180,10 +180,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
180
180
|
color: string;
|
|
181
181
|
icon: string;
|
|
182
182
|
placement: string;
|
|
183
|
+
contentClass: string | Record<string, any>;
|
|
183
184
|
background: string;
|
|
184
185
|
tooltip: string;
|
|
185
186
|
disabled: boolean;
|
|
186
|
-
contentClass: string | Record<string, any>;
|
|
187
187
|
contentStyle: string | Record<string, any>;
|
|
188
188
|
iconClass: string | Record<string, any>;
|
|
189
189
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OIcon, OTooltip } from '../index';
|
|
2
|
-
declare
|
|
2
|
+
declare function onClick(): void;
|
|
3
3
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
4
4
|
declare var __VLS_10: {};
|
|
5
5
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
@@ -30,6 +30,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
30
30
|
type: BooleanConstructor;
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
|
+
loading: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
33
37
|
contentClass: {
|
|
34
38
|
type: (StringConstructor | ObjectConstructor)[];
|
|
35
39
|
default: string;
|
|
@@ -45,7 +49,7 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
45
49
|
}>, {
|
|
46
50
|
OIcon: typeof OIcon;
|
|
47
51
|
OTooltip: typeof OTooltip;
|
|
48
|
-
|
|
52
|
+
onClick: typeof onClick;
|
|
49
53
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
54
|
click: (...args: any[]) => void;
|
|
51
55
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -73,6 +77,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
73
77
|
type: BooleanConstructor;
|
|
74
78
|
default: boolean;
|
|
75
79
|
};
|
|
80
|
+
loading: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
76
84
|
contentClass: {
|
|
77
85
|
type: (StringConstructor | ObjectConstructor)[];
|
|
78
86
|
default: string;
|
|
@@ -91,12 +99,13 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
91
99
|
color: string;
|
|
92
100
|
icon: string;
|
|
93
101
|
placement: string;
|
|
102
|
+
contentClass: string | Record<string, any>;
|
|
94
103
|
background: string;
|
|
95
104
|
tooltip: string;
|
|
96
105
|
disabled: boolean;
|
|
97
|
-
contentClass: string | Record<string, any>;
|
|
98
106
|
contentStyle: string | Record<string, any>;
|
|
99
107
|
iconClass: string | Record<string, any>;
|
|
108
|
+
loading: boolean;
|
|
100
109
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
110
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
102
111
|
icon: {
|
|
@@ -123,6 +132,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
123
132
|
type: BooleanConstructor;
|
|
124
133
|
default: boolean;
|
|
125
134
|
};
|
|
135
|
+
loading: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
126
139
|
contentClass: {
|
|
127
140
|
type: (StringConstructor | ObjectConstructor)[];
|
|
128
141
|
default: string;
|
|
@@ -162,6 +175,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
162
175
|
type: BooleanConstructor;
|
|
163
176
|
default: boolean;
|
|
164
177
|
};
|
|
178
|
+
loading: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
165
182
|
contentClass: {
|
|
166
183
|
type: (StringConstructor | ObjectConstructor)[];
|
|
167
184
|
default: string;
|
|
@@ -180,12 +197,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
180
197
|
color: string;
|
|
181
198
|
icon: string;
|
|
182
199
|
placement: string;
|
|
200
|
+
contentClass: string | Record<string, any>;
|
|
183
201
|
background: string;
|
|
184
202
|
tooltip: string;
|
|
185
203
|
disabled: boolean;
|
|
186
|
-
contentClass: string | Record<string, any>;
|
|
187
204
|
contentStyle: string | Record<string, any>;
|
|
188
205
|
iconClass: string | Record<string, any>;
|
|
206
|
+
loading: boolean;
|
|
189
207
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
190
208
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
191
209
|
export default _default;
|
|
@@ -9,6 +9,7 @@ declare const popover: import("vue").Ref<{
|
|
|
9
9
|
placement: string;
|
|
10
10
|
trigger: string;
|
|
11
11
|
tippyClass: string;
|
|
12
|
+
contentClass: string;
|
|
12
13
|
event: Record<string, any>;
|
|
13
14
|
delay: number;
|
|
14
15
|
duration: number;
|
|
@@ -19,11 +20,12 @@ declare const popover: import("vue").Ref<{
|
|
|
19
20
|
readonly placement: string;
|
|
20
21
|
readonly trigger: string;
|
|
21
22
|
readonly tippyClass: string;
|
|
23
|
+
readonly contentClass: string;
|
|
22
24
|
readonly event: Record<string, any>;
|
|
23
25
|
readonly delay: number;
|
|
24
26
|
readonly duration: number;
|
|
25
27
|
readonly "onUpdate:show"?: (...args: any[]) => any;
|
|
26
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration">;
|
|
28
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration">;
|
|
27
29
|
$attrs: {
|
|
28
30
|
[x: string]: unknown;
|
|
29
31
|
};
|
|
@@ -63,6 +65,10 @@ declare const popover: import("vue").Ref<{
|
|
|
63
65
|
type: StringConstructor;
|
|
64
66
|
default: string;
|
|
65
67
|
};
|
|
68
|
+
contentClass: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
66
72
|
event: {
|
|
67
73
|
type: ObjectConstructor;
|
|
68
74
|
default: () => {};
|
|
@@ -88,6 +94,7 @@ declare const popover: import("vue").Ref<{
|
|
|
88
94
|
placement: string;
|
|
89
95
|
trigger: string;
|
|
90
96
|
tippyClass: string;
|
|
97
|
+
contentClass: string;
|
|
91
98
|
event: Record<string, any>;
|
|
92
99
|
delay: number;
|
|
93
100
|
duration: number;
|
|
@@ -118,6 +125,7 @@ declare const popover: import("vue").Ref<{
|
|
|
118
125
|
placement: string;
|
|
119
126
|
trigger: string;
|
|
120
127
|
tippyClass: string;
|
|
128
|
+
contentClass: string;
|
|
121
129
|
event: Record<string, any>;
|
|
122
130
|
delay: number;
|
|
123
131
|
duration: number;
|
|
@@ -146,6 +154,10 @@ declare const popover: import("vue").Ref<{
|
|
|
146
154
|
type: StringConstructor;
|
|
147
155
|
default: string;
|
|
148
156
|
};
|
|
157
|
+
contentClass: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
149
161
|
event: {
|
|
150
162
|
type: ObjectConstructor;
|
|
151
163
|
default: () => {};
|
|
@@ -160,7 +172,7 @@ declare const popover: import("vue").Ref<{
|
|
|
160
172
|
};
|
|
161
173
|
}>> & Readonly<{
|
|
162
174
|
"onUpdate:show"?: (...args: any[]) => any;
|
|
163
|
-
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
175
|
+
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
164
176
|
setShow: (show: boolean) => void;
|
|
165
177
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
166
178
|
$slots: {
|
|
@@ -177,6 +189,7 @@ declare const popover: import("vue").Ref<{
|
|
|
177
189
|
placement: string;
|
|
178
190
|
trigger: string;
|
|
179
191
|
tippyClass: string;
|
|
192
|
+
contentClass: string;
|
|
180
193
|
event: Record<string, any>;
|
|
181
194
|
delay: number;
|
|
182
195
|
duration: number;
|
|
@@ -187,11 +200,12 @@ declare const popover: import("vue").Ref<{
|
|
|
187
200
|
readonly placement: string;
|
|
188
201
|
readonly trigger: string;
|
|
189
202
|
readonly tippyClass: string;
|
|
203
|
+
readonly contentClass: string;
|
|
190
204
|
readonly event: Record<string, any>;
|
|
191
205
|
readonly delay: number;
|
|
192
206
|
readonly duration: number;
|
|
193
207
|
readonly "onUpdate:show"?: (...args: any[]) => any;
|
|
194
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration">;
|
|
208
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration">;
|
|
195
209
|
$attrs: {
|
|
196
210
|
[x: string]: unknown;
|
|
197
211
|
};
|
|
@@ -231,6 +245,10 @@ declare const popover: import("vue").Ref<{
|
|
|
231
245
|
type: StringConstructor;
|
|
232
246
|
default: string;
|
|
233
247
|
};
|
|
248
|
+
contentClass: {
|
|
249
|
+
type: StringConstructor;
|
|
250
|
+
default: string;
|
|
251
|
+
};
|
|
234
252
|
event: {
|
|
235
253
|
type: ObjectConstructor;
|
|
236
254
|
default: () => {};
|
|
@@ -256,6 +274,7 @@ declare const popover: import("vue").Ref<{
|
|
|
256
274
|
placement: string;
|
|
257
275
|
trigger: string;
|
|
258
276
|
tippyClass: string;
|
|
277
|
+
contentClass: string;
|
|
259
278
|
event: Record<string, any>;
|
|
260
279
|
delay: number;
|
|
261
280
|
duration: number;
|
|
@@ -286,6 +305,7 @@ declare const popover: import("vue").Ref<{
|
|
|
286
305
|
placement: string;
|
|
287
306
|
trigger: string;
|
|
288
307
|
tippyClass: string;
|
|
308
|
+
contentClass: string;
|
|
289
309
|
event: Record<string, any>;
|
|
290
310
|
delay: number;
|
|
291
311
|
duration: number;
|
|
@@ -314,6 +334,10 @@ declare const popover: import("vue").Ref<{
|
|
|
314
334
|
type: StringConstructor;
|
|
315
335
|
default: string;
|
|
316
336
|
};
|
|
337
|
+
contentClass: {
|
|
338
|
+
type: StringConstructor;
|
|
339
|
+
default: string;
|
|
340
|
+
};
|
|
317
341
|
event: {
|
|
318
342
|
type: ObjectConstructor;
|
|
319
343
|
default: () => {};
|
|
@@ -328,7 +352,7 @@ declare const popover: import("vue").Ref<{
|
|
|
328
352
|
};
|
|
329
353
|
}>> & Readonly<{
|
|
330
354
|
"onUpdate:show"?: (...args: any[]) => any;
|
|
331
|
-
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
355
|
+
}>, "setShow" | ("disable" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "contentClass" | "event" | "delay" | "duration")> & import("vue").ShallowUnwrapRef<{
|
|
332
356
|
setShow: (show: boolean) => void;
|
|
333
357
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
334
358
|
$slots: {
|