@webitel/ui-sdk 26.8.92 → 26.8.94

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.
@@ -1,4 +1,4 @@
1
- import "./components-BcZ0B_G9.js";
1
+ import "./components-DuzJmfos.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as t } from "./enums-B_9ZBu01.js";
4
4
  import { t as n } from "./wt-button-BwPz__rU.js";
@@ -1,4 +1,4 @@
1
- import { C as e, i as t } from "./components-BcZ0B_G9.js";
1
+ import { C as e, i as t } from "./components-DuzJmfos.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { s as r } from "./utils-DReAiJBV.js";
4
4
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
@@ -1,5 +1,5 @@
1
- import { n as e, r as t } from "./clients-QE08VKJu.js";
2
- import { n } from "./components-BcZ0B_G9.js";
1
+ import { n as e, r as t } from "./clients-Pw9u3exJ.js";
2
+ import { n } from "./components-DuzJmfos.js";
3
3
  import { t as r } from "./vue-i18n-B88GcHzn.js";
4
4
  import { n as i } from "./useEventBus-B-ZeklLu.js";
5
5
  import { createBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./clients-QE08VKJu.js";
2
- import { a as t, o as n, r, s as i } from "./components-BcZ0B_G9.js";
1
+ import { t as e } from "./clients-Pw9u3exJ.js";
2
+ import { a as t, o as n, r, s as i } from "./components-DuzJmfos.js";
3
3
  import { t as a } from "./enums-B_9ZBu01.js";
4
4
  import { t as o } from "./vue-i18n-B88GcHzn.js";
5
5
  import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
@@ -1,4 +1,4 @@
1
- import { D as e } from "./components-BcZ0B_G9.js";
1
+ import { D as e } from "./components-DuzJmfos.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as n } from "./enums-B_9ZBu01.js";
4
4
  import "./wt-button-BwPz__rU.js";
@@ -7602,6 +7602,6 @@ var Vo = () => {
7602
7602
  "countdown-time-mode"
7603
7603
  ])], 40, as)], 2));
7604
7604
  }
7605
- }), [["__scopeId", "data-v-0da483f5"]]);
7605
+ }), [["__scopeId", "data-v-61c739c8"]]);
7606
7606
  //#endregion
7607
7607
  export { os as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.8.92",
3
+ "version": "26.8.94",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -347,7 +347,7 @@ const onProviderChange = (event: MediaProviderChangeEvent) => {
347
347
  .wt-vidstack-player--lg .wt-vidstack-player__player {
348
348
  display: flex;
349
349
  align-items: center;
350
- min-height: 100%;
350
+ height: 100%;
351
351
  }
352
352
 
353
353
  .wt-vidstack-player--lg .wt-vidstack-player__provider {
@@ -70,7 +70,7 @@
70
70
  <wt-icon-action
71
71
  action="download"
72
72
  :disabled="isDownloadDisabled(item)"
73
- @click="downloadPdf(item.fileId)"
73
+ @click="downloadPdf(item.fileId, item.name)"
74
74
  />
75
75
  <wt-icon-action
76
76
  action="delete"
@@ -288,8 +288,8 @@ const handleDelete = async (items: WebitelMediaExporterExportRecord[]) => {
288
288
  }
289
289
  };
290
290
 
291
- const downloadPdf = async (id: string) => {
292
- await downloadFile(id);
291
+ const downloadPdf = async (id: string, name?: string) => {
292
+ await downloadFile(id, name);
293
293
  };
294
294
 
295
295
  const isDownloadingArchive = ref(false);
@@ -11,7 +11,7 @@
11
11
  :static="isPiP || props.static"
12
12
  :username="props.username"
13
13
  :hide-controls-panel="props.hideControlsPanel"
14
- :mirror-video="!showSenderScreen"
14
+ :mirror-video="!showSenderScreen && props['sender:mirror']"
15
15
  :video-object-fit="props.videoObjectFit"
16
16
  autoplay
17
17
  class="video-call"
@@ -115,11 +115,11 @@
115
115
  :class="`video-call-sender--${innerSize}`"
116
116
  :style="pipContentSizeStyle"
117
117
  :stream="props['sender:stream'] ?? undefined"
118
+ :mirror-video="props['sender:mirror']"
118
119
  autoplay
119
120
  class="video-call-sender"
120
121
  hide-controls-panel
121
122
  hide-video-display-panel
122
- mirror-video
123
123
  static
124
124
  />
125
125
  </template>
@@ -192,6 +192,7 @@ const props = withDefaults(
192
192
 
193
193
  'sender:video:enabled'?: boolean;
194
194
  'sender:video:accessed'?: boolean;
195
+ 'sender:mirror'?: boolean;
195
196
 
196
197
  'receiver:stream'?: MediaStream | null;
197
198
  'receiver:mic:enabled'?: boolean;
@@ -228,6 +229,7 @@ const props = withDefaults(
228
229
  }>(),
229
230
  {
230
231
  position: 'right-bottom',
232
+ 'sender:mirror': true,
231
233
  },
232
234
  );
233
235