@dialpad/dialtone-vue 3.184.2 → 3.185.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/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +1 -1
- package/dist/dialtone-vue.js +208 -206
- package/dist/dialtone-vue.js.map +1 -1
- package/dist/lib/list-item/list-item.cjs +1 -1
- package/dist/lib/list-item/list-item.cjs.map +1 -1
- package/dist/lib/list-item/list-item.js +35 -30
- package/dist/lib/list-item/list-item.js.map +1 -1
- package/dist/lib/loader/index.cjs +2 -0
- package/dist/lib/loader/index.cjs.map +1 -0
- package/dist/lib/loader/index.js +5 -0
- package/dist/lib/loader/index.js.map +1 -0
- package/dist/lib/loader/loader.cjs +2 -0
- package/dist/lib/loader/loader.cjs.map +1 -0
- package/dist/lib/loader/loader.js +48 -0
- package/dist/lib/loader/loader.js.map +1 -0
- package/dist/lib/message-input/message-input.cjs +1 -1
- package/dist/lib/message-input/message-input.cjs.map +1 -1
- package/dist/lib/message-input/message-input.js +90 -68
- package/dist/lib/message-input/message-input.js.map +1 -1
- package/dist/lib/rich-text-editor/rich-text-editor.cjs +8 -4
- package/dist/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/lib/rich-text-editor/rich-text-editor.js +339 -244
- package/dist/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/types/components/list_item/list_item.vue.d.ts +10 -2
- package/dist/types/components/loader/index.d.ts +2 -0
- package/dist/types/components/loader/index.d.ts.map +1 -0
- package/dist/types/components/loader/loader.vue.d.ts +26 -0
- package/dist/types/components/loader/loader.vue.d.ts.map +1 -0
- package/dist/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map +1 -1
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +21 -1
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/types/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/loader/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
ariaLabel: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
validator: (s: unknown) => boolean;
|
|
10
|
+
};
|
|
11
|
+
}, any, any, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
ariaLabel: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (s: unknown) => boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
size: string;
|
|
23
|
+
ariaLabel: string;
|
|
24
|
+
}, {}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=loader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.vue.d.ts","sourceRoot":"","sources":["../../../../components/loader/loader.vue"],"names":[],"mappings":"AAcA;"}
|
package/dist/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slash_command.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/slash_command/slash_command.js"],"names":[],"mappings":"AAuBA,
|
|
1
|
+
{"version":3,"file":"slash_command.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/slash_command/slash_command.js"],"names":[],"mappings":"AAuBA,kLAoFG"}
|
|
@@ -12,6 +12,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
12
12
|
type: BooleanConstructor;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
+
pasteRichText: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
15
19
|
allowLineBreaks: {
|
|
16
20
|
type: BooleanConstructor;
|
|
17
21
|
default: boolean;
|
|
@@ -149,13 +153,23 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
149
153
|
setLink(linkInput: any, linkText: any, linkOptions: any, linkProtocols: string[] | undefined, defaultPrefix: any): void;
|
|
150
154
|
processValue(newValue: any, returnIfEqual?: boolean): void;
|
|
151
155
|
destroyEditor(): void;
|
|
156
|
+
insertPlainTextWithHardBreaks(view: any, textData: any): void;
|
|
157
|
+
shouldPreserveLineBreaks(textData: any, htmlData: any): any;
|
|
158
|
+
processPasteData(view: any, textData: any, htmlData: any): boolean;
|
|
159
|
+
shouldHandlePreformattedHTML(htmlData: any): any;
|
|
160
|
+
containsPreformattedContent(htmlData: any): boolean;
|
|
161
|
+
hasPreWhitespace(element: any): any;
|
|
162
|
+
hasLineBreaks(element: any): any;
|
|
163
|
+
hasBlankLines(textData: any): any;
|
|
164
|
+
extractPreformattedText(htmlData: any): string;
|
|
165
|
+
walkAndExtractText(node: any): string;
|
|
152
166
|
triggerInputChangeEvents(): void;
|
|
153
167
|
addEditorListeners(): void;
|
|
154
168
|
getOutput(): any;
|
|
155
169
|
getExtension(extension: any, options: any): any;
|
|
156
170
|
updateEditorAttributes(attributes: any): void;
|
|
157
171
|
focusEditor(): void;
|
|
158
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "blur" | "focus" | "selected" | "update:modelValue" | "enter" | "json-input" | "html-input" | "text-input" | "edit-link")[], "input" | "blur" | "focus" | "selected" | "update:modelValue" | "enter" | "json-input" | "html-input" | "text-input" | "edit-link", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
172
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("input" | "blur" | "focus" | "selected" | "update:modelValue" | "enter" | "selected-command" | "json-input" | "html-input" | "text-input" | "edit-link")[], "input" | "blur" | "focus" | "selected" | "update:modelValue" | "enter" | "selected-command" | "json-input" | "html-input" | "text-input" | "edit-link", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
159
173
|
modelValue: {
|
|
160
174
|
type: (ObjectConstructor | StringConstructor)[];
|
|
161
175
|
default: string;
|
|
@@ -168,6 +182,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
168
182
|
type: BooleanConstructor;
|
|
169
183
|
default: boolean;
|
|
170
184
|
};
|
|
185
|
+
pasteRichText: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
171
189
|
allowLineBreaks: {
|
|
172
190
|
type: BooleanConstructor;
|
|
173
191
|
default: boolean;
|
|
@@ -276,6 +294,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
276
294
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
277
295
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
278
296
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
297
|
+
"onSelected-command"?: ((...args: any[]) => any) | undefined;
|
|
279
298
|
onSelected?: ((...args: any[]) => any) | undefined;
|
|
280
299
|
"onJson-input"?: ((...args: any[]) => any) | undefined;
|
|
281
300
|
"onHtml-input"?: ((...args: any[]) => any) | undefined;
|
|
@@ -291,6 +310,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
291
310
|
slashCommandSuggestion: Record<string, any>;
|
|
292
311
|
editable: boolean;
|
|
293
312
|
preventTyping: boolean;
|
|
313
|
+
pasteRichText: boolean;
|
|
294
314
|
allowLineBreaks: boolean;
|
|
295
315
|
autoFocus: string | number | boolean;
|
|
296
316
|
outputFormat: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue"],"names":[],"mappings":"AAoDA
|
|
1
|
+
{"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue"],"names":[],"mappings":"AAoDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAoiC0B,cAAc"}
|
|
@@ -100,10 +100,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
100
100
|
id: string;
|
|
101
101
|
size: string;
|
|
102
102
|
labelClass: string | Record<string, any> | unknown[];
|
|
103
|
+
wrapperClass: string | Record<string, any> | unknown[];
|
|
103
104
|
showIcon: boolean;
|
|
104
105
|
labelChildProps: Record<string, any>;
|
|
105
106
|
toggleOnClick: boolean;
|
|
106
|
-
wrapperClass: string | Record<string, any> | unknown[];
|
|
107
107
|
}, {}>;
|
|
108
108
|
export default _default;
|
|
109
109
|
//# sourceMappingURL=toggle.vue.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export * from './components/lazy_show';
|
|
|
33
33
|
export * from './components/link';
|
|
34
34
|
export * from './components/list_item';
|
|
35
35
|
export * from './components/list_item_group';
|
|
36
|
+
export * from './components/loader';
|
|
36
37
|
export * from './components/modal';
|
|
37
38
|
export * from './components/notice';
|
|
38
39
|
export * from './components/pagination';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue"],"names":[],"mappings":"AAqQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAihC4B,qBAAqB;sCACwB,gBAAgB;mCAAhB,gBAAgB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/dialtone-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.185.1",
|
|
4
4
|
"description": "Vue component library for Dialpad's design system Dialtone",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"overlayscrollbars": "2.10.0",
|
|
43
43
|
"regex-combined-emojis": "1.6.0",
|
|
44
44
|
"tippy.js": "6.3.7",
|
|
45
|
-
"@dialpad/dialtone-
|
|
46
|
-
"@dialpad/dialtone-
|
|
45
|
+
"@dialpad/dialtone-icons": "4.41.1",
|
|
46
|
+
"@dialpad/dialtone-emojis": "1.2.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@storybook/addon-a11y": "7.6.20",
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"react": "17.0.2",
|
|
56
56
|
"storybook-dark-mode": "^3.0.3",
|
|
57
57
|
"vue": "^3.3.4",
|
|
58
|
-
"@dialpad/dialtone-css": "8.
|
|
58
|
+
"@dialpad/dialtone-css": "8.60.1",
|
|
59
59
|
"@dialpad/generator-dialtone": "0.1.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"vue": ">=3.2",
|
|
63
|
-
"@dialpad/dialtone-css": "^8.
|
|
63
|
+
"@dialpad/dialtone-css": "^8.60.1"
|
|
64
64
|
},
|
|
65
65
|
"bugs": {
|
|
66
66
|
"email": "dialtone@dialpad.com"
|