@yiitap/vue 0.4.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/LICENSE +21 -0
- package/README.md +13 -0
- package/dist/index.cjs +199 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +199 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +45043 -0
- package/dist/index.mjs.map +1 -0
- package/dist/vue.css +1 -0
- package/package.json +120 -0
- package/types/__tests__/index.spec.d.ts +1 -0
- package/types/components/YiiEditor.vue.d.ts +701 -0
- package/types/components/buttons/OAiBtn.vue.d.ts +20 -0
- package/types/components/buttons/OAlignDropdown.vue.d.ts +10 -0
- package/types/components/buttons/OAlignGroup.vue.d.ts +11 -0
- package/types/components/buttons/OBackColorDropdown.vue.d.ts +10 -0
- package/types/components/buttons/OEmojiBtn.vue.d.ts +10 -0
- package/types/components/buttons/OFontFamilyDropdown.vue.d.ts +10 -0
- package/types/components/buttons/OForeColorDropdown.vue.d.ts +10 -0
- package/types/components/buttons/OHeadingDropdown.vue.d.ts +10 -0
- package/types/components/buttons/OLinkBtn.vue.d.ts +11 -0
- package/types/components/buttons/OLinkEditBtn.vue.d.ts +13 -0
- package/types/components/buttons/OLinkOpenBtn.vue.d.ts +10 -0
- package/types/components/buttons/OListDropdown.vue.d.ts +10 -0
- package/types/components/buttons/OListGroup.vue.d.ts +13 -0
- package/types/components/buttons/OMoreBubble.vue.d.ts +13 -0
- package/types/components/buttons/OSimpleCommandBtn.vue.d.ts +20 -0
- package/types/components/buttons/OStyleDropdown.vue.d.ts +10 -0
- package/types/components/buttons/OTableBtn.vue.d.ts +10 -0
- package/types/components/buttons/OTableGroup.vue.d.ts +13 -0
- package/types/components/buttons/OTextColorDropdown.vue.d.ts +11 -0
- package/types/components/buttons/OTextFormatDropdown.vue.d.ts +11 -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/OBlockMenu.vue.d.ts +69 -0
- package/types/components/common/OBlockPlaceholder.vue.d.ts +23 -0
- package/types/components/common/OBlockPopover.vue.d.ts +534 -0
- package/types/components/common/OBlockToolbar.vue.d.ts +593 -0
- package/types/components/common/OCalloutColorBoard.vue.d.ts +36 -0
- package/types/components/common/OCalloutColorDropdown.vue.d.ts +14 -0
- package/types/components/common/OColorBoard.vue.d.ts +36 -0
- package/types/components/common/OCommandBtn.vue.d.ts +196 -0
- package/types/components/common/OCommonBtn.vue.d.ts +214 -0
- package/types/components/common/OContextMenu.vue.d.ts +469 -0
- package/types/components/common/ODocToc.vue.d.ts +68 -0
- package/types/components/common/OEmojiSelect.vue.d.ts +26 -0
- package/types/components/common/OLanguageDropdown.vue.d.ts +18 -0
- package/types/components/common/OMediaInput.vue.d.ts +27 -0
- package/types/components/common/OMenubarBtn.vue.d.ts +179 -0
- package/types/components/common/OMetaInput.vue.d.ts +155 -0
- package/types/components/common/ONodeView.vue.d.ts +213 -0
- package/types/components/common/OTableCellBackground.vue.d.ts +10 -0
- package/types/components/common/OTableGrid.vue.d.ts +6 -0
- package/types/components/common/OTextColorBoard.vue.d.ts +36 -0
- package/types/components/common/OToast.d.ts +11 -0
- 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 +64 -0
- 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/index.d.ts +37 -0
- package/types/components/menu.d.ts +1 -0
- package/types/components/menus/OAiMenu.vue.d.ts +27 -0
- package/types/components/menus/OBubbleMenu.vue.d.ts +39 -0
- package/types/components/menus/OFloatingMenu.vue.d.ts +39 -0
- package/types/components/menus/OMainMenu.vue.d.ts +59 -0
- package/types/components/menus/OSideMenu.vue.d.ts +23 -0
- package/types/components/menus/side-menu/index.d.ts +2 -0
- package/types/components/ui/OBtn.vue.d.ts +123 -0
- package/types/components/ui/OBtnGroup.vue.d.ts +100 -0
- package/types/components/ui/OCheckbox.vue.d.ts +27 -0
- package/types/components/ui/ODivider.vue.d.ts +14 -0
- package/types/components/ui/OIcon.vue.d.ts +50 -0
- package/types/components/ui/OInput.vue.d.ts +125 -0
- package/types/components/ui/OList.vue.d.ts +56 -0
- package/types/components/ui/OListItem.vue.d.ts +42 -0
- package/types/components/ui/OPopover.vue.d.ts +242 -0
- package/types/components/ui/OTooltip.d.ts +16 -0
- package/types/components/ui/OTooltip.vue.d.ts +119 -0
- package/types/constants/ai.d.ts +6 -0
- package/types/constants/block.d.ts +7 -0
- package/types/constants/color.d.ts +5 -0
- package/types/constants/data.d.ts +4 -0
- package/types/constants/empty-block.d.ts +21 -0
- package/types/constants/index.d.ts +4 -0
- package/types/constants/language.d.ts +1 -0
- package/types/constants/menu.d.ts +31 -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/blockquote/index.d.ts +3 -0
- package/types/extensions/blockquote/view.vue.d.ts +92 -0
- package/types/extensions/callout/index.d.ts +3 -0
- package/types/extensions/callout/view.vue.d.ts +92 -0
- package/types/extensions/char-command/emoji/suggestion.d.ts +14 -0
- package/types/extensions/char-command/emoji/view.vue.d.ts +72 -0
- package/types/extensions/char-command/slash/suggestion.d.ts +14 -0
- package/types/extensions/char-command/slash/view.vue.d.ts +192 -0
- package/types/extensions/code-block/index.d.ts +3 -0
- package/types/extensions/code-block/view.vue.d.ts +92 -0
- package/types/extensions/dynamic.d.ts +7 -0
- package/types/extensions/heading/index.d.ts +7 -0
- package/types/extensions/heading/view.vue.d.ts +92 -0
- package/types/extensions/horizontal-rule/index.d.ts +2 -0
- package/types/extensions/horizontal-rule/view.vue.d.ts +92 -0
- package/types/extensions/image/index.d.ts +3 -0
- package/types/extensions/image/view.vue.d.ts +92 -0
- package/types/extensions/index.d.ts +49 -0
- package/types/extensions/link/helpers/clickSelectHandler.d.ts +2 -0
- package/types/extensions/link/index.d.ts +3 -0
- package/types/extensions/paragraph/index.d.ts +2 -0
- package/types/extensions/paragraph/view.vue.d.ts +92 -0
- package/types/extensions/side-menu/index.d.ts +2 -0
- package/types/extensions/side-menu/side-menu-plugin.d.ts +72 -0
- package/types/extensions/side-menu/utils.d.ts +50 -0
- package/types/extensions/table-cell/index.d.ts +3 -0
- package/types/extensions/table-cell/view.vue.d.ts +92 -0
- package/types/extensions/table-header/index.d.ts +3 -0
- package/types/extensions/table-header/view.vue.d.ts +92 -0
- package/types/extensions/table-wrapper/index.d.ts +2 -0
- package/types/extensions/table-wrapper/view.vue.d.ts +92 -0
- package/types/extensions/video/index.d.ts +2 -0
- package/types/extensions/video/view.vue.d.ts +92 -0
- package/types/hooks/index.d.ts +5 -0
- package/types/hooks/useAi.d.ts +6 -0
- package/types/hooks/useI18n.d.ts +8 -0
- package/types/hooks/useNodeView.d.ts +6 -0
- package/types/hooks/useTheme.d.ts +6 -0
- package/types/hooks/useTiptap.d.ts +8 -0
- package/types/i18n/index.d.ts +4 -0
- package/types/i18n/messages/en.d.ts +232 -0
- package/types/i18n/messages/pl.d.ts +182 -0
- package/types/i18n/messages/pt-br.d.ts +182 -0
- package/types/i18n/messages/zh-hans.d.ts +230 -0
- package/types/i18n/messages/zh-hant.d.ts +183 -0
- package/types/index.d.ts +11 -0
- package/types/utils/convert.d.ts +1 -0
- package/types/utils/uuid.d.ts +1 -0
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import OIcon from '../ui/OIcon.vue';
|
|
2
|
+
import OTooltip from '../ui/OTooltip.vue';
|
|
3
|
+
declare const emit: (event: "click", ...args: any[]) => void;
|
|
4
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
}>;
|
|
9
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
icon: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
background: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
tooltip: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
placement: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
contentClass: {
|
|
31
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
contentStyle: {
|
|
35
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
iconClass: {
|
|
39
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
}>, {
|
|
43
|
+
OIcon: typeof OIcon;
|
|
44
|
+
OTooltip: typeof OTooltip;
|
|
45
|
+
emit: typeof emit;
|
|
46
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
click: (...args: any[]) => void;
|
|
48
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
icon: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
color: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
background: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
tooltip: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
placement: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
contentClass: {
|
|
70
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
contentStyle: {
|
|
74
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
iconClass: {
|
|
78
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
}>> & Readonly<{
|
|
82
|
+
onClick?: (...args: any[]) => any;
|
|
83
|
+
}>, {
|
|
84
|
+
color: string;
|
|
85
|
+
icon: string;
|
|
86
|
+
placement: string;
|
|
87
|
+
contentClass: string | Record<string, any>;
|
|
88
|
+
background: string;
|
|
89
|
+
tooltip: string;
|
|
90
|
+
contentStyle: string | Record<string, any>;
|
|
91
|
+
iconClass: string | Record<string, any>;
|
|
92
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
93
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
94
|
+
icon: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
color: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
background: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
tooltip: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
placement: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
contentClass: {
|
|
115
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
contentStyle: {
|
|
119
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
iconClass: {
|
|
123
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
|
+
click: (...args: any[]) => void;
|
|
128
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
+
icon: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
color: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
background: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
tooltip: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
placement: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
contentClass: {
|
|
150
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
contentStyle: {
|
|
154
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
iconClass: {
|
|
158
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
}>> & Readonly<{
|
|
162
|
+
onClick?: (...args: any[]) => any;
|
|
163
|
+
}>, {
|
|
164
|
+
color: string;
|
|
165
|
+
icon: string;
|
|
166
|
+
placement: string;
|
|
167
|
+
contentClass: string | Record<string, any>;
|
|
168
|
+
background: string;
|
|
169
|
+
tooltip: string;
|
|
170
|
+
contentStyle: string | Record<string, any>;
|
|
171
|
+
iconClass: string | Record<string, any>;
|
|
172
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
173
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
174
|
+
export default _default;
|
|
175
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
176
|
+
new (): {
|
|
177
|
+
$slots: S;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { OBtn, OIcon, OInput } from '../index';
|
|
2
|
+
declare const emit: (event: "cancel" | "confirm", ...args: any[]) => void;
|
|
3
|
+
declare const tr: (key: string) => any;
|
|
4
|
+
declare const input: import("vue").Ref<any, any>;
|
|
5
|
+
declare const value: import("vue").Ref<string, string>;
|
|
6
|
+
declare function onConfirm(): void;
|
|
7
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
|
+
declare var __VLS_1: {};
|
|
9
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
10
|
+
'header-right'?: (props: typeof __VLS_1) => any;
|
|
11
|
+
}>;
|
|
12
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
val: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
title: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
type: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
icon: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
secondIcon: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
secondLabel: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>, {
|
|
38
|
+
OBtn: typeof OBtn;
|
|
39
|
+
OIcon: typeof OIcon;
|
|
40
|
+
OInput: typeof OInput;
|
|
41
|
+
emit: typeof emit;
|
|
42
|
+
tr: typeof tr;
|
|
43
|
+
input: typeof input;
|
|
44
|
+
value: typeof value;
|
|
45
|
+
onConfirm: typeof onConfirm;
|
|
46
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
cancel: (...args: any[]) => void;
|
|
48
|
+
confirm: (...args: any[]) => void;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
val: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
title: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
type: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
icon: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
secondIcon: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
secondLabel: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{
|
|
75
|
+
onCancel?: (...args: any[]) => any;
|
|
76
|
+
onConfirm?: (...args: any[]) => any;
|
|
77
|
+
}>, {
|
|
78
|
+
type: string;
|
|
79
|
+
title: string;
|
|
80
|
+
icon: string;
|
|
81
|
+
val: string;
|
|
82
|
+
secondIcon: string;
|
|
83
|
+
secondLabel: string;
|
|
84
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
85
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
86
|
+
val: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
title: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
type: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
icon: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
secondIcon: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
secondLabel: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
111
|
+
cancel: (...args: any[]) => void;
|
|
112
|
+
confirm: (...args: any[]) => void;
|
|
113
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
114
|
+
val: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
title: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
type: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
icon: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
secondIcon: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
secondLabel: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
}>> & Readonly<{
|
|
139
|
+
onCancel?: (...args: any[]) => any;
|
|
140
|
+
onConfirm?: (...args: any[]) => any;
|
|
141
|
+
}>, {
|
|
142
|
+
type: string;
|
|
143
|
+
title: string;
|
|
144
|
+
icon: string;
|
|
145
|
+
val: string;
|
|
146
|
+
secondIcon: string;
|
|
147
|
+
secondLabel: string;
|
|
148
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
149
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
150
|
+
export default _default;
|
|
151
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
152
|
+
new (): {
|
|
153
|
+
$slots: S;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { NodeViewWrapper } from '@tiptap/vue-3';
|
|
2
|
+
import OSideNode from './o-side-node/index.vue';
|
|
3
|
+
declare const emit: (event: "action", ...args: any[]) => void;
|
|
4
|
+
declare const enableSideNode: {
|
|
5
|
+
value: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
|
+
declare var __VLS_13: {};
|
|
9
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
10
|
+
default?: (props: typeof __VLS_13) => any;
|
|
11
|
+
}>;
|
|
12
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
editor: {
|
|
14
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["editor"]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
node: {
|
|
18
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["node"]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
decorations: {
|
|
22
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["decorations"]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
selected: {
|
|
26
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["selected"]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
extension: {
|
|
30
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["extension"]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
getPos: {
|
|
34
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["getPos"]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
updateAttributes: {
|
|
38
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["updateAttributes"]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
deleteNode: {
|
|
42
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["deleteNode"]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
view: {
|
|
46
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["view"]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
innerDecorations: {
|
|
50
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["innerDecorations"]>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
HTMLAttributes: {
|
|
54
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["HTMLAttributes"]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
}>, {
|
|
58
|
+
NodeViewWrapper: typeof NodeViewWrapper;
|
|
59
|
+
OSideNode: typeof OSideNode;
|
|
60
|
+
emit: typeof emit;
|
|
61
|
+
enableSideNode: typeof enableSideNode;
|
|
62
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
63
|
+
action: (...args: any[]) => void;
|
|
64
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
+
editor: {
|
|
66
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["editor"]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
node: {
|
|
70
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["node"]>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
decorations: {
|
|
74
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["decorations"]>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
selected: {
|
|
78
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["selected"]>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
extension: {
|
|
82
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["extension"]>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
getPos: {
|
|
86
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["getPos"]>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
updateAttributes: {
|
|
90
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["updateAttributes"]>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
deleteNode: {
|
|
94
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["deleteNode"]>;
|
|
95
|
+
required: true;
|
|
96
|
+
};
|
|
97
|
+
view: {
|
|
98
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["view"]>;
|
|
99
|
+
required: true;
|
|
100
|
+
};
|
|
101
|
+
innerDecorations: {
|
|
102
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["innerDecorations"]>;
|
|
103
|
+
required: true;
|
|
104
|
+
};
|
|
105
|
+
HTMLAttributes: {
|
|
106
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["HTMLAttributes"]>;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
}>> & Readonly<{
|
|
110
|
+
onAction?: (...args: any[]) => any;
|
|
111
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
113
|
+
editor: {
|
|
114
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["editor"]>;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
node: {
|
|
118
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["node"]>;
|
|
119
|
+
required: true;
|
|
120
|
+
};
|
|
121
|
+
decorations: {
|
|
122
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["decorations"]>;
|
|
123
|
+
required: true;
|
|
124
|
+
};
|
|
125
|
+
selected: {
|
|
126
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["selected"]>;
|
|
127
|
+
required: true;
|
|
128
|
+
};
|
|
129
|
+
extension: {
|
|
130
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["extension"]>;
|
|
131
|
+
required: true;
|
|
132
|
+
};
|
|
133
|
+
getPos: {
|
|
134
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["getPos"]>;
|
|
135
|
+
required: true;
|
|
136
|
+
};
|
|
137
|
+
updateAttributes: {
|
|
138
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["updateAttributes"]>;
|
|
139
|
+
required: true;
|
|
140
|
+
};
|
|
141
|
+
deleteNode: {
|
|
142
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["deleteNode"]>;
|
|
143
|
+
required: true;
|
|
144
|
+
};
|
|
145
|
+
view: {
|
|
146
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["view"]>;
|
|
147
|
+
required: true;
|
|
148
|
+
};
|
|
149
|
+
innerDecorations: {
|
|
150
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["innerDecorations"]>;
|
|
151
|
+
required: true;
|
|
152
|
+
};
|
|
153
|
+
HTMLAttributes: {
|
|
154
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["HTMLAttributes"]>;
|
|
155
|
+
required: true;
|
|
156
|
+
};
|
|
157
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
158
|
+
action: (...args: any[]) => void;
|
|
159
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
160
|
+
editor: {
|
|
161
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["editor"]>;
|
|
162
|
+
required: true;
|
|
163
|
+
};
|
|
164
|
+
node: {
|
|
165
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["node"]>;
|
|
166
|
+
required: true;
|
|
167
|
+
};
|
|
168
|
+
decorations: {
|
|
169
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["decorations"]>;
|
|
170
|
+
required: true;
|
|
171
|
+
};
|
|
172
|
+
selected: {
|
|
173
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["selected"]>;
|
|
174
|
+
required: true;
|
|
175
|
+
};
|
|
176
|
+
extension: {
|
|
177
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["extension"]>;
|
|
178
|
+
required: true;
|
|
179
|
+
};
|
|
180
|
+
getPos: {
|
|
181
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["getPos"]>;
|
|
182
|
+
required: true;
|
|
183
|
+
};
|
|
184
|
+
updateAttributes: {
|
|
185
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["updateAttributes"]>;
|
|
186
|
+
required: true;
|
|
187
|
+
};
|
|
188
|
+
deleteNode: {
|
|
189
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["deleteNode"]>;
|
|
190
|
+
required: true;
|
|
191
|
+
};
|
|
192
|
+
view: {
|
|
193
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["view"]>;
|
|
194
|
+
required: true;
|
|
195
|
+
};
|
|
196
|
+
innerDecorations: {
|
|
197
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["innerDecorations"]>;
|
|
198
|
+
required: true;
|
|
199
|
+
};
|
|
200
|
+
HTMLAttributes: {
|
|
201
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["HTMLAttributes"]>;
|
|
202
|
+
required: true;
|
|
203
|
+
};
|
|
204
|
+
}>> & Readonly<{
|
|
205
|
+
onAction?: (...args: any[]) => any;
|
|
206
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
207
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
208
|
+
export default _default;
|
|
209
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
210
|
+
new (): {
|
|
211
|
+
$slots: S;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
editor: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
};
|
|
9
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
select: (...args: any[]) => void;
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onSelect?: (...args: any[]) => any;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
foreColor: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
backColor: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
activeColor: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
select: (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
foreColor: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
backColor: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
activeColor: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{
|
|
30
|
+
onSelect?: (...args: any[]) => any;
|
|
31
|
+
}>, {
|
|
32
|
+
foreColor: string;
|
|
33
|
+
backColor: string;
|
|
34
|
+
activeColor: string;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare class ToastManager {
|
|
2
|
+
private instances;
|
|
3
|
+
error(message: string, duration?: number): void;
|
|
4
|
+
info(message: string, duration?: number): void;
|
|
5
|
+
success(message: string, duration?: number): void;
|
|
6
|
+
warning(message: string, duration?: number): void;
|
|
7
|
+
show(message: string, type?: 'success' | 'error' | 'info' | 'warning', duration?: number): void;
|
|
8
|
+
private repositionToasts;
|
|
9
|
+
}
|
|
10
|
+
export declare const OToast: ToastManager;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
editor: {
|
|
26
|
+
type: PropType<NodeViewProps["editor"]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
node: {
|
|
30
|
+
type: PropType<NodeViewProps["node"]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
getPos: {
|
|
34
|
+
type: PropType<NodeViewProps["getPos"]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
updateAttributes: {
|
|
38
|
+
type: PropType<NodeViewProps["updateAttributes"]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
deleteNode: {
|
|
42
|
+
type: PropType<NodeViewProps["deleteNode"]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
export default _default;
|