@webitel/ui-sdk 26.6.72 → 26.6.74
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-DjB6nJHf.js → clients-CIZxqjbV.js} +191 -192
- package/dist/{components-Dk5QOwBa.js → components-CgVZq5Ay.js} +11 -11
- package/dist/{composables-CmpLKArq.js → composables-D5kSQ1Rk.js} +67 -54
- package/dist/{enums-CoY-pIuZ.js → enums-De8CDKZ1.js} +13 -4
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +3 -3
- package/dist/ui-sdk.umd.cjs +549 -543
- package/dist/{useValidation-DMp_AiNP.js → useValidation-DGl2otXJ.js} +1 -1
- package/dist/{wt-action-bar-CSdnxT_s.js → wt-action-bar-HBm22ay5.js} +2 -2
- package/dist/{wt-button-BVX4GDCP.js → wt-button-dC4nOW56.js} +2 -2
- package/dist/{wt-chat-emoji-LewqM4p6.js → wt-chat-emoji-XjM2qHuC.js} +4 -4
- package/dist/{wt-datepicker-DYJGuWH2.js → wt-datepicker-CxwX-c2T.js} +2 -2
- package/dist/{wt-display-chip-items-Cfo-ztuH.js → wt-display-chip-items-CYyy-Z-1.js} +1 -1
- package/dist/{wt-dual-panel-Dn52cFd0.js → wt-dual-panel-Dhj8Eg_y.js} +1 -1
- package/dist/{wt-expansion-card-C4ratcs-.js → wt-expansion-card-TBmAxeek.js} +2 -2
- package/dist/{wt-expansion-panel-BUta42RO.js → wt-expansion-panel-Br7JPc5X.js} +1 -1
- package/dist/{wt-galleria-BiVy4aMN.js → wt-galleria-BWHny8Qw.js} +1 -1
- package/dist/{wt-icon-action-SuNhSnx4.js → wt-icon-action-BBmutGsL.js} +1 -1
- package/dist/{wt-icon-btn-gkyWWthY.js → wt-icon-btn-BIU9YjS8.js} +2 -2
- package/dist/{wt-icon-CXZgq3LL.js → wt-icon-y89gRcOs.js} +2 -1
- package/dist/{wt-notifications-bar-kewyyshr.js → wt-notifications-bar-DhJxMjNB.js} +2 -2
- package/dist/{wt-player-CP_9u3G3.js → wt-player-_mTlxsCu.js} +3 -3
- package/dist/{wt-search-bar-DmwAjznv.js → wt-search-bar-CYCOxWra.js} +1 -1
- package/dist/{wt-send-message-popup-q4ES4jcI.js → wt-send-message-popup-oNckWu_A.js} +14 -14
- package/dist/{wt-status-select-D20EwR17.js → wt-status-select-D1hAjCAS.js} +1 -1
- package/dist/{wt-table-B7rn2iAF.js → wt-table-DJ85SoOt.js} +1 -1
- package/dist/{wt-timepicker-BivkZpXq.js → wt-timepicker-BEeUHumZ.js} +2 -2
- package/dist/{wt-toast-Dufgfee5.js → wt-toast-DXrSMdRm.js} +2 -2
- package/dist/{wt-tree-table-BFvSXadM.js → wt-tree-table-2K7cdct7.js} +1 -1
- package/dist/{wt-type-extension-value-input-BbMEDpAD.js → wt-type-extension-value-input-DEWxbiEr.js} +21 -21
- package/dist/{wt-vidstack-player-CfO0nbvr.js → wt-vidstack-player-BN5Q1U6B.js} +4 -4
- package/package.json +2 -2
- package/src/assets/icons/sprite/custom-provider.svg +6 -0
- package/src/assets/icons/sprite/index.ts +2 -0
- package/src/components/_internals/composables/useSelect/useSelect.ts +6 -0
- package/src/components/_internals/composables/useSelect/useSelectOptions.ts +20 -0
- package/src/components/wt-checkbox/wt-checkbox.vue +2 -0
- package/src/enums/SingleSignOnProvider/SingleSignOnProvider.ts +9 -0
- package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.ts +14 -0
- package/src/enums/index.ts +4 -0
- package/src/locale/en/en.js +1 -1
- package/src/locale/ru/ru.js +1 -1
- package/src/locale/uk/uk.js +1 -1
- package/src/modules/Userinfo/enums/ScopeClass/ScopeClass.ts +1 -1
- package/types/components/_internals/composables/useSelect/useSelectOptions.d.ts +1 -0
- package/types/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +7 -0
- package/types/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +3 -0
- package/types/enums/index.d.ts +3 -1
- package/types/modules/Userinfo/enums/ScopeClass/ScopeClass.d.ts +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { a as e, i as t, r as n, t as r } from "./rolldown-runtime-BEcgMyyN.js";
|
|
2
2
|
import { n as i, t as a } from "./dist-CAOIU8xq.js";
|
|
3
|
-
import { t as o } from "./wt-icon-
|
|
3
|
+
import { t as o } from "./wt-icon-y89gRcOs.js";
|
|
4
4
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
5
|
-
import { a as c, c as l, i as u, l as d, m as f, n as p, r as m, s as h, u as g } from "./enums-
|
|
5
|
+
import { a as c, c as l, i as u, l as d, m as f, n as p, r as m, s as h, u as g } from "./enums-De8CDKZ1.js";
|
|
6
6
|
import { i as _, n as v, t as y } from "./toZonedTime-B8L5kbse.js";
|
|
7
|
-
import { n as b, t as ee } from "./wt-button-
|
|
7
|
+
import { n as b, t as ee } from "./wt-button-dC4nOW56.js";
|
|
8
8
|
import { t as te } from "./vue-i18n-Db_oYfO8.js";
|
|
9
9
|
import { a as ne, c as x, i as re, n as ie, o as S, r as ae, s as oe } from "./debounce-Bp3jy7S5.js";
|
|
10
|
-
import { t as se } from "./wt-toast-
|
|
10
|
+
import { t as se } from "./wt-toast-DXrSMdRm.js";
|
|
11
11
|
import "./sortQueryAdapters-CyYXvnDN.js";
|
|
12
|
-
import { n as C, t as w } from "./wt-icon-btn-
|
|
13
|
-
import { t as ce } from "./wt-icon-action-
|
|
14
|
-
import { t as le } from "./useValidation-
|
|
15
|
-
import { i as ue, n as de, r as fe } from "./composables-
|
|
12
|
+
import { n as C, t as w } from "./wt-icon-btn-BIU9YjS8.js";
|
|
13
|
+
import { t as ce } from "./wt-icon-action-BBmutGsL.js";
|
|
14
|
+
import { t as le } from "./useValidation-DGl2otXJ.js";
|
|
15
|
+
import { i as ue, n as de, r as fe } from "./composables-D5kSQ1Rk.js";
|
|
16
16
|
import { t as pe } from "./wt-expand-transition-C2p9bR4j.js";
|
|
17
17
|
import { a as me, c as he, i as ge, n as _e, o as ve, r as ye, s as be, t as xe } from "./floating-ui.dom-Ch9ml4Rx.js";
|
|
18
18
|
import * as Se from "vue";
|
|
@@ -6524,9 +6524,9 @@ var zl = {
|
|
|
6524
6524
|
])), [[r, d]]) : D("", !0)], 2);
|
|
6525
6525
|
};
|
|
6526
6526
|
}
|
|
6527
|
-
}, [["__scopeId", "data-v-72aa56d0"]]), Wl = M(() => import("./wt-action-bar-
|
|
6528
|
-
M(() => import("./wt-type-extension-value-input-
|
|
6529
|
-
var Du = M(() => import("./wt-screen-recordings-action-Dzzo0eqW.js")), Ou = M(() => import("./wt-send-message-popup-
|
|
6527
|
+
}, [["__scopeId", "data-v-72aa56d0"]]), Wl = M(() => import("./wt-action-bar-HBm22ay5.js")), Gl = M(() => import("./wt-button-select-BnRHgJ4i.js")), Kl = M(() => import("./wt-confirm-dialog-DCUitG2v.js")), ql = M(() => import("./wt-context-menu-yW52oF-2.js")), Jl = M(() => import("./wt-copy-action-d9gVzAsB.js")), Yl = M(() => import("./wt-datepicker-CxwX-c2T.js")), Xl = M(() => import("./wt-dual-panel-Dhj8Eg_y.js")), Zl = M(() => import("./wt-dummy-CLjhRWZ6.js")), Ql = M(() => import("./wt-error-page-vhu4lIyF.js")), $l = M(() => import("./wt-expansion-panel-Br7JPc5X.js")), eu = M(() => import("./wt-expansion-card-TBmAxeek.js")), tu = M(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), nu = M(() => import("./wt-galleria-BWHny8Qw.js")), ru = M(() => import("./wt-notifications-bar-DhJxMjNB.js")), iu = M(() => import("./wt-page-header-CDbd4aOh.js")), au = M(() => import("./wt-pagination-G2ZGU4Pi.js")), ou = M(() => import("./wt-player-_mTlxsCu.js")), su = M(() => import("./wt-popover-ChCN6b1o.js").then((e) => e.n)), cu = M(() => import("./wt-search-bar-CYCOxWra.js")), lu = M(() => import("./wt-slider-BPzRTeYU.js").then((e) => e.n)), uu = M(() => import("./wt-status-select-D1hAjCAS.js")), du = M(() => import("./wt-stepper-B6zpd1Uh.js")), fu = M(() => import("./wt-table-DJ85SoOt.js")), pu = M(() => import("./wt-table-actions-4-peSVkc.js")), mu = M(() => import("./wt-table-column-select-CgEh5BAF.js")), hu = M(() => import("./wt-tabs-DuOgj-lZ.js")), gu = M(() => import("./wt-time-input-CO2cop3y.js")), _u = M(() => import("./wt-timepicker-BEeUHumZ.js")), vu = M(() => import("./wt-tree-DZ9ErOGj.js")), yu = M(() => import("./wt-tree-table-2K7cdct7.js")), bu = M(() => import("./wt-vidstack-player-BN5Q1U6B.js")), xu = M(() => import("./wt-call-media-action-Bn2bGCWs.js")), Su = M(() => import("./wt-chat-emoji-XjM2qHuC.js")), Cu = M(() => import("./wt-display-chip-items-CYyy-Z-1.js")), wu = M(() => import("./wt-navigation-menu-CenQi_-T.js")), Tu = M(() => import("./wt-selection-popup-CjYw4ppb.js")), Eu = M(() => import("./wt-start-page-DMXRhA9E.js"));
|
|
6528
|
+
M(() => import("./wt-type-extension-value-input-DEWxbiEr.js"));
|
|
6529
|
+
var Du = M(() => import("./wt-screen-recordings-action-Dzzo0eqW.js")), Ou = M(() => import("./wt-send-message-popup-oNckWu_A.js")), ku = {
|
|
6530
6530
|
WtActionBar: Wl,
|
|
6531
6531
|
WtImage: fo,
|
|
6532
6532
|
WtEmpty: _o,
|
|
@@ -139,6 +139,16 @@ var l = () => {
|
|
|
139
139
|
let e = f(n.value), t = (t) => p(t, e, l.value), r = v.value.filter(t), i = m([...T.value, ...r], l.value);
|
|
140
140
|
T.value = i.filter(t);
|
|
141
141
|
}, D = async () => {
|
|
142
|
+
if (!d.value || !a?.value || !n.value) return;
|
|
143
|
+
let e = f(n.value);
|
|
144
|
+
if (!e.length) return;
|
|
145
|
+
y.value = !0;
|
|
146
|
+
let { items: t } = await d.value({
|
|
147
|
+
[l.value]: e,
|
|
148
|
+
size: e.length
|
|
149
|
+
});
|
|
150
|
+
T.value = m([...T.value, ...t], l.value), y.value = !1;
|
|
151
|
+
}, O = async () => {
|
|
142
152
|
if (!d.value) return;
|
|
143
153
|
let { search: e, page: t } = x;
|
|
144
154
|
y.value = !0;
|
|
@@ -146,22 +156,22 @@ var l = () => {
|
|
|
146
156
|
search: e,
|
|
147
157
|
page: t
|
|
148
158
|
}), a = e ? w(T.value, e) : T.value, o = x.page === 1 ? m([...a, ...r], l.value) : v.value.concat(r);
|
|
149
|
-
v.value = S(o),
|
|
150
|
-
},
|
|
151
|
-
x.search = e, x.page = 1,
|
|
152
|
-
},
|
|
153
|
-
if (_.value = e, d.value)
|
|
159
|
+
v.value = S(o), M(n.value), b.value = i, x.page += 1, y.value = !1;
|
|
160
|
+
}, k = (e = "") => {
|
|
161
|
+
x.search = e, x.page = 1, O();
|
|
162
|
+
}, A = t((e) => k(e)), j = (e) => {
|
|
163
|
+
if (_.value = e, d.value) A(e);
|
|
154
164
|
else {
|
|
155
165
|
let t = w(T.value, e), n = w(r.value, e);
|
|
156
166
|
v.value = S(m([...t, ...n], l.value));
|
|
157
167
|
}
|
|
158
|
-
},
|
|
168
|
+
}, M = (e) => {
|
|
159
169
|
if (!e || !d.value) return;
|
|
160
170
|
let t = f(e).filter((e) => !p(e, v.value, l.value));
|
|
161
171
|
t.length && (v.value = S(m([...w(t, _.value), ...v.value], l.value)));
|
|
162
172
|
};
|
|
163
173
|
return c(() => n.value, (e) => {
|
|
164
|
-
E(),
|
|
174
|
+
E(), M(e);
|
|
165
175
|
}), c(() => r.value, (e) => {
|
|
166
176
|
d.value || (v.value = S(e));
|
|
167
177
|
}), {
|
|
@@ -171,65 +181,68 @@ var l = () => {
|
|
|
171
181
|
searchHasNext: b,
|
|
172
182
|
sortOptions: S,
|
|
173
183
|
getOptionLabel: C,
|
|
174
|
-
fetchOptions:
|
|
175
|
-
|
|
176
|
-
|
|
184
|
+
fetchOptions: O,
|
|
185
|
+
fetchSelectedByIds: D,
|
|
186
|
+
resetAndFetch: k,
|
|
187
|
+
filterOptions: j,
|
|
177
188
|
updateSelectedOptionsCache: E
|
|
178
189
|
};
|
|
179
|
-
}, b = ({ selected: e, options: t, optionLabel: n, optionValue: r, dataKey:
|
|
180
|
-
let { filterText:
|
|
190
|
+
}, b = ({ selected: e, options: t, optionLabel: n, optionValue: r, dataKey: a, allowCustomValues: o, manualCustomValues: s = !1, filterInput: c, selectRef: l, searchMethod: u, selectId: d, isSingle: f, emit: p = () => {} }) => {
|
|
191
|
+
let { filterText: m, filteredOptions: h, isLoading: b, searchHasNext: x, sortOptions: S, getOptionLabel: C, fetchOptions: w, fetchSelectedByIds: T, resetAndFetch: E, filterOptions: D, updateSelectedOptionsCache: O } = y({
|
|
181
192
|
selected: e,
|
|
182
193
|
options: t,
|
|
183
194
|
optionLabel: n,
|
|
184
195
|
optionValue: r,
|
|
185
|
-
dataKey:
|
|
186
|
-
allowCustomValues:
|
|
187
|
-
searchMethod:
|
|
188
|
-
}), { isDropdownOpen:
|
|
189
|
-
selectId:
|
|
190
|
-
selectRef:
|
|
191
|
-
filterInput:
|
|
192
|
-
searchMethod:
|
|
193
|
-
filteredOptions:
|
|
194
|
-
filterText:
|
|
195
|
-
filterOptions:
|
|
196
|
-
resetAndFetch:
|
|
197
|
-
sortOptions:
|
|
198
|
-
fetchOptions:
|
|
199
|
-
isLoading:
|
|
200
|
-
searchHasNext:
|
|
201
|
-
}), { showFooterLoader:
|
|
196
|
+
dataKey: a,
|
|
197
|
+
allowCustomValues: o,
|
|
198
|
+
searchMethod: u
|
|
199
|
+
}), { isDropdownOpen: k, onDropdownBeforeShow: A, onDropdownBeforeHide: j, onDropdownShow: M, onDropdownHide: N } = _({
|
|
200
|
+
selectId: d,
|
|
201
|
+
selectRef: l,
|
|
202
|
+
filterInput: c,
|
|
203
|
+
searchMethod: u,
|
|
204
|
+
filteredOptions: h,
|
|
205
|
+
filterText: m,
|
|
206
|
+
filterOptions: D,
|
|
207
|
+
resetAndFetch: E,
|
|
208
|
+
sortOptions: S,
|
|
209
|
+
fetchOptions: w,
|
|
210
|
+
isLoading: b,
|
|
211
|
+
searchHasNext: x
|
|
212
|
+
}), { showFooterLoader: P } = v(b), { onInputKeydown: F } = g({
|
|
202
213
|
selected: e,
|
|
203
|
-
filteredOptions:
|
|
214
|
+
filteredOptions: h,
|
|
204
215
|
options: t,
|
|
205
216
|
optionValue: r,
|
|
206
|
-
dataKey:
|
|
207
|
-
filterText:
|
|
208
|
-
filterOptions:
|
|
209
|
-
updateSelectedOptionsCache:
|
|
210
|
-
selectRef:
|
|
211
|
-
allowCustomValues:
|
|
212
|
-
manualCustomValues:
|
|
213
|
-
isSingle:
|
|
214
|
-
emit:
|
|
217
|
+
dataKey: a,
|
|
218
|
+
filterText: m,
|
|
219
|
+
filterOptions: D,
|
|
220
|
+
updateSelectedOptionsCache: O,
|
|
221
|
+
selectRef: l,
|
|
222
|
+
allowCustomValues: o,
|
|
223
|
+
manualCustomValues: s,
|
|
224
|
+
isSingle: f,
|
|
225
|
+
emit: p
|
|
215
226
|
});
|
|
216
|
-
return {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
227
|
+
return i(() => {
|
|
228
|
+
T();
|
|
229
|
+
}), {
|
|
230
|
+
isLoading: b,
|
|
231
|
+
showFooterLoader: P,
|
|
232
|
+
isDropdownOpen: k,
|
|
233
|
+
filterText: m,
|
|
234
|
+
filteredOptions: h,
|
|
235
|
+
getOptionLabel: C,
|
|
236
|
+
fetchOptions: w,
|
|
237
|
+
filterOptions: D,
|
|
238
|
+
onDropdownBeforeShow: A,
|
|
239
|
+
onDropdownBeforeHide: j,
|
|
240
|
+
onDropdownShow: M,
|
|
241
|
+
onDropdownHide: N,
|
|
242
|
+
onInputKeydown: F,
|
|
230
243
|
clearValue: () => {
|
|
231
244
|
let t = "";
|
|
232
|
-
Array.isArray(e.value) ? t = [] : typeof e.value == "object" && e.value !== null && (t = {}), e.value = t,
|
|
245
|
+
Array.isArray(e.value) ? t = [] : typeof e.value == "object" && e.value !== null && (t = {}), e.value = t, p("reset", t);
|
|
233
246
|
}
|
|
234
247
|
};
|
|
235
248
|
}, x = (e, t) => {
|
|
@@ -140,13 +140,22 @@ var u = {
|
|
|
140
140
|
OUTLINED: "outlined",
|
|
141
141
|
SIMPLE: "simple"
|
|
142
142
|
}, h = "rdt";
|
|
143
|
-
`${h}`, `${h}`, `${h}`, `${h}
|
|
143
|
+
`${h}`, `${h}`, `${h}`, `${h}`;
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/enums/SingleSignOnProvider/SingleSignOnProvider.ts
|
|
146
|
+
var g = {
|
|
147
|
+
Microsoft: "microsoft",
|
|
148
|
+
Google: "google",
|
|
149
|
+
Facebook: "facebook",
|
|
150
|
+
Custom: "custom"
|
|
151
|
+
};
|
|
152
|
+
g.Microsoft, g.Google, g.Facebook, g.Custom, Object.freeze({
|
|
144
153
|
CSV: "csv",
|
|
145
154
|
XLSX: "xlsx"
|
|
146
155
|
});
|
|
147
156
|
//#endregion
|
|
148
157
|
//#region src/enums/WebitelApplications/WtApplication.ts
|
|
149
|
-
var
|
|
158
|
+
var _ = {
|
|
150
159
|
Admin: "admin",
|
|
151
160
|
Agent: "agent",
|
|
152
161
|
Supervisor: "supervisor",
|
|
@@ -156,7 +165,7 @@ var g = {
|
|
|
156
165
|
Crm: "crm",
|
|
157
166
|
Wfm: "wfm",
|
|
158
167
|
Meet: "meet"
|
|
159
|
-
},
|
|
168
|
+
}, v = {
|
|
160
169
|
Text: "string",
|
|
161
170
|
Number: "int32",
|
|
162
171
|
Select: "lookup",
|
|
@@ -165,4 +174,4 @@ var g = {
|
|
|
165
174
|
Boolean: "bool"
|
|
166
175
|
};
|
|
167
176
|
//#endregion
|
|
168
|
-
export { f as a, l as c, r as d, n as f, p as i, c as l, e as m,
|
|
177
|
+
export { f as a, l as c, r as d, n as f, p as i, c as l, e as m, _ as n, d as o, t as p, m as r, u as s, v as t, s as u };
|