@webitel/ui-sdk 24.12.15 → 24.12.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.12.15",
3
+ "version": "24.12.17",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -132,7 +132,7 @@
132
132
  "vue-multiselect": "^3.1.0",
133
133
  "vue-observe-visibility": "^2.0.0-alpha.1",
134
134
  "vue-router": "^4.4.5",
135
- "webitel-sdk": "^24.8.8",
135
+ "webitel-sdk": "^24.10.2",
136
136
  "xlsx": "^0.18.5"
137
137
  },
138
138
  "devDependencies": {
@@ -29,7 +29,7 @@ const formatAccessMode = (item) => ({
29
29
  });
30
30
 
31
31
  const getList = async (params) => {
32
- const fieldsToSend = ['page', 'size', 'q', 'sort', 'fields', 'id', 'qin'];
32
+ const fieldsToSend = ['page', 'size', 'q', 'sort', 'fields', 'id', 'qin', 'groupId', 'notIdGroup'];
33
33
 
34
34
  if (!params.fields) {
35
35
  params.fields = [
@@ -100,7 +100,7 @@ const getList = async (params) => {
100
100
 
101
101
  const transformations = [sanitize(fieldsToSend), merge(getDefaultGetParams()), camelToSnake()];
102
102
 
103
- const { page, size, q, sort, fields, id, qin } = applyTransform(changedParams, transformations);
103
+ const { page, size, q, sort, fields, id, qin, mode, group_id, not_id_group } = applyTransform(changedParams, transformations);
104
104
 
105
105
  try {
106
106
  const response = await contactService.searchContacts(
@@ -111,6 +111,9 @@ const getList = async (params) => {
111
111
  ['mode', ...fields],
112
112
  id,
113
113
  qin,
114
+ mode,
115
+ group_id,
116
+ not_id_group,
114
117
  );
115
118
 
116
119
  const { items, next } = applyTransform({ ...response.data, items: response.data.data || [] }, [
@@ -81,6 +81,7 @@ export const useCardComponent = (params) => {
81
81
  saveText,
82
82
 
83
83
  save,
84
+ initializeCard,
84
85
  initialize,
85
86
  }
86
87
  }