@webitel/ui-sdk 26.6.37 → 26.6.39

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.
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./chunk-CY3AvKd6.js";
2
2
  import { n as t, t as n } from "./dist-BYiYpK00.js";
3
- import "./components-uwwlHgGa.js";
3
+ import "./components-uIEntuLf.js";
4
4
  import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
5
  import { c as i } from "./enums-pbYAJNeb.js";
6
6
  import { t as a } from "./wt-button-DENbrKdy.js";
@@ -1,4 +1,4 @@
1
- import { c as e, i as t } from "./components-uwwlHgGa.js";
1
+ import { c as e, i as t } from "./components-uIEntuLf.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
- import { n as e } from "./components-uwwlHgGa.js";
1
+ import { n as e } from "./components-uIEntuLf.js";
2
2
  import { t } from "./vue-i18n-B8Px6VcD.js";
3
- import { n, r } from "./clients-CznP0r76.js";
3
+ import { n, r } from "./clients-D1HAMd56.js";
4
4
  import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, inject 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";
5
5
  //#endregion
6
6
  //#region src/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue
@@ -1,7 +1,7 @@
1
- import { a as e, o as t, r as n, s as r } from "./components-uwwlHgGa.js";
1
+ import { a as e, o as t, r as n, s as r } from "./components-uIEntuLf.js";
2
2
  import { t as i } from "./enums-pbYAJNeb.js";
3
3
  import { t as a } from "./vue-i18n-B8Px6VcD.js";
4
- import { t as o } from "./clients-CznP0r76.js";
4
+ import { t as o } from "./clients-D1HAMd56.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";
6
6
  //#endregion
7
7
  //#region src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue
@@ -1,4 +1,4 @@
1
- import { l as e } from "./components-uwwlHgGa.js";
1
+ import { l as e } from "./components-uIEntuLf.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { c as n } from "./enums-pbYAJNeb.js";
4
4
  import "./wt-button-DENbrKdy.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.6.37",
3
+ "version": "26.6.39",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -341,6 +341,10 @@
341
341
  "types": "./types/modules/Userinfo/index.d.ts",
342
342
  "import": "./src/modules/Userinfo/index.ts"
343
343
  },
344
+ "./modules/ObjectPermissions": {
345
+ "types": "./types/modules/ObjectPermissions/index.d.ts",
346
+ "import": "./src/modules/ObjectPermissions/index.ts"
347
+ },
344
348
  "./plugins*": {
345
349
  "types": "./types/plugins*",
346
350
  "import": "./src/plugins*"
@@ -273,7 +273,7 @@ onMounted(() => {
273
273
 
274
274
  .wt-multi-select__footer {
275
275
  position: absolute;
276
- width: 100%;
276
+ width: calc(100% - var(--scrollbar-width));
277
277
  transform: translateY(-100%);
278
278
  background: var(--p-multiselect-overlay-background);
279
279
  border-bottom-left-radius: var(--p-multiselect-overlay-border-radius);
@@ -245,7 +245,7 @@ onMounted(() => {
245
245
 
246
246
  .wt-single-select__footer {
247
247
  position: absolute;
248
- width: 100%;
248
+ width: calc(100% - var(--scrollbar-width));
249
249
  transform: translateY(-100%);
250
250
  background: var(--p-select-overlay-background);
251
251
  border-bottom-left-radius: var(--p-select-overlay-border-radius);
@@ -8,7 +8,7 @@ export const QueueType = {
8
8
  CHAT_INBOUND_QUEUE: 6,
9
9
  INBOUND_JOB_QUEUE: 7,
10
10
  OUTBOUND_JOB_QUEUE: 8,
11
- INBOUND_IM_CHAT_QUEUE: 9,
11
+ IM_CHAT_QUEUE: 9,
12
12
  } as const;
13
13
 
14
14
  export type QueueType = (typeof QueueType)[keyof typeof QueueType];
@@ -24,7 +24,7 @@ export const QueueTypeName = {
24
24
  INBOUND_JOB_QUEUE: 'task',
25
25
  OUTBOUND_JOB_QUEUE: 'outbound_task',
26
26
  OUTBOUND_CALL: 'outbound_call',
27
- INBOUND_IM_CHAT_QUEUE: 'inbound_im_chat',
27
+ IM_CHAT_QUEUE: 'im_chat',
28
28
  NOT_IMPLEMENT: 'NOT_IMPLEMENT',
29
29
  } as const;
30
30
 
@@ -217,7 +217,7 @@ export default deepmerge(
217
217
  [QueueType.CHAT_INBOUND_QUEUE]: 'Chat queue',
218
218
  [QueueType.INBOUND_JOB_QUEUE]: 'Inbound task queue',
219
219
  [QueueType.OUTBOUND_JOB_QUEUE]: 'Outbound task queue',
220
- [QueueType.INBOUND_IM_CHAT_QUEUE]: 'im queue',
220
+ [QueueType.IM_CHAT_QUEUE]: 'im queue',
221
221
  },
222
222
  },
223
223
  agent: {
@@ -0,0 +1 @@
1
+ export { createObjectPermissionsStoreModule } from './store';
@@ -22,6 +22,11 @@ const singleSelect = {
22
22
  .p-select.p-invalid:not(.p-disabled):hover {
23
23
  border-color: ${dt('select.invalidHoverBorderColor')};
24
24
  }
25
+
26
+ .p-select-option.p-select-option-selected:not(.p-disabled):hover {
27
+ background: ${dt('select.option.selectedFocusBackground')};
28
+ color: ${dt('select.option.selectedFocusColor')};
29
+ }
25
30
  `,
26
31
  };
27
32
 
@@ -76,7 +76,7 @@ const actions = {
76
76
  apiContext,
77
77
  { context: callerContext = {}, params = {} },
78
78
  ) => {
79
- if (!apiContext.state.api.getList)
79
+ if (!apiContext.state.api.getPermissionsList)
80
80
  throw Error('No API "getPermissionsList" method provided');
81
81
  return apiContext.state.api.getPermissionsList({
82
82
  ...callerContext.state,
@@ -89,7 +89,7 @@ const actions = {
89
89
  apiContext,
90
90
  { context: callerContext = {}, id, changes, ...rest },
91
91
  ) => {
92
- if (!apiContext.state.api.patch)
92
+ if (!apiContext.state.api.patchPermissions)
93
93
  throw Error('No API "patchPermissions" method provided');
94
94
  return apiContext.state.api.patchPermissions({
95
95
  ...callerContext.state,
@@ -8,7 +8,7 @@ export declare const QueueType: {
8
8
  readonly CHAT_INBOUND_QUEUE: 6;
9
9
  readonly INBOUND_JOB_QUEUE: 7;
10
10
  readonly OUTBOUND_JOB_QUEUE: 8;
11
- readonly INBOUND_IM_CHAT_QUEUE: 9;
11
+ readonly IM_CHAT_QUEUE: 9;
12
12
  };
13
13
  export type QueueType = (typeof QueueType)[keyof typeof QueueType];
14
14
  export declare const QueueTypeName: {
@@ -22,7 +22,7 @@ export declare const QueueTypeName: {
22
22
  readonly INBOUND_JOB_QUEUE: "task";
23
23
  readonly OUTBOUND_JOB_QUEUE: "outbound_task";
24
24
  readonly OUTBOUND_CALL: "outbound_call";
25
- readonly INBOUND_IM_CHAT_QUEUE: "inbound_im_chat";
25
+ readonly IM_CHAT_QUEUE: "im_chat";
26
26
  readonly NOT_IMPLEMENT: "NOT_IMPLEMENT";
27
27
  };
28
28
  export type QueueTypeName = (typeof QueueTypeName)[keyof typeof QueueTypeName];
@@ -0,0 +1 @@
1
+ export { createObjectPermissionsStoreModule } from './store';