@muraai/mnl-chat 0.2.0-alpha-6116399 → 0.2.0-alpha-766df40

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 (41) hide show
  1. package/fesm2022/muraai-mnl-chat.mjs +41 -41
  2. package/fesm2022/muraai-mnl-chat.mjs.map +1 -1
  3. package/package.json +5 -5
  4. package/types/muraai-mnl-chat.d.ts +456 -0
  5. package/index.d.ts +0 -5
  6. package/lib/chat.module.d.ts +0 -24
  7. package/lib/components/ng-chat/ng-chat.component.d.ts +0 -132
  8. package/lib/components/ng-chat-friends-list/ng-chat-friends-list.component.d.ts +0 -53
  9. package/lib/components/ng-chat-options/ng-chat-options.component.d.ts +0 -12
  10. package/lib/components/ng-chat-window/ng-chat-window.component.d.ts +0 -67
  11. package/lib/core/chat-adapter.d.ts +0 -15
  12. package/lib/core/chat-controller.d.ts +0 -6
  13. package/lib/core/chat-group-adapter.d.ts +0 -4
  14. package/lib/core/chat-option.d.ts +0 -9
  15. package/lib/core/chat-participant-status-descriptor.d.ts +0 -3
  16. package/lib/core/chat-participant-status.enum.d.ts +0 -6
  17. package/lib/core/chat-participant-type.enum.d.ts +0 -4
  18. package/lib/core/chat-participant.d.ts +0 -21
  19. package/lib/core/default-file-upload-adapter.d.ts +0 -14
  20. package/lib/core/file-upload-adapter.d.ts +0 -5
  21. package/lib/core/group.d.ts +0 -13
  22. package/lib/core/guid.d.ts +0 -3
  23. package/lib/core/localization.d.ts +0 -15
  24. package/lib/core/message-counter.d.ts +0 -10
  25. package/lib/core/message-type.enum.d.ts +0 -5
  26. package/lib/core/message.d.ts +0 -10
  27. package/lib/core/paged-history-chat-adapter.d.ts +0 -10
  28. package/lib/core/participant-metadata.d.ts +0 -3
  29. package/lib/core/participant-response.d.ts +0 -6
  30. package/lib/core/scroll-direction.enum.d.ts +0 -4
  31. package/lib/core/theme.enum.d.ts +0 -5
  32. package/lib/core/user.d.ts +0 -10
  33. package/lib/core/window.d.ts +0 -13
  34. package/lib/firstLetter.pipe.d.ts +0 -7
  35. package/lib/material.module.d.ts +0 -17
  36. package/lib/pipes/emojify.pipe.d.ts +0 -7
  37. package/lib/pipes/group-message-display-name.pipe.d.ts +0 -9
  38. package/lib/pipes/linkfy.pipe.d.ts +0 -7
  39. package/lib/pipes/sanitize.pipe.d.ts +0 -10
  40. package/lib/services/chat.service.d.ts +0 -6
  41. package/public-api.d.ts +0 -22
@@ -1,53 +0,0 @@
1
- import { EventEmitter, OnChanges, SimpleChanges, OnInit, OnDestroy } from '@angular/core';
2
- import { Localization } from '../../core/localization';
3
- import { IChatOption } from '../../core/chat-option';
4
- import { ChatParticipantStatus } from "../../core/chat-participant-status.enum";
5
- import { IChatParticipant } from "../../core/chat-participant";
6
- import { User } from "../../core/user";
7
- import { Window } from "../../core/window";
8
- import { ParticipantResponse } from "../../core/participant-response";
9
- import { chatParticipantStatusDescriptor } from '../../core/chat-participant-status-descriptor';
10
- import * as i0 from "@angular/core";
11
- export declare class NgChatFriendsListComponent implements OnChanges, OnInit, OnDestroy {
12
- constructor();
13
- participants: IChatParticipant[];
14
- participantsResponse: ParticipantResponse[];
15
- participantsInteractedWith: IChatParticipant[];
16
- windows: Window[];
17
- userId: any;
18
- localization: Localization;
19
- shouldDisplay: boolean;
20
- isCollapsed: boolean;
21
- searchEnabled: boolean;
22
- currentActiveOption: IChatOption | null;
23
- onParticipantClicked: EventEmitter<IChatParticipant>;
24
- onOptionPromptCanceled: EventEmitter<any>;
25
- onOptionPromptConfirmed: EventEmitter<any>;
26
- hideFriendsList: boolean;
27
- onCloseWindowClick: EventEmitter<boolean>;
28
- searchInputChanged: EventEmitter<any>;
29
- private searchInputSubject;
30
- selectedUsersFromFriendsList: User[];
31
- searchInput: string;
32
- private destroy$;
33
- ChatParticipantStatus: typeof ChatParticipantStatus;
34
- chatParticipantStatusDescriptor: typeof chatParticipantStatusDescriptor;
35
- ngOnInit(): void;
36
- ngOnChanges(changes: SimpleChanges): void;
37
- get filteredParticipants(): IChatParticipant[];
38
- isUserSelectedFromFriendsList(user: User): boolean;
39
- unreadMessagesTotalByParticipant(participant: IChatParticipant): string;
40
- cleanUpUserSelection: () => any[];
41
- onChatTitleClicked(): void;
42
- onFriendsListCheckboxChange(selectedUser: User, isChecked: boolean): void;
43
- onUserClick(clickedUser: User): void;
44
- onFriendsListActionCancelClicked(): void;
45
- onFriendsListActionConfirmClicked(): void;
46
- onCloseWindow(): void;
47
- onSearchInputChange(value: string): void;
48
- initializeSearchInputListener(): void;
49
- ngOnDestroy(): void;
50
- getParticipantTooltip(participant: IChatParticipant): string;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<NgChatFriendsListComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<NgChatFriendsListComponent, "ng-chat-friends-list", never, { "participants": { "alias": "participants"; "required": false; }; "participantsResponse": { "alias": "participantsResponse"; "required": false; }; "participantsInteractedWith": { "alias": "participantsInteractedWith"; "required": false; }; "windows": { "alias": "windows"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; "localization": { "alias": "localization"; "required": false; }; "shouldDisplay": { "alias": "shouldDisplay"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "searchEnabled": { "alias": "searchEnabled"; "required": false; }; "currentActiveOption": { "alias": "currentActiveOption"; "required": false; }; "hideFriendsList": { "alias": "hideFriendsList"; "required": false; }; }, { "onParticipantClicked": "onParticipantClicked"; "onOptionPromptCanceled": "onOptionPromptCanceled"; "onOptionPromptConfirmed": "onOptionPromptConfirmed"; "onCloseWindowClick": "onCloseWindowClick"; "searchInputChanged": "searchInputChanged"; }, never, never, false, never>;
53
- }
@@ -1,12 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { IChatOption } from '../../core/chat-option';
3
- import * as i0 from "@angular/core";
4
- export declare class NgChatOptionsComponent {
5
- constructor();
6
- options: IChatOption[];
7
- activeOptionTracker: IChatOption;
8
- activeOptionTrackerChange: EventEmitter<IChatOption>;
9
- onOptionClicked(option: IChatOption): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NgChatOptionsComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<NgChatOptionsComponent, "ng-chat-options", never, { "options": { "alias": "options"; "required": false; }; "activeOptionTracker": { "alias": "activeOptionTracker"; "required": false; }; }, { "activeOptionTrackerChange": "activeOptionTrackerChange"; }, never, never, false, never>;
12
- }
@@ -1,67 +0,0 @@
1
- import { EventEmitter, ElementRef } from '@angular/core';
2
- import { Message } from "../../core/message";
3
- import { MessageType } from "../../core/message-type.enum";
4
- import { Window } from "../../core/window";
5
- import { ChatParticipantStatus } from "../../core/chat-participant-status.enum";
6
- import { ScrollDirection } from "../../core/scroll-direction.enum";
7
- import { Localization } from '../../core/localization';
8
- import { IFileUploadAdapter } from '../../core/file-upload-adapter';
9
- import { IChatOption } from '../../core/chat-option';
10
- import { ChatParticipantType } from "../../core/chat-participant-type.enum";
11
- import { IChatParticipant } from "../../core/chat-participant";
12
- import { chatParticipantStatusDescriptor } from '../../core/chat-participant-status-descriptor';
13
- import * as i0 from "@angular/core";
14
- export declare class NgChatWindowComponent {
15
- constructor();
16
- fileUploadAdapter: IFileUploadAdapter;
17
- window: Window;
18
- userId: any;
19
- localization: Localization;
20
- showOptions: boolean;
21
- emojisEnabled: boolean;
22
- linkfyEnabled: boolean;
23
- showMessageDate: boolean;
24
- messageDatePipeFormat: string;
25
- hasPagedHistory: boolean;
26
- onChatWindowClosed: EventEmitter<{
27
- closedWindow: Window;
28
- closedViaEscapeKey: boolean;
29
- }>;
30
- onMessagesSeen: EventEmitter<Message[]>;
31
- onMessageSent: EventEmitter<Message>;
32
- onTabTriggered: EventEmitter<{
33
- triggeringWindow: Window;
34
- shiftKeyPressed: boolean;
35
- }>;
36
- onOptionTriggered: EventEmitter<IChatOption>;
37
- onLoadHistoryTriggered: EventEmitter<Window>;
38
- chatMessages: any;
39
- nativeFileInput: ElementRef;
40
- chatWindowInput: any;
41
- fileUploadersInUse: string[];
42
- ChatParticipantType: typeof ChatParticipantType;
43
- ChatParticipantStatus: typeof ChatParticipantStatus;
44
- MessageType: typeof MessageType;
45
- chatParticipantStatusDescriptor: typeof chatParticipantStatusDescriptor;
46
- defaultWindowOptions(currentWindow: Window): IChatOption[];
47
- isAvatarVisible(window: Window, message: Message, index: number): boolean;
48
- getChatWindowAvatar(participant: IChatParticipant, message: Message): string | null;
49
- isUploadingFile(window: Window): boolean;
50
- getUniqueFileUploadInstanceId(window: Window): string;
51
- unreadMessagesTotal(window: Window): string;
52
- scrollChatWindow(window: Window, direction: ScrollDirection): void;
53
- activeOptionTrackerChange(option: IChatOption): void;
54
- triggerNativeFileUpload(window: Window): void;
55
- toggleWindowFocus(window: Window): void;
56
- markMessagesAsRead(messages: Message[]): void;
57
- fetchMessageHistory(window: Window): void;
58
- onCloseChatWindow(): void;
59
- onChatInputTyped(event: any, window: Window): void;
60
- onChatWindowClicked(window: Window): void;
61
- private clearInUseFileUploader;
62
- onFileChosen(window: Window): void;
63
- getParticipantTooltip(participant: IChatParticipant): string;
64
- getMetadataDisplay(participant: IChatParticipant): string;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<NgChatWindowComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<NgChatWindowComponent, "ng-chat-window", never, { "fileUploadAdapter": { "alias": "fileUploadAdapter"; "required": false; }; "window": { "alias": "window"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; "localization": { "alias": "localization"; "required": false; }; "showOptions": { "alias": "showOptions"; "required": false; }; "emojisEnabled": { "alias": "emojisEnabled"; "required": false; }; "linkfyEnabled": { "alias": "linkfyEnabled"; "required": false; }; "showMessageDate": { "alias": "showMessageDate"; "required": false; }; "messageDatePipeFormat": { "alias": "messageDatePipeFormat"; "required": false; }; "hasPagedHistory": { "alias": "hasPagedHistory"; "required": false; }; }, { "onChatWindowClosed": "onChatWindowClosed"; "onMessagesSeen": "onMessagesSeen"; "onMessageSent": "onMessageSent"; "onTabTriggered": "onTabTriggered"; "onOptionTriggered": "onOptionTriggered"; "onLoadHistoryTriggered": "onLoadHistoryTriggered"; }, never, never, false, never>;
67
- }
@@ -1,15 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { Message } from "./message";
3
- import { ParticipantResponse } from "./participant-response";
4
- import { IChatParticipant } from './chat-participant';
5
- export declare abstract class ChatAdapter {
6
- abstract listFriends(): Observable<ParticipantResponse[]>;
7
- abstract getMessageHistory(destinataryId: any): Observable<Message[]>;
8
- abstract sendMessage(message: Message): void;
9
- onFriendsListChanged(participantsResponse: ParticipantResponse[]): void;
10
- onMessageReceived(participant: IChatParticipant, message: Message): void;
11
- /** @internal */
12
- friendsListChangedHandler: (participantsResponse: ParticipantResponse[]) => void;
13
- /** @internal */
14
- messageReceivedHandler: (participant: IChatParticipant, message: Message) => void;
15
- }
@@ -1,6 +0,0 @@
1
- import { User } from './user';
2
- export interface IChatController {
3
- triggerOpenChatWindow(user: User): void;
4
- triggerCloseChatWindow(userId: any): void;
5
- triggerToggleChatWindowVisibility(userId: any): void;
6
- }
@@ -1,4 +0,0 @@
1
- import { Group } from "./group";
2
- export interface IChatGroupAdapter {
3
- groupCreated(group: Group): void;
4
- }
@@ -1,9 +0,0 @@
1
- import { Window } from '../core/window';
2
- import { IChatParticipant } from '../core/chat-participant';
3
- export interface IChatOption {
4
- isActive: boolean;
5
- displayLabel: string;
6
- chattingTo: Window;
7
- action?: (chattingTo: Window) => void;
8
- validateContext: (participant: IChatParticipant) => boolean;
9
- }
@@ -1,3 +0,0 @@
1
- import { ChatParticipantStatus } from './chat-participant-status.enum';
2
- import { Localization } from './localization';
3
- export declare function chatParticipantStatusDescriptor(status: ChatParticipantStatus, localization: Localization): string;
@@ -1,6 +0,0 @@
1
- export declare enum ChatParticipantStatus {
2
- Online = 0,
3
- Busy = 1,
4
- Away = 2,
5
- Offline = 3
6
- }
@@ -1,4 +0,0 @@
1
- export declare enum ChatParticipantType {
2
- User = 0,
3
- Group = 1
4
- }
@@ -1,21 +0,0 @@
1
- import { ChatParticipantStatus } from "./chat-participant-status.enum";
2
- import { ChatParticipantType } from "./chat-participant-type.enum";
3
- export interface IChatParticipant {
4
- readonly participantType: ChatParticipantType;
5
- readonly id: any;
6
- readonly status: ChatParticipantStatus;
7
- readonly avatar: string | null;
8
- readonly displayName: string;
9
- readonly metadata?: IMetadata;
10
- readonly showMetadataInTitle?: IMetadataInTitle;
11
- }
12
- export interface IMetadata {
13
- primary?: string;
14
- secondary?: string;
15
- tertiary?: string;
16
- }
17
- export interface IMetadataInTitle {
18
- primary?: boolean;
19
- secondary?: boolean;
20
- tertiary?: boolean;
21
- }
@@ -1,14 +0,0 @@
1
- import { IFileUploadAdapter } from './file-upload-adapter';
2
- import { HttpClient } from '@angular/common/http';
3
- import { Observable } from 'rxjs';
4
- import { Message } from './message';
5
- export declare class DefaultFileUploadAdapter implements IFileUploadAdapter {
6
- private _serverEndpointUrl;
7
- private _http;
8
- /**
9
- * @summary Basic file upload adapter implementation for HTTP request form file consumption
10
- * @param _serverEndpointUrl The API endpoint full qualified address that will receive a form file to process and return the metadata.
11
- */
12
- constructor(_serverEndpointUrl: string, _http: HttpClient);
13
- uploadFile(file: File, participantId: any): Observable<Message>;
14
- }
@@ -1,5 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { Message } from './message';
3
- export interface IFileUploadAdapter {
4
- uploadFile(file: File, participantId: any): Observable<Message>;
5
- }
@@ -1,13 +0,0 @@
1
- import { User } from "./user";
2
- import { ChatParticipantStatus } from "./chat-participant-status.enum";
3
- import { IChatParticipant } from "./chat-participant";
4
- import { ChatParticipantType } from "./chat-participant-type.enum";
5
- export declare class Group implements IChatParticipant {
6
- constructor(participants: User[]);
7
- id: string;
8
- chattingTo: User[];
9
- readonly participantType: ChatParticipantType;
10
- status: ChatParticipantStatus;
11
- avatar: string | null;
12
- displayName: string;
13
- }
@@ -1,3 +0,0 @@
1
- export declare class Guid {
2
- static newGuid(): string;
3
- }
@@ -1,15 +0,0 @@
1
- export interface Localization {
2
- title: string;
3
- messagePlaceholder: string;
4
- searchPlaceholder: string;
5
- statusDescription: StatusDescription;
6
- browserNotificationTitle: string;
7
- loadMessageHistoryPlaceholder: string;
8
- }
9
- export interface StatusDescription {
10
- online: string;
11
- busy: string;
12
- away: string;
13
- offline: string;
14
- [key: string]: string;
15
- }
@@ -1,10 +0,0 @@
1
- import { Window } from './window';
2
- export declare class MessageCounter {
3
- static formatUnreadMessagesTotal(totalUnreadMessages: number): string;
4
- /**
5
- * Returns a formatted string containing the total unread messages of a chat window.
6
- * @param window The window instance to count the unread total messages.
7
- * @param currentUserId The current chat instance user id. In this context it would be the sender.
8
- */
9
- static unreadMessagesTotal(window: Window, currentUserId: any): string;
10
- }
@@ -1,5 +0,0 @@
1
- export declare enum MessageType {
2
- Text = 1,
3
- File = 2,
4
- Image = 3
5
- }
@@ -1,10 +0,0 @@
1
- import { MessageType } from './message-type.enum';
2
- export declare class Message {
3
- type?: MessageType;
4
- fromId: any;
5
- toId: any;
6
- message: string;
7
- dateSent?: Date;
8
- dateSeen?: Date;
9
- additionalParameter?: Object;
10
- }
@@ -1,10 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { Message } from "./message";
3
- import { ChatAdapter } from "./chat-adapter";
4
- /**
5
- * @description Chat Adapter decorator class that adds pagination to load the history of messagesr.
6
- * You will need an existing @see ChatAdapter implementation
7
- */
8
- export declare abstract class PagedHistoryChatAdapter extends ChatAdapter {
9
- abstract getMessageHistoryByPage(destinataryId: any, size: number, page: number): Observable<Message[]>;
10
- }
@@ -1,3 +0,0 @@
1
- export declare class ParticipantMetadata {
2
- totalUnreadMessages: number;
3
- }
@@ -1,6 +0,0 @@
1
- import { ParticipantMetadata } from "./participant-metadata";
2
- import { IChatParticipant } from "./chat-participant";
3
- export declare class ParticipantResponse {
4
- participant: IChatParticipant;
5
- metadata: ParticipantMetadata;
6
- }
@@ -1,4 +0,0 @@
1
- export declare enum ScrollDirection {
2
- Top = 0,
3
- Bottom = 1
4
- }
@@ -1,5 +0,0 @@
1
- export declare enum Theme {
2
- Custom = "custom-theme",
3
- Light = "light-theme",
4
- Dark = "dark-theme"
5
- }
@@ -1,10 +0,0 @@
1
- import { ChatParticipantStatus } from "./chat-participant-status.enum";
2
- import { IChatParticipant } from "./chat-participant";
3
- import { ChatParticipantType } from "./chat-participant-type.enum";
4
- export declare class User implements IChatParticipant {
5
- readonly participantType: ChatParticipantType;
6
- id: any;
7
- displayName: string;
8
- status: ChatParticipantStatus;
9
- avatar: string;
10
- }
@@ -1,13 +0,0 @@
1
- import { Message } from "./message";
2
- import { IChatParticipant } from "./chat-participant";
3
- export declare class Window {
4
- constructor(participant: IChatParticipant, isLoadingHistory: boolean, isCollapsed: boolean);
5
- participant: IChatParticipant;
6
- messages: Message[];
7
- newMessage?: string;
8
- isCollapsed?: boolean;
9
- isLoadingHistory: boolean;
10
- hasFocus: boolean;
11
- hasMoreMessages: boolean;
12
- historyPage: number;
13
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FirstLetterPipe implements PipeTransform {
4
- transform(value: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FirstLetterPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<FirstLetterPipe, "firstLetterPipe", false>;
7
- }
@@ -1,17 +0,0 @@
1
- import { MatButtonModule } from '@angular/material/button';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/material/button";
4
- import * as i2 from "@angular/material/form-field";
5
- import * as i3 from "@angular/material/icon";
6
- import * as i4 from "@angular/material/input";
7
- import * as i5 from "@angular/forms";
8
- import * as i6 from "@angular/material/menu";
9
- import * as i7 from "@angular/material/list";
10
- import * as i8 from "@angular/material/card";
11
- import * as i9 from "@angular/material/tooltip";
12
- export declare function modules(): (typeof MatButtonModule)[];
13
- export declare class ChatMaterialModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ChatMaterialModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<ChatMaterialModule, never, [typeof i1.MatButtonModule, typeof i2.MatFormFieldModule, typeof i3.MatIconModule, typeof i4.MatInputModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatMenuModule, typeof i7.MatListModule, typeof i8.MatCardModule, typeof i9.MatTooltipModule], [typeof i1.MatButtonModule, typeof i2.MatFormFieldModule, typeof i3.MatIconModule, typeof i4.MatInputModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatMenuModule, typeof i7.MatListModule, typeof i8.MatCardModule, typeof i9.MatTooltipModule]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<ChatMaterialModule>;
17
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EmojifyPipe implements PipeTransform {
4
- transform(message: string, pipeEnabled: boolean): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<EmojifyPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<EmojifyPipe, "emojify", false>;
7
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { IChatParticipant } from "../core/chat-participant";
3
- import { Message } from "../core/message";
4
- import * as i0 from "@angular/core";
5
- export declare class GroupMessageDisplayNamePipe implements PipeTransform {
6
- transform(participant: IChatParticipant, message: Message): string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<GroupMessageDisplayNamePipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<GroupMessageDisplayNamePipe, "groupMessageDisplayName", false>;
9
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class LinkfyPipe implements PipeTransform {
4
- transform(message: string, pipeEnabled: boolean): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<LinkfyPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<LinkfyPipe, "linkfy", false>;
7
- }
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- export declare class SanitizePipe implements PipeTransform {
5
- protected sanitizer: DomSanitizer;
6
- constructor(sanitizer: DomSanitizer);
7
- transform(url: string): SafeResourceUrl;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SanitizePipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<SanitizePipe, "sanitize", false>;
10
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ChatService {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ChatService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<ChatService>;
6
- }
package/public-api.d.ts DELETED
@@ -1,22 +0,0 @@
1
- export * from './lib/chat.module';
2
- export * from './lib/material.module';
3
- export * from './lib/services/chat.service';
4
- export * from './lib/components/ng-chat/ng-chat.component';
5
- export * from './lib/core/chat-adapter';
6
- export * from './lib/core/message';
7
- export * from './lib/core/chat-participant-status.enum';
8
- export * from './lib/core/user';
9
- export * from './lib/core/participant-response';
10
- export * from './lib/core/participant-metadata';
11
- export * from './lib/core/window';
12
- export * from './lib/core/localization';
13
- export * from './lib/core/chat-controller';
14
- export * from './lib/core/paged-history-chat-adapter';
15
- export * from './lib/core/theme.enum';
16
- export * from './lib/core/chat-option';
17
- export * from './lib/core/group';
18
- export * from './lib/core/chat-participant';
19
- export * from './lib/core/chat-group-adapter';
20
- export * from './lib/core/chat-participant-type.enum';
21
- export * from './lib/core/message-type.enum';
22
- export * from './lib/core/file-upload-adapter';