@dialpad/dialtone 9.8.0 → 9.10.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/css/dialtone.css +2 -2
- package/dist/icons/icons.json +1 -1
- package/dist/icons/keywords.json +1 -1
- package/dist/icons/svg/bullet.svg +1 -0
- package/dist/icons/svg/{0365-calendar.svg → o365-calendar.svg} +1 -1
- package/dist/tokens/android/java/tokens-dark.kt +1 -1
- package/dist/tokens/android/java/tokens-light.kt +1 -1
- package/dist/tokens/android/res/values/colors-dark.xml +1 -1
- package/dist/tokens/android/res/values/colors-light.xml +1 -1
- package/dist/tokens/android/res/values/dimens.xml +1 -1
- package/dist/tokens/css/variables-dark.css +1 -1
- package/dist/tokens/css/variables-light.css +1 -1
- package/dist/tokens/ios/tokens-dark.swift +1 -1
- package/dist/tokens/ios/tokens-light.swift +1 -1
- package/dist/tokens/less/variables-dark.less +1 -1
- package/dist/tokens/less/variables-light.less +1 -1
- package/dist/vue2/dialtone-vue.cjs +5 -5
- package/dist/vue2/dialtone-vue.js +1742 -1298
- package/dist/vue2/emoji.cjs +1 -1
- package/dist/vue2/emoji.js +3 -3
- package/dist/vue2/emoji_picker-3cVhhlbr.js +782 -0
- package/dist/vue2/emoji_picker-50hU6Bus.cjs +1 -0
- package/dist/vue2/{emoji_text_wrapper-KB-Ko_in.js → emoji_text_wrapper-45075bUQ.js} +1 -1
- package/dist/vue2/{emoji_text_wrapper-APKs6ucq.cjs → emoji_text_wrapper-dc6a_C0K.cjs} +1 -1
- package/dist/vue2/index-8ytmeBCH.cjs +1 -0
- package/dist/vue2/index-NG2T0qK1.js +139501 -0
- package/dist/vue2/message_input.cjs +1 -92
- package/dist/vue2/message_input.js +86 -13208
- package/dist/vue2/rich_text_editor-E7mcsC-J.cjs +97 -0
- package/dist/vue2/rich_text_editor-sxTdV897.js +16483 -0
- package/dist/vue2/style.css +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +16 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor_constants.d.ts +2 -0
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor_constants.d.ts.map +1 -1
- package/dist/vue2/types/index.d.ts +1 -0
- package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +518 -0
- package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -0
- package/dist/vue2/types/recipes/conversation_view/editor/editor_constants.d.ts +8 -0
- package/dist/vue2/types/recipes/conversation_view/editor/editor_constants.d.ts.map +1 -0
- package/dist/vue2/types/recipes/conversation_view/editor/index.d.ts +2 -0
- package/dist/vue2/types/recipes/conversation_view/editor/index.d.ts.map +1 -0
- package/dist/vue3/dialtone-vue.cjs +5 -5
- package/dist/vue3/dialtone-vue.js +2857 -2264
- package/dist/vue3/emoji-3sZLmJtM.cjs +1 -0
- package/dist/vue3/{emoji-yICdaFwX.js → emoji-RvO57rkW.js} +5601 -5579
- package/dist/vue3/emoji.cjs +1 -1
- package/dist/vue3/emoji.js +3 -3
- package/dist/vue3/{emoji_picker-aN3p56tE.cjs → emoji_picker-EYanEJrn.cjs} +1 -1
- package/dist/vue3/{emoji_picker-M2cPySPi.js → emoji_picker-ZDMH1VIY.js} +1 -1
- package/dist/vue3/{emoji_text_wrapper-S5n_b0Ll.cjs → emoji_text_wrapper-p2pyEE4j.cjs} +1 -1
- package/dist/vue3/{emoji_text_wrapper-1Grq_Nfn.js → emoji_text_wrapper-zvhbHADN.js} +1 -1
- package/dist/vue3/message_input.cjs +1 -92
- package/dist/vue3/message_input.js +156 -13406
- package/dist/vue3/rich_text_editor-VFx2M8I2.cjs +97 -0
- package/dist/vue3/rich_text_editor-o1bRsprW.js +16664 -0
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +16 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor_constants.d.ts +2 -0
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor_constants.d.ts.map +1 -1
- package/dist/vue3/types/index.d.ts +1 -0
- package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +522 -0
- package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -0
- package/dist/vue3/types/recipes/conversation_view/editor/editor_constants.d.ts +8 -0
- package/dist/vue3/types/recipes/conversation_view/editor/editor_constants.d.ts.map +1 -0
- package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts +2 -0
- package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts.map +1 -0
- package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts.map +1 -1
- package/package.json +34 -4
- package/dist/vue2/emoji-2nPGIAeb.js +0 -56666
- package/dist/vue2/emoji-8DJWVPgD.cjs +0 -1
- package/dist/vue2/emoji_picker-KXqP7T9b.cjs +0 -1
- package/dist/vue2/emoji_picker-WxqkveyL.js +0 -83604
- package/dist/vue2/stack-XgHklgWB.cjs +0 -2
- package/dist/vue2/stack-buVgg-xL.js +0 -1852
- package/dist/vue3/emoji-KiKurHwi.cjs +0 -1
- package/dist/vue3/stack-bGMrxsbK.js +0 -1905
- package/dist/vue3/stack-fV5ujJ1F.cjs +0 -2
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Value of the input. The object format should match TipTap's JSON
|
|
4
|
+
* document structure: https://tiptap.dev/guide/output#option-1-json
|
|
5
|
+
*/
|
|
6
|
+
value: {
|
|
7
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Whether the input is editable
|
|
12
|
+
*/
|
|
13
|
+
editable: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Descriptive label for the input element
|
|
19
|
+
*/
|
|
20
|
+
inputAriaLabel: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Additional class name for the input element. Only accepts a String value
|
|
27
|
+
* because this is passed to the editor via options. For multiple classes,
|
|
28
|
+
* join them into one string, e.g. "d-p8 d-hmx96"
|
|
29
|
+
*/
|
|
30
|
+
inputClass: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Whether the input should receive focus after the component has been
|
|
36
|
+
* mounted. Either one of `start`, `end`, `all` or a Boolean or a Number.
|
|
37
|
+
* - `start` Sets the focus to the beginning of the input
|
|
38
|
+
* - `end` Sets the focus to the end of the input
|
|
39
|
+
* - `all` Selects the whole contents of the input
|
|
40
|
+
* - `Number` Sets the focus to a specific position in the input
|
|
41
|
+
* - `true` Defaults to `start`
|
|
42
|
+
* - `false` Disables autofocus
|
|
43
|
+
* @values true, false, start, end, all, number
|
|
44
|
+
*/
|
|
45
|
+
autoFocus: {
|
|
46
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
47
|
+
default: boolean;
|
|
48
|
+
validator(autoFocus: unknown): boolean;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Placeholder text
|
|
52
|
+
*/
|
|
53
|
+
placeholder: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Content area needs to dynamically adjust height based on the conversation area height.
|
|
59
|
+
* can be vh|px|rem|em|%
|
|
60
|
+
*/
|
|
61
|
+
maxHeight: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Confirm set link button defaults.
|
|
67
|
+
*/
|
|
68
|
+
confirmSetLinkButton: {
|
|
69
|
+
type: ObjectConstructor;
|
|
70
|
+
default: () => {
|
|
71
|
+
label: string;
|
|
72
|
+
ariaLabel: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Remove link button defaults.
|
|
77
|
+
*/
|
|
78
|
+
removeLinkButton: {
|
|
79
|
+
type: ObjectConstructor;
|
|
80
|
+
default: () => {
|
|
81
|
+
label: string;
|
|
82
|
+
ariaLabel: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Cancel set link button defaults.
|
|
87
|
+
*/
|
|
88
|
+
cancelSetLinkButton: {
|
|
89
|
+
type: ObjectConstructor;
|
|
90
|
+
default: () => {
|
|
91
|
+
label: string;
|
|
92
|
+
ariaLabel: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Placeholder text for the set link input field
|
|
97
|
+
*/
|
|
98
|
+
setLinkPlaceholder: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Show button to render text as bold
|
|
104
|
+
*/
|
|
105
|
+
showBoldButton: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Show button to render text in italics
|
|
111
|
+
*/
|
|
112
|
+
showItalicsButton: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Show button to underline text
|
|
118
|
+
*/
|
|
119
|
+
showUnderlineButton: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Show button to strike text
|
|
125
|
+
*/
|
|
126
|
+
showStrikeButton: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Show button to render list items
|
|
132
|
+
*/
|
|
133
|
+
showListItemsButton: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Show button to render ordered list items
|
|
139
|
+
*/
|
|
140
|
+
showOrderedListButton: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Show button to align text to the left
|
|
146
|
+
*/
|
|
147
|
+
showAlignLeftButton: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Show button to align text to the center
|
|
153
|
+
*/
|
|
154
|
+
showAlignCenterButton: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* Show button to align text to the right
|
|
160
|
+
*/
|
|
161
|
+
showAlignRightButton: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Show button to justify text
|
|
167
|
+
*/
|
|
168
|
+
showAlignJustifyButton: {
|
|
169
|
+
type: BooleanConstructor;
|
|
170
|
+
default: boolean;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Show button to add quote format to text
|
|
174
|
+
*/
|
|
175
|
+
showQuoteButton: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Show button to add code block
|
|
181
|
+
*/
|
|
182
|
+
showCodeBlockButton: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Show add link default config.
|
|
188
|
+
*/
|
|
189
|
+
showAddLink: {
|
|
190
|
+
type: ObjectConstructor;
|
|
191
|
+
default: () => {
|
|
192
|
+
showAddLinkButton: boolean;
|
|
193
|
+
setLinkTitle: string;
|
|
194
|
+
setLinkInputAriaLabel: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
}, {}, {
|
|
198
|
+
internalInputValue: any;
|
|
199
|
+
hasFocus: boolean;
|
|
200
|
+
linkOptions: {
|
|
201
|
+
class: string;
|
|
202
|
+
};
|
|
203
|
+
showLinkInput: boolean;
|
|
204
|
+
linkInput: string;
|
|
205
|
+
}, {
|
|
206
|
+
inputLength(): any;
|
|
207
|
+
htmlOutputFormat(): string;
|
|
208
|
+
showingTextFormatButtons(): any;
|
|
209
|
+
showingAlignmentButtons(): any;
|
|
210
|
+
showingListButtons(): any;
|
|
211
|
+
buttonGroups(): ({
|
|
212
|
+
key: string;
|
|
213
|
+
buttonGroup: {
|
|
214
|
+
showBtn: any;
|
|
215
|
+
selector: string;
|
|
216
|
+
iconName: string;
|
|
217
|
+
dataQA: string;
|
|
218
|
+
tooltipMessage: string;
|
|
219
|
+
onClick: () => void;
|
|
220
|
+
}[];
|
|
221
|
+
} | {
|
|
222
|
+
key: string;
|
|
223
|
+
buttonGroup: {
|
|
224
|
+
showBtn: any;
|
|
225
|
+
selector: {
|
|
226
|
+
textAlign: string;
|
|
227
|
+
};
|
|
228
|
+
iconName: string;
|
|
229
|
+
dataQA: string;
|
|
230
|
+
tooltipMessage: string;
|
|
231
|
+
onClick: () => any;
|
|
232
|
+
}[];
|
|
233
|
+
})[];
|
|
234
|
+
textFormatButtons(): {
|
|
235
|
+
showBtn: any;
|
|
236
|
+
selector: string;
|
|
237
|
+
iconName: string;
|
|
238
|
+
dataQA: string;
|
|
239
|
+
tooltipMessage: string;
|
|
240
|
+
onClick: () => void;
|
|
241
|
+
}[];
|
|
242
|
+
alignmentButtons(): {
|
|
243
|
+
showBtn: any;
|
|
244
|
+
selector: {
|
|
245
|
+
textAlign: string;
|
|
246
|
+
};
|
|
247
|
+
iconName: string;
|
|
248
|
+
dataQA: string;
|
|
249
|
+
tooltipMessage: string;
|
|
250
|
+
onClick: () => any;
|
|
251
|
+
}[];
|
|
252
|
+
listButtons(): {
|
|
253
|
+
showBtn: any;
|
|
254
|
+
selector: string;
|
|
255
|
+
iconName: string;
|
|
256
|
+
dataQA: string;
|
|
257
|
+
tooltipMessage: string;
|
|
258
|
+
onClick: () => void;
|
|
259
|
+
}[];
|
|
260
|
+
individualButtons(): {
|
|
261
|
+
showBtn: any;
|
|
262
|
+
selector: string;
|
|
263
|
+
iconName: string;
|
|
264
|
+
dataQA: string;
|
|
265
|
+
tooltipMessage: string;
|
|
266
|
+
onClick: () => void;
|
|
267
|
+
}[];
|
|
268
|
+
linkButton(): {
|
|
269
|
+
showBtn: any;
|
|
270
|
+
selector: string;
|
|
271
|
+
iconName: string;
|
|
272
|
+
dataQA: string;
|
|
273
|
+
tooltipMessage: string;
|
|
274
|
+
onClick: () => void;
|
|
275
|
+
};
|
|
276
|
+
}, {
|
|
277
|
+
onInputFocus(event: any): void;
|
|
278
|
+
removeLink(): void;
|
|
279
|
+
setLink(event: any): void;
|
|
280
|
+
openLinkInput(): void;
|
|
281
|
+
updateInput(openedInput: any): void;
|
|
282
|
+
closeLinkInput(): void;
|
|
283
|
+
onBoldTextToggle(): void;
|
|
284
|
+
onItalicTextToggle(): void;
|
|
285
|
+
onUnderlineTextToggle(): void;
|
|
286
|
+
onStrikethroughTextToggle(): void;
|
|
287
|
+
onTextAlign(alignment: any): any;
|
|
288
|
+
onBulletListToggle(): void;
|
|
289
|
+
onOrderedListToggle(): void;
|
|
290
|
+
onCodeBlockToggle(): void;
|
|
291
|
+
onBlockquoteToggle(): void;
|
|
292
|
+
onFocus(event: any): void;
|
|
293
|
+
onBlur(event: any): void;
|
|
294
|
+
onInput(event: any): void;
|
|
295
|
+
}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "focus" | "blur")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
296
|
+
/**
|
|
297
|
+
* Value of the input. The object format should match TipTap's JSON
|
|
298
|
+
* document structure: https://tiptap.dev/guide/output#option-1-json
|
|
299
|
+
*/
|
|
300
|
+
value: {
|
|
301
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
302
|
+
default: string;
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* Whether the input is editable
|
|
306
|
+
*/
|
|
307
|
+
editable: {
|
|
308
|
+
type: BooleanConstructor;
|
|
309
|
+
default: boolean;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* Descriptive label for the input element
|
|
313
|
+
*/
|
|
314
|
+
inputAriaLabel: {
|
|
315
|
+
type: StringConstructor;
|
|
316
|
+
required: true;
|
|
317
|
+
default: string;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* Additional class name for the input element. Only accepts a String value
|
|
321
|
+
* because this is passed to the editor via options. For multiple classes,
|
|
322
|
+
* join them into one string, e.g. "d-p8 d-hmx96"
|
|
323
|
+
*/
|
|
324
|
+
inputClass: {
|
|
325
|
+
type: StringConstructor;
|
|
326
|
+
default: string;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* Whether the input should receive focus after the component has been
|
|
330
|
+
* mounted. Either one of `start`, `end`, `all` or a Boolean or a Number.
|
|
331
|
+
* - `start` Sets the focus to the beginning of the input
|
|
332
|
+
* - `end` Sets the focus to the end of the input
|
|
333
|
+
* - `all` Selects the whole contents of the input
|
|
334
|
+
* - `Number` Sets the focus to a specific position in the input
|
|
335
|
+
* - `true` Defaults to `start`
|
|
336
|
+
* - `false` Disables autofocus
|
|
337
|
+
* @values true, false, start, end, all, number
|
|
338
|
+
*/
|
|
339
|
+
autoFocus: {
|
|
340
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
341
|
+
default: boolean;
|
|
342
|
+
validator(autoFocus: unknown): boolean;
|
|
343
|
+
};
|
|
344
|
+
/**
|
|
345
|
+
* Placeholder text
|
|
346
|
+
*/
|
|
347
|
+
placeholder: {
|
|
348
|
+
type: StringConstructor;
|
|
349
|
+
default: string;
|
|
350
|
+
};
|
|
351
|
+
/**
|
|
352
|
+
* Content area needs to dynamically adjust height based on the conversation area height.
|
|
353
|
+
* can be vh|px|rem|em|%
|
|
354
|
+
*/
|
|
355
|
+
maxHeight: {
|
|
356
|
+
type: StringConstructor;
|
|
357
|
+
default: string;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* Confirm set link button defaults.
|
|
361
|
+
*/
|
|
362
|
+
confirmSetLinkButton: {
|
|
363
|
+
type: ObjectConstructor;
|
|
364
|
+
default: () => {
|
|
365
|
+
label: string;
|
|
366
|
+
ariaLabel: string;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Remove link button defaults.
|
|
371
|
+
*/
|
|
372
|
+
removeLinkButton: {
|
|
373
|
+
type: ObjectConstructor;
|
|
374
|
+
default: () => {
|
|
375
|
+
label: string;
|
|
376
|
+
ariaLabel: string;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
/**
|
|
380
|
+
* Cancel set link button defaults.
|
|
381
|
+
*/
|
|
382
|
+
cancelSetLinkButton: {
|
|
383
|
+
type: ObjectConstructor;
|
|
384
|
+
default: () => {
|
|
385
|
+
label: string;
|
|
386
|
+
ariaLabel: string;
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* Placeholder text for the set link input field
|
|
391
|
+
*/
|
|
392
|
+
setLinkPlaceholder: {
|
|
393
|
+
type: StringConstructor;
|
|
394
|
+
default: string;
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Show button to render text as bold
|
|
398
|
+
*/
|
|
399
|
+
showBoldButton: {
|
|
400
|
+
type: BooleanConstructor;
|
|
401
|
+
default: boolean;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* Show button to render text in italics
|
|
405
|
+
*/
|
|
406
|
+
showItalicsButton: {
|
|
407
|
+
type: BooleanConstructor;
|
|
408
|
+
default: boolean;
|
|
409
|
+
};
|
|
410
|
+
/**
|
|
411
|
+
* Show button to underline text
|
|
412
|
+
*/
|
|
413
|
+
showUnderlineButton: {
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
default: boolean;
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* Show button to strike text
|
|
419
|
+
*/
|
|
420
|
+
showStrikeButton: {
|
|
421
|
+
type: BooleanConstructor;
|
|
422
|
+
default: boolean;
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* Show button to render list items
|
|
426
|
+
*/
|
|
427
|
+
showListItemsButton: {
|
|
428
|
+
type: BooleanConstructor;
|
|
429
|
+
default: boolean;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* Show button to render ordered list items
|
|
433
|
+
*/
|
|
434
|
+
showOrderedListButton: {
|
|
435
|
+
type: BooleanConstructor;
|
|
436
|
+
default: boolean;
|
|
437
|
+
};
|
|
438
|
+
/**
|
|
439
|
+
* Show button to align text to the left
|
|
440
|
+
*/
|
|
441
|
+
showAlignLeftButton: {
|
|
442
|
+
type: BooleanConstructor;
|
|
443
|
+
default: boolean;
|
|
444
|
+
};
|
|
445
|
+
/**
|
|
446
|
+
* Show button to align text to the center
|
|
447
|
+
*/
|
|
448
|
+
showAlignCenterButton: {
|
|
449
|
+
type: BooleanConstructor;
|
|
450
|
+
default: boolean;
|
|
451
|
+
};
|
|
452
|
+
/**
|
|
453
|
+
* Show button to align text to the right
|
|
454
|
+
*/
|
|
455
|
+
showAlignRightButton: {
|
|
456
|
+
type: BooleanConstructor;
|
|
457
|
+
default: boolean;
|
|
458
|
+
};
|
|
459
|
+
/**
|
|
460
|
+
* Show button to justify text
|
|
461
|
+
*/
|
|
462
|
+
showAlignJustifyButton: {
|
|
463
|
+
type: BooleanConstructor;
|
|
464
|
+
default: boolean;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Show button to add quote format to text
|
|
468
|
+
*/
|
|
469
|
+
showQuoteButton: {
|
|
470
|
+
type: BooleanConstructor;
|
|
471
|
+
default: boolean;
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* Show button to add code block
|
|
475
|
+
*/
|
|
476
|
+
showCodeBlockButton: {
|
|
477
|
+
type: BooleanConstructor;
|
|
478
|
+
default: boolean;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* Show add link default config.
|
|
482
|
+
*/
|
|
483
|
+
showAddLink: {
|
|
484
|
+
type: ObjectConstructor;
|
|
485
|
+
default: () => {
|
|
486
|
+
showAddLinkButton: boolean;
|
|
487
|
+
setLinkTitle: string;
|
|
488
|
+
setLinkInputAriaLabel: string;
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
}>>, {
|
|
492
|
+
value: string | Record<string, any>;
|
|
493
|
+
maxHeight: string;
|
|
494
|
+
inputClass: string;
|
|
495
|
+
placeholder: string;
|
|
496
|
+
editable: boolean;
|
|
497
|
+
inputAriaLabel: string;
|
|
498
|
+
autoFocus: string | number | boolean;
|
|
499
|
+
confirmSetLinkButton: Record<string, any>;
|
|
500
|
+
removeLinkButton: Record<string, any>;
|
|
501
|
+
cancelSetLinkButton: Record<string, any>;
|
|
502
|
+
setLinkPlaceholder: string;
|
|
503
|
+
showBoldButton: boolean;
|
|
504
|
+
showItalicsButton: boolean;
|
|
505
|
+
showUnderlineButton: boolean;
|
|
506
|
+
showStrikeButton: boolean;
|
|
507
|
+
showListItemsButton: boolean;
|
|
508
|
+
showOrderedListButton: boolean;
|
|
509
|
+
showAlignLeftButton: boolean;
|
|
510
|
+
showAlignCenterButton: boolean;
|
|
511
|
+
showAlignRightButton: boolean;
|
|
512
|
+
showAlignJustifyButton: boolean;
|
|
513
|
+
showQuoteButton: boolean;
|
|
514
|
+
showCodeBlockButton: boolean;
|
|
515
|
+
showAddLink: Record<string, any>;
|
|
516
|
+
}>;
|
|
517
|
+
export default _default;
|
|
518
|
+
//# sourceMappingURL=editor.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/editor/editor.vue.js"],"names":[],"mappings":";IAmCI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;;;;IAMH;;OAEG;;;;;;;;IAMH;;OAEG;;;;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA7MH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;;;;IAMH;;OAEG;;;;;;;;IAMH;;OAEG;;;;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const EDITOR_SUPPORTED_LINK_PROTOCOLS: RegExp[];
|
|
2
|
+
export const EDITOR_DEFAULT_LINK_PREFIX: "https://";
|
|
3
|
+
declare namespace _default {
|
|
4
|
+
export { EDITOR_SUPPORTED_LINK_PROTOCOLS };
|
|
5
|
+
export { EDITOR_DEFAULT_LINK_PREFIX };
|
|
6
|
+
}
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=editor_constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor_constants.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/editor/editor_constants.js"],"names":[],"mappings":"AAAA,uDAOE;AAEF,oDAAqD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/editor/index.js"],"names":[],"mappings":""}
|