@webitel/ui-sdk 26.4.26 → 26.4.28

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 (64) hide show
  1. package/dist/{index-C8vBiPd-.js → index-BUB6wl8w.js} +1 -1
  2. package/dist/{index-sCAVesRw.js → index-EoafBUDL.js} +1 -1
  3. package/dist/{install-BpbOHj_I.js → install-D0TPt9zQ.js} +35 -35
  4. package/dist/{isObject-DJCoqZvr.js → isObject-BynVw61R.js} +1 -1
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +1 -1
  7. package/dist/ui-sdk.umd.cjs +1 -1
  8. package/dist/{useVidstackSrc-DPEX6RRJ.js → useVidstackSrc-CbubIpP1.js} +1 -1
  9. package/dist/{vidstack-Bq6c3Bam-C8BarGxA.js → vidstack-Bq6c3Bam-D0WWjxdN.js} +3 -3
  10. package/dist/{vidstack-D2pY00kU-B_cafpYr.js → vidstack-D2pY00kU-QvkQ2lFr.js} +3 -3
  11. package/dist/{vidstack-DDXt6fpN-Dpiisxf7.js → vidstack-DDXt6fpN-CPzy5b_V.js} +2 -2
  12. package/dist/{vidstack-D_-9AA6_-DIHKUpGf.js → vidstack-D_-9AA6_-BYiwAtBi.js} +2 -2
  13. package/dist/{vidstack-DqAw8m9J-0WX0T-uC.js → vidstack-DqAw8m9J-Ca8LcLgO.js} +1 -1
  14. package/dist/{vidstack-audio-BCCWjePC.js → vidstack-audio-CocKeXmY.js} +2 -2
  15. package/dist/{vidstack-dash-B7M-SKgK.js → vidstack-dash-BziLhYJ7.js} +4 -4
  16. package/dist/{vidstack-google-cast-CdpMYQLE.js → vidstack-google-cast-Xqok9UgV.js} +4 -4
  17. package/dist/{vidstack-hls-Dv758_L_.js → vidstack-hls-DbYS5UFk.js} +4 -4
  18. package/dist/{vidstack-video-DvFDc21I.js → vidstack-video-CsIjRjH2.js} +3 -3
  19. package/dist/{vidstack-vimeo-DyiUIV8-.js → vidstack-vimeo-Ded3ezGD.js} +4 -4
  20. package/dist/{vidstack-youtube-BV-M7QMe.js → vidstack-youtube-641YhARQ.js} +3 -3
  21. package/dist/{wt-action-bar-DtCnV0QA.js → wt-action-bar-BDLcUdJ_.js} +1 -1
  22. package/dist/{wt-button-select-Bu3VECKn.js → wt-button-select-C7UDx5HH.js} +1 -1
  23. package/dist/{wt-chat-emoji-DqInk1GC.js → wt-chat-emoji-BzxwaGx1.js} +2 -2
  24. package/dist/{wt-confirm-dialog-D57F9q1J.js → wt-confirm-dialog-LpftOrMp.js} +1 -1
  25. package/dist/{wt-context-menu-D0jnJXad.js → wt-context-menu-DHZfLivj.js} +1 -1
  26. package/dist/{wt-copy-action-DDCSQ_2A.js → wt-copy-action-D0KKq-U5.js} +1 -1
  27. package/dist/{wt-datepicker-C4sRfJ0p.js → wt-datepicker-DHlyOKB_.js} +1 -1
  28. package/dist/{wt-display-chip-items-DJQPHg3Q.js → wt-display-chip-items-CBygZ1hQ.js} +1 -1
  29. package/dist/{wt-dual-panel-M4TS1dRc.js → wt-dual-panel-bPSIHlAw.js} +1 -1
  30. package/dist/{wt-dummy-BRRjf0iz.js → wt-dummy-BJfBSpV8.js} +1 -1
  31. package/dist/{wt-error-page-BD9BuJtX.js → wt-error-page-ThajnB1S.js} +1 -1
  32. package/dist/{wt-expansion-card-eSBcimM6.js → wt-expansion-card-BpkJkOED.js} +1 -1
  33. package/dist/{wt-expansion-panel-CknhgWwE.js → wt-expansion-panel-r7W_-5UO.js} +1 -1
  34. package/dist/{wt-filters-panel-wrapper-C9VLrrrp.js → wt-filters-panel-wrapper-CjAIWSxe.js} +1 -1
  35. package/dist/{wt-galleria-zKCtE388.js → wt-galleria-BmFth0Jj.js} +1 -1
  36. package/dist/{wt-navigation-menu-C0e1FmmX.js → wt-navigation-menu-BaTLZ4IL.js} +1 -1
  37. package/dist/{wt-notifications-bar-p6CI--c4.js → wt-notifications-bar-CVSwbbyl.js} +2 -2
  38. package/dist/{wt-pagination-DdSBUoj0.js → wt-pagination-BKkWC9V3.js} +1 -1
  39. package/dist/{wt-player-Covx2kWC.js → wt-player-DfDpu5hO.js} +2 -2
  40. package/dist/{wt-screen-recordings-action-D_LvQ56d.js → wt-screen-recordings-action-ChffrLqE.js} +1 -1
  41. package/dist/{wt-search-bar-CFUNZ9ie.js → wt-search-bar-CnyNigOv.js} +1 -1
  42. package/dist/{wt-selection-popup-BPB0_88a.js → wt-selection-popup-FqkZXpK3.js} +1 -1
  43. package/dist/{wt-start-page-6Gh-s00S.js → wt-start-page-De3bu5H1.js} +1 -1
  44. package/dist/{wt-status-select-jfvUfsMb.js → wt-status-select-CwiwFtir.js} +1 -1
  45. package/dist/{wt-stepper-BVp2iitY.js → wt-stepper-S7fzk4GZ.js} +1 -1
  46. package/dist/{wt-table-DX3441nG.js → wt-table-VAFzQOlB.js} +1 -1
  47. package/dist/{wt-table-actions-Ipj873-B.js → wt-table-actions-DDGzukQA.js} +1 -1
  48. package/dist/{wt-table-column-select-CSgLS3kw.js → wt-table-column-select-DJ6Yt9c5.js} +2 -2
  49. package/dist/{wt-tabs-BV1lJuJ5.js → wt-tabs-Cs3XClbT.js} +1 -1
  50. package/dist/{wt-tags-input-gwEFiCiV.js → wt-tags-input-DpQl-kx8.js} +2 -2
  51. package/dist/{wt-timepicker-C5P3BuaL.js → wt-timepicker-CBNuBP5x.js} +1 -1
  52. package/dist/{wt-tree-DfEqI8Is.js → wt-tree-DiXVAy6B.js} +2 -2
  53. package/dist/{wt-tree-table-CaTpgNb3.js → wt-tree-table-CtVZK4_Q.js} +1 -1
  54. package/dist/{wt-type-extension-value-input-DAD2xazl.js → wt-type-extension-value-input-DlkB-BZC.js} +2 -2
  55. package/dist/{wt-vidstack-player-BJN_iH6u.js → wt-vidstack-player-DqSRpLfT.js} +868 -850
  56. package/package.json +2 -2
  57. package/src/components/wt-vidstack-player/components/layouts/video-layout.vue +11 -2
  58. package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +8 -6
  59. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +4 -0
  60. package/src/modules/CallSession/modules/VideoCall/video-call.vue +11 -0
  61. package/types/components/wt-vidstack-player/components/layouts/video-layout.vue.d.ts +5 -3
  62. package/types/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue.d.ts +11 -1
  63. package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +6 -4
  64. package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +5 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.4.26",
3
+ "version": "26.4.28",
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",
@@ -125,7 +125,7 @@
125
125
  "@vue/tsconfig": "^0.8.1",
126
126
  "@vuelidate/core": "^2.0.3",
127
127
  "@vuelidate/validators": "^2.0.4",
128
- "@webitel/styleguide": "^26.2.0-1",
128
+ "@webitel/styleguide": "~26.2",
129
129
  "clipboard-copy": "^4.x",
130
130
  "csv-parse": "^6.1.0",
131
131
  "globals": "^16.0.0",
@@ -2,8 +2,17 @@
2
2
  <media-controls class="video-layout controls" :class="`video-layout--${size}`">
3
3
  <div class="video-display-panel-wrapper">
4
4
  <video-display-panel
5
- v-if="!props.hideVideoDisplayPanel" :title="props.title" :username="props.username"
6
- :closable="props.closable" :hide-expand="props.hideExpand" @close="emit('close-player')" />
5
+ v-if="!props.hideVideoDisplayPanel"
6
+ :title="props.title"
7
+ :username="props.username"
8
+ :closable="props.closable"
9
+ :hide-expand="props.hideExpand"
10
+ @close="emit('close-player')"
11
+ >
12
+ <template v-if="$slots['avatar']" #avatar>
13
+ <slot name="avatar" />
14
+ </template>
15
+ </video-display-panel>
7
16
  </div>
8
17
 
9
18
  <media-controls-group class="video-layout-content">
@@ -4,12 +4,14 @@
4
4
  class="video-display-panel controls-group"
5
5
  >
6
6
  <div class="video-display-panel__head">
7
- <wt-avatar
8
- v-if="props.username"
9
- :username="props.username"
10
- size="sm"
11
- class="video-display-panel__avatar"
12
- />
7
+ <slot name="avatar">
8
+ <wt-avatar
9
+ v-if="props.username"
10
+ :username="props.username"
11
+ size="sm"
12
+ class="video-display-panel__avatar"
13
+ />
14
+ </slot>
13
15
 
14
16
  <span class="video-display-panel__title">
15
17
  {{ props.title || props.username }}
@@ -32,6 +32,10 @@
32
32
  :username="props.username"
33
33
  @close-player="emit('close')"
34
34
  >
35
+ <template v-if="$slots['avatar']" #avatar>
36
+ <slot name="avatar" />
37
+ </template>
38
+
35
39
  <template #controls-panel>
36
40
  <slot :size="size" name="controls-panel" />
37
41
  </template>
@@ -12,6 +12,16 @@
12
12
  hide-background
13
13
  @change-size="(payload) => emit('change-size', payload)"
14
14
  >
15
+ <template v-if="props['receiver:mic:enabled'] === false || props.hideAvatar" #avatar>
16
+ <wt-icon
17
+ v-if="props['receiver:mic:enabled'] === false"
18
+ icon="mic-muted"
19
+ size="sm"
20
+ color="on-dark"
21
+ />
22
+ <div v-else style="display: none;" />
23
+ </template>
24
+
15
25
  <template #content="{ size: innerSize }">
16
26
  <slot :size="innerSize" name="content" />
17
27
 
@@ -173,6 +183,7 @@ const props = withDefaults(
173
183
  position?: 'left-bottom' | 'right-bottom' | 'center';
174
184
  size?: ComponentSize;
175
185
  hideVideoDisplayPanel?: boolean;
186
+ hideAvatar?: boolean;
176
187
  resizable?: boolean;
177
188
 
178
189
  actions: VideoCallAction[];
@@ -6,11 +6,13 @@ type __VLS_Props = {
6
6
  hideControlsPanel?: boolean;
7
7
  hideExpand?: boolean;
8
8
  };
9
- declare var __VLS_21: {}, __VLS_23: {};
9
+ declare var __VLS_17: {}, __VLS_25: {}, __VLS_27: {};
10
10
  type __VLS_Slots = {} & {
11
- content?: (props: typeof __VLS_21) => any;
11
+ avatar?: (props: typeof __VLS_17) => any;
12
12
  } & {
13
- 'controls-panel'?: (props: typeof __VLS_23) => any;
13
+ content?: (props: typeof __VLS_25) => any;
14
+ } & {
15
+ 'controls-panel'?: (props: typeof __VLS_27) => any;
14
16
  };
15
17
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
18
  "close-player": () => any;
@@ -4,10 +4,20 @@ type __VLS_Props = {
4
4
  closable?: boolean;
5
5
  hideExpand?: boolean;
6
6
  };
7
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ declare var __VLS_8: {};
8
+ type __VLS_Slots = {} & {
9
+ avatar?: (props: typeof __VLS_8) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
12
  close: () => any;
9
13
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
14
  onClose?: () => any;
11
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
17
  declare const _default: typeof __VLS_export;
13
18
  export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -20,15 +20,17 @@ interface Props {
20
20
  stretch?: boolean;
21
21
  videoObjectFit?: 'cover' | 'contain';
22
22
  }
23
- declare var __VLS_26: {
23
+ declare var __VLS_26: {}, __VLS_29: {
24
24
  size: ComponentSize;
25
- }, __VLS_29: {
25
+ }, __VLS_32: {
26
26
  size: ComponentSize;
27
27
  };
28
28
  type __VLS_Slots = {} & {
29
- 'controls-panel'?: (props: typeof __VLS_26) => any;
29
+ avatar?: (props: typeof __VLS_26) => any;
30
30
  } & {
31
- content?: (props: typeof __VLS_29) => any;
31
+ 'controls-panel'?: (props: typeof __VLS_29) => any;
32
+ } & {
33
+ content?: (props: typeof __VLS_32) => any;
32
34
  };
33
35
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
36
  close: () => any;
@@ -21,6 +21,7 @@ type __VLS_Props = {
21
21
  position?: 'left-bottom' | 'right-bottom' | 'center';
22
22
  size?: ComponentSize;
23
23
  hideVideoDisplayPanel?: boolean;
24
+ hideAvatar?: boolean;
24
25
  resizable?: boolean;
25
26
  actions: VideoCallAction[];
26
27
  username?: string;
@@ -28,15 +29,15 @@ type __VLS_Props = {
28
29
  'actions:settings:disabled'?: boolean;
29
30
  'actions:chat:pressed'?: boolean;
30
31
  };
31
- declare var __VLS_11: {
32
+ declare var __VLS_17: {
32
33
  size: ComponentSize;
33
- }, __VLS_13: {
34
+ }, __VLS_19: {
34
35
  size: ComponentSize;
35
36
  };
36
37
  type __VLS_Slots = {} & {
37
- content?: (props: typeof __VLS_11) => any;
38
+ content?: (props: typeof __VLS_17) => any;
38
39
  } & {
39
- overlay?: (props: typeof __VLS_13) => any;
40
+ overlay?: (props: typeof __VLS_19) => any;
40
41
  };
41
42
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
42
43
  "change-size": (size: ComponentSize) => any;