@blueking/chat-x 0.0.1-beta.7 → 0.0.1-beta.8
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/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10520,16 +10520,14 @@ var _hoisted_1$16 = { class: "ai-slash-input-wrapper" }, _hoisted_2$11 = ["aria-
|
|
|
10520
10520
|
},
|
|
10521
10521
|
emits: ["feedback"],
|
|
10522
10522
|
setup(n, { emit: r }) {
|
|
10523
|
-
let i = n, o = r, d = useTemplateRef("feedbackTippyRef"), p = shallowRef(!1), m = shallowRef([]), g = shallowRef(null), _ = computed(() => _objectSpread2(
|
|
10523
|
+
let i = n, o = r, d = useTemplateRef("feedbackTippyRef"), p = shallowRef(!1), m = shallowRef([]), g = shallowRef(null), _ = computed(() => _objectSpread2({
|
|
10524
10524
|
arrow: !1,
|
|
10525
10525
|
interactive: !0,
|
|
10526
10526
|
offset: [0, 6],
|
|
10527
10527
|
theme: "ai-chat-box-light light",
|
|
10528
10528
|
trigger: "click",
|
|
10529
10529
|
appendTo: () => document.body
|
|
10530
|
-
}, i.tippyOptions || {}),
|
|
10531
|
-
if (i.messageToolsStatus === MessageToolsStatus.Disabled) return !1;
|
|
10532
|
-
} })), v = function() {
|
|
10530
|
+
}, i.tippyOptions || {})), v = function() {
|
|
10533
10531
|
var e = _asyncToGenerator(function* (e) {
|
|
10534
10532
|
var n;
|
|
10535
10533
|
if (e.id === "like" || e.id === "unlike") {
|
|
@@ -10555,6 +10553,7 @@ var _hoisted_1$16 = { class: "ai-slash-input-wrapper" }, _hoisted_2$11 = ["aria-
|
|
|
10555
10553
|
}, b = (e) => g.value ? g.value === "like" && e === "like" ? "activeLike" : g.value === "unlike" && e === "unlike" ? "activeUnLike" : e : e, x = (e, n, r) => {
|
|
10556
10554
|
y(), g.value === e.id ? g.value = null : g.value = e.id, o("feedback", e, n, r);
|
|
10557
10555
|
}, S = (e) => {
|
|
10556
|
+
if (i.messageToolsStatus === MessageToolsStatus.Disabled) return !1;
|
|
10558
10557
|
if (g.value && g.value === e) return g.value = null, !1;
|
|
10559
10558
|
};
|
|
10560
10559
|
return onUnmounted(() => {
|