@webitel/ui-sdk 26.8.151 → 26.8.153
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-Bn77MDFb.js → clients-BS52VCEA.js} +237 -19
- package/dist/{components-DFU2gMZC.js → components-D2-r7suP.js} +21 -12
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +476 -437
- package/dist/{wt-chat-emoji-CDJIdeXU.js → wt-chat-emoji-DY9CjuAU.js} +1 -1
- package/dist/{wt-display-chip-items-Dj0fY1dF.js → wt-display-chip-items-dggFa-kX.js} +1 -1
- package/dist/{wt-send-message-popup-SNflIgQ8.js → wt-send-message-popup-BFEY-Mub.js} +2 -2
- package/dist/{wt-type-extension-value-input-BgTpak2x.js → wt-type-extension-value-input-CkDs3VWL.js} +2 -2
- package/dist/{wt-vidstack-player-BO7ozD50.js → wt-vidstack-player-B8tTDkf3.js} +1 -1
- package/package.json +1 -1
- package/src/api/clients/roles/roles.ts +3 -0
- package/src/api/transformers/notify/notify.transformer.js +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/types/.tsbuildinfo +1 -1
- 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-D2-r7suP.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { t as r } from "./utils-DQQQIpjz.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-D2-r7suP.js";
|
|
2
2
|
import "./convertDuration-CIPonKKW.js";
|
|
3
|
-
import { i as t, r as n } from "./clients-
|
|
3
|
+
import { i as t, r as n } from "./clients-BS52VCEA.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-BgTpak2x.js → wt-type-extension-value-input-CkDs3VWL.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./dist-EXdgfpvN.js";
|
|
2
2
|
import { n as e } from "./genClient-CvWlQ0TZ.js";
|
|
3
|
-
import { a as t, o as n, r, s as i, w as a } from "./components-
|
|
4
|
-
import { n as o, t as s } from "./clients-
|
|
3
|
+
import { a as t, o as n, r, s as i, w as a } from "./components-D2-r7suP.js";
|
|
4
|
+
import { n as o, t as s } from "./clients-BS52VCEA.js";
|
|
5
5
|
import { a as c, c as l, i as u, n as d, o as f, p, r as m, s as h, t as g } from "./enums-CKer6GJR.js";
|
|
6
6
|
import { n as _ } from "./vue-i18n-VBiROMZ4.js";
|
|
7
7
|
import "./wt-toast-3-3ZylQ9.js";
|
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { translateError } from '@webitel/api-services/api/transformers';
|
|
1
2
|
import deepCopy from 'deep-copy';
|
|
2
3
|
import { RolesApiFactory } from 'webitel-sdk';
|
|
3
4
|
import { ApplicationsAccess } from '../../../modules/Userinfo';
|
|
@@ -139,6 +140,7 @@ const addRole = async ({ itemInstance }: AddItemParams) => {
|
|
|
139
140
|
]);
|
|
140
141
|
} catch (err) {
|
|
141
142
|
throw applyTransform(err, [
|
|
143
|
+
translateError,
|
|
142
144
|
notify,
|
|
143
145
|
]);
|
|
144
146
|
}
|
|
@@ -162,6 +164,7 @@ const updateRole = async ({
|
|
|
162
164
|
]);
|
|
163
165
|
} catch (err) {
|
|
164
166
|
throw applyTransform(err, [
|
|
167
|
+
translateError,
|
|
165
168
|
notify,
|
|
166
169
|
]);
|
|
167
170
|
}
|
|
@@ -30,6 +30,7 @@ const notifyTransformer = (notificationObject) => {
|
|
|
30
30
|
eventBus.$emit('notification', {
|
|
31
31
|
type: 'error',
|
|
32
32
|
text:
|
|
33
|
+
notificationObject.response?.data?.translation ||
|
|
33
34
|
notificationObject.response?.data?.detail ||
|
|
34
35
|
notificationObject.response?.data?.message ||
|
|
35
36
|
notificationObject,
|
package/src/locale/en/en.js
CHANGED
package/src/locale/es/es.js
CHANGED
package/src/locale/kz/kz.js
CHANGED
package/src/locale/pl/pl.js
CHANGED
package/src/locale/ro/ro.js
CHANGED
package/src/locale/ru/ru.js
CHANGED
package/src/locale/uk/uk.js
CHANGED
package/src/locale/uz/uz.js
CHANGED