@webitel/ui-sdk 25.4.74 → 25.4.76

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/CHANGELOG.md CHANGED
@@ -1,3 +1,32 @@
1
+ ## [v25.4.76] - 2025-04-28
2
+ ### :bug: Bug Fixes
3
+ - [`57b0ec0`](https://github.com/webitel/webitel-ui-sdk/commit/57b0ec0e4de78e6fc3d9c79bb87bf44f710b066e) - add 'ids' parameter to sysTypeRecordsList for improved query handling [WTEL-6788](https://webitel.atlassian.net/browse/WTEL-6788) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
4
+
5
+
6
+ ## [v25.4.75] - 2025-04-28
7
+ ### :bug: Bug Fixes
8
+ - [`d207244`](https://github.com/webitel/webitel-ui-sdk/commit/d207244427760698e2b20394d5f17463cf78d9b7) - import errors in locale[WTEL-4610](https://webitel.atlassian.net/browse/WTEL-6410) *(commit by [@Lera24](https://github.com/Lera24))*
9
+ - [`9358ff8`](https://github.com/webitel/webitel-ui-sdk/commit/9358ff8d1b6d469c64270fde866d5417f074315a) - webitel/ui-sdk version update[WTEL-6410](https://webitel.atlassian.net/browse/WTEL-6410) *(commit by [@Lera24](https://github.com/Lera24))*
10
+
11
+
12
+ ## [v25.4.74] - 2025-04-28
13
+ ### :sparkles: New Features
14
+ - [`412e739`](https://github.com/webitel/webitel-ui-sdk/commit/412e739dd3b9e56dd44a6f9f9848ae36f5b33348) - ui-datalist/filters/custom: simplify name retrieval in searchRecords using lodash.get [https://webitel.atlassian.net/browse/WTEL-6787](https://webitel.atlassian.net/browse/WTEL-6787) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
15
+ - [`c32196b`](https://github.com/webitel/webitel-ui-sdk/commit/c32196ba6a63167c714c2ac38d3ebf452c72d9d2) - add contacts filters[WTEL-6410](https://webitel.atlassian.net/browse/WTEL-6410) *(commit by [@Lera24](https://github.com/Lera24))*
16
+
17
+ ### :bug: Bug Fixes
18
+ - [`d5c2414`](https://github.com/webitel/webitel-ui-sdk/commit/d5c2414b00730ebca5a2c7064d92d12c59e40ff6) - merge master *(commit by [@Lera24](https://github.com/Lera24))*
19
+ - [`0b2e6ec`](https://github.com/webitel/webitel-ui-sdk/commit/0b2e6eca97f9df96fcde9e5eb6fa076b2e4b78ad) - contact group class [WTEL-6410](https://webitel.atlassian.net/browse/WTEL-6410) *(commit by [@Lera24](https://github.com/Lera24))*
20
+ - [`bf5ec5f`](https://github.com/webitel/webitel-ui-sdk/commit/bf5ec5fd453525637624b0e72532716ff0e02fcb) - add new type ts[WTEL-6410](https://webitel.atlassian.net/browse/WTEL-6410) *(commit by [@Lera24](https://github.com/Lera24))*
21
+ - [`90af640`](https://github.com/webitel/webitel-ui-sdk/commit/90af6406e952e540868a73dd72cf8a218181b8c5) - delete console.log[WTEL-6410](https://webitel.atlassian.net/browse/WTEL-6410) *(commit by [@Lera24](https://github.com/Lera24))*
22
+ - [`4941305`](https://github.com/webitel/webitel-ui-sdk/commit/49413051ac055e211a737cac59a36c9ab6df7cc3) - after code review[WTEL-6410](https://webitel.atlassian.net/browse/WTEL-6410) *(commit by [@Lera24](https://github.com/Lera24))*
23
+ - [`6ee2156`](https://github.com/webitel/webitel-ui-sdk/commit/6ee2156513b47b74abf0572891b1b237d78c33e3) - small refactor[WTEL-6410](https://webitel.atlassian.net/browse/WTEL-6410) *(commit by [@Lera24](https://github.com/Lera24))*
24
+ - [`88285eb`](https://github.com/webitel/webitel-ui-sdk/commit/88285eb22bbeacb84c02235fb83214809b8d5200) - conflict[WTEL-6410](https://webitel.atlassian.net/browse/WTEL-6410) *(commit by [@Lera24](https://github.com/Lera24))*
25
+
26
+ ### :wrench: Chores
27
+ - [`e22cd75`](https://github.com/webitel/webitel-ui-sdk/commit/e22cd751edd85be79e8317f6d77a2eb2b1751b4c) - update @webitel/ui-datalist to version 1.0.20 [https://webitel.atlassian.net/browse/WTEL-6787](https://webitel.atlassian.net/browse/WTEL-6787) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
28
+
29
+
1
30
  ## [v25.4.73] - 2025-04-24
2
31
  ### :sparkles: New Features
3
32
  - [`31667c2`](https://github.com/webitel/webitel-ui-sdk/commit/31667c2a12f8bb2c7be6ce70b0a0d50848c489f2) - add type extension and case assignee filter configurations *(commit by [@dlohvinov](https://github.com/dlohvinov))*
@@ -1987,3 +2016,6 @@
1987
2016
  [v25.4.71]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.70...v25.4.71
1988
2017
  [v25.4.72]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.71...v25.4.72
1989
2018
  [v25.4.73]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.72...v25.4.73
2019
+ [v25.4.74]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.73...v25.4.74
2020
+ [v25.4.75]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.74...v25.4.75
2021
+ [v25.4.76]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.75...v25.4.76
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.4.74",
3
+ "version": "25.4.76",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -14,11 +14,12 @@ import applyTransform, {
14
14
  const instance = getDefaultInstance();
15
15
 
16
16
  const getSysTypeRecordsList = async ({ path, display, primary, ...params }) => {
17
- const fieldsToSend = ['page', 'size', 'q', 'sort', 'fields', 'id'];
17
+ const fieldsToSend = ['page', 'size', 'q', 'sort', 'fields', 'id', 'ids'];
18
18
 
19
19
  const url = applyTransform(params, [
20
20
  merge(getDefaultGetParams()),
21
21
  (params) => ({ ...params, q: params.search }),
22
+ (params) => ({ ...params, ids: params.id }),
22
23
  sanitize(fieldsToSend),
23
24
  camelToSnake(),
24
25
  generateUrl(path),
@@ -19,7 +19,6 @@ import CrmSections from '../../enums/WebitelApplications/CrmSections.enum.js';
19
19
  import AdminSections from '../../enums/WebitelApplications/AdminSections.enum.js';
20
20
  import { AccessMode } from '../../modules/ObjectPermissions/_internals/enums/AccessMode.enum.js';
21
21
  import { snakeToCamel } from '../../scripts';
22
- import { FilterOption } from '../../../packages/ui-datalist/src/modules/filters/modules/filterConfig/enums/FilterOption';
23
22
 
24
23
  export default {
25
24
  // describes reusable buttons, actions, default titles, and other ui elements
@@ -557,7 +556,7 @@ export default {
557
556
  contact: ({ linked }) => {
558
557
  return linked('vocabulary.contact');
559
558
  },
560
- [FilterOption.ContactGroup]: ({ linked }) => {
559
+ contactGroup: ({ linked }) => {
561
560
  return linked('cases.groupPerformers');
562
561
  },
563
562
  createdAt: ({ linked }) => {
@@ -587,16 +586,16 @@ export default {
587
586
  hasTranscription: ({ linked }) => {
588
587
  return linked('objects.transcription');
589
588
  },
590
- [FilterOption.HasUser]: ({ linked }) => {
589
+ hasUser: ({ linked }) => {
591
590
  return linked('objects.user');
592
591
  },
593
592
  impacted: ({ linked }) => {
594
593
  return linked('cases.impacted');
595
594
  },
596
- [FilterOption.ContactLabel]: ({ linked }) => {
595
+ contactLabel: ({ linked }) => {
597
596
  return linked('vocabulary.labels');
598
597
  },
599
- [FilterOption.ContactOwner]: ({ linked }) => {
598
+ contactOwner: ({ linked }) => {
600
599
  return linked('objects.owner');
601
600
  },
602
601
  priority: ({ linked }) => {
@@ -5,7 +5,6 @@ import {
5
5
  ChannelType,
6
6
  EngineRoutingSchemaType,
7
7
  } from 'webitel-sdk';
8
- import { FilterOption } from '../../../packages/ui-datalist/src/modules/filters/modules/filterConfig/enums/FilterOption';
9
8
 
10
9
  import {
11
10
  AuditorSections,
@@ -553,7 +552,7 @@ export default {
553
552
  contact: ({ linked }) => {
554
553
  return linked('vocabulary.contact');
555
554
  },
556
- [FilterOption.ContactGroup]: ({ linked }) => {
555
+ contactGroup: ({ linked }) => {
557
556
  return linked('cases.groupPerformers');
558
557
  },
559
558
  createdAt: ({ linked }) => {
@@ -583,16 +582,16 @@ export default {
583
582
  hasTranscription: ({ linked }) => {
584
583
  return linked('objects.transcription');
585
584
  },
586
- [FilterOption.HasUser]: ({ linked }) => {
585
+ hasUser: ({ linked }) => {
587
586
  return linked('objects.user');
588
587
  },
589
588
  impacted: ({ linked }) => {
590
589
  return linked('cases.impacted');
591
590
  },
592
- [FilterOption.ContactLabel]: ({ linked }) => {
591
+ contactLabel: ({ linked }) => {
593
592
  return linked('vocabulary.labels');
594
593
  },
595
- [FilterOption.ContactOwner]: ({ linked }) => {
594
+ contactOwner: ({ linked }) => {
596
595
  return linked('objects.owner');
597
596
  },
598
597
  priority: ({ linked }) => {
@@ -5,7 +5,6 @@ import {
5
5
  ChannelType,
6
6
  EngineRoutingSchemaType,
7
7
  } from 'webitel-sdk';
8
- import { FilterOption } from '../../../packages/ui-datalist/src/modules/filters/modules/filterConfig/enums/FilterOption';
9
8
 
10
9
  import {
11
10
  AuditorSections,
@@ -553,7 +552,7 @@ export default {
553
552
  contact: ({ linked }) => {
554
553
  return linked('vocabulary.contact');
555
554
  },
556
- [FilterOption.ContactGroup]: ({ linked }) => {
555
+ contactGroup: ({ linked }) => {
557
556
  return linked('cases.groupPerformers');
558
557
  },
559
558
  createdAt: ({ linked }) => {
@@ -583,16 +582,16 @@ export default {
583
582
  hasTranscription: ({ linked }) => {
584
583
  return linked('objects.transcription');
585
584
  },
586
- [FilterOption.HasUser]: ({ linked }) => {
585
+ hasUser: ({ linked }) => {
587
586
  return linked('objects.user');
588
587
  },
589
588
  impacted: ({ linked }) => {
590
589
  return linked('cases.impacted');
591
590
  },
592
- [FilterOption.ContactLabel]: ({ linked }) => {
591
+ contactLabel: ({ linked }) => {
593
592
  return linked('vocabulary.labels');
594
593
  },
595
- [FilterOption.ContactOwner]: ({ linked }) => {
594
+ contactOwner: ({ linked }) => {
596
595
  return linked('objects.owner');
597
596
  },
598
597
  priority: ({ linked }) => {