@everchron/ec-shards 14.27.2 → 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 +22 -25
- 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,
|
|
@@ -6021,6 +6005,14 @@ var so = /* @__PURE__ */ z(io, [["render", oo], ["__scopeId", "data-v-3181dbaf"]
|
|
|
6021
6005
|
hover: {
|
|
6022
6006
|
type: Boolean,
|
|
6023
6007
|
default: !1
|
|
6008
|
+
},
|
|
6009
|
+
sticky: {
|
|
6010
|
+
type: Boolean,
|
|
6011
|
+
default: !1
|
|
6012
|
+
},
|
|
6013
|
+
escaped: {
|
|
6014
|
+
type: Boolean,
|
|
6015
|
+
default: !1
|
|
6024
6016
|
}
|
|
6025
6017
|
},
|
|
6026
6018
|
computed: { bubbleColor() {
|
|
@@ -6051,7 +6043,8 @@ function _o(t, n, r, i, l, u) {
|
|
|
6051
6043
|
sent: r.direction === "sent",
|
|
6052
6044
|
received: r.direction === "received",
|
|
6053
6045
|
[r.variant]: r.variant,
|
|
6054
|
-
hover: r.hover
|
|
6046
|
+
hover: r.hover,
|
|
6047
|
+
sticky: r.sticky
|
|
6055
6048
|
}]),
|
|
6056
6049
|
"aria-busy": r.busy
|
|
6057
6050
|
}, [c("div", uo, [r.variant === "bubble" ? (w(), s(e, { key: 0 }, [r.type === "assistant" ? (w(), s("div", fo, [d(p, {
|
|
@@ -6059,14 +6052,18 @@ function _o(t, n, r, i, l, u) {
|
|
|
6059
6052
|
size: "20",
|
|
6060
6053
|
color: "var(--color-white)"
|
|
6061
6054
|
})])) : (w(), a(f, _({ key: 0 }, r.avatar, { size: 24 }), null, 16))], 64)) : o("", !0), c("div", {
|
|
6062
|
-
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
|
+
}]),
|
|
6063
6060
|
style: x(r.variant === "bubble" ? { backgroundColor: u.bubbleColor } : {})
|
|
6064
6061
|
}, [r.variant === "bubble" ? (w(), s("svg", po, [c("path", {
|
|
6065
6062
|
d: "M6.2929 6.2929L0 0V8H5.58579C6.47669 8 6.92286 6.92286 6.2929 6.2929Z",
|
|
6066
6063
|
fill: u.bubbleColor
|
|
6067
|
-
}, 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);
|
|
6068
6065
|
}
|
|
6069
|
-
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) => {
|
|
6070
6067
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.clickOutSide = {
|
|
6071
6068
|
mounted: function(e, t, n) {
|
|
6072
6069
|
e.clickOutsideEvent = function(n) {
|