@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,96 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["editor"]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
node: {
|
|
7
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["node"]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
decorations: {
|
|
11
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["decorations"]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
selected: {
|
|
15
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["selected"]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
extension: {
|
|
19
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["extension"]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
getPos: {
|
|
23
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["getPos"]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
updateAttributes: {
|
|
27
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["updateAttributes"]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
deleteNode: {
|
|
31
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["deleteNode"]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
view: {
|
|
35
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["view"]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
innerDecorations: {
|
|
39
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["innerDecorations"]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
HTMLAttributes: {
|
|
43
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["HTMLAttributes"]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
action: (...args: any[]) => void;
|
|
48
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
editor: {
|
|
50
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["editor"]>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
node: {
|
|
54
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["node"]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
decorations: {
|
|
58
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["decorations"]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
selected: {
|
|
62
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["selected"]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
extension: {
|
|
66
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["extension"]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
getPos: {
|
|
70
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["getPos"]>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
updateAttributes: {
|
|
74
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["updateAttributes"]>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
deleteNode: {
|
|
78
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["deleteNode"]>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
view: {
|
|
82
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["view"]>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
innerDecorations: {
|
|
86
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["innerDecorations"]>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
HTMLAttributes: {
|
|
90
|
+
type: import("vue").PropType<import("@tiptap/vue-3").NodeViewProps["HTMLAttributes"]>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
}>> & Readonly<{
|
|
94
|
+
onAction?: (...args: any[]) => any;
|
|
95
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
96
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export { default as OBlockPlaceholder } from './common/OBlockPlaceholder.vue';
|
|
2
|
+
export { default as OBlockList } from './common/OBlockList.vue';
|
|
3
|
+
export { default as OBlockListItem } from './common/OBlockListItem.vue';
|
|
4
|
+
export { default as OBlockMenu } from './common/OBlockMenu.vue';
|
|
5
|
+
export { default as OBlockPopover } from './common/OBlockPopover.vue';
|
|
6
|
+
export { default as OBlockToolbar } from './common/OBlockToolbar.vue';
|
|
7
|
+
export { default as OCalloutColorBoard } from './common/OCalloutColorBoard.vue';
|
|
8
|
+
export { default as OCalloutColorDropdown } from './common/OCalloutColorDropdown.vue';
|
|
9
|
+
export { default as OContextMenu } from './common/OContextMenu.vue';
|
|
10
|
+
export { default as OColorBoard } from './common/OColorBoard.vue';
|
|
11
|
+
export { default as OCommandBtn } from './common/OCommandBtn.vue';
|
|
12
|
+
export { default as OCommonBtn } from './common/OCommonBtn.vue';
|
|
13
|
+
export { default as ODocToc } from './common/ODocToc.vue';
|
|
14
|
+
export { default as OEmojiSelect } from './common/OEmojiSelect.vue';
|
|
15
|
+
export { default as OLanguageDropdown } from './common/OLanguageDropdown.vue';
|
|
16
|
+
export { default as OMediaInput } from './common/OMediaInput.vue';
|
|
17
|
+
export { default as OMetaInput } from './common/OMetaInput.vue';
|
|
18
|
+
export { default as OMenubarBtn } from './common/OMenubarBtn.vue';
|
|
19
|
+
export { default as OTableGrid } from './common/OTableGrid.vue';
|
|
20
|
+
export { default as OTableCellBackground } from './common/OTableCellBackground.vue';
|
|
21
|
+
export { default as OTextColorBoard } from './common/OTextColorBoard.vue';
|
|
22
|
+
export { OToast } from './common/OToast';
|
|
23
|
+
export { default as ONodeView } from './common/ONodeView.vue';
|
|
24
|
+
export { default as AddNode } from './common/o-side-menu/AddNode.vue';
|
|
25
|
+
export { default as DragNode } from './common/o-side-menu/DragNode.vue';
|
|
26
|
+
export { default as OBtn } from './ui/OBtn.vue';
|
|
27
|
+
export { default as OBtnGroup } from './ui/OBtnGroup.vue';
|
|
28
|
+
export { default as OCheckbox } from './ui/OCheckbox.vue';
|
|
29
|
+
export { default as ODivider } from './ui/ODivider.vue';
|
|
30
|
+
export { default as OIcon } from './ui/OIcon.vue';
|
|
31
|
+
export { default as OInput } from './ui/OInput.vue';
|
|
32
|
+
export { default as OList } from './ui/OList.vue';
|
|
33
|
+
export { default as OListItem } from './ui/OListItem.vue';
|
|
34
|
+
export { default as OPopover } from './ui/OPopover.vue';
|
|
35
|
+
export { default as OTooltip } from './ui/OTooltip.vue';
|
|
36
|
+
export { default as OMainMenu } from './menus/OMainMenu.vue';
|
|
37
|
+
export { default as OAiMenu } from './menus/OAiMenu.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getComponent: (name: string) => any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
editor: {
|
|
4
|
+
type: typeof Editor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
menuClass: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
confirm: (...args: any[]) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
editor: {
|
|
15
|
+
type: typeof Editor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
menuClass: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
onConfirm?: (...args: any[]) => any;
|
|
24
|
+
}>, {
|
|
25
|
+
menuClass: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
editor: {
|
|
4
|
+
type: typeof Editor;
|
|
5
|
+
};
|
|
6
|
+
menu: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => any[];
|
|
9
|
+
};
|
|
10
|
+
tableToolbar: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => any[];
|
|
13
|
+
};
|
|
14
|
+
menuClass: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
editor: {
|
|
20
|
+
type: typeof Editor;
|
|
21
|
+
};
|
|
22
|
+
menu: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
default: () => any[];
|
|
25
|
+
};
|
|
26
|
+
tableToolbar: {
|
|
27
|
+
type: ArrayConstructor;
|
|
28
|
+
default: () => any[];
|
|
29
|
+
};
|
|
30
|
+
menuClass: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>> & Readonly<{}>, {
|
|
35
|
+
menu: unknown[];
|
|
36
|
+
menuClass: string;
|
|
37
|
+
tableToolbar: unknown[];
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/vue-3';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
editor: {
|
|
4
|
+
type: typeof Editor;
|
|
5
|
+
};
|
|
6
|
+
menu: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => any[];
|
|
9
|
+
};
|
|
10
|
+
tableToolbar: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => any[];
|
|
13
|
+
};
|
|
14
|
+
menuClass: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
editor: {
|
|
20
|
+
type: typeof Editor;
|
|
21
|
+
};
|
|
22
|
+
menu: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
default: () => any[];
|
|
25
|
+
};
|
|
26
|
+
tableToolbar: {
|
|
27
|
+
type: ArrayConstructor;
|
|
28
|
+
default: () => any[];
|
|
29
|
+
};
|
|
30
|
+
menuClass: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>> & Readonly<{}>, {
|
|
35
|
+
menu: unknown[];
|
|
36
|
+
menuClass: string;
|
|
37
|
+
tableToolbar: unknown[];
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { getComponent } from '../menu';
|
|
2
|
+
import { ODivider } from '../index';
|
|
3
|
+
declare const dynamicMenu: import("vue").ComputedRef<unknown[]>;
|
|
4
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
|
+
declare var __VLS_13: {}, __VLS_15: {};
|
|
6
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
7
|
+
left?: (props: typeof __VLS_13) => any;
|
|
8
|
+
} & {
|
|
9
|
+
right?: (props: typeof __VLS_15) => any;
|
|
10
|
+
}>;
|
|
11
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
editor: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
};
|
|
15
|
+
menu: {
|
|
16
|
+
type: ArrayConstructor;
|
|
17
|
+
default: () => any[];
|
|
18
|
+
};
|
|
19
|
+
}>, {
|
|
20
|
+
getComponent: typeof getComponent;
|
|
21
|
+
ODivider: typeof ODivider;
|
|
22
|
+
dynamicMenu: typeof dynamicMenu;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
editor: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
};
|
|
27
|
+
menu: {
|
|
28
|
+
type: ArrayConstructor;
|
|
29
|
+
default: () => any[];
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
|
+
menu: unknown[];
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
35
|
+
editor: {
|
|
36
|
+
type: ObjectConstructor;
|
|
37
|
+
};
|
|
38
|
+
menu: {
|
|
39
|
+
type: ArrayConstructor;
|
|
40
|
+
default: () => any[];
|
|
41
|
+
};
|
|
42
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
editor: {
|
|
44
|
+
type: ObjectConstructor;
|
|
45
|
+
};
|
|
46
|
+
menu: {
|
|
47
|
+
type: ArrayConstructor;
|
|
48
|
+
default: () => any[];
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{}>, {
|
|
51
|
+
menu: unknown[];
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
editor: {
|
|
4
|
+
type: typeof Editor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
menuClass: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
editor: {
|
|
13
|
+
type: typeof Editor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
menuClass: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{}>, {
|
|
21
|
+
menuClass: string;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { OIcon } from '../index';
|
|
2
|
+
declare const emit: (event: "click", ...args: any[]) => void;
|
|
3
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
4
|
+
declare var __VLS_5: {};
|
|
5
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
6
|
+
default?: (props: typeof __VLS_5) => any;
|
|
7
|
+
}>;
|
|
8
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
+
icon: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
iconClass: {
|
|
14
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
type: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
loading: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
OIcon: typeof OIcon;
|
|
31
|
+
emit: typeof emit;
|
|
32
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
click: (...args: any[]) => void;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
icon: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
iconClass: {
|
|
40
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
label: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
type: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
loading: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{
|
|
56
|
+
onClick?: (...args: any[]) => any;
|
|
57
|
+
}>, {
|
|
58
|
+
type: string;
|
|
59
|
+
label: string;
|
|
60
|
+
icon: string;
|
|
61
|
+
iconClass: string | Record<string, any>;
|
|
62
|
+
loading: boolean;
|
|
63
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
65
|
+
icon: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
iconClass: {
|
|
70
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
label: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
type: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
loading: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
86
|
+
click: (...args: any[]) => void;
|
|
87
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
|
+
icon: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
iconClass: {
|
|
93
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
label: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
type: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
loading: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
}>> & Readonly<{
|
|
109
|
+
onClick?: (...args: any[]) => any;
|
|
110
|
+
}>, {
|
|
111
|
+
type: string;
|
|
112
|
+
label: string;
|
|
113
|
+
icon: string;
|
|
114
|
+
iconClass: string | Record<string, any>;
|
|
115
|
+
loading: boolean;
|
|
116
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
118
|
+
export default _default;
|
|
119
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
120
|
+
new (): {
|
|
121
|
+
$slots: S;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
}>;
|
|
6
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
+
icon: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
iconClass: {
|
|
12
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
type: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
click: (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
icon: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
iconClass: {
|
|
31
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
label: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
type: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
}>> & Readonly<{
|
|
43
|
+
onClick?: (...args: any[]) => any;
|
|
44
|
+
}>, {
|
|
45
|
+
type: string;
|
|
46
|
+
label: string;
|
|
47
|
+
icon: string;
|
|
48
|
+
iconClass: string | Record<string, any>;
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
51
|
+
icon: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
iconClass: {
|
|
56
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
label: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
type: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
68
|
+
click: (...args: any[]) => void;
|
|
69
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
icon: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
iconClass: {
|
|
75
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
label: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
type: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
}>> & Readonly<{
|
|
87
|
+
onClick?: (...args: any[]) => any;
|
|
88
|
+
}>, {
|
|
89
|
+
type: string;
|
|
90
|
+
label: string;
|
|
91
|
+
icon: string;
|
|
92
|
+
iconClass: string | Record<string, any>;
|
|
93
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
94
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
95
|
+
export default _default;
|
|
96
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
97
|
+
new (): {
|
|
98
|
+
$slots: S;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
label: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (...args: any[]) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
23
|
+
}>, {
|
|
24
|
+
label: string;
|
|
25
|
+
modelValue: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
vertical: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
vertical: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
vertical: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/**
|
|
3
|
+
* Icon name
|
|
4
|
+
*/
|
|
5
|
+
name: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Icon color, color name, or hex value
|
|
11
|
+
*/
|
|
12
|
+
color: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Small
|
|
18
|
+
*/
|
|
19
|
+
small: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
/**
|
|
25
|
+
* Icon name
|
|
26
|
+
*/
|
|
27
|
+
name: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Icon color, color name, or hex value
|
|
33
|
+
*/
|
|
34
|
+
color: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Small
|
|
40
|
+
*/
|
|
41
|
+
small: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
name: string;
|
|
47
|
+
small: boolean;
|
|
48
|
+
color: string;
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export default _default;
|