@deskhero/dh_ui 2.49.0 → 2.49.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/README.md +100 -100
- package/package.json +185 -181
- 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/BlockquoteButton.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/CodeblockButton.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/ColorHighlightDropdown.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/Dropdown.vue.d.ts +0 -35
- package/dist/adapters/tiptap/components/FileUploadButton.vue.d.ts +0 -11
- package/dist/adapters/tiptap/components/HeadingDropdown.vue.d.ts +0 -2
- 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/ListDropdown.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/MarkButton.vue.d.ts +0 -12
- package/dist/adapters/tiptap/components/Separator.vue.d.ts +0 -33
- package/dist/adapters/tiptap/components/TableButton.vue.d.ts +0 -2
- 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/Toolbar.vue.d.ts +0 -9
- package/dist/adapters/tiptap/components/ToolbarGroup.vue.d.ts +0 -17
- package/dist/adapters/tiptap/components/button/Button.vue.d.ts +0 -41
- 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/BlockquoteIcon.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/ChevronDownIcon.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/CodeblockIcon.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/HeadingFourIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingOneIcon.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/HeadingThreeIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingTwoIcon.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/ListIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/ListOrderedIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/ListTodoIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/RedoIcon.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/TableIcon.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/components/tiptap-icons/UndoIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/undo-redo-button/UndoRedoButton.vue.d.ts +0 -30
- package/dist/adapters/tiptap/composables/useMenuNavigation.d.ts +0 -18
- package/dist/adapters/tiptap/composables/useScrollDetector.d.ts +0 -8
- package/dist/adapters/tiptap/extensions/attachment.d.ts +0 -2
- package/dist/adapters/tiptap/extensions/file-upload-node/file-upload-node-extension.d.ts +0 -80
- package/dist/adapters/tiptap/extensions/file-upload-node/index.d.ts +0 -1
- package/dist/adapters/tiptap/extensions/signature.d.ts +0 -2
- package/dist/adapters/tiptap/extensions/table/index.d.ts +0 -2
- package/dist/adapters/tiptap/utils/tiptap-utils.d.ts +0 -122
- 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/Button.vue.d.ts +0 -102
- package/dist/components/ColorPicker.vue.d.ts +0 -17
- package/dist/components/Copiable.vue.d.ts +0 -8
- package/dist/components/DatePicker.vue.d.ts +0 -11
- package/dist/components/DropdownMenu.vue.d.ts +0 -108
- package/dist/components/DropdownMenuItem.vue.d.ts +0 -50
- package/dist/components/Error.vue.d.ts +0 -16
- package/dist/components/ExpansionPanel.vue.d.ts +0 -58
- package/dist/components/FileUpload.vue.d.ts +0 -13
- package/dist/components/IconWithText.vue.d.ts +0 -149
- package/dist/components/ImageCropper.vue.d.ts +0 -73
- package/dist/components/Input.vue.d.ts +0 -51
- package/dist/components/InputDropdown.vue.d.ts +0 -16
- package/dist/components/InputDropdownMultiple.vue.d.ts +0 -16
- package/dist/components/InputGroup.vue.d.ts +0 -15
- package/dist/components/InputList.vue.d.ts +0 -20
- 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/Modal.vue.d.ts +0 -118
- package/dist/components/Notification.vue.d.ts +0 -195
- package/dist/components/PasswordField.vue.d.ts +0 -62
- package/dist/components/RadioBox.vue.d.ts +0 -9
- package/dist/components/RadioBoxGroup.vue.d.ts +0 -8
- package/dist/components/SearchInput.vue.d.ts +0 -36
- package/dist/components/Stepper.vue.d.ts +0 -23
- package/dist/components/Tag.vue.d.ts +0 -48
- package/dist/components/Tags.vue.d.ts +0 -91
- 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/dh_ui.es.js +0 -68487
- package/dist/dh_ui.umd.js +0 -677
- package/dist/factories/EditorFactory.d.ts +0 -19
- package/dist/favicon.ico +0 -0
- 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/DropdownMenuItem.model.d.ts +0 -13
- package/dist/models/EditorJSi18n.model.d.ts +0 -109
- package/dist/models/EditorTransformer.d.ts +0 -5
- package/dist/models/InputDropdown.model.d.ts +0 -4
- package/dist/models/InputList.model.d.ts +0 -4
- package/dist/models/InputWithList.model.d.ts +0 -1
- package/dist/models/Tag.model.d.ts +0 -7
- package/dist/style.css +0 -9
- package/dist/tools/editorCode.d.ts +0 -21
|
@@ -1,19 +0,0 @@
|
|
|
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 {};
|
package/dist/favicon.ico
DELETED
|
Binary file
|
|
@@ -1,4 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type InputWithListOption = string | Record<string, any>;
|