@deskhero/dh_ui 2.49.1 → 2.49.9
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/README.md +100 -100
- package/dist/adapters/editorjs/EditorjsTransformer.d.ts +3 -0
- package/dist/adapters/tiptap/SimpleTemplate.vue.d.ts +17 -0
- package/dist/adapters/tiptap/TiptapAdapter.d.ts +26 -0
- package/dist/adapters/tiptap/TiptapTransformer.d.ts +3 -0
- package/dist/adapters/tiptap/TiptapView.vue.d.ts +22 -0
- package/dist/adapters/tiptap/components/ColorHighlightDropdown.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/FileUploadButton.vue.d.ts +7 -0
- package/dist/adapters/tiptap/components/ImageUploadButton.vue.d.ts +7 -0
- package/dist/adapters/tiptap/components/Input.vue.d.ts +10 -0
- package/dist/adapters/tiptap/components/LinkDropdown.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/MarkButton.vue.d.ts +6 -0
- package/dist/adapters/tiptap/components/TextAlignButton.vue.d.ts +6 -0
- package/dist/adapters/tiptap/components/TextAlignDropdown.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/ToolbarGroup.vue.d.ts +14 -0
- package/dist/adapters/tiptap/components/button/ButtonGroup.vue.d.ts +16 -0
- package/dist/adapters/tiptap/components/tiptap-icons/AlignCenterIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/AlignJustifyIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/AlignLeftIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/AlignRightIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/BanIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/CornerDownLeftIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/ExternalLinkIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/FileIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingFiveIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingSixIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/HighlighterIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/ImagePlusIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/LinkIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/TrashIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/composables/useMenuNavigation.d.ts +18 -0
- package/dist/adapters/tiptap/composables/useScrollDetector.d.ts +8 -0
- package/dist/assets/fonts/Rubik-Bold.ttf +0 -0
- package/dist/assets/fonts/Rubik-Bold.woff2 +0 -0
- package/dist/assets/fonts/Rubik-Medium.ttf +0 -0
- package/dist/assets/fonts/Rubik-Medium.woff2 +0 -0
- package/dist/assets/fonts/Rubik-Regular.ttf +0 -0
- package/dist/assets/fonts/Rubik-Regular.woff2 +0 -0
- package/dist/components/ColorPicker.vue.d.ts +11 -0
- package/dist/components/ImageCropper.vue.d.ts +73 -0
- package/dist/components/InputWithList/DropdownList.vue.d.ts +92 -0
- package/dist/components/InputWithList/MultipleInput.vue.d.ts +96 -0
- package/dist/components/InputWithList/SingleInput.vue.d.ts +54 -0
- package/dist/components/InputWithList/TagItem.vue.d.ts +35 -0
- package/dist/components/InputWithList/configs/input-with-list.config.d.ts +8 -0
- package/dist/components/InputWithList.vue.d.ts +176 -0
- package/dist/components/LineChart.vue.d.ts +13 -0
- package/dist/components/Tags.vue.d.ts +137 -0
- package/dist/components/TextEditor.vue.d.ts +39 -0
- package/dist/components/TextEditorLegacy.vue.d.ts +59 -0
- package/dist/components/VerificationCode.vue.d.ts +47 -0
- package/dist/components/configs/input-with-list.config.d.ts +8 -0
- package/dist/dh_ui.es.js +68754 -0
- package/dist/dh_ui.umd.js +523 -0
- package/dist/factories/EditorFactory.d.ts +19 -0
- package/dist/favicon.ico +0 -0
- package/dist/helpers/inputWithListUtils.d.ts +4 -0
- package/dist/index.d.ts +39 -0
- package/dist/main.d.ts +1 -0
- package/dist/models/EditorJSi18n.model.d.ts +109 -0
- package/dist/models/EditorTransformer.d.ts +5 -0
- package/dist/models/InputList.model.d.ts +4 -0
- package/dist/models/InputWithList.model.d.ts +1 -0
- package/dist/style.css +9 -0
- package/dist/tools/editorCode.d.ts +21 -0
- package/package.json +186 -185
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
editorJS: {};
|
|
3
|
+
toggleReadOnly: typeof toggleReadOnly;
|
|
4
|
+
save: typeof save;
|
|
5
|
+
reset: typeof reset;
|
|
6
|
+
editBlock: typeof editBlock;
|
|
7
|
+
render: typeof render;
|
|
8
|
+
update: typeof update;
|
|
9
|
+
getFilteredBlocks: typeof getFilteredBlocks;
|
|
10
|
+
$emit: (event: "change" | "fileUpload" | "accept-suggestion" | "blockMoved" | "blockRemoved" | "fileDelete" | "translation-click", ...args: any[]) => void;
|
|
11
|
+
customColor: string;
|
|
12
|
+
data: string | Record<string, any>;
|
|
13
|
+
focus: boolean;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
i18n: Record<string, any>;
|
|
16
|
+
minHeight: number;
|
|
17
|
+
holder: string;
|
|
18
|
+
readOnly: boolean;
|
|
19
|
+
toolbarPosition: string;
|
|
20
|
+
featureSet: string;
|
|
21
|
+
firstBlock: boolean;
|
|
22
|
+
firstBlockText: string;
|
|
23
|
+
learnMoreText: string;
|
|
24
|
+
wordCount: boolean;
|
|
25
|
+
showSuggestedReplyControls: boolean;
|
|
26
|
+
enableTranslation: boolean;
|
|
27
|
+
translateEditorButtonText: string;
|
|
28
|
+
isSuggestionReplyEnabled: boolean;
|
|
29
|
+
suggestionReplyTitle: string;
|
|
30
|
+
$props: {
|
|
31
|
+
readonly customColor?: string | undefined;
|
|
32
|
+
readonly data?: string | Record<string, any> | undefined;
|
|
33
|
+
readonly focus?: boolean | undefined;
|
|
34
|
+
readonly placeholder?: string | undefined;
|
|
35
|
+
readonly i18n?: Record<string, any> | undefined;
|
|
36
|
+
readonly minHeight?: number | undefined;
|
|
37
|
+
readonly holder?: string | undefined;
|
|
38
|
+
readonly readOnly?: boolean | undefined;
|
|
39
|
+
readonly toolbarPosition?: string | undefined;
|
|
40
|
+
readonly featureSet?: string | undefined;
|
|
41
|
+
readonly firstBlock?: boolean | undefined;
|
|
42
|
+
readonly firstBlockText?: string | undefined;
|
|
43
|
+
readonly learnMoreText?: string | undefined;
|
|
44
|
+
readonly wordCount?: boolean | undefined;
|
|
45
|
+
readonly showSuggestedReplyControls?: boolean | undefined;
|
|
46
|
+
readonly enableTranslation?: boolean | undefined;
|
|
47
|
+
readonly translateEditorButtonText?: string | undefined;
|
|
48
|
+
readonly isSuggestionReplyEnabled?: boolean | undefined;
|
|
49
|
+
readonly suggestionReplyTitle?: string | undefined;
|
|
50
|
+
};
|
|
51
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
export default _default;
|
|
53
|
+
declare function toggleReadOnly(): void;
|
|
54
|
+
declare function save(): any;
|
|
55
|
+
declare function reset(): void;
|
|
56
|
+
declare function editBlock(index: any): void;
|
|
57
|
+
declare function render(data: any): void;
|
|
58
|
+
declare function update(id: any, data: any): void;
|
|
59
|
+
declare function getFilteredBlocks(): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
code: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
focusOnFirstInput: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
focusOnFirstInputDelay: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
autoComplete: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
submit: (...args: any[]) => void;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
code: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: false;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
focusOnFirstInput: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
focusOnFirstInputDelay: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
autoComplete: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{
|
|
40
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
code: string;
|
|
43
|
+
autoComplete: string;
|
|
44
|
+
focusOnFirstInput: boolean;
|
|
45
|
+
focusOnFirstInputDelay: number;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const INPUT_CONFIG: {
|
|
2
|
+
readonly DEBOUNCE_DELAY: 300;
|
|
3
|
+
readonly MIN_SEARCH_LENGTH: 0;
|
|
4
|
+
readonly DEFAULT_PLACEHOLDER: "Type or select";
|
|
5
|
+
readonly DEFAULT_LOADING_TEXT: "Loading...";
|
|
6
|
+
readonly CREATE_KEYS: readonly ["enter", ",", "space"];
|
|
7
|
+
readonly BLUR_DELAY: 50;
|
|
8
|
+
};
|