@webitel/ui-sdk 25.12.32 → 25.12.34

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.
Files changed (40) hide show
  1. package/dist/{install-DPTNK_y8.js → install-BcE6k8rT.js} +37582 -45395
  2. package/dist/{plyr-S_HQR9HD.js → plyr-BTvqopwW.js} +1 -1
  3. package/dist/ui-sdk.css +1 -1
  4. package/dist/ui-sdk.js +1 -1
  5. package/dist/ui-sdk.umd.cjs +1998 -1984
  6. package/dist/{vidstack-Bq6c3Bam-7dUj8HJJ.js → vidstack-Bq6c3Bam-DgwvLlaR.js} +2 -2
  7. package/dist/{vidstack-D2pY00kU-B4w_mKZl.js → vidstack-D2pY00kU-CwyxvBm3.js} +2 -2
  8. package/dist/{vidstack-DDXt6fpN-CDgv4Ulh.js → vidstack-DDXt6fpN-6NW4twdT.js} +1 -1
  9. package/dist/{vidstack-D_-9AA6_-CT5H9lb4.js → vidstack-D_-9AA6_-B8k9YaoC.js} +1 -1
  10. package/dist/{vidstack-DqAw8m9J-Un0fJP1z.js → vidstack-DqAw8m9J-C65sOce2.js} +1 -1
  11. package/dist/{vidstack-audio-CiqSEu9s.js → vidstack-audio-B3jq6Aux.js} +2 -2
  12. package/dist/{vidstack-dash-X_IrTs8m.js → vidstack-dash-M4qXMVfP.js} +3 -3
  13. package/dist/{vidstack-google-cast-DcYQ7uwa.js → vidstack-google-cast-LI8nTpD8.js} +3 -3
  14. package/dist/{vidstack-hls-2XBuX8OU.js → vidstack-hls-DXtsEV0o.js} +3 -3
  15. package/dist/{vidstack-video-BSFI-cVG.js → vidstack-video-CC4uGQGI.js} +2 -2
  16. package/dist/{vidstack-vimeo-DgfVtsI6.js → vidstack-vimeo-sx1ute6E.js} +3 -3
  17. package/dist/{vidstack-youtube-RFa4SZBA.js → vidstack-youtube-D3wycFIa.js} +2 -2
  18. package/dist/{vuex.esm-bundler-D3tAy2Z7.js → vuex.esm-bundler-DmMvBG9T.js} +1 -1
  19. package/package.json +2 -2
  20. package/src/components/wt-icon/_variables.scss +5 -0
  21. package/src/components/wt-vidstack-player/components/index.ts +1 -0
  22. package/src/components/wt-vidstack-player/components/layouts/video-layout.vue +5 -14
  23. package/src/components/wt-vidstack-player/components/panels/video-call-controls-panel/video-call-controls-panel.vue +2 -0
  24. package/src/components/wt-vidstack-player/components/screenshot-box/screenshot-box.vue +77 -0
  25. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +37 -20
  26. package/src/enums/ComponentSize/ComponentSize.ts +5 -0
  27. package/src/modules/CallSession/modules/VideoCall/enums/VideoCallAction.enum.ts +4 -1
  28. package/src/modules/CallSession/modules/VideoCall/video-call.vue +122 -46
  29. package/src/plugins/primevue/theme/extend/player/player.js +14 -0
  30. package/types/components/transitions/cases/wt-replace-transition.vue.d.ts +2 -2
  31. package/types/components/transitions/wt-transition.vue.d.ts +2 -2
  32. package/types/components/wt-vidstack-player/components/index.d.ts +1 -0
  33. package/types/components/wt-vidstack-player/components/layouts/video-layout.vue.d.ts +3 -3
  34. package/types/components/wt-vidstack-player/components/panels/video-call-controls-panel/video-call-controls-panel.vue.d.ts +1 -1
  35. package/types/components/wt-vidstack-player/components/screenshot-box/screenshot-box.vue.d.ts +13 -0
  36. package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +8 -5
  37. package/types/enums/ComponentSize/ComponentSize.d.ts +5 -0
  38. package/types/modules/CallSession/index.d.ts +1 -1
  39. package/types/modules/CallSession/modules/VideoCall/enums/VideoCallAction.enum.d.ts +2 -0
  40. package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +13 -18
@@ -1,49 +1,62 @@
1
1
  <template>
2
2
  <wt-vidstack-player
3
3
  :stream="mainStream"
4
- :static-position="props.position === 'static'"
4
+ :static="props.static"
5
+ :size="props.size"
6
+ :class="`video-call-position--${props.position}`"
5
7
  class="video-call"
8
+ hide-background
6
9
  autoplay
7
10
  muted
11
+ @change-size="(payload) => emit('change-size', payload)"
8
12
  >
9
- <template #content="{ size }">
13
+ <template #content="{ size: innerSize }">
10
14
  <div
11
- :class="`video-call-content--${size}`"
15
+ :class="`video-call-content--${innerSize}`"
12
16
  class="video-call-content"
13
17
  >
14
18
  <template v-if="!props['receiver:stream'] && !props['sender:video:enabled']">
15
19
  <div
16
- :class="`video-call-sender--${size}`"
20
+ :class="`video-call-sender--${innerSize}`"
17
21
  class="video-call-sender video-call-sender--muted"
18
22
  >
19
- <wt-icon :size="receiverVideoMutedIconSizes[size]" icon="video-cam-off--filled" />
23
+ <wt-icon :size="receiverVideoMutedIconSizes[innerSize]" icon="video-cam-off--filled" />
20
24
  </div>
21
25
  </template>
22
26
 
23
- <template v-if="!props['receiver:stream'] && !props['receiver:video:enabled']">
24
- <div
25
- :class="`video-call-receiver--${size}`"
26
- class="video-call-receiver video-call-receiver--muted"
27
- >
28
- <wt-icon :size="receiverVideoMutedIconSizes[size]" icon="video-cam-off--filled" />
29
- </div>
30
- </template>
31
-
32
- <template v-else-if="props['receiver:stream']">
33
- <wt-vidstack-player
34
- :stream="props['receiver:stream']"
35
- :resizable="false"
36
- :class="`video-call-receiver--${size}`"
37
- hide-display-panel
38
- static-position
39
- autoplay
40
- muted
41
- class="video-call-receiver"
27
+ <div class="video-call-content-wrapper">
28
+ <screenshot-box
29
+ :src="props['screenshot:src']"
30
+ :size="innerSize"
31
+ @zoom="emit(`action:${VideoCallAction.ZoomScreenshot}`)"
32
+ @close="emit(`action:${VideoCallAction.CloseScreenshot}`)"
42
33
  />
43
- </template>
34
+
35
+ <template v-if="!props['receiver:stream'] && !props['receiver:video:enabled']">
36
+ <div
37
+ :class="`video-call-receiver--${innerSize}`"
38
+ class="video-call-receiver video-call-receiver--muted"
39
+ >
40
+ <wt-icon :size="senderVideoMutedIconSizes[innerSize]" icon="video-cam-off--filled" />
41
+ </div>
42
+ </template>
43
+
44
+ <template v-else-if="props['receiver:stream']">
45
+ <wt-vidstack-player
46
+ :stream="props['receiver:stream']"
47
+ :resizable="false"
48
+ :class="`video-call-receiver--${innerSize}`"
49
+ hide-display-panel
50
+ static-position
51
+ autoplay
52
+ muted
53
+ class="video-call-receiver"
54
+ />
55
+ </template>
56
+ </div>
44
57
 
45
58
  <div
46
- :class="`video-call__indicator--${size}`"
59
+ :class="`video-call__indicator--${innerSize}`"
47
60
  class="video-call__indicator"
48
61
  >
49
62
  <recording-indicator
@@ -78,37 +91,46 @@
78
91
 
79
92
  <script setup lang="ts">
80
93
  import {WtVidstackPlayer} from '@webitel/ui-sdk/components';
81
- import {computed } from 'vue';
94
+ import {computed} from 'vue';
82
95
 
83
96
  import {WtIcon} from "../../../../components";
84
- import {RecordingIndicator, VideoCallControlsPanel} from "../../../../components/wt-vidstack-player/components";
97
+ import {
98
+ RecordingIndicator,
99
+ ScreenshotBox,
100
+ VideoCallControlsPanel
101
+ } from "../../../../components/wt-vidstack-player/components";
85
102
  import {ComponentSize} from "../../../../enums";
86
- import { ResultCallbacks } from '../../../../types';
103
+ import {ResultCallbacks} from '../../../../types';
87
104
  import {ScreenshotStatus} from '../../types';
88
- import { VideoCallAction } from './enums/VideoCallAction.enum';
105
+ import {VideoCallAction} from './enums/VideoCallAction.enum';
89
106
 
90
- const props = defineProps<{
107
+ const props = withDefaults(defineProps<{
91
108
  'sender:stream'?: MediaStream | null;
92
-
109
+
93
110
  'sender:mic:enabled'?: boolean;
94
111
  'sender:mic:accessed'?: boolean;
95
-
112
+
96
113
  'sender:video:enabled'?: boolean;
97
114
  'sender:video:accessed'?: boolean;
98
-
115
+
99
116
  'receiver:stream'?: MediaStream | null;
100
117
  'receiver:mic:enabled'?: boolean;
101
118
  'receiver:video:enabled'?: boolean;
102
-
119
+
103
120
  'screenshot:status'?: ScreenshotStatus | null;
104
121
  'screenshot:loading'?: boolean;
105
-
122
+ 'screenshot:src'?: string;
123
+
106
124
  recordings?: boolean;
107
125
 
108
- position?: 'static' | 'left' | 'right';
126
+ static?: boolean;
127
+ position?: 'left-bottom' | 'right-bottom';
128
+ size?: ComponentSize
109
129
 
110
130
  actions: VideoCallAction[];
111
- }>();
131
+ }>(), {
132
+ position: 'right-bottom',
133
+ });
112
134
 
113
135
  const emit = defineEmits<{
114
136
  (e: `action:${typeof VideoCallAction.Screenshot}`, payload?: unknown, options?: ResultCallbacks): void;
@@ -118,9 +140,11 @@ const emit = defineEmits<{
118
140
  (e: `action:${typeof VideoCallAction.Settings}`, payload?: unknown, options?: ResultCallbacks): void;
119
141
  (e: `action:${typeof VideoCallAction.Chat}`, payload?: unknown, options?: ResultCallbacks): void;
120
142
  (e: `action:${typeof VideoCallAction.Hangup}`, payload?: unknown, options?: ResultCallbacks): void;
143
+ (e: `action:${typeof VideoCallAction.ZoomScreenshot}`): void;
144
+ (e: `action:${typeof VideoCallAction.CloseScreenshot}`): void;
145
+ (e: `change-size`, size: ComponentSize): void;
121
146
  }>()
122
147
 
123
-
124
148
  const mainStream = computed(() => {
125
149
  if (!props['sender:video:enabled']) return null;
126
150
 
@@ -129,14 +153,54 @@ const mainStream = computed(() => {
129
153
 
130
154
  const receiverVideoMutedIconSizes = {
131
155
  [ComponentSize.SM]: ComponentSize.MD,
132
- [ComponentSize.SM]: ComponentSize.LG,
133
- [ComponentSize.SM]: ComponentSize.XXL,
156
+ [ComponentSize.MD]: ComponentSize.LG,
157
+ [ComponentSize.LG]: ComponentSize.XXL,
134
158
  }
135
159
 
160
+ const senderVideoMutedIconSizes = {
161
+ [ComponentSize.SM]: ComponentSize.MD,
162
+ [ComponentSize.MD]: ComponentSize['4XL'],
163
+ [ComponentSize.LG]: ComponentSize['8XL'],
164
+ }
136
165
  </script>
137
166
 
138
167
  <style lang="scss" scoped>
139
168
  .video-call {
169
+ &-position {
170
+ &--left-bottom {
171
+ &.wt-vidstack-player {
172
+ &--sm {
173
+ left: var(--spacing-sm);
174
+ bottom: var(--spacing-sm);
175
+ top: unset;
176
+ }
177
+ &--md {
178
+ top: unset;
179
+ left: var(--spacing-sm);
180
+ bottom: var(--spacing-sm);
181
+ max-width: var(--p-player-wrapper-md-width);
182
+ max-height: var(--p-player-wrapper-md-height);
183
+ }
184
+ }
185
+ }
186
+
187
+ &--right-bottom {
188
+ &.wt-vidstack-player {
189
+ &--sm {
190
+ top: unset;
191
+ right: var(--spacing-sm);
192
+ bottom: var(--spacing-sm);
193
+ }
194
+ &--md {
195
+ top: unset;
196
+ right: var(--spacing-sm);
197
+ bottom: var(--spacing-sm);
198
+ max-width: var(--p-player-wrapper-md-width);
199
+ max-height: var(--p-player-wrapper-md-height);
200
+ }
201
+ }
202
+ }
203
+ }
140
204
 
141
205
  &-content {
142
206
  height: 100%;
@@ -147,14 +211,20 @@ const receiverVideoMutedIconSizes = {
147
211
  position: absolute;
148
212
  left: 0;
149
213
  top: 0;
214
+ width: 100%;
150
215
 
151
216
  &--sm {
152
- position: relative;
217
+ padding-bottom: calc(var(--p-player-control-bar-sm-height) + var(--p-player-counter-position-padding-sm));
218
+ }
219
+
220
+ &-wrapper {
221
+ display: flex;
222
+ flex-direction: column;
223
+ gap: var(--p-player-control-bar-sm-gap);
153
224
  }
154
225
  }
155
226
 
156
227
  &-sender {
157
- background: var(--p-player-wrapper-background);
158
228
  position: absolute;
159
229
  left: 0;
160
230
  top: 0;
@@ -163,6 +233,13 @@ const receiverVideoMutedIconSizes = {
163
233
  display: flex;
164
234
  align-items: center;
165
235
  justify-content: center;
236
+ z-index: -1;
237
+
238
+ &--sm {
239
+ &.video-call-sender--muted {
240
+ padding-bottom: var(--p-player-control-bar-sm-height);
241
+ }
242
+ }
166
243
  }
167
244
 
168
245
  &-receiver {
@@ -174,6 +251,8 @@ const receiverVideoMutedIconSizes = {
174
251
  align-items: center;
175
252
  justify-content: center;
176
253
  overflow: hidden;
254
+ border: 1px solid;
255
+ border-color: var(--p-player-wrapper-border-color);
177
256
  }
178
257
 
179
258
  &--sm {
@@ -231,12 +310,9 @@ const receiverVideoMutedIconSizes = {
231
310
 
232
311
  &__indicator {
233
312
  position: absolute;
234
- width: 100%;
235
- height: 100%;
236
313
  display: flex;
237
314
  align-items: end;
238
315
  justify-content: flex-end;
239
- padding: var(--p-player-counter-position-padding-sm);
240
316
 
241
317
  &--sm {
242
318
  position: relative;
@@ -8,6 +8,20 @@ const generateCustomSharingPanelSizeCss = ({ size, dt }) => `
8
8
  border-radius: ${dt(`player-control-bar-${size}-border-radius`)};
9
9
  padding: ${dt(`player-control-bar-${size}-padding`)};
10
10
  }
11
+
12
+ .screenshot-box--${size} {
13
+ width: ${dt(`player-screenshot-${size}-width`)};
14
+ height: ${dt(`player-screenshot-${size}-height`)};
15
+ }
16
+
17
+ .screenshot-box .preview-img--${size} {
18
+ border-radius: ${dt(`player-screenshot-${size}-border-radius`)};
19
+ }
20
+
21
+ .screenshot-box--${size} .close-btn {
22
+ top: ${dt(`player-screenshot-${size}-close-btn-gap`)};
23
+ right: ${dt(`player-screenshot-${size}-close-btn-gap`)};
24
+ }
11
25
  `;
12
26
 
13
27
  const playerCss = ({ dt }) => `
@@ -6,13 +6,13 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
7
  pattern: string;
8
8
  mode: string;
9
- appear: boolean;
10
9
  duration: string;
10
+ appear: boolean;
11
11
  $props: {
12
12
  readonly pattern?: string;
13
13
  readonly mode?: string;
14
- readonly appear?: boolean;
15
14
  readonly duration?: string;
15
+ readonly appear?: boolean;
16
16
  };
17
17
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
18
  type __VLS_Slots = {
@@ -6,13 +6,13 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
7
  name: string;
8
8
  mode: string;
9
- appear: boolean;
10
9
  duration: string;
10
+ appear: boolean;
11
11
  $props: {
12
12
  readonly name?: string;
13
13
  readonly mode?: string;
14
- readonly appear?: boolean;
15
14
  readonly duration?: string;
15
+ readonly appear?: boolean;
16
16
  };
17
17
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
18
  type __VLS_Slots = {
@@ -4,3 +4,4 @@ export { default as MediaControlsPanel } from './panels/media-controls-panel/med
4
4
  export { default as ScreenSharingControlsPanel } from './panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue';
5
5
  export { default as VideoCallControlsPanel } from './panels/video-call-controls-panel/video-call-controls-panel.vue';
6
6
  export { default as RecordingIndicator } from './recording-indicator/recording-indicator.vue';
7
+ export { default as ScreenshotBox } from './screenshot-box/screenshot-box.vue';
@@ -4,11 +4,11 @@ type __VLS_Props = {
4
4
  closable?: boolean;
5
5
  hideDisplayPanel?: boolean;
6
6
  };
7
- declare var __VLS_16: {}, __VLS_18: {};
7
+ declare var __VLS_17: {}, __VLS_19: {};
8
8
  type __VLS_Slots = {} & {
9
- content?: (props: typeof __VLS_16) => any;
9
+ content?: (props: typeof __VLS_17) => any;
10
10
  } & {
11
- 'controls-panel'?: (props: typeof __VLS_18) => any;
11
+ 'controls-panel'?: (props: typeof __VLS_19) => any;
12
12
  };
13
13
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  "close-player": () => any;
@@ -1,5 +1,5 @@
1
- import { ScreenshotStatus } from '../../../../../modules/CallSession/types';
2
1
  import { VideoCallAction } from '../../../../../modules/CallSession/modules/VideoCall/enums/VideoCallAction.enum';
2
+ import { ScreenshotStatus } from '../../../../../modules/CallSession/types';
3
3
  import { ResultCallbacks } from '../../../../../types';
4
4
  type __VLS_Props = {
5
5
  'actions': VideoCallAction[];
@@ -0,0 +1,13 @@
1
+ import { ComponentSize } from "../../../../enums";
2
+ type __VLS_Props = {
3
+ src?: string;
4
+ size: ComponentSize;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ close: () => any;
8
+ zoom: () => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onClose?: () => any;
11
+ onZoom?: () => any;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -13,15 +13,16 @@ interface Props {
13
13
  username?: string;
14
14
  closable?: boolean;
15
15
  resizable?: boolean;
16
- staticPosition?: boolean;
16
+ static?: boolean;
17
17
  stream?: MediaStream;
18
- componentSize?: keyof typeof ComponentSize;
18
+ size?: ComponentSize;
19
19
  hideDisplayPanel?: boolean;
20
+ hideBackground?: boolean;
20
21
  }
21
22
  declare var __VLS_24: {
22
- size: "sm" | "XXXS" | "XXS" | "XS" | "SM" | "MD" | "LG" | "XL" | "XXL" | "XXXL";
23
+ size: ComponentSize;
23
24
  }, __VLS_26: {
24
- size: "sm" | "XXXS" | "XXS" | "XS" | "SM" | "MD" | "LG" | "XL" | "XXL" | "XXXL";
25
+ size: ComponentSize;
25
26
  };
26
27
  type __VLS_Slots = {} & {
27
28
  'controls-panel'?: (props: typeof __VLS_24) => any;
@@ -30,8 +31,10 @@ type __VLS_Slots = {} & {
30
31
  };
31
32
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
33
  close: () => any;
34
+ "change-size": (args_0: ComponentSize) => any;
33
35
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
34
36
  onClose?: () => any;
37
+ "onChange-size"?: (args_0: ComponentSize) => any;
35
38
  }>, {
36
39
  title: string;
37
40
  username: string;
@@ -40,7 +43,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
40
43
  closable: boolean;
41
44
  muted: boolean;
42
45
  resizable: boolean;
43
- staticPosition: boolean;
46
+ static: boolean;
44
47
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
45
48
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
46
49
  export default _default;
@@ -8,5 +8,10 @@ export declare const ComponentSize: {
8
8
  readonly XL: "xl";
9
9
  readonly XXL: "2xl";
10
10
  readonly XXXL: "3xl";
11
+ readonly '4XL': "4xl";
12
+ readonly '5XL': "5xl";
13
+ readonly '6XL': "6xl";
14
+ readonly '7XL': "7xl";
15
+ readonly '8XL': "8xl";
11
16
  };
12
17
  export type ComponentSize = (typeof ComponentSize)[keyof typeof ComponentSize];
@@ -1,3 +1,3 @@
1
1
  export { default as ScreenSharing } from './modules/ScreenSharing/screen-sharing.vue';
2
- export { default as VideoCall } from './modules/VideoCall/video-call.vue';
3
2
  export { VideoCallAction } from './modules/VideoCall/enums/VideoCallAction.enum';
3
+ export { default as VideoCall } from './modules/VideoCall/video-call.vue';
@@ -6,5 +6,7 @@ export declare const VideoCallAction: {
6
6
  readonly Settings: "settings";
7
7
  readonly Chat: "chat";
8
8
  readonly Hangup: "hangup";
9
+ readonly ZoomScreenshot: "zoom-screenshot";
10
+ readonly CloseScreenshot: "close-screenshot";
9
11
  };
10
12
  export type VideoCallAction = (typeof VideoCallAction)[keyof typeof VideoCallAction];
@@ -1,5 +1,5 @@
1
+ import { ComponentSize } from "../../../../enums";
1
2
  import { ScreenshotStatus } from '../../types';
2
- import { ResultCallbacks } from '../../../../types';
3
3
  import { VideoCallAction } from './enums/VideoCallAction.enum';
4
4
  type __VLS_Props = {
5
5
  'sender:stream'?: MediaStream | null;
@@ -12,25 +12,20 @@ type __VLS_Props = {
12
12
  'receiver:video:enabled'?: boolean;
13
13
  'screenshot:status'?: ScreenshotStatus | null;
14
14
  'screenshot:loading'?: boolean;
15
+ 'screenshot:src'?: string;
15
16
  recordings?: boolean;
16
- position?: 'static' | 'left' | 'right';
17
+ static?: boolean;
18
+ position?: 'left-bottom' | 'right-bottom';
19
+ size?: ComponentSize;
17
20
  actions: VideoCallAction[];
18
21
  };
19
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
- "action:screenshot": (payload?: unknown, options?: ResultCallbacks) => any;
21
- "action:recordings": (payload?: unknown, options?: ResultCallbacks) => any;
22
- "action:mic": (payload?: unknown, options?: ResultCallbacks) => any;
23
- "action:video": (payload?: unknown, options?: ResultCallbacks) => any;
24
- "action:settings": (payload?: unknown, options?: ResultCallbacks) => any;
25
- "action:chat": (payload?: unknown, options?: ResultCallbacks) => any;
26
- "action:hangup": (payload?: unknown, options?: ResultCallbacks) => any;
22
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ [x: string]: any;
24
+ } & {
25
+ [x: string]: any;
27
26
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
28
- "onAction:screenshot"?: (payload?: unknown, options?: ResultCallbacks) => any;
29
- "onAction:recordings"?: (payload?: unknown, options?: ResultCallbacks) => any;
30
- "onAction:mic"?: (payload?: unknown, options?: ResultCallbacks) => any;
31
- "onAction:video"?: (payload?: unknown, options?: ResultCallbacks) => any;
32
- "onAction:settings"?: (payload?: unknown, options?: ResultCallbacks) => any;
33
- "onAction:chat"?: (payload?: unknown, options?: ResultCallbacks) => any;
34
- "onAction:hangup"?: (payload?: unknown, options?: ResultCallbacks) => any;
35
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ [x: `on${Capitalize<any>}`]: (...args: any) => any;
28
+ }>, {
29
+ position: "left-bottom" | "right-bottom";
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
31
  export default _default;