@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,125 @@
|
|
|
1
|
+
import OIcon from './OIcon.vue';
|
|
2
|
+
declare const emit: (event: "blur" | "focus" | "update:modelValue", ...args: any[]) => void;
|
|
3
|
+
declare const input: import("vue").Ref<HTMLInputElement, HTMLInputElement>;
|
|
4
|
+
declare const value: import("vue").WritableComputedRef<string, string>;
|
|
5
|
+
declare function focus(): void;
|
|
6
|
+
declare function clear(): void;
|
|
7
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
9
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
10
|
+
prefix?: (props: typeof __VLS_1) => any;
|
|
11
|
+
} & {
|
|
12
|
+
suffix?: (props: typeof __VLS_3) => any;
|
|
13
|
+
}>;
|
|
14
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
placeholder: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
clearable: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
type: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
}>, {
|
|
32
|
+
OIcon: typeof OIcon;
|
|
33
|
+
emit: typeof emit;
|
|
34
|
+
input: typeof input;
|
|
35
|
+
value: typeof value;
|
|
36
|
+
clear: typeof clear;
|
|
37
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
blur: (...args: any[]) => void;
|
|
39
|
+
focus: (...args: any[]) => void;
|
|
40
|
+
"update:modelValue": (...args: any[]) => void;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
modelValue: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
placeholder: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
clearable: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
type: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{
|
|
59
|
+
onBlur?: (...args: any[]) => any;
|
|
60
|
+
onFocus?: (...args: any[]) => any;
|
|
61
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
62
|
+
}>, {
|
|
63
|
+
type: string;
|
|
64
|
+
placeholder: string;
|
|
65
|
+
modelValue: string;
|
|
66
|
+
clearable: boolean;
|
|
67
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
69
|
+
modelValue: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
placeholder: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
clearable: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
type: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
}>, {
|
|
86
|
+
clear: typeof clear;
|
|
87
|
+
focus: typeof focus;
|
|
88
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
|
+
blur: (...args: any[]) => void;
|
|
90
|
+
focus: (...args: any[]) => void;
|
|
91
|
+
"update:modelValue": (...args: any[]) => void;
|
|
92
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
+
modelValue: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
placeholder: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
clearable: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
type: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
}>> & Readonly<{
|
|
110
|
+
onBlur?: (...args: any[]) => any;
|
|
111
|
+
onFocus?: (...args: any[]) => any;
|
|
112
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
113
|
+
}>, {
|
|
114
|
+
type: string;
|
|
115
|
+
placeholder: string;
|
|
116
|
+
modelValue: string;
|
|
117
|
+
clearable: boolean;
|
|
118
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
119
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
120
|
+
export default _default;
|
|
121
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
122
|
+
new (): {
|
|
123
|
+
$slots: S;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
clickable: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
hoverable: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
clickable: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
hoverable: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>> & Readonly<{}>, {
|
|
25
|
+
clickable: boolean;
|
|
26
|
+
hoverable: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
29
|
+
clickable: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
hoverable: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
clickable: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
hoverable: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{}>, {
|
|
47
|
+
clickable: boolean;
|
|
48
|
+
hoverable: boolean;
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
3
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
4
|
+
prefix?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_3) => any;
|
|
7
|
+
} & {
|
|
8
|
+
suffix?: (props: typeof __VLS_5) => any;
|
|
9
|
+
}>;
|
|
10
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
|
+
hoverable: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
hoverable: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{}>, {
|
|
21
|
+
hoverable: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
24
|
+
hoverable: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
hoverable: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{}>, {
|
|
34
|
+
hoverable: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import 'tippy.js/animations/scale.css';
|
|
3
|
+
import 'tippy.js/animations/shift-away.css';
|
|
4
|
+
import 'tippy.js/animations/perspective.css';
|
|
5
|
+
declare const triggerRef: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
6
|
+
declare const contentRef: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
7
|
+
declare function setShow(show: boolean): void;
|
|
8
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
10
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
11
|
+
trigger?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_3) => any;
|
|
14
|
+
}>;
|
|
15
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
16
|
+
disable: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
arrow: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
offset: {
|
|
25
|
+
type: PropType<[number, number]>;
|
|
26
|
+
default: () => [number, number];
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Placement
|
|
30
|
+
*
|
|
31
|
+
* @see https://atomiks.github.io/tippyjs/#placements
|
|
32
|
+
*/
|
|
33
|
+
placement: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
trigger: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
tippyClass: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
contentClass: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
event: {
|
|
50
|
+
type: ObjectConstructor;
|
|
51
|
+
default: () => {};
|
|
52
|
+
};
|
|
53
|
+
delay: {
|
|
54
|
+
type: NumberConstructor;
|
|
55
|
+
default: number;
|
|
56
|
+
};
|
|
57
|
+
duration: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
61
|
+
}>, {
|
|
62
|
+
triggerRef: typeof triggerRef;
|
|
63
|
+
contentRef: typeof contentRef;
|
|
64
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
+
"update:show": (...args: any[]) => void;
|
|
66
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
disable: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
arrow: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
offset: {
|
|
76
|
+
type: PropType<[number, number]>;
|
|
77
|
+
default: () => [number, number];
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Placement
|
|
81
|
+
*
|
|
82
|
+
* @see https://atomiks.github.io/tippyjs/#placements
|
|
83
|
+
*/
|
|
84
|
+
placement: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
trigger: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
tippyClass: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
contentClass: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
event: {
|
|
101
|
+
type: ObjectConstructor;
|
|
102
|
+
default: () => {};
|
|
103
|
+
};
|
|
104
|
+
delay: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
duration: {
|
|
109
|
+
type: NumberConstructor;
|
|
110
|
+
default: number;
|
|
111
|
+
};
|
|
112
|
+
}>> & Readonly<{
|
|
113
|
+
"onUpdate:show"?: (...args: any[]) => any;
|
|
114
|
+
}>, {
|
|
115
|
+
disable: boolean;
|
|
116
|
+
arrow: boolean;
|
|
117
|
+
offset: [number, number];
|
|
118
|
+
placement: string;
|
|
119
|
+
trigger: string;
|
|
120
|
+
tippyClass: string;
|
|
121
|
+
contentClass: string;
|
|
122
|
+
event: Record<string, any>;
|
|
123
|
+
delay: number;
|
|
124
|
+
duration: number;
|
|
125
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
126
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
127
|
+
disable: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
arrow: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
offset: {
|
|
136
|
+
type: PropType<[number, number]>;
|
|
137
|
+
default: () => [number, number];
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Placement
|
|
141
|
+
*
|
|
142
|
+
* @see https://atomiks.github.io/tippyjs/#placements
|
|
143
|
+
*/
|
|
144
|
+
placement: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
trigger: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
tippyClass: {
|
|
153
|
+
type: StringConstructor;
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
156
|
+
contentClass: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
160
|
+
event: {
|
|
161
|
+
type: ObjectConstructor;
|
|
162
|
+
default: () => {};
|
|
163
|
+
};
|
|
164
|
+
delay: {
|
|
165
|
+
type: NumberConstructor;
|
|
166
|
+
default: number;
|
|
167
|
+
};
|
|
168
|
+
duration: {
|
|
169
|
+
type: NumberConstructor;
|
|
170
|
+
default: number;
|
|
171
|
+
};
|
|
172
|
+
}>, {
|
|
173
|
+
setShow: typeof setShow;
|
|
174
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
175
|
+
"update:show": (...args: any[]) => void;
|
|
176
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
177
|
+
disable: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
arrow: {
|
|
182
|
+
type: BooleanConstructor;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
offset: {
|
|
186
|
+
type: PropType<[number, number]>;
|
|
187
|
+
default: () => [number, number];
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Placement
|
|
191
|
+
*
|
|
192
|
+
* @see https://atomiks.github.io/tippyjs/#placements
|
|
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
|
+
contentClass: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
default: string;
|
|
209
|
+
};
|
|
210
|
+
event: {
|
|
211
|
+
type: ObjectConstructor;
|
|
212
|
+
default: () => {};
|
|
213
|
+
};
|
|
214
|
+
delay: {
|
|
215
|
+
type: NumberConstructor;
|
|
216
|
+
default: number;
|
|
217
|
+
};
|
|
218
|
+
duration: {
|
|
219
|
+
type: NumberConstructor;
|
|
220
|
+
default: number;
|
|
221
|
+
};
|
|
222
|
+
}>> & Readonly<{
|
|
223
|
+
"onUpdate:show"?: (...args: any[]) => any;
|
|
224
|
+
}>, {
|
|
225
|
+
disable: boolean;
|
|
226
|
+
arrow: boolean;
|
|
227
|
+
offset: [number, number];
|
|
228
|
+
placement: string;
|
|
229
|
+
trigger: string;
|
|
230
|
+
tippyClass: string;
|
|
231
|
+
contentClass: string;
|
|
232
|
+
event: Record<string, any>;
|
|
233
|
+
delay: number;
|
|
234
|
+
duration: number;
|
|
235
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
236
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
237
|
+
export default _default;
|
|
238
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
239
|
+
new (): {
|
|
240
|
+
$slots: S;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import 'tippy.js/animations/perspective.css';
|
|
2
|
+
export declare const OTooltip: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
placement: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
placement: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {
|
|
15
|
+
placement: string;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import 'tippy.js/animations/perspective.css';
|
|
3
|
+
declare const triggerRef: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
4
|
+
declare const contentRef: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
5
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
6
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
7
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
8
|
+
trigger?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_3) => any;
|
|
11
|
+
}>;
|
|
12
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
placement: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
trigger: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
delay: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
duration: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
offset: {
|
|
30
|
+
type: PropType<[number, number]>;
|
|
31
|
+
default: () => [number, number];
|
|
32
|
+
};
|
|
33
|
+
}>, {
|
|
34
|
+
triggerRef: typeof triggerRef;
|
|
35
|
+
contentRef: typeof contentRef;
|
|
36
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
placement: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
trigger: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
delay: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
duration: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: number;
|
|
52
|
+
};
|
|
53
|
+
offset: {
|
|
54
|
+
type: PropType<[number, number]>;
|
|
55
|
+
default: () => [number, number];
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
offset: [number, number];
|
|
59
|
+
placement: string;
|
|
60
|
+
trigger: string;
|
|
61
|
+
delay: number;
|
|
62
|
+
duration: number;
|
|
63
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
65
|
+
placement: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
trigger: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
delay: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
duration: {
|
|
78
|
+
type: NumberConstructor;
|
|
79
|
+
default: number;
|
|
80
|
+
};
|
|
81
|
+
offset: {
|
|
82
|
+
type: PropType<[number, number]>;
|
|
83
|
+
default: () => [number, number];
|
|
84
|
+
};
|
|
85
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
86
|
+
placement: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
trigger: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
delay: {
|
|
95
|
+
type: NumberConstructor;
|
|
96
|
+
default: number;
|
|
97
|
+
};
|
|
98
|
+
duration: {
|
|
99
|
+
type: NumberConstructor;
|
|
100
|
+
default: number;
|
|
101
|
+
};
|
|
102
|
+
offset: {
|
|
103
|
+
type: PropType<[number, number]>;
|
|
104
|
+
default: () => [number, number];
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{}>, {
|
|
107
|
+
offset: [number, number];
|
|
108
|
+
placement: string;
|
|
109
|
+
trigger: string;
|
|
110
|
+
delay: number;
|
|
111
|
+
duration: number;
|
|
112
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
113
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
114
|
+
export default _default;
|
|
115
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
116
|
+
new (): {
|
|
117
|
+
$slots: S;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const BasicBlocks: BlockOption[];
|
|
2
|
+
export declare const StyleBlocks: BlockOption[];
|
|
3
|
+
export declare const CommonBlocks: BlockOption[];
|
|
4
|
+
export declare const Blocks: BlockOption[];
|
|
5
|
+
export declare const BlockMenus: BlockOption[];
|
|
6
|
+
export declare const AskAiBlocks: BlockOption[];
|
|
7
|
+
export declare const AiBlocks: BlockOption[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Empty Blocks
|
|
3
|
+
*/
|
|
4
|
+
export declare const EmptyParagraph: {
|
|
5
|
+
type: string;
|
|
6
|
+
content: any[];
|
|
7
|
+
}[];
|
|
8
|
+
export declare const EmptyListItem: {
|
|
9
|
+
type: string;
|
|
10
|
+
content: {
|
|
11
|
+
type: string;
|
|
12
|
+
content: any[];
|
|
13
|
+
}[];
|
|
14
|
+
}[];
|
|
15
|
+
export declare const EmptyTaskItem: {
|
|
16
|
+
type: string;
|
|
17
|
+
content: {
|
|
18
|
+
type: string;
|
|
19
|
+
content: any[];
|
|
20
|
+
}[];
|
|
21
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Languages: BlockOption[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Menu
|
|
3
|
+
*/
|
|
4
|
+
export declare const DefaultMenu: string[];
|
|
5
|
+
/**
|
|
6
|
+
* Table toolbar
|
|
7
|
+
*/
|
|
8
|
+
export declare const TableMenu: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Bubble toolbar
|
|
11
|
+
*/
|
|
12
|
+
export declare const DefaultBubble: string[];
|
|
13
|
+
export declare const LinkBubble: string[];
|
|
14
|
+
export declare const ImageBubble: string[];
|
|
15
|
+
export declare const ImageLinkBubble: string[];
|
|
16
|
+
export declare const MoreBubble: string[];
|
|
17
|
+
export declare const TableBubble: string[];
|
|
18
|
+
export declare const TableWrapperBubble: string[];
|
|
19
|
+
/**
|
|
20
|
+
* Floating Menu
|
|
21
|
+
*/
|
|
22
|
+
export declare const DefaultFloating: string[];
|
|
23
|
+
export declare const TableFloating: string[];
|
|
24
|
+
export declare const DefaultEmbedServices: {
|
|
25
|
+
video: string[];
|
|
26
|
+
map: string[];
|
|
27
|
+
design: string[];
|
|
28
|
+
develop: string[];
|
|
29
|
+
data: string[];
|
|
30
|
+
others: string[];
|
|
31
|
+
};
|