@webitel/ui-sdk 24.10.76 → 24.10.78

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,5 +1,20 @@
1
1
 
2
2
 
3
+ ## [v24.10.77] - 2024-11-13
4
+ ### :bug: Bug Fixes
5
+ - [`0f67887`](https://github.com/webitel/webitel-ui-sdk/commit/0f67887cd5949e7edf943d79fa1eb0b99be0df15) - fix error with not throw emit from delete-confirmation-popup [WTEL-5522](https://webitel.atlassian.net/browse/WTEL-5522)
6
+
7
+
8
+ ## [v24.10.76] - 2024-11-13
9
+ ### :sparkles: New Features
10
+ - [`c73fefb`](https://github.com/webitel/webitel-ui-sdk/commit/c73fefbd50cd6bd981a49d83700ad7256fd2cdf3) - add composables in docs[WTEL-5282] *(commit by [@Lera24](https://github.com/Lera24))*
11
+
12
+ ### :bug: Bug Fixes
13
+ - [`f1d9ff6`](https://github.com/webitel/webitel-ui-sdk/commit/f1d9ff6812e826a75eba7dc530038901f1e48f7f) - queryfilters module sort filters set/reset [WTEL-5520](https://webitel.atlassian.net/browse/WTEL-5520) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
14
+ - [`99b7026`](https://github.com/webitel/webitel-ui-sdk/commit/99b7026d48f41dce49401a1d0a16d70b77c6b553) - style code in composables docs[WTEL-5282](https://webitel.atlassian.net/browse/WTEL-5282) *(commit by [@Lera24](https://github.com/Lera24))*
15
+ - [`49a0c72`](https://github.com/webitel/webitel-ui-sdk/commit/49a0c72898e733fb8941e33cc92c19a20079cb2a) - docs after code review[WTEL-5282](https://webitel.atlassian.net/browse/WTEL-5282) *(commit by [@Lera24](https://github.com/Lera24))*
16
+
17
+
3
18
  ## [v24.10.75] - 2024-11-13
4
19
  ### :bug: Bug Fixes
5
20
  - [`66327ee`](https://github.com/webitel/webitel-ui-sdk/commit/66327ee37bc3e08ac5837483a15aa2e3e5ab1cc9) - locale in useCardComponent composable[WTEL-5282](https://webitel.atlassian.net/browse/WTEL-5282) *(commit by [@Lera24](https://github.com/Lera24))*
@@ -186,3 +201,5 @@
186
201
  [v24.10.73]: https://github.com/webitel/webitel-ui-sdk/compare/v24.10.72...v24.10.73
187
202
  [v24.10.74]: https://github.com/webitel/webitel-ui-sdk/compare/v24.10.73...v24.10.74
188
203
  [v24.10.75]: https://github.com/webitel/webitel-ui-sdk/compare/v24.10.74...v24.10.75
204
+ [v24.10.76]: https://github.com/webitel/webitel-ui-sdk/compare/v24.10.75...v24.10.76
205
+ [v24.10.77]: https://github.com/webitel/webitel-ui-sdk/compare/v24.10.76...v24.10.77
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.10.76",
3
+ "version": "24.10.78",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -16,6 +16,7 @@ const contactChatService = new ContactsChatCatalogApiFactory(configuration, '',
16
16
 
17
17
  const getChat = async ({ contactId, chatId }) => {
18
18
  const mergeChatMessagesData = ({ messages, peers }) => {
19
+ if (!messages) return [];
19
20
  return messages.map(({ from, ...message }) => {
20
21
  return {
21
22
  ...message,
@@ -40,6 +41,7 @@ const getChat = async ({ contactId, chatId }) => {
40
41
  const getAllMessages = async (params) => {
41
42
 
42
43
  const mergeMessagesData = ({ messages, peers, chats }) => {
44
+ if (!messages) return [];
43
45
  return messages.map(({ from, chat, ...message }) => {
44
46
  return {
45
47
  ...message,
@@ -4,6 +4,7 @@
4
4
  class="delete-confirmation-popup"
5
5
  :title="$t('webitelUI.deleteConfirmationPopup.title')"
6
6
  :callback="callback"
7
+ @close="$emit('close')"
7
8
  >
8
9
  <template #main>
9
10
  <div class="delete-confirmation-popup__content">