@volo/abp.ng.chat 9.3.0-rc.2 → 9.3.0-rc.3

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 (67) hide show
  1. package/config/index.d.ts +89 -5
  2. package/fesm2022/volo-abp.ng.chat-config.mjs +13 -13
  3. package/fesm2022/volo-abp.ng.chat-config.mjs.map +1 -1
  4. package/fesm2022/volo-abp.ng.chat-proxy.mjs +9 -9
  5. package/fesm2022/volo-abp.ng.chat-proxy.mjs.map +1 -1
  6. package/fesm2022/volo-abp.ng.chat.mjs +26 -26
  7. package/fesm2022/volo-abp.ng.chat.mjs.map +1 -1
  8. package/index.d.ts +199 -5
  9. package/package.json +1 -1
  10. package/proxy/index.d.ts +122 -5
  11. package/config/chat-config.module.d.ts +0 -14
  12. package/config/components/chat-icon.component.d.ts +0 -7
  13. package/config/components/chat-tab.component.d.ts +0 -29
  14. package/config/enums/chat-module-tab-names.d.ts +0 -3
  15. package/config/enums/delete-message.enums.d.ts +0 -9
  16. package/config/enums/index.d.ts +0 -2
  17. package/config/enums/policy-names.d.ts +0 -3
  18. package/config/enums/route-names.d.ts +0 -3
  19. package/config/models/deleteMessage.model.d.ts +0 -10
  20. package/config/providers/chat-config.provider.d.ts +0 -1
  21. package/config/providers/chat-module-settings.provider.d.ts +0 -2
  22. package/config/providers/index.d.ts +0 -4
  23. package/config/providers/nav-item.provider.d.ts +0 -2
  24. package/config/providers/route.provider.d.ts +0 -2
  25. package/config/public-api.d.ts +0 -7
  26. package/config/services/chat-config.service.d.ts +0 -43
  27. package/config/services/index.d.ts +0 -1
  28. package/config/validators/index.d.ts +0 -1
  29. package/config/validators/message-deletion.validator.d.ts +0 -2
  30. package/lib/chat-routing.module.d.ts +0 -7
  31. package/lib/chat.module.d.ts +0 -20
  32. package/lib/chat.routes.d.ts +0 -2
  33. package/lib/components/chat-contacts.component.d.ts +0 -32
  34. package/lib/components/chat-message-title.component.d.ts +0 -8
  35. package/lib/components/chat.component.d.ts +0 -52
  36. package/lib/components/conversation-avatar.component.d.ts +0 -14
  37. package/lib/components/index.d.ts +0 -4
  38. package/lib/enums/chat-message-side.d.ts +0 -4
  39. package/lib/enums/index.d.ts +0 -1
  40. package/lib/models/chat-conversation-dto.d.ts +0 -7
  41. package/lib/models/chat-message-dto.d.ts +0 -9
  42. package/lib/models/chat-target-user-info.d.ts +0 -7
  43. package/lib/models/get-conversation-input.d.ts +0 -7
  44. package/lib/models/index.d.ts +0 -8
  45. package/lib/models/mark-conversation-as-read-input.d.ts +0 -4
  46. package/lib/models/send-message-input.d.ts +0 -5
  47. package/lib/models/send-on-enter-setting-dto.d.ts +0 -4
  48. package/lib/services/conversation.service.d.ts +0 -17
  49. package/lib/services/index.d.ts +0 -2
  50. package/lib/services/settings.service.d.ts +0 -12
  51. package/proxy/lib/index.d.ts +0 -4
  52. package/proxy/lib/proxy/volo/chat/conversations/conversation.service.d.ts +0 -16
  53. package/proxy/lib/proxy/volo/chat/conversations/index.d.ts +0 -2
  54. package/proxy/lib/proxy/volo/chat/conversations/models.d.ts +0 -16
  55. package/proxy/lib/proxy/volo/chat/messages/chat-deleting-conversations.enum.d.ts +0 -5
  56. package/proxy/lib/proxy/volo/chat/messages/chat-deleting-messages.enum.d.ts +0 -6
  57. package/proxy/lib/proxy/volo/chat/messages/chat-message-side.enum.d.ts +0 -5
  58. package/proxy/lib/proxy/volo/chat/messages/index.d.ts +0 -4
  59. package/proxy/lib/proxy/volo/chat/messages/models.d.ts +0 -17
  60. package/proxy/lib/proxy/volo/chat/settings/index.d.ts +0 -2
  61. package/proxy/lib/proxy/volo/chat/settings/models.d.ts +0 -10
  62. package/proxy/lib/proxy/volo/chat/settings/settings.service.d.ts +0 -13
  63. package/proxy/lib/proxy/volo/chat/users/contact.service.d.ts +0 -12
  64. package/proxy/lib/proxy/volo/chat/users/index.d.ts +0 -2
  65. package/proxy/lib/proxy/volo/chat/users/models.d.ts +0 -22
  66. package/proxy/public-api.d.ts +0 -1
  67. package/public-api.d.ts +0 -6
@@ -1,14 +0,0 @@
1
- import { ChatContactDto } from '@volo/abp.ng.chat/proxy';
2
- import * as i0 from "@angular/core";
3
- export declare class ConversationAvatarComponent {
4
- contact: ChatContactDto;
5
- small: boolean | string;
6
- get avatarText(): string;
7
- get avatarBgStyle(): {
8
- color: string;
9
- backgroundColor: string;
10
- };
11
- get isSmall(): boolean;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ConversationAvatarComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<ConversationAvatarComponent, "abp-conversation-avatar", never, { "contact": { "alias": "contact"; "required": false; }; "small": { "alias": "small"; "required": false; }; }, {}, never, never, true, never>;
14
- }
@@ -1,4 +0,0 @@
1
- export * from './chat.component';
2
- export * from './chat-contacts.component';
3
- export * from './conversation-avatar.component';
4
- export * from './chat-message-title.component';
@@ -1,4 +0,0 @@
1
- export declare enum ChatMessageSide {
2
- Sender = 1,
3
- Receiver = 2
4
- }
@@ -1 +0,0 @@
1
- export * from './chat-message-side';
@@ -1,7 +0,0 @@
1
- import { ChatTargetUserInfo } from './chat-target-user-info';
2
- import { ChatMessageDto } from './chat-message-dto';
3
- export declare class ChatConversationDto {
4
- messages: ChatMessageDto[];
5
- targetUserInfo: ChatTargetUserInfo;
6
- constructor(initialValues?: Partial<ChatConversationDto>);
7
- }
@@ -1,9 +0,0 @@
1
- import { ChatMessageSide } from '../enums/chat-message-side';
2
- export declare class ChatMessageDto {
3
- message: string;
4
- messageDate: Date | string;
5
- isRead: boolean;
6
- readDate: Date | string;
7
- side: ChatMessageSide;
8
- constructor(initialValues?: Partial<ChatMessageDto>);
9
- }
@@ -1,7 +0,0 @@
1
- export declare class ChatTargetUserInfo {
2
- userId: string;
3
- name: string;
4
- surname: string;
5
- username: string;
6
- constructor(initialValues?: Partial<ChatTargetUserInfo>);
7
- }
@@ -1,7 +0,0 @@
1
- import { PagedResultRequestDto } from '@abp/ng.core';
2
- export declare class GetConversationInput extends PagedResultRequestDto {
3
- targetUserId: string;
4
- skipCount: number;
5
- maxResultCount: number;
6
- constructor(initialValues?: Partial<GetConversationInput>);
7
- }
@@ -1,8 +0,0 @@
1
- export * from './chat-conversation-dto';
2
- export * from './chat-message-dto';
3
- export * from './chat-target-user-info';
4
- export * from './get-conversation-input';
5
- export * from './get-conversation-input';
6
- export * from './mark-conversation-as-read-input';
7
- export * from './send-message-input';
8
- export * from './send-on-enter-setting-dto';
@@ -1,4 +0,0 @@
1
- export declare class MarkConversationAsReadInput {
2
- targetUserId: string;
3
- constructor(initialValues?: Partial<MarkConversationAsReadInput>);
4
- }
@@ -1,5 +0,0 @@
1
- export declare class SendMessageInput {
2
- targetUserId: string;
3
- message: string;
4
- constructor(initialValues?: Partial<SendMessageInput>);
5
- }
@@ -1,4 +0,0 @@
1
- export declare class SendOnEnterSettingDto {
2
- sendOnEnter: boolean;
3
- constructor(initialValues?: Partial<SendOnEnterSettingDto>);
4
- }
@@ -1,17 +0,0 @@
1
- import { RestService } from '@abp/ng.core';
2
- import { Observable } from 'rxjs';
3
- import { SendMessageInput } from '../models/send-message-input';
4
- import { GetConversationInput } from '../models/get-conversation-input';
5
- import { MarkConversationAsReadInput } from '../models/mark-conversation-as-read-input';
6
- import { ChatConversationDto } from '../models/chat-conversation-dto';
7
- import * as i0 from "@angular/core";
8
- export declare class ConversationService {
9
- private restService;
10
- apiName: string;
11
- constructor(restService: RestService);
12
- sendMessageByInput(body: SendMessageInput): Observable<void>;
13
- getConversationByInput(params?: GetConversationInput): Observable<ChatConversationDto>;
14
- markConversationAsReadByInput(body: MarkConversationAsReadInput): Observable<void>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ConversationService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<ConversationService>;
17
- }
@@ -1,2 +0,0 @@
1
- export * from './conversation.service';
2
- export * from './settings.service';
@@ -1,12 +0,0 @@
1
- import { RestService } from '@abp/ng.core';
2
- import { Observable } from 'rxjs';
3
- import { SendOnEnterSettingDto } from '../models/send-on-enter-setting-dto';
4
- import * as i0 from "@angular/core";
5
- export declare class SettingsService {
6
- private restService;
7
- apiName: string;
8
- constructor(restService: RestService);
9
- setSendOnEnterSettingByInput(body: SendOnEnterSettingDto): Observable<void>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
12
- }
@@ -1,4 +0,0 @@
1
- export * from './proxy/volo/chat/conversations';
2
- export * from './proxy/volo/chat/messages';
3
- export * from './proxy/volo/chat/settings';
4
- export * from './proxy/volo/chat/users';
@@ -1,16 +0,0 @@
1
- import type { ChatConversationDto, DeleteConversationInput, GetConversationInput, MarkConversationAsReadInput } from './models';
2
- import { RestService, Rest } from '@abp/ng.core';
3
- import type { ChatMessageDto, DeleteMessageInput, SendMessageInput } from '../messages/models';
4
- import * as i0 from "@angular/core";
5
- export declare class ConversationService {
6
- private restService;
7
- apiName: string;
8
- deleteConversation: (input: DeleteConversationInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
9
- deleteMessage: (input: DeleteMessageInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
10
- getConversation: (input: GetConversationInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<ChatConversationDto>;
11
- markConversationAsRead: (input: MarkConversationAsReadInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
12
- sendMessage: (input: SendMessageInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<ChatMessageDto>;
13
- constructor(restService: RestService);
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ConversationService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<ConversationService>;
16
- }
@@ -1,2 +0,0 @@
1
- export * from './conversation.service';
2
- export * from './models';
@@ -1,16 +0,0 @@
1
- import type { ChatMessageDto } from '../messages/models';
2
- import type { ChatTargetUserInfo } from '../users/models';
3
- import type { PagedResultRequestDto } from '@abp/ng.core';
4
- export interface ChatConversationDto {
5
- messages: ChatMessageDto[];
6
- targetUserInfo: ChatTargetUserInfo;
7
- }
8
- export interface DeleteConversationInput {
9
- targetUserId?: string;
10
- }
11
- export interface GetConversationInput extends PagedResultRequestDto {
12
- targetUserId?: string;
13
- }
14
- export interface MarkConversationAsReadInput {
15
- targetUserId?: string;
16
- }
@@ -1,5 +0,0 @@
1
- export declare enum ChatDeletingConversations {
2
- Enabled = 1,
3
- Disabled = 2
4
- }
5
- export declare const chatDeletingConversationsOptions: import("@abp/ng.core").ABP.Option<typeof ChatDeletingConversations>[];
@@ -1,6 +0,0 @@
1
- export declare enum ChatDeletingMessages {
2
- Enabled = 1,
3
- Disabled = 2,
4
- EnabledWithDeletionPeriod = 3
5
- }
6
- export declare const chatDeletingMessagesOptions: import("@abp/ng.core").ABP.Option<typeof ChatDeletingMessages>[];
@@ -1,5 +0,0 @@
1
- export declare enum ChatMessageSide {
2
- Sender = 1,
3
- Receiver = 2
4
- }
5
- export declare const chatMessageSideOptions: import("@abp/ng.core").ABP.Option<typeof ChatMessageSide>[];
@@ -1,4 +0,0 @@
1
- export * from './chat-deleting-conversations.enum';
2
- export * from './chat-deleting-messages.enum';
3
- export * from './chat-message-side.enum';
4
- export * from './models';
@@ -1,17 +0,0 @@
1
- import type { ChatMessageSide } from './chat-message-side.enum';
2
- export interface ChatMessageDto {
3
- id?: string;
4
- message?: string;
5
- messageDate?: string;
6
- isRead: boolean;
7
- readDate?: string;
8
- side: ChatMessageSide;
9
- }
10
- export interface DeleteMessageInput {
11
- targetUserId?: string;
12
- messageId?: string;
13
- }
14
- export interface SendMessageInput {
15
- targetUserId?: string;
16
- message: string;
17
- }
@@ -1,2 +0,0 @@
1
- export * from './models';
2
- export * from './settings.service';
@@ -1,10 +0,0 @@
1
- import type { ChatDeletingMessages } from '../messages/chat-deleting-messages.enum';
2
- import type { ChatDeletingConversations } from '../messages/chat-deleting-conversations.enum';
3
- export interface ChatSettingsDto {
4
- deletingMessages: ChatDeletingMessages;
5
- messageDeletionPeriod: number;
6
- deletingConversations: ChatDeletingConversations;
7
- }
8
- export interface SendOnEnterSettingDto {
9
- sendOnEnter: boolean;
10
- }
@@ -1,13 +0,0 @@
1
- import type { ChatSettingsDto, SendOnEnterSettingDto } from './models';
2
- import { RestService, Rest } from '@abp/ng.core';
3
- import * as i0 from "@angular/core";
4
- export declare class SettingsService {
5
- private restService;
6
- apiName: string;
7
- get: (config?: Partial<Rest.Config>) => import("rxjs").Observable<ChatSettingsDto>;
8
- setSendOnEnterSetting: (input: SendOnEnterSettingDto, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
9
- update: (input: ChatSettingsDto, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
10
- constructor(restService: RestService);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
13
- }
@@ -1,12 +0,0 @@
1
- import type { ChatContactDto, GetContactsInput } from './models';
2
- import { RestService, Rest } from '@abp/ng.core';
3
- import * as i0 from "@angular/core";
4
- export declare class ContactService {
5
- private restService;
6
- apiName: string;
7
- getContacts: (input: GetContactsInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<ChatContactDto[]>;
8
- getTotalUnreadMessageCount: (config?: Partial<Rest.Config>) => import("rxjs").Observable<number>;
9
- constructor(restService: RestService);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ContactService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<ContactService>;
12
- }
@@ -1,2 +0,0 @@
1
- export * from './contact.service';
2
- export * from './models';
@@ -1,22 +0,0 @@
1
- import type { ChatMessageSide } from '../messages/chat-message-side.enum';
2
- export interface ChatContactDto {
3
- userId?: string;
4
- name?: string;
5
- surname?: string;
6
- username?: string;
7
- hasChatPermission: boolean;
8
- lastMessageSide: ChatMessageSide;
9
- lastMessage?: string;
10
- lastMessageDate?: string;
11
- unreadMessageCount: number;
12
- }
13
- export interface ChatTargetUserInfo {
14
- userId?: string;
15
- name?: string;
16
- surname?: string;
17
- username?: string;
18
- }
19
- export interface GetContactsInput {
20
- filter?: string;
21
- includeOtherContacts: boolean;
22
- }
@@ -1 +0,0 @@
1
- export * from './lib/index';
package/public-api.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export * from './lib/chat.module';
2
- export * from './lib/chat.routes';
3
- export * from './lib/components';
4
- export * from './lib/services';
5
- export * from './lib/models';
6
- export * from './lib/enums';