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