@webitel/ui-sdk 25.4.48 → 25.4.49

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,28 @@
1
+ ## [v25.4.48] - 2025-04-02
2
+ ### :sparkles: New Features
3
+ - [`9225a8f`](https://github.com/webitel/webitel-ui-sdk/commit/9225a8f6f24a3397d5295313b8170b70ad2925c3) - added readme file to @webitel/ui-datalist npm pckg [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
4
+ - [`db1cdf4`](https://github.com/webitel/webitel-ui-sdk/commit/db1cdf49372e8de131d9e0cd5ef567e4faeab092) - @webitel/ui-datalist npm pckg [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
5
+ - [`310e4d6`](https://github.com/webitel/webitel-ui-sdk/commit/310e4d645d26b176121e5063cfe80c2a1d1c0090) - eslint+prettier, + reformatting [WTEL-6536](https://webitel.atlassian.net/browse/WTEL-6536) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
6
+ - [`53ee405`](https://github.com/webitel/webitel-ui-sdk/commit/53ee40541333e565222a7cd828386b3c3f3a36ad) - eslint+prettier, + reformatting [WTEL-6536](https://webitel.atlassian.net/browse/WTEL-6536) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
7
+
8
+ ### :bug: Bug Fixes
9
+ - [`02680c3`](https://github.com/webitel/webitel-ui-sdk/commit/02680c3d56ca632e4f492b96950de8800c181606) - webitel-ui entry points update [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
10
+ - [`8446027`](https://github.com/webitel/webitel-ui-sdk/commit/8446027ac981b6ad4ba02b10d62e16bb144e3695) - ui-datalist package @webitel/ui-sdk import fixes from relative paths to package [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
11
+ - [`4d80543`](https://github.com/webitel/webitel-ui-sdk/commit/4d80543cc9b8850460ca8d71e458545eec700b16) - linting scope [WTEL-6536](https://webitel.atlassian.net/browse/WTEL-6536) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
12
+ - [`50ed7b2`](https://github.com/webitel/webitel-ui-sdk/commit/50ed7b21e6ced1c4c3a82137298e21f1040b1b24) - pre-commit hook upd test commit [WTEL-6536](https://webitel.atlassian.net/browse/WTEL-6536) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
13
+ - [`5168ceb`](https://github.com/webitel/webitel-ui-sdk/commit/5168ceb270a957c9565f50156517f66b628881d2) - pre-commit hook upd test commit [WTEL-6536](https://webitel.atlassian.net/browse/WTEL-6536) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
14
+
15
+ ### :recycle: Refactors
16
+ - [`9dbb623`](https://github.com/webitel/webitel-ui-sdk/commit/9dbb62349d1dcebc4fd567c00b92d02d8f0ff0d0) - ran reformat code [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
17
+ - [`56c65f3`](https://github.com/webitel/webitel-ui-sdk/commit/56c65f39f0a38d9160aae99df3bcb100963b4360) - filters panel moved to ui-datalist pckg [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
18
+ - [`ee07c7c`](https://github.com/webitel/webitel-ui-sdk/commit/ee07c7c64d90f5026cf6683e120f79637648b729) - rfactoring filters panel in progress [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
19
+ - [`e0d1370`](https://github.com/webitel/webitel-ui-sdk/commit/e0d1370f1e4ad8d25395fc9b4a1697791e8af063) - moving filters panel to lib in progress [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
20
+ - [`460dc66`](https://github.com/webitel/webitel-ui-sdk/commit/460dc66cb9e412280cb218b6c007499c7ba65a45) - ui-sdk package.json exports, lang=sass removed from ui-datalist [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
21
+ - [`77a9b08`](https://github.com/webitel/webitel-ui-sdk/commit/77a9b087dc998954d513930c8f42c446dd1af502) - ui-sdk package.json exports, lang=sass removed from ui-datalist [WTEL-6522](https://webitel.atlassian.net/browse/WTEL-6522) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
22
+ - [`86e7add`](https://github.com/webitel/webitel-ui-sdk/commit/86e7add3c2c060857b9286ac29b3a71a8c9eac6e) - run project linting + code reformatting [WTEL-6536](https://webitel.atlassian.net/browse/WTEL-6536) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
23
+ - [`3983732`](https://github.com/webitel/webitel-ui-sdk/commit/39837327e5b07f3ed8aa07a9b062128ff54adee9) - eslint config updates [WTEL-6536](https://webitel.atlassian.net/browse/WTEL-6536) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
24
+
25
+
1
26
  ## [v25.4.47] - 2025-03-26
2
27
 
3
28
  ### :recycle: Refactors
@@ -1768,3 +1793,4 @@
1768
1793
  [v25.4.45]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.44...v25.4.45
1769
1794
  [v25.4.46]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.45...v25.4.46
1770
1795
  [v25.4.47]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.46...v25.4.47
1796
+ [v25.4.48]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.47...v25.4.48
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.4.48",
3
+ "version": "25.4.49",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -5,6 +5,7 @@ import calendars from './calendars/calendars.js';
5
5
  import caseCloseReasonGroups from './caseCloseReasonGroups/caseCloseReasonGroups.js';
6
6
  import caseCloseReasons from './caseCloseReasons/caseCloseReasons.js';
7
7
  import casePriorities from './casePriorities/casePriorities.js';
8
+ import caseServiceCatalogs from './caseServiceCatalogs/serviceCatalogs.js';
8
9
  import caseSources from './caseSources/caseSources.js';
9
10
  import caseStatusConditions from './caseStatusConditions/caseStatusConditions.js';
10
11
  import caseStatuses from './caseStatuses/caseStatuses.js';
@@ -34,6 +35,7 @@ export {
34
35
  caseCloseReasonGroups,
35
36
  caseCloseReasons,
36
37
  casePriorities,
38
+ caseServiceCatalogs,
37
39
  caseSources,
38
40
  caseStatusConditions,
39
41
  caseStatuses,
@@ -32,6 +32,10 @@ const getRoleList = async (params) => {
32
32
 
33
33
  const url = applyTransform(params, [
34
34
  merge(getDefaultGetParams()),
35
+ (params) => {
36
+ params.ids = params.ids || params.id; // accept either ids or id as param
37
+ return params;
38
+ },
35
39
  starToSearch('search'),
36
40
  (params) => ({ ...params, q: params.search }),
37
41
  sanitize(fieldsToSend),
@@ -1,4 +1,4 @@
1
- import ServiceCatalogsAPI from '../../../../../../../api/clients/caseServiceCatalogs/service-catalogs.js';
1
+ import ServiceCatalogsAPI from '../../../../../../../api/clients/caseServiceCatalogs/serviceCatalogs.js';
2
2
  import ServicesAPI from '../../../../../../../api/clients/caseServices/services.js';
3
3
 
4
4
  export const searchMethod = ServiceCatalogsAPI.getList;