@siact/sime-x-vue 0.0.22 → 0.0.23
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/sime-x-vue.mjs
CHANGED
|
@@ -2322,8 +2322,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2322
2322
|
bubbleSize: {},
|
|
2323
2323
|
bubbleDismissDelay: {}
|
|
2324
2324
|
},
|
|
2325
|
-
|
|
2325
|
+
emits: ["wake-up"],
|
|
2326
|
+
setup(__props, { emit: __emit }) {
|
|
2326
2327
|
const props = __props;
|
|
2328
|
+
const emit = __emit;
|
|
2327
2329
|
const aiChatbotX = injectStrict(AiChatbotXKey);
|
|
2328
2330
|
const getVoiceConfig = () => {
|
|
2329
2331
|
if (props.voiceConfig) return props.voiceConfig;
|
|
@@ -2414,6 +2416,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2414
2416
|
wakeWords: props.wakeWords,
|
|
2415
2417
|
getVoiceConfig,
|
|
2416
2418
|
onWake: () => {
|
|
2419
|
+
emit("wake-up");
|
|
2417
2420
|
interruptCurrentResponse();
|
|
2418
2421
|
tts.warmUpAudio();
|
|
2419
2422
|
const text = wakeResponses.value[Math.floor(Math.random() * wakeResponses.value.length)];
|
|
@@ -2577,7 +2580,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2577
2580
|
}
|
|
2578
2581
|
});
|
|
2579
2582
|
|
|
2580
|
-
const voiceAssistant = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
2583
|
+
const voiceAssistant = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-177013f4"]]);
|
|
2581
2584
|
|
|
2582
2585
|
var clientCommandKey = /* @__PURE__ */ ((clientCommandKey2) => {
|
|
2583
2586
|
clientCommandKey2["SET_THEME"] = "SiMeAgent_setTheme";
|