@deskhero/dh_ui 2.53.1 → 2.54.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/package.json +1 -1
- package/dist/adapters/editorjs/EditorjsTransformer.d.ts +0 -3
- package/dist/adapters/editorjs/EditorjsView.vue.d.ts +0 -72
- package/dist/adapters/tiptap/SimpleTemplate.vue.d.ts +0 -29
- package/dist/adapters/tiptap/TiptapAdapter.d.ts +0 -26
- package/dist/adapters/tiptap/TiptapTransformer.d.ts +0 -3
- package/dist/adapters/tiptap/TiptapView.vue.d.ts +0 -73
- package/dist/adapters/tiptap/components/ColorHighlightDropdown.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/FileUploadButton.vue.d.ts +0 -11
- package/dist/adapters/tiptap/components/ImageUploadButton.vue.d.ts +0 -11
- package/dist/adapters/tiptap/components/Input.vue.d.ts +0 -16
- package/dist/adapters/tiptap/components/LinkDropdown.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/MarkButton.vue.d.ts +0 -12
- package/dist/adapters/tiptap/components/TextAlignButton.vue.d.ts +0 -12
- package/dist/adapters/tiptap/components/TextAlignDropdown.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/ToolbarGroup.vue.d.ts +0 -17
- package/dist/adapters/tiptap/components/button/ButtonGroup.vue.d.ts +0 -29
- package/dist/adapters/tiptap/components/tiptap-icons/AlignCenterIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/AlignJustifyIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/AlignLeftIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/AlignRightIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/BanIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/BoldIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/CodeIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/CornerDownLeftIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/ExternalLinkIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/FileIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingFiveIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingSixIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/HighlighterIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/ImagePlusIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/ItalicIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/LinkIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/StrikeIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/SubscriptIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/SuperscriptIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/TrashIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/UnderlineIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/composables/useMenuNavigation.d.ts +0 -18
- package/dist/adapters/tiptap/composables/useScrollDetector.d.ts +0 -8
- package/dist/components/ColorPicker.vue.d.ts +0 -17
- package/dist/components/IconWithText.vue.d.ts +0 -247
- package/dist/components/ImageCropper.vue.d.ts +0 -73
- package/dist/components/InputWithList/DropdownList.vue.d.ts +0 -90
- package/dist/components/InputWithList/MultipleInput.vue.d.ts +0 -87
- package/dist/components/InputWithList/SingleInput.vue.d.ts +0 -48
- package/dist/components/InputWithList/TagItem.vue.d.ts +0 -33
- package/dist/components/InputWithList/configs/input-with-list.config.d.ts +0 -8
- package/dist/components/InputWithList.vue.d.ts +0 -165
- package/dist/components/LineChart.vue.d.ts +0 -9
- package/dist/components/Tags.vue.d.ts +0 -137
- package/dist/components/TextEditor.vue.d.ts +0 -81
- package/dist/components/TextEditorLegacy.vue.d.ts +0 -40
- package/dist/components/VerificationCode.vue.d.ts +0 -45
- package/dist/components/configs/input-with-list.config.d.ts +0 -8
- package/dist/factories/EditorFactory.d.ts +0 -19
- package/dist/helpers/inputWithListUtils.d.ts +0 -4
- package/dist/index.d.ts +0 -39
- package/dist/main.d.ts +0 -1
- package/dist/models/EditorJSi18n.model.d.ts +0 -109
- package/dist/models/EditorTransformer.d.ts +0 -5
- package/dist/models/InputList.model.d.ts +0 -4
- package/dist/models/InputWithList.model.d.ts +0 -1
- package/dist/tools/editorCode.d.ts +0 -21
package/package.json
CHANGED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import type { SysContentRich, SysAttachment } from "@/models/Editor.model";
|
|
2
|
-
import { FileRegistration, UploadEventPayload } from "@/models/UploadedFile.model";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
data: {
|
|
5
|
-
type: import("vue").PropType<SysContentRich>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
i18n: {
|
|
9
|
-
type: import("vue").PropType<import("@/models/Editor.model").EditorI18n>;
|
|
10
|
-
};
|
|
11
|
-
readOnly: {
|
|
12
|
-
type: import("vue").PropType<boolean>;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
fileUpload: {
|
|
16
|
-
type: import("vue").PropType<(e: UploadEventPayload) => void>;
|
|
17
|
-
};
|
|
18
|
-
attachments: {
|
|
19
|
-
type: import("vue").PropType<SysAttachment[]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
toolbarPosition: {
|
|
23
|
-
type: import("vue").PropType<"left" | "right">;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
suggestedReply: {
|
|
27
|
-
type: import("vue").PropType<SysContentRich>;
|
|
28
|
-
};
|
|
29
|
-
}>, {
|
|
30
|
-
acceptSuggestion: () => void;
|
|
31
|
-
isEmpty: () => Promise<boolean>;
|
|
32
|
-
registerFiles: (payload: FileRegistration) => void;
|
|
33
|
-
insertSignature: (payload: SysContentRich, att: SysAttachment[]) => void;
|
|
34
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
-
"update:data": (value: SysContentRich) => void;
|
|
36
|
-
"update:attachments": (value: SysAttachment[]) => void;
|
|
37
|
-
"file-upload": (val: UploadEventPayload) => void;
|
|
38
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
-
data: {
|
|
40
|
-
type: import("vue").PropType<SysContentRich>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
i18n: {
|
|
44
|
-
type: import("vue").PropType<import("@/models/Editor.model").EditorI18n>;
|
|
45
|
-
};
|
|
46
|
-
readOnly: {
|
|
47
|
-
type: import("vue").PropType<boolean>;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
fileUpload: {
|
|
51
|
-
type: import("vue").PropType<(e: UploadEventPayload) => void>;
|
|
52
|
-
};
|
|
53
|
-
attachments: {
|
|
54
|
-
type: import("vue").PropType<SysAttachment[]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
toolbarPosition: {
|
|
58
|
-
type: import("vue").PropType<"left" | "right">;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
suggestedReply: {
|
|
62
|
-
type: import("vue").PropType<SysContentRich>;
|
|
63
|
-
};
|
|
64
|
-
}>> & Readonly<{
|
|
65
|
-
"onFile-upload"?: ((val: UploadEventPayload) => any) | undefined;
|
|
66
|
-
"onUpdate:data"?: ((value: SysContentRich) => any) | undefined;
|
|
67
|
-
"onUpdate:attachments"?: ((value: SysAttachment[]) => any) | undefined;
|
|
68
|
-
}>, {
|
|
69
|
-
readOnly: boolean;
|
|
70
|
-
toolbarPosition: "left" | "right";
|
|
71
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
|
-
export default _default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { EditorI18n } from "@/models/Editor.model";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
readOnly: {
|
|
4
|
-
type: import("vue").PropType<boolean>;
|
|
5
|
-
};
|
|
6
|
-
isOverlayVisible: {
|
|
7
|
-
type: import("vue").PropType<boolean>;
|
|
8
|
-
};
|
|
9
|
-
i18n: {
|
|
10
|
-
type: import("vue").PropType<EditorI18n>;
|
|
11
|
-
};
|
|
12
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
"accept-suggestion": () => void;
|
|
14
|
-
"dismiss-suggestion": () => void;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
readOnly: {
|
|
17
|
-
type: import("vue").PropType<boolean>;
|
|
18
|
-
};
|
|
19
|
-
isOverlayVisible: {
|
|
20
|
-
type: import("vue").PropType<boolean>;
|
|
21
|
-
};
|
|
22
|
-
i18n: {
|
|
23
|
-
type: import("vue").PropType<EditorI18n>;
|
|
24
|
-
};
|
|
25
|
-
}>> & Readonly<{
|
|
26
|
-
"onAccept-suggestion"?: (() => any) | undefined;
|
|
27
|
-
"onDismiss-suggestion"?: (() => any) | undefined;
|
|
28
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { EditorAdapter } from "@/models/EditorAdapter";
|
|
2
|
-
import type { SysContentRich, SysAttachment } from "@/models/Editor.model";
|
|
3
|
-
import type { FileRegistration, UploadEventPayload } from "@/models/UploadedFile.model";
|
|
4
|
-
export declare class TiptapAdapter implements EditorAdapter {
|
|
5
|
-
private resolveReady;
|
|
6
|
-
ready: Promise<void>;
|
|
7
|
-
private makeReady;
|
|
8
|
-
constructor();
|
|
9
|
-
mount(): void;
|
|
10
|
-
destroy(): void;
|
|
11
|
-
getContent(): Promise<SysContentRich>;
|
|
12
|
-
setContent(data: SysContentRich, attachments: SysAttachment[]): Promise<void>;
|
|
13
|
-
clearContent(): Promise<void>;
|
|
14
|
-
onContentChange(cb: (data: SysContentRich) => void): void;
|
|
15
|
-
updateAttachments(attachments: SysAttachment[]): Promise<void>;
|
|
16
|
-
updateContent(data: SysContentRich): void;
|
|
17
|
-
onFileUpload(cb: (event: UploadEventPayload) => Promise<void>): void;
|
|
18
|
-
onAttachmentChange(cb: (attachments: SysAttachment[]) => void): void;
|
|
19
|
-
registerFiles(payload: FileRegistration): void;
|
|
20
|
-
toggleReadOnly(val: boolean): void;
|
|
21
|
-
isSignatureOnly(): Promise<boolean>;
|
|
22
|
-
insertSignature(payload: SysContentRich, _att: SysAttachment[]): Promise<void>;
|
|
23
|
-
isEmpty(): Promise<boolean>;
|
|
24
|
-
acceptSuggestion(): void;
|
|
25
|
-
setIsSuggestion(val: boolean): void;
|
|
26
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { SysAttachment } from "@/models/Editor.model";
|
|
2
|
-
import { FileRegistration, UploadEventPayload } from "@/models/UploadedFile.model";
|
|
3
|
-
import type { JSONContent } from "@tiptap/vue-3";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
data: {
|
|
6
|
-
type: import("vue").PropType<JSONContent>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
i18n: {
|
|
10
|
-
type: import("vue").PropType<import("@/models/Editor.model").EditorI18n>;
|
|
11
|
-
};
|
|
12
|
-
readOnly: {
|
|
13
|
-
type: import("vue").PropType<boolean>;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
fileUpload: {
|
|
17
|
-
type: import("vue").PropType<(e: UploadEventPayload) => void>;
|
|
18
|
-
};
|
|
19
|
-
attachments: {
|
|
20
|
-
type: import("vue").PropType<SysAttachment[]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
toolbarPosition: {
|
|
24
|
-
type: import("vue").PropType<"left" | "right">;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
suggestedReply: {
|
|
28
|
-
type: import("vue").PropType<JSONContent>;
|
|
29
|
-
};
|
|
30
|
-
}>, {
|
|
31
|
-
acceptSuggestion: () => void;
|
|
32
|
-
registerFiles: (payload: FileRegistration) => void;
|
|
33
|
-
isEmpty: () => boolean;
|
|
34
|
-
insertSignature: (payload: JSONContent, att: SysAttachment[]) => void;
|
|
35
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
"update:data": (value: JSONContent | JSONContent[] | undefined) => void;
|
|
37
|
-
"update:attachments": (value: SysAttachment[]) => void;
|
|
38
|
-
"file-upload": (val: UploadEventPayload) => void;
|
|
39
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
-
data: {
|
|
41
|
-
type: import("vue").PropType<JSONContent>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
i18n: {
|
|
45
|
-
type: import("vue").PropType<import("@/models/Editor.model").EditorI18n>;
|
|
46
|
-
};
|
|
47
|
-
readOnly: {
|
|
48
|
-
type: import("vue").PropType<boolean>;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
fileUpload: {
|
|
52
|
-
type: import("vue").PropType<(e: UploadEventPayload) => void>;
|
|
53
|
-
};
|
|
54
|
-
attachments: {
|
|
55
|
-
type: import("vue").PropType<SysAttachment[]>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
toolbarPosition: {
|
|
59
|
-
type: import("vue").PropType<"left" | "right">;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
suggestedReply: {
|
|
63
|
-
type: import("vue").PropType<JSONContent>;
|
|
64
|
-
};
|
|
65
|
-
}>> & Readonly<{
|
|
66
|
-
"onFile-upload"?: ((val: UploadEventPayload) => any) | undefined;
|
|
67
|
-
"onUpdate:data"?: ((value: JSONContent | JSONContent[] | undefined) => any) | undefined;
|
|
68
|
-
"onUpdate:attachments"?: ((value: SysAttachment[]) => any) | undefined;
|
|
69
|
-
}>, {
|
|
70
|
-
readOnly: boolean;
|
|
71
|
-
toolbarPosition: "left" | "right";
|
|
72
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { EditorI18n } from "@/models/Editor.model";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
i18n: {
|
|
4
|
-
type: import("vue").PropType<EditorI18n>;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
i18n: {
|
|
8
|
-
type: import("vue").PropType<EditorI18n>;
|
|
9
|
-
};
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { EditorI18n } from "@/models/Editor.model";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
i18n: {
|
|
4
|
-
type: import("vue").PropType<EditorI18n>;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
i18n: {
|
|
8
|
-
type: import("vue").PropType<EditorI18n>;
|
|
9
|
-
};
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
modelValue: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (value: string) => void;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: import("vue").PropType<string>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
type: {
|
|
3
|
-
type: import("vue").PropType<"code" | "strike" | "underline" | "bold" | "italic" | "subscript" | "superscript">;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
type: {
|
|
8
|
-
type: import("vue").PropType<"code" | "strike" | "underline" | "bold" | "italic" | "subscript" | "superscript">;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
align: {
|
|
3
|
-
type: import("vue").PropType<"center" | "left" | "right" | "justify">;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
align: {
|
|
8
|
-
type: import("vue").PropType<"center" | "left" | "right" | "justify">;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
class: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
};
|
|
5
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
-
class: {
|
|
7
|
-
type: import("vue").PropType<string>;
|
|
8
|
-
};
|
|
9
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
10
|
-
default?(_: {}): any;
|
|
11
|
-
}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
class: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
};
|
|
5
|
-
orientation: {
|
|
6
|
-
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
7
|
-
};
|
|
8
|
-
role: {
|
|
9
|
-
type: import("vue").PropType<string>;
|
|
10
|
-
};
|
|
11
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
class: {
|
|
13
|
-
type: import("vue").PropType<string>;
|
|
14
|
-
};
|
|
15
|
-
orientation: {
|
|
16
|
-
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
17
|
-
};
|
|
18
|
-
role: {
|
|
19
|
-
type: import("vue").PropType<string>;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
22
|
-
default?(_: {}): any;
|
|
23
|
-
}>;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
-
new (): {
|
|
27
|
-
$slots: S;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Ref } from "vue";
|
|
2
|
-
import type { Editor } from "@tiptap/vue-3";
|
|
3
|
-
type Orientation = "horizontal" | "vertical" | "both";
|
|
4
|
-
interface MenuNavigationOptions<T> {
|
|
5
|
-
editor?: Editor | null;
|
|
6
|
-
containerRef?: Ref<HTMLElement | null>;
|
|
7
|
-
query?: string;
|
|
8
|
-
items: Ref<T[]>;
|
|
9
|
-
onSelect?: (item: T) => void;
|
|
10
|
-
onClose?: () => void;
|
|
11
|
-
orientation?: Orientation;
|
|
12
|
-
autoSelectFirstItem?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare function useMenuNavigation<T>({ editor, containerRef, query, items, onSelect, onClose, orientation, autoSelectFirstItem, }: MenuNavigationOptions<T>): {
|
|
15
|
-
selectedIndex: import("vue").ComputedRef<number | undefined>;
|
|
16
|
-
setSelectedIndex: (i: number) => number;
|
|
17
|
-
};
|
|
18
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function useScrollDetector(): {
|
|
2
|
-
wrapperRef: import("vue").Ref<unknown, unknown>;
|
|
3
|
-
toolbarRef: import("vue").Ref<unknown, unknown>;
|
|
4
|
-
sentinelRef: import("vue").Ref<unknown, unknown>;
|
|
5
|
-
toolbarStyle: import("vue").Ref<Record<string, string>, Record<string, string>>;
|
|
6
|
-
wrapperStyle: import("vue").Ref<Record<string, string>, Record<string, string>>;
|
|
7
|
-
isFloating: import("vue").Ref<boolean, boolean>;
|
|
8
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "vue3-colorpicker/style.css";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
pureColor: {
|
|
4
|
-
type: import("vue").PropType<string>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
"update:pure-color": (color: string) => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
pureColor: {
|
|
11
|
-
type: import("vue").PropType<string>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
}>> & Readonly<{
|
|
15
|
-
"onUpdate:pure-color"?: ((color: string) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
-
export default _default;
|