@webitel/ui-sdk 26.2.0-1 → 26.2.1
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/dist/{install-B9M-ZqxA.js → install-CR1tqjbI.js} +21381 -21549
- package/dist/plyr-CCqBk_Ws.js +4350 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +887 -900
- package/dist/{vidstack-Bq6c3Bam-uJBwzXIY.js → vidstack-Bq6c3Bam-Ciw5smVK.js} +17 -17
- package/dist/{vidstack-D2pY00kU-CCxj_LQ0.js → vidstack-D2pY00kU-CblVikX8.js} +22 -22
- package/dist/{vidstack-DDXt6fpN-ssZsNWDK.js → vidstack-DDXt6fpN-9cqZjdCr.js} +4 -4
- package/dist/{vidstack-D_-9AA6_-IdSwTpOc.js → vidstack-D_-9AA6_-OiYY16FN.js} +1 -1
- package/dist/vidstack-DqAw8m9J-BpJcIzi9.js +29 -0
- package/dist/{vidstack-audio-B7dtm36k.js → vidstack-audio-CClosnpR.js} +2 -2
- package/dist/{vidstack-dash-CYEsxTxk.js → vidstack-dash-DkOucJZw.js} +3 -3
- package/dist/{vidstack-google-cast-BxXxUoUz.js → vidstack-google-cast-mZiNbn2A.js} +10 -10
- package/dist/{vidstack-hls-DqolxsWc.js → vidstack-hls-BFg8H2vB.js} +11 -11
- package/dist/{vidstack-video-c7YjrOuW.js → vidstack-video-DRdA55iP.js} +8 -8
- package/dist/{vidstack-vimeo-DQlaaskX.js → vidstack-vimeo-DZBPf6Zy.js} +22 -22
- package/dist/{vidstack-youtube-B7fNaTqG.js → vidstack-youtube-DmUBC9f5.js} +29 -29
- package/dist/{vuex.esm-bundler-BmZywXo-.js → vuex.esm-bundler-DYz2ZWHQ.js} +1 -1
- package/package.json +47 -67
- package/src/components/wt-vidstack-player/wt-vidstack-player.vue +1 -17
- package/src/modules/CallSession/modules/VideoCall/video-call.vue +0 -2
- package/types/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue.d.ts +7 -32
- package/types/components/on-demand/wt-chat-emoji/wt-chat-emoji.vue.d.ts +7 -18
- package/types/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue.d.ts +6 -7
- package/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue.d.ts +9 -34
- package/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue.d.ts +6 -14
- package/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +8 -30
- package/types/components/on-demand/wt-route-transition/wt-route-transition.vue.d.ts +2 -3
- package/types/components/on-demand/wt-save-failed-popup/wt-save-failed-popup.vue.d.ts +2 -3
- package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +11 -52
- package/types/components/on-demand/wt-start-page/components/start-page-card.vue.d.ts +6 -12
- package/types/components/on-demand/wt-start-page/components/start-page-logo.vue.d.ts +6 -12
- package/types/components/on-demand/wt-start-page/components/wt-start-page.vue.d.ts +1 -2
- package/types/components/on-demand/wt-table-transition/wt-table-transition.vue.d.ts +2 -3
- package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +11 -13
- package/types/components/transitions/cases/wt-replace-transition.vue.d.ts +9 -40
- package/types/components/transitions/wt-expand-transition.vue.d.ts +2 -3
- package/types/components/transitions/wt-transition.vue.d.ts +9 -38
- package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +12 -76
- package/types/components/wt-app-header/wt-app-header.vue.d.ts +2 -3
- package/types/components/wt-app-header/wt-app-navigator.vue.d.ts +9 -28
- package/types/components/wt-app-header/wt-header-actions.vue.d.ts +2 -3
- package/types/components/wt-avatar/wt-avatar.vue.d.ts +13 -72
- package/types/components/wt-badge/wt-badge.vue.d.ts +2 -3
- package/types/components/wt-badge-new/wt-badge.vue.d.ts +4 -5
- package/types/components/wt-breadcrumb/wt-breadcrumb.vue.d.ts +1 -2
- package/types/components/wt-button/wt-button.vue.d.ts +6 -7
- package/types/components/wt-button-select/wt-button-select.vue.d.ts +10 -50
- package/types/components/wt-checkbox/wt-checkbox.vue.d.ts +5 -7
- package/types/components/wt-chip/wt-chip.vue.d.ts +4 -5
- package/types/components/wt-confirm-dialog/wt-confirm-dialog.vue.d.ts +12 -44
- package/types/components/wt-context-menu/wt-context-menu.vue.d.ts +17 -80
- package/types/components/wt-copy-action/wt-copy-action.vue.d.ts +2 -3
- package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +21 -119
- package/types/components/wt-divider/wt-divider.vue.d.ts +1 -2
- package/types/components/wt-dual-panel/wt-dual-panel.vue.d.ts +9 -34
- package/types/components/wt-dummy/wt-dummy.vue.d.ts +16 -60
- package/types/components/wt-empty/wt-empty.vue.d.ts +16 -132
- package/types/components/wt-error-page/wt-error-page.vue.d.ts +2 -3
- package/types/components/wt-expansion-panel/wt-expansion-panel.vue.d.ts +8 -28
- package/types/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue.d.ts +2 -3
- package/types/components/wt-galleria/wt-galleria.vue.d.ts +2 -4
- package/types/components/wt-headline/wt-headline.vue.d.ts +1 -2
- package/types/components/wt-hint/wt-hint.vue.d.ts +2 -3
- package/types/components/wt-icon/wt-icon.vue.d.ts +1 -2
- package/types/components/wt-icon-action/wt-icon-action.vue.d.ts +10 -46
- package/types/components/wt-icon-btn/wt-icon-btn.vue.d.ts +1 -2
- package/types/components/wt-image/wt-image.vue.d.ts +2 -3
- package/types/components/wt-indicator/wt-indicator.vue.d.ts +2 -3
- package/types/components/wt-input/wt-input.vue.d.ts +8 -9
- package/types/components/wt-input-info/wt-input-info.vue.d.ts +2 -3
- package/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +1 -2
- package/types/components/wt-item-link/wt-item-link.vue.d.ts +13 -82
- package/types/components/wt-label/wt-label.vue.d.ts +2 -3
- package/types/components/wt-load-bar/wt-load-bar.vue.d.ts +2 -3
- package/types/components/wt-loader/_internals/wt-brand-loader.vue.d.ts +1 -2
- package/types/components/wt-loader/_internals/wt-spinner-loader.vue.d.ts +2 -3
- package/types/components/wt-loader/wt-loader.vue.d.ts +2 -3
- package/types/components/wt-logo/wt-logo.vue.d.ts +9 -38
- package/types/components/wt-menubar/wt-menubar.vue.d.ts +3 -3
- package/types/components/wt-navigation-bar/wt-navigation-bar.vue.d.ts +2 -3
- package/types/components/wt-notification/wt-notification.vue.d.ts +2 -3
- package/types/components/wt-notifications-bar/wt-notifications-bar.vue.d.ts +2 -3
- package/types/components/wt-page-header/wt-page-header.vue.d.ts +17 -62
- package/types/components/wt-page-wrapper/wt-page-wrapper.vue.d.ts +2 -3
- package/types/components/wt-pagination/wt-pagination.vue.d.ts +2 -3
- package/types/components/wt-player/wt-player.vue.d.ts +3 -4
- package/types/components/wt-popover/wt-popover.vue.d.ts +4 -5
- package/types/components/wt-popup/wt-popup.vue.d.ts +3 -4
- package/types/components/wt-progress-bar/wt-progress-bar.vue.d.ts +2 -3
- package/types/components/wt-radio/wt-radio.vue.d.ts +5 -7
- package/types/components/wt-rounded-action/wt-rounded-action.vue.d.ts +18 -112
- package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +6 -7
- package/types/components/wt-select/wt-select-v2.vue.d.ts +15 -72
- package/types/components/wt-select/wt-select.vue.d.ts +2 -3
- package/types/components/wt-slider/wt-slider.vue.d.ts +2 -4
- package/types/components/wt-status-select/wt-status-select.vue.d.ts +2 -3
- package/types/components/wt-stepper/wt-stepper.vue.d.ts +8 -20
- package/types/components/wt-switcher/wt-switcher.vue.d.ts +5 -7
- package/types/components/wt-table/wt-table.vue.d.ts +16 -17
- package/types/components/wt-table-actions/wt-table-actions.vue.d.ts +2 -3
- package/types/components/wt-table-column-select/wt-table-column-select.vue.d.ts +2 -3
- package/types/components/wt-tabs/wt-tabs.vue.d.ts +2 -3
- package/types/components/wt-tags-input/wt-tags-input.vue.d.ts +2 -3
- package/types/components/wt-textarea/wt-textarea.vue.d.ts +6 -8
- package/types/components/wt-time-input/wt-time-input.vue.d.ts +2 -3
- package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +3 -4
- package/types/components/wt-tooltip/_internals/wt-tooltip-floating.vue.d.ts +7 -20
- package/types/components/wt-tooltip/wt-tooltip.vue.d.ts +13 -66
- package/types/components/wt-tree/wt-tree.vue.d.ts +4 -5
- package/types/components/wt-tree-line/wt-tree-line.vue.d.ts +6 -7
- package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +7 -8
- package/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +5 -6
- package/types/components/wt-vidstack-player/components/buttons/fullscreen-button.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/buttons/play-button.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/controls-group/controls-group.vue.d.ts +4 -5
- package/types/components/wt-vidstack-player/components/layouts/video-layout.vue.d.ts +5 -6
- package/types/components/wt-vidstack-player/components/panels/media-controls-panel/components/buttons/fullscreen-button.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/panels/media-controls-panel/components/buttons/play-button.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/panels/media-controls-panel/components/sliders/time-slider.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/panels/media-controls-panel/components/time-group.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/panels/media-controls-panel/media-controls-panel.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/panels/video-call-controls-panel/video-call-controls-panel.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/recording-indicator/recording-indicator.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/screenshot-box/screenshot-box.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/components/toggle-button.vue.d.ts +1 -2
- package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +6 -9
- package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +2 -3
- package/types/modules/AgentPdfs/components/pdf-status-preview.vue.d.ts +1 -2
- package/types/modules/AgentPdfs/components/pdf-status.vue.d.ts +1 -2
- package/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +7 -20
- package/types/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue.d.ts +7 -16
- package/types/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue.d.ts +10 -32
- package/types/modules/Appearance/components/wt-dark-mode-switcher.vue.d.ts +7 -18
- package/types/modules/AuditForm/components/audit-form-question-read-wrapper.vue.d.ts +2 -4
- package/types/modules/AuditForm/components/audit-form-question-write-wrapper.vue.d.ts +1 -2
- package/types/modules/AuditForm/components/audit-form-question.vue.d.ts +2 -4
- package/types/modules/AuditForm/components/audit-form.vue.d.ts +2 -4
- package/types/modules/AuditForm/components/form/form-footer/audit-form-footer.vue.d.ts +1 -2
- package/types/modules/AuditForm/components/form-answers/answer-editing-info/audit-form-answer-editing-info.vue.d.ts +1 -2
- package/types/modules/AuditForm/components/form-questions/options/audit-form-question-options-write-row.vue.d.ts +9 -28
- package/types/modules/AuditForm/components/form-questions/options/audit-form-question-options.vue.d.ts +2 -4
- package/types/modules/AuditForm/components/form-questions/score/audit-form-question-score.vue.d.ts +1 -2
- package/types/modules/CallSession/modules/ScreenSharing/screen-sharing.vue.d.ts +1 -2
- package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +10 -28
- package/types/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue.d.ts +9 -24
- package/types/modules/FilesExport/FilesExport.d.ts +3 -1
- package/types/modules/Filters/components/filter-datetime.vue.d.ts +8 -20
- package/types/modules/Filters/components/filter-pagination.vue.d.ts +8 -22
- package/types/modules/Filters/components/filter-search.vue.d.ts +10 -38
- package/types/modules/Filters/components/filter-select.vue.d.ts +8 -20
- package/types/modules/Filters/components/filter-table-fields.vue.d.ts +11 -34
- package/types/modules/ObjectPermissions/_internals/components/permissions-role-row.vue.d.ts +6 -12
- package/types/modules/ObjectPermissions/_internals/components/permissions-role-select.vue.d.ts +1 -9
- package/types/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue.d.ts +6 -12
- package/types/modules/ObjectPermissions/components/permissions-tab.vue.d.ts +8 -44
- package/types/modules/QueryFilters/components/abstract-api-filter.vue.d.ts +2 -3
- package/types/modules/QueryFilters/components/abstract-enum-filter.vue.d.ts +2 -3
- package/types/modules/QueryFilters/components/filter-datetime.vue.d.ts +2 -3
- package/types/modules/QueryFilters/components/filter-from-to.vue.d.ts +2 -3
- package/types/modules/QueryFilters/components/filter-search.vue.d.ts +2 -3
- package/types/modules/QueryFilters/components/filter-table-fields.vue.d.ts +2 -3
- package/types/playground.vue.d.ts +1 -2
- package/types/scripts/caseConverters.d.ts +1 -1
- package/types/the-app.vue.d.ts +2 -3
- package/dist/plyr-B0Ha1r7X.js +0 -4152
- package/dist/vidstack-DqAw8m9J-CgqSPNym.js +0 -29
- package/types/api/history/index.d.ts +0 -2
- package/types/api/history/transcript/callTranscript.d.ts +0 -15
- package/types/components/wt-headline-nav/__tests__/wt-headline-nav.spec.d.ts +0 -1
- package/types/components/wt-headline-nav/wt-headline-nav.vue.d.ts +0 -7
- package/types/components/wt-loader/_internals/wt-loader--md.vue.d.ts +0 -2
- package/types/components/wt-loader/_internals/wt-loader--sm.vue.d.ts +0 -16
- package/types/components/wt-vidstack-player/components/panels/media-control-panel/components/buttons/fullscreen-button.vue.d.ts +0 -6
- package/types/components/wt-vidstack-player/components/panels/media-control-panel/components/buttons/play-button.vue.d.ts +0 -2
- package/types/components/wt-vidstack-player/components/panels/media-control-panel/components/sliders/time-slider.vue.d.ts +0 -2
- package/types/components/wt-vidstack-player/components/panels/media-control-panel/components/time-group.vue.d.ts +0 -2
- package/types/components/wt-vidstack-player/components/panels/media-control-panel/media-control-panel.vue.d.ts +0 -2
- package/types/components/wt-vidstack-player/components/panels/screen-sharing-control-panel/screen-sharing-control-panel.vue.d.ts +0 -17
- package/types/components/wt-vidstack-player/types/ScreenshotStatus.d.ts +0 -1
- package/types/locale/ua/ua.d.ts +0 -911
- package/types/modules/FilesExport/scripts/generateMediaURL.d.ts +0 -2
- package/types/plugins/primevue/theme/extend/extend.d.ts +0 -5
- package/types/plugins/primevue/theme/extend/spacings/spacings.d.ts +0 -13
- package/types/plugins/primevue/theme/semantic/color-scheme/color-schema.d.ts +0 -1189
- package/types/plugins/primevue/theme/semantic/color-scheme/dark-color.d.ts +0 -162
- package/types/plugins/primevue/theme/semantic/color-scheme/light-color.d.ts +0 -162
- package/types/plugins/primevue/theme/semantic/color-scheme/palette.d.ts +0 -435
- package/types/plugins/primevue/theme/semantic/semantic.d.ts +0 -5
|
@@ -5,9 +5,9 @@ var N = (r) => {
|
|
|
5
5
|
var de = (r, c, e) => c in r ? ue(r, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[c] = e;
|
|
6
6
|
var b = (r, c, e) => de(r, typeof c != "symbol" ? c + "" : c, e), S = (r, c, e) => c.has(r) || N("Cannot " + e);
|
|
7
7
|
var t = (r, c, e) => (S(r, c, "read from private field"), e ? e.call(r) : c.get(r)), f = (r, c, e) => c.has(r) ? N("Cannot add the same private member more than once") : c instanceof WeakSet ? c.add(r) : c.set(r, e), u = (r, c, e, i) => (S(r, c, "write to private field"), i ? i.call(r, e) : c.set(r, e), e), o = (r, c, e) => (S(r, c, "access private method"), e);
|
|
8
|
-
import {
|
|
9
|
-
import { R as me } from "./vidstack-DqAw8m9J-
|
|
10
|
-
import { E as we } from "./vidstack-DDXt6fpN-
|
|
8
|
+
import { A as fe, M as U, N as C, d as pe, e as q, f as Q, b as ye, O as _, L as R, l as be, P as ke, T as ve, Q as W } from "./install-CR1tqjbI.js";
|
|
9
|
+
import { R as me } from "./vidstack-DqAw8m9J-BpJcIzi9.js";
|
|
10
|
+
import { E as we } from "./vidstack-DDXt6fpN-9cqZjdCr.js";
|
|
11
11
|
import { resolveVimeoVideoId as Pe, getVimeoVideoInfo as Te } from "./vidstack-krOAtKMi-B4IZWKdc.js";
|
|
12
12
|
const Ce = [
|
|
13
13
|
"bufferend",
|
|
@@ -53,7 +53,7 @@ const Ce = [
|
|
|
53
53
|
// 'livestreamoffline',
|
|
54
54
|
// 'livestreamonline',
|
|
55
55
|
];
|
|
56
|
-
var a, y, k, w, g, V, v, $,
|
|
56
|
+
var a, y, k, w, g, V, v, $, A, P, m, E, s, Y, z, G, H, T, J, K, X, L, Z, ee, te, se, ie, x, ne, ae, oe, O, he, F, re, D, ce, le, l, j, B;
|
|
57
57
|
class Re extends we {
|
|
58
58
|
constructor(e, i) {
|
|
59
59
|
super(e);
|
|
@@ -68,8 +68,8 @@ class Re extends we {
|
|
|
68
68
|
f(this, g, null);
|
|
69
69
|
f(this, V, !1);
|
|
70
70
|
f(this, v, new C(0, 0));
|
|
71
|
-
f(this, $, new me(o(this, s,
|
|
72
|
-
f(this,
|
|
71
|
+
f(this, $, new me(o(this, s, H).bind(this)));
|
|
72
|
+
f(this, A, null);
|
|
73
73
|
f(this, P, null);
|
|
74
74
|
f(this, m, /* @__PURE__ */ new Map());
|
|
75
75
|
f(this, E, null);
|
|
@@ -116,7 +116,7 @@ class Re extends we {
|
|
|
116
116
|
pe(this.getOrigin());
|
|
117
117
|
}
|
|
118
118
|
setup() {
|
|
119
|
-
super.setup(), q(o(this, s,
|
|
119
|
+
super.setup(), q(o(this, s, Y).bind(this)), q(o(this, s, z).bind(this)), q(o(this, s, G).bind(this)), t(this, a).notify("provider-setup", this);
|
|
120
120
|
}
|
|
121
121
|
destroy() {
|
|
122
122
|
o(this, s, j).call(this), this.fullscreen = void 0;
|
|
@@ -175,7 +175,7 @@ class Re extends we {
|
|
|
175
175
|
onLoad() {
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
a = new WeakMap(), y = new WeakMap(), k = new WeakMap(), w = new WeakMap(), g = new WeakMap(), V = new WeakMap(), v = new WeakMap(), $ = new WeakMap(),
|
|
178
|
+
a = new WeakMap(), y = new WeakMap(), k = new WeakMap(), w = new WeakMap(), g = new WeakMap(), V = new WeakMap(), v = new WeakMap(), $ = new WeakMap(), A = new WeakMap(), P = new WeakMap(), m = new WeakMap(), E = new WeakMap(), s = new WeakSet(), Y = function() {
|
|
179
179
|
o(this, s, j).call(this);
|
|
180
180
|
const e = t(this, y).call(this);
|
|
181
181
|
if (!e) {
|
|
@@ -183,7 +183,7 @@ a = new WeakMap(), y = new WeakMap(), k = new WeakMap(), w = new WeakMap(), g =
|
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
185
|
this.src.set(`${this.getOrigin()}/video/${e}`), t(this, a).notify("load-start");
|
|
186
|
-
},
|
|
186
|
+
}, z = function() {
|
|
187
187
|
const e = t(this, y).call(this);
|
|
188
188
|
if (!e) return;
|
|
189
189
|
const i = _(), n = new AbortController();
|
|
@@ -194,7 +194,7 @@ a = new WeakMap(), y = new WeakMap(), k = new WeakMap(), w = new WeakMap(), g =
|
|
|
194
194
|
}), () => {
|
|
195
195
|
i.reject(), n.abort();
|
|
196
196
|
};
|
|
197
|
-
},
|
|
197
|
+
}, G = function() {
|
|
198
198
|
const e = t(this, k).call(this), { $state: i, qualities: n } = t(this, a);
|
|
199
199
|
if (i.canSetPlaybackRate.set(e), n[R.setReadonly](!e), e)
|
|
200
200
|
return be(n, "change", () => {
|
|
@@ -203,25 +203,25 @@ a = new WeakMap(), y = new WeakMap(), k = new WeakMap(), w = new WeakMap(), g =
|
|
|
203
203
|
const h = (d = n.selected) == null ? void 0 : d.id;
|
|
204
204
|
h && o(this, s, l).call(this, "setQuality", h);
|
|
205
205
|
});
|
|
206
|
-
},
|
|
206
|
+
}, H = function() {
|
|
207
207
|
o(this, s, l).call(this, "getCurrentTime");
|
|
208
|
-
}, T = new WeakMap(),
|
|
208
|
+
}, T = new WeakMap(), J = function(e, i) {
|
|
209
209
|
if (t(this, T) && e === 0) return;
|
|
210
210
|
const { realCurrentTime: n, paused: h, bufferedEnd: d, seekableEnd: p, live: I } = t(this, a).$state;
|
|
211
211
|
if (n() === e) return;
|
|
212
|
-
const
|
|
213
|
-
t(this, a).notify("time-change", e, i), Math.abs(
|
|
212
|
+
const M = n();
|
|
213
|
+
t(this, a).notify("time-change", e, i), Math.abs(M - e) > 1.5 && (t(this, a).notify("seeking", e, i), !h() && d() < e && t(this, a).notify("waiting", void 0, i)), !I() && p() - e < 0.01 && (t(this, a).notify("end", void 0, i), u(this, T, !0), setTimeout(() => {
|
|
214
214
|
u(this, T, !1);
|
|
215
215
|
}, 500));
|
|
216
|
-
},
|
|
216
|
+
}, K = function(e, i) {
|
|
217
217
|
t(this, a).notify("seeked", e, i);
|
|
218
218
|
}, X = function(e) {
|
|
219
219
|
var n;
|
|
220
220
|
const i = t(this, y).call(this);
|
|
221
221
|
(n = t(this, E)) == null || n.promise.then((h) => {
|
|
222
222
|
if (!h) return;
|
|
223
|
-
const { title: d, poster: p, duration: I, pro:
|
|
224
|
-
t(this, k).set(
|
|
223
|
+
const { title: d, poster: p, duration: I, pro: M } = h;
|
|
224
|
+
t(this, k).set(M), t(this, a).notify("title-change", d, e), t(this, a).notify("poster-change", p, e), t(this, a).notify("duration-change", I, e), o(this, s, L).call(this, I, e);
|
|
225
225
|
}).catch(() => {
|
|
226
226
|
i === t(this, y).call(this) && (o(this, s, l).call(this, "getVideoTitle"), o(this, s, l).call(this, "getDuration"));
|
|
227
227
|
});
|
|
@@ -246,7 +246,7 @@ a = new WeakMap(), y = new WeakMap(), k = new WeakMap(), w = new WeakMap(), g =
|
|
|
246
246
|
t(this, a).$state.canPlay() ? t(this, a).notify("duration-change", p, n) : o(this, s, L).call(this, p, n);
|
|
247
247
|
break;
|
|
248
248
|
case "getCurrentTime":
|
|
249
|
-
o(this, s,
|
|
249
|
+
o(this, s, J).call(this, i, n);
|
|
250
250
|
break;
|
|
251
251
|
case "getBuffered":
|
|
252
252
|
ke(i) && i.length && o(this, s, x).call(this, i[i.length - 1][1], n);
|
|
@@ -335,7 +335,7 @@ he = function(e) {
|
|
|
335
335
|
}, F = function() {
|
|
336
336
|
t(this, P) && (t(this, a).textTracks.remove(t(this, P)), u(this, P, null));
|
|
337
337
|
}, re = function(e, i) {
|
|
338
|
-
t(this, a).qualities[
|
|
338
|
+
t(this, a).qualities[W.enableAuto] = e.some((n) => n.id === "auto") ? () => o(this, s, l).call(this, "setQuality", "auto") : void 0;
|
|
339
339
|
for (const n of e) {
|
|
340
340
|
if (n.id === "auto") continue;
|
|
341
341
|
const h = +n.id.slice(0, -1);
|
|
@@ -354,7 +354,7 @@ he = function(e) {
|
|
|
354
354
|
}, D = function({ id: e } = {}, i) {
|
|
355
355
|
if (!e) return;
|
|
356
356
|
const n = e === "auto", h = t(this, a).qualities.getById(e);
|
|
357
|
-
n ? (t(this, a).qualities[
|
|
357
|
+
n ? (t(this, a).qualities[W.setAuto](n, i), t(this, a).qualities[R.select](void 0, !0, i)) : t(this, a).qualities[R.select](h ?? void 0, !0, i);
|
|
358
358
|
}, ce = function(e, i, n) {
|
|
359
359
|
switch (e) {
|
|
360
360
|
case "ready":
|
|
@@ -413,7 +413,7 @@ he = function(e) {
|
|
|
413
413
|
break;
|
|
414
414
|
case "seek":
|
|
415
415
|
case "seeked":
|
|
416
|
-
o(this, s,
|
|
416
|
+
o(this, s, K).call(this, i.seconds, n);
|
|
417
417
|
break;
|
|
418
418
|
}
|
|
419
419
|
}, le = function(e, i) {
|
|
@@ -427,7 +427,7 @@ he = function(e) {
|
|
|
427
427
|
value: i
|
|
428
428
|
}), n.promise;
|
|
429
429
|
}, j = function() {
|
|
430
|
-
t(this, $).stop(), u(this, v, new C(0, 0)), u(this, E, null), u(this,
|
|
430
|
+
t(this, $).stop(), u(this, v, new C(0, 0)), u(this, E, null), u(this, A, null), t(this, k).set(!1), o(this, s, F).call(this);
|
|
431
431
|
}, B = function(e) {
|
|
432
432
|
var i;
|
|
433
433
|
return (i = t(this, m).get(e)) == null ? void 0 : i.shift();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var A = Object.defineProperty;
|
|
2
|
+
var B = (r) => {
|
|
3
3
|
throw TypeError(r);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var T = (r, n, e) =>
|
|
7
|
-
var s = (r, n, e) => (M(r, n, "read from private field"), e ? e.call(r) : n.get(r)), p = (r, n, e) => n.has(r) ?
|
|
8
|
-
import {
|
|
9
|
-
import { E as Z } from "./vidstack-DDXt6fpN-
|
|
5
|
+
var q = (r, n, e) => n in r ? A(r, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[n] = e;
|
|
6
|
+
var T = (r, n, e) => q(r, typeof n != "symbol" ? n + "" : n, e), M = (r, n, e) => n.has(r) || B("Cannot " + e);
|
|
7
|
+
var s = (r, n, e) => (M(r, n, "read from private field"), e ? e.call(r) : n.get(r)), p = (r, n, e) => n.has(r) ? B("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(r) : n.set(r, e), l = (r, n, e, t) => (M(r, n, "write to private field"), t ? t.call(r, e) : n.set(r, e), e), o = (r, n, e) => (M(r, n, "access private method"), e);
|
|
8
|
+
import { A as z, M as G, d as H, e as J, b as K, O as Q, N as C, R as W, v as $, S as X } from "./install-CR1tqjbI.js";
|
|
9
|
+
import { E as Z } from "./vidstack-DDXt6fpN-9cqZjdCr.js";
|
|
10
10
|
import { resolveYouTubeVideoId as ee } from "./vidstack-Dm1xEU9Q-qSXq3AI-.js";
|
|
11
11
|
const b = {
|
|
12
12
|
Ended: 0,
|
|
@@ -15,16 +15,16 @@ const b = {
|
|
|
15
15
|
Buffering: 3,
|
|
16
16
|
Cued: 5
|
|
17
17
|
};
|
|
18
|
-
var a,
|
|
18
|
+
var a, v, k, S, P, m, y, i, te, se, D, f, j, Y, F, I, R, x, L, O, V, U;
|
|
19
19
|
class ne extends Z {
|
|
20
20
|
constructor(e, t) {
|
|
21
21
|
super(e);
|
|
22
22
|
p(this, i);
|
|
23
23
|
T(this, "$$PROVIDER_TYPE", "YOUTUBE");
|
|
24
|
-
T(this, "scope",
|
|
24
|
+
T(this, "scope", z());
|
|
25
25
|
p(this, a);
|
|
26
|
-
p(this,
|
|
27
|
-
p(this,
|
|
26
|
+
p(this, v, G(""));
|
|
27
|
+
p(this, k, -1);
|
|
28
28
|
p(this, S, null);
|
|
29
29
|
p(this, P, -1);
|
|
30
30
|
p(this, m, !1);
|
|
@@ -58,16 +58,16 @@ class ne extends Z {
|
|
|
58
58
|
return "youtube";
|
|
59
59
|
}
|
|
60
60
|
get videoId() {
|
|
61
|
-
return s(this,
|
|
61
|
+
return s(this, v).call(this);
|
|
62
62
|
}
|
|
63
63
|
preconnect() {
|
|
64
|
-
|
|
64
|
+
H(this.getOrigin());
|
|
65
65
|
}
|
|
66
66
|
setup() {
|
|
67
|
-
super.setup(),
|
|
67
|
+
super.setup(), J(o(this, i, D).bind(this)), s(this, a).notify("provider-setup", this);
|
|
68
68
|
}
|
|
69
69
|
destroy() {
|
|
70
|
-
o(this, i,
|
|
70
|
+
o(this, i, O).call(this);
|
|
71
71
|
const e = "provider destroyed";
|
|
72
72
|
for (const t of s(this, y).values())
|
|
73
73
|
for (const { reject: d } of t) d(e);
|
|
@@ -92,12 +92,12 @@ class ne extends Z {
|
|
|
92
92
|
o(this, i, f).call(this, "setPlaybackRate", e);
|
|
93
93
|
}
|
|
94
94
|
async loadSource(e) {
|
|
95
|
-
if (!
|
|
96
|
-
l(this, S, null), s(this,
|
|
95
|
+
if (!K(e.src)) {
|
|
96
|
+
l(this, S, null), s(this, v).set("");
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
99
|
const t = ee(e.src);
|
|
100
|
-
s(this,
|
|
100
|
+
s(this, v).set(t ?? ""), l(this, S, e);
|
|
101
101
|
}
|
|
102
102
|
getOrigin() {
|
|
103
103
|
return this.cookies ? "https://www.youtube.com" : "https://www.youtube-nocookie.com";
|
|
@@ -135,8 +135,8 @@ class ne extends Z {
|
|
|
135
135
|
s(this, a).notify("duration-change", e.duration, t);
|
|
136
136
|
}
|
|
137
137
|
if ($(e.playbackRate) && e.playbackRate !== h() && s(this, a).notify("rate-change", e.playbackRate, t), e.progressState) {
|
|
138
|
-
const { current: g, seekableStart: w, seekableEnd: E, loaded: N, duration:
|
|
139
|
-
o(this, i, F).call(this, g, t), o(this, i, I).call(this, N, new C(w, E), t),
|
|
138
|
+
const { current: g, seekableStart: w, seekableEnd: E, loaded: N, duration: _ } = e.progressState;
|
|
139
|
+
o(this, i, F).call(this, g, t), o(this, i, I).call(this, N, new C(w, E), t), _ !== u() && s(this, a).notify("duration-change", _, t);
|
|
140
140
|
}
|
|
141
141
|
if ($(e.volume) && X(e.muted) && !s(this, m)) {
|
|
142
142
|
const g = {
|
|
@@ -145,18 +145,18 @@ class ne extends Z {
|
|
|
145
145
|
};
|
|
146
146
|
s(this, a).notify("volume-change", g, t);
|
|
147
147
|
}
|
|
148
|
-
$(e.playerState) && e.playerState !== s(this,
|
|
148
|
+
$(e.playerState) && e.playerState !== s(this, k) && o(this, i, L).call(this, e.playerState, t);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
a = new WeakMap(),
|
|
151
|
+
a = new WeakMap(), v = new WeakMap(), k = new WeakMap(), S = new WeakMap(), P = new WeakMap(), m = new WeakMap(), y = new WeakMap(), i = new WeakSet(), te = function(e) {
|
|
152
152
|
var t;
|
|
153
153
|
(t = o(this, i, V).call(this, "playVideo")) == null || t.reject(e);
|
|
154
154
|
}, se = function(e) {
|
|
155
155
|
var t;
|
|
156
156
|
(t = o(this, i, V).call(this, "pauseVideo")) == null || t.reject(e);
|
|
157
|
-
},
|
|
158
|
-
o(this, i,
|
|
159
|
-
const e = s(this,
|
|
157
|
+
}, D = function() {
|
|
158
|
+
o(this, i, O).call(this);
|
|
159
|
+
const e = s(this, v).call(this);
|
|
160
160
|
if (!e) {
|
|
161
161
|
this.src.set("");
|
|
162
162
|
return;
|
|
@@ -175,7 +175,7 @@ a = new WeakMap(), k = new WeakMap(), v = new WeakMap(), S = new WeakMap(), P =
|
|
|
175
175
|
var t;
|
|
176
176
|
(t = o(this, i, V).call(this, "pauseVideo")) == null || t.resolve(), s(this, a).notify("pause", void 0, e);
|
|
177
177
|
}, F = function(e, t) {
|
|
178
|
-
const { duration: d, realCurrentTime: u } = s(this, a).$state, h = s(this,
|
|
178
|
+
const { duration: d, realCurrentTime: u } = s(this, a).$state, h = s(this, k) === b.Ended, c = h ? d() : e;
|
|
179
179
|
s(this, a).notify("time-change", c, t), !h && Math.abs(c - u()) > 1 && s(this, a).notify("seeking", c, t);
|
|
180
180
|
}, I = function(e, t, d) {
|
|
181
181
|
const u = {
|
|
@@ -221,9 +221,9 @@ a = new WeakMap(), k = new WeakMap(), v = new WeakMap(), S = new WeakMap(), P =
|
|
|
221
221
|
o(this, i, x).call(this, t);
|
|
222
222
|
break;
|
|
223
223
|
}
|
|
224
|
-
l(this,
|
|
225
|
-
},
|
|
226
|
-
l(this,
|
|
224
|
+
l(this, k, e);
|
|
225
|
+
}, O = function() {
|
|
226
|
+
l(this, k, -1), l(this, P, -1), l(this, m, !1);
|
|
227
227
|
}, V = function(e) {
|
|
228
228
|
var t;
|
|
229
229
|
return (t = s(this, y).get(e)) == null ? void 0 : t.shift();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.2.
|
|
3
|
+
"version": "26.2.1",
|
|
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 lint:fix || true) && npm run publish-lib",
|
|
@@ -47,120 +47,100 @@
|
|
|
47
47
|
"CHANGELOG.md"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@floating-ui/vue": "^1.1.
|
|
51
|
-
"primevue": "^4.5.4",
|
|
52
|
-
"plyr": "^3.8.4",
|
|
53
|
-
"vidstack": "^1.12.13",
|
|
54
|
-
"vue-multiselect": "^3.4.0",
|
|
50
|
+
"@floating-ui/vue": "^1.1.6",
|
|
55
51
|
"@morev/vue-transitions": "^3.0.5",
|
|
56
52
|
"@primeuix/themes": "^1.1.1",
|
|
57
53
|
"@tailwindcss/vite": "^4.1.7",
|
|
58
|
-
"@vuepic/vue-datepicker": "^4.5.1",
|
|
59
|
-
"@vueuse/components": "^14.0.0",
|
|
60
|
-
"autosize": "^6.0.1",
|
|
61
|
-
"flat": "^6.0.1",
|
|
62
|
-
"csv-stringify": "^5.5.3",
|
|
63
|
-
"date-fns-tz": "^3.2.0",
|
|
64
|
-
"emoji-picker-element": "^1.28.1",
|
|
65
|
-
"file-saver-es": "^2.0.5",
|
|
66
|
-
"is-valid-domain": "^0.1.6",
|
|
67
|
-
"path-browserify": "^1.0.1",
|
|
68
|
-
"qs-esm": "^7.0.3",
|
|
69
|
-
"sortablejs": "^1.15.3",
|
|
70
|
-
"tailwindcss": "^4.1.7",
|
|
71
|
-
"vue-observe-visibility": "^2.0.0-alpha.1",
|
|
72
|
-
"xlsx": "0.18.5"
|
|
73
|
-
},
|
|
74
|
-
"peerDependencies": {
|
|
75
54
|
"@vuelidate/core": "^2.0.3",
|
|
76
55
|
"@vuelidate/validators": "^2.0.4",
|
|
77
|
-
"@
|
|
56
|
+
"@vuepic/vue-datepicker": "^4.5.1",
|
|
57
|
+
"@vueuse/components": "^13.0.0",
|
|
58
|
+
"@webitel/api-services": "^0.0.105",
|
|
78
59
|
"@webitel/styleguide": "^25.12.7",
|
|
60
|
+
"autosize": "^6.0.1",
|
|
79
61
|
"axios": "^1.8.3",
|
|
62
|
+
"clipboard-copy": "^4.0.1",
|
|
63
|
+
"csv-stringify": "^5.5.3",
|
|
80
64
|
"date-fns": "^4.1.0",
|
|
65
|
+
"date-fns-tz": "^3.2.0",
|
|
81
66
|
"deep-copy": "^1.4.2",
|
|
82
67
|
"deep-equal": "^2.2.3",
|
|
83
68
|
"deepmerge": "^4.3.1",
|
|
69
|
+
"emoji-picker-element": "^1.27.0",
|
|
70
|
+
"file-saver-es": "^2.0.5",
|
|
71
|
+
"flat": "^6.0.1",
|
|
72
|
+
"is-valid-domain": "^0.1.6",
|
|
73
|
+
"jszip": "^3.10.1",
|
|
74
|
+
"jszip-utils": "^0.1.0",
|
|
84
75
|
"lodash-es": "^4.17.21",
|
|
85
76
|
"mitt": "^3.0.1",
|
|
86
77
|
"path-browserify": "^1.0.1",
|
|
78
|
+
"plyr": "^3.7.8",
|
|
79
|
+
"primevue": "^4.3.4",
|
|
80
|
+
"qs-esm": "^7.0.2",
|
|
81
|
+
"sortablejs": "^1.15.3",
|
|
82
|
+
"tailwindcss": "^4.1.7",
|
|
83
|
+
"vidstack": "^1.12.13",
|
|
87
84
|
"vue-i18n": "^11.1.2",
|
|
85
|
+
"vue-multiselect": "^3.1.0",
|
|
86
|
+
"vue-observe-visibility": "^2.0.0-alpha.1",
|
|
88
87
|
"vue-router": "^4.5.0",
|
|
89
88
|
"webitel-sdk": "^25.8.9",
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"jszip-utils": "^0.1.0"
|
|
93
|
-
},
|
|
94
|
-
"peerDependenciesMeta": {
|
|
95
|
-
"@vuelidate/core": {
|
|
96
|
-
"optional": true
|
|
97
|
-
},
|
|
98
|
-
"@vuelidate/validators": {
|
|
99
|
-
"optional": true
|
|
100
|
-
},
|
|
101
|
-
"jszip": {
|
|
102
|
-
"optional": true
|
|
103
|
-
},
|
|
104
|
-
"jszip-utils": {
|
|
105
|
-
"optional": true
|
|
106
|
-
},
|
|
107
|
-
"mitt": {
|
|
108
|
-
"optional": true
|
|
109
|
-
},
|
|
110
|
-
"zod": {
|
|
111
|
-
"optional": true
|
|
112
|
-
}
|
|
89
|
+
"xlsx": "0.18.5",
|
|
90
|
+
"zod": "^3.25.55"
|
|
113
91
|
},
|
|
114
92
|
"devDependencies": {
|
|
115
93
|
"@eslint/js": "^9.22.0",
|
|
116
|
-
"@regle/core": "^1.
|
|
94
|
+
"@regle/core": "^1.3.0",
|
|
117
95
|
"@tsconfig/node22": "^22.0.0",
|
|
118
96
|
"@types/node": "^22.13.10",
|
|
119
|
-
"@vitejs/plugin-vue": "^
|
|
120
|
-
"@vue/compat": "^3.5.
|
|
97
|
+
"@vitejs/plugin-vue": "^5.2.3",
|
|
98
|
+
"@vue/compat": "^3.5.13",
|
|
99
|
+
"@vue/compiler-sfc": "^3.5.13",
|
|
121
100
|
"@vue/test-utils": "^2.4.6",
|
|
122
|
-
"@vue/tsconfig": "^0.
|
|
101
|
+
"@vue/tsconfig": "^0.7.0",
|
|
123
102
|
"eslint": "^9.22.0",
|
|
124
103
|
"eslint-config-prettier": "^10.1.1",
|
|
125
104
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
126
105
|
"eslint-plugin-vue": "^10.0.0",
|
|
127
106
|
"globals": "^16.0.0",
|
|
128
|
-
"globby": "^
|
|
129
|
-
"happy-dom": "^
|
|
130
|
-
"husky": "^9.
|
|
131
|
-
"lint-staged": "^
|
|
107
|
+
"globby": "^14.1.0",
|
|
108
|
+
"happy-dom": "^17.4.4",
|
|
109
|
+
"husky": "^9.1.7",
|
|
110
|
+
"lint-staged": "^15.5.0",
|
|
132
111
|
"markdown-it": "^14.1.0",
|
|
133
112
|
"markdown-table": "^3.0.4",
|
|
134
113
|
"path": "^0.12.7",
|
|
135
|
-
"pinia": "^3.
|
|
114
|
+
"pinia": "^3.0.1",
|
|
136
115
|
"postcss": "^8.5.3",
|
|
137
116
|
"postcss-prefix-selector": "^2.1.0",
|
|
138
117
|
"prettier": "^3.5.3",
|
|
139
118
|
"prettier-plugin-css-order": "^2.1.2",
|
|
140
119
|
"prismjs": "^1.30.0",
|
|
141
|
-
"publint": "^0.3.
|
|
120
|
+
"publint": "^0.3.9",
|
|
142
121
|
"sass": "^1.85.1",
|
|
143
122
|
"typedoc-github-wiki-theme": "^2.1.0",
|
|
144
|
-
"typescript": "
|
|
123
|
+
"typescript": "5.8.2",
|
|
145
124
|
"typescript-eslint": "^8.26.1",
|
|
146
125
|
"typescript-plugin-css-modules": "^5.1.0",
|
|
147
|
-
"unplugin-auto-import": "^
|
|
148
|
-
"vite": "
|
|
149
|
-
"vite-plugin-checker": "^0.
|
|
150
|
-
"vite-plugin-node-polyfills": "^0.
|
|
151
|
-
"vite-plugin-static-copy": "^3.
|
|
152
|
-
"vite-plugin-svg-sprite": "=0.
|
|
126
|
+
"unplugin-auto-import": "^19.1.1",
|
|
127
|
+
"vite": "^6.2.2",
|
|
128
|
+
"vite-plugin-checker": "^0.9.0",
|
|
129
|
+
"vite-plugin-node-polyfills": "^0.23.0",
|
|
130
|
+
"vite-plugin-static-copy": "^2.3.0",
|
|
131
|
+
"vite-plugin-svg-sprite": "=0.5",
|
|
153
132
|
"vite-plugin-vue-docgen": "^0.3.4",
|
|
154
133
|
"vitepress": "1.6.3",
|
|
155
|
-
"vitest": "^
|
|
156
|
-
"vue": "^3.5.
|
|
157
|
-
"vue-tsc": "^
|
|
134
|
+
"vitest": "^3.0.9",
|
|
135
|
+
"vue": "^3.5.13",
|
|
136
|
+
"vue-tsc": "^2.2.8",
|
|
158
137
|
"vuex": "^4.1.0"
|
|
159
138
|
},
|
|
160
139
|
"optionalDependencies": {
|
|
161
140
|
"@rollup/rollup-linux-x64-gnu": "4.9.5"
|
|
162
141
|
},
|
|
163
142
|
"overrides": {
|
|
143
|
+
"vite": "^6.2.2",
|
|
164
144
|
"date-fns": "^4.1.0"
|
|
165
145
|
},
|
|
166
146
|
"engines": {
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
class="wt-vidstack-player"
|
|
4
4
|
:class="[
|
|
5
5
|
`wt-vidstack-player--${size}`,
|
|
6
|
-
`wt-vidstack-player-video-object-fit--${props.videoObjectFit}`,
|
|
7
6
|
fullscreen && `wt-vidstack-player--fullscreen`,
|
|
8
7
|
stretch && `wt-vidstack-player--stretch`,
|
|
9
8
|
props.static && 'wt-vidstack-player--static',
|
|
@@ -74,7 +73,6 @@ interface Props {
|
|
|
74
73
|
hideBackground?: boolean
|
|
75
74
|
hideExpand?: boolean
|
|
76
75
|
stretch?: boolean
|
|
77
|
-
videoObjectFit?: 'cover' | 'contain'
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -85,7 +83,6 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
85
83
|
username: '',
|
|
86
84
|
closable: false,
|
|
87
85
|
static: false,
|
|
88
|
-
videoObjectFit: 'contain',
|
|
89
86
|
});
|
|
90
87
|
|
|
91
88
|
const emit = defineEmits<{
|
|
@@ -286,21 +283,8 @@ const onCanPlay = (ev: unknown) => {
|
|
|
286
283
|
min-width: 0;
|
|
287
284
|
width: 100%;
|
|
288
285
|
height: 100%;
|
|
286
|
+
object-fit: contain;
|
|
289
287
|
background: var(--p-player-wrapper-background);
|
|
290
288
|
}
|
|
291
|
-
|
|
292
|
-
&-video-object-fit {
|
|
293
|
-
&--cover {
|
|
294
|
-
video {
|
|
295
|
-
object-fit: cover;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
&--contain {
|
|
300
|
-
video {
|
|
301
|
-
object-fit: contain;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
289
|
}
|
|
306
290
|
</style>
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
:class="[!props.static && `video-call-position--${props.position}`]"
|
|
7
7
|
:username="props.username"
|
|
8
8
|
:hide-video-display-panel="props.hideVideoDisplayPanel"
|
|
9
|
-
video-object-fit="cover"
|
|
10
9
|
class="video-call"
|
|
11
10
|
hide-background
|
|
12
11
|
autoplay
|
|
@@ -53,7 +52,6 @@
|
|
|
53
52
|
<wt-vidstack-player
|
|
54
53
|
:stream="props['sender:stream']"
|
|
55
54
|
:class="`video-call-sender--${innerSize}`"
|
|
56
|
-
video-object-fit="cover"
|
|
57
55
|
hide-video-display-panel
|
|
58
56
|
hide-controls-panel
|
|
59
57
|
static
|
package/types/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue.d.ts
CHANGED
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
/**
|
|
5
|
-
* @description Status object
|
|
6
|
-
* @type {Object}
|
|
7
|
-
* @property {String} offline
|
|
8
|
-
* @property {String} online
|
|
9
|
-
* @property {String} pause
|
|
10
|
-
*/
|
|
11
|
-
status: any;
|
|
12
|
-
size: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
options: string[];
|
|
16
|
-
};
|
|
17
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
/**
|
|
19
|
-
* @description Status object
|
|
20
|
-
* @type {Object}
|
|
21
|
-
* @property {String} offline
|
|
22
|
-
* @property {String} online
|
|
23
|
-
* @property {String} pause
|
|
24
|
-
*/
|
|
25
|
-
status: any;
|
|
26
|
-
size: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
options: string[];
|
|
30
|
-
};
|
|
31
|
-
}>> & Readonly<{}>, {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
32
2
|
status: any;
|
|
33
3
|
size: string;
|
|
34
|
-
|
|
4
|
+
$props: {
|
|
5
|
+
readonly status?: any;
|
|
6
|
+
readonly size?: string;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
size: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: "md";
|
|
7
|
-
};
|
|
8
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"insert-emoji": (...args: any[]) => void;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
size: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: "md";
|
|
14
|
-
};
|
|
15
|
-
}>> & Readonly<{
|
|
16
|
-
"onInsert-emoji"?: (...args: any[]) => any;
|
|
17
|
-
}>, {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
$emit: (event: "insert-emoji", ...args: any[]) => void;
|
|
18
3
|
size: string;
|
|
19
|
-
|
|
4
|
+
$props: {
|
|
5
|
+
readonly size?: string;
|
|
6
|
+
};
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -4,21 +4,20 @@ interface Props {
|
|
|
4
4
|
title?: string;
|
|
5
5
|
items: unknown[];
|
|
6
6
|
}
|
|
7
|
-
declare var __VLS_1: {},
|
|
7
|
+
declare var __VLS_1: {}, __VLS_7: {
|
|
8
8
|
toggle: (event?: Event, target?: HTMLElement | null | undefined) => void;
|
|
9
|
-
},
|
|
9
|
+
}, __VLS_13: {
|
|
10
10
|
items: unknown[];
|
|
11
11
|
};
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
13
|
'first-item'?: (props: typeof __VLS_1) => any;
|
|
14
14
|
} & {
|
|
15
|
-
activator?: (props: typeof
|
|
15
|
+
activator?: (props: typeof __VLS_7) => any;
|
|
16
16
|
} & {
|
|
17
|
-
items?: (props: typeof
|
|
17
|
+
items?: (props: typeof __VLS_13) => any;
|
|
18
18
|
};
|
|
19
|
-
declare const
|
|
20
|
-
declare const
|
|
21
|
-
declare const _default: typeof __VLS_export;
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
22
21
|
export default _default;
|
|
23
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
24
23
|
new (): {
|