@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.
Files changed (66) hide show
  1. package/README.md +100 -100
  2. package/dist/adapters/editorjs/EditorjsTransformer.d.ts +3 -0
  3. package/dist/adapters/tiptap/SimpleTemplate.vue.d.ts +17 -0
  4. package/dist/adapters/tiptap/TiptapAdapter.d.ts +26 -0
  5. package/dist/adapters/tiptap/TiptapTransformer.d.ts +3 -0
  6. package/dist/adapters/tiptap/TiptapView.vue.d.ts +22 -0
  7. package/dist/adapters/tiptap/components/ColorHighlightDropdown.vue.d.ts +2 -0
  8. package/dist/adapters/tiptap/components/FileUploadButton.vue.d.ts +7 -0
  9. package/dist/adapters/tiptap/components/ImageUploadButton.vue.d.ts +7 -0
  10. package/dist/adapters/tiptap/components/Input.vue.d.ts +10 -0
  11. package/dist/adapters/tiptap/components/LinkDropdown.vue.d.ts +2 -0
  12. package/dist/adapters/tiptap/components/MarkButton.vue.d.ts +6 -0
  13. package/dist/adapters/tiptap/components/TextAlignButton.vue.d.ts +6 -0
  14. package/dist/adapters/tiptap/components/TextAlignDropdown.vue.d.ts +2 -0
  15. package/dist/adapters/tiptap/components/ToolbarGroup.vue.d.ts +14 -0
  16. package/dist/adapters/tiptap/components/button/ButtonGroup.vue.d.ts +16 -0
  17. package/dist/adapters/tiptap/components/tiptap-icons/AlignCenterIcon.vue.d.ts +2 -0
  18. package/dist/adapters/tiptap/components/tiptap-icons/AlignJustifyIcon.vue.d.ts +2 -0
  19. package/dist/adapters/tiptap/components/tiptap-icons/AlignLeftIcon.vue.d.ts +2 -0
  20. package/dist/adapters/tiptap/components/tiptap-icons/AlignRightIcon.vue.d.ts +2 -0
  21. package/dist/adapters/tiptap/components/tiptap-icons/BanIcon.vue.d.ts +2 -0
  22. package/dist/adapters/tiptap/components/tiptap-icons/CornerDownLeftIcon.vue.d.ts +2 -0
  23. package/dist/adapters/tiptap/components/tiptap-icons/ExternalLinkIcon.vue.d.ts +2 -0
  24. package/dist/adapters/tiptap/components/tiptap-icons/FileIcon.vue.d.ts +2 -0
  25. package/dist/adapters/tiptap/components/tiptap-icons/HeadingFiveIcon.vue.d.ts +2 -0
  26. package/dist/adapters/tiptap/components/tiptap-icons/HeadingSixIcon.vue.d.ts +2 -0
  27. package/dist/adapters/tiptap/components/tiptap-icons/HighlighterIcon.vue.d.ts +2 -0
  28. package/dist/adapters/tiptap/components/tiptap-icons/ImagePlusIcon.vue.d.ts +2 -0
  29. package/dist/adapters/tiptap/components/tiptap-icons/LinkIcon.vue.d.ts +2 -0
  30. package/dist/adapters/tiptap/components/tiptap-icons/TrashIcon.vue.d.ts +2 -0
  31. package/dist/adapters/tiptap/composables/useMenuNavigation.d.ts +18 -0
  32. package/dist/adapters/tiptap/composables/useScrollDetector.d.ts +8 -0
  33. package/dist/assets/fonts/Rubik-Bold.ttf +0 -0
  34. package/dist/assets/fonts/Rubik-Bold.woff2 +0 -0
  35. package/dist/assets/fonts/Rubik-Medium.ttf +0 -0
  36. package/dist/assets/fonts/Rubik-Medium.woff2 +0 -0
  37. package/dist/assets/fonts/Rubik-Regular.ttf +0 -0
  38. package/dist/assets/fonts/Rubik-Regular.woff2 +0 -0
  39. package/dist/components/ColorPicker.vue.d.ts +11 -0
  40. package/dist/components/ImageCropper.vue.d.ts +73 -0
  41. package/dist/components/InputWithList/DropdownList.vue.d.ts +92 -0
  42. package/dist/components/InputWithList/MultipleInput.vue.d.ts +96 -0
  43. package/dist/components/InputWithList/SingleInput.vue.d.ts +54 -0
  44. package/dist/components/InputWithList/TagItem.vue.d.ts +35 -0
  45. package/dist/components/InputWithList/configs/input-with-list.config.d.ts +8 -0
  46. package/dist/components/InputWithList.vue.d.ts +176 -0
  47. package/dist/components/LineChart.vue.d.ts +13 -0
  48. package/dist/components/Tags.vue.d.ts +137 -0
  49. package/dist/components/TextEditor.vue.d.ts +39 -0
  50. package/dist/components/TextEditorLegacy.vue.d.ts +59 -0
  51. package/dist/components/VerificationCode.vue.d.ts +47 -0
  52. package/dist/components/configs/input-with-list.config.d.ts +8 -0
  53. package/dist/dh_ui.es.js +68754 -0
  54. package/dist/dh_ui.umd.js +523 -0
  55. package/dist/factories/EditorFactory.d.ts +19 -0
  56. package/dist/favicon.ico +0 -0
  57. package/dist/helpers/inputWithListUtils.d.ts +4 -0
  58. package/dist/index.d.ts +39 -0
  59. package/dist/main.d.ts +1 -0
  60. package/dist/models/EditorJSi18n.model.d.ts +109 -0
  61. package/dist/models/EditorTransformer.d.ts +5 -0
  62. package/dist/models/InputList.model.d.ts +4 -0
  63. package/dist/models/InputWithList.model.d.ts +1 -0
  64. package/dist/style.css +9 -0
  65. package/dist/tools/editorCode.d.ts +21 -0
  66. package/package.json +186 -185
@@ -0,0 +1,92 @@
1
+ import { PropType } from "vue";
2
+ import { InputWithListOption } from "@/models/InputWithList.model";
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ open: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ options: {
9
+ type: PropType<InputWithListOption[]>;
10
+ default: () => never[];
11
+ };
12
+ selectedValues: {
13
+ type: PropType<string[]>;
14
+ default: () => never[];
15
+ };
16
+ selectedValue: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ multiple: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ labelKey: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ valueKey: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ isLoading: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ loadingText: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ select: (...args: any[]) => void;
42
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
+ open: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ options: {
48
+ type: PropType<InputWithListOption[]>;
49
+ default: () => never[];
50
+ };
51
+ selectedValues: {
52
+ type: PropType<string[]>;
53
+ default: () => never[];
54
+ };
55
+ selectedValue: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ multiple: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ labelKey: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ valueKey: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ isLoading: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ loadingText: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ }>> & Readonly<{
80
+ onSelect?: ((...args: any[]) => any) | undefined;
81
+ }>, {
82
+ options: InputWithListOption[];
83
+ open: boolean;
84
+ multiple: boolean;
85
+ selectedValues: string[];
86
+ selectedValue: string;
87
+ labelKey: string;
88
+ valueKey: string;
89
+ isLoading: boolean;
90
+ loadingText: string;
91
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
92
+ export default _default;
@@ -0,0 +1,96 @@
1
+ import { PropType } from "vue";
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ modelValue: {
4
+ type: PropType<string[]>;
5
+ default: () => never[];
6
+ };
7
+ placeholder: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ disabled: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ errors: {
16
+ type: PropType<string[]>;
17
+ default: () => never[];
18
+ };
19
+ tagClassFunction: {
20
+ type: PropType<(value: string) => string>;
21
+ default: null;
22
+ };
23
+ allowCreate: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ createOnKeys: {
28
+ type: PropType<string[]>;
29
+ default: () => string[];
30
+ };
31
+ validateValue: {
32
+ type: PropType<(value: string) => boolean>;
33
+ default: null;
34
+ };
35
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ input: (...args: any[]) => void;
37
+ focus: (...args: any[]) => void;
38
+ remove: (...args: any[]) => void;
39
+ blur: (...args: any[]) => void;
40
+ keydown: (...args: any[]) => void;
41
+ clear: (...args: any[]) => void;
42
+ "update:modelValue": (...args: any[]) => void;
43
+ create: (...args: any[]) => void;
44
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
+ modelValue: {
46
+ type: PropType<string[]>;
47
+ default: () => never[];
48
+ };
49
+ placeholder: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ disabled: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ errors: {
58
+ type: PropType<string[]>;
59
+ default: () => never[];
60
+ };
61
+ tagClassFunction: {
62
+ type: PropType<(value: string) => string>;
63
+ default: null;
64
+ };
65
+ allowCreate: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ createOnKeys: {
70
+ type: PropType<string[]>;
71
+ default: () => string[];
72
+ };
73
+ validateValue: {
74
+ type: PropType<(value: string) => boolean>;
75
+ default: null;
76
+ };
77
+ }>> & Readonly<{
78
+ onInput?: ((...args: any[]) => any) | undefined;
79
+ onFocus?: ((...args: any[]) => any) | undefined;
80
+ onRemove?: ((...args: any[]) => any) | undefined;
81
+ onBlur?: ((...args: any[]) => any) | undefined;
82
+ onKeydown?: ((...args: any[]) => any) | undefined;
83
+ onClear?: ((...args: any[]) => any) | undefined;
84
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
85
+ onCreate?: ((...args: any[]) => any) | undefined;
86
+ }>, {
87
+ disabled: boolean;
88
+ placeholder: string;
89
+ modelValue: string[];
90
+ errors: string[];
91
+ tagClassFunction: (value: string) => string;
92
+ allowCreate: boolean;
93
+ createOnKeys: string[];
94
+ validateValue: (value: string) => boolean;
95
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
96
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { PropType } from "vue";
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ modelValue: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ placeholder: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ disabled: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ errors: {
16
+ type: PropType<string[]>;
17
+ default: () => never[];
18
+ };
19
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ input: (...args: any[]) => void;
21
+ focus: (...args: any[]) => void;
22
+ blur: (...args: any[]) => void;
23
+ clear: (...args: any[]) => void;
24
+ "update:modelValue": (...args: any[]) => void;
25
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
+ modelValue: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ placeholder: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ disabled: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ errors: {
39
+ type: PropType<string[]>;
40
+ default: () => never[];
41
+ };
42
+ }>> & Readonly<{
43
+ onInput?: ((...args: any[]) => any) | undefined;
44
+ onFocus?: ((...args: any[]) => any) | undefined;
45
+ onBlur?: ((...args: any[]) => any) | undefined;
46
+ onClear?: ((...args: any[]) => any) | undefined;
47
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
+ }>, {
49
+ disabled: boolean;
50
+ placeholder: string;
51
+ modelValue: string;
52
+ errors: string[];
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
54
+ export default _default;
@@ -0,0 +1,35 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ label: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ disabled: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ tagClass: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ remove: (...args: any[]) => void;
16
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ label: {
18
+ type: StringConstructor;
19
+ required: true;
20
+ };
21
+ disabled: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ tagClass: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ }>> & Readonly<{
30
+ onRemove?: ((...args: any[]) => any) | undefined;
31
+ }>, {
32
+ disabled: boolean;
33
+ tagClass: string;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
35
+ 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,176 @@
1
+ import { PropType } from "vue";
2
+ import { InputWithListOption } from "@/models/InputWithList.model";
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ modelValue: {
5
+ type: PropType<string | string[]>;
6
+ default: string;
7
+ };
8
+ options: {
9
+ type: PropType<InputWithListOption[]>;
10
+ default: () => never[];
11
+ };
12
+ placeholder: {
13
+ type: StringConstructor;
14
+ default: "Type or select";
15
+ };
16
+ labelKey: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ valueKey: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ multiple: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ disabled: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ errors: {
33
+ type: PropType<string[]>;
34
+ default: () => never[];
35
+ };
36
+ isLoading: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ loadingText: {
41
+ type: StringConstructor;
42
+ default: "Loading...";
43
+ };
44
+ searchDebounce: {
45
+ type: NumberConstructor;
46
+ default: 300;
47
+ };
48
+ minSearchLength: {
49
+ type: NumberConstructor;
50
+ default: 0;
51
+ };
52
+ allowCreate: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ createOnKeys: {
57
+ type: PropType<string[]>;
58
+ default: () => readonly ["enter", ",", "space"];
59
+ };
60
+ validateValue: {
61
+ type: PropType<(value: string) => boolean>;
62
+ default: null;
63
+ };
64
+ tagClassFunction: {
65
+ type: PropType<(value: string) => string>;
66
+ default: null;
67
+ };
68
+ }>, {
69
+ clear: () => void;
70
+ focus: () => void | undefined;
71
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
+ search: (...args: any[]) => void;
73
+ select: (...args: any[]) => void;
74
+ focus: (...args: any[]) => void;
75
+ remove: (...args: any[]) => void;
76
+ blur: (...args: any[]) => void;
77
+ change: (...args: any[]) => void;
78
+ focusout: (...args: any[]) => void;
79
+ clear: (...args: any[]) => void;
80
+ "update:modelValue": (...args: any[]) => void;
81
+ create: (...args: any[]) => void;
82
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
+ modelValue: {
84
+ type: PropType<string | string[]>;
85
+ default: string;
86
+ };
87
+ options: {
88
+ type: PropType<InputWithListOption[]>;
89
+ default: () => never[];
90
+ };
91
+ placeholder: {
92
+ type: StringConstructor;
93
+ default: "Type or select";
94
+ };
95
+ labelKey: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ valueKey: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ multiple: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ disabled: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ errors: {
112
+ type: PropType<string[]>;
113
+ default: () => never[];
114
+ };
115
+ isLoading: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ loadingText: {
120
+ type: StringConstructor;
121
+ default: "Loading...";
122
+ };
123
+ searchDebounce: {
124
+ type: NumberConstructor;
125
+ default: 300;
126
+ };
127
+ minSearchLength: {
128
+ type: NumberConstructor;
129
+ default: 0;
130
+ };
131
+ allowCreate: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ createOnKeys: {
136
+ type: PropType<string[]>;
137
+ default: () => readonly ["enter", ",", "space"];
138
+ };
139
+ validateValue: {
140
+ type: PropType<(value: string) => boolean>;
141
+ default: null;
142
+ };
143
+ tagClassFunction: {
144
+ type: PropType<(value: string) => string>;
145
+ default: null;
146
+ };
147
+ }>> & Readonly<{
148
+ onSearch?: ((...args: any[]) => any) | undefined;
149
+ onSelect?: ((...args: any[]) => any) | undefined;
150
+ onFocus?: ((...args: any[]) => any) | undefined;
151
+ onRemove?: ((...args: any[]) => any) | undefined;
152
+ onBlur?: ((...args: any[]) => any) | undefined;
153
+ onChange?: ((...args: any[]) => any) | undefined;
154
+ onFocusout?: ((...args: any[]) => any) | undefined;
155
+ onClear?: ((...args: any[]) => any) | undefined;
156
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
157
+ onCreate?: ((...args: any[]) => any) | undefined;
158
+ }>, {
159
+ disabled: boolean;
160
+ placeholder: string;
161
+ options: InputWithListOption[];
162
+ modelValue: string | string[];
163
+ errors: string[];
164
+ multiple: boolean;
165
+ tagClassFunction: (value: string) => string;
166
+ allowCreate: boolean;
167
+ createOnKeys: string[];
168
+ validateValue: (value: string) => boolean;
169
+ labelKey: string;
170
+ valueKey: string;
171
+ isLoading: boolean;
172
+ loadingText: string;
173
+ searchDebounce: number;
174
+ minSearchLength: number;
175
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
176
+ export default _default;
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ title: string;
3
+ height: number;
4
+ width: number;
5
+ dataSets: Record<string, any>;
6
+ $props: {
7
+ readonly title?: string | undefined;
8
+ readonly height?: number | undefined;
9
+ readonly width?: number | undefined;
10
+ readonly dataSets?: Record<string, any> | undefined;
11
+ };
12
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
@@ -0,0 +1,137 @@
1
+ import { Tag, TagSize } from "@/models/Tag.model";
2
+ import type { PropType } from "vue";
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ maxTags: {
5
+ type: NumberConstructor;
6
+ required: false;
7
+ default: number;
8
+ };
9
+ color: {
10
+ type: StringConstructor;
11
+ required: false;
12
+ default: string;
13
+ };
14
+ size: {
15
+ type: PropType<TagSize>;
16
+ required: false;
17
+ default: string;
18
+ };
19
+ tags: {
20
+ type: PropType<Tag[]>;
21
+ required: true;
22
+ };
23
+ isClickable: {
24
+ type: BooleanConstructor;
25
+ required: false;
26
+ default: boolean;
27
+ };
28
+ showAllOnHover: {
29
+ type: BooleanConstructor;
30
+ required: false;
31
+ default: boolean;
32
+ };
33
+ zIndex: {
34
+ type: NumberConstructor;
35
+ default: number;
36
+ };
37
+ }>, {}, {
38
+ isHovering: boolean;
39
+ }, {}, {
40
+ getTags(): Tag[];
41
+ getHiddenTags(): Tag[];
42
+ getHiddenTagsLabel(): string;
43
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
+ onMoreClick: null;
45
+ onClick: null;
46
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
47
+ maxTags: {
48
+ type: NumberConstructor;
49
+ required: false;
50
+ default: number;
51
+ };
52
+ color: {
53
+ type: StringConstructor;
54
+ required: false;
55
+ default: string;
56
+ };
57
+ size: {
58
+ type: PropType<TagSize>;
59
+ required: false;
60
+ default: string;
61
+ };
62
+ tags: {
63
+ type: PropType<Tag[]>;
64
+ required: true;
65
+ };
66
+ isClickable: {
67
+ type: BooleanConstructor;
68
+ required: false;
69
+ default: boolean;
70
+ };
71
+ showAllOnHover: {
72
+ type: BooleanConstructor;
73
+ required: false;
74
+ default: boolean;
75
+ };
76
+ zIndex: {
77
+ type: NumberConstructor;
78
+ default: number;
79
+ };
80
+ }>> & Readonly<{
81
+ onOnClick?: ((...args: any[]) => any) | undefined;
82
+ onOnMoreClick?: ((...args: any[]) => any) | undefined;
83
+ }>, {
84
+ size: TagSize;
85
+ zIndex: number;
86
+ color: string;
87
+ isClickable: boolean;
88
+ maxTags: number;
89
+ showAllOnHover: boolean;
90
+ }, {}, {
91
+ DhTag: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
92
+ label: {
93
+ type: StringConstructor;
94
+ required: true;
95
+ };
96
+ color: {
97
+ type: PropType<import("@/models/Tag.model").TagColor>;
98
+ required: false;
99
+ default: string;
100
+ };
101
+ size: {
102
+ type: PropType<TagSize>;
103
+ required: false;
104
+ default: string;
105
+ };
106
+ isClickable: {
107
+ type: BooleanConstructor;
108
+ required: false;
109
+ default: boolean;
110
+ };
111
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
112
+ label: {
113
+ type: StringConstructor;
114
+ required: true;
115
+ };
116
+ color: {
117
+ type: PropType<import("@/models/Tag.model").TagColor>;
118
+ required: false;
119
+ default: string;
120
+ };
121
+ size: {
122
+ type: PropType<TagSize>;
123
+ required: false;
124
+ default: string;
125
+ };
126
+ isClickable: {
127
+ type: BooleanConstructor;
128
+ required: false;
129
+ default: boolean;
130
+ };
131
+ }>> & Readonly<{}>, {
132
+ size: TagSize;
133
+ color: import("@/models/Tag.model").TagColor;
134
+ isClickable: boolean;
135
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
136
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
137
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import type { SysContentRich, SysAttachment, EditorI18n } from "@/models/Editor.model";
2
+ import { FileRegistration, UploadEventPayload } from "@/models/UploadedFile.model";
3
+ declare const _default: import("vue").DefineComponent<{
4
+ data: SysContentRich;
5
+ attachments: SysAttachment[];
6
+ readOnly?: boolean;
7
+ i18n?: EditorI18n;
8
+ suggestedReply?: SysContentRich;
9
+ toolbarPosition?: "left" | "right";
10
+ editorType?: "tiptap" | "editorjs";
11
+ }, {
12
+ registerFiles: (payload: FileRegistration) => void;
13
+ insertSignature: (payload: SysContentRich, att: SysAttachment[]) => void;
14
+ isEmpty: () => any;
15
+ acceptSuggestion: () => void;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ "update:data": (val: SysContentRich) => any;
18
+ "update:attachments": (value: SysAttachment[]) => any;
19
+ "file-upload": (val: UploadEventPayload) => any;
20
+ }, string, import("vue").PublicProps, Readonly<{
21
+ data: SysContentRich;
22
+ attachments: SysAttachment[];
23
+ readOnly?: boolean;
24
+ i18n?: EditorI18n;
25
+ suggestedReply?: SysContentRich;
26
+ toolbarPosition?: "left" | "right";
27
+ editorType?: "tiptap" | "editorjs";
28
+ }> & Readonly<{
29
+ "onUpdate:data"?: ((val: SysContentRich) => any) | undefined;
30
+ "onUpdate:attachments"?: ((value: SysAttachment[]) => any) | undefined;
31
+ "onFile-upload"?: ((val: UploadEventPayload) => any) | undefined;
32
+ }>, {
33
+ i18n: EditorI18n;
34
+ readOnly: boolean;
35
+ toolbarPosition: "left" | "right";
36
+ suggestedReply: SysContentRich;
37
+ editorType: "tiptap" | "editorjs";
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ export default _default;