@deskhero/dh_ui 2.6.6 → 2.7.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/App.vue.d.ts +2 -0
- package/dist/components/AdvancedDatePicker.vue.d.ts +7 -0
- package/dist/components/AdvancedFilter.vue.d.ts +55 -0
- package/dist/components/Button.vue.d.ts +69 -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 +39 -0
- package/dist/components/FileUpload.vue.d.ts +22 -0
- package/dist/components/Icon.vue.d.ts +87 -0
- package/dist/components/IconWithText.vue.d.ts +149 -0
- package/dist/components/ImageCropper.vue.d.ts +60 -0
- package/dist/components/InputDropdown.vue.d.ts +16 -0
- package/dist/components/InputDropdownMultiple.vue.d.ts +15 -0
- package/dist/components/InputGroup.vue.d.ts +15 -0
- package/dist/components/InputList.vue.d.ts +18 -0
- package/dist/components/Modal.vue.d.ts +109 -0
- package/dist/components/Notification.vue.d.ts +121 -0
- package/dist/components/NumberRange.vue.d.ts +174 -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/Switch.vue.d.ts +33 -0
- package/dist/components/Tag.vue.d.ts +48 -0
- package/dist/components/Tags.vue.d.ts +82 -0
- package/dist/components/TextEditor.vue.d.ts +28 -0
- package/dist/components/Tooltip.vue.d.ts +46 -0
- package/dist/components/VerificationCode.vue.d.ts +45 -0
- package/dist/dh_ui.es.js +24176 -25998
- package/dist/dh_ui.umd.js +115 -91
- package/dist/index.d.ts +34 -0
- package/dist/main.d.ts +1 -0
- package/dist/models/DropdownMenuItem.model.d.ts +13 -0
- package/dist/models/InputList.model.d.ts +4 -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/dist/tools/editorFiles.d.ts +39 -0
- package/dist/tools/editorImage.d.ts +44 -0
- package/package.json +16 -16
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default class CodeHighlightTool {
|
|
2
|
+
static get toolbox(): {
|
|
3
|
+
title: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
};
|
|
6
|
+
static get enableLineBreaks(): boolean;
|
|
7
|
+
static get isReadOnlySupported(): boolean;
|
|
8
|
+
constructor({ api }: {
|
|
9
|
+
api: any;
|
|
10
|
+
});
|
|
11
|
+
api: any;
|
|
12
|
+
render(): HTMLDivElement;
|
|
13
|
+
codeInput: HTMLTextAreaElement | undefined;
|
|
14
|
+
wrapper: HTMLDivElement | undefined;
|
|
15
|
+
save(): {
|
|
16
|
+
code: string;
|
|
17
|
+
};
|
|
18
|
+
validate(savedData: any): boolean;
|
|
19
|
+
onPaste(event: any): void;
|
|
20
|
+
onKeyUp(): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export default class FileTool {
|
|
2
|
+
static get isReadOnlySupported(): boolean;
|
|
3
|
+
static get toolbox(): {
|
|
4
|
+
title: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
};
|
|
7
|
+
constructor({ data, config, api }: {
|
|
8
|
+
data: any;
|
|
9
|
+
config: any;
|
|
10
|
+
api: any;
|
|
11
|
+
});
|
|
12
|
+
data: {
|
|
13
|
+
fileLinks: any;
|
|
14
|
+
fileIds: any;
|
|
15
|
+
fileNames: any;
|
|
16
|
+
};
|
|
17
|
+
api: any;
|
|
18
|
+
config: any;
|
|
19
|
+
wrapper: HTMLDivElement | null;
|
|
20
|
+
fileInput: HTMLInputElement | null;
|
|
21
|
+
resultContainer: HTMLDivElement | null;
|
|
22
|
+
uploading: boolean;
|
|
23
|
+
render(): HTMLDivElement;
|
|
24
|
+
container: HTMLDivElement | undefined;
|
|
25
|
+
icon: HTMLElement | undefined;
|
|
26
|
+
label: HTMLLabelElement | undefined;
|
|
27
|
+
browse: HTMLSpanElement | undefined;
|
|
28
|
+
populateExistingFiles(): void;
|
|
29
|
+
createResultElement(fileLink: any, fileName: any): HTMLDivElement;
|
|
30
|
+
handleFiles(files: any): void;
|
|
31
|
+
save(blockContent: any): {
|
|
32
|
+
fileLinks: any;
|
|
33
|
+
fileIds: any;
|
|
34
|
+
fileNames: any;
|
|
35
|
+
};
|
|
36
|
+
uploadFiles(uploadData: any): void;
|
|
37
|
+
iconName(fileName: any): any;
|
|
38
|
+
getExtension(fileName: any): any;
|
|
39
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export default class ImageTool {
|
|
2
|
+
static get isReadOnlySupported(): boolean;
|
|
3
|
+
static get toolbox(): {
|
|
4
|
+
title: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
};
|
|
7
|
+
constructor({ data, config, api }: {
|
|
8
|
+
data: any;
|
|
9
|
+
config: any;
|
|
10
|
+
api: any;
|
|
11
|
+
});
|
|
12
|
+
data: {
|
|
13
|
+
imageLink: any;
|
|
14
|
+
fileId: any;
|
|
15
|
+
width: any;
|
|
16
|
+
position: any;
|
|
17
|
+
};
|
|
18
|
+
api: any;
|
|
19
|
+
config: any;
|
|
20
|
+
container: HTMLDivElement | null;
|
|
21
|
+
fileInput: HTMLInputElement | null;
|
|
22
|
+
img: HTMLElement | null;
|
|
23
|
+
label: HTMLLabelElement | null;
|
|
24
|
+
icon: HTMLElement | null;
|
|
25
|
+
browse: HTMLSpanElement | null;
|
|
26
|
+
uploading: boolean;
|
|
27
|
+
settings: {
|
|
28
|
+
name: string;
|
|
29
|
+
icon: string;
|
|
30
|
+
}[];
|
|
31
|
+
render(): HTMLDivElement;
|
|
32
|
+
wrapper: HTMLDivElement | undefined;
|
|
33
|
+
handleFile(file: any): void;
|
|
34
|
+
save(blockContent: any): {
|
|
35
|
+
imageLink: any;
|
|
36
|
+
fileId: any;
|
|
37
|
+
width: any;
|
|
38
|
+
position: any;
|
|
39
|
+
};
|
|
40
|
+
uploadFile(file: any): void;
|
|
41
|
+
renderSettings(): HTMLDivElement;
|
|
42
|
+
_toggleTune(tune: any): void;
|
|
43
|
+
_acceptTuneView(): void;
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deskhero/dh_ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"format": "prettier . --write"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@editorjs/editorjs": "^2.
|
|
37
|
+
"@editorjs/editorjs": "^2.28.0",
|
|
38
38
|
"@editorjs/header": "^2.7.0",
|
|
39
39
|
"@editorjs/list": "^1.8.0",
|
|
40
40
|
"@editorjs/paragraph": "^2.9.0",
|
|
41
41
|
"@editorjs/table": "^2.2.1",
|
|
42
42
|
"@editorjs/underline": "^1.1.0",
|
|
43
|
-
"@vueform/multiselect": "^2.
|
|
43
|
+
"@vueform/multiselect": "^2.6.2",
|
|
44
44
|
"@vuepic/vue-datepicker": "^3.5.2",
|
|
45
45
|
"cropperjs": "^1.5.13",
|
|
46
46
|
"multi-range-slider-vue": "^1.1.4",
|
|
47
|
-
"vue": "^3.
|
|
47
|
+
"vue": "^3.3.4",
|
|
48
48
|
"vue-chartjs": "^4.1.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
@@ -59,17 +59,17 @@
|
|
|
59
59
|
"@rushstack/eslint-patch": "^1.1.0",
|
|
60
60
|
"@semantic-release/changelog": "^6.0.1",
|
|
61
61
|
"@semantic-release/git": "^10.0.1",
|
|
62
|
-
"@storybook/addon-actions": "^7.1
|
|
63
|
-
"@storybook/addon-essentials": "^7.1
|
|
64
|
-
"@storybook/addon-interactions": "^7.1
|
|
65
|
-
"@storybook/addon-links": "^7.1
|
|
66
|
-
"@storybook/addon-mdx-gfm": "^7.1
|
|
67
|
-
"@storybook/addons": "^7.1
|
|
62
|
+
"@storybook/addon-actions": "^7.5.1",
|
|
63
|
+
"@storybook/addon-essentials": "^7.5.1",
|
|
64
|
+
"@storybook/addon-interactions": "^7.5.1",
|
|
65
|
+
"@storybook/addon-links": "^7.5.1",
|
|
66
|
+
"@storybook/addon-mdx-gfm": "^7.5.1",
|
|
67
|
+
"@storybook/addons": "^7.5.1",
|
|
68
68
|
"@storybook/preset-scss": "^1.0.3",
|
|
69
|
-
"@storybook/testing-library": "^0.2.
|
|
70
|
-
"@storybook/theming": "^7.1
|
|
71
|
-
"@storybook/vue3": "^7.1
|
|
72
|
-
"@storybook/vue3-vite": "^7.1
|
|
69
|
+
"@storybook/testing-library": "^0.2.2",
|
|
70
|
+
"@storybook/theming": "^7.5.1",
|
|
71
|
+
"@storybook/vue3": "^7.5.1",
|
|
72
|
+
"@storybook/vue3-vite": "^7.5.1",
|
|
73
73
|
"@types/node": "^16.11.36",
|
|
74
74
|
"@vitejs/plugin-vue": "^4.1.0",
|
|
75
75
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"eslint-config-prettier": "^8.5.0",
|
|
86
86
|
"eslint-plugin-cypress": "^2.12.1",
|
|
87
87
|
"eslint-plugin-prettier": "^4.0.0",
|
|
88
|
-
"eslint-plugin-storybook": "^0.6.
|
|
88
|
+
"eslint-plugin-storybook": "^0.6.15",
|
|
89
89
|
"eslint-plugin-vue": "^8.7.1",
|
|
90
90
|
"html-webpack-plugin": "^5.5.0",
|
|
91
91
|
"husky": "^8.0.1",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"sass": "^1.53.0",
|
|
97
97
|
"sass-loader": "^13.0.2",
|
|
98
98
|
"semantic-release": "^19.0.3",
|
|
99
|
-
"storybook": "^7.1
|
|
99
|
+
"storybook": "^7.5.1",
|
|
100
100
|
"style-loader": "^3.3.1",
|
|
101
101
|
"typescript": "^5.0.4",
|
|
102
102
|
"vite": "^4.4.2",
|