@deskhero/dh_ui 2.30.0 → 2.32.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/dist/components/TextEditor.vue.d.ts +1 -0
- package/dist/dh_ui.es.js +2883 -2874
- package/dist/dh_ui.umd.js +57 -57
- package/dist/index.d.ts +2 -1
- package/dist/models/EditorJSi18n.model.d.ts +109 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,8 @@ import DhTextEditor from "./components/TextEditor.vue";
|
|
|
30
30
|
import DhVerificationCode from "./components/VerificationCode.vue";
|
|
31
31
|
import DhImageCropper from "./components/ImageCropper.vue";
|
|
32
32
|
import type DropdownMenuItem from "./models/DropdownMenuItem.model";
|
|
33
|
+
import type EditorJSi18n from "./models/EditorJSi18n.model";
|
|
33
34
|
import type InputList from "./models/InputList.model";
|
|
34
35
|
import DhLineChart from "./components/LineChart.vue";
|
|
35
36
|
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, };
|
|
36
|
-
export type { DropdownMenuItem, InputList };
|
|
37
|
+
export type { DropdownMenuItem, InputList, EditorJSi18n };
|
|
@@ -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 {};
|