@deskhero/dh_ui 2.49.9 → 2.50.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/EditorjsView.vue.d.ts +72 -0
- package/dist/adapters/tiptap/SimpleTemplate.vue.d.ts +24 -12
- package/dist/adapters/tiptap/TiptapView.vue.d.ts +61 -10
- package/dist/adapters/tiptap/components/FileUploadButton.vue.d.ts +8 -4
- package/dist/adapters/tiptap/components/ImageUploadButton.vue.d.ts +8 -4
- package/dist/adapters/tiptap/components/TextAlignButton.vue.d.ts +10 -4
- package/dist/adapters/tiptap/components/ToolbarGroup.vue.d.ts +10 -7
- package/dist/adapters/tiptap/components/button/ButtonGroup.vue.d.ts +22 -9
- package/dist/adapters/tiptap/components/tiptap-icons/FileIcon.vue.d.ts +1 -1
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingFiveIcon.vue.d.ts +1 -1
- package/dist/adapters/tiptap/components/tiptap-icons/HeadingSixIcon.vue.d.ts +1 -1
- package/dist/adapters/tiptap/composables/useScrollDetector.d.ts +6 -6
- package/dist/components/ColorPicker.vue.d.ts +13 -7
- package/dist/components/IconWithText.vue.d.ts +149 -0
- package/dist/components/ImageCropper.vue.d.ts +10 -10
- package/dist/components/InputWithList/DropdownList.vue.d.ts +6 -8
- package/dist/components/InputWithList/MultipleInput.vue.d.ts +9 -18
- package/dist/components/InputWithList/SingleInput.vue.d.ts +8 -14
- package/dist/components/InputWithList/TagItem.vue.d.ts +5 -7
- package/dist/components/InputWithList.vue.d.ts +14 -25
- package/dist/components/LineChart.vue.d.ts +1 -5
- package/dist/components/Tags.vue.d.ts +7 -53
- package/dist/components/TextEditor.vue.d.ts +65 -23
- package/dist/components/TextEditorLegacy.vue.d.ts +6 -25
- package/dist/components/VerificationCode.vue.d.ts +5 -7
- package/dist/dh_ui.es.js +22863 -22858
- package/dist/dh_ui.umd.js +358 -142
- package/dist/style.css +4 -4
- package/package.json +6 -4
- package/dist/adapters/tiptap/components/ColorHighlightDropdown.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/Input.vue.d.ts +0 -10
- package/dist/adapters/tiptap/components/LinkDropdown.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/MarkButton.vue.d.ts +0 -6
- package/dist/adapters/tiptap/components/TextAlignDropdown.vue.d.ts +0 -2
- 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/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/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/LinkIcon.vue.d.ts +0 -2
- package/dist/adapters/tiptap/components/tiptap-icons/TrashIcon.vue.d.ts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "vue";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
type: PropType<string[]>;
|
|
5
5
|
default: () => never[];
|
|
@@ -32,16 +32,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
32
|
type: PropType<(value: string) => boolean>;
|
|
33
33
|
default: null;
|
|
34
34
|
};
|
|
35
|
-
}
|
|
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<{
|
|
35
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "focus" | "keydown" | "update:modelValue" | "clear" | "create" | "remove")[], "input" | "blur" | "focus" | "keydown" | "update:modelValue" | "clear" | "create" | "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
36
|
modelValue: {
|
|
46
37
|
type: PropType<string[]>;
|
|
47
38
|
default: () => never[];
|
|
@@ -74,23 +65,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
74
65
|
type: PropType<(value: string) => boolean>;
|
|
75
66
|
default: null;
|
|
76
67
|
};
|
|
77
|
-
}>> &
|
|
78
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
}>> & {
|
|
79
69
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
80
|
-
onRemove?: ((...args: any[]) => any) | undefined;
|
|
81
70
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
82
72
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
83
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
84
73
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
85
75
|
onCreate?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}, {
|
|
88
78
|
placeholder: string;
|
|
79
|
+
disabled: boolean;
|
|
89
80
|
modelValue: string[];
|
|
90
81
|
errors: string[];
|
|
91
82
|
tagClassFunction: (value: string) => string;
|
|
92
83
|
allowCreate: boolean;
|
|
93
84
|
createOnKeys: string[];
|
|
94
85
|
validateValue: (value: string) => boolean;
|
|
95
|
-
}, {}
|
|
86
|
+
}, {}>;
|
|
96
87
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "vue";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
default: string;
|
|
@@ -16,13 +16,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: PropType<string[]>;
|
|
17
17
|
default: () => never[];
|
|
18
18
|
};
|
|
19
|
-
}
|
|
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<{
|
|
19
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "focus" | "update:modelValue" | "clear")[], "input" | "blur" | "focus" | "update:modelValue" | "clear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
20
|
modelValue: {
|
|
27
21
|
type: StringConstructor;
|
|
28
22
|
default: string;
|
|
@@ -39,16 +33,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
39
33
|
type: PropType<string[]>;
|
|
40
34
|
default: () => never[];
|
|
41
35
|
};
|
|
42
|
-
}>> &
|
|
43
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
}>> & {
|
|
44
37
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
45
38
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
46
|
-
|
|
39
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
47
40
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}, {
|
|
50
43
|
placeholder: string;
|
|
44
|
+
disabled: boolean;
|
|
51
45
|
modelValue: string;
|
|
52
46
|
errors: string[];
|
|
53
|
-
}, {}
|
|
47
|
+
}, {}>;
|
|
54
48
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
label: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
required: true;
|
|
@@ -11,9 +11,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
15
|
-
remove: (...args: any[]) => void;
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
15
|
label: {
|
|
18
16
|
type: StringConstructor;
|
|
19
17
|
required: true;
|
|
@@ -26,10 +24,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
24
|
type: StringConstructor;
|
|
27
25
|
default: string;
|
|
28
26
|
};
|
|
29
|
-
}>> &
|
|
27
|
+
}>> & {
|
|
30
28
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
}
|
|
29
|
+
}, {
|
|
32
30
|
disabled: boolean;
|
|
33
31
|
tagClass: string;
|
|
34
|
-
}, {}
|
|
32
|
+
}, {}>;
|
|
35
33
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from "vue";
|
|
2
2
|
import { InputWithListOption } from "@/models/InputWithList.model";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: PropType<string | string[]>;
|
|
6
6
|
default: string;
|
|
@@ -65,21 +65,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
65
|
type: PropType<(value: string) => string>;
|
|
66
66
|
default: null;
|
|
67
67
|
};
|
|
68
|
-
}
|
|
68
|
+
}, {
|
|
69
69
|
clear: () => void;
|
|
70
70
|
focus: () => void | undefined;
|
|
71
|
-
},
|
|
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<{
|
|
71
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "blur" | "change" | "focus" | "focusout" | "update:modelValue" | "clear" | "create" | "remove")[], "search" | "select" | "blur" | "change" | "focus" | "focusout" | "update:modelValue" | "clear" | "create" | "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
72
|
modelValue: {
|
|
84
73
|
type: PropType<string | string[]>;
|
|
85
74
|
default: string;
|
|
@@ -144,24 +133,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
133
|
type: PropType<(value: string) => string>;
|
|
145
134
|
default: null;
|
|
146
135
|
};
|
|
147
|
-
}>> &
|
|
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;
|
|
136
|
+
}>> & {
|
|
153
137
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
154
139
|
onFocusout?: ((...args: any[]) => any) | undefined;
|
|
155
|
-
|
|
140
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
141
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
156
142
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
157
144
|
onCreate?: ((...args: any[]) => any) | undefined;
|
|
158
|
-
|
|
159
|
-
|
|
145
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
146
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
}, {
|
|
160
148
|
placeholder: string;
|
|
149
|
+
disabled: boolean;
|
|
150
|
+
multiple: boolean;
|
|
161
151
|
options: InputWithListOption[];
|
|
162
152
|
modelValue: string | string[];
|
|
163
153
|
errors: string[];
|
|
164
|
-
multiple: boolean;
|
|
165
154
|
tagClassFunction: (value: string) => string;
|
|
166
155
|
allowCreate: boolean;
|
|
167
156
|
createOnKeys: string[];
|
|
@@ -172,5 +161,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
172
161
|
loadingText: string;
|
|
173
162
|
searchDebounce: number;
|
|
174
163
|
minSearchLength: number;
|
|
175
|
-
}, {}
|
|
164
|
+
}, {}>;
|
|
176
165
|
export default _default;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
title: string;
|
|
3
|
-
height: number;
|
|
4
|
-
width: number;
|
|
5
|
-
dataSets: Record<string, any>;
|
|
6
2
|
$props: {
|
|
7
3
|
readonly title?: string | undefined;
|
|
8
4
|
readonly height?: number | undefined;
|
|
9
5
|
readonly width?: number | undefined;
|
|
10
6
|
readonly dataSets?: Record<string, any> | undefined;
|
|
11
7
|
};
|
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
13
9
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tag, TagSize } from "@/models/Tag.model";
|
|
2
2
|
import type { PropType } from "vue";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
maxTags: {
|
|
5
5
|
type: NumberConstructor;
|
|
6
6
|
required: false;
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
type: NumberConstructor;
|
|
35
35
|
default: number;
|
|
36
36
|
};
|
|
37
|
-
}
|
|
37
|
+
}, unknown, {
|
|
38
38
|
isHovering: boolean;
|
|
39
39
|
}, {}, {
|
|
40
40
|
getTags(): Tag[];
|
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
43
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
44
|
onMoreClick: null;
|
|
45
45
|
onClick: null;
|
|
46
|
-
}, string, import("vue").
|
|
46
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
47
|
maxTags: {
|
|
48
48
|
type: NumberConstructor;
|
|
49
49
|
required: false;
|
|
@@ -77,61 +77,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
77
77
|
type: NumberConstructor;
|
|
78
78
|
default: number;
|
|
79
79
|
};
|
|
80
|
-
}>> &
|
|
80
|
+
}>> & {
|
|
81
81
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
onOnMoreClick?: ((...args: any[]) => any) | undefined;
|
|
83
|
-
}
|
|
83
|
+
}, {
|
|
84
84
|
size: TagSize;
|
|
85
|
-
zIndex: number;
|
|
86
85
|
color: string;
|
|
86
|
+
zIndex: number;
|
|
87
87
|
isClickable: boolean;
|
|
88
88
|
maxTags: number;
|
|
89
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>;
|
|
90
|
+
}, {}>;
|
|
137
91
|
export default _default;
|
|
@@ -1,39 +1,81 @@
|
|
|
1
1
|
import type { SysContentRich, SysAttachment, EditorI18n } from "@/models/Editor.model";
|
|
2
2
|
import { FileRegistration, UploadEventPayload } from "@/models/UploadedFile.model";
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
data:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
data: {
|
|
5
|
+
type: import("vue").PropType<SysContentRich>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
i18n: {
|
|
9
|
+
type: import("vue").PropType<EditorI18n>;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
readOnly: {
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
attachments: {
|
|
17
|
+
type: import("vue").PropType<SysAttachment[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
toolbarPosition: {
|
|
21
|
+
type: import("vue").PropType<"left" | "right">;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
suggestedReply: {
|
|
25
|
+
type: import("vue").PropType<SysContentRich>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
editorType: {
|
|
29
|
+
type: import("vue").PropType<"tiptap" | "editorjs">;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
11
32
|
}, {
|
|
12
33
|
registerFiles: (payload: FileRegistration) => void;
|
|
13
34
|
insertSignature: (payload: SysContentRich, att: SysAttachment[]) => void;
|
|
14
35
|
isEmpty: () => any;
|
|
15
36
|
acceptSuggestion: () => void;
|
|
16
|
-
},
|
|
17
|
-
"update:data": (val: SysContentRich) =>
|
|
18
|
-
"update:attachments": (value: SysAttachment[]) =>
|
|
19
|
-
"file-upload": (val: UploadEventPayload) =>
|
|
20
|
-
}, string, import("vue").
|
|
21
|
-
data:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
37
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
"update:data": (val: SysContentRich) => void;
|
|
39
|
+
"update:attachments": (value: SysAttachment[]) => void;
|
|
40
|
+
"file-upload": (val: UploadEventPayload) => void;
|
|
41
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
data: {
|
|
43
|
+
type: import("vue").PropType<SysContentRich>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
i18n: {
|
|
47
|
+
type: import("vue").PropType<EditorI18n>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
readOnly: {
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
attachments: {
|
|
55
|
+
type: import("vue").PropType<SysAttachment[]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
toolbarPosition: {
|
|
59
|
+
type: import("vue").PropType<"left" | "right">;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
suggestedReply: {
|
|
63
|
+
type: import("vue").PropType<SysContentRich>;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
editorType: {
|
|
67
|
+
type: import("vue").PropType<"tiptap" | "editorjs">;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onFile-upload"?: ((val: UploadEventPayload) => any) | undefined;
|
|
29
72
|
"onUpdate:data"?: ((val: SysContentRich) => any) | undefined;
|
|
30
73
|
"onUpdate:attachments"?: ((value: SysAttachment[]) => any) | undefined;
|
|
31
|
-
|
|
32
|
-
}>, {
|
|
74
|
+
}, {
|
|
33
75
|
i18n: EditorI18n;
|
|
34
76
|
readOnly: boolean;
|
|
35
77
|
toolbarPosition: "left" | "right";
|
|
36
78
|
suggestedReply: SysContentRich;
|
|
37
79
|
editorType: "tiptap" | "editorjs";
|
|
38
|
-
}, {}
|
|
80
|
+
}, {}>;
|
|
39
81
|
export default _default;
|
|
@@ -7,35 +7,15 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
7
7
|
render: typeof render;
|
|
8
8
|
update: typeof update;
|
|
9
9
|
getFilteredBlocks: typeof getFilteredBlocks;
|
|
10
|
-
$emit: (event: "change" | "fileUpload" | "accept-suggestion" | "blockMoved" | "blockRemoved" | "fileDelete" | "translation-click", ...args: any[]) => void;
|
|
11
|
-
customColor: string;
|
|
12
|
-
data: string | Record<string, any>;
|
|
13
|
-
focus: boolean;
|
|
14
|
-
placeholder: string;
|
|
15
|
-
i18n: Record<string, any>;
|
|
16
|
-
minHeight: number;
|
|
17
|
-
holder: string;
|
|
18
|
-
readOnly: boolean;
|
|
19
|
-
toolbarPosition: string;
|
|
20
|
-
featureSet: string;
|
|
21
|
-
firstBlock: boolean;
|
|
22
|
-
firstBlockText: string;
|
|
23
|
-
learnMoreText: string;
|
|
24
|
-
wordCount: boolean;
|
|
25
|
-
showSuggestedReplyControls: boolean;
|
|
26
|
-
enableTranslation: boolean;
|
|
27
|
-
translateEditorButtonText: string;
|
|
28
|
-
isSuggestionReplyEnabled: boolean;
|
|
29
|
-
suggestionReplyTitle: string;
|
|
30
10
|
$props: {
|
|
31
|
-
readonly customColor?: string | undefined;
|
|
32
11
|
readonly data?: string | Record<string, any> | undefined;
|
|
33
12
|
readonly focus?: boolean | undefined;
|
|
34
|
-
readonly placeholder?: string | undefined;
|
|
35
|
-
readonly i18n?: Record<string, any> | undefined;
|
|
36
|
-
readonly minHeight?: number | undefined;
|
|
37
13
|
readonly holder?: string | undefined;
|
|
14
|
+
readonly i18n?: Record<string, any> | undefined;
|
|
38
15
|
readonly readOnly?: boolean | undefined;
|
|
16
|
+
readonly placeholder?: string | undefined;
|
|
17
|
+
readonly customColor?: string | undefined;
|
|
18
|
+
readonly minHeight?: number | undefined;
|
|
39
19
|
readonly toolbarPosition?: string | undefined;
|
|
40
20
|
readonly featureSet?: string | undefined;
|
|
41
21
|
readonly firstBlock?: boolean | undefined;
|
|
@@ -48,7 +28,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
48
28
|
readonly isSuggestionReplyEnabled?: boolean | undefined;
|
|
49
29
|
readonly suggestionReplyTitle?: string | undefined;
|
|
50
30
|
};
|
|
51
|
-
|
|
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
52
33
|
export default _default;
|
|
53
34
|
declare function toggleReadOnly(): void;
|
|
54
35
|
declare function save(): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
code: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
required: false;
|
|
@@ -16,9 +16,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
|
-
}
|
|
20
|
-
submit: (...args: any[]) => void;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
20
|
code: {
|
|
23
21
|
type: StringConstructor;
|
|
24
22
|
required: false;
|
|
@@ -36,12 +34,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
34
|
type: StringConstructor;
|
|
37
35
|
default: string;
|
|
38
36
|
};
|
|
39
|
-
}>> &
|
|
37
|
+
}>> & {
|
|
40
38
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
41
|
-
}
|
|
39
|
+
}, {
|
|
42
40
|
code: string;
|
|
43
41
|
autoComplete: string;
|
|
44
42
|
focusOnFirstInput: boolean;
|
|
45
43
|
focusOnFirstInputDelay: number;
|
|
46
|
-
}, {}
|
|
44
|
+
}, {}>;
|
|
47
45
|
export default _default;
|