@volo/abp.ng.chat 9.3.5 → 10.0.0-rc.1
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/fesm2022/volo-abp.ng.chat-config.mjs +3 -2
- package/fesm2022/volo-abp.ng.chat-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.chat-proxy.mjs +14 -15
- package/fesm2022/volo-abp.ng.chat-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.chat.mjs +76 -40
- package/fesm2022/volo-abp.ng.chat.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/package.json +1 -1
- package/proxy/index.d.ts +1 -4
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, EventEmitter, AfterViewInit, ElementRef, ModuleWithProviders, NgModuleFactory } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@abp/ng.core';
|
|
4
|
-
import { ConfigStateService, HttpWaitService, PagedResultRequestDto
|
|
4
|
+
import { ConfigStateService, HttpWaitService, PagedResultRequestDto } from '@abp/ng.core';
|
|
5
5
|
import * as i2 from '@abp/ng.theme.shared';
|
|
6
6
|
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
7
7
|
import * as i1 from '@angular/router';
|
|
@@ -28,14 +28,14 @@ declare class ChatContactsComponent implements OnInit {
|
|
|
28
28
|
conversationDeleted: i0.OutputEmitterRef<ChatContactDto>;
|
|
29
29
|
allContacts: ChatContactDto[];
|
|
30
30
|
selectedContact: ChatContactDto;
|
|
31
|
-
filter: string
|
|
31
|
+
filter: i0.WritableSignal<string>;
|
|
32
|
+
debouncedFilter: i0.Signal<string>;
|
|
32
33
|
getContactName: typeof getContactName;
|
|
33
34
|
get contacts(): ChatContactDto[];
|
|
34
35
|
get otherContacts(): ChatContactDto[];
|
|
35
36
|
protected listenToNewMessages(): void;
|
|
36
37
|
constructor();
|
|
37
38
|
ngOnInit(): void;
|
|
38
|
-
typing(): void;
|
|
39
39
|
get(onSuccess?: Function, includeOtherContacts?: boolean): void;
|
|
40
40
|
selectContact(contact: ChatContactDto): void;
|
|
41
41
|
changeLastMessageOfSelectedContact(message: string): void;
|
|
@@ -54,11 +54,13 @@ declare class ChatComponent implements AfterViewInit {
|
|
|
54
54
|
protected readonly configState: ConfigStateService;
|
|
55
55
|
protected readonly httpWaitService: HttpWaitService;
|
|
56
56
|
protected readonly confirmation: ConfirmationService;
|
|
57
|
+
private document;
|
|
57
58
|
selectedContact: ChatContactDto;
|
|
58
59
|
unreadMessageCount: number;
|
|
59
60
|
userMessages: Map<string, ChatMessageDto$1[]>;
|
|
60
61
|
chatMessageSide: typeof ChatMessageSide$1;
|
|
61
62
|
message: string;
|
|
63
|
+
draftMessages: i0.WritableSignal<Map<string, string>>;
|
|
62
64
|
sendOnEnter: boolean;
|
|
63
65
|
loading: boolean;
|
|
64
66
|
pagingLoading: boolean;
|
|
@@ -176,7 +178,6 @@ declare class ChatConversationDto {
|
|
|
176
178
|
declare class ConversationService {
|
|
177
179
|
private restService;
|
|
178
180
|
apiName: string;
|
|
179
|
-
constructor(restService: RestService);
|
|
180
181
|
sendMessageByInput(body: SendMessageInput): Observable<void>;
|
|
181
182
|
getConversationByInput(params?: GetConversationInput): Observable<ChatConversationDto>;
|
|
182
183
|
markConversationAsReadByInput(body: MarkConversationAsReadInput): Observable<void>;
|
|
@@ -192,7 +193,6 @@ declare class SendOnEnterSettingDto {
|
|
|
192
193
|
declare class SettingsService {
|
|
193
194
|
private restService;
|
|
194
195
|
apiName: string;
|
|
195
|
-
constructor(restService: RestService);
|
|
196
196
|
setSendOnEnterSettingByInput(body: SendOnEnterSettingDto): Observable<void>;
|
|
197
197
|
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, never>;
|
|
198
198
|
static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
|
package/package.json
CHANGED
package/proxy/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import * as _abp_ng_core from '@abp/ng.core';
|
|
3
|
-
import { PagedResultRequestDto, Rest
|
|
3
|
+
import { PagedResultRequestDto, Rest } from '@abp/ng.core';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
|
|
6
6
|
declare enum ChatMessageSide {
|
|
@@ -70,7 +70,6 @@ declare class ConversationService {
|
|
|
70
70
|
getConversation: (input: GetConversationInput, config?: Partial<Rest.Config>) => rxjs.Observable<ChatConversationDto>;
|
|
71
71
|
markConversationAsRead: (input: MarkConversationAsReadInput, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
72
72
|
sendMessage: (input: SendMessageInput, config?: Partial<Rest.Config>) => rxjs.Observable<ChatMessageDto>;
|
|
73
|
-
constructor(restService: RestService);
|
|
74
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationService, never>;
|
|
75
74
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConversationService>;
|
|
76
75
|
}
|
|
@@ -103,7 +102,6 @@ declare class SettingsService {
|
|
|
103
102
|
get: (config?: Partial<Rest.Config>) => rxjs.Observable<ChatSettingsDto>;
|
|
104
103
|
setSendOnEnterSetting: (input: SendOnEnterSettingDto, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
105
104
|
update: (input: ChatSettingsDto, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
106
|
-
constructor(restService: RestService);
|
|
107
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, never>;
|
|
108
106
|
static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
|
|
109
107
|
}
|
|
@@ -113,7 +111,6 @@ declare class ContactService {
|
|
|
113
111
|
apiName: string;
|
|
114
112
|
getContacts: (input: GetContactsInput, config?: Partial<Rest.Config>) => rxjs.Observable<ChatContactDto[]>;
|
|
115
113
|
getTotalUnreadMessageCount: (config?: Partial<Rest.Config>) => rxjs.Observable<number>;
|
|
116
|
-
constructor(restService: RestService);
|
|
117
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactService, never>;
|
|
118
115
|
static ɵprov: i0.ɵɵInjectableDeclaration<ContactService>;
|
|
119
116
|
}
|