@webitel/ui-sdk 26.2.35 → 26.2.36
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.2.
|
|
3
|
+
"version": "26.2.36",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run biome:format:all || true) && npm run publish-lib",
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
:actions:settings:pressed="props['actions:settings:pressed']"
|
|
86
86
|
:actions:settings:disabled="props['actions:settings:disabled']"
|
|
87
87
|
:actions:chat:pressed="props['actions:chat:pressed']"
|
|
88
|
-
@[VideoCallAction.
|
|
89
|
-
@[VideoCallAction.
|
|
90
|
-
@[VideoCallAction.Mic]="(payload, options) => emit(
|
|
91
|
-
@[VideoCallAction.Video]="(payload, options) => emit(
|
|
92
|
-
@[VideoCallAction.Settings]="(payload, options) => emit(
|
|
93
|
-
@[VideoCallAction.Chat]="(payload, options) => emit(
|
|
94
|
-
@[VideoCallAction.Hangup]="(payload, options) => emit(
|
|
88
|
+
@[VideoCallAction.Recordings]="(payload, options) => emit(emitKeys[VideoCallAction.Recordings], payload, options)"
|
|
89
|
+
@[VideoCallAction.Screenshot]="(payload, options) => emit(emitKeys[VideoCallAction.Screenshot], payload, options)"
|
|
90
|
+
@[VideoCallAction.Mic]="(payload, options) => emit(emitKeys[VideoCallAction.Mic], payload, options)"
|
|
91
|
+
@[VideoCallAction.Video]="(payload, options) => emit(emitKeys[VideoCallAction.Video], payload, options)"
|
|
92
|
+
@[VideoCallAction.Settings]="(payload, options) => emit(emitKeys[VideoCallAction.Settings], payload, options)"
|
|
93
|
+
@[VideoCallAction.Chat]="(payload, options) => emit(emitKeys[VideoCallAction.Chat], payload, options)"
|
|
94
|
+
@[VideoCallAction.Hangup]="(payload, options) => emit(emitKeys[VideoCallAction.Hangup], payload, options)"
|
|
95
95
|
/>
|
|
96
96
|
</template>
|
|
97
97
|
</wt-vidstack-player>
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
import { ComponentSize, WebitelApplications } from '../../../../enums';
|
|
112
112
|
import type { ResultCallbacks } from '../../../../types';
|
|
113
113
|
import type { ScreenshotStatus } from '../../types';
|
|
114
|
-
import
|
|
114
|
+
import { VideoCallAction } from './enums/VideoCallAction.enum';
|
|
115
115
|
|
|
116
116
|
const props = withDefaults(
|
|
117
117
|
defineProps<{
|
|
@@ -192,6 +192,19 @@ const emit = defineEmits<{
|
|
|
192
192
|
(e: `change-size`, size: ComponentSize): void;
|
|
193
193
|
}>();
|
|
194
194
|
|
|
195
|
+
/**
|
|
196
|
+
* dont remove, coz biome reformats VideoCallAction import to "type"
|
|
197
|
+
*/
|
|
198
|
+
const emitKeys = {
|
|
199
|
+
[VideoCallAction.Screenshot]: `action:${VideoCallAction.Screenshot}`,
|
|
200
|
+
[VideoCallAction.Recordings]: `action:${VideoCallAction.Recordings}`,
|
|
201
|
+
[VideoCallAction.Mic]: `action:${VideoCallAction.Mic}`,
|
|
202
|
+
[VideoCallAction.Video]: `action:${VideoCallAction.Video}`,
|
|
203
|
+
[VideoCallAction.Settings]: `action:${VideoCallAction.Settings}`,
|
|
204
|
+
[VideoCallAction.Chat]: `action:${VideoCallAction.Chat}`,
|
|
205
|
+
[VideoCallAction.Hangup]: `action:${VideoCallAction.Hangup}`,
|
|
206
|
+
};
|
|
207
|
+
|
|
195
208
|
const { t } = useI18n();
|
|
196
209
|
|
|
197
210
|
const mainStream = computed(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSize } from '../../../../enums';
|
|
2
2
|
import type { ResultCallbacks } from '../../../../types';
|
|
3
3
|
import type { ScreenshotStatus } from '../../types';
|
|
4
|
-
import
|
|
4
|
+
import { VideoCallAction } from './enums/VideoCallAction.enum';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
'sender:stream'?: MediaStream | null;
|
|
7
7
|
'sender:mic:enabled'?: boolean;
|