@deskhero/dh_ui 2.49.0 → 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 (107) hide show
  1. package/dist/adapters/tiptap/SimpleTemplate.vue.d.ts +12 -24
  2. package/dist/adapters/tiptap/TiptapView.vue.d.ts +10 -61
  3. package/dist/adapters/tiptap/components/ColorHighlightDropdown.vue.d.ts +1 -1
  4. package/dist/adapters/tiptap/components/FileUploadButton.vue.d.ts +4 -8
  5. package/dist/adapters/tiptap/components/ImageUploadButton.vue.d.ts +4 -8
  6. package/dist/adapters/tiptap/components/Input.vue.d.ts +7 -13
  7. package/dist/adapters/tiptap/components/LinkDropdown.vue.d.ts +1 -1
  8. package/dist/adapters/tiptap/components/MarkButton.vue.d.ts +4 -10
  9. package/dist/adapters/tiptap/components/TextAlignButton.vue.d.ts +4 -10
  10. package/dist/adapters/tiptap/components/TextAlignDropdown.vue.d.ts +1 -1
  11. package/dist/adapters/tiptap/components/ToolbarGroup.vue.d.ts +7 -10
  12. package/dist/adapters/tiptap/components/button/ButtonGroup.vue.d.ts +9 -22
  13. package/dist/adapters/tiptap/components/tiptap-icons/AlignCenterIcon.vue.d.ts +1 -1
  14. package/dist/adapters/tiptap/components/tiptap-icons/AlignJustifyIcon.vue.d.ts +1 -1
  15. package/dist/adapters/tiptap/components/tiptap-icons/AlignLeftIcon.vue.d.ts +1 -1
  16. package/dist/adapters/tiptap/components/tiptap-icons/AlignRightIcon.vue.d.ts +1 -1
  17. package/dist/adapters/tiptap/components/tiptap-icons/BanIcon.vue.d.ts +1 -1
  18. package/dist/adapters/tiptap/components/tiptap-icons/CornerDownLeftIcon.vue.d.ts +1 -1
  19. package/dist/adapters/tiptap/components/tiptap-icons/ExternalLinkIcon.vue.d.ts +1 -1
  20. package/dist/adapters/tiptap/components/tiptap-icons/FileIcon.vue.d.ts +1 -1
  21. package/dist/adapters/tiptap/components/tiptap-icons/HeadingFiveIcon.vue.d.ts +1 -1
  22. package/dist/adapters/tiptap/components/tiptap-icons/HeadingSixIcon.vue.d.ts +1 -1
  23. package/dist/adapters/tiptap/components/tiptap-icons/HighlighterIcon.vue.d.ts +1 -1
  24. package/dist/adapters/tiptap/components/tiptap-icons/ImagePlusIcon.vue.d.ts +1 -1
  25. package/dist/adapters/tiptap/components/tiptap-icons/LinkIcon.vue.d.ts +1 -1
  26. package/dist/adapters/tiptap/components/tiptap-icons/TrashIcon.vue.d.ts +1 -1
  27. package/dist/adapters/tiptap/composables/useScrollDetector.d.ts +6 -6
  28. package/dist/components/ColorPicker.vue.d.ts +7 -13
  29. package/dist/components/ImageCropper.vue.d.ts +10 -10
  30. package/dist/components/InputWithList/DropdownList.vue.d.ts +8 -6
  31. package/dist/components/InputWithList/MultipleInput.vue.d.ts +18 -9
  32. package/dist/components/InputWithList/SingleInput.vue.d.ts +14 -8
  33. package/dist/components/InputWithList/TagItem.vue.d.ts +7 -5
  34. package/dist/components/InputWithList.vue.d.ts +25 -14
  35. package/dist/components/LineChart.vue.d.ts +5 -1
  36. package/dist/components/Tags.vue.d.ts +53 -7
  37. package/dist/components/TextEditor.vue.d.ts +23 -65
  38. package/dist/components/TextEditorLegacy.vue.d.ts +25 -6
  39. package/dist/components/VerificationCode.vue.d.ts +7 -5
  40. package/dist/dh_ui.es.js +24647 -24380
  41. package/dist/dh_ui.umd.js +199 -353
  42. package/dist/index.d.ts +1 -1
  43. package/dist/style.css +4 -4
  44. package/package.json +11 -6
  45. package/dist/adapters/editorjs/EditorjsView.vue.d.ts +0 -72
  46. package/dist/adapters/tiptap/components/BlockquoteButton.vue.d.ts +0 -2
  47. package/dist/adapters/tiptap/components/CodeblockButton.vue.d.ts +0 -2
  48. package/dist/adapters/tiptap/components/Dropdown.vue.d.ts +0 -35
  49. package/dist/adapters/tiptap/components/HeadingDropdown.vue.d.ts +0 -2
  50. package/dist/adapters/tiptap/components/ListDropdown.vue.d.ts +0 -2
  51. package/dist/adapters/tiptap/components/Separator.vue.d.ts +0 -33
  52. package/dist/adapters/tiptap/components/TableButton.vue.d.ts +0 -2
  53. package/dist/adapters/tiptap/components/Toolbar.vue.d.ts +0 -9
  54. package/dist/adapters/tiptap/components/button/Button.vue.d.ts +0 -41
  55. package/dist/adapters/tiptap/components/tiptap-icons/BlockquoteIcon.vue.d.ts +0 -2
  56. package/dist/adapters/tiptap/components/tiptap-icons/BoldIcon.vue.d.ts +0 -2
  57. package/dist/adapters/tiptap/components/tiptap-icons/ChevronDownIcon.vue.d.ts +0 -2
  58. package/dist/adapters/tiptap/components/tiptap-icons/CodeIcon.vue.d.ts +0 -2
  59. package/dist/adapters/tiptap/components/tiptap-icons/CodeblockIcon.vue.d.ts +0 -2
  60. package/dist/adapters/tiptap/components/tiptap-icons/HeadingFourIcon.vue.d.ts +0 -2
  61. package/dist/adapters/tiptap/components/tiptap-icons/HeadingIcon.vue.d.ts +0 -2
  62. package/dist/adapters/tiptap/components/tiptap-icons/HeadingOneIcon.vue.d.ts +0 -2
  63. package/dist/adapters/tiptap/components/tiptap-icons/HeadingThreeIcon.vue.d.ts +0 -2
  64. package/dist/adapters/tiptap/components/tiptap-icons/HeadingTwoIcon.vue.d.ts +0 -2
  65. package/dist/adapters/tiptap/components/tiptap-icons/ItalicIcon.vue.d.ts +0 -2
  66. package/dist/adapters/tiptap/components/tiptap-icons/ListIcon.vue.d.ts +0 -2
  67. package/dist/adapters/tiptap/components/tiptap-icons/ListOrderedIcon.vue.d.ts +0 -2
  68. package/dist/adapters/tiptap/components/tiptap-icons/ListTodoIcon.vue.d.ts +0 -2
  69. package/dist/adapters/tiptap/components/tiptap-icons/RedoIcon.vue.d.ts +0 -2
  70. package/dist/adapters/tiptap/components/tiptap-icons/StrikeIcon.vue.d.ts +0 -2
  71. package/dist/adapters/tiptap/components/tiptap-icons/SubscriptIcon.vue.d.ts +0 -2
  72. package/dist/adapters/tiptap/components/tiptap-icons/SuperscriptIcon.vue.d.ts +0 -2
  73. package/dist/adapters/tiptap/components/tiptap-icons/TableIcon.vue.d.ts +0 -2
  74. package/dist/adapters/tiptap/components/tiptap-icons/UnderlineIcon.vue.d.ts +0 -2
  75. package/dist/adapters/tiptap/components/tiptap-icons/UndoIcon.vue.d.ts +0 -2
  76. package/dist/adapters/tiptap/components/undo-redo-button/UndoRedoButton.vue.d.ts +0 -30
  77. package/dist/adapters/tiptap/extensions/attachment.d.ts +0 -2
  78. package/dist/adapters/tiptap/extensions/file-upload-node/file-upload-node-extension.d.ts +0 -80
  79. package/dist/adapters/tiptap/extensions/file-upload-node/index.d.ts +0 -1
  80. package/dist/adapters/tiptap/extensions/signature.d.ts +0 -2
  81. package/dist/adapters/tiptap/extensions/table/index.d.ts +0 -2
  82. package/dist/adapters/tiptap/utils/tiptap-utils.d.ts +0 -122
  83. package/dist/components/Button.vue.d.ts +0 -102
  84. package/dist/components/Copiable.vue.d.ts +0 -8
  85. package/dist/components/DatePicker.vue.d.ts +0 -11
  86. package/dist/components/DropdownMenu.vue.d.ts +0 -108
  87. package/dist/components/DropdownMenuItem.vue.d.ts +0 -50
  88. package/dist/components/Error.vue.d.ts +0 -16
  89. package/dist/components/ExpansionPanel.vue.d.ts +0 -58
  90. package/dist/components/FileUpload.vue.d.ts +0 -13
  91. package/dist/components/IconWithText.vue.d.ts +0 -149
  92. package/dist/components/Input.vue.d.ts +0 -51
  93. package/dist/components/InputDropdown.vue.d.ts +0 -16
  94. package/dist/components/InputDropdownMultiple.vue.d.ts +0 -16
  95. package/dist/components/InputGroup.vue.d.ts +0 -15
  96. package/dist/components/InputList.vue.d.ts +0 -20
  97. package/dist/components/Modal.vue.d.ts +0 -118
  98. package/dist/components/Notification.vue.d.ts +0 -195
  99. package/dist/components/PasswordField.vue.d.ts +0 -62
  100. package/dist/components/RadioBox.vue.d.ts +0 -9
  101. package/dist/components/RadioBoxGroup.vue.d.ts +0 -8
  102. package/dist/components/SearchInput.vue.d.ts +0 -36
  103. package/dist/components/Stepper.vue.d.ts +0 -23
  104. package/dist/components/Tag.vue.d.ts +0 -48
  105. package/dist/models/DropdownMenuItem.model.d.ts +0 -13
  106. package/dist/models/InputDropdown.model.d.ts +0 -4
  107. package/dist/models/Tag.model.d.ts +0 -7
@@ -1,5 +1,5 @@
1
1
  import { PropType } from "vue";
2
- declare const _default: import("vue").DefineComponent<{
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  modelValue: {
4
4
  type: StringConstructor;
5
5
  default: string;
@@ -16,7 +16,13 @@ declare const _default: import("vue").DefineComponent<{
16
16
  type: PropType<string[]>;
17
17
  default: () => never[];
18
18
  };
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<{
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<{
20
26
  modelValue: {
21
27
  type: StringConstructor;
22
28
  default: string;
@@ -33,16 +39,16 @@ declare const _default: import("vue").DefineComponent<{
33
39
  type: PropType<string[]>;
34
40
  default: () => never[];
35
41
  };
36
- }>> & {
42
+ }>> & Readonly<{
43
+ onInput?: ((...args: any[]) => any) | undefined;
37
44
  onFocus?: ((...args: any[]) => any) | undefined;
38
45
  onBlur?: ((...args: any[]) => any) | undefined;
39
- onInput?: ((...args: any[]) => any) | undefined;
40
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
41
46
  onClear?: ((...args: any[]) => any) | undefined;
42
- }, {
43
- placeholder: string;
47
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
+ }>, {
44
49
  disabled: boolean;
50
+ placeholder: string;
45
51
  modelValue: string;
46
52
  errors: string[];
47
- }, {}>;
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48
54
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  label: {
3
3
  type: StringConstructor;
4
4
  required: true;
@@ -11,7 +11,9 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: StringConstructor;
12
12
  default: string;
13
13
  };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ remove: (...args: any[]) => void;
16
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
17
  label: {
16
18
  type: StringConstructor;
17
19
  required: true;
@@ -24,10 +26,10 @@ declare const _default: import("vue").DefineComponent<{
24
26
  type: StringConstructor;
25
27
  default: string;
26
28
  };
27
- }>> & {
29
+ }>> & Readonly<{
28
30
  onRemove?: ((...args: any[]) => any) | undefined;
29
- }, {
31
+ }>, {
30
32
  disabled: boolean;
31
33
  tagClass: string;
32
- }, {}>;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
35
  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<import("vue").ExtractPropTypes<{
4
4
  modelValue: {
5
5
  type: PropType<string | string[]>;
6
6
  default: string;
@@ -65,10 +65,21 @@ declare const _default: import("vue").DefineComponent<{
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
- }, 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<{
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<{
72
83
  modelValue: {
73
84
  type: PropType<string | string[]>;
74
85
  default: string;
@@ -133,24 +144,24 @@ declare const _default: import("vue").DefineComponent<{
133
144
  type: PropType<(value: string) => string>;
134
145
  default: null;
135
146
  };
136
- }>> & {
137
- onChange?: ((...args: any[]) => any) | undefined;
147
+ }>> & Readonly<{
148
+ onSearch?: ((...args: any[]) => any) | undefined;
149
+ onSelect?: ((...args: any[]) => any) | undefined;
138
150
  onFocus?: ((...args: any[]) => any) | undefined;
139
- onFocusout?: ((...args: any[]) => any) | undefined;
151
+ onRemove?: ((...args: any[]) => any) | undefined;
140
152
  onBlur?: ((...args: any[]) => any) | undefined;
141
- onSelect?: ((...args: any[]) => any) | undefined;
142
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
153
+ onChange?: ((...args: any[]) => any) | undefined;
154
+ onFocusout?: ((...args: any[]) => any) | undefined;
143
155
  onClear?: ((...args: any[]) => any) | undefined;
156
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
144
157
  onCreate?: ((...args: any[]) => any) | undefined;
145
- onRemove?: ((...args: any[]) => any) | undefined;
146
- onSearch?: ((...args: any[]) => any) | undefined;
147
- }, {
148
- placeholder: string;
158
+ }>, {
149
159
  disabled: boolean;
150
- multiple: boolean;
160
+ placeholder: string;
151
161
  options: InputWithListOption[];
152
162
  modelValue: string | string[];
153
163
  errors: string[];
164
+ multiple: boolean;
154
165
  tagClassFunction: (value: string) => string;
155
166
  allowCreate: boolean;
156
167
  createOnKeys: string[];
@@ -161,5 +172,5 @@ declare const _default: import("vue").DefineComponent<{
161
172
  loadingText: string;
162
173
  searchDebounce: number;
163
174
  minSearchLength: number;
164
- }, {}>;
175
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
165
176
  export default _default;
@@ -1,9 +1,13 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
+ title: string;
3
+ height: number;
4
+ width: number;
5
+ dataSets: Record<string, any>;
2
6
  $props: {
3
7
  readonly title?: string | undefined;
4
8
  readonly height?: number | undefined;
5
9
  readonly width?: number | undefined;
6
10
  readonly dataSets?: Record<string, any> | undefined;
7
11
  };
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
12
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
13
  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<import("vue").ExtractPropTypes<{
4
4
  maxTags: {
5
5
  type: NumberConstructor;
6
6
  required: false;
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
34
34
  type: NumberConstructor;
35
35
  default: number;
36
36
  };
37
- }, unknown, {
37
+ }>, {}, {
38
38
  isHovering: boolean;
39
39
  }, {}, {
40
40
  getTags(): Tag[];
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
43
43
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
44
  onMoreClick: null;
45
45
  onClick: null;
46
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
47
47
  maxTags: {
48
48
  type: NumberConstructor;
49
49
  required: false;
@@ -77,15 +77,61 @@ declare const _default: import("vue").DefineComponent<{
77
77
  type: NumberConstructor;
78
78
  default: number;
79
79
  };
80
- }>> & {
80
+ }>> & Readonly<{
81
81
  onOnClick?: ((...args: any[]) => any) | undefined;
82
82
  onOnMoreClick?: ((...args: any[]) => any) | undefined;
83
- }, {
83
+ }>, {
84
84
  size: TagSize;
85
- color: string;
86
85
  zIndex: number;
86
+ color: string;
87
87
  isClickable: boolean;
88
88
  maxTags: number;
89
89
  showAllOnHover: boolean;
90
- }, {}>;
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>;
91
137
  export default _default;
@@ -1,81 +1,39 @@
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
- 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
- };
4
+ data: SysContentRich;
5
+ attachments: SysAttachment[];
6
+ readOnly?: boolean;
7
+ i18n?: EditorI18n;
8
+ suggestedReply?: SysContentRich;
9
+ toolbarPosition?: "left" | "right";
10
+ editorType?: "tiptap" | "editorjs";
32
11
  }, {
33
12
  registerFiles: (payload: FileRegistration) => void;
34
13
  insertSignature: (payload: SysContentRich, att: SysAttachment[]) => void;
35
14
  isEmpty: () => any;
36
15
  acceptSuggestion: () => void;
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;
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<{
72
29
  "onUpdate:data"?: ((val: SysContentRich) => any) | undefined;
73
30
  "onUpdate:attachments"?: ((value: SysAttachment[]) => any) | undefined;
74
- }, {
31
+ "onFile-upload"?: ((val: UploadEventPayload) => any) | undefined;
32
+ }>, {
75
33
  i18n: EditorI18n;
76
34
  readOnly: boolean;
77
35
  toolbarPosition: "left" | "right";
78
36
  suggestedReply: SysContentRich;
79
37
  editorType: "tiptap" | "editorjs";
80
- }, {}>;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
81
39
  export default _default;
@@ -7,15 +7,35 @@ 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;
10
30
  $props: {
31
+ readonly customColor?: string | undefined;
11
32
  readonly data?: string | Record<string, any> | undefined;
12
33
  readonly focus?: boolean | undefined;
13
- readonly holder?: string | undefined;
14
- readonly i18n?: Record<string, any> | undefined;
15
- readonly readOnly?: boolean | undefined;
16
34
  readonly placeholder?: string | undefined;
17
- readonly customColor?: string | undefined;
35
+ readonly i18n?: Record<string, any> | undefined;
18
36
  readonly minHeight?: number | undefined;
37
+ readonly holder?: string | undefined;
38
+ readonly readOnly?: boolean | undefined;
19
39
  readonly toolbarPosition?: string | undefined;
20
40
  readonly featureSet?: string | undefined;
21
41
  readonly firstBlock?: boolean | undefined;
@@ -28,8 +48,7 @@ declare const _default: import("vue").DefineComponent<{}, {
28
48
  readonly isSuggestionReplyEnabled?: boolean | undefined;
29
49
  readonly suggestionReplyTitle?: string | undefined;
30
50
  };
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<{}>>, {}, {}>;
51
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
52
  export default _default;
34
53
  declare function toggleReadOnly(): void;
35
54
  declare function save(): any;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  code: {
3
3
  type: StringConstructor;
4
4
  required: false;
@@ -16,7 +16,9 @@ declare const _default: import("vue").DefineComponent<{
16
16
  type: StringConstructor;
17
17
  default: string;
18
18
  };
19
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ submit: (...args: any[]) => void;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
22
  code: {
21
23
  type: StringConstructor;
22
24
  required: false;
@@ -34,12 +36,12 @@ declare const _default: import("vue").DefineComponent<{
34
36
  type: StringConstructor;
35
37
  default: string;
36
38
  };
37
- }>> & {
39
+ }>> & Readonly<{
38
40
  onSubmit?: ((...args: any[]) => any) | undefined;
39
- }, {
41
+ }>, {
40
42
  code: string;
41
43
  autoComplete: string;
42
44
  focusOnFirstInput: boolean;
43
45
  focusOnFirstInputDelay: number;
44
- }, {}>;
46
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
45
47
  export default _default;