@webitel/ui-sdk 26.8.29 → 26.8.31
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/{clients-B0X6h5kQ.js → clients-DYgSupBB.js} +1481 -208
- package/dist/{components-Cx915__m.js → components-BDKAbff7.js} +3 -3
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +833 -617
- package/dist/{wt-chat-emoji-NGR9eeqQ.js → wt-chat-emoji-BDckjRW9.js} +1 -1
- package/dist/{wt-display-chip-items-BmiTSnfu.js → wt-display-chip-items-BxQrYGag.js} +1 -1
- package/dist/{wt-send-message-popup-CoIsI1qk.js → wt-send-message-popup-BQmQ764a.js} +2 -2
- package/dist/{wt-type-extension-value-input-VRi1AAQy.js → wt-type-extension-value-input-BPhqY-_e.js} +2 -2
- package/dist/{wt-vidstack-player-C6o5MHBh.js → wt-vidstack-player-Byw50ZoQ.js} +1 -1
- package/package.json +1 -1
- package/src/enums/WebitelApplications/AdminSections.ts +1 -0
- package/src/enums/WtObject/WtObject.ts +1 -0
- package/src/locale/en/en.js +1 -0
- package/src/locale/es/es.js +1 -0
- package/src/locale/kz/kz.js +1 -0
- package/src/locale/pl/pl.js +1 -0
- package/src/locale/ro/ro.js +1 -0
- package/src/locale/ru/ru.js +1 -0
- package/src/locale/uk/uk.js +1 -0
- package/src/locale/uz/uz.js +1 -0
- package/src/locale/vi/vi.js +1 -0
- package/src/modules/CallSession/modules/VideoCall/video-call.vue +22 -7
- package/src/modules/Userinfo/classes/ApplicationsAccess.ts +4 -0
- package/src/modules/Userinfo/mappings/mappings.ts +2 -0
- package/types/.tsbuildinfo +1 -1
- package/types/enums/WebitelApplications/AdminSections.d.ts +1 -0
- package/types/enums/WtObject/WtObject.d.ts +1 -0
- package/types/locale/en/en.d.ts +1 -0
- package/types/locale/es/es.d.ts +1 -0
- package/types/locale/i18n.d.ts +9 -0
- package/types/locale/index.d.ts +9 -0
- package/types/locale/kz/kz.d.ts +1 -0
- package/types/locale/pl/pl.d.ts +1 -0
- package/types/locale/ro/ro.d.ts +1 -0
- package/types/locale/ru/ru.d.ts +1 -0
- package/types/locale/uk/uk.d.ts +1 -0
- package/types/locale/uz/uz.d.ts +1 -0
- package/types/locale/vi/vi.d.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-BDKAbff7.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { t as r } from "./displayText-CtaxzaBz.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,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BEcgMyyN.js";
|
|
2
|
-
import { n as t, r as n } from "./clients-
|
|
3
|
-
import { T as r, n as i, w as a } from "./components-
|
|
2
|
+
import { n as t, r as n } from "./clients-DYgSupBB.js";
|
|
3
|
+
import { T as r, n as i, w as a } from "./components-BDKAbff7.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-Db_oYfO8.js";
|
|
5
5
|
import { n as s } from "./useEventBus-B-ZeklLu.js";
|
|
6
6
|
import { createBlock as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeProps as f, onMounted as p, openBlock as m, ref as h, resolveComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
package/dist/{wt-type-extension-value-input-VRi1AAQy.js → wt-type-extension-value-input-BPhqY-_e.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./clients-
|
|
2
|
-
import { a as t, o as n, r, s as i } from "./components-
|
|
1
|
+
import { t as e } from "./clients-DYgSupBB.js";
|
|
2
|
+
import { a as t, o as n, r, s as i } from "./components-BDKAbff7.js";
|
|
3
3
|
import { t as a } from "./enums-De8CDKZ1.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-Db_oYfO8.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";
|
package/package.json
CHANGED
package/src/locale/en/en.js
CHANGED
|
@@ -427,6 +427,7 @@ export default deepmerge(
|
|
|
427
427
|
[AdminSections.Configuration]: 'Configuration',
|
|
428
428
|
[AdminSections.GlobalVariables]: 'Global variables',
|
|
429
429
|
[AdminSections.QuickReplies]: 'Quick replies',
|
|
430
|
+
[AdminSections.ActivityTypes]: 'Activity Types',
|
|
430
431
|
},
|
|
431
432
|
},
|
|
432
433
|
[WtApplication.Wfm]: {
|
package/src/locale/es/es.js
CHANGED
|
@@ -417,6 +417,7 @@ export default {
|
|
|
417
417
|
[AdminSections.Configuration]: 'Configuración',
|
|
418
418
|
[AdminSections.GlobalVariables]: 'Variables globales',
|
|
419
419
|
[AdminSections.QuickReplies]: 'Respuestas rápidas',
|
|
420
|
+
[AdminSections.ActivityTypes]: 'Tipos de actividad',
|
|
420
421
|
},
|
|
421
422
|
},
|
|
422
423
|
[WtApplication.Wfm]: {
|
package/src/locale/kz/kz.js
CHANGED
|
@@ -420,6 +420,7 @@ export default {
|
|
|
420
420
|
[AdminSections.Configuration]: 'Конфигурация',
|
|
421
421
|
[AdminSections.GlobalVariables]: 'Жалпы айнымалылар',
|
|
422
422
|
[AdminSections.QuickReplies]: 'Жылдам жауаптар',
|
|
423
|
+
[AdminSections.ActivityTypes]: 'Әрекет түрлері',
|
|
423
424
|
},
|
|
424
425
|
},
|
|
425
426
|
[WtApplication.Wfm]: {
|
package/src/locale/pl/pl.js
CHANGED
|
@@ -420,6 +420,7 @@ export default {
|
|
|
420
420
|
[AdminSections.Configuration]: 'Konfiguracja',
|
|
421
421
|
[AdminSections.GlobalVariables]: 'Zmienne globalne',
|
|
422
422
|
[AdminSections.QuickReplies]: 'Szybkie odpowiedzi',
|
|
423
|
+
[AdminSections.ActivityTypes]: 'Typy aktywności',
|
|
423
424
|
},
|
|
424
425
|
},
|
|
425
426
|
[WtApplication.Wfm]: {
|
package/src/locale/ro/ro.js
CHANGED
|
@@ -424,6 +424,7 @@ export default {
|
|
|
424
424
|
[AdminSections.Configuration]: 'Configurație',
|
|
425
425
|
[AdminSections.GlobalVariables]: 'Variabile globale',
|
|
426
426
|
[AdminSections.QuickReplies]: 'Răspunsuri rapide',
|
|
427
|
+
[AdminSections.ActivityTypes]: 'Tipuri de activitate',
|
|
427
428
|
},
|
|
428
429
|
},
|
|
429
430
|
[WtApplication.Wfm]: {
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -419,6 +419,7 @@ export default {
|
|
|
419
419
|
[AdminSections.Configuration]: 'Конфигурация',
|
|
420
420
|
[AdminSections.GlobalVariables]: 'Глобальные переменные',
|
|
421
421
|
[AdminSections.QuickReplies]: 'Быстрые ответы',
|
|
422
|
+
[AdminSections.ActivityTypes]: 'Типы активности',
|
|
422
423
|
},
|
|
423
424
|
},
|
|
424
425
|
[WtApplication.Wfm]: {
|
package/src/locale/uk/uk.js
CHANGED
|
@@ -418,6 +418,7 @@ export default {
|
|
|
418
418
|
[AdminSections.Configuration]: 'Конфігурація',
|
|
419
419
|
[AdminSections.GlobalVariables]: 'Глобальні змінні',
|
|
420
420
|
[AdminSections.QuickReplies]: 'Швидкі відповіді',
|
|
421
|
+
[AdminSections.ActivityTypes]: 'Типи активності',
|
|
421
422
|
},
|
|
422
423
|
},
|
|
423
424
|
[WtApplication.Wfm]: {
|
package/src/locale/uz/uz.js
CHANGED
|
@@ -424,6 +424,7 @@ export default {
|
|
|
424
424
|
[AdminSections.Configuration]: 'Konfiguratsiya',
|
|
425
425
|
[AdminSections.GlobalVariables]: "Global o'zgaruvchilar",
|
|
426
426
|
[AdminSections.QuickReplies]: 'Tezkor javoblar',
|
|
427
|
+
[AdminSections.ActivityTypes]: 'Faoliyat turlari',
|
|
427
428
|
},
|
|
428
429
|
},
|
|
429
430
|
[WtApplication.Wfm]: {
|
package/src/locale/vi/vi.js
CHANGED
|
@@ -424,6 +424,7 @@ export default {
|
|
|
424
424
|
[AdminSections.Configuration]: 'Cấu hình',
|
|
425
425
|
[AdminSections.GlobalVariables]: 'Biến toàn cục',
|
|
426
426
|
[AdminSections.QuickReplies]: 'Trả lời nhanh',
|
|
427
|
+
[AdminSections.ActivityTypes]: 'Loại hoạt động',
|
|
427
428
|
},
|
|
428
429
|
},
|
|
429
430
|
[WtApplication.Wfm]: {
|
|
@@ -151,13 +151,13 @@
|
|
|
151
151
|
:screenshot:status="props['screenshot:status'] ?? null"
|
|
152
152
|
:video:accessed="props['sender:video:accessed']"
|
|
153
153
|
:video:enabled="props['sender:video:enabled']"
|
|
154
|
-
@[VideoCallAction.Recordings]="
|
|
155
|
-
@[VideoCallAction.Screenshot]="
|
|
156
|
-
@[VideoCallAction.Mic]="
|
|
157
|
-
@[VideoCallAction.Video]="
|
|
158
|
-
@[VideoCallAction.Settings]="
|
|
159
|
-
@[VideoCallAction.Chat]="
|
|
160
|
-
@[VideoCallAction.Hangup]="
|
|
154
|
+
@[VideoCallAction.Recordings]="forwardedActionHandlers[VideoCallAction.Recordings]"
|
|
155
|
+
@[VideoCallAction.Screenshot]="forwardedActionHandlers[VideoCallAction.Screenshot]"
|
|
156
|
+
@[VideoCallAction.Mic]="forwardedActionHandlers[VideoCallAction.Mic]"
|
|
157
|
+
@[VideoCallAction.Video]="forwardedActionHandlers[VideoCallAction.Video]"
|
|
158
|
+
@[VideoCallAction.Settings]="forwardedActionHandlers[VideoCallAction.Settings]"
|
|
159
|
+
@[VideoCallAction.Chat]="forwardedActionHandlers[VideoCallAction.Chat]"
|
|
160
|
+
@[VideoCallAction.Hangup]="forwardedActionHandlers[VideoCallAction.Hangup]"
|
|
161
161
|
|
|
162
162
|
/>
|
|
163
163
|
</template>
|
|
@@ -299,6 +299,21 @@ const forwardAction =
|
|
|
299
299
|
) => void
|
|
300
300
|
)(emitKeys[action], payload, options);
|
|
301
301
|
|
|
302
|
+
/**
|
|
303
|
+
* pre-built once, not called inline in the template: `@click="forwardAction(x)"`
|
|
304
|
+
* compiles to an inline-statement handler that invokes `forwardAction` but discards
|
|
305
|
+
* the closure it returns, so the actual `emit` never fires.
|
|
306
|
+
*/
|
|
307
|
+
const forwardedActionHandlers = {
|
|
308
|
+
[VideoCallAction.Screenshot]: forwardAction(VideoCallAction.Screenshot),
|
|
309
|
+
[VideoCallAction.Recordings]: forwardAction(VideoCallAction.Recordings),
|
|
310
|
+
[VideoCallAction.Mic]: forwardAction(VideoCallAction.Mic),
|
|
311
|
+
[VideoCallAction.Video]: forwardAction(VideoCallAction.Video),
|
|
312
|
+
[VideoCallAction.Settings]: forwardAction(VideoCallAction.Settings),
|
|
313
|
+
[VideoCallAction.Chat]: forwardAction(VideoCallAction.Chat),
|
|
314
|
+
[VideoCallAction.Hangup]: forwardAction(VideoCallAction.Hangup),
|
|
315
|
+
} as const;
|
|
316
|
+
|
|
302
317
|
const { t } = useI18n();
|
|
303
318
|
|
|
304
319
|
const playerRef = ref<InstanceType<typeof WtVidstackPlayer> | null>(null);
|
|
@@ -127,6 +127,10 @@ const applicationsAccess = (value = true): ApplicationsAccessSchema => ({
|
|
|
127
127
|
_enabled: value,
|
|
128
128
|
_locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.PauseCause}`,
|
|
129
129
|
},
|
|
130
|
+
[AdminSections.ActivityTypes]: {
|
|
131
|
+
_enabled: value,
|
|
132
|
+
_locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.ActivityTypes}`,
|
|
133
|
+
},
|
|
130
134
|
[AdminSections.Media]: {
|
|
131
135
|
_enabled: value,
|
|
132
136
|
_locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.Media}`,
|
|
@@ -56,6 +56,7 @@ export const mapScopeClassToWtObjects: Partial<Record<ScopeClass, WtObject[]>> =
|
|
|
56
56
|
],
|
|
57
57
|
[ScopeClass.Skills]: [
|
|
58
58
|
WtObject.Skill,
|
|
59
|
+
WtObject.ActivityType,
|
|
59
60
|
],
|
|
60
61
|
[ScopeClass.Calendars]: [
|
|
61
62
|
WtObject.Calendar,
|
|
@@ -237,6 +238,7 @@ export const mapWtObjectToUiSection: Partial<
|
|
|
237
238
|
[WtObject.WorkingCondition]: AdminSections.WorkingConditions,
|
|
238
239
|
[WtObject.Member]: AdminSections.Members,
|
|
239
240
|
[WtObject.QuickReply]: AdminSections.QuickReplies,
|
|
241
|
+
[WtObject.ActivityType]: AdminSections.ActivityTypes,
|
|
240
242
|
},
|
|
241
243
|
|
|
242
244
|
// Auditor sections
|