@yiitap/vue 1.0.2 → 1.0.3
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 +35 -32
- package/dist/index.js +35 -32
- package/dist/index.mjs +10878 -12230
- package/dist/vue.css +1 -1
- package/package.json +3 -2
- package/types/components/YiiEditor.vue.d.ts +244 -14
- package/types/components/buttons/OAlignDropdown.vue.d.ts +3 -3
- package/types/components/buttons/OAlignGroup.vue.d.ts +3 -3
- package/types/components/buttons/OBackColorDropdown.vue.d.ts +3 -3
- package/types/components/buttons/OFontFamilyDropdown.vue.d.ts +3 -3
- package/types/components/buttons/OForeColorDropdown.vue.d.ts +3 -3
- package/types/components/buttons/OHeadingDropdown.vue.d.ts +3 -3
- package/types/components/buttons/OLinkBtn.vue.d.ts +3 -3
- package/types/components/buttons/OLinkEditBtn.vue.d.ts +3 -3
- package/types/components/buttons/OLinkOpenBtn.vue.d.ts +3 -3
- package/types/components/buttons/OListDropdown.vue.d.ts +3 -3
- package/types/components/buttons/OListGroup.vue.d.ts +3 -3
- package/types/components/buttons/OMoreBubble.vue.d.ts +3 -3
- package/types/components/buttons/OSimpleCommandBtn.vue.d.ts +4 -4
- package/types/components/buttons/OStyleDropdown.vue.d.ts +3 -3
- package/types/components/buttons/OTableBtn.vue.d.ts +3 -3
- package/types/components/buttons/OTableGroup.vue.d.ts +3 -3
- package/types/components/buttons/OTextColorDropdown.vue.d.ts +3 -3
- package/types/components/buttons/OTextFormatDropdown.vue.d.ts +3 -3
- package/types/components/common/OBlockMenu.vue.d.ts +69 -0
- package/types/components/common/OBlockPlaceholder.vue.d.ts +5 -5
- package/types/components/common/OBlockPopover.vue.d.ts +379 -11
- package/types/components/common/OBlockToolbar.vue.d.ts +521 -0
- package/types/components/common/OCalloutColorBoard.vue.d.ts +6 -6
- package/types/components/common/OCalloutColorDropdown.vue.d.ts +5 -5
- package/types/components/common/OColorBoard.vue.d.ts +6 -6
- package/types/components/common/OCommandBtn.vue.d.ts +108 -9
- package/types/components/common/OCommonBtn.vue.d.ts +108 -9
- package/types/components/common/OContextMenu.vue.d.ts +354 -9
- package/types/components/common/OLanguageDropdown.vue.d.ts +6 -6
- package/types/components/common/OMediaInput.vue.d.ts +6 -6
- package/types/components/common/OMenubarBtn.vue.d.ts +7 -7
- package/types/components/common/OMetaInput.vue.d.ts +92 -9
- package/types/components/common/ONodeView.vue.d.ts +213 -0
- package/types/components/common/OTableCellBackground.vue.d.ts +3 -3
- package/types/components/common/OTableGrid.vue.d.ts +2 -2
- package/types/components/common/OTextColorBoard.vue.d.ts +6 -6
- package/types/components/common/o-side-menu/AddNode.vue.d.ts +46 -0
- package/types/components/common/o-side-menu/AddNodeView.vue.d.ts +50 -0
- package/types/components/common/o-side-menu/DragNode.vue.d.ts +54 -0
- package/types/components/common/o-side-menu/DragNodeMenu.vue.d.ts +6 -6
- package/types/components/common/o-side-menu/DragNodeView.vue.d.ts +50 -0
- package/types/components/common/o-side-node/AddNode.vue.d.ts +92 -0
- package/types/components/common/o-side-node/AddNodeView.vue.d.ts +96 -0
- package/types/components/common/o-side-node/DragNode.vue.d.ts +96 -0
- package/types/components/common/o-side-node/DragNodeView.vue.d.ts +96 -0
- package/types/components/common/o-side-node/index.vue.d.ts +96 -0
- package/types/components/menus/OBubbleMenu.vue.d.ts +7 -6
- package/types/components/menus/OFloatingMenu.vue.d.ts +7 -6
- package/types/components/menus/OMainMenu.vue.d.ts +39 -8
- package/types/components/menus/OSideMenu.vue.d.ts +4 -4
- package/types/components/ui/OBtn.vue.d.ts +53 -9
- package/types/components/ui/OCheckbox.vue.d.ts +6 -6
- package/types/components/ui/ODivider.vue.d.ts +4 -4
- package/types/components/ui/OIcon.vue.d.ts +4 -4
- package/types/components/ui/OInput.vue.d.ts +63 -11
- package/types/components/ui/OList.vue.d.ts +33 -7
- package/types/components/ui/OListItem.vue.d.ts +28 -9
- package/types/components/ui/OPopover.vue.d.ts +93 -12
- package/types/components/ui/OTooltip.d.ts +5 -5
- package/types/components/ui/OTooltip.vue.d.ts +40 -8
- package/types/extensions/blockquote/view.vue.d.ts +92 -0
- package/types/extensions/callout/index.d.ts +3 -21
- package/types/extensions/callout/index.old.d.ts +21 -0
- package/types/extensions/callout/view.vue.d.ts +92 -0
- package/types/extensions/code-block/view.vue.d.ts +92 -0
- package/types/extensions/dynamic.d.ts +1 -1
- package/types/extensions/heading/view.vue.d.ts +92 -0
- package/types/extensions/horizontal-rule/view.vue.d.ts +92 -0
- package/types/extensions/image/view.vue.d.ts +92 -0
- package/types/extensions/paragraph/view.vue.d.ts +92 -0
- package/types/extensions/slash/view.vue.d.ts +143 -5
- package/types/extensions/table-cell/view.vue.d.ts +92 -0
- package/types/extensions/table-header/view.vue.d.ts +92 -0
- package/types/extensions/table-wrapper/view.vue.d.ts +92 -0
- package/types/extensions/video/view.vue.d.ts +92 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { NodeViewProps } from '@tiptap/core';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
editor: {
|
|
5
|
+
type: PropType<NodeViewProps["editor"]>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
node: {
|
|
9
|
+
type: PropType<NodeViewProps["node"]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
getPos: {
|
|
13
|
+
type: PropType<NodeViewProps["getPos"]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
updateAttributes: {
|
|
17
|
+
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
deleteNode: {
|
|
21
|
+
type: PropType<NodeViewProps["deleteNode"]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
colorful: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
showGroup: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
action: (...args: any[]) => void;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
editor: {
|
|
36
|
+
type: PropType<NodeViewProps["editor"]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
node: {
|
|
40
|
+
type: PropType<NodeViewProps["node"]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
getPos: {
|
|
44
|
+
type: PropType<NodeViewProps["getPos"]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
updateAttributes: {
|
|
48
|
+
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
deleteNode: {
|
|
52
|
+
type: PropType<NodeViewProps["deleteNode"]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
colorful: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
showGroup: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{
|
|
64
|
+
onAction?: (...args: any[]) => any;
|
|
65
|
+
}>, {
|
|
66
|
+
colorful: boolean;
|
|
67
|
+
showGroup: boolean;
|
|
68
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
69
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
icon: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
icon: {
|
|
12
12
|
type: StringConstructor;
|
|
13
13
|
default: string;
|
|
@@ -16,8 +16,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
|
-
}
|
|
20
|
-
icon: string;
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
21
20
|
placeholder: string;
|
|
22
|
-
|
|
21
|
+
icon: string;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
23
|
export default _default;
|
|
@@ -1,4 +1,303 @@
|
|
|
1
|
-
|
|
1
|
+
import { OPopover } from '../index';
|
|
2
|
+
declare const popover: import("vue").Ref<{
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
show: boolean;
|
|
7
|
+
arrow: boolean;
|
|
8
|
+
offset: number[];
|
|
9
|
+
placement: string;
|
|
10
|
+
trigger: string;
|
|
11
|
+
tippyClass: string;
|
|
12
|
+
event: Record<string, any>;
|
|
13
|
+
}> & Omit<{
|
|
14
|
+
readonly show: boolean;
|
|
15
|
+
readonly arrow: boolean;
|
|
16
|
+
readonly offset: number[];
|
|
17
|
+
readonly placement: string;
|
|
18
|
+
readonly trigger: string;
|
|
19
|
+
readonly tippyClass: string;
|
|
20
|
+
readonly event: Record<string, any>;
|
|
21
|
+
readonly "onUpdate:show"?: (...args: any[]) => any;
|
|
22
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "show" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event">;
|
|
23
|
+
$attrs: {
|
|
24
|
+
[x: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
$refs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
$slots: Readonly<{
|
|
30
|
+
[name: string]: import("vue").Slot<any>;
|
|
31
|
+
}>;
|
|
32
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
33
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
34
|
+
$host: Element | null;
|
|
35
|
+
$emit: (event: "update:show", ...args: any[]) => void;
|
|
36
|
+
$el: any;
|
|
37
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
show: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
arrow: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
offset: {
|
|
47
|
+
type: () => number[];
|
|
48
|
+
default: () => number[];
|
|
49
|
+
};
|
|
50
|
+
placement: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
trigger: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
tippyClass: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
event: {
|
|
63
|
+
type: ObjectConstructor;
|
|
64
|
+
default: () => {};
|
|
65
|
+
};
|
|
66
|
+
}>> & Readonly<{
|
|
67
|
+
"onUpdate:show"?: (...args: any[]) => any;
|
|
68
|
+
}>, {
|
|
69
|
+
setShow: (show: boolean) => void;
|
|
70
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
|
+
"update:show": (...args: any[]) => void;
|
|
72
|
+
}, string, {
|
|
73
|
+
show: boolean;
|
|
74
|
+
arrow: boolean;
|
|
75
|
+
offset: number[];
|
|
76
|
+
placement: string;
|
|
77
|
+
trigger: string;
|
|
78
|
+
tippyClass: string;
|
|
79
|
+
event: Record<string, any>;
|
|
80
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
81
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
82
|
+
created?: (() => void) | (() => void)[];
|
|
83
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
84
|
+
mounted?: (() => void) | (() => void)[];
|
|
85
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
86
|
+
updated?: (() => void) | (() => void)[];
|
|
87
|
+
activated?: (() => void) | (() => void)[];
|
|
88
|
+
deactivated?: (() => void) | (() => void)[];
|
|
89
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
90
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
91
|
+
destroyed?: (() => void) | (() => void)[];
|
|
92
|
+
unmounted?: (() => void) | (() => void)[];
|
|
93
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
94
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
95
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
96
|
+
};
|
|
97
|
+
$forceUpdate: () => void;
|
|
98
|
+
$nextTick: typeof import("vue").nextTick;
|
|
99
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
100
|
+
} & Readonly<{
|
|
101
|
+
show: boolean;
|
|
102
|
+
arrow: boolean;
|
|
103
|
+
offset: number[];
|
|
104
|
+
placement: string;
|
|
105
|
+
trigger: string;
|
|
106
|
+
tippyClass: string;
|
|
107
|
+
event: Record<string, any>;
|
|
108
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
+
show: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
arrow: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
offset: {
|
|
118
|
+
type: () => number[];
|
|
119
|
+
default: () => number[];
|
|
120
|
+
};
|
|
121
|
+
placement: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
trigger: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
tippyClass: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
event: {
|
|
134
|
+
type: ObjectConstructor;
|
|
135
|
+
default: () => {};
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{
|
|
138
|
+
"onUpdate:show"?: (...args: any[]) => any;
|
|
139
|
+
}>, "setShow" | ("show" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event")> & import("vue").ShallowUnwrapRef<{
|
|
140
|
+
setShow: (show: boolean) => void;
|
|
141
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
142
|
+
$slots: {
|
|
143
|
+
trigger?: (props: {}) => any;
|
|
144
|
+
default?: (props: {}) => any;
|
|
145
|
+
};
|
|
146
|
+
}, {
|
|
147
|
+
$: import("vue").ComponentInternalInstance;
|
|
148
|
+
$data: {};
|
|
149
|
+
$props: Partial<{
|
|
150
|
+
show: boolean;
|
|
151
|
+
arrow: boolean;
|
|
152
|
+
offset: number[];
|
|
153
|
+
placement: string;
|
|
154
|
+
trigger: string;
|
|
155
|
+
tippyClass: string;
|
|
156
|
+
event: Record<string, any>;
|
|
157
|
+
}> & Omit<{
|
|
158
|
+
readonly show: boolean;
|
|
159
|
+
readonly arrow: boolean;
|
|
160
|
+
readonly offset: number[];
|
|
161
|
+
readonly placement: string;
|
|
162
|
+
readonly trigger: string;
|
|
163
|
+
readonly tippyClass: string;
|
|
164
|
+
readonly event: Record<string, any>;
|
|
165
|
+
readonly "onUpdate:show"?: (...args: any[]) => any;
|
|
166
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "show" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event">;
|
|
167
|
+
$attrs: {
|
|
168
|
+
[x: string]: unknown;
|
|
169
|
+
};
|
|
170
|
+
$refs: {
|
|
171
|
+
[x: string]: unknown;
|
|
172
|
+
};
|
|
173
|
+
$slots: Readonly<{
|
|
174
|
+
[name: string]: import("vue").Slot<any>;
|
|
175
|
+
}>;
|
|
176
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
177
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
178
|
+
$host: Element | null;
|
|
179
|
+
$emit: (event: "update:show", ...args: any[]) => void;
|
|
180
|
+
$el: any;
|
|
181
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
182
|
+
show: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
arrow: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
190
|
+
offset: {
|
|
191
|
+
type: () => number[];
|
|
192
|
+
default: () => number[];
|
|
193
|
+
};
|
|
194
|
+
placement: {
|
|
195
|
+
type: StringConstructor;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
trigger: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
tippyClass: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
default: string;
|
|
205
|
+
};
|
|
206
|
+
event: {
|
|
207
|
+
type: ObjectConstructor;
|
|
208
|
+
default: () => {};
|
|
209
|
+
};
|
|
210
|
+
}>> & Readonly<{
|
|
211
|
+
"onUpdate:show"?: (...args: any[]) => any;
|
|
212
|
+
}>, {
|
|
213
|
+
setShow: (show: boolean) => void;
|
|
214
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
215
|
+
"update:show": (...args: any[]) => void;
|
|
216
|
+
}, string, {
|
|
217
|
+
show: boolean;
|
|
218
|
+
arrow: boolean;
|
|
219
|
+
offset: number[];
|
|
220
|
+
placement: string;
|
|
221
|
+
trigger: string;
|
|
222
|
+
tippyClass: string;
|
|
223
|
+
event: Record<string, any>;
|
|
224
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
225
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
226
|
+
created?: (() => void) | (() => void)[];
|
|
227
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
228
|
+
mounted?: (() => void) | (() => void)[];
|
|
229
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
230
|
+
updated?: (() => void) | (() => void)[];
|
|
231
|
+
activated?: (() => void) | (() => void)[];
|
|
232
|
+
deactivated?: (() => void) | (() => void)[];
|
|
233
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
234
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
235
|
+
destroyed?: (() => void) | (() => void)[];
|
|
236
|
+
unmounted?: (() => void) | (() => void)[];
|
|
237
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
238
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
239
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
240
|
+
};
|
|
241
|
+
$forceUpdate: () => void;
|
|
242
|
+
$nextTick: typeof import("vue").nextTick;
|
|
243
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
244
|
+
} & Readonly<{
|
|
245
|
+
show: boolean;
|
|
246
|
+
arrow: boolean;
|
|
247
|
+
offset: number[];
|
|
248
|
+
placement: string;
|
|
249
|
+
trigger: string;
|
|
250
|
+
tippyClass: string;
|
|
251
|
+
event: Record<string, any>;
|
|
252
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
253
|
+
show: {
|
|
254
|
+
type: BooleanConstructor;
|
|
255
|
+
default: boolean;
|
|
256
|
+
};
|
|
257
|
+
arrow: {
|
|
258
|
+
type: BooleanConstructor;
|
|
259
|
+
default: boolean;
|
|
260
|
+
};
|
|
261
|
+
offset: {
|
|
262
|
+
type: () => number[];
|
|
263
|
+
default: () => number[];
|
|
264
|
+
};
|
|
265
|
+
placement: {
|
|
266
|
+
type: StringConstructor;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
trigger: {
|
|
270
|
+
type: StringConstructor;
|
|
271
|
+
default: string;
|
|
272
|
+
};
|
|
273
|
+
tippyClass: {
|
|
274
|
+
type: StringConstructor;
|
|
275
|
+
default: string;
|
|
276
|
+
};
|
|
277
|
+
event: {
|
|
278
|
+
type: ObjectConstructor;
|
|
279
|
+
default: () => {};
|
|
280
|
+
};
|
|
281
|
+
}>> & Readonly<{
|
|
282
|
+
"onUpdate:show"?: (...args: any[]) => any;
|
|
283
|
+
}>, "setShow" | ("show" | "arrow" | "offset" | "placement" | "trigger" | "tippyClass" | "event")> & import("vue").ShallowUnwrapRef<{
|
|
284
|
+
setShow: (show: boolean) => void;
|
|
285
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
286
|
+
$slots: {
|
|
287
|
+
trigger?: (props: {}) => any;
|
|
288
|
+
default?: (props: {}) => any;
|
|
289
|
+
};
|
|
290
|
+
}>;
|
|
291
|
+
declare function onShow(value: boolean): void;
|
|
292
|
+
declare function onClickOutside(): void;
|
|
293
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
294
|
+
declare var __VLS_12: {}, __VLS_14: {};
|
|
295
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
296
|
+
default?: (props: typeof __VLS_12) => any;
|
|
297
|
+
} & {
|
|
298
|
+
'popover-content'?: (props: typeof __VLS_14) => any;
|
|
299
|
+
}>;
|
|
300
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
301
|
modelValue: {
|
|
3
302
|
type: BooleanConstructor;
|
|
4
303
|
default: boolean;
|
|
@@ -23,11 +322,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
322
|
type: () => number[];
|
|
24
323
|
default: () => number[];
|
|
25
324
|
};
|
|
26
|
-
}
|
|
27
|
-
|
|
325
|
+
}>, {
|
|
326
|
+
OPopover: typeof OPopover;
|
|
327
|
+
popover: typeof popover;
|
|
328
|
+
onShow: typeof onShow;
|
|
329
|
+
onClickOutside: typeof onClickOutside;
|
|
330
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
331
|
show: (...args: any[]) => void;
|
|
29
332
|
"update:modelValue": (...args: any[]) => void;
|
|
30
|
-
|
|
333
|
+
hide: (...args: any[]) => void;
|
|
334
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
335
|
modelValue: {
|
|
32
336
|
type: BooleanConstructor;
|
|
33
337
|
default: boolean;
|
|
@@ -52,23 +356,87 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
356
|
type: () => number[];
|
|
53
357
|
default: () => number[];
|
|
54
358
|
};
|
|
55
|
-
}>> & {
|
|
359
|
+
}>> & Readonly<{
|
|
360
|
+
onShow?: (...args: any[]) => any;
|
|
361
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
56
362
|
onHide?: (...args: any[]) => any;
|
|
363
|
+
}>, {
|
|
364
|
+
offset: number[];
|
|
365
|
+
placement: string;
|
|
366
|
+
tippyClass: string;
|
|
367
|
+
modelValue: boolean;
|
|
368
|
+
showArrow: boolean;
|
|
369
|
+
hideClickOutside: boolean;
|
|
370
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
371
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
372
|
+
modelValue: {
|
|
373
|
+
type: BooleanConstructor;
|
|
374
|
+
default: boolean;
|
|
375
|
+
};
|
|
376
|
+
placement: {
|
|
377
|
+
type: StringConstructor;
|
|
378
|
+
default: string;
|
|
379
|
+
};
|
|
380
|
+
showArrow: {
|
|
381
|
+
type: BooleanConstructor;
|
|
382
|
+
default: boolean;
|
|
383
|
+
};
|
|
384
|
+
hideClickOutside: {
|
|
385
|
+
type: BooleanConstructor;
|
|
386
|
+
default: boolean;
|
|
387
|
+
};
|
|
388
|
+
tippyClass: {
|
|
389
|
+
type: StringConstructor;
|
|
390
|
+
default: string;
|
|
391
|
+
};
|
|
392
|
+
offset: {
|
|
393
|
+
type: () => number[];
|
|
394
|
+
default: () => number[];
|
|
395
|
+
};
|
|
396
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
397
|
+
show: (...args: any[]) => void;
|
|
398
|
+
"update:modelValue": (...args: any[]) => void;
|
|
399
|
+
hide: (...args: any[]) => void;
|
|
400
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
401
|
+
modelValue: {
|
|
402
|
+
type: BooleanConstructor;
|
|
403
|
+
default: boolean;
|
|
404
|
+
};
|
|
405
|
+
placement: {
|
|
406
|
+
type: StringConstructor;
|
|
407
|
+
default: string;
|
|
408
|
+
};
|
|
409
|
+
showArrow: {
|
|
410
|
+
type: BooleanConstructor;
|
|
411
|
+
default: boolean;
|
|
412
|
+
};
|
|
413
|
+
hideClickOutside: {
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
default: boolean;
|
|
416
|
+
};
|
|
417
|
+
tippyClass: {
|
|
418
|
+
type: StringConstructor;
|
|
419
|
+
default: string;
|
|
420
|
+
};
|
|
421
|
+
offset: {
|
|
422
|
+
type: () => number[];
|
|
423
|
+
default: () => number[];
|
|
424
|
+
};
|
|
425
|
+
}>> & Readonly<{
|
|
57
426
|
onShow?: (...args: any[]) => any;
|
|
58
427
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
59
|
-
|
|
428
|
+
onHide?: (...args: any[]) => any;
|
|
429
|
+
}>, {
|
|
60
430
|
offset: number[];
|
|
61
431
|
placement: string;
|
|
62
432
|
tippyClass: string;
|
|
63
433
|
modelValue: boolean;
|
|
64
434
|
showArrow: boolean;
|
|
65
435
|
hideClickOutside: boolean;
|
|
66
|
-
}, {}
|
|
67
|
-
|
|
68
|
-
"popover-content"?(_: {}): any;
|
|
69
|
-
}>;
|
|
436
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
437
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
70
438
|
export default _default;
|
|
71
|
-
type
|
|
439
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
72
440
|
new (): {
|
|
73
441
|
$slots: S;
|
|
74
442
|
};
|