@webitel/ui-sdk 26.4.35 → 26.4.37
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/{index-Roia5eMO.js → index-BZKts8yS.js} +1 -1
- package/dist/{index-oyJmkeim.js → index-BrEE-qd-.js} +1 -1
- package/dist/{install-QMIeJaQP.js → install-DUod_8Ku.js} +36 -36
- package/dist/{isObject-47V3csS5.js → isObject-uQaUYKJW.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/dist/{useVidstackSrc-CGEzqvQp.js → useVidstackSrc-C6fu6SvZ.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-DI2seNfv.js → vidstack-Bq6c3Bam-Dd52QiPX.js} +3 -3
- package/dist/{vidstack-D2pY00kU-Bnd9jPy3.js → vidstack-D2pY00kU-_LBWFhUE.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-D94vez1w.js → vidstack-DDXt6fpN-DhMYnOMt.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-4njHBpdi.js → vidstack-D_-9AA6_-D2a5xJKO.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-DzQijIZr.js → vidstack-DqAw8m9J-BdizNAWr.js} +1 -1
- package/dist/{vidstack-audio-BmvM3Qam.js → vidstack-audio-chLugnlj.js} +2 -2
- package/dist/{vidstack-dash-MOhANEa2.js → vidstack-dash-Cdbb2MOE.js} +4 -4
- package/dist/{vidstack-google-cast-0Ym-39oi.js → vidstack-google-cast-mDtJg_vY.js} +4 -4
- package/dist/{vidstack-hls-hVw-GZOs.js → vidstack-hls-CiQFMqwR.js} +4 -4
- package/dist/{vidstack-video-h4GIsOmA.js → vidstack-video-Bl4rfgP9.js} +3 -3
- package/dist/{vidstack-vimeo-BWpgnTHH.js → vidstack-vimeo-BcSiQ_9q.js} +4 -4
- package/dist/{vidstack-youtube-BTrv_J1m.js → vidstack-youtube-DApcJDQI.js} +3 -3
- package/dist/{wt-action-bar-DddMeUuz.js → wt-action-bar-BF5D6Vv_.js} +1 -1
- package/dist/{wt-button-select-F4QMC6dm.js → wt-button-select-BTY-iaNj.js} +1 -1
- package/dist/{wt-chat-emoji-B3x1ns7c.js → wt-chat-emoji-BXPjqZI0.js} +2 -2
- package/dist/{wt-confirm-dialog-Kp2ZVO86.js → wt-confirm-dialog-DqQDYTZq.js} +1 -1
- package/dist/{wt-context-menu-m4yJ7keo.js → wt-context-menu-BktQof7n.js} +1 -1
- package/dist/{wt-copy-action-Df9iBfO2.js → wt-copy-action-Ejnxisfl.js} +1 -1
- package/dist/{wt-datepicker-OnFIF-X9.js → wt-datepicker-CwFS-fxt.js} +1 -1
- package/dist/{wt-display-chip-items-B4lLiSne.js → wt-display-chip-items-B8TYLutp.js} +1 -1
- package/dist/{wt-dual-panel-DOna0CxV.js → wt-dual-panel-BOs_XQXg.js} +1 -1
- package/dist/{wt-dummy-9zwFlOGt.js → wt-dummy-4X6y_x3K.js} +1 -1
- package/dist/{wt-error-page-D_WumGk-.js → wt-error-page-BhgTuky5.js} +1 -1
- package/dist/{wt-expansion-card-Dbm7uO1A.js → wt-expansion-card-D5tyFYOh.js} +1 -1
- package/dist/{wt-expansion-panel-BlaJf3n6.js → wt-expansion-panel-CY4YOczp.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-b5LFEGBw.js → wt-filters-panel-wrapper-B2r7LBDA.js} +1 -1
- package/dist/{wt-galleria-BT_fZLWH.js → wt-galleria-QMvyOiCu.js} +1 -1
- package/dist/{wt-inline-add-panel-DxdeUuAT.js → wt-inline-add-panel-BxRUjfud.js} +1 -1
- package/dist/{wt-navigation-menu-cwEF2ijX.js → wt-navigation-menu-CijYDqmj.js} +1 -1
- package/dist/{wt-notifications-bar-BGrDiB8v.js → wt-notifications-bar-B-WHYUn8.js} +2 -2
- package/dist/{wt-pagination-DwWIF6nl.js → wt-pagination-Ct7KqZia.js} +1 -1
- package/dist/{wt-player-B7YgHjUK.js → wt-player-C9yxYqJg.js} +2 -2
- package/dist/{wt-screen-recordings-action-DKKwRMLp.js → wt-screen-recordings-action-CCjbaNv0.js} +1 -1
- package/dist/{wt-search-bar-Dtp9U0LR.js → wt-search-bar-D6bjH-vv.js} +1 -1
- package/dist/{wt-selection-popup-CCnPMPZB.js → wt-selection-popup-DeUe96aS.js} +1 -1
- package/dist/{wt-start-page-B-i-pQw3.js → wt-start-page-B6Vgs_a3.js} +1 -1
- package/dist/{wt-status-select-DISQXQjg.js → wt-status-select-DA5jiZrX.js} +1 -1
- package/dist/{wt-stepper-C5yC0VYM.js → wt-stepper-DswMICsZ.js} +1 -1
- package/dist/{wt-table-B4kc-ipH.js → wt-table-OHnwif0t.js} +1 -1
- package/dist/{wt-table-actions-DntooC4W.js → wt-table-actions-BtS9meDS.js} +1 -1
- package/dist/wt-table-column-select-Db1EZl6_.js +150 -0
- package/dist/{wt-tabs-QcPjT0wy.js → wt-tabs-BdKnAJWa.js} +1 -1
- package/dist/{wt-tags-input-CqvTyjDV.js → wt-tags-input-060JQiZm.js} +2 -2
- package/dist/{wt-timepicker-DdzK-Tyi.js → wt-timepicker-CwB-pqSe.js} +1 -1
- package/dist/{wt-tree-B1Q2YeD6.js → wt-tree-3ghuBLTn.js} +2 -2
- package/dist/{wt-tree-table-Buj_TA4d.js → wt-tree-table-Dl1edw4Q.js} +1 -1
- package/dist/{wt-type-extension-value-input-CoiLEZP5.js → wt-type-extension-value-input-CJOhDnXg.js} +2 -2
- package/dist/{wt-vidstack-player-DK1jhBLF.js → wt-vidstack-player-BCpnqFue.js} +10 -10
- package/package.json +1 -1
- package/src/components/wt-table-column-select/wt-table-column-select.vue +21 -2
- package/src/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue +2 -0
- package/src/modules/CallSession/modules/ScreenSharing/screen-sharing.vue +3 -1
- package/types/components/wt-table-column-select/wt-table-column-select.vue.d.ts +1 -0
- package/types/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue.d.ts +1 -0
- package/types/modules/CallSession/modules/ScreenSharing/screen-sharing.vue.d.ts +1 -0
- package/dist/wt-table-column-select-DbhHTkMe.js +0 -137
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { d as C } from "./index-oyJmkeim.js";
|
|
2
|
-
import { resolveComponent as a, resolveDirective as g, createElementBlock as c, openBlock as r, withDirectives as v, createVNode as s, withCtx as n, createTextVNode as i, toDisplayString as p, createElementVNode as h, normalizeClass as S, Fragment as k, renderList as D, withModifiers as y } from "vue";
|
|
3
|
-
import { _ as P } from "./install-QMIeJaQP.js";
|
|
4
|
-
const H = {
|
|
5
|
-
name: "WtTableColumnSelect",
|
|
6
|
-
model: {
|
|
7
|
-
prop: "headers",
|
|
8
|
-
event: "change"
|
|
9
|
-
},
|
|
10
|
-
/**
|
|
11
|
-
* @emits {Array} change - Fires when headers are changed. Emits mutated headers
|
|
12
|
-
*/
|
|
13
|
-
props: {
|
|
14
|
-
/**
|
|
15
|
-
* Each header should have following schema: { value: String, show: Boolean, text: String }
|
|
16
|
-
* @type {Array}
|
|
17
|
-
* @required
|
|
18
|
-
* @model headers
|
|
19
|
-
*/
|
|
20
|
-
headers: {
|
|
21
|
-
type: Array,
|
|
22
|
-
required: !0,
|
|
23
|
-
description: "Each header should have following schema: { value: String, show: Boolean, text: String }"
|
|
24
|
-
},
|
|
25
|
-
/**
|
|
26
|
-
* Header values to exclude from selection
|
|
27
|
-
* @type {Array}
|
|
28
|
-
* @default []
|
|
29
|
-
*/
|
|
30
|
-
staticHeaders: {
|
|
31
|
-
type: Array,
|
|
32
|
-
default: () => [],
|
|
33
|
-
description: "Header values to exclude from selection"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
emits: [
|
|
37
|
-
"change"
|
|
38
|
-
],
|
|
39
|
-
data: () => ({
|
|
40
|
-
draft: [],
|
|
41
|
-
// headers draft
|
|
42
|
-
isColumnSelectPopup: !1
|
|
43
|
-
}),
|
|
44
|
-
computed: {
|
|
45
|
-
changeableDraft() {
|
|
46
|
-
return this.draft.filter((e) => !this.staticHeaders.includes(e.value)).sort((e, l) => this.shownColLabel(e)?.localeCompare(this.shownColLabel(l)));
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
watch: {
|
|
50
|
-
isColumnSelectPopup: {
|
|
51
|
-
handler() {
|
|
52
|
-
this.fillHeadersDraft();
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
methods: {
|
|
57
|
-
shownColLabel({ text: e, locale: l }) {
|
|
58
|
-
return !e && l ? typeof l == "string" ? this.$t(l) : this.$t(...l) : e;
|
|
59
|
-
},
|
|
60
|
-
openPopup() {
|
|
61
|
-
this.isColumnSelectPopup = !0;
|
|
62
|
-
},
|
|
63
|
-
close() {
|
|
64
|
-
this.isColumnSelectPopup = !1;
|
|
65
|
-
},
|
|
66
|
-
fillHeadersDraft() {
|
|
67
|
-
this.draft = C(this.headers);
|
|
68
|
-
},
|
|
69
|
-
setShownColumns() {
|
|
70
|
-
this.$emit("change", this.draft), this.close();
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}, L = { class: "wt-table-column-select" }, U = { class: "wt-table-column-select__popup-list-wrap" }, x = ["onClickCapture"];
|
|
74
|
-
function B(e, l, E, I, N, t) {
|
|
75
|
-
const m = a("wt-icon-btn"), _ = a("wt-checkbox"), u = a("wt-button"), w = a("wt-popup"), f = g("tooltip");
|
|
76
|
-
return r(), c("div", L, [
|
|
77
|
-
v(s(m, {
|
|
78
|
-
icon: "column-select",
|
|
79
|
-
onClick: t.openPopup
|
|
80
|
-
}, null, 8, ["onClick"]), [
|
|
81
|
-
[f, e.$t("webitelUI.tableColumnSelect.title")]
|
|
82
|
-
]),
|
|
83
|
-
s(w, {
|
|
84
|
-
shown: e.isColumnSelectPopup,
|
|
85
|
-
class: "wt-table-column-select__popup",
|
|
86
|
-
onClose: t.close
|
|
87
|
-
}, {
|
|
88
|
-
title: n(() => [
|
|
89
|
-
i(p(e.$t("webitelUI.tableColumnSelect.title")), 1)
|
|
90
|
-
]),
|
|
91
|
-
main: n(() => [
|
|
92
|
-
h("div", U, [
|
|
93
|
-
h("ul", {
|
|
94
|
-
class: S([{
|
|
95
|
-
"wt-table-column-select__popup-list--md": t.changeableDraft.length > 10 && t.changeableDraft.length <= 20,
|
|
96
|
-
"wt-table-column-select__popup-list--lg": t.changeableDraft.length > 20
|
|
97
|
-
}, "wt-table-column-select__popup-list"])
|
|
98
|
-
}, [
|
|
99
|
-
(r(!0), c(k, null, D(t.changeableDraft, (o, b) => (r(), c("li", {
|
|
100
|
-
key: b,
|
|
101
|
-
class: "wt-table-column-select__popup-item",
|
|
102
|
-
onClickCapture: y((d) => o.show = !o.show, ["prevent"])
|
|
103
|
-
}, [
|
|
104
|
-
s(_, {
|
|
105
|
-
label: t.shownColLabel(o),
|
|
106
|
-
selected: o.show,
|
|
107
|
-
"onUpdate:selected": (d) => o.show = d
|
|
108
|
-
}, null, 8, ["label", "selected", "onUpdate:selected"])
|
|
109
|
-
], 40, x))), 128))
|
|
110
|
-
], 2)
|
|
111
|
-
])
|
|
112
|
-
]),
|
|
113
|
-
actions: n(() => [
|
|
114
|
-
s(u, { onClick: t.setShownColumns }, {
|
|
115
|
-
default: n(() => [
|
|
116
|
-
i(p(e.$t("reusable.add")), 1)
|
|
117
|
-
], void 0, !0),
|
|
118
|
-
_: 1
|
|
119
|
-
}, 8, ["onClick"]),
|
|
120
|
-
s(u, {
|
|
121
|
-
color: "secondary",
|
|
122
|
-
onClick: t.close
|
|
123
|
-
}, {
|
|
124
|
-
default: n(() => [
|
|
125
|
-
i(p(e.$t("reusable.cancel")), 1)
|
|
126
|
-
], void 0, !0),
|
|
127
|
-
_: 1
|
|
128
|
-
}, 8, ["onClick"])
|
|
129
|
-
]),
|
|
130
|
-
_: 1
|
|
131
|
-
}, 8, ["shown", "onClose"])
|
|
132
|
-
]);
|
|
133
|
-
}
|
|
134
|
-
const A = /* @__PURE__ */ P(H, [["render", B], ["__scopeId", "data-v-405c9158"]]);
|
|
135
|
-
export {
|
|
136
|
-
A as default
|
|
137
|
-
};
|