@adminforth/agent 1.43.1 → 1.43.2
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/build.log
CHANGED
|
@@ -58,5 +58,5 @@ custom/speech_recognition_frontend/voiceActivityDetection.ts
|
|
|
58
58
|
custom/speech_recognition_frontend/types/
|
|
59
59
|
custom/speech_recognition_frontend/types/voice-activity-detection.d.ts
|
|
60
60
|
|
|
61
|
-
sent 1,661,
|
|
62
|
-
total size is 1,657,
|
|
61
|
+
sent 1,661,185 bytes received 860 bytes 3,324,090.00 bytes/sec
|
|
62
|
+
total size is 1,657,269 speedup is 1.00
|
|
@@ -43,8 +43,10 @@ export const useAgentStore = defineStore('agent', () => {
|
|
|
43
43
|
const chatWidth = ref(DEFAULT_CHAT_WIDTH);
|
|
44
44
|
const availableModes = ref<AgentMode[]>([]);
|
|
45
45
|
const activeModeName = ref<string | null>(null);
|
|
46
|
-
const { width:
|
|
47
|
-
|
|
46
|
+
const { width: viewportWidth } = useWindowSize({
|
|
47
|
+
type: 'visual',
|
|
48
|
+
includeScrollbar: false,
|
|
49
|
+
});
|
|
48
50
|
const {
|
|
49
51
|
currentChat,
|
|
50
52
|
setCurrentChat,
|
|
@@ -131,7 +133,7 @@ export const useAgentStore = defineStore('agent', () => {
|
|
|
131
133
|
setCurrentChat,
|
|
132
134
|
});
|
|
133
135
|
|
|
134
|
-
watch(() =>
|
|
136
|
+
watch(() => viewportWidth.value, (newWidth) => {
|
|
135
137
|
if (isFullScreen.value) {
|
|
136
138
|
setChatWidth(newWidth, false);
|
|
137
139
|
}
|
|
@@ -43,8 +43,10 @@ export const useAgentStore = defineStore('agent', () => {
|
|
|
43
43
|
const chatWidth = ref(DEFAULT_CHAT_WIDTH);
|
|
44
44
|
const availableModes = ref<AgentMode[]>([]);
|
|
45
45
|
const activeModeName = ref<string | null>(null);
|
|
46
|
-
const { width:
|
|
47
|
-
|
|
46
|
+
const { width: viewportWidth } = useWindowSize({
|
|
47
|
+
type: 'visual',
|
|
48
|
+
includeScrollbar: false,
|
|
49
|
+
});
|
|
48
50
|
const {
|
|
49
51
|
currentChat,
|
|
50
52
|
setCurrentChat,
|
|
@@ -131,7 +133,7 @@ export const useAgentStore = defineStore('agent', () => {
|
|
|
131
133
|
setCurrentChat,
|
|
132
134
|
});
|
|
133
135
|
|
|
134
|
-
watch(() =>
|
|
136
|
+
watch(() => viewportWidth.value, (newWidth) => {
|
|
135
137
|
if (isFullScreen.value) {
|
|
136
138
|
setChatWidth(newWidth, false);
|
|
137
139
|
}
|