@bcc-code/vue-bcc-chat-ui 3.4.1 → 3.5.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/vue-bcc-chat-ui.js
CHANGED
|
@@ -73491,10 +73491,13 @@ function Sqe(e, t) {
|
|
|
73491
73491
|
}
|
|
73492
73492
|
function mqe(e) {
|
|
73493
73493
|
return function(t, n, ...r) {
|
|
73494
|
-
var
|
|
73494
|
+
var i;
|
|
73495
73495
|
const o = e(t, n, ...r);
|
|
73496
|
-
|
|
73497
|
-
|
|
73496
|
+
if ((i = o == null ? void 0 : o.props) != null && i.src) {
|
|
73497
|
+
let a = o.props.src;
|
|
73498
|
+
a && a.startsWith("https://data-eu.cometchat.io/") && (a = `${Qo().chatApiBaseUrl}/file-proxy?uri=${a}`), o.props.src = a;
|
|
73499
|
+
}
|
|
73500
|
+
return o;
|
|
73498
73501
|
};
|
|
73499
73502
|
}
|
|
73500
73503
|
function vqe(e, t, n, r) {
|
|
@@ -77620,6 +77623,14 @@ const Jtt = ["innerHTML"], Ztt = ["innerHTML"], qtt = /* @__PURE__ */ $t({
|
|
|
77620
77623
|
// underline
|
|
77621
77624
|
"s",
|
|
77622
77625
|
// strikethrough
|
|
77626
|
+
"img",
|
|
77627
|
+
// images
|
|
77628
|
+
"blockquote",
|
|
77629
|
+
// indented text
|
|
77630
|
+
"hr",
|
|
77631
|
+
// horizontal line
|
|
77632
|
+
"pre",
|
|
77633
|
+
// constant width text
|
|
77623
77634
|
"br",
|
|
77624
77635
|
// newline
|
|
77625
77636
|
"div"
|
package/package.json
CHANGED
|
@@ -30,6 +30,10 @@ function toMarkdownHtml(str: string) {
|
|
|
30
30
|
"i", "em", // italics
|
|
31
31
|
"u", // underline
|
|
32
32
|
"s", // strikethrough
|
|
33
|
+
"img", // images
|
|
34
|
+
"blockquote", // indented text
|
|
35
|
+
"hr", // horizontal line
|
|
36
|
+
"pre", // constant width text
|
|
33
37
|
"br", // newline
|
|
34
38
|
"div" // newline on mobile
|
|
35
39
|
]
|