@deskhero/dh_ui 2.54.0 → 2.54.1
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/dist/adapters/editorjs/EditorjsTransformer.d.ts +3 -0
- package/dist/adapters/editorjs/EditorjsView.vue.d.ts +72 -0
- package/dist/adapters/tiptap/SimpleTemplate.vue.d.ts +29 -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 +73 -0
- package/dist/adapters/tiptap/components/BlockquoteButton.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/CodeblockButton.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/ColorHighlightDropdown.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/Dropdown.vue.d.ts +35 -0
- package/dist/adapters/tiptap/components/FileUploadButton.vue.d.ts +11 -0
- package/dist/adapters/tiptap/components/HeadingDropdown.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/ImageUploadButton.vue.d.ts +11 -0
- package/dist/adapters/tiptap/components/Input.vue.d.ts +16 -0
- package/dist/adapters/tiptap/components/LinkDropdown.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/ListDropdown.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/MarkButton.vue.d.ts +12 -0
- package/dist/adapters/tiptap/components/Separator.vue.d.ts +33 -0
- package/dist/adapters/tiptap/components/TableButton.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/TextAlignButton.vue.d.ts +12 -0
- package/dist/adapters/tiptap/components/TextAlignDropdown.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/Toolbar.vue.d.ts +9 -0
- package/dist/adapters/tiptap/components/ToolbarGroup.vue.d.ts +17 -0
- package/dist/adapters/tiptap/components/button/Button.vue.d.ts +41 -0
- package/dist/adapters/tiptap/components/button/ButtonGroup.vue.d.ts +29 -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/BlockquoteIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/BoldIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/ChevronDownIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/CodeIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/CodeblockIcon.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/HeadingFourIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingOneIcon.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/HeadingThreeIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingTwoIcon.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/ItalicIcon.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/ListIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/ListOrderedIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/ListTodoIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/RedoIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/StrikeIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/SubscriptIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/SuperscriptIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/TableIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/TrashIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/UnderlineIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/tiptap-icons/UndoIcon.vue.d.ts +2 -0
- package/dist/adapters/tiptap/components/undo-redo-button/UndoRedoButton.vue.d.ts +30 -0
- package/dist/adapters/tiptap/composables/useMenuNavigation.d.ts +18 -0
- package/dist/adapters/tiptap/composables/useScrollDetector.d.ts +8 -0
- package/dist/adapters/tiptap/extensions/attachment.d.ts +2 -0
- package/dist/adapters/tiptap/extensions/file-upload-node/file-upload-node-extension.d.ts +80 -0
- package/dist/adapters/tiptap/extensions/file-upload-node/index.d.ts +1 -0
- package/dist/adapters/tiptap/extensions/image-resize/constants/index.d.ts +22 -0
- package/dist/adapters/tiptap/extensions/image-resize/controllers/image-node-view.d.ts +32 -0
- package/dist/adapters/tiptap/extensions/image-resize/controllers/position-controller.d.ts +12 -0
- package/dist/adapters/tiptap/extensions/image-resize/controllers/resize-controller.d.ts +12 -0
- package/dist/adapters/tiptap/extensions/image-resize/image-resize.d.ts +1 -0
- package/dist/adapters/tiptap/extensions/image-resize/index.d.ts +3 -0
- package/dist/adapters/tiptap/extensions/image-resize/types/index.d.ts +16 -0
- package/dist/adapters/tiptap/extensions/image-resize/utils/attribute-parser.d.ts +4 -0
- package/dist/adapters/tiptap/extensions/image-resize/utils/index.d.ts +7 -0
- package/dist/adapters/tiptap/extensions/image-resize/utils/style-manager.d.ts +6 -0
- package/dist/adapters/tiptap/extensions/signature.d.ts +2 -0
- package/dist/adapters/tiptap/extensions/table/index.d.ts +2 -0
- package/dist/adapters/tiptap/utils/tiptap-utils.d.ts +122 -0
- package/dist/components/ColorPicker.vue.d.ts +17 -0
- package/dist/components/Copiable.vue.d.ts +8 -0
- package/dist/components/DatePicker.vue.d.ts +11 -0
- package/dist/components/DropdownMenu.vue.d.ts +108 -0
- package/dist/components/DropdownMenuItem.vue.d.ts +50 -0
- package/dist/components/Error.vue.d.ts +16 -0
- package/dist/components/ExpansionPanel.vue.d.ts +58 -0
- package/dist/components/FileUpload.vue.d.ts +13 -0
- package/dist/components/IconWithText.vue.d.ts +247 -0
- package/dist/components/ImageCropper.vue.d.ts +73 -0
- package/dist/components/Input.vue.d.ts +51 -0
- package/dist/components/InputDropdown.vue.d.ts +16 -0
- package/dist/components/InputDropdownMultiple.vue.d.ts +16 -0
- package/dist/components/InputGroup.vue.d.ts +15 -0
- package/dist/components/InputList.vue.d.ts +23 -0
- package/dist/components/InputWithList/DropdownList.vue.d.ts +90 -0
- package/dist/components/InputWithList/MultipleInput.vue.d.ts +87 -0
- package/dist/components/InputWithList/SingleInput.vue.d.ts +48 -0
- package/dist/components/InputWithList/TagItem.vue.d.ts +33 -0
- package/dist/components/InputWithList/configs/input-with-list.config.d.ts +8 -0
- package/dist/components/InputWithList.vue.d.ts +165 -0
- package/dist/components/LineChart.vue.d.ts +9 -0
- package/dist/components/Modal.vue.d.ts +216 -0
- package/dist/components/Notification.vue.d.ts +293 -0
- package/dist/components/PasswordField.vue.d.ts +62 -0
- package/dist/components/RadioBox.vue.d.ts +9 -0
- package/dist/components/RadioBoxGroup.vue.d.ts +8 -0
- package/dist/components/SearchInput.vue.d.ts +36 -0
- package/dist/components/Stepper.vue.d.ts +23 -0
- package/dist/components/Tag.vue.d.ts +48 -0
- package/dist/components/Tags.vue.d.ts +137 -0
- package/dist/components/TextEditor.vue.d.ts +81 -0
- package/dist/components/TextEditorLegacy.vue.d.ts +40 -0
- package/dist/components/VerificationCode.vue.d.ts +45 -0
- package/dist/components/configs/input-with-list.config.d.ts +8 -0
- package/dist/factories/EditorFactory.d.ts +19 -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/DropdownMenuItem.model.d.ts +13 -0
- package/dist/models/EditorJSi18n.model.d.ts +109 -0
- package/dist/models/EditorTransformer.d.ts +5 -0
- package/dist/models/InputDropdown.model.d.ts +4 -0
- package/dist/models/InputList.model.d.ts +4 -0
- package/dist/models/InputWithList.model.d.ts +1 -0
- package/dist/models/Tag.model.d.ts +7 -0
- package/dist/style.css +1 -1
- package/dist/tools/editorCode.d.ts +21 -0
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
$props: {
|
|
11
|
+
readonly data?: string | Record<string, any> | undefined;
|
|
12
|
+
readonly focus?: boolean | undefined;
|
|
13
|
+
readonly holder?: string | undefined;
|
|
14
|
+
readonly i18n?: Record<string, any> | undefined;
|
|
15
|
+
readonly readOnly?: boolean | undefined;
|
|
16
|
+
readonly placeholder?: string | undefined;
|
|
17
|
+
readonly customColor?: string | undefined;
|
|
18
|
+
readonly minHeight?: number | undefined;
|
|
19
|
+
readonly toolbarPosition?: string | undefined;
|
|
20
|
+
readonly featureSet?: string | undefined;
|
|
21
|
+
readonly firstBlock?: boolean | undefined;
|
|
22
|
+
readonly firstBlockText?: string | undefined;
|
|
23
|
+
readonly learnMoreText?: string | undefined;
|
|
24
|
+
readonly wordCount?: boolean | undefined;
|
|
25
|
+
readonly showSuggestedReplyControls?: boolean | undefined;
|
|
26
|
+
readonly enableTranslation?: boolean | undefined;
|
|
27
|
+
readonly translateEditorButtonText?: string | undefined;
|
|
28
|
+
readonly isSuggestionReplyEnabled?: boolean | undefined;
|
|
29
|
+
readonly suggestionReplyTitle?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
$emit: (event: "change" | "fileUpload" | "accept-suggestion" | "blockMoved" | "blockRemoved" | "fileDelete" | "translation-click", ...args: any[]) => void;
|
|
32
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
export default _default;
|
|
34
|
+
declare function toggleReadOnly(): void;
|
|
35
|
+
declare function save(): any;
|
|
36
|
+
declare function reset(): void;
|
|
37
|
+
declare function editBlock(index: any): void;
|
|
38
|
+
declare function render(data: any): void;
|
|
39
|
+
declare function update(id: any, data: any): void;
|
|
40
|
+
declare function getFilteredBlocks(): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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, "submit"[], "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
code: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
focusOnFirstInput: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
focusOnFirstInputDelay: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
autoComplete: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{
|
|
38
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
code: string;
|
|
41
|
+
autoComplete: string;
|
|
42
|
+
focusOnFirstInput: boolean;
|
|
43
|
+
focusOnFirstInputDelay: number;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
|
+
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
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { EditorViewComponent } from "@/models/EditorView.model";
|
|
2
|
+
import { OutputData } from "@editorjs/editorjs";
|
|
3
|
+
import { JSONContent } from "@tiptap/vue-3";
|
|
4
|
+
export type EditorType = "editorjs" | "tiptap";
|
|
5
|
+
declare const registry: {
|
|
6
|
+
readonly editorjs: {
|
|
7
|
+
readonly component: EditorViewComponent<OutputData>;
|
|
8
|
+
readonly transformer: import("../models/EditorTransformer").EditorTransformer<import("../models/Editor.model").SysContentRich>;
|
|
9
|
+
};
|
|
10
|
+
readonly tiptap: {
|
|
11
|
+
readonly component: EditorViewComponent<JSONContent>;
|
|
12
|
+
readonly transformer: import("../models/EditorTransformer").EditorTransformer<JSONContent>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare function createEditor<T extends keyof typeof registry>(type: T): {
|
|
16
|
+
component: EditorViewComponent<OutputData> | EditorViewComponent<JSONContent>;
|
|
17
|
+
transformer: import("../models/EditorTransformer").EditorTransformer<import("../models/Editor.model").SysContentRich> | import("../models/EditorTransformer").EditorTransformer<JSONContent>;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InputWithListOption } from "@/models/InputWithList.model";
|
|
2
|
+
export declare const getOptionLabel: (option: InputWithListOption, labelKey: string) => string;
|
|
3
|
+
export declare const getOptionKey: (option: InputWithListOption, valueKey: string) => string;
|
|
4
|
+
export declare const isOptionSelected: (option: InputWithListOption, selectedValues: string[], valueKey: string) => boolean;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./main.scss";
|
|
2
|
+
import DhAdvancedDatePicker from "./components/AdvancedDatePicker.vue";
|
|
3
|
+
import DhAdvancedFilter from "./components/AdvancedFilter.vue";
|
|
4
|
+
import DhButton from "./components/Button.vue";
|
|
5
|
+
import DhCopyText from "./components/Copiable.vue";
|
|
6
|
+
import DhDatePicker from "./components/DatePicker.vue";
|
|
7
|
+
import DhDropdownMenu from "./components/DropdownMenu.vue";
|
|
8
|
+
import DhError from "./components/Error.vue";
|
|
9
|
+
import DhExpansionPanel from "./components/ExpansionPanel.vue";
|
|
10
|
+
import DhFileUpload from "./components/FileUpload.vue";
|
|
11
|
+
import DhIcon from "./components/Icon.vue";
|
|
12
|
+
import DhIconWithText from "./components/IconWithText.vue";
|
|
13
|
+
import DhInput from "./components/Input.vue";
|
|
14
|
+
import DhInputDropdown from "./components/InputDropdown.vue";
|
|
15
|
+
import DhInputDropdownMultiple from "./components/InputDropdownMultiple.vue";
|
|
16
|
+
import DhInputGroup from "./components/InputGroup.vue";
|
|
17
|
+
import DhInputList from "./components/InputList.vue";
|
|
18
|
+
import DhModal from "./components/Modal.vue";
|
|
19
|
+
import DhNotification from "./components/Notification.vue";
|
|
20
|
+
import DhNumberRange from "./components/NumberRange.vue";
|
|
21
|
+
import DhPasswordField from "./components/PasswordField.vue";
|
|
22
|
+
import DhRadioBox from "./components/RadioBox.vue";
|
|
23
|
+
import DhRadioBoxGroup from "./components/RadioBoxGroup.vue";
|
|
24
|
+
import DhSearchInput from "./components/SearchInput.vue";
|
|
25
|
+
import DhStepper from "./components/Stepper.vue";
|
|
26
|
+
import DhSwitch from "./components/Switch.vue";
|
|
27
|
+
import DhTooltip from "./components/Tooltip.vue";
|
|
28
|
+
import DhTag from "./components/Tag.vue";
|
|
29
|
+
import DhTextEditor from "./components/TextEditor.vue";
|
|
30
|
+
import DhVerificationCode from "./components/VerificationCode.vue";
|
|
31
|
+
import DhImageCropper from "./components/ImageCropper.vue";
|
|
32
|
+
import type DropdownMenuItem from "./models/DropdownMenuItem.model";
|
|
33
|
+
import type EditorJSi18n from "./models/EditorJSi18n.model";
|
|
34
|
+
import type InputList from "./models/InputList.model";
|
|
35
|
+
import DhLineChart from "./components/LineChart.vue";
|
|
36
|
+
import DhColorPicker from "./components/ColorPicker.vue";
|
|
37
|
+
import DhInputWithList from "./components/InputWithList.vue";
|
|
38
|
+
export { DhAdvancedDatePicker, DhAdvancedFilter, DhCopyText, DhDatePicker, DhFileUpload, DhError, DhIcon, DhIconWithText, DhModal, DhNotification, DhNumberRange, DhPasswordField, DhRadioBox, DhRadioBoxGroup, DhSearchInput, DhStepper, DhSwitch, DhTooltip, DhVerificationCode, DhExpansionPanel, DhDropdownMenu, DhInput, DhInputDropdown, DhInputDropdownMultiple, DhInputList, DhInputGroup, DhTag, DhTextEditor, DhButton, DhImageCropper, DhLineChart, DhColorPicker, DhInputWithList, };
|
|
39
|
+
export type { DropdownMenuItem, InputList, EditorJSi18n };
|
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default interface DropdownMenuItem {
|
|
2
|
+
id?: number;
|
|
3
|
+
action?: string;
|
|
4
|
+
iconName: string;
|
|
5
|
+
iconUrl?: string;
|
|
6
|
+
text: string;
|
|
7
|
+
subText?: string;
|
|
8
|
+
url?: string;
|
|
9
|
+
dataE2eTag?: string;
|
|
10
|
+
isSelected?: boolean;
|
|
11
|
+
fqdn?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
export default interface EditorJSi18n {
|
|
2
|
+
messages?: Messages;
|
|
3
|
+
}
|
|
4
|
+
interface Messages {
|
|
5
|
+
ui?: Ui;
|
|
6
|
+
toolNames?: ToolNames;
|
|
7
|
+
tools?: Tools;
|
|
8
|
+
blockTunes?: BlockTunes2;
|
|
9
|
+
}
|
|
10
|
+
interface BlockTunes2 {
|
|
11
|
+
delete?: Delete;
|
|
12
|
+
moveUp?: MoveUp;
|
|
13
|
+
moveDown?: MoveDown;
|
|
14
|
+
}
|
|
15
|
+
interface MoveDown {
|
|
16
|
+
"Move down"?: string;
|
|
17
|
+
}
|
|
18
|
+
interface MoveUp {
|
|
19
|
+
"Move up"?: string;
|
|
20
|
+
}
|
|
21
|
+
interface Delete {
|
|
22
|
+
Delete?: string;
|
|
23
|
+
"Click to delete"?: string;
|
|
24
|
+
}
|
|
25
|
+
interface Tools {
|
|
26
|
+
attachment?: Attachment;
|
|
27
|
+
"Code Highlight"?: CodeHighlight;
|
|
28
|
+
images?: Images;
|
|
29
|
+
code?: Code;
|
|
30
|
+
warning?: Warning;
|
|
31
|
+
link?: Link;
|
|
32
|
+
stub?: Stub;
|
|
33
|
+
}
|
|
34
|
+
interface Stub {
|
|
35
|
+
"The block can not be displayed correctly."?: string;
|
|
36
|
+
}
|
|
37
|
+
interface Link {
|
|
38
|
+
"Add a link"?: string;
|
|
39
|
+
}
|
|
40
|
+
interface Warning {
|
|
41
|
+
Title?: string;
|
|
42
|
+
Message?: string;
|
|
43
|
+
}
|
|
44
|
+
interface Code {
|
|
45
|
+
config?: Config;
|
|
46
|
+
}
|
|
47
|
+
interface Config {
|
|
48
|
+
placeholder?: string;
|
|
49
|
+
}
|
|
50
|
+
interface Images {
|
|
51
|
+
"Drag & drop an image file or "?: string;
|
|
52
|
+
browse?: string;
|
|
53
|
+
}
|
|
54
|
+
interface CodeHighlight {
|
|
55
|
+
"Enter code here"?: string;
|
|
56
|
+
}
|
|
57
|
+
interface Attachment {
|
|
58
|
+
"Drag & drop file(s) or "?: string;
|
|
59
|
+
browse?: string;
|
|
60
|
+
}
|
|
61
|
+
interface ToolNames {
|
|
62
|
+
Text?: string;
|
|
63
|
+
Heading?: string;
|
|
64
|
+
List?: string;
|
|
65
|
+
Warning?: string;
|
|
66
|
+
Checklist?: string;
|
|
67
|
+
Quote?: string;
|
|
68
|
+
Code?: string;
|
|
69
|
+
Delimiter?: string;
|
|
70
|
+
"Raw HTML"?: string;
|
|
71
|
+
Table?: string;
|
|
72
|
+
Link?: string;
|
|
73
|
+
Marker?: string;
|
|
74
|
+
Bold?: string;
|
|
75
|
+
Italic?: string;
|
|
76
|
+
InlineCode?: string;
|
|
77
|
+
Images?: string;
|
|
78
|
+
Attachment?: string;
|
|
79
|
+
}
|
|
80
|
+
interface Ui {
|
|
81
|
+
blockTunes?: BlockTunes;
|
|
82
|
+
inlineToolbar?: InlineToolbar;
|
|
83
|
+
toolbar?: Toolbar;
|
|
84
|
+
popover?: Popover;
|
|
85
|
+
}
|
|
86
|
+
interface Popover {
|
|
87
|
+
Filter?: string;
|
|
88
|
+
"Nothing found"?: string;
|
|
89
|
+
}
|
|
90
|
+
interface Toolbar {
|
|
91
|
+
toolbox?: Toolbox;
|
|
92
|
+
}
|
|
93
|
+
interface Toolbox {
|
|
94
|
+
Add?: string;
|
|
95
|
+
}
|
|
96
|
+
interface InlineToolbar {
|
|
97
|
+
converter?: Converter;
|
|
98
|
+
}
|
|
99
|
+
interface Converter {
|
|
100
|
+
"Convert to"?: string;
|
|
101
|
+
}
|
|
102
|
+
interface BlockTunes {
|
|
103
|
+
toggler?: Toggler;
|
|
104
|
+
}
|
|
105
|
+
interface Toggler {
|
|
106
|
+
"Click to tune"?: string;
|
|
107
|
+
"or drag to move"?: string;
|
|
108
|
+
}
|
|
109
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InputWithListOption = string | Record<string, any>;
|