@huyooo/ai-chat-frontend-vue 0.3.4 → 0.3.7
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as VueRuntime from "vue";
|
|
2
2
|
import { defineComponent, inject, ref, computed, onMounted, watch, onBeforeUnmount, createElementBlock, openBlock, normalizeStyle, createCommentVNode, createElementVNode, createVNode, unref, toDisplayString } from "vue";
|
|
3
3
|
import { Icon } from "@iconify/vue";
|
|
4
|
-
import {
|
|
4
|
+
import { D, A, b, _ as _export_sfc } from "./index-DWIcKvpU.js";
|
|
5
5
|
const e = `data-huyooo-extension-theme`, t = `
|
|
6
6
|
:host {
|
|
7
7
|
--sx-bg: var(--chat-bg, var(--huyooo-bg, #ffffff));
|
|
@@ -60,7 +60,7 @@ function c(t$1) {
|
|
|
60
60
|
}
|
|
61
61
|
function l(e2, n2) {
|
|
62
62
|
let i2 = e2.shadowRoot ?? e2.attachShadow({ mode: `open` });
|
|
63
|
-
|
|
63
|
+
D(b`
|
|
64
64
|
<style data-extension-bridge="true">${c(n2)}</style>
|
|
65
65
|
<div data-extension-root="true"></div>
|
|
66
66
|
`, i2);
|
|
@@ -129,7 +129,7 @@ async function h(e2) {
|
|
|
129
129
|
let r = l(e2.target, e2.css);
|
|
130
130
|
s2 = d(e2.target, r.root, r.container, o2, e2.onEvent), await f2();
|
|
131
131
|
}, async unmount() {
|
|
132
|
-
await p2(),
|
|
132
|
+
await p2(), D(A, t2);
|
|
133
133
|
} };
|
|
134
134
|
}
|
|
135
135
|
const _hoisted_1 = {
|