@dialpad/dialtone 9.96.0 → 9.97.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.
Files changed (106) hide show
  1. package/dist/css/dialtone-default-theme.css +45 -1
  2. package/dist/css/dialtone-default-theme.min.css +1 -1
  3. package/dist/css/dialtone.css +45 -1
  4. package/dist/css/dialtone.min.css +1 -1
  5. package/dist/tokens/doc.json +19430 -19430
  6. package/dist/vue2/component-documentation.json +1 -1
  7. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.cjs +2 -2
  8. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.js +2 -2
  9. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs.map +1 -1
  10. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js.map +1 -1
  11. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs.map +1 -1
  12. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js.map +1 -1
  13. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs +160 -17
  14. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -1
  15. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js +161 -18
  16. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js.map +1 -1
  17. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs +1 -1
  18. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  19. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js +1 -1
  20. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  21. package/dist/vue2/recipes/conversation_view/message_input/last_active_nodes.cjs +87 -0
  22. package/dist/vue2/recipes/conversation_view/message_input/last_active_nodes.cjs.map +1 -0
  23. package/dist/vue2/recipes/conversation_view/message_input/last_active_nodes.js +87 -0
  24. package/dist/vue2/recipes/conversation_view/message_input/last_active_nodes.js.map +1 -0
  25. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs +229 -46
  26. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  27. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js +229 -46
  28. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  29. package/dist/vue2/recipes/conversation_view/message_input/message_input_button.vue.cjs +58 -0
  30. package/dist/vue2/recipes/conversation_view/message_input/message_input_button.vue.cjs.map +1 -0
  31. package/dist/vue2/recipes/conversation_view/message_input/message_input_button.vue.js +58 -0
  32. package/dist/vue2/recipes/conversation_view/message_input/message_input_button.vue.js.map +1 -0
  33. package/dist/vue2/recipes/conversation_view/message_input/message_input_link.vue.cjs +108 -0
  34. package/dist/vue2/recipes/conversation_view/message_input/message_input_link.vue.cjs.map +1 -0
  35. package/dist/vue2/recipes/conversation_view/message_input/message_input_link.vue.js +108 -0
  36. package/dist/vue2/recipes/conversation_view/message_input/message_input_link.vue.js.map +1 -0
  37. package/dist/vue2/recipes/conversation_view/message_input/message_input_topbar.vue.cjs +106 -0
  38. package/dist/vue2/recipes/conversation_view/message_input/message_input_topbar.vue.cjs.map +1 -0
  39. package/dist/vue2/recipes/conversation_view/message_input/message_input_topbar.vue.js +106 -0
  40. package/dist/vue2/recipes/conversation_view/message_input/message_input_topbar.vue.js.map +1 -0
  41. package/dist/vue2/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts.map +1 -1
  42. package/dist/vue2/types/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.d.ts.map +1 -1
  43. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +37 -1
  44. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  45. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  46. package/dist/vue2/types/recipes/conversation_view/message_input/last_active_nodes.d.ts +3 -0
  47. package/dist/vue2/types/recipes/conversation_view/message_input/last_active_nodes.d.ts.map +1 -0
  48. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +183 -60
  49. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  50. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts +48 -0
  51. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts.map +1 -0
  52. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +38 -0
  53. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -0
  54. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +87 -0
  55. package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -0
  56. package/dist/vue3/component-documentation.json +1 -1
  57. package/dist/vue3/components/keyboard_shortcut/keyboard_shortcut.vue.cjs +2 -2
  58. package/dist/vue3/components/keyboard_shortcut/keyboard_shortcut.vue.js +2 -2
  59. package/dist/vue3/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs.map +1 -1
  60. package/dist/vue3/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js.map +1 -1
  61. package/dist/vue3/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs.map +1 -1
  62. package/dist/vue3/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js.map +1 -1
  63. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.cjs +223 -21
  64. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -1
  65. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.js +225 -23
  66. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.js.map +1 -1
  67. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs +1 -0
  68. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  69. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js +1 -0
  70. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  71. package/dist/vue3/recipes/conversation_view/message_input/last_active_nodes.cjs +87 -0
  72. package/dist/vue3/recipes/conversation_view/message_input/last_active_nodes.cjs.map +1 -0
  73. package/dist/vue3/recipes/conversation_view/message_input/last_active_nodes.js +87 -0
  74. package/dist/vue3/recipes/conversation_view/message_input/last_active_nodes.js.map +1 -0
  75. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs +279 -65
  76. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  77. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js +280 -66
  78. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  79. package/dist/vue3/recipes/conversation_view/message_input/message_input_button.vue.cjs +81 -0
  80. package/dist/vue3/recipes/conversation_view/message_input/message_input_button.vue.cjs.map +1 -0
  81. package/dist/vue3/recipes/conversation_view/message_input/message_input_button.vue.js +81 -0
  82. package/dist/vue3/recipes/conversation_view/message_input/message_input_button.vue.js.map +1 -0
  83. package/dist/vue3/recipes/conversation_view/message_input/message_input_link.vue.cjs +193 -0
  84. package/dist/vue3/recipes/conversation_view/message_input/message_input_link.vue.cjs.map +1 -0
  85. package/dist/vue3/recipes/conversation_view/message_input/message_input_link.vue.js +193 -0
  86. package/dist/vue3/recipes/conversation_view/message_input/message_input_link.vue.js.map +1 -0
  87. package/dist/vue3/recipes/conversation_view/message_input/message_input_topbar.vue.cjs +223 -0
  88. package/dist/vue3/recipes/conversation_view/message_input/message_input_topbar.vue.cjs.map +1 -0
  89. package/dist/vue3/recipes/conversation_view/message_input/message_input_topbar.vue.js +223 -0
  90. package/dist/vue3/recipes/conversation_view/message_input/message_input_topbar.vue.js.map +1 -0
  91. package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts.map +1 -1
  92. package/dist/vue3/types/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.d.ts.map +1 -1
  93. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +42 -1
  94. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  95. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  96. package/dist/vue3/types/recipes/conversation_view/message_input/last_active_nodes.d.ts +3 -0
  97. package/dist/vue3/types/recipes/conversation_view/message_input/last_active_nodes.d.ts.map +1 -0
  98. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +185 -61
  99. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  100. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts +50 -0
  101. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts.map +1 -0
  102. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +42 -0
  103. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -0
  104. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +89 -0
  105. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -0
  106. package/package.json +7 -4
@@ -82,6 +82,10 @@ declare const _default: import('vue').DefineComponent<{
82
82
  type: BooleanConstructor;
83
83
  default: boolean;
84
84
  };
85
+ allowCode: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
85
89
  allowCodeblock: {
86
90
  type: BooleanConstructor;
87
91
  default: boolean;
@@ -94,8 +98,16 @@ declare const _default: import('vue').DefineComponent<{
94
98
  type: ArrayConstructor;
95
99
  default: () => never[];
96
100
  };
101
+ hideLinkBubbleMenu: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
97
105
  }, {}, {
98
106
  editor: null;
107
+ tippyOptions: {
108
+ appendTo: () => any;
109
+ placement: string;
110
+ };
99
111
  }, {
100
112
  editorListeners(): {
101
113
  input: () => void;
@@ -110,14 +122,28 @@ declare const _default: import('vue').DefineComponent<{
110
122
  };
111
123
  }, {
112
124
  createEditor(): void;
125
+ bubbleMenuShouldShow({ editor, view, state, oldState, from, to }: {
126
+ editor: any;
127
+ view: any;
128
+ state: any;
129
+ oldState: any;
130
+ from: any;
131
+ to: any;
132
+ }): any;
133
+ getSelectedLinkText(editor: any): any;
134
+ editLink(): void;
135
+ removeLink(): void;
136
+ openLink(): void;
137
+ setLink(linkInput: any, linkText: any, linkOptions: any, linkProtocols: string[] | undefined, defaultPrefix: any): void;
113
138
  processValue(newValue: any, returnIfEqual?: boolean): void;
114
139
  destroyEditor(): void;
140
+ triggerInputChangeEvents(): void;
115
141
  addEditorListeners(): void;
116
142
  getOutput(): any;
117
143
  getExtension(extension: any, options: any): any;
118
144
  updateEditorAttributes(attributes: any): void;
119
145
  focusEditor(): void;
120
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "focus" | "enter" | "blur" | "update:value")[], string, Readonly<import('vue').ExtractPropTypes<{
146
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "focus" | "selected" | "enter" | "blur" | "json-input" | "html-input" | "text-input" | "update:value" | "edit-link")[], string, Readonly<import('vue').ExtractPropTypes<{
121
147
  value: {
122
148
  type: (ObjectConstructor | StringConstructor)[];
123
149
  default: string;
@@ -200,6 +226,10 @@ declare const _default: import('vue').DefineComponent<{
200
226
  type: BooleanConstructor;
201
227
  default: boolean;
202
228
  };
229
+ allowCode: {
230
+ type: BooleanConstructor;
231
+ default: boolean;
232
+ };
203
233
  allowCodeblock: {
204
234
  type: BooleanConstructor;
205
235
  default: boolean;
@@ -212,6 +242,10 @@ declare const _default: import('vue').DefineComponent<{
212
242
  type: ArrayConstructor;
213
243
  default: () => never[];
214
244
  };
245
+ hideLinkBubbleMenu: {
246
+ type: BooleanConstructor;
247
+ default: boolean;
248
+ };
215
249
  }>>, {
216
250
  link: boolean | Record<string, any>;
217
251
  value: string | Record<string, any>;
@@ -232,9 +266,11 @@ declare const _default: import('vue').DefineComponent<{
232
266
  allowItalic: boolean;
233
267
  allowStrike: boolean;
234
268
  allowUnderline: boolean;
269
+ allowCode: boolean;
235
270
  allowCodeblock: boolean;
236
271
  allowInlineImages: boolean;
237
272
  additionalExtensions: unknown[];
273
+ hideLinkBubbleMenu: boolean;
238
274
  }>;
239
275
  export default _default;
240
276
  //# sourceMappingURL=rich_text_editor.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+oB0B,cAAc"}
1
+ {"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue"],"names":[],"mappings":"AAoDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA02B0B,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"editor.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/editor/editor.vue"],"names":[],"mappings":"AAkLA;"}
1
+ {"version":3,"file":"editor.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/editor/editor.vue"],"names":[],"mappings":"AAmLA;"}
@@ -0,0 +1,3 @@
1
+ export default function lastActiveNodes(state: Object, typesOrGroup: any): any[];
2
+ export function objectIncludes(object1: any, object2: any, options: any): boolean;
3
+ //# sourceMappingURL=last_active_nodes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"last_active_nodes.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/last_active_nodes.js"],"names":[],"mappings":"AAgBA,+CAJW,MAAM,4BAwEhB;AAgBD,kFAsBC"}
@@ -1,4 +1,9 @@
1
+ import { default as lastActiveNodes } from './last_active_nodes';
1
2
  declare const _default: import('vue').DefineComponent<{
3
+ richText: {
4
+ type: BooleanConstructor;
5
+ default: boolean;
6
+ };
2
7
  value: {
3
8
  type: (ObjectConstructor | StringConstructor)[];
4
9
  default: string;
@@ -30,10 +35,6 @@ declare const _default: import('vue').DefineComponent<{
30
35
  default: string;
31
36
  validator(outputFormat: unknown): boolean;
32
37
  };
33
- link: {
34
- type: (ObjectConstructor | BooleanConstructor)[];
35
- default: boolean;
36
- };
37
38
  placeholder: {
38
39
  type: StringConstructor;
39
40
  default: string;
@@ -100,43 +101,104 @@ declare const _default: import('vue').DefineComponent<{
100
101
  type: ObjectConstructor;
101
102
  default: null;
102
103
  };
103
- allowBlockquote: {
104
- type: BooleanConstructor;
105
- default: boolean;
104
+ boldButtonOptions: {
105
+ type: ObjectConstructor;
106
+ default: () => {
107
+ ariaLabel: string;
108
+ tooltipText: string;
109
+ keyboardShortcutText: string;
110
+ };
106
111
  };
107
- allowBold: {
108
- type: BooleanConstructor;
109
- default: boolean;
112
+ italicButtonOptions: {
113
+ type: ObjectConstructor;
114
+ default: () => {
115
+ ariaLabel: string;
116
+ tooltipText: string;
117
+ keyboardShortcutText: string;
118
+ };
110
119
  };
111
- allowBulletList: {
112
- type: BooleanConstructor;
113
- default: boolean;
120
+ strikeButtonOptions: {
121
+ type: ObjectConstructor;
122
+ default: () => {
123
+ ariaLabel: string;
124
+ tooltipText: string;
125
+ keyboardShortcutText: string;
126
+ };
114
127
  };
115
- allowItalic: {
116
- type: BooleanConstructor;
117
- default: boolean;
128
+ linkButtonOptions: {
129
+ type: ObjectConstructor;
130
+ default: () => {
131
+ ariaLabel: string;
132
+ tooltipText: string;
133
+ keyboardShortcutText: string;
134
+ dialogTitle: string;
135
+ textLabel: string;
136
+ linkLabel: string;
137
+ linkPlaceholder: string;
138
+ removeLabel: string;
139
+ cancelLabel: string;
140
+ confirmLabel: string;
141
+ visuallyHiddenCloseText: string;
142
+ };
118
143
  };
119
- allowStrike: {
120
- type: BooleanConstructor;
121
- default: boolean;
144
+ bulletListButtonOptions: {
145
+ type: ObjectConstructor;
146
+ default: () => {
147
+ ariaLabel: string;
148
+ tooltipText: string;
149
+ keyboardShortcutText: string;
150
+ };
122
151
  };
123
- allowUnderline: {
124
- type: BooleanConstructor;
125
- default: boolean;
152
+ orderedListButtonOptions: {
153
+ type: ObjectConstructor;
154
+ default: () => {
155
+ ariaLabel: string;
156
+ tooltipText: string;
157
+ keyboardShortcutText: string;
158
+ };
126
159
  };
127
- allowCodeblock: {
128
- type: BooleanConstructor;
129
- default: boolean;
160
+ blockQuoteButtonOptions: {
161
+ type: ObjectConstructor;
162
+ default: () => {
163
+ ariaLabel: string;
164
+ tooltipText: string;
165
+ keyboardShortcutText: string;
166
+ };
167
+ };
168
+ codeButtonOptions: {
169
+ type: ObjectConstructor;
170
+ default: () => {
171
+ ariaLabel: string;
172
+ tooltipText: string;
173
+ keyboardShortcutText: string;
174
+ };
175
+ };
176
+ codeBlockButtonOptions: {
177
+ type: ObjectConstructor;
178
+ default: () => {
179
+ ariaLabel: string;
180
+ tooltipText: string;
181
+ keyboardShortcutText: string;
182
+ };
130
183
  };
131
184
  }, {}, {
185
+ lastActiveNodes: typeof lastActiveNodes;
132
186
  additionalExtensions: import('@tiptap/core').Node<any, any>[];
133
187
  internalInputValue: any;
134
188
  imagePickerFocus: boolean;
135
189
  emojiPickerFocus: boolean;
136
190
  emojiPickerOpened: boolean;
191
+ isFocused: boolean;
192
+ linkOptions: {
193
+ class: string;
194
+ };
195
+ linkDialogOpen: boolean;
196
+ selectedText: string;
197
+ text: string;
198
+ hideLinkBubbleMenu: boolean;
137
199
  }, {
138
200
  showSendIcon(): boolean;
139
- inputLength(): any;
201
+ inputLength(): number;
140
202
  displayCharacterLimitWarning(): boolean;
141
203
  characterLimitTooltipEnabled(): any;
142
204
  isSendDisabled(): any;
@@ -146,6 +208,12 @@ declare const _default: import('vue').DefineComponent<{
146
208
  emojiPickerHovered(): boolean;
147
209
  sendIconSize(): "300";
148
210
  }, {
211
+ linkDialogOpened(value: any): void;
212
+ handleTopbarClick(type: any): void;
213
+ isSelectionActive(type: any): any;
214
+ initLinkDialog(): void;
215
+ removeLink(): void;
216
+ setLink(linkText: any, linkInput: any): void;
149
217
  onMousedown(e: any): void;
150
218
  onDrop(e: any): void;
151
219
  onPaste(e: any): void;
@@ -157,7 +225,12 @@ declare const _default: import('vue').DefineComponent<{
157
225
  onSend(): void;
158
226
  onCancel(): void;
159
227
  onInput(event: any): void;
160
- }, never, import('vue').ComponentOptionsMixin, ("cancel" | "submit" | "selected-emoji" | "skin-tone" | "selected-command" | "update:value" | "meeting-pill-close" | "select-media" | "add-media" | "paste-media")[], string, Readonly<import('vue').ExtractPropTypes<{
228
+ onTextInput(event: any): void;
229
+ }, never, import('vue').ComponentOptionsMixin, ("cancel" | "submit" | "selected-emoji" | "skin-tone" | "selected-command" | "text-input" | "update:value" | "meeting-pill-close" | "select-media" | "add-media" | "paste-media")[], string, Readonly<import('vue').ExtractPropTypes<{
230
+ richText: {
231
+ type: BooleanConstructor;
232
+ default: boolean;
233
+ };
161
234
  value: {
162
235
  type: (ObjectConstructor | StringConstructor)[];
163
236
  default: string;
@@ -189,10 +262,6 @@ declare const _default: import('vue').DefineComponent<{
189
262
  default: string;
190
263
  validator(outputFormat: unknown): boolean;
191
264
  };
192
- link: {
193
- type: (ObjectConstructor | BooleanConstructor)[];
194
- default: boolean;
195
- };
196
265
  placeholder: {
197
266
  type: StringConstructor;
198
267
  default: string;
@@ -259,36 +328,87 @@ declare const _default: import('vue').DefineComponent<{
259
328
  type: ObjectConstructor;
260
329
  default: null;
261
330
  };
262
- allowBlockquote: {
263
- type: BooleanConstructor;
264
- default: boolean;
331
+ boldButtonOptions: {
332
+ type: ObjectConstructor;
333
+ default: () => {
334
+ ariaLabel: string;
335
+ tooltipText: string;
336
+ keyboardShortcutText: string;
337
+ };
265
338
  };
266
- allowBold: {
267
- type: BooleanConstructor;
268
- default: boolean;
339
+ italicButtonOptions: {
340
+ type: ObjectConstructor;
341
+ default: () => {
342
+ ariaLabel: string;
343
+ tooltipText: string;
344
+ keyboardShortcutText: string;
345
+ };
269
346
  };
270
- allowBulletList: {
271
- type: BooleanConstructor;
272
- default: boolean;
347
+ strikeButtonOptions: {
348
+ type: ObjectConstructor;
349
+ default: () => {
350
+ ariaLabel: string;
351
+ tooltipText: string;
352
+ keyboardShortcutText: string;
353
+ };
273
354
  };
274
- allowItalic: {
275
- type: BooleanConstructor;
276
- default: boolean;
355
+ linkButtonOptions: {
356
+ type: ObjectConstructor;
357
+ default: () => {
358
+ ariaLabel: string;
359
+ tooltipText: string;
360
+ keyboardShortcutText: string;
361
+ dialogTitle: string;
362
+ textLabel: string;
363
+ linkLabel: string;
364
+ linkPlaceholder: string;
365
+ removeLabel: string;
366
+ cancelLabel: string;
367
+ confirmLabel: string;
368
+ visuallyHiddenCloseText: string;
369
+ };
277
370
  };
278
- allowStrike: {
279
- type: BooleanConstructor;
280
- default: boolean;
371
+ bulletListButtonOptions: {
372
+ type: ObjectConstructor;
373
+ default: () => {
374
+ ariaLabel: string;
375
+ tooltipText: string;
376
+ keyboardShortcutText: string;
377
+ };
281
378
  };
282
- allowUnderline: {
283
- type: BooleanConstructor;
284
- default: boolean;
379
+ orderedListButtonOptions: {
380
+ type: ObjectConstructor;
381
+ default: () => {
382
+ ariaLabel: string;
383
+ tooltipText: string;
384
+ keyboardShortcutText: string;
385
+ };
285
386
  };
286
- allowCodeblock: {
287
- type: BooleanConstructor;
288
- default: boolean;
387
+ blockQuoteButtonOptions: {
388
+ type: ObjectConstructor;
389
+ default: () => {
390
+ ariaLabel: string;
391
+ tooltipText: string;
392
+ keyboardShortcutText: string;
393
+ };
394
+ };
395
+ codeButtonOptions: {
396
+ type: ObjectConstructor;
397
+ default: () => {
398
+ ariaLabel: string;
399
+ tooltipText: string;
400
+ keyboardShortcutText: string;
401
+ };
402
+ };
403
+ codeBlockButtonOptions: {
404
+ type: ObjectConstructor;
405
+ default: () => {
406
+ ariaLabel: string;
407
+ tooltipText: string;
408
+ keyboardShortcutText: string;
409
+ };
289
410
  };
290
411
  }>>, {
291
- link: boolean | Record<string, any>;
292
412
  value: string | Record<string, any>;
293
413
  maxHeight: string;
294
414
  inputClass: string;
@@ -301,13 +421,16 @@ declare const _default: import('vue').DefineComponent<{
301
421
  preventTyping: boolean;
302
422
  autoFocus: string | number | boolean;
303
423
  outputFormat: string;
304
- allowBlockquote: boolean;
305
- allowBold: boolean;
306
- allowBulletList: boolean;
307
- allowItalic: boolean;
308
- allowStrike: boolean;
309
- allowUnderline: boolean;
310
- allowCodeblock: boolean;
424
+ boldButtonOptions: Record<string, any>;
425
+ italicButtonOptions: Record<string, any>;
426
+ strikeButtonOptions: Record<string, any>;
427
+ bulletListButtonOptions: Record<string, any>;
428
+ orderedListButtonOptions: Record<string, any>;
429
+ blockQuoteButtonOptions: Record<string, any>;
430
+ codeButtonOptions: Record<string, any>;
431
+ codeBlockButtonOptions: Record<string, any>;
432
+ linkButtonOptions: Record<string, any>;
433
+ richText: boolean;
311
434
  disableSend: boolean;
312
435
  showEmojiPicker: boolean;
313
436
  emojiPickerProps: Record<string, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue"],"names":[],"mappings":"AAiOA;"}
1
+ {"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue"],"names":[],"mappings":"AAqQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAq/B4B,qBAAqB"}
@@ -0,0 +1,48 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ ariaLabel: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ tooltipText: {
7
+ type: StringConstructor;
8
+ required: true;
9
+ };
10
+ keyboardShortcutText: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ isActive: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ dataQa: {
19
+ type: StringConstructor;
20
+ required: true;
21
+ };
22
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], string, Readonly<import('vue').ExtractPropTypes<{
23
+ ariaLabel: {
24
+ type: StringConstructor;
25
+ required: true;
26
+ };
27
+ tooltipText: {
28
+ type: StringConstructor;
29
+ required: true;
30
+ };
31
+ keyboardShortcutText: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ isActive: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ dataQa: {
40
+ type: StringConstructor;
41
+ required: true;
42
+ };
43
+ }>>, {
44
+ isActive: boolean;
45
+ keyboardShortcutText: string;
46
+ }>;
47
+ export default _default;
48
+ //# sourceMappingURL=message_input_button.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message_input_button.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input_button.vue"],"names":[],"mappings":"AA2BA;"}
@@ -0,0 +1,38 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ open: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ linkButtonOptions: {
7
+ type: ObjectConstructor;
8
+ required: true;
9
+ };
10
+ isSelectionActive: {
11
+ type: FunctionConstructor;
12
+ default: () => void;
13
+ };
14
+ }, {}, {
15
+ linkText: string;
16
+ linkInput: string;
17
+ isOpen: boolean;
18
+ }, {}, {
19
+ setInitialValues(linkText: any, linkInput: any): void;
20
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("opened" | "set-link" | "remove-link")[], string, Readonly<import('vue').ExtractPropTypes<{
21
+ open: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ linkButtonOptions: {
26
+ type: ObjectConstructor;
27
+ required: true;
28
+ };
29
+ isSelectionActive: {
30
+ type: FunctionConstructor;
31
+ default: () => void;
32
+ };
33
+ }>>, {
34
+ open: boolean;
35
+ isSelectionActive: Function;
36
+ }>;
37
+ export default _default;
38
+ //# sourceMappingURL=message_input_link.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message_input_link.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input_link.vue"],"names":[],"mappings":"AAwGA;"}
@@ -0,0 +1,87 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ boldButtonOptions: {
3
+ type: ObjectConstructor;
4
+ default: () => {};
5
+ };
6
+ italicButtonOptions: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ strikeButtonOptions: {
11
+ type: ObjectConstructor;
12
+ default: () => {};
13
+ };
14
+ bulletListButtonOptions: {
15
+ type: ObjectConstructor;
16
+ default: () => {};
17
+ };
18
+ orderedListButtonOptions: {
19
+ type: ObjectConstructor;
20
+ default: () => {};
21
+ };
22
+ blockQuoteButtonOptions: {
23
+ type: ObjectConstructor;
24
+ default: () => {};
25
+ };
26
+ codeButtonOptions: {
27
+ type: ObjectConstructor;
28
+ default: () => {};
29
+ };
30
+ codeBlockButtonOptions: {
31
+ type: ObjectConstructor;
32
+ default: () => {};
33
+ };
34
+ isSelectionActive: {
35
+ type: FunctionConstructor;
36
+ default: () => void;
37
+ };
38
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], string, Readonly<import('vue').ExtractPropTypes<{
39
+ boldButtonOptions: {
40
+ type: ObjectConstructor;
41
+ default: () => {};
42
+ };
43
+ italicButtonOptions: {
44
+ type: ObjectConstructor;
45
+ default: () => {};
46
+ };
47
+ strikeButtonOptions: {
48
+ type: ObjectConstructor;
49
+ default: () => {};
50
+ };
51
+ bulletListButtonOptions: {
52
+ type: ObjectConstructor;
53
+ default: () => {};
54
+ };
55
+ orderedListButtonOptions: {
56
+ type: ObjectConstructor;
57
+ default: () => {};
58
+ };
59
+ blockQuoteButtonOptions: {
60
+ type: ObjectConstructor;
61
+ default: () => {};
62
+ };
63
+ codeButtonOptions: {
64
+ type: ObjectConstructor;
65
+ default: () => {};
66
+ };
67
+ codeBlockButtonOptions: {
68
+ type: ObjectConstructor;
69
+ default: () => {};
70
+ };
71
+ isSelectionActive: {
72
+ type: FunctionConstructor;
73
+ default: () => void;
74
+ };
75
+ }>>, {
76
+ boldButtonOptions: Record<string, any>;
77
+ italicButtonOptions: Record<string, any>;
78
+ strikeButtonOptions: Record<string, any>;
79
+ bulletListButtonOptions: Record<string, any>;
80
+ orderedListButtonOptions: Record<string, any>;
81
+ blockQuoteButtonOptions: Record<string, any>;
82
+ codeButtonOptions: Record<string, any>;
83
+ codeBlockButtonOptions: Record<string, any>;
84
+ isSelectionActive: Function;
85
+ }>;
86
+ export default _default;
87
+ //# sourceMappingURL=message_input_topbar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message_input_topbar.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input_topbar.vue"],"names":[],"mappings":"AA8IA;"}