@everchron/ec-shards 14.27.3 → 14.27.4
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/ec-shards.css +1 -1
- package/dist/ec-shards.js +16 -24
- package/dist/ec-shards.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -5951,27 +5951,11 @@ function no(e, t, n, r, i, s) {
|
|
|
5951
5951
|
var ro = /* @__PURE__ */ z(eo, [["render", no], ["__scopeId", "data-v-cfd8e718"]]), io = {
|
|
5952
5952
|
name: "ecs-chat-conversation",
|
|
5953
5953
|
mounted() {
|
|
5954
|
-
this.scrollToBottom()
|
|
5954
|
+
this.scrollToBottom();
|
|
5955
5955
|
},
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
}
|
|
5959
|
-
methods: {
|
|
5960
|
-
scrollToBottom() {
|
|
5961
|
-
let e = this.$refs.conversationContainer;
|
|
5962
|
-
e && (e.scrollTop = e.scrollHeight);
|
|
5963
|
-
},
|
|
5964
|
-
setupMutationObserver() {
|
|
5965
|
-
let e = this.$refs.conversationContainer;
|
|
5966
|
-
e && (this.observer = new MutationObserver(() => {
|
|
5967
|
-
this.scrollToBottom();
|
|
5968
|
-
}), this.observer.observe(e, {
|
|
5969
|
-
childList: !0,
|
|
5970
|
-
subtree: !0,
|
|
5971
|
-
characterData: !0
|
|
5972
|
-
}));
|
|
5973
|
-
}
|
|
5974
|
-
}
|
|
5956
|
+
methods: { scrollToBottom() {
|
|
5957
|
+
console.log("No Scroll Bottom");
|
|
5958
|
+
} }
|
|
5975
5959
|
}, ao = {
|
|
5976
5960
|
class: "ecs-chat-conversation scrollbar",
|
|
5977
5961
|
ref: "conversationContainer"
|
|
@@ -5979,7 +5963,7 @@ var ro = /* @__PURE__ */ z(eo, [["render", no], ["__scopeId", "data-v-cfd8e718"]
|
|
|
5979
5963
|
function oo(e, t, n, r, i, a) {
|
|
5980
5964
|
return w(), s("div", ao, [O(e.$slots, "default", {}, void 0, !0)], 512);
|
|
5981
5965
|
}
|
|
5982
|
-
var so = /* @__PURE__ */ z(io, [["render", oo], ["__scopeId", "data-v-
|
|
5966
|
+
var so = /* @__PURE__ */ z(io, [["render", oo], ["__scopeId", "data-v-352ec4c8"]]), co = {
|
|
5983
5967
|
name: "ecs-chat-message",
|
|
5984
5968
|
components: {
|
|
5985
5969
|
EcsAvatar: Ge,
|
|
@@ -6025,6 +6009,10 @@ var so = /* @__PURE__ */ z(io, [["render", oo], ["__scopeId", "data-v-8bbc21b8"]
|
|
|
6025
6009
|
sticky: {
|
|
6026
6010
|
type: Boolean,
|
|
6027
6011
|
default: !1
|
|
6012
|
+
},
|
|
6013
|
+
escaped: {
|
|
6014
|
+
type: Boolean,
|
|
6015
|
+
default: !1
|
|
6028
6016
|
}
|
|
6029
6017
|
},
|
|
6030
6018
|
computed: { bubbleColor() {
|
|
@@ -6064,14 +6052,18 @@ function _o(t, n, r, i, l, u) {
|
|
|
6064
6052
|
size: "20",
|
|
6065
6053
|
color: "var(--color-white)"
|
|
6066
6054
|
})])) : (w(), a(f, _({ key: 0 }, r.avatar, { size: 24 }), null, 16))], 64)) : o("", !0), c("div", {
|
|
6067
|
-
class: "ecs-chat-message-bubble",
|
|
6055
|
+
class: y(["ecs-chat-message-bubble", {
|
|
6056
|
+
escaped: r.escaped,
|
|
6057
|
+
scrollbar: r.escaped,
|
|
6058
|
+
"scrollbar-sml": r.escaped
|
|
6059
|
+
}]),
|
|
6068
6060
|
style: x(r.variant === "bubble" ? { backgroundColor: u.bubbleColor } : {})
|
|
6069
6061
|
}, [r.variant === "bubble" ? (w(), s("svg", po, [c("path", {
|
|
6070
6062
|
d: "M6.2929 6.2929L0 0V8H5.58579C6.47669 8 6.92286 6.92286 6.2929 6.2929Z",
|
|
6071
6063
|
fill: u.bubbleColor
|
|
6072
|
-
}, null, 8, mo)])) : o("", !0), r.busy ? (w(), s("span", ho, j(r.busyText), 1)) : O(t.$slots, "default", { key: 2 }, void 0, !0)],
|
|
6064
|
+
}, null, 8, mo)])) : o("", !0), r.busy ? (w(), s("span", ho, j(r.busyText), 1)) : O(t.$slots, "default", { key: 2 }, void 0, !0)], 6)]), t.$slots.actions ? (w(), s("div", go, [O(t.$slots, "actions", {}, void 0, !0)])) : o("", !0)], 10, lo);
|
|
6073
6065
|
}
|
|
6074
|
-
var vo = /* @__PURE__ */ z(co, [["render", _o], ["__scopeId", "data-v-
|
|
6066
|
+
var vo = /* @__PURE__ */ z(co, [["render", _o], ["__scopeId", "data-v-71c5e754"]]), yo = /* @__PURE__ */ he((/* @__PURE__ */ L(((e) => {
|
|
6075
6067
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.clickOutSide = {
|
|
6076
6068
|
mounted: function(e, t, n) {
|
|
6077
6069
|
e.clickOutsideEvent = function(n) {
|