sm-click-library-ui 0.0.273 → 0.0.274
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.
|
@@ -13498,7 +13498,7 @@ const u1 = /* @__PURE__ */ ht(o1, [["render", i1], ["__scopeId", "data-v-bd52dde
|
|
|
13498
13498
|
default: null
|
|
13499
13499
|
}
|
|
13500
13500
|
},
|
|
13501
|
-
emits: ["
|
|
13501
|
+
emits: ["unreadMessageEmit"],
|
|
13502
13502
|
setup(e, { emit: n }) {
|
|
13503
13503
|
const t = e, {
|
|
13504
13504
|
attendants: a,
|
|
@@ -13513,9 +13513,9 @@ const u1 = /* @__PURE__ */ ht(o1, [["render", i1], ["__scopeId", "data-v-bd52dde
|
|
|
13513
13513
|
} = Lp(), f = q(!1), h = q(!1), _ = q(null), x = q(null), D = n, y = Z(() => {
|
|
13514
13514
|
if (_.value) {
|
|
13515
13515
|
const T = a.value.find(
|
|
13516
|
-
(
|
|
13517
|
-
)
|
|
13518
|
-
return
|
|
13516
|
+
(R) => R.id === _.value.id
|
|
13517
|
+
);
|
|
13518
|
+
return T ? T.internal_chat.unread : 0;
|
|
13519
13519
|
}
|
|
13520
13520
|
return 0;
|
|
13521
13521
|
}), v = (T) => {
|
|
@@ -13550,7 +13550,7 @@ const u1 = /* @__PURE__ */ ht(o1, [["render", i1], ["__scopeId", "data-v-bd52dde
|
|
|
13550
13550
|
}, P = () => {
|
|
13551
13551
|
f.value || H();
|
|
13552
13552
|
}, L = async (T) => {
|
|
13553
|
-
_.value = T, u(T.id), T.hasNextPage || await s(T.id);
|
|
13553
|
+
_.value = T, D("unreadMessageEmit", T), u(T.id), T.hasNextPage || await s(T.id);
|
|
13554
13554
|
};
|
|
13555
13555
|
return Be(
|
|
13556
13556
|
() => t.socketMessage,
|
|
@@ -13662,7 +13662,7 @@ const u1 = /* @__PURE__ */ ht(o1, [["render", i1], ["__scopeId", "data-v-bd52dde
|
|
|
13662
13662
|
], 6)
|
|
13663
13663
|
], 512));
|
|
13664
13664
|
}
|
|
13665
|
-
}, xl = /* @__PURE__ */ ht(p1, [["__scopeId", "data-v-
|
|
13665
|
+
}, xl = /* @__PURE__ */ ht(p1, [["__scopeId", "data-v-9f65670b"]]), zr = Zn("department", {
|
|
13666
13666
|
state: () => ({
|
|
13667
13667
|
departments: [],
|
|
13668
13668
|
count: null,
|