@uzum-tech/ui 2.4.0 → 2.4.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/index.js +92 -34
- package/dist/index.mjs +92 -34
- package/dist/index.prod.js +3 -3
- package/dist/index.prod.mjs +3 -3
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.mjs +1 -2
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.mjs +2 -1
- package/es/chat/src/styles/index.cssr.mjs +11 -12
- package/es/chat/styles/light.mjs +2 -1
- package/es/components.d.ts +83 -0
- package/es/config-provider/src/ConfigProvider.mjs +6 -2
- package/es/editor/index.d.ts +1 -1
- package/es/editor/src/Editor.d.ts +26 -0
- package/es/editor/src/Editor.mjs +11 -1
- package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +24 -0
- package/es/editor/src/EditorParts/EditorContent/interface.d.ts +12 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +24 -0
- package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.mjs +2 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +12 -0
- package/es/editor/src/EditorParts/SendButton/SendButton.mjs +3 -1
- package/es/editor/src/composables/use-editor-css-vars.mjs +8 -0
- package/es/editor/src/extensions.d.ts +1 -1
- package/es/editor/src/extensions.mjs +8 -2
- package/es/editor/src/interface.d.ts +19 -1
- package/es/editor/src/interface.mjs +1 -0
- package/es/editor/src/styles/index.cssr.mjs +14 -2
- package/es/editor/styles/dark.d.ts +4 -0
- package/es/editor/styles/light.d.ts +8 -0
- package/es/editor/styles/light.mjs +4 -0
- package/es/locales/common/enUS.d.ts +1 -0
- package/es/locales/common/enUS.mjs +1 -0
- package/es/locales/common/ruRU.mjs +6 -7
- package/es/locales/common/uzUZ.mjs +1 -0
- package/es/locales/common/zhCN.mjs +1 -0
- package/es/locales/utils/date-locale.d.ts +2 -0
- package/es/locales/utils/date-locale.mjs +8 -0
- package/es/message-bubble/src/MessageBubble.d.ts +9 -0
- package/es/message-bubble/src/MessageBubble.mjs +9 -8
- package/es/message-bubble/src/interface.d.ts +5 -1
- package/es/message-bubble/src/interface.mjs +4 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.js +2 -2
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.js +2 -2
- package/lib/chat/src/styles/index.cssr.js +11 -12
- package/lib/chat/styles/light.js +3 -1
- package/lib/components.d.ts +83 -0
- package/lib/config-provider/src/ConfigProvider.js +7 -4
- package/lib/editor/index.d.ts +1 -1
- package/lib/editor/src/Editor.d.ts +26 -0
- package/lib/editor/src/Editor.js +9 -1
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +24 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +12 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +24 -0
- package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.js +1 -1
- package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +12 -0
- package/lib/editor/src/EditorParts/SendButton/SendButton.js +1 -1
- package/lib/editor/src/composables/use-editor-css-vars.js +5 -1
- package/lib/editor/src/extensions.d.ts +1 -1
- package/lib/editor/src/extensions.js +8 -3
- package/lib/editor/src/interface.d.ts +19 -1
- package/lib/editor/src/interface.js +1 -1
- package/lib/editor/src/styles/index.cssr.js +14 -2
- package/lib/editor/styles/dark.d.ts +4 -0
- package/lib/editor/styles/light.d.ts +8 -0
- package/lib/editor/styles/light.js +4 -0
- package/lib/locales/common/enUS.d.ts +1 -0
- package/lib/locales/common/enUS.js +1 -0
- package/lib/locales/common/ruRU.js +6 -7
- package/lib/locales/common/uzUZ.js +1 -0
- package/lib/locales/common/zhCN.js +1 -0
- package/lib/locales/utils/date-locale.d.ts +2 -0
- package/lib/locales/utils/date-locale.js +14 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +9 -0
- package/lib/message-bubble/src/MessageBubble.js +12 -7
- package/lib/message-bubble/src/interface.d.ts +5 -1
- package/lib/message-bubble/src/interface.js +3 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +20 -3
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import dateEnUS from "../date/enUS.mjs";
|
|
2
|
+
import dateRuRU from "../date/ruRU.mjs";
|
|
3
|
+
import dateUzUZ from "../date/uzUZ.mjs";
|
|
4
|
+
import dateZhCN from "../date/zhCN.mjs";
|
|
5
|
+
const dateLocales = [dateEnUS, dateRuRU, dateUzUZ, dateZhCN];
|
|
6
|
+
export function resolveDateLocale(name) {
|
|
7
|
+
return dateLocales.find(dateLocale => dateLocale.name === name);
|
|
8
|
+
}
|
|
@@ -34,6 +34,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
readonly type: import("vue").PropType<import("..").MarkdownOptions>;
|
|
35
35
|
readonly default: undefined;
|
|
36
36
|
};
|
|
37
|
+
readonly markdownProps: {
|
|
38
|
+
readonly type: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
39
|
+
readonly default: undefined;
|
|
40
|
+
};
|
|
37
41
|
readonly timestamp: {
|
|
38
42
|
readonly type: import("vue").PropType<string | number | Date | (() => VNodeChild)>;
|
|
39
43
|
readonly default: undefined;
|
|
@@ -221,6 +225,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
221
225
|
readonly type: import("vue").PropType<import("..").MarkdownOptions>;
|
|
222
226
|
readonly default: undefined;
|
|
223
227
|
};
|
|
228
|
+
readonly markdownProps: {
|
|
229
|
+
readonly type: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
230
|
+
readonly default: undefined;
|
|
231
|
+
};
|
|
224
232
|
readonly timestamp: {
|
|
225
233
|
readonly type: import("vue").PropType<string | number | Date | (() => VNodeChild)>;
|
|
226
234
|
readonly default: undefined;
|
|
@@ -380,6 +388,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
380
388
|
readonly isOwn: boolean;
|
|
381
389
|
readonly markdown: boolean;
|
|
382
390
|
readonly markdownOptions: import("..").MarkdownOptions;
|
|
391
|
+
readonly markdownProps: import("vue").HTMLAttributes;
|
|
383
392
|
readonly timestamp: string | number | Date | (() => VNodeChild);
|
|
384
393
|
readonly attachments: MessageBubbleAttachment | MessageBubbleAttachment[];
|
|
385
394
|
readonly uploadProps: Partial<import("../..").UploadProps>;
|
|
@@ -277,7 +277,7 @@ export default defineComponent({
|
|
|
277
277
|
return uploadComponent;
|
|
278
278
|
};
|
|
279
279
|
const renderMessage = () => {
|
|
280
|
-
var _a;
|
|
280
|
+
var _a, _b;
|
|
281
281
|
const hasBubbleActionsSlot = slots.bubbleActions !== undefined;
|
|
282
282
|
const hasBubbleActionsConfig = Boolean(props.actions && props.actions.length > 0);
|
|
283
283
|
const hasTitle = Boolean(props.title || slots.title);
|
|
@@ -292,10 +292,10 @@ export default defineComponent({
|
|
|
292
292
|
variant: "body-l-semi-bold"
|
|
293
293
|
}, slots.title ? slots.title(messagePayloadRef.value) : resolveRenderContent(props.title)), normalizedAttachmentsRef.value.length > 0 && renderAttachment(true), (hasVisibleTextContent || slots.default) && (slots.default ? h("div", {
|
|
294
294
|
class: `${mergedClsPrefixRef.value}-message-bubble__text`
|
|
295
|
-
}, slots.default(messagePayloadRef.value)) : markdownHtmlRef.value !== null ? h("div", {
|
|
296
|
-
class: [`${mergedClsPrefixRef.value}-message-bubble__text`, `${mergedClsPrefixRef.value}-message-bubble__markdown
|
|
295
|
+
}, slots.default(messagePayloadRef.value)) : markdownHtmlRef.value !== null ? h("div", Object.assign({}, props.markdownProps, {
|
|
296
|
+
class: [`${mergedClsPrefixRef.value}-message-bubble__text`, `${mergedClsPrefixRef.value}-message-bubble__markdown`, (_a = props.markdownProps) === null || _a === void 0 ? void 0 : _a.class],
|
|
297
297
|
innerHTML: markdownHtmlRef.value
|
|
298
|
-
}) : h("div", {
|
|
298
|
+
})) : h("div", {
|
|
299
299
|
class: `${mergedClsPrefixRef.value}-message-bubble__text`
|
|
300
300
|
}, resolveRenderContent(props.content))), hasAfterContent && h("div", {
|
|
301
301
|
class: `${mergedClsPrefixRef.value}-message-bubble__after-content`
|
|
@@ -312,7 +312,7 @@ export default defineComponent({
|
|
|
312
312
|
contextMenuShow.value = true;
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
}, (
|
|
315
|
+
}, (_b = slots.bubbleActions) === null || _b === void 0 ? void 0 : _b.call(slots, messagePayloadRef.value), messageBubbleContent) : hasBubbleActionsConfig ? h(UDropdown, {
|
|
316
316
|
show: contextMenuShow.value,
|
|
317
317
|
trigger: "manual",
|
|
318
318
|
placement: "bottom-start",
|
|
@@ -360,6 +360,7 @@ export default defineComponent({
|
|
|
360
360
|
}))))));
|
|
361
361
|
};
|
|
362
362
|
const renderService = () => {
|
|
363
|
+
var _a;
|
|
363
364
|
if (slots.service) {
|
|
364
365
|
return slots.service(props.serviceVariant);
|
|
365
366
|
}
|
|
@@ -367,10 +368,10 @@ export default defineComponent({
|
|
|
367
368
|
const displayMarkdown = markdownActive.value && isMarkdownEligibleVariant;
|
|
368
369
|
return h("div", {
|
|
369
370
|
class: [`${mergedClsPrefixRef.value}-message-bubble__service`, `${mergedClsPrefixRef.value}-message-bubble__service--${props.serviceVariant}`]
|
|
370
|
-
}, displayMarkdown ? markdownHtmlRef.value && h("span", {
|
|
371
|
-
class: `${mergedClsPrefixRef.value}-message-bubble__markdown`,
|
|
371
|
+
}, displayMarkdown ? markdownHtmlRef.value && h("span", Object.assign({}, props.markdownProps, {
|
|
372
|
+
class: [`${mergedClsPrefixRef.value}-message-bubble__markdown`, (_a = props.markdownProps) === null || _a === void 0 ? void 0 : _a.class],
|
|
372
373
|
innerHTML: markdownHtmlRef.value
|
|
373
|
-
}) : props.content && h("span", null, resolveRenderContent(props.content)));
|
|
374
|
+
})) : props.content && h("span", null, resolveRenderContent(props.content)));
|
|
374
375
|
};
|
|
375
376
|
return {
|
|
376
377
|
mergedClsPrefixRef,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Component, PropType, VNodeChild } from 'vue';
|
|
1
|
+
import type { Component, HTMLAttributes, PropType, VNodeChild } from 'vue';
|
|
2
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
import type { MarkdownOptions } from '../../_utils/markdown';
|
|
4
4
|
import type { UploadFileInfo, UploadProps } from '../../upload';
|
|
@@ -99,6 +99,10 @@ export declare const messageBubbleProps: {
|
|
|
99
99
|
readonly type: PropType<MarkdownOptions>;
|
|
100
100
|
readonly default: undefined;
|
|
101
101
|
};
|
|
102
|
+
readonly markdownProps: {
|
|
103
|
+
readonly type: PropType<HTMLAttributes>;
|
|
104
|
+
readonly default: undefined;
|
|
105
|
+
};
|
|
102
106
|
readonly timestamp: {
|
|
103
107
|
readonly type: PropType<string | number | Date | (() => VNodeChild)>;
|
|
104
108
|
readonly default: undefined;
|
|
@@ -65,6 +65,10 @@ export const messageBubbleProps = Object.assign(Object.assign({}, useTheme.props
|
|
|
65
65
|
type: Object,
|
|
66
66
|
default: undefined
|
|
67
67
|
},
|
|
68
|
+
markdownProps: {
|
|
69
|
+
type: Object,
|
|
70
|
+
default: undefined
|
|
71
|
+
},
|
|
68
72
|
timestamp: {
|
|
69
73
|
type: [String, Number, Date, Function],
|
|
70
74
|
default: undefined
|
package/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.4.
|
|
1
|
+
declare const _default: "2.4.1";
|
|
2
2
|
export default _default;
|
package/es/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '2.4.
|
|
1
|
+
export default '2.4.1';
|
|
@@ -42,8 +42,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
42
42
|
return null;
|
|
43
43
|
const { mergedClsPrefix, mergedTheme } = this;
|
|
44
44
|
return ((0, vue_1.h)(upload_1.UUploadTrigger, { abstract: true }, {
|
|
45
|
-
default: ({ handleClick }) => ((0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true,
|
|
46
|
-
default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size:
|
|
45
|
+
default: ({ handleClick }) => ((0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, class: `${mergedClsPrefix}-chat-main__attach-btn`, disabled: this.mergedDisabled, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, onClick: handleClick }, this.mergedButtonProps), {
|
|
46
|
+
default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20, theme: mergedTheme.peers.FooterAttachIcon, themeOverrides: mergedTheme.peerOverrides.FooterAttachIcon }, this.mergedIconProps), {
|
|
47
47
|
default: () => (0, _utils_1.resolveSlot)(this.$slots.icon, () => [(0, vue_1.h)(icons_1.AttachIcon, null)])
|
|
48
48
|
}))
|
|
49
49
|
}))
|
|
@@ -85,12 +85,12 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
85
85
|
},
|
|
86
86
|
render() {
|
|
87
87
|
const { mergedClsPrefix, mergedTheme } = this;
|
|
88
|
-
return ((0, vue_1.h)(input_1.UInput, Object.assign({ ref: "inputInstRef", value: this.value, placeholder: this.mergedPlaceholder, class: `${mergedClsPrefix}-chat-main__input`, theme: mergedTheme.peers.Input, themeOverrides: mergedTheme.peerOverrides.Input, type: "textarea", autosize: {
|
|
88
|
+
return ((0, vue_1.h)(input_1.UInput, Object.assign({ ref: "inputInstRef", size: "small", value: this.value, placeholder: this.mergedPlaceholder, class: `${mergedClsPrefix}-chat-main__input`, theme: mergedTheme.peers.Input, themeOverrides: mergedTheme.peerOverrides.Input, type: "textarea", autosize: {
|
|
89
89
|
minRows: 1,
|
|
90
90
|
maxRows: 5
|
|
91
91
|
}, onUpdateValue: this.handleUpdateValue, onKeydown: this.handleKeydown }, this.safeInputProps), {
|
|
92
92
|
prefix: this.$slots.prefix,
|
|
93
|
-
suffix: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size:
|
|
93
|
+
suffix: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20, class: `${mergedClsPrefix}-chat-main__input-suffix`, theme: mergedTheme.peers.FooterSuffixIcon, themeOverrides: mergedTheme.peerOverrides.FooterSuffixIcon, onClick: this.handleSend }, this.mergedSuffixIconProps), {
|
|
94
94
|
default: () => (0, _utils_1.resolveSlot)(this.$slots.suffixIcon, () => [(0, vue_1.h)(icons_1.SendFilled, null)])
|
|
95
95
|
}))
|
|
96
96
|
}));
|
|
@@ -340,6 +340,7 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
340
340
|
padding: 16px 0px;
|
|
341
341
|
`), (0, cssr_1.cE)('input', `
|
|
342
342
|
flex: 1;
|
|
343
|
+
--u-chat-input-padding-vertical: calc((var(--u-height) - var(--u-line-height-textarea)) / 2);
|
|
343
344
|
`, [(0, cssr_1.c)('.u-input-wrapper', `
|
|
344
345
|
flex-wrap: wrap;
|
|
345
346
|
padding: 0 4px;
|
|
@@ -347,34 +348,32 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
347
348
|
`, [(0, cssr_1.c)('.u-input__prefix', `
|
|
348
349
|
width: 100%;
|
|
349
350
|
margin: 0;
|
|
350
|
-
margin-top: 4px;
|
|
351
351
|
white-space: wrap;
|
|
352
|
-
`, [(0, cssr_1.c)('
|
|
352
|
+
`, [(0, cssr_1.c)('&:has(*)', `
|
|
353
|
+
margin-top: 4px;
|
|
354
|
+
`), (0, cssr_1.c)('ul', `
|
|
353
355
|
border-top-left-radius: 12px;
|
|
354
356
|
border-top-right-radius: 12px;
|
|
355
357
|
`), (0, cssr_1.c)('li', `
|
|
356
358
|
padding: 12px;
|
|
357
|
-
`)]), (0, cssr_1.c)('.u-input__textarea-el', `
|
|
358
|
-
padding-top:
|
|
359
|
-
padding-
|
|
360
|
-
|
|
361
|
-
`), (0, cssr_1.c)('.u-input__placeholder', `
|
|
362
|
-
padding-top: 12px;
|
|
359
|
+
`)]), (0, cssr_1.c)('.u-input__textarea-el, .u-input__textarea-mirror, .u-input__placeholder', `
|
|
360
|
+
padding-top: var(--u-chat-input-padding-vertical);
|
|
361
|
+
padding-bottom: var(--u-chat-input-padding-vertical);
|
|
362
|
+
`), (0, cssr_1.c)('.u-input__textarea-el, .u-input__placeholder', `
|
|
363
363
|
padding-left: 12px;
|
|
364
364
|
padding-right: 48px;
|
|
365
365
|
`)])]), (0, cssr_1.cE)('editing-block', `
|
|
366
366
|
width: 100%;
|
|
367
367
|
`), (0, cssr_1.cE)('input-suffix', `
|
|
368
368
|
position: absolute;
|
|
369
|
-
right:
|
|
370
|
-
bottom:
|
|
369
|
+
right: 8px;
|
|
370
|
+
bottom: 10px;
|
|
371
371
|
color: var(--u-input-suffix-color) !important;
|
|
372
372
|
cursor: pointer;
|
|
373
|
-
margin-right: 4px;
|
|
374
373
|
`), (0, cssr_1.cE)('attach-btn', `
|
|
375
374
|
margin-left: 4px;
|
|
376
375
|
flex-shrink: 0;
|
|
377
|
-
padding: 0
|
|
376
|
+
padding: 0 10px;
|
|
378
377
|
`)]), (0, cssr_1.c)('*', `
|
|
379
378
|
box-sizing: border-box;
|
|
380
379
|
`), (0, cssr_1.c)('.u-list-item .u-list-item__text', `
|
package/lib/chat/styles/light.js
CHANGED
|
@@ -19,7 +19,7 @@ const styles_10 = require("../../typography/styles");
|
|
|
19
19
|
const chatInputLight = Object.assign(Object.assign({}, styles_6.inputLight), { self(vars) {
|
|
20
20
|
const originalInputSelf = (0, light_2.self)(vars);
|
|
21
21
|
const { elementsTertiary } = vars;
|
|
22
|
-
return Object.assign(Object.assign({}, originalInputSelf), { color: elementsTertiary, colorFocus: elementsTertiary,
|
|
22
|
+
return Object.assign(Object.assign({}, originalInputSelf), { color: elementsTertiary, colorFocus: elementsTertiary, border: 'none', borderFocus: 'none', borderHover: 'none', boxShadow: 'none', boxShadowFocus: 'none' });
|
|
23
23
|
} });
|
|
24
24
|
const chatBadgeLight = Object.assign(Object.assign({}, styles_2.badgeLight), { self(vars) {
|
|
25
25
|
const originalBadgeSelf = (0, light_1.self)(vars);
|
|
@@ -84,6 +84,8 @@ function createSendButtonThemeOverrides(themeVars) {
|
|
|
84
84
|
colorPressed: 'transparent',
|
|
85
85
|
colorFocus: 'transparent',
|
|
86
86
|
colorDisabled: 'transparent',
|
|
87
|
+
rippleColor: themeVars.sendButtonRippleColor,
|
|
88
|
+
waveOpacity: themeVars.sendButtonWaveOpacity,
|
|
87
89
|
textColor: themeVars.sendButtonColor,
|
|
88
90
|
textColorHover: themeVars.sendButtonColor,
|
|
89
91
|
textColorPressed: themeVars.sendButtonColor,
|
package/lib/components.d.ts
CHANGED
|
@@ -106354,6 +106354,7 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
106354
106354
|
readonly type: import("vue").PropType<import("@tiptap/core").Extensions>;
|
|
106355
106355
|
readonly default: () => never[];
|
|
106356
106356
|
};
|
|
106357
|
+
readonly nodeProps: import("vue").PropType<import("./editor").EditorNodeProps>;
|
|
106357
106358
|
readonly onSend: import("vue").PropType<import("./_utils").MaybeArray<(value: string) => void>>;
|
|
106358
106359
|
readonly onFocus: import("vue").PropType<import("./_utils").MaybeArray<(event: FocusEvent) => void>>;
|
|
106359
106360
|
readonly onBlur: import("vue").PropType<import("./_utils").MaybeArray<(event: FocusEvent) => void>>;
|
|
@@ -106367,6 +106368,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
106367
106368
|
toolbarDividerColor: string;
|
|
106368
106369
|
toolbarButtonColorActive: string;
|
|
106369
106370
|
toolbarButtonColorHover: string;
|
|
106371
|
+
toolbarButtonRippleColor: string;
|
|
106372
|
+
toolbarButtonWaveOpacity: string;
|
|
106370
106373
|
toolbarIconColorDisabled: string;
|
|
106371
106374
|
toolbarIconColorActive: string;
|
|
106372
106375
|
toolbarIconColorHover: string;
|
|
@@ -106376,6 +106379,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
106376
106379
|
placeholderColor: string;
|
|
106377
106380
|
sendButtonColor: string;
|
|
106378
106381
|
sendButtonColorDisabled: string;
|
|
106382
|
+
sendButtonRippleColor: string;
|
|
106383
|
+
sendButtonWaveOpacity: string;
|
|
106379
106384
|
sendButtonIconSize: string;
|
|
106380
106385
|
blockTypeTriggerHeight: string;
|
|
106381
106386
|
blockTypeTriggerPadding: string;
|
|
@@ -106995,6 +107000,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
106995
107000
|
toolbarDividerColor: string;
|
|
106996
107001
|
toolbarButtonColorActive: string;
|
|
106997
107002
|
toolbarButtonColorHover: string;
|
|
107003
|
+
toolbarButtonRippleColor: string;
|
|
107004
|
+
toolbarButtonWaveOpacity: string;
|
|
106998
107005
|
toolbarIconColorDisabled: string;
|
|
106999
107006
|
toolbarIconColorActive: string;
|
|
107000
107007
|
toolbarIconColorHover: string;
|
|
@@ -107004,6 +107011,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
107004
107011
|
placeholderColor: string;
|
|
107005
107012
|
sendButtonColor: string;
|
|
107006
107013
|
sendButtonColorDisabled: string;
|
|
107014
|
+
sendButtonRippleColor: string;
|
|
107015
|
+
sendButtonWaveOpacity: string;
|
|
107007
107016
|
sendButtonIconSize: string;
|
|
107008
107017
|
blockTypeTriggerHeight: string;
|
|
107009
107018
|
blockTypeTriggerPadding: string;
|
|
@@ -107623,6 +107632,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
107623
107632
|
toolbarDividerColor: string;
|
|
107624
107633
|
toolbarButtonColorActive: string;
|
|
107625
107634
|
toolbarButtonColorHover: string;
|
|
107635
|
+
toolbarButtonRippleColor: string;
|
|
107636
|
+
toolbarButtonWaveOpacity: string;
|
|
107626
107637
|
toolbarIconColorDisabled: string;
|
|
107627
107638
|
toolbarIconColorActive: string;
|
|
107628
107639
|
toolbarIconColorHover: string;
|
|
@@ -107632,6 +107643,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
107632
107643
|
placeholderColor: string;
|
|
107633
107644
|
sendButtonColor: string;
|
|
107634
107645
|
sendButtonColorDisabled: string;
|
|
107646
|
+
sendButtonRippleColor: string;
|
|
107647
|
+
sendButtonWaveOpacity: string;
|
|
107635
107648
|
sendButtonIconSize: string;
|
|
107636
107649
|
blockTypeTriggerHeight: string;
|
|
107637
107650
|
blockTypeTriggerPadding: string;
|
|
@@ -108304,6 +108317,7 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
108304
108317
|
readonly type: import("vue").PropType<import("@tiptap/core").Extensions>;
|
|
108305
108318
|
readonly default: () => never[];
|
|
108306
108319
|
};
|
|
108320
|
+
readonly nodeProps: import("vue").PropType<import("./editor").EditorNodeProps>;
|
|
108307
108321
|
readonly onSend: import("vue").PropType<import("./_utils").MaybeArray<(value: string) => void>>;
|
|
108308
108322
|
readonly onFocus: import("vue").PropType<import("./_utils").MaybeArray<(event: FocusEvent) => void>>;
|
|
108309
108323
|
readonly onBlur: import("vue").PropType<import("./_utils").MaybeArray<(event: FocusEvent) => void>>;
|
|
@@ -108317,6 +108331,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
108317
108331
|
toolbarDividerColor: string;
|
|
108318
108332
|
toolbarButtonColorActive: string;
|
|
108319
108333
|
toolbarButtonColorHover: string;
|
|
108334
|
+
toolbarButtonRippleColor: string;
|
|
108335
|
+
toolbarButtonWaveOpacity: string;
|
|
108320
108336
|
toolbarIconColorDisabled: string;
|
|
108321
108337
|
toolbarIconColorActive: string;
|
|
108322
108338
|
toolbarIconColorHover: string;
|
|
@@ -108326,6 +108342,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
108326
108342
|
placeholderColor: string;
|
|
108327
108343
|
sendButtonColor: string;
|
|
108328
108344
|
sendButtonColorDisabled: string;
|
|
108345
|
+
sendButtonRippleColor: string;
|
|
108346
|
+
sendButtonWaveOpacity: string;
|
|
108329
108347
|
sendButtonIconSize: string;
|
|
108330
108348
|
blockTypeTriggerHeight: string;
|
|
108331
108349
|
blockTypeTriggerPadding: string;
|
|
@@ -108945,6 +108963,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
108945
108963
|
toolbarDividerColor: string;
|
|
108946
108964
|
toolbarButtonColorActive: string;
|
|
108947
108965
|
toolbarButtonColorHover: string;
|
|
108966
|
+
toolbarButtonRippleColor: string;
|
|
108967
|
+
toolbarButtonWaveOpacity: string;
|
|
108948
108968
|
toolbarIconColorDisabled: string;
|
|
108949
108969
|
toolbarIconColorActive: string;
|
|
108950
108970
|
toolbarIconColorHover: string;
|
|
@@ -108954,6 +108974,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
108954
108974
|
placeholderColor: string;
|
|
108955
108975
|
sendButtonColor: string;
|
|
108956
108976
|
sendButtonColorDisabled: string;
|
|
108977
|
+
sendButtonRippleColor: string;
|
|
108978
|
+
sendButtonWaveOpacity: string;
|
|
108957
108979
|
sendButtonIconSize: string;
|
|
108958
108980
|
blockTypeTriggerHeight: string;
|
|
108959
108981
|
blockTypeTriggerPadding: string;
|
|
@@ -109573,6 +109595,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
109573
109595
|
toolbarDividerColor: string;
|
|
109574
109596
|
toolbarButtonColorActive: string;
|
|
109575
109597
|
toolbarButtonColorHover: string;
|
|
109598
|
+
toolbarButtonRippleColor: string;
|
|
109599
|
+
toolbarButtonWaveOpacity: string;
|
|
109576
109600
|
toolbarIconColorDisabled: string;
|
|
109577
109601
|
toolbarIconColorActive: string;
|
|
109578
109602
|
toolbarIconColorHover: string;
|
|
@@ -109582,6 +109606,8 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
|
|
|
109582
109606
|
placeholderColor: string;
|
|
109583
109607
|
sendButtonColor: string;
|
|
109584
109608
|
sendButtonColorDisabled: string;
|
|
109609
|
+
sendButtonRippleColor: string;
|
|
109610
|
+
sendButtonWaveOpacity: string;
|
|
109585
109611
|
sendButtonIconSize: string;
|
|
109586
109612
|
blockTypeTriggerHeight: string;
|
|
109587
109613
|
blockTypeTriggerPadding: string;
|
|
@@ -110227,6 +110253,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
110227
110253
|
toolbarDividerColor: string;
|
|
110228
110254
|
toolbarButtonColorActive: string;
|
|
110229
110255
|
toolbarButtonColorHover: string;
|
|
110256
|
+
toolbarButtonRippleColor: string;
|
|
110257
|
+
toolbarButtonWaveOpacity: string;
|
|
110230
110258
|
toolbarIconColorDisabled: string;
|
|
110231
110259
|
toolbarIconColorActive: string;
|
|
110232
110260
|
toolbarIconColorHover: string;
|
|
@@ -110236,6 +110264,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
110236
110264
|
placeholderColor: string;
|
|
110237
110265
|
sendButtonColor: string;
|
|
110238
110266
|
sendButtonColorDisabled: string;
|
|
110267
|
+
sendButtonRippleColor: string;
|
|
110268
|
+
sendButtonWaveOpacity: string;
|
|
110239
110269
|
sendButtonIconSize: string;
|
|
110240
110270
|
blockTypeTriggerHeight: string;
|
|
110241
110271
|
blockTypeTriggerPadding: string;
|
|
@@ -110855,6 +110885,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
110855
110885
|
toolbarDividerColor: string;
|
|
110856
110886
|
toolbarButtonColorActive: string;
|
|
110857
110887
|
toolbarButtonColorHover: string;
|
|
110888
|
+
toolbarButtonRippleColor: string;
|
|
110889
|
+
toolbarButtonWaveOpacity: string;
|
|
110858
110890
|
toolbarIconColorDisabled: string;
|
|
110859
110891
|
toolbarIconColorActive: string;
|
|
110860
110892
|
toolbarIconColorHover: string;
|
|
@@ -110864,6 +110896,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
110864
110896
|
placeholderColor: string;
|
|
110865
110897
|
sendButtonColor: string;
|
|
110866
110898
|
sendButtonColorDisabled: string;
|
|
110899
|
+
sendButtonRippleColor: string;
|
|
110900
|
+
sendButtonWaveOpacity: string;
|
|
110867
110901
|
sendButtonIconSize: string;
|
|
110868
110902
|
blockTypeTriggerHeight: string;
|
|
110869
110903
|
blockTypeTriggerPadding: string;
|
|
@@ -111483,6 +111517,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
111483
111517
|
toolbarDividerColor: string;
|
|
111484
111518
|
toolbarButtonColorActive: string;
|
|
111485
111519
|
toolbarButtonColorHover: string;
|
|
111520
|
+
toolbarButtonRippleColor: string;
|
|
111521
|
+
toolbarButtonWaveOpacity: string;
|
|
111486
111522
|
toolbarIconColorDisabled: string;
|
|
111487
111523
|
toolbarIconColorActive: string;
|
|
111488
111524
|
toolbarIconColorHover: string;
|
|
@@ -111492,6 +111528,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
111492
111528
|
placeholderColor: string;
|
|
111493
111529
|
sendButtonColor: string;
|
|
111494
111530
|
sendButtonColorDisabled: string;
|
|
111531
|
+
sendButtonRippleColor: string;
|
|
111532
|
+
sendButtonWaveOpacity: string;
|
|
111495
111533
|
sendButtonIconSize: string;
|
|
111496
111534
|
blockTypeTriggerHeight: string;
|
|
111497
111535
|
blockTypeTriggerPadding: string;
|
|
@@ -112898,6 +112936,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
112898
112936
|
toolbarDividerColor: string;
|
|
112899
112937
|
toolbarButtonColorActive: string;
|
|
112900
112938
|
toolbarButtonColorHover: string;
|
|
112939
|
+
toolbarButtonRippleColor: string;
|
|
112940
|
+
toolbarButtonWaveOpacity: string;
|
|
112901
112941
|
toolbarIconColorDisabled: string;
|
|
112902
112942
|
toolbarIconColorActive: string;
|
|
112903
112943
|
toolbarIconColorHover: string;
|
|
@@ -112907,6 +112947,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
112907
112947
|
placeholderColor: string;
|
|
112908
112948
|
sendButtonColor: string;
|
|
112909
112949
|
sendButtonColorDisabled: string;
|
|
112950
|
+
sendButtonRippleColor: string;
|
|
112951
|
+
sendButtonWaveOpacity: string;
|
|
112910
112952
|
sendButtonIconSize: string;
|
|
112911
112953
|
blockTypeTriggerHeight: string;
|
|
112912
112954
|
blockTypeTriggerPadding: string;
|
|
@@ -113526,6 +113568,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
113526
113568
|
toolbarDividerColor: string;
|
|
113527
113569
|
toolbarButtonColorActive: string;
|
|
113528
113570
|
toolbarButtonColorHover: string;
|
|
113571
|
+
toolbarButtonRippleColor: string;
|
|
113572
|
+
toolbarButtonWaveOpacity: string;
|
|
113529
113573
|
toolbarIconColorDisabled: string;
|
|
113530
113574
|
toolbarIconColorActive: string;
|
|
113531
113575
|
toolbarIconColorHover: string;
|
|
@@ -113535,6 +113579,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
113535
113579
|
placeholderColor: string;
|
|
113536
113580
|
sendButtonColor: string;
|
|
113537
113581
|
sendButtonColorDisabled: string;
|
|
113582
|
+
sendButtonRippleColor: string;
|
|
113583
|
+
sendButtonWaveOpacity: string;
|
|
113538
113584
|
sendButtonIconSize: string;
|
|
113539
113585
|
blockTypeTriggerHeight: string;
|
|
113540
113586
|
blockTypeTriggerPadding: string;
|
|
@@ -114154,6 +114200,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
114154
114200
|
toolbarDividerColor: string;
|
|
114155
114201
|
toolbarButtonColorActive: string;
|
|
114156
114202
|
toolbarButtonColorHover: string;
|
|
114203
|
+
toolbarButtonRippleColor: string;
|
|
114204
|
+
toolbarButtonWaveOpacity: string;
|
|
114157
114205
|
toolbarIconColorDisabled: string;
|
|
114158
114206
|
toolbarIconColorActive: string;
|
|
114159
114207
|
toolbarIconColorHover: string;
|
|
@@ -114163,6 +114211,8 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
|
|
|
114163
114211
|
placeholderColor: string;
|
|
114164
114212
|
sendButtonColor: string;
|
|
114165
114213
|
sendButtonColorDisabled: string;
|
|
114214
|
+
sendButtonRippleColor: string;
|
|
114215
|
+
sendButtonWaveOpacity: string;
|
|
114166
114216
|
sendButtonIconSize: string;
|
|
114167
114217
|
blockTypeTriggerHeight: string;
|
|
114168
114218
|
blockTypeTriggerPadding: string;
|
|
@@ -114802,6 +114852,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
114802
114852
|
toolbarDividerColor: string;
|
|
114803
114853
|
toolbarButtonColorActive: string;
|
|
114804
114854
|
toolbarButtonColorHover: string;
|
|
114855
|
+
toolbarButtonRippleColor: string;
|
|
114856
|
+
toolbarButtonWaveOpacity: string;
|
|
114805
114857
|
toolbarIconColorDisabled: string;
|
|
114806
114858
|
toolbarIconColorActive: string;
|
|
114807
114859
|
toolbarIconColorHover: string;
|
|
@@ -114811,6 +114863,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
114811
114863
|
placeholderColor: string;
|
|
114812
114864
|
sendButtonColor: string;
|
|
114813
114865
|
sendButtonColorDisabled: string;
|
|
114866
|
+
sendButtonRippleColor: string;
|
|
114867
|
+
sendButtonWaveOpacity: string;
|
|
114814
114868
|
sendButtonIconSize: string;
|
|
114815
114869
|
blockTypeTriggerHeight: string;
|
|
114816
114870
|
blockTypeTriggerPadding: string;
|
|
@@ -115430,6 +115484,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
115430
115484
|
toolbarDividerColor: string;
|
|
115431
115485
|
toolbarButtonColorActive: string;
|
|
115432
115486
|
toolbarButtonColorHover: string;
|
|
115487
|
+
toolbarButtonRippleColor: string;
|
|
115488
|
+
toolbarButtonWaveOpacity: string;
|
|
115433
115489
|
toolbarIconColorDisabled: string;
|
|
115434
115490
|
toolbarIconColorActive: string;
|
|
115435
115491
|
toolbarIconColorHover: string;
|
|
@@ -115439,6 +115495,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
115439
115495
|
placeholderColor: string;
|
|
115440
115496
|
sendButtonColor: string;
|
|
115441
115497
|
sendButtonColorDisabled: string;
|
|
115498
|
+
sendButtonRippleColor: string;
|
|
115499
|
+
sendButtonWaveOpacity: string;
|
|
115442
115500
|
sendButtonIconSize: string;
|
|
115443
115501
|
blockTypeTriggerHeight: string;
|
|
115444
115502
|
blockTypeTriggerPadding: string;
|
|
@@ -116058,6 +116116,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
116058
116116
|
toolbarDividerColor: string;
|
|
116059
116117
|
toolbarButtonColorActive: string;
|
|
116060
116118
|
toolbarButtonColorHover: string;
|
|
116119
|
+
toolbarButtonRippleColor: string;
|
|
116120
|
+
toolbarButtonWaveOpacity: string;
|
|
116061
116121
|
toolbarIconColorDisabled: string;
|
|
116062
116122
|
toolbarIconColorActive: string;
|
|
116063
116123
|
toolbarIconColorHover: string;
|
|
@@ -116067,6 +116127,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
116067
116127
|
placeholderColor: string;
|
|
116068
116128
|
sendButtonColor: string;
|
|
116069
116129
|
sendButtonColorDisabled: string;
|
|
116130
|
+
sendButtonRippleColor: string;
|
|
116131
|
+
sendButtonWaveOpacity: string;
|
|
116070
116132
|
sendButtonIconSize: string;
|
|
116071
116133
|
blockTypeTriggerHeight: string;
|
|
116072
116134
|
blockTypeTriggerPadding: string;
|
|
@@ -116969,6 +117031,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
116969
117031
|
toolbarDividerColor: string;
|
|
116970
117032
|
toolbarButtonColorActive: string;
|
|
116971
117033
|
toolbarButtonColorHover: string;
|
|
117034
|
+
toolbarButtonRippleColor: string;
|
|
117035
|
+
toolbarButtonWaveOpacity: string;
|
|
116972
117036
|
toolbarIconColorDisabled: string;
|
|
116973
117037
|
toolbarIconColorActive: string;
|
|
116974
117038
|
toolbarIconColorHover: string;
|
|
@@ -116978,6 +117042,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
116978
117042
|
placeholderColor: string;
|
|
116979
117043
|
sendButtonColor: string;
|
|
116980
117044
|
sendButtonColorDisabled: string;
|
|
117045
|
+
sendButtonRippleColor: string;
|
|
117046
|
+
sendButtonWaveOpacity: string;
|
|
116981
117047
|
sendButtonIconSize: string;
|
|
116982
117048
|
blockTypeTriggerHeight: string;
|
|
116983
117049
|
blockTypeTriggerPadding: string;
|
|
@@ -117597,6 +117663,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
117597
117663
|
toolbarDividerColor: string;
|
|
117598
117664
|
toolbarButtonColorActive: string;
|
|
117599
117665
|
toolbarButtonColorHover: string;
|
|
117666
|
+
toolbarButtonRippleColor: string;
|
|
117667
|
+
toolbarButtonWaveOpacity: string;
|
|
117600
117668
|
toolbarIconColorDisabled: string;
|
|
117601
117669
|
toolbarIconColorActive: string;
|
|
117602
117670
|
toolbarIconColorHover: string;
|
|
@@ -117606,6 +117674,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
117606
117674
|
placeholderColor: string;
|
|
117607
117675
|
sendButtonColor: string;
|
|
117608
117676
|
sendButtonColorDisabled: string;
|
|
117677
|
+
sendButtonRippleColor: string;
|
|
117678
|
+
sendButtonWaveOpacity: string;
|
|
117609
117679
|
sendButtonIconSize: string;
|
|
117610
117680
|
blockTypeTriggerHeight: string;
|
|
117611
117681
|
blockTypeTriggerPadding: string;
|
|
@@ -118225,6 +118295,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
118225
118295
|
toolbarDividerColor: string;
|
|
118226
118296
|
toolbarButtonColorActive: string;
|
|
118227
118297
|
toolbarButtonColorHover: string;
|
|
118298
|
+
toolbarButtonRippleColor: string;
|
|
118299
|
+
toolbarButtonWaveOpacity: string;
|
|
118228
118300
|
toolbarIconColorDisabled: string;
|
|
118229
118301
|
toolbarIconColorActive: string;
|
|
118230
118302
|
toolbarIconColorHover: string;
|
|
@@ -118234,6 +118306,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
|
|
|
118234
118306
|
placeholderColor: string;
|
|
118235
118307
|
sendButtonColor: string;
|
|
118236
118308
|
sendButtonColorDisabled: string;
|
|
118309
|
+
sendButtonRippleColor: string;
|
|
118310
|
+
sendButtonWaveOpacity: string;
|
|
118237
118311
|
sendButtonIconSize: string;
|
|
118238
118312
|
blockTypeTriggerHeight: string;
|
|
118239
118313
|
blockTypeTriggerPadding: string;
|
|
@@ -142779,6 +142853,10 @@ export declare const UMessageBubble: import("vue").DefineComponent<import("vue")
|
|
|
142779
142853
|
readonly type: import("vue").PropType<import("./message-bubble").MarkdownOptions>;
|
|
142780
142854
|
readonly default: undefined;
|
|
142781
142855
|
};
|
|
142856
|
+
readonly markdownProps: {
|
|
142857
|
+
readonly type: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
142858
|
+
readonly default: undefined;
|
|
142859
|
+
};
|
|
142782
142860
|
readonly timestamp: {
|
|
142783
142861
|
readonly type: import("vue").PropType<string | number | Date | (() => import("vue").VNodeChild)>;
|
|
142784
142862
|
readonly default: undefined;
|
|
@@ -142966,6 +143044,10 @@ export declare const UMessageBubble: import("vue").DefineComponent<import("vue")
|
|
|
142966
143044
|
readonly type: import("vue").PropType<import("./message-bubble").MarkdownOptions>;
|
|
142967
143045
|
readonly default: undefined;
|
|
142968
143046
|
};
|
|
143047
|
+
readonly markdownProps: {
|
|
143048
|
+
readonly type: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
143049
|
+
readonly default: undefined;
|
|
143050
|
+
};
|
|
142969
143051
|
readonly timestamp: {
|
|
142970
143052
|
readonly type: import("vue").PropType<string | number | Date | (() => import("vue").VNodeChild)>;
|
|
142971
143053
|
readonly default: undefined;
|
|
@@ -143125,6 +143207,7 @@ export declare const UMessageBubble: import("vue").DefineComponent<import("vue")
|
|
|
143125
143207
|
readonly isOwn: boolean;
|
|
143126
143208
|
readonly markdown: boolean;
|
|
143127
143209
|
readonly markdownOptions: import("./message-bubble").MarkdownOptions;
|
|
143210
|
+
readonly markdownProps: import("vue").HTMLAttributes;
|
|
143128
143211
|
readonly timestamp: string | number | Date | (() => import("vue").VNodeChild);
|
|
143129
143212
|
readonly attachments: import("./message-bubble").MessageBubbleAttachment | import("./message-bubble").MessageBubbleAttachment[];
|
|
143130
143213
|
readonly uploadProps: Partial<import("./upload").UploadProps>;
|
|
@@ -7,6 +7,7 @@ const vooks_1 = require("vooks");
|
|
|
7
7
|
const vue_1 = require("vue");
|
|
8
8
|
const _mixins_1 = require("../../_mixins");
|
|
9
9
|
const _utils_1 = require("../../_utils");
|
|
10
|
+
const date_locale_1 = require("../../locales/utils/date-locale");
|
|
10
11
|
const context_1 = require("./context");
|
|
11
12
|
exports.configProviderProps = {
|
|
12
13
|
abstract: Boolean,
|
|
@@ -312,12 +313,14 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
312
313
|
: locale;
|
|
313
314
|
}),
|
|
314
315
|
mergedDateLocaleRef: (0, vue_1.computed)(() => {
|
|
315
|
-
const { dateLocale } = props;
|
|
316
|
+
const { dateLocale, locale } = props;
|
|
316
317
|
if (dateLocale === null)
|
|
317
318
|
return;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
if (dateLocale !== undefined)
|
|
320
|
+
return dateLocale;
|
|
321
|
+
if (locale !== undefined)
|
|
322
|
+
return locale === null ? undefined : (0, date_locale_1.resolveDateLocale)(locale.name);
|
|
323
|
+
return UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedDateLocaleRef.value;
|
|
321
324
|
}),
|
|
322
325
|
mergedHljsRef: (0, vue_1.computed)(() => {
|
|
323
326
|
const { hljs } = props;
|
package/lib/editor/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export type { SendButtonProps } from './src/EditorParts/SendButton/interface';
|
|
|
6
6
|
export type { ToolbarButtonProps } from './src/EditorParts/ToolbarButton/interface';
|
|
7
7
|
export { createEditorExtensions } from './src/extensions';
|
|
8
8
|
export { editorInjectionKey, editorProps } from './src/interface';
|
|
9
|
-
export type { EditorInst, EditorProps, EditorSlots, EditorToolbar, EditorToolbarItemKey } from './src/interface';
|
|
9
|
+
export type { EditorInst, EditorNodeProps, EditorProps, EditorSlots, EditorToolbar, EditorToolbarItemKey } from './src/interface';
|
|
10
10
|
export type { Editor } from '@tiptap/vue-3';
|