@webitel/ui-sdk 26.8.115 → 26.8.117
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-DW43tqs7.js → clients-DWcx-Mfk.js} +5 -1
- package/dist/{components-BolsnzIT.js → components-CeOlovz8.js} +115 -112
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +396 -396
- package/dist/{wt-chat-emoji-XqtVJGt6.js → wt-chat-emoji-v9gpIuHe.js} +1 -1
- package/dist/{wt-display-chip-items-ccySRTF6.js → wt-display-chip-items-Bob7miL_.js} +1 -1
- package/dist/{wt-send-message-popup-DpiVLOyU.js → wt-send-message-popup-9O69XY0L.js} +2 -2
- package/dist/{wt-type-extension-value-input-CSu8XVEX.js → wt-type-extension-value-input-55YmFcBp.js} +9 -2
- package/dist/{wt-vidstack-player-CMVy1tcE.js → wt-vidstack-player-ETPSioGH.js} +1 -1
- package/package.json +1 -1
- package/src/components/wt-popup/_variables.css +4 -0
- package/src/components/wt-popup/wt-popup.vue +25 -8
- package/src/modules/Userinfo/mappings/lookupPathToScopeClass.ts +7 -0
- package/types/.tsbuildinfo +1 -1
- package/types/components/wt-popup/wt-popup.vue.d.ts +6 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-CeOlovz8.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { t as r } from "./utils-DHSDTqJG.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
|
-
import { n as e } from "./components-
|
|
1
|
+
import { n as e } from "./components-CeOlovz8.js";
|
|
2
2
|
import "./convertDuration-CW5qzlwH.js";
|
|
3
|
-
import { i as t, r as n } from "./clients-
|
|
3
|
+
import { i as t, r as n } from "./clients-DWcx-Mfk.js";
|
|
4
4
|
import { n as r } from "./vue-i18n-VBiROMZ4.js";
|
|
5
5
|
import { n as i } from "./useEventBus-B-ZeklLu.js";
|
|
6
6
|
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";
|
package/dist/{wt-type-extension-value-input-CSu8XVEX.js → wt-type-extension-value-input-55YmFcBp.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, c as t, i as n, n as r, r as i, s as a, t as o } from "./dist-EXdgfpvN.js";
|
|
2
2
|
import { n as s } from "./genClient-CvWlQ0TZ.js";
|
|
3
3
|
import { a as c } from "./caseConverters-DGri4uJo.js";
|
|
4
|
-
import { a as l, o as u, r as d, s as f } from "./components-
|
|
5
|
-
import { a as p, n as m, t as h } from "./clients-
|
|
4
|
+
import { a as l, o as u, r as d, s as f } from "./components-CeOlovz8.js";
|
|
5
|
+
import { a as p, n as m, t as h } from "./clients-DWcx-Mfk.js";
|
|
6
6
|
import { a as g, b as _, d as v, f as y, g as b, i as x, n as S, o as C, r as w, s as T, t as E, y as D } from "./enums-CsINFPBu.js";
|
|
7
7
|
import { n as ee, t as te } from "./vue-i18n-VBiROMZ4.js";
|
|
8
8
|
import "./wt-toast-pXV44Y3v.js";
|
|
@@ -231,6 +231,13 @@ var be = {
|
|
|
231
231
|
"call_center/list": L.List,
|
|
232
232
|
"call_center/teams": L.Team,
|
|
233
233
|
"call_center/skills": L.Skills,
|
|
234
|
+
"call_center/resources": L.Resource,
|
|
235
|
+
"call_center/resource_group": L.ResourceGroup,
|
|
236
|
+
"call_center/communication_type": L.Dictionaries,
|
|
237
|
+
"call_center/buckets": L.Dictionaries,
|
|
238
|
+
"call_center/pause_causes": L.Dictionaries,
|
|
239
|
+
"call_center/quick_replies": L.Dictionaries,
|
|
240
|
+
regions: L.Dictionaries,
|
|
234
241
|
"contacts/groups": L.ContactGroups
|
|
235
242
|
}, xe = [{
|
|
236
243
|
prefix: "cases/",
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
v-show="showPopupComponent"
|
|
4
|
-
:class="[
|
|
4
|
+
:class="[
|
|
5
|
+
`wt-popup--size-${size}`,
|
|
6
|
+
height && `wt-popup--height-${height}`,
|
|
7
|
+
{
|
|
8
|
+
'wt-popup--overflow': overflow,
|
|
9
|
+
}]"
|
|
5
10
|
class="wt-popup"
|
|
6
11
|
>
|
|
7
12
|
<!-- <!– @slot check source code for scoped bindings :( –>-->
|
|
@@ -19,11 +24,7 @@
|
|
|
19
24
|
<!-- />-->
|
|
20
25
|
|
|
21
26
|
<transition-slide :offset="[0, -1440 / 2]">
|
|
22
|
-
<aside
|
|
23
|
-
v-if="wrapperShown"
|
|
24
|
-
class="wt-popup__popup"
|
|
25
|
-
:style="height ? { height } : undefined"
|
|
26
|
-
>
|
|
27
|
+
<aside v-if="wrapperShown" class="wt-popup__popup">
|
|
27
28
|
<header class="wt-popup__header typo-subtitle-1">
|
|
28
29
|
<slot name="header">
|
|
29
30
|
<h3 class="wt-popup__title">
|
|
@@ -57,7 +58,12 @@ interface Props {
|
|
|
57
58
|
*/
|
|
58
59
|
shown?: boolean;
|
|
59
60
|
size?: ComponentSize;
|
|
60
|
-
|
|
61
|
+
/**
|
|
62
|
+
* temprorary height of the popup for WS2
|
|
63
|
+
* to avoid WS1 popup broken
|
|
64
|
+
* will be removed after primevue migration
|
|
65
|
+
*/
|
|
66
|
+
height?: ComponentSize;
|
|
61
67
|
/**
|
|
62
68
|
* if true, popup contents will overflow popup container, without scrolling
|
|
63
69
|
* useful for small popups with select components, which have not enough space
|
|
@@ -76,7 +82,6 @@ interface Props {
|
|
|
76
82
|
const props = withDefaults(defineProps<Props>(), {
|
|
77
83
|
shown: true, // TODO: change me to false after refactor
|
|
78
84
|
size: ComponentSize.MD,
|
|
79
|
-
height: undefined,
|
|
80
85
|
overflow: false,
|
|
81
86
|
disabled: false,
|
|
82
87
|
closable: true,
|
|
@@ -215,6 +220,18 @@ watch(wrapperShown, (value) => {
|
|
|
215
220
|
width: var(--wt-popup-size-lg);
|
|
216
221
|
}
|
|
217
222
|
|
|
223
|
+
.wt-popup--height-sm .wt-popup__popup {
|
|
224
|
+
height: var(--wt-popup-height-sm);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.wt-popup--height-md .wt-popup__popup {
|
|
228
|
+
height: var(--wt-popup-height-md);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.wt-popup--height-lg .wt-popup__popup {
|
|
232
|
+
height: var(--wt-popup-height-lg);
|
|
233
|
+
}
|
|
234
|
+
|
|
218
235
|
.wt-popup__popup {
|
|
219
236
|
display: flex;
|
|
220
237
|
flex-direction: column;
|
|
@@ -14,6 +14,13 @@ const lookupPathToScopeClass: Partial<Record<string, ScopeClass>> = {
|
|
|
14
14
|
'call_center/list': ScopeClass.List,
|
|
15
15
|
'call_center/teams': ScopeClass.Team,
|
|
16
16
|
'call_center/skills': ScopeClass.Skills,
|
|
17
|
+
'call_center/resources': ScopeClass.Resource,
|
|
18
|
+
'call_center/resource_group': ScopeClass.ResourceGroup,
|
|
19
|
+
'call_center/communication_type': ScopeClass.Dictionaries,
|
|
20
|
+
'call_center/buckets': ScopeClass.Dictionaries,
|
|
21
|
+
'call_center/pause_causes': ScopeClass.Dictionaries,
|
|
22
|
+
'call_center/quick_replies': ScopeClass.Dictionaries,
|
|
23
|
+
regions: ScopeClass.Dictionaries,
|
|
17
24
|
'contacts/groups': ScopeClass.ContactGroups,
|
|
18
25
|
};
|
|
19
26
|
|