yx-web-sdk 0.0.20 → 0.0.21
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/chat-card/index.js +1 -1
- package/dist/chat-content/index.js +1 -1
- package/dist/chat-page/index.js +1 -1
- package/dist/chat-room/index.js +1 -1
- package/dist/index/style4.css +1 -0
- package/dist/index-entry/index.js +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-C18d9C8W.mjs → index.vue_vue_type_script_setup_true_lang-CD6o8jT4.mjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_lang-E3PcX8MA.mjs → index.vue_vue_type_style_index_0_lang-BJGCxPce.mjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_lang-CBpDXwwP.mjs → index.vue_vue_type_style_index_0_lang-CsNgkPt9.mjs} +8 -5
- package/dist/{index.vue_vue_type_style_index_0_lang-QCNj8WyS.mjs → index.vue_vue_type_style_index_0_lang-iBkYSdDj.mjs} +9 -5
- package/dist/style.css +1 -0
- package/dist/yx-web-sdk.es.js +16 -9
- package/dist/yx-web-sdk.umd.js +16 -9
- package/package.json +1 -1
package/dist/chat-card/index.js
CHANGED
package/dist/chat-page/index.js
CHANGED
package/dist/chat-room/index.js
CHANGED
package/dist/index/style4.css
CHANGED
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, ref, onMounted, onUnmounted, openBlock, crea
|
|
|
2
2
|
import { useRouter } from "vue-router";
|
|
3
3
|
import { Spin, Result, Button, Empty, message } from "ant-design-vue";
|
|
4
4
|
import { s as setGlobalRequest, c as useImSdkStore, a as useServerStore, u as useChannelStore, b as useUserStore, d as useGlobalStore } from "../index.vue_vue_type_style_index_0_lang-BaKNB-4q.mjs";
|
|
5
|
-
import { _ as _sfc_main$1 } from "../index.vue_vue_type_style_index_0_lang-
|
|
5
|
+
import { _ as _sfc_main$1 } from "../index.vue_vue_type_style_index_0_lang-BJGCxPce.mjs";
|
|
6
6
|
import { S as ServerChannelSidebar } from "../index-DME8_VYv.mjs";
|
|
7
7
|
import { M as MembersSidebar } from "../index-BPnLB3av.mjs";
|
|
8
8
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createBlock, createElementBlock } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./index.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./index.vue_vue_type_style_index_0_lang-iBkYSdDj.mjs";
|
|
3
3
|
import { u as useChannelStore, a as useServerStore, b as useUserStore } from "./index.vue_vue_type_style_index_0_lang-BaKNB-4q.mjs";
|
|
4
4
|
const _hoisted_1 = { key: 1 };
|
|
5
5
|
const HISTORY_LIMIT = 100;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, h, watch, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
2
2
|
import { List, Typography } from "ant-design-vue";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_setup_true_lang-CD6o8jT4.mjs";
|
|
4
4
|
import { a as useServerStore, u as useChannelStore } from "./index.vue_vue_type_style_index_0_lang-BaKNB-4q.mjs";
|
|
5
5
|
import "./index-L_drmZir.mjs";
|
|
6
6
|
import { useLocalStorage } from "@vueuse/core";
|
|
7
|
-
import { L as LoadingOutlined } from "./index.vue_vue_type_style_index_0_lang-
|
|
7
|
+
import { L as LoadingOutlined } from "./index.vue_vue_type_style_index_0_lang-CsNgkPt9.mjs";
|
|
8
8
|
const _hoisted_1 = { class: "yx-chat-page-container" };
|
|
9
9
|
const _hoisted_2 = { class: "header-wrap" };
|
|
10
10
|
const _hoisted_3 = { class: "left" };
|
|
@@ -175,7 +175,10 @@ const _hoisted_16 = {
|
|
|
175
175
|
key: 5,
|
|
176
176
|
class: "chatCardMainContent"
|
|
177
177
|
};
|
|
178
|
-
const _hoisted_17 = {
|
|
178
|
+
const _hoisted_17 = {
|
|
179
|
+
key: 0,
|
|
180
|
+
class: "chatCardQuoteMsgAttachBox"
|
|
181
|
+
};
|
|
179
182
|
const _hoisted_18 = { class: "chatCardQuoteMsgName" };
|
|
180
183
|
const _hoisted_19 = ["innerHTML"];
|
|
181
184
|
const _hoisted_20 = { class: "ant-image-mask-info" };
|
|
@@ -511,19 +514,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
511
514
|
class: "chatCardQuoteMsg",
|
|
512
515
|
onClick: onQuoteMsgClick
|
|
513
516
|
}, [
|
|
514
|
-
|
|
517
|
+
msgExt.value.quoteMsg.type === "text" && msgExt.value.quoteMsg.attach ? (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
515
518
|
createVNode(_sfc_main$1, {
|
|
516
519
|
attach: msgExt.value.quoteMsg.attach
|
|
517
520
|
}, null, 8, ["attach"])
|
|
518
|
-
]),
|
|
521
|
+
])) : createCommentVNode("", true),
|
|
519
522
|
createElementVNode("div", _hoisted_18, toDisplayString(msgExt.value.quoteMsg.fromNick) + ":", 1),
|
|
520
523
|
msgExt.value.quoteMsg.body ? (openBlock(), createElementBlock("div", {
|
|
521
|
-
key:
|
|
524
|
+
key: 1,
|
|
522
525
|
class: "quoteMsgText",
|
|
523
526
|
innerHTML: msgExt.value.quoteMsg.body
|
|
524
527
|
}, null, 8, _hoisted_19)) : createCommentVNode("", true),
|
|
525
528
|
msgExt.value.quoteMsg.type === "image" ? (openBlock(), createBlock(unref(Image), {
|
|
526
|
-
key:
|
|
529
|
+
key: 2,
|
|
527
530
|
class: "imgMsg quoteMsgImg",
|
|
528
531
|
src: (_s = msgExt.value.quoteMsg.attach) == null ? void 0 : _s.url,
|
|
529
532
|
width: quoteImageMsgSize.value.width,
|
|
@@ -2,7 +2,7 @@ import { createVNode, ref, computed, watch, nextTick, defineComponent, openBlock
|
|
|
2
2
|
import { useRouter } from "vue-router";
|
|
3
3
|
import { Input, Image, Popover, Button, Upload, message } from "ant-design-vue";
|
|
4
4
|
import { A as AitPersonPopover } from "./index-Dwglj7_M.mjs";
|
|
5
|
-
import { L as LoadingOutlined, _ as _sfc_main$2, a as _sfc_main$3 } from "./index.vue_vue_type_style_index_0_lang-
|
|
5
|
+
import { L as LoadingOutlined, _ as _sfc_main$2, a as _sfc_main$3 } from "./index.vue_vue_type_style_index_0_lang-CsNgkPt9.mjs";
|
|
6
6
|
import { _ as _sfc_main$1 } from "./index.vue_vue_type_style_index_0_lang-BxXBf_VA.mjs";
|
|
7
7
|
import { a as useServerStore, g as getServerMembersByAccids, u as useChannelStore, e as getImageMsgDisplaySize, f as filterStr, i as isLt } from "./index.vue_vue_type_style_index_0_lang-BaKNB-4q.mjs";
|
|
8
8
|
import { useEventListener, useDebounceFn } from "@vueuse/core";
|
|
@@ -452,12 +452,15 @@ const _hoisted_8 = {
|
|
|
452
452
|
key: 0,
|
|
453
453
|
class: "chatroomInputQuoteWrapper"
|
|
454
454
|
};
|
|
455
|
-
const _hoisted_9 = {
|
|
455
|
+
const _hoisted_9 = {
|
|
456
|
+
key: 0,
|
|
457
|
+
class: "chatroomInputQuoteAttachBox"
|
|
458
|
+
};
|
|
456
459
|
const _hoisted_10 = { class: "chatroomInputQuoteText" };
|
|
457
460
|
const _hoisted_11 = { class: "chatroomInputQuoteTextName" };
|
|
458
461
|
const _hoisted_12 = ["innerHTML"];
|
|
459
462
|
const _hoisted_13 = {
|
|
460
|
-
key:
|
|
463
|
+
key: 1,
|
|
461
464
|
class: "chatroomInputQuoteWrapperImg"
|
|
462
465
|
};
|
|
463
466
|
const _hoisted_14 = {
|
|
@@ -599,6 +602,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
599
602
|
};
|
|
600
603
|
const handleDeleteQuoteMsg = () => {
|
|
601
604
|
quoteMsg.value = void 0;
|
|
605
|
+
console.log("handleDeleteQuoteMsg", quoteMsg.value);
|
|
602
606
|
};
|
|
603
607
|
const handleDeleteAttachment = () => {
|
|
604
608
|
attachment.value = void 0;
|
|
@@ -1010,11 +1014,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1010
1014
|
size: "12px",
|
|
1011
1015
|
onClick: handleDeleteQuoteMsg
|
|
1012
1016
|
}),
|
|
1013
|
-
|
|
1017
|
+
quoteMsg.value.type === "text" && quoteMsg.value.attach ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
1014
1018
|
createVNode(_sfc_main$3, {
|
|
1015
1019
|
attach: quoteMsg.value.attach
|
|
1016
1020
|
}, null, 8, ["attach"])
|
|
1017
|
-
]),
|
|
1021
|
+
])) : createCommentVNode("", true),
|
|
1018
1022
|
createElementVNode("div", _hoisted_10, [
|
|
1019
1023
|
createElementVNode("div", _hoisted_11, toDisplayString(quoteMsg.value.fromNick) + ":", 1),
|
|
1020
1024
|
((_d = quoteMsg.value) == null ? void 0 : _d.body) ? (openBlock(), createElementBlock("div", {
|
package/dist/style.css
CHANGED
package/dist/yx-web-sdk.es.js
CHANGED
|
@@ -38858,7 +38858,10 @@ const _hoisted_16$2 = {
|
|
|
38858
38858
|
key: 5,
|
|
38859
38859
|
class: "chatCardMainContent"
|
|
38860
38860
|
};
|
|
38861
|
-
const _hoisted_17$2 = {
|
|
38861
|
+
const _hoisted_17$2 = {
|
|
38862
|
+
key: 0,
|
|
38863
|
+
class: "chatCardQuoteMsgAttachBox"
|
|
38864
|
+
};
|
|
38862
38865
|
const _hoisted_18$2 = { class: "chatCardQuoteMsgName" };
|
|
38863
38866
|
const _hoisted_19$2 = ["innerHTML"];
|
|
38864
38867
|
const _hoisted_20$2 = { class: "ant-image-mask-info" };
|
|
@@ -39197,19 +39200,19 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
39197
39200
|
class: "chatCardQuoteMsg",
|
|
39198
39201
|
onClick: onQuoteMsgClick
|
|
39199
39202
|
}, [
|
|
39200
|
-
|
|
39203
|
+
msgExt.value.quoteMsg.type === "text" && msgExt.value.quoteMsg.attach ? (openBlock(), createElementBlock("div", _hoisted_17$2, [
|
|
39201
39204
|
createVNode(_sfc_main$9, {
|
|
39202
39205
|
attach: msgExt.value.quoteMsg.attach
|
|
39203
39206
|
}, null, 8, ["attach"])
|
|
39204
|
-
]),
|
|
39207
|
+
])) : createCommentVNode("", true),
|
|
39205
39208
|
createElementVNode("div", _hoisted_18$2, toDisplayString(msgExt.value.quoteMsg.fromNick) + ":", 1),
|
|
39206
39209
|
msgExt.value.quoteMsg.body ? (openBlock(), createElementBlock("div", {
|
|
39207
|
-
key:
|
|
39210
|
+
key: 1,
|
|
39208
39211
|
class: "quoteMsgText",
|
|
39209
39212
|
innerHTML: msgExt.value.quoteMsg.body
|
|
39210
39213
|
}, null, 8, _hoisted_19$2)) : createCommentVNode("", true),
|
|
39211
39214
|
msgExt.value.quoteMsg.type === "image" ? (openBlock(), createBlock(unref(Image), {
|
|
39212
|
-
key:
|
|
39215
|
+
key: 2,
|
|
39213
39216
|
class: "imgMsg quoteMsgImg",
|
|
39214
39217
|
src: (_s = msgExt.value.quoteMsg.attach) == null ? void 0 : _s.url,
|
|
39215
39218
|
width: quoteImageMsgSize.value.width,
|
|
@@ -39924,12 +39927,15 @@ const _hoisted_8$3 = {
|
|
|
39924
39927
|
key: 0,
|
|
39925
39928
|
class: "chatroomInputQuoteWrapper"
|
|
39926
39929
|
};
|
|
39927
|
-
const _hoisted_9$2 = {
|
|
39930
|
+
const _hoisted_9$2 = {
|
|
39931
|
+
key: 0,
|
|
39932
|
+
class: "chatroomInputQuoteAttachBox"
|
|
39933
|
+
};
|
|
39928
39934
|
const _hoisted_10$2 = { class: "chatroomInputQuoteText" };
|
|
39929
39935
|
const _hoisted_11$2 = { class: "chatroomInputQuoteTextName" };
|
|
39930
39936
|
const _hoisted_12$2 = ["innerHTML"];
|
|
39931
39937
|
const _hoisted_13$2 = {
|
|
39932
|
-
key:
|
|
39938
|
+
key: 1,
|
|
39933
39939
|
class: "chatroomInputQuoteWrapperImg"
|
|
39934
39940
|
};
|
|
39935
39941
|
const _hoisted_14$2 = {
|
|
@@ -40071,6 +40077,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
40071
40077
|
};
|
|
40072
40078
|
const handleDeleteQuoteMsg = () => {
|
|
40073
40079
|
quoteMsg.value = void 0;
|
|
40080
|
+
console.log("handleDeleteQuoteMsg", quoteMsg.value);
|
|
40074
40081
|
};
|
|
40075
40082
|
const handleDeleteAttachment = () => {
|
|
40076
40083
|
attachment.value = void 0;
|
|
@@ -40482,11 +40489,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
40482
40489
|
size: "12px",
|
|
40483
40490
|
onClick: handleDeleteQuoteMsg
|
|
40484
40491
|
}),
|
|
40485
|
-
|
|
40492
|
+
quoteMsg.value.type === "text" && quoteMsg.value.attach ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
|
|
40486
40493
|
createVNode(_sfc_main$9, {
|
|
40487
40494
|
attach: quoteMsg.value.attach
|
|
40488
40495
|
}, null, 8, ["attach"])
|
|
40489
|
-
]),
|
|
40496
|
+
])) : createCommentVNode("", true),
|
|
40490
40497
|
createElementVNode("div", _hoisted_10$2, [
|
|
40491
40498
|
createElementVNode("div", _hoisted_11$2, toDisplayString(quoteMsg.value.fromNick) + ":", 1),
|
|
40492
40499
|
((_d = quoteMsg.value) == null ? void 0 : _d.body) ? (openBlock(), createElementBlock("div", {
|
package/dist/yx-web-sdk.umd.js
CHANGED
|
@@ -38855,7 +38855,10 @@
|
|
|
38855
38855
|
key: 5,
|
|
38856
38856
|
class: "chatCardMainContent"
|
|
38857
38857
|
};
|
|
38858
|
-
const _hoisted_17$2 = {
|
|
38858
|
+
const _hoisted_17$2 = {
|
|
38859
|
+
key: 0,
|
|
38860
|
+
class: "chatCardQuoteMsgAttachBox"
|
|
38861
|
+
};
|
|
38859
38862
|
const _hoisted_18$2 = { class: "chatCardQuoteMsgName" };
|
|
38860
38863
|
const _hoisted_19$2 = ["innerHTML"];
|
|
38861
38864
|
const _hoisted_20$2 = { class: "ant-image-mask-info" };
|
|
@@ -39194,19 +39197,19 @@
|
|
|
39194
39197
|
class: "chatCardQuoteMsg",
|
|
39195
39198
|
onClick: onQuoteMsgClick
|
|
39196
39199
|
}, [
|
|
39197
|
-
vue.
|
|
39200
|
+
msgExt.value.quoteMsg.type === "text" && msgExt.value.quoteMsg.attach ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$2, [
|
|
39198
39201
|
vue.createVNode(_sfc_main$9, {
|
|
39199
39202
|
attach: msgExt.value.quoteMsg.attach
|
|
39200
39203
|
}, null, 8, ["attach"])
|
|
39201
|
-
]),
|
|
39204
|
+
])) : vue.createCommentVNode("", true),
|
|
39202
39205
|
vue.createElementVNode("div", _hoisted_18$2, vue.toDisplayString(msgExt.value.quoteMsg.fromNick) + ":", 1),
|
|
39203
39206
|
msgExt.value.quoteMsg.body ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
39204
|
-
key:
|
|
39207
|
+
key: 1,
|
|
39205
39208
|
class: "quoteMsgText",
|
|
39206
39209
|
innerHTML: msgExt.value.quoteMsg.body
|
|
39207
39210
|
}, null, 8, _hoisted_19$2)) : vue.createCommentVNode("", true),
|
|
39208
39211
|
msgExt.value.quoteMsg.type === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Image), {
|
|
39209
|
-
key:
|
|
39212
|
+
key: 2,
|
|
39210
39213
|
class: "imgMsg quoteMsgImg",
|
|
39211
39214
|
src: (_s = msgExt.value.quoteMsg.attach) == null ? void 0 : _s.url,
|
|
39212
39215
|
width: quoteImageMsgSize.value.width,
|
|
@@ -39921,12 +39924,15 @@
|
|
|
39921
39924
|
key: 0,
|
|
39922
39925
|
class: "chatroomInputQuoteWrapper"
|
|
39923
39926
|
};
|
|
39924
|
-
const _hoisted_9$2 = {
|
|
39927
|
+
const _hoisted_9$2 = {
|
|
39928
|
+
key: 0,
|
|
39929
|
+
class: "chatroomInputQuoteAttachBox"
|
|
39930
|
+
};
|
|
39925
39931
|
const _hoisted_10$2 = { class: "chatroomInputQuoteText" };
|
|
39926
39932
|
const _hoisted_11$2 = { class: "chatroomInputQuoteTextName" };
|
|
39927
39933
|
const _hoisted_12$2 = ["innerHTML"];
|
|
39928
39934
|
const _hoisted_13$2 = {
|
|
39929
|
-
key:
|
|
39935
|
+
key: 1,
|
|
39930
39936
|
class: "chatroomInputQuoteWrapperImg"
|
|
39931
39937
|
};
|
|
39932
39938
|
const _hoisted_14$2 = {
|
|
@@ -40068,6 +40074,7 @@
|
|
|
40068
40074
|
};
|
|
40069
40075
|
const handleDeleteQuoteMsg = () => {
|
|
40070
40076
|
quoteMsg.value = void 0;
|
|
40077
|
+
console.log("handleDeleteQuoteMsg", quoteMsg.value);
|
|
40071
40078
|
};
|
|
40072
40079
|
const handleDeleteAttachment = () => {
|
|
40073
40080
|
attachment.value = void 0;
|
|
@@ -40479,11 +40486,11 @@
|
|
|
40479
40486
|
size: "12px",
|
|
40480
40487
|
onClick: handleDeleteQuoteMsg
|
|
40481
40488
|
}),
|
|
40482
|
-
vue.
|
|
40489
|
+
quoteMsg.value.type === "text" && quoteMsg.value.attach ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$2, [
|
|
40483
40490
|
vue.createVNode(_sfc_main$9, {
|
|
40484
40491
|
attach: quoteMsg.value.attach
|
|
40485
40492
|
}, null, 8, ["attach"])
|
|
40486
|
-
]),
|
|
40493
|
+
])) : vue.createCommentVNode("", true),
|
|
40487
40494
|
vue.createElementVNode("div", _hoisted_10$2, [
|
|
40488
40495
|
vue.createElementVNode("div", _hoisted_11$2, vue.toDisplayString(quoteMsg.value.fromNick) + ":", 1),
|
|
40489
40496
|
((_d = quoteMsg.value) == null ? void 0 : _d.body) ? (vue.openBlock(), vue.createElementBlock("div", {
|