@webitel/ui-sdk 24.12.95 → 24.12.97

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +3179 -3219
  4. package/dist/ui-sdk.umd.cjs +16 -16
  5. package/package.json +14 -8
  6. package/src/api/defaults/getDefaultInstance/getDefaultInstance.js +5 -2
  7. package/src/api/defaults/index.js +1 -1
  8. package/src/components/wt-dual-panel/wt-dual-panel.vue +1 -2
  9. package/src/components/wt-icon-action/iconMappings.js +1 -1
  10. package/src/composables/useAccessControl/v2/createUserAccessControl.ts +66 -0
  11. package/src/composables/useAccessControl/v2/types/CreateUserAccessControl.d.ts +21 -0
  12. package/src/enums/CrudAction/CrudAction.js +6 -0
  13. package/src/enums/CrudAction/CrudAction.ts +8 -0
  14. package/src/enums/WtObject/WtObject.js +51 -1
  15. package/src/enums/WtObject/WtObject.ts +51 -1
  16. package/src/enums/index.js +6 -19
  17. package/src/enums/index.ts +33 -0
  18. package/src/locale/en/en.js +1 -1
  19. package/src/locale/ru/ru.js +1 -1
  20. package/src/locale/ua/ua.js +1 -1
  21. package/src/modules/Filters/v2/headers/createTableHeadersStore.ts +127 -78
  22. package/src/modules/Filters/v2/persist/usePersistedStorage.ts +0 -5
  23. package/src/modules/Filters/v2/table/createTableStore.store.ts +3 -2
  24. package/src/modules/Userinfo/api/userinfo.js +21 -34
  25. package/src/modules/Userinfo/store/UserinfoStoreModule.js +1 -1
  26. package/src/modules/Userinfo/v2/api/UserinfoAPI.ts +62 -0
  27. package/src/modules/Userinfo/v2/enums/GlobalActions/GlobalActions.ts +36 -0
  28. package/src/modules/Userinfo/v2/enums/ScopeClass/ScopeClass.ts +47 -0
  29. package/src/modules/Userinfo/v2/enums/index.ts +7 -0
  30. package/src/modules/Userinfo/v2/index.ts +0 -0
  31. package/src/modules/Userinfo/v2/mappings/mappings.ts +161 -0
  32. package/src/modules/Userinfo/v2/scripts/utils.ts +123 -0
  33. package/src/modules/Userinfo/v2/stores/__tests__/accessStore.spec.ts +136 -0
  34. package/src/modules/Userinfo/v2/stores/accessStore.ts +131 -0
  35. package/src/modules/Userinfo/v2/stores/userinfoStore.ts +56 -0
  36. package/src/modules/Userinfo/v2/types/UserAccess.d.ts +118 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,38 @@
1
+ ## [v24.12.96] - 2025-02-08
2
+ ### :bug: Bug Fixes
3
+ - [`3fd9d1e`](https://github.com/webitel/webitel-ui-sdk/commit/3fd9d1ea871f02265cbabe149b0c5cddd8f8962b) - access control v2 module redirct to /access-denied page on navigation guard restriction [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
4
+ - [`975473b`](https://github.com/webitel/webitel-ui-sdk/commit/975473b69433b8d2790a92ae4fdf17ee2123012e) - accessStore.spec.ts tests [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
5
+
6
+
7
+ ## [v24.12.95] - 2025-02-07
8
+ ### :sparkles: New Features
9
+ - [`7f82c8e`](https://github.com/webitel/webitel-ui-sdk/commit/7f82c8e043165fd824b201ea1b9972288d5f1076) - added validation for wt-select [WTEL-5922](https://webitel.atlassian.net/browse/WTEL-5922) *(commit by [@plnnsimon](https://github.com/plnnsimon))*
10
+ - [`a62b79e`](https://github.com/webitel/webitel-ui-sdk/commit/a62b79ef55178998d266310b6578ef743a9b9584) - crud action enum [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
11
+
12
+ ### :bug: Bug Fixes
13
+ - [`d603d79`](https://github.com/webitel/webitel-ui-sdk/commit/d603d79d79bb474406066199b514919f7d8c71d9) - access control application access [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
14
+ - [`a1aa50c`](https://github.com/webitel/webitel-ui-sdk/commit/a1aa50cfe8a551f65b100ee0085d80d3933b56a0) - cc_skill scope class addded [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
15
+ - [`b67717c`](https://github.com/webitel/webitel-ui-sdk/commit/b67717c88778ef7be31bb8512103f566a9ed6cd3) - types and build fixes [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
16
+ - [`3ccf93b`](https://github.com/webitel/webitel-ui-sdk/commit/3ccf93ba8a5d10b8facf917d9fd101641f827cee) - old userinfo module api usage [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
17
+ - [`516a1bb`](https://github.com/webitel/webitel-ui-sdk/commit/516a1bb91cf9d714c6e184803ab2955b38671275) - enum imports [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
18
+ - [`cfbebd9`](https://github.com/webitel/webitel-ui-sdk/commit/cfbebd9c5487f59a4f2907e1c8b65d98bfbd8525) - tsc issues preventing build fixed [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
19
+
20
+ ### :recycle: Refactors
21
+ - [`f874024`](https://github.com/webitel/webitel-ui-sdk/commit/f874024da0fe3b90fc0531f2ae0098a97df4949b) - user access v2 for directory/users [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5922) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
22
+ - [`ef4147a`](https://github.com/webitel/webitel-ui-sdk/commit/ef4147a8ab028d396c927332f04079c2ae72bd19) - access control composable testing and refactoring on admin/users [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
23
+ - [`66f2707`](https://github.com/webitel/webitel-ui-sdk/commit/66f270782d0c419ba5968c1322e27fa14f26c190) - enums compatibility in progress [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
24
+ - [`175c24f`](https://github.com/webitel/webitel-ui-sdk/commit/175c24f9a1c1302f913d1db27f63bce80ae0cca7) - compiled userinfo ts files [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
25
+ - [`9328dc0`](https://github.com/webitel/webitel-ui-sdk/commit/9328dc0a6cc607ad7882fa58ca736f96b47169dc) - upd user access mappings file [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
26
+ - [`0f3a0a9`](https://github.com/webitel/webitel-ui-sdk/commit/0f3a0a92325305ca5cc7b0a84866bb94d007160c) - access control refactors and fixes [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
27
+ - [`7a9ff09`](https://github.com/webitel/webitel-ui-sdk/commit/7a9ff09042a55824c7afb93623f89802244c4f24) - access control refactors and fixes [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
28
+ - [`a069a12`](https://github.com/webitel/webitel-ui-sdk/commit/a069a1287b09f97826ee2a6d50374dcd8bc93af1) - access control refactors and fixes [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
29
+ - [`6877d26`](https://github.com/webitel/webitel-ui-sdk/commit/6877d26988f56a644e143916ec7487b2d75498da) - access control refactors and fixes [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
30
+ - [`2d5225e`](https://github.com/webitel/webitel-ui-sdk/commit/2d5225e77607dc0b46927f769c6be2cc3fbb9652) - userinfo v2 module types, fixes, refactors [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
31
+ - [`16ab095`](https://github.com/webitel/webitel-ui-sdk/commit/16ab0958704ea7663ee9c392185b0f8cf1be4b20) - webitel applications enums rewritten and reused as ts files [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
32
+ - [`858c459`](https://github.com/webitel/webitel-ui-sdk/commit/858c4593a9bd430dd98f62fa8e768499d15a3418) - ts wt applications enums, im progress [WTEL-5592](https://webitel.atlassian.net/browse/WTEL-5592) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
33
+ - [`e271f67`](https://github.com/webitel/webitel-ui-sdk/commit/e271f677bc41730522441f5bfbac9702e9e22d21) - permissions prototype *(commit by [@dlohvinov](https://github.com/dlohvinov))*
34
+
35
+
1
36
  ## [v24.12.94] - 2025-02-06
2
37
  ### :recycle: Refactors
3
38
  - [`f57a4df`](https://github.com/webitel/webitel-ui-sdk/commit/f57a4df5599487ed0895d4386fcfc3160659bd7b) - websocket transferred to api folder [WTEL-5297](https://webitel.atlassian.net/browse/WTEL-5297) *(commit by [@VladimirBeria](https://github.com/VladimirBeria))*
@@ -1038,3 +1073,5 @@
1038
1073
  [v24.12.92]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.91...v24.12.92
1039
1074
  [v24.12.93]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.92...v24.12.93
1040
1075
  [v24.12.94]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.93...v24.12.94
1076
+ [v24.12.95]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.94...v24.12.95
1077
+ [v24.12.96]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.95...v24.12.96