@acorex/components 22.3.0 → 22.3.2
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/{acorex-components-conversation-acorex-components-conversation-CObX5Gdf.mjs → acorex-components-conversation-acorex-components-conversation-BEDMf4vn.mjs} +794 -435
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-BEDMf4vn.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-BlGupvO5.mjs → acorex-components-conversation-picker-rename-file-dialog.component-C1lV6aI2.mjs} +2 -2
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-BlGupvO5.mjs.map → acorex-components-conversation-picker-rename-file-dialog.component-C1lV6aI2.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-popup.mjs +20 -53
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/package.json +3 -3
- package/types/acorex-components-conversation.d.ts +123 -74
- package/types/acorex-components-popup.d.ts +5 -14
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-CObX5Gdf.mjs.map +0 -1
|
@@ -6,8 +6,10 @@ import { AXTranslationService } from '@acorex/core/translation';
|
|
|
6
6
|
import * as _acorex_components_action_sheet from '@acorex/components/action-sheet';
|
|
7
7
|
import { AXActionSheetRef } from '@acorex/components/action-sheet';
|
|
8
8
|
import * as _acorex_components_popup from '@acorex/components/popup';
|
|
9
|
-
import {
|
|
9
|
+
import { AXPopupRef, AXPopupService } from '@acorex/components/popup';
|
|
10
10
|
import { AXFileUploadOptions, AXUploadResult, AXUploadReference, AXUploaderService, AXUploaderFileChangeEvent } from '@acorex/cdk/uploader';
|
|
11
|
+
import { AXToastService } from '@acorex/components/toast';
|
|
12
|
+
import { AXValidationRuleResult } from '@acorex/core/validation';
|
|
11
13
|
import { AXListComponent } from '@acorex/components/list';
|
|
12
14
|
import * as rxjs from 'rxjs';
|
|
13
15
|
import { Observable } from 'rxjs';
|
|
@@ -17,8 +19,6 @@ import { AXTabLocation } from '@acorex/components/tabs';
|
|
|
17
19
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
18
20
|
import * as _acorex_core_file from '@acorex/core/file';
|
|
19
21
|
import { AXFileTypeRegistryService, AXFileTypeExtensionHint, AXFileTypeOpenContext, AXFileTypeInfoProvider, AXFileType, AXFileService } from '@acorex/core/file';
|
|
20
|
-
import { AXToastService } from '@acorex/components/toast';
|
|
21
|
-
import { AXValidationRuleResult } from '@acorex/core/validation';
|
|
22
22
|
import { AXMapMarker } from '@acorex/components/map';
|
|
23
23
|
import { AXWaveConfig, AXAudioWaveChangeEvent } from '@acorex/components/audio-wave';
|
|
24
24
|
import { AXRangeSliderValue } from '@acorex/components/range-slider';
|
|
@@ -472,6 +472,8 @@ interface AXConversationMessageListThemeBackground {
|
|
|
472
472
|
}
|
|
473
473
|
/** Single CSS value (both themes) or per-theme `{ light, dark }` backgrounds. */
|
|
474
474
|
type AXConversationMessageListBackground = string | AXConversationMessageListThemeBackground;
|
|
475
|
+
/** Composer file-attachment UI: picker popup vs inline strip above the input. */
|
|
476
|
+
type AXConversationComposerAttachmentPresentation = 'overlay' | 'banner';
|
|
475
477
|
/**
|
|
476
478
|
* Conversation metadata
|
|
477
479
|
* Extensible map for app-specific conversation data.
|
|
@@ -482,10 +484,16 @@ interface AXConversationMetadata extends Record<string, unknown> {
|
|
|
482
484
|
/** Optional custom empty-state component for the message list. */
|
|
483
485
|
messageListEmptyComponent?: Type<AXConversationMessageListEmptyComponent>;
|
|
484
486
|
/**
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
+
* Explicit reaction UI override for this conversation.
|
|
488
|
+
* When omitted, reactions are enabled for `private` / `group` / `channel` and disabled for `bot`.
|
|
487
489
|
*/
|
|
488
490
|
reactionsEnabled?: boolean;
|
|
491
|
+
/**
|
|
492
|
+
* How composer file attachments are presented.
|
|
493
|
+
* `overlay` opens the picker popup; `banner` keeps files above the composer (ChatGPT-style).
|
|
494
|
+
* When omitted, `bot` chats default to `banner` and other types to `overlay`.
|
|
495
|
+
*/
|
|
496
|
+
composerAttachmentPresentation?: AXConversationComposerAttachmentPresentation;
|
|
489
497
|
}
|
|
490
498
|
/** Contract for custom empty-state components rendered by message list. */
|
|
491
499
|
interface AXConversationMessageListEmptyComponent {
|
|
@@ -694,6 +702,72 @@ declare abstract class AXConversationBaseRegistry<T extends AXConversationRegist
|
|
|
694
702
|
protected abstract getRegistryName(): string;
|
|
695
703
|
}
|
|
696
704
|
|
|
705
|
+
/**
|
|
706
|
+
* Shared upload state and helpers for composer media pickers.
|
|
707
|
+
*/
|
|
708
|
+
|
|
709
|
+
/** Stable id for `@for` tracking while upload state is patched immutably. */
|
|
710
|
+
declare function createPickerUploadItemId(): string;
|
|
711
|
+
interface AXConversationComposerPickerUploadItem {
|
|
712
|
+
id: string;
|
|
713
|
+
file: File;
|
|
714
|
+
preview?: string;
|
|
715
|
+
duration?: number;
|
|
716
|
+
uploadProgress?: number;
|
|
717
|
+
uploading?: boolean;
|
|
718
|
+
uploaded?: boolean;
|
|
719
|
+
uploadedUrl?: string;
|
|
720
|
+
mediaId?: string;
|
|
721
|
+
error?: string;
|
|
722
|
+
abortController?: AbortController;
|
|
723
|
+
}
|
|
724
|
+
declare function getPickerCancelUploadLabel(translation: AXTranslationService): string;
|
|
725
|
+
declare function abortPickerUploads(items: Iterable<{
|
|
726
|
+
abortController?: AbortController;
|
|
727
|
+
} | null | undefined>): void;
|
|
728
|
+
interface AXConversationCleanupPickerUploadsOptions {
|
|
729
|
+
retainUploaded?: boolean;
|
|
730
|
+
}
|
|
731
|
+
/** Upload finished; reference is {@link mediaId} and/or a non-empty session url. */
|
|
732
|
+
declare function isPickerItemReadyToSend(item: Pick<AXConversationComposerPickerUploadItem, 'uploaded' | 'uploadedUrl' | 'mediaId'>): boolean;
|
|
733
|
+
/** Build uploader result shape for {@link *ItemFromUpload} after picker upload. */
|
|
734
|
+
declare function pickerItemToUploadResult(item: Pick<AXConversationComposerPickerUploadItem, 'uploaded' | 'uploadedUrl' | 'mediaId' | 'file'>): {
|
|
735
|
+
url: string;
|
|
736
|
+
mediaId?: string;
|
|
737
|
+
mimeType: string;
|
|
738
|
+
size: number;
|
|
739
|
+
} | null;
|
|
740
|
+
declare function pickerItemToMediaReference(item: Pick<AXConversationComposerPickerUploadItem, 'uploaded' | 'uploadedUrl' | 'mediaId' | 'file'>): AXConversationUploaderReference | null;
|
|
741
|
+
declare function deleteUploadedPickerMedia(uploader: AXUploaderService, items: Iterable<AXConversationComposerPickerUploadItem | null | undefined>): Promise<void>;
|
|
742
|
+
declare function cleanupPickerUploads(uploader: AXUploaderService, items: Iterable<AXConversationComposerPickerUploadItem | null | undefined>, options?: AXConversationCleanupPickerUploadsOptions): void;
|
|
743
|
+
declare function revokePickerBlobPreviews(items: Iterable<{
|
|
744
|
+
preview?: string;
|
|
745
|
+
} | null | undefined>): void;
|
|
746
|
+
declare function isUploadAborted(error: unknown, signal?: AbortSignal): boolean;
|
|
747
|
+
declare function limitFilesToCapacity(files: File[], currentCount: number, maxFiles: number): File[];
|
|
748
|
+
declare function uploadPickerFile(uploader: AXUploaderService, conversationId: string, file: File, onProgress: (percent: number) => void, signal?: AbortSignal): Promise<{
|
|
749
|
+
url: string;
|
|
750
|
+
mediaId?: string;
|
|
751
|
+
mimeType: string;
|
|
752
|
+
size: number;
|
|
753
|
+
}>;
|
|
754
|
+
declare function notifyMaxFilesCapacityExceeded(toast: AXToastService, translation: AXTranslationService, maxFiles: number): void;
|
|
755
|
+
/** User-facing message for a file validation failure. */
|
|
756
|
+
declare function formatPickerValidationMessage(translation: AXTranslationService, file: File, error: AXValidationRuleResult | undefined): string;
|
|
757
|
+
/** Show a warning toast for each failed validation rule result. */
|
|
758
|
+
declare function notifyPickerValidationErrors(toast: AXToastService, translation: AXTranslationService, rejected: {
|
|
759
|
+
file: File;
|
|
760
|
+
errors: AXValidationRuleResult[];
|
|
761
|
+
}[]): void;
|
|
762
|
+
/** Close popup/action-sheet host or inline composer shell after send/cancel. */
|
|
763
|
+
declare function dismissComposerPickerHost(composerService: AXConversationComposerService, popupRef?: AXPopupRef | null, actionSheetRef?: AXActionSheetRef | null): void;
|
|
764
|
+
|
|
765
|
+
type AXConversationComposerDraftAttachmentKind = 'image' | 'video' | 'audio' | 'file';
|
|
766
|
+
interface AXConversationComposerDraftAttachment extends AXConversationComposerPickerUploadItem {
|
|
767
|
+
kind: AXConversationComposerDraftAttachmentKind;
|
|
768
|
+
icon: string;
|
|
769
|
+
}
|
|
770
|
+
|
|
697
771
|
/** Primary composer button mode (send / cancel / stopping / default action / locked). */
|
|
698
772
|
type AXConversationComposerPrimaryButtonMode = 'send' | 'cancel' | 'stopping' | 'default-action' | 'locked';
|
|
699
773
|
declare class AXConversationComposerService {
|
|
@@ -701,8 +775,13 @@ declare class AXConversationComposerService {
|
|
|
701
775
|
private readonly generationState;
|
|
702
776
|
private readonly translation;
|
|
703
777
|
private readonly popupService;
|
|
778
|
+
private readonly uploader;
|
|
779
|
+
private readonly fileService;
|
|
780
|
+
private readonly toast;
|
|
704
781
|
private readonly config;
|
|
782
|
+
private readonly destroyRef;
|
|
705
783
|
private readonly _activeActionOverlay;
|
|
784
|
+
constructor();
|
|
706
785
|
private get registry();
|
|
707
786
|
private readonly _replyMessage;
|
|
708
787
|
private readonly _editMessage;
|
|
@@ -712,8 +791,10 @@ declare class AXConversationComposerService {
|
|
|
712
791
|
readonly activeMessages: _angular_core.Signal<AXConversationMessage[]>;
|
|
713
792
|
/** Draft text */
|
|
714
793
|
readonly draftText: _angular_core.WritableSignal<string>;
|
|
715
|
-
/**
|
|
716
|
-
readonly
|
|
794
|
+
/** Inline composer attachments shown above the input in banner mode. */
|
|
795
|
+
readonly draftAttachments: _angular_core.WritableSignal<AXConversationComposerDraftAttachment[]>;
|
|
796
|
+
readonly draftAttachmentsReady: _angular_core.Signal<boolean>;
|
|
797
|
+
readonly usesAttachmentBanner: _angular_core.Signal<boolean>;
|
|
717
798
|
/** Incremented to request focus on the composer text area (handled by AXConversationComposerComponent). */
|
|
718
799
|
private readonly _focusRequest;
|
|
719
800
|
readonly focusRequest: _angular_core.Signal<number>;
|
|
@@ -768,6 +849,15 @@ declare class AXConversationComposerService {
|
|
|
768
849
|
toggleable?: boolean;
|
|
769
850
|
initialFiles?: File[];
|
|
770
851
|
}): Promise<void>;
|
|
852
|
+
browseDraftAttachments(fileType?: string): Promise<number>;
|
|
853
|
+
addDraftAttachments(files: File[]): Promise<number>;
|
|
854
|
+
removeDraftAttachment(id: string): void;
|
|
855
|
+
clearDraftAttachments(options?: {
|
|
856
|
+
retainUploaded?: boolean;
|
|
857
|
+
}): void;
|
|
858
|
+
buildDraftAttachmentCommand(caption?: string): Promise<AXConversationSendMessageCommand | null>;
|
|
859
|
+
private uploadDraftAttachment;
|
|
860
|
+
private patchDraftAttachment;
|
|
771
861
|
/**
|
|
772
862
|
* Hide the active action overlay.
|
|
773
863
|
*/
|
|
@@ -1680,8 +1770,9 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1680
1770
|
private readonly textAreaRef;
|
|
1681
1771
|
/** Draft text - use service */
|
|
1682
1772
|
readonly draftText: _angular_core.WritableSignal<string>;
|
|
1683
|
-
/**
|
|
1684
|
-
readonly
|
|
1773
|
+
/** Draft attachments shown above the composer in banner mode. */
|
|
1774
|
+
readonly draftAttachments: _angular_core.WritableSignal<_acorex_components_conversation.AXConversationComposerDraftAttachment[]>;
|
|
1775
|
+
readonly usesAttachmentBanner: _angular_core.Signal<boolean>;
|
|
1685
1776
|
/** Editing message */
|
|
1686
1777
|
readonly editingMessage: _angular_core.WritableSignal<any>;
|
|
1687
1778
|
/** Replying to message */
|
|
@@ -1786,8 +1877,11 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1786
1877
|
getDefaultActionIcon(): string;
|
|
1787
1878
|
/** Handle voice click */
|
|
1788
1879
|
onVoiceClick(): void;
|
|
1789
|
-
/** Remove attachment */
|
|
1790
|
-
|
|
1880
|
+
/** Remove a draft attachment from the composer banner. */
|
|
1881
|
+
removeDraftAttachment(id: string): void;
|
|
1882
|
+
addDraftAttachments(): void;
|
|
1883
|
+
draftAttachmentLabel(name: string): string;
|
|
1884
|
+
canAddDraftAttachments(): boolean;
|
|
1791
1885
|
/** Cancel edit/reply mode */
|
|
1792
1886
|
cancelEditReply(): void;
|
|
1793
1887
|
/** Start editing a message */
|
|
@@ -3111,7 +3205,10 @@ interface AXConversationLoadMessagesResult {
|
|
|
3111
3205
|
* - Automatic rollback on failures
|
|
3112
3206
|
*/
|
|
3113
3207
|
declare class AXConversationService {
|
|
3208
|
+
private static readonly createDisplayMetadataKeys;
|
|
3114
3209
|
private static normalizeOptionalString;
|
|
3210
|
+
/** Keep flags like `reactionsEnabled`; drop display fields already mapped onto the conversation. */
|
|
3211
|
+
private static toPersistedConversationMetadata;
|
|
3115
3212
|
private readonly config;
|
|
3116
3213
|
private readonly state;
|
|
3117
3214
|
readonly userApi: AXConversationUserApi;
|
|
@@ -3865,8 +3962,17 @@ declare function resolveConversationTitleForViewer(conversation: AXConversation,
|
|
|
3865
3962
|
* Does not mutate the source object.
|
|
3866
3963
|
*/
|
|
3867
3964
|
declare function resolveConversationForViewer(conversation: AXConversation, currentUserId?: string): AXConversation;
|
|
3868
|
-
/**
|
|
3965
|
+
/**
|
|
3966
|
+
* Whether message reactions are enabled for a conversation.
|
|
3967
|
+
* `metadata.reactionsEnabled` wins when set; otherwise `bot` chats default to off.
|
|
3968
|
+
*/
|
|
3869
3969
|
declare function isConversationReactionsEnabled(conversation?: AXConversation | null): boolean;
|
|
3970
|
+
/**
|
|
3971
|
+
* How file attachments are shown in the composer.
|
|
3972
|
+
* `metadata.composerAttachmentPresentation` wins when set; otherwise `bot` chats use `banner`.
|
|
3973
|
+
*/
|
|
3974
|
+
declare function resolveComposerAttachmentPresentation(conversation?: AXConversation | null): AXConversationComposerAttachmentPresentation;
|
|
3975
|
+
declare function isComposerAttachmentBannerEnabled(conversation?: AXConversation | null): boolean;
|
|
3870
3976
|
|
|
3871
3977
|
/** Group and channel rooms share join/leave and creator-destroy rules. */
|
|
3872
3978
|
declare function isGroupLikeConversation(conversationOrType: AXConversation | AXConversationType | undefined): boolean;
|
|
@@ -4877,66 +4983,6 @@ declare function audioItemFromUpload(file: File, result: AXConversationUploaderR
|
|
|
4877
4983
|
declare function mergeAudioUploadResult(payload: AXConversationMessagePayload, result: AXUploadResult): AXConversationMessagePayload;
|
|
4878
4984
|
declare function applyAudioLocalPreview(payload: AXConversationMessagePayload, localUrl: string, mimeType?: string): AXConversationMessagePayload;
|
|
4879
4985
|
|
|
4880
|
-
/**
|
|
4881
|
-
* Shared upload state and helpers for composer media pickers.
|
|
4882
|
-
*/
|
|
4883
|
-
|
|
4884
|
-
/** Stable id for `@for` tracking while upload state is patched immutably. */
|
|
4885
|
-
declare function createPickerUploadItemId(): string;
|
|
4886
|
-
interface AXConversationComposerPickerUploadItem {
|
|
4887
|
-
id: string;
|
|
4888
|
-
file: File;
|
|
4889
|
-
preview?: string;
|
|
4890
|
-
duration?: number;
|
|
4891
|
-
uploadProgress?: number;
|
|
4892
|
-
uploading?: boolean;
|
|
4893
|
-
uploaded?: boolean;
|
|
4894
|
-
uploadedUrl?: string;
|
|
4895
|
-
mediaId?: string;
|
|
4896
|
-
error?: string;
|
|
4897
|
-
abortController?: AbortController;
|
|
4898
|
-
}
|
|
4899
|
-
declare function getPickerCancelUploadLabel(translation: AXTranslationService): string;
|
|
4900
|
-
declare function abortPickerUploads(items: Iterable<{
|
|
4901
|
-
abortController?: AbortController;
|
|
4902
|
-
} | null | undefined>): void;
|
|
4903
|
-
interface AXConversationCleanupPickerUploadsOptions {
|
|
4904
|
-
retainUploaded?: boolean;
|
|
4905
|
-
}
|
|
4906
|
-
/** Upload finished; reference is {@link mediaId} and/or a non-empty session url. */
|
|
4907
|
-
declare function isPickerItemReadyToSend(item: Pick<AXConversationComposerPickerUploadItem, 'uploaded' | 'uploadedUrl' | 'mediaId'>): boolean;
|
|
4908
|
-
/** Build uploader result shape for {@link *ItemFromUpload} after picker upload. */
|
|
4909
|
-
declare function pickerItemToUploadResult(item: Pick<AXConversationComposerPickerUploadItem, 'uploaded' | 'uploadedUrl' | 'mediaId' | 'file'>): {
|
|
4910
|
-
url: string;
|
|
4911
|
-
mediaId?: string;
|
|
4912
|
-
mimeType: string;
|
|
4913
|
-
size: number;
|
|
4914
|
-
} | null;
|
|
4915
|
-
declare function pickerItemToMediaReference(item: Pick<AXConversationComposerPickerUploadItem, 'uploaded' | 'uploadedUrl' | 'mediaId' | 'file'>): AXConversationUploaderReference | null;
|
|
4916
|
-
declare function deleteUploadedPickerMedia(uploader: AXUploaderService, items: Iterable<AXConversationComposerPickerUploadItem | null | undefined>): Promise<void>;
|
|
4917
|
-
declare function cleanupPickerUploads(uploader: AXUploaderService, items: Iterable<AXConversationComposerPickerUploadItem | null | undefined>, options?: AXConversationCleanupPickerUploadsOptions): void;
|
|
4918
|
-
declare function revokePickerBlobPreviews(items: Iterable<{
|
|
4919
|
-
preview?: string;
|
|
4920
|
-
} | null | undefined>): void;
|
|
4921
|
-
declare function isUploadAborted(error: unknown, signal?: AbortSignal): boolean;
|
|
4922
|
-
declare function limitFilesToCapacity(files: File[], currentCount: number, maxFiles: number): File[];
|
|
4923
|
-
declare function uploadPickerFile(uploader: AXUploaderService, conversationId: string, file: File, onProgress: (percent: number) => void, signal?: AbortSignal): Promise<{
|
|
4924
|
-
url: string;
|
|
4925
|
-
mediaId?: string;
|
|
4926
|
-
mimeType: string;
|
|
4927
|
-
size: number;
|
|
4928
|
-
}>;
|
|
4929
|
-
declare function notifyMaxFilesCapacityExceeded(toast: AXToastService, translation: AXTranslationService, maxFiles: number): void;
|
|
4930
|
-
/** User-facing message for a file validation failure. */
|
|
4931
|
-
declare function formatPickerValidationMessage(translation: AXTranslationService, file: File, error: AXValidationRuleResult | undefined): string;
|
|
4932
|
-
/** Show a warning toast for each failed validation rule result. */
|
|
4933
|
-
declare function notifyPickerValidationErrors(toast: AXToastService, translation: AXTranslationService, rejected: {
|
|
4934
|
-
file: File;
|
|
4935
|
-
errors: AXValidationRuleResult[];
|
|
4936
|
-
}[]): void;
|
|
4937
|
-
/** Close popup/action-sheet host or inline composer shell after send/cancel. */
|
|
4938
|
-
declare function dismissComposerPickerHost(composerService: AXConversationComposerService, popupRef?: AXPopupRef | null, actionSheetRef?: AXActionSheetRef | null): void;
|
|
4939
|
-
|
|
4940
4986
|
interface AXConversationAudioFile extends AXConversationComposerPickerUploadItem {
|
|
4941
4987
|
duration?: number;
|
|
4942
4988
|
dataUrl?: string;
|
|
@@ -5252,6 +5298,8 @@ declare class AXConversationPickerHeaderComponent {
|
|
|
5252
5298
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationPickerHeaderComponent, "ax-conversation-picker-header", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "showMenu": { "alias": "showMenu"; "required": false; "isSignal": true; }; "addMoreLabel": { "alias": "addMoreLabel"; "required": false; "isSignal": true; }; }, { "onClose": "onClose"; "onAddMore": "onAddMore"; }, never, never, true, never>;
|
|
5253
5299
|
}
|
|
5254
5300
|
|
|
5301
|
+
/** Explorer/OS paste often has an empty MIME type; catalogs reject that. */
|
|
5302
|
+
declare function normalizeConversationInboundFile(file: File): File;
|
|
5255
5303
|
/** Extract OS-copied files from a paste event (e.g. Ctrl+V after copying a file in Explorer). */
|
|
5256
5304
|
declare function filesFromClipboardEvent(event: ClipboardEvent): File[];
|
|
5257
5305
|
|
|
@@ -5261,6 +5309,7 @@ interface AXConversationMediaDimensions {
|
|
|
5261
5309
|
duration: number;
|
|
5262
5310
|
}
|
|
5263
5311
|
declare function probeImageDimensions(source: Blob | string): Promise<Pick<AXConversationMediaDimensions, 'width' | 'height'>>;
|
|
5312
|
+
declare function probeAudioDuration(source: Blob): Promise<number>;
|
|
5264
5313
|
declare function probeVideoMedia(source: Blob): Promise<AXConversationMediaDimensions>;
|
|
5265
5314
|
|
|
5266
5315
|
declare function formatFileSize(bytes: number): string;
|
|
@@ -6822,5 +6871,5 @@ declare function getErrorMessage(code: string, params?: Record<string, string |
|
|
|
6822
6871
|
*/
|
|
6823
6872
|
type AXConversationErrorCode = typeof AX_CONVERSATION_MESSAGE_ERRORS[keyof typeof AX_CONVERSATION_MESSAGE_ERRORS]['code'] | typeof AX_CONVERSATION_FILE_ERRORS[keyof typeof AX_CONVERSATION_FILE_ERRORS]['code'] | typeof AX_CONVERSATION_USER_ERRORS[keyof typeof AX_CONVERSATION_USER_ERRORS]['code'] | typeof AX_CONVERSATION_ERRORS[keyof typeof AX_CONVERSATION_ERRORS]['code'] | typeof AX_CONVERSATION_CONNECTION_ERRORS[keyof typeof AX_CONVERSATION_CONNECTION_ERRORS]['code'] | typeof AX_CONVERSATION_LOCATION_ERRORS[keyof typeof AX_CONVERSATION_LOCATION_ERRORS]['code'] | typeof AX_CONVERSATION_URL_ERRORS[keyof typeof AX_CONVERSATION_URL_ERRORS]['code'];
|
|
6824
6873
|
|
|
6825
|
-
export { AXConversationApi, AXConversationApiLoggerService, AXConversationAudioAttachmentComponent, AXConversationAudioFileTypeProvider, AXConversationAudioPickerComponent, AXConversationAudioRendererComponent, AXConversationAvatarComponent, AXConversationAvatarPickerComponent, AXConversationBaseRegistry, AXConversationComposerActionRegistry, AXConversationComposerComponent, AXConversationComposerFileTypesProvider, AXConversationComposerGenerationStateService, AXConversationComposerPopupComponent, AXConversationComposerService, AXConversationComposerTabRegistry, AXConversationContainerComponent, AXConversationContainerDirective, AXConversationDateUtilsService, AXConversationDeleteDialogComponent, AXConversationEmojiTabComponent, AXConversationErrorHandlerService, AXConversationFallbackRendererComponent, AXConversationFileAttachmentComponent, AXConversationFileFileTypeProvider, AXConversationFilePickerComponent, AXConversationFileRendererComponent, AXConversationForwardMessageDialogComponent, AXConversationImageAttachmentComponent, AXConversationImageFileTypeProvider, AXConversationImagePickerComponent, AXConversationImageRendererComponent, AXConversationInfiniteScrollDirective, AXConversationInfoBarActionRegistry, AXConversationInfoBarComponent, AXConversationInfoBarSearchComponent, AXConversationInfoBarService, AXConversationItemActionRegistry, AXConversationLocationPickerComponent, AXConversationLocationRendererComponent, AXConversationMediaPlaybackInfoBarBannerComponent, AXConversationMessageActionRegistry, AXConversationMessageApi, AXConversationMessageListComponent, AXConversationMessageListNoActiveDefaultComponent, AXConversationMessageListService, AXConversationMessageRendererCopyHostComponent, AXConversationMessageRendererRegistry, AXConversationMessageRendererStateComponent, AXConversationMessageUtilsService, AXConversationModule, AXConversationNewDialogComponent, AXConversationPickerCaptionComponent, AXConversationPickerEmptyComponent, AXConversationPickerFooterComponent, AXConversationPickerHeaderComponent, AXConversationPickerOptionsComponent, AXConversationPickerShellComponent, AXConversationPickerToolbarComponent, AXConversationRealtimeApi, AXConversationRegistryComponentOutletComponent, AXConversationRegistryService, AXConversationService, AXConversationSidebarComponent, AXConversationSidebarService, AXConversationStickerRendererComponent, AXConversationStickerTabComponent, AXConversationSystemRendererComponent, AXConversationTabRegistry, AXConversationTextRendererComponent, AXConversationUserApi, AXConversationVideoAttachmentComponent, AXConversationVideoFileTypeProvider, AXConversationVideoPickerComponent, AXConversationVideoRendererComponent, AXConversationVoiceFileTypeProvider, AXConversationVoiceRecorderComponent, AXConversationVoiceRendererComponent, AX_CONVERSATION_AUDIO_CATALOG, AX_CONVERSATION_AUDIO_PRESENTATION, AX_CONVERSATION_AUDIO_RENDERER, AX_CONVERSATION_BUILTIN_COMPOSER_TABS, AX_CONVERSATION_COMPOSER_AUDIO_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_TAB, AX_CONVERSATION_COMPOSER_FILE_ACTION, AX_CONVERSATION_COMPOSER_IMAGE_ACTION, AX_CONVERSATION_COMPOSER_LOCATION_ACTION, AX_CONVERSATION_COMPOSER_STICKER_TAB, AX_CONVERSATION_COMPOSER_VIDEO_ACTION, AX_CONVERSATION_COMPOSER_VOICE_RECORDING_ACTION, AX_CONVERSATION_CONFIG, AX_CONVERSATION_CONNECTION_ERRORS, AX_CONVERSATION_CONVERSATION_AVATAR_COMPONENT, AX_CONVERSATION_DEFAULT_COMPOSER_ACTIONS, AX_CONVERSATION_DEFAULT_COMPOSER_TABS, AX_CONVERSATION_DEFAULT_CONVERSATION_ITEM_ACTIONS, AX_CONVERSATION_DEFAULT_CONVERSATION_TABS, AX_CONVERSATION_DEFAULT_GROUP_ICON, AX_CONVERSATION_DEFAULT_INFO_BAR_ACTIONS, AX_CONVERSATION_DEFAULT_MESSAGE_ACTIONS, AX_CONVERSATION_DEFAULT_MESSAGE_LIST_BACKGROUND, AX_CONVERSATION_DEFAULT_MESSAGE_LIST_BACKGROUND_PRESET_ID, AX_CONVERSATION_DEFAULT_MESSAGE_LIST_THEME_BACKGROUND, AX_CONVERSATION_DEFAULT_MESSAGE_RENDERERS, AX_CONVERSATION_DEFAULT_ROOM_PREFERENCES, AX_CONVERSATION_DEFAULT_USER_ICON, AX_CONVERSATION_ERRORS, AX_CONVERSATION_ERROR_HANDLER_CONFIG, AX_CONVERSATION_ERROR_MESSAGES, AX_CONVERSATION_FALLBACK_RENDERER, AX_CONVERSATION_FILE_CATALOG, AX_CONVERSATION_FILE_ERRORS, AX_CONVERSATION_FILE_PRESENTATION, AX_CONVERSATION_FILE_RENDERER, AX_CONVERSATION_FILE_TYPES_READY, AX_CONVERSATION_IMAGE_CATALOG, AX_CONVERSATION_IMAGE_PRESENTATION, AX_CONVERSATION_IMAGE_RENDERER, AX_CONVERSATION_INFO_BAR_ARCHIVE_ACTION, AX_CONVERSATION_INFO_BAR_BLOCK_ACTION, AX_CONVERSATION_INFO_BAR_DELETE_ACTION, AX_CONVERSATION_INFO_BAR_DIVIDER, AX_CONVERSATION_INFO_BAR_MUTE_ACTION, AX_CONVERSATION_INFO_BAR_SEARCH_ACTION, AX_CONVERSATION_ITEM_BLOCK_ACTION, AX_CONVERSATION_ITEM_DELETE_ACTION, AX_CONVERSATION_ITEM_DIVIDER, AX_CONVERSATION_ITEM_MARK_READ_ACTION, AX_CONVERSATION_ITEM_MUTE_ACTION, AX_CONVERSATION_ITEM_PIN_ACTION, AX_CONVERSATION_JUMBO_EMOJI_MAX, AX_CONVERSATION_LOCATION_ERRORS, AX_CONVERSATION_LOCATION_RENDERER, AX_CONVERSATION_MESSAGE_DELETE_ACTION, AX_CONVERSATION_MESSAGE_EDIT_ACTION, AX_CONVERSATION_MESSAGE_ERRORS, AX_CONVERSATION_MESSAGE_FORWARD_ACTION, AX_CONVERSATION_MESSAGE_LIST_BACKGROUND_PRESETS, AX_CONVERSATION_MESSAGE_REPLY_ACTION, AX_CONVERSATION_MESSAGE_TYPE_FILE_TYPE, AX_CONVERSATION_PEER_AVATAR_TYPES, AX_CONVERSATION_REGISTRY_CONFIG, AX_CONVERSATION_STICKER_API_KEY, AX_CONVERSATION_STICKER_RENDERER, AX_CONVERSATION_SYSTEM_RENDERER, AX_CONVERSATION_TAB_ALL, AX_CONVERSATION_TAB_ARCHIVED, AX_CONVERSATION_TAB_BOT, AX_CONVERSATION_TAB_CHANNELS, AX_CONVERSATION_TAB_GROUPS, AX_CONVERSATION_TAB_PRIVATE, AX_CONVERSATION_TAB_UNREAD, AX_CONVERSATION_TEXT_RENDERER, AX_CONVERSATION_URL_ERRORS, AX_CONVERSATION_USER_AVATAR_COMPONENT, AX_CONVERSATION_USER_ERRORS, AX_CONVERSATION_VIDEO_CATALOG, AX_CONVERSATION_VIDEO_PRESENTATION, AX_CONVERSATION_VIDEO_RENDERER, AX_CONVERSATION_VOICE_CATALOG, AX_CONVERSATION_VOICE_PRESENTATION, AX_CONVERSATION_VOICE_RENDERER, AX_DEFAULT_CONVERSATION_CONFIG, abortPickerUploads, applyAudioLocalPreview, applyFileLocalPreview, applyLocalPreview, applyVideoLocalPreview, applyVoiceLocalPreview, audioItemFromUpload, bindMediaRendererContentState, buildMediaGalleryTiles, canShowRendererContentError, cleanupPickerUploads, conversationAudioUtilities, conversationFileUtilities, conversationImageUtilities, conversationVideoUtilities, conversationVoiceUtilities, copyWithFileTypeFallback, countLoneEmojis, createConversationAudioFileType, createConversationFileFileType, createConversationImageFileType, createConversationVideoFileType, createConversationVoiceFileType, createLocalPreviewUrl, createObjectUrl, createPickerDragHandlers, createPickerUploadItemId, createResolvedMediaUrlSignal, deleteUploadedPickerMedia, dismissComposerPickerHost, ensureConversationFileCatalogRegistered, fetchConversationMediaPage, fileItemAsAudioMedia, fileItemFromUpload, filesFromClipboardEvent, filterMessagesByMediaCategory, filterSupplementalInfoPanelMessages, findExistingPrivateConversation, formatDuration, formatErrorMessage, formatFileByteSize, formatFileSize, formatMediaDuration, formatPickerValidationMessage, getActiveComposerPickerPasteHandler, getConversationMediaCategories, getConversationProfileFields, getErrorMessage, getMessageAudioItems, getMessageVideoItems, getPickerCancelUploadLabel, getPrivatePeerParticipant, hasRegistryComponent, inferFileExtensionHintFromMessage, isAttachmentListCategory, isComposerTabEnabled, isConversationReactionsEnabled, isConversationRoomCreator, isGenericPrivateConversationTitle, isGridMediaCategory, isGroupLikeConversation, isJumboEmojiText, isJumboEmojiTextMessage, isMessageDeliveryPending, isMessageListThemeBackground, isMessageVisibleAfterHistoryCutoff, isNonPersistableMediaUrl, isPickerItemReadyToSend, isPlainChromeMessage, isSameMessageListBackground, isUploadAborted, limitFilesToCapacity, listTextGraphemes, mediaCopyText, mergeAudioUploadResult, mergeFileUploadResult, mergeInfoPanelMessages, mergeUploadResult, mergeVideoUploadResult, mergeVoiceUploadResult, mergeWithDefaults, messageContainsLink, normalizeAudioPayload, normalizeFilePayload, normalizeImagePayload, normalizeMessageListBackgroundValue, normalizeVideoPayload, notifyMaxFilesCapacityExceeded, notifyPickerValidationErrors, openWithFileType, pickDisplayMediaUrl, pickEarliestJoinedParticipant, pickerItemToMediaReference, pickerItemToUploadResult, probeImageDimensions, probeVideoMedia, provideConversation, provideConversationComposerFileTypes, provideConversationFileCatalog, registerComposerPickerPasteHandler, reportMediaLoadError, resolveComposerMaxFiles, resolveConversationAvatarDisplay, resolveConversationComposerTabs, resolveConversationForViewer, resolveConversationMessageFileType, resolveConversationPeerParticipant, resolveConversationPeerUserId, resolveConversationTitleForViewer, resolveGalleryImageUrl, resolveImageDisplayUrl, resolveMessageChrome, resolveMessageListBackgroundRaw, resolveMessageListBackgroundStyle, resolveParticipantProfile, resolvePersistableMediaUrl, resolvePersistedThumbnailUrl, resolvePrivatePeerParticipant, resolvePrivatePeerUserId, resolveUserAvatarDisplay, resolveVideoThumbnailUrl, revokeObjectUrl, revokePickerBlobPreviews, sanitizeInput, shouldUseUserAvatarForConversation, sortUsersForForward, syncPlaybackInfoBarBanner, toUploaderReference as toMediaItemUploaderReference, toUploaderReference$1 as toUploaderReference, uploadPickerFile, usesDefaultMessageListWallpaper, validateConversationId, validateEmail, validateLatitude, validateLongitude, validateMessagePayload, validateMessageText, validateMessageType, validateUrl, validateUserId, validateUserIds, videoItemFromUpload };
|
|
6826
|
-
export type { AXConversation, AXConversationApiError, AXConversationApiLogEntry, AXConversationApiName, AXConversationAudioMediaItem, AXConversationAudioPayload, AXConversationAvatarComponents, AXConversationAvatarDisplay, AXConversationAvatarKind, AXConversationBlockReportReason, AXConversationCleanupPickerUploadsOptions, AXConversationComposerAction, AXConversationComposerActionComponent, AXConversationComposerActionContext, AXConversationComposerGenerationPhase, AXConversationComposerPickerUploadItem, AXConversationComposerPrimaryButtonMode, AXConversationComposerTab, AXConversationComposerTabFeature, AXConversationConfig, AXConversationConnectionStatus, AXConversationConversationAvatarComponent, AXConversationCreateData, AXConversationDateSeparatorKind, AXConversationDeleteDialogMode, AXConversationDeleteDialogResult, AXConversationDeleteMessageCommand, AXConversationDeleteOptions, AXConversationDropdownMenuItem, AXConversationEditMessageCommand, AXConversationError, AXConversationErrorCode, AXConversationErrorHandlerConfig, AXConversationErrorMessage, AXConversationErrorSeverity, AXConversationFeatures, AXConversationFileMediaItem, AXConversationFilePayload, AXConversationFilter, AXConversationFilters, AXConversationForwardUserSortEntry, AXConversationGroupedReaction, AXConversationImageMediaItem, AXConversationImagePayload, AXConversationInfoBarAction, AXConversationInfoBarActionComponent, AXConversationInfoBarActionContext, AXConversationInfoBarActiveBanner, AXConversationInfoBarActiveComponent, AXConversationInfoProfileField, AXConversationItemAction, AXConversationItemActionContext, AXConversationLink, AXConversationLinkPreview, AXConversationLoadMessagesResult, AXConversationLocationPayload, AXConversationMediaCategory, AXConversationMediaCategoryId, AXConversationMediaDimensions, AXConversationMediaGalleryTile, AXConversationMediaItemFields, AXConversationMediaPageResult, AXConversationMention, AXConversationMessage, AXConversationMessageAction, AXConversationMessageActionContext, AXConversationMessageChrome, AXConversationMessageClusterRole, AXConversationMessageDateGroup, AXConversationMessageForwardData, AXConversationMessageInfoBarBannerComponent, AXConversationMessageListBackground, AXConversationMessageListBackgroundPreset, AXConversationMessageListEmptyComponent, AXConversationMessageListThemeBackground, AXConversationMessagePayload, AXConversationMessageRenderer, AXConversationMessageRendererCapabilities, AXConversationMessageRendererComponent, AXConversationMessageRendererContentState, AXConversationMessageRendererState, AXConversationMessageSearchFilters, AXConversationMessageStatus, AXConversationMessageType, AXConversationMetadata, AXConversationOptions, AXConversationOutletSkeleton, AXConversationPaginatedResult, AXConversationPagination, AXConversationPaginationState, AXConversationParticipant, AXConversationParticipantRole, AXConversationParticipantUpdate, AXConversationPickerPasteHandler, AXConversationPinnedMessage, AXConversationPlaybackBannerInputs, AXConversationPollOption, AXConversationPollPayload, AXConversationPresenceStatus, AXConversationPresenceUpdate, AXConversationReaction, AXConversationReadReceipt, AXConversationRegistryComponentRef, AXConversationRegistryConfiguration, AXConversationRegistryItem, AXConversationRoomPreferences, AXConversationRoomPreferencesMap, AXConversationSendMessageCommand, AXConversationSendMessageOptions, AXConversationSendMessageUploadSource, AXConversationSettingsUpdate, AXConversationSidebarTabsOrientation, AXConversationSort, AXConversationStickerPayload, AXConversationSystemPayload, AXConversationTab, AXConversationTextFormat, AXConversationTextPayload, AXConversationType, AXConversationTypingIndicator, AXConversationUpdateData, AXConversationUploadOptions, AXConversationUploaderFilePreview, AXConversationUploaderReference, AXConversationUploaderResult, AXConversationUser, AXConversationUserAvatarComponent, AXConversationUserPresence, AXConversationUserProfile, AXConversationUserProfileUpdate, AXConversationUserSearchFilters, AXConversationValidationResult, AXConversationVideoMediaItem, AXConversationVideoPayload, AXConversationVoicePayload };
|
|
6874
|
+
export { AXConversationApi, AXConversationApiLoggerService, AXConversationAudioAttachmentComponent, AXConversationAudioFileTypeProvider, AXConversationAudioPickerComponent, AXConversationAudioRendererComponent, AXConversationAvatarComponent, AXConversationAvatarPickerComponent, AXConversationBaseRegistry, AXConversationComposerActionRegistry, AXConversationComposerComponent, AXConversationComposerFileTypesProvider, AXConversationComposerGenerationStateService, AXConversationComposerPopupComponent, AXConversationComposerService, AXConversationComposerTabRegistry, AXConversationContainerComponent, AXConversationContainerDirective, AXConversationDateUtilsService, AXConversationDeleteDialogComponent, AXConversationEmojiTabComponent, AXConversationErrorHandlerService, AXConversationFallbackRendererComponent, AXConversationFileAttachmentComponent, AXConversationFileFileTypeProvider, AXConversationFilePickerComponent, AXConversationFileRendererComponent, AXConversationForwardMessageDialogComponent, AXConversationImageAttachmentComponent, AXConversationImageFileTypeProvider, AXConversationImagePickerComponent, AXConversationImageRendererComponent, AXConversationInfiniteScrollDirective, AXConversationInfoBarActionRegistry, AXConversationInfoBarComponent, AXConversationInfoBarSearchComponent, AXConversationInfoBarService, AXConversationItemActionRegistry, AXConversationLocationPickerComponent, AXConversationLocationRendererComponent, AXConversationMediaPlaybackInfoBarBannerComponent, AXConversationMessageActionRegistry, AXConversationMessageApi, AXConversationMessageListComponent, AXConversationMessageListNoActiveDefaultComponent, AXConversationMessageListService, AXConversationMessageRendererCopyHostComponent, AXConversationMessageRendererRegistry, AXConversationMessageRendererStateComponent, AXConversationMessageUtilsService, AXConversationModule, AXConversationNewDialogComponent, AXConversationPickerCaptionComponent, AXConversationPickerEmptyComponent, AXConversationPickerFooterComponent, AXConversationPickerHeaderComponent, AXConversationPickerOptionsComponent, AXConversationPickerShellComponent, AXConversationPickerToolbarComponent, AXConversationRealtimeApi, AXConversationRegistryComponentOutletComponent, AXConversationRegistryService, AXConversationService, AXConversationSidebarComponent, AXConversationSidebarService, AXConversationStickerRendererComponent, AXConversationStickerTabComponent, AXConversationSystemRendererComponent, AXConversationTabRegistry, AXConversationTextRendererComponent, AXConversationUserApi, AXConversationVideoAttachmentComponent, AXConversationVideoFileTypeProvider, AXConversationVideoPickerComponent, AXConversationVideoRendererComponent, AXConversationVoiceFileTypeProvider, AXConversationVoiceRecorderComponent, AXConversationVoiceRendererComponent, AX_CONVERSATION_AUDIO_CATALOG, AX_CONVERSATION_AUDIO_PRESENTATION, AX_CONVERSATION_AUDIO_RENDERER, AX_CONVERSATION_BUILTIN_COMPOSER_TABS, AX_CONVERSATION_COMPOSER_AUDIO_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_TAB, AX_CONVERSATION_COMPOSER_FILE_ACTION, AX_CONVERSATION_COMPOSER_IMAGE_ACTION, AX_CONVERSATION_COMPOSER_LOCATION_ACTION, AX_CONVERSATION_COMPOSER_STICKER_TAB, AX_CONVERSATION_COMPOSER_VIDEO_ACTION, AX_CONVERSATION_COMPOSER_VOICE_RECORDING_ACTION, AX_CONVERSATION_CONFIG, AX_CONVERSATION_CONNECTION_ERRORS, AX_CONVERSATION_CONVERSATION_AVATAR_COMPONENT, AX_CONVERSATION_DEFAULT_COMPOSER_ACTIONS, AX_CONVERSATION_DEFAULT_COMPOSER_TABS, AX_CONVERSATION_DEFAULT_CONVERSATION_ITEM_ACTIONS, AX_CONVERSATION_DEFAULT_CONVERSATION_TABS, AX_CONVERSATION_DEFAULT_GROUP_ICON, AX_CONVERSATION_DEFAULT_INFO_BAR_ACTIONS, AX_CONVERSATION_DEFAULT_MESSAGE_ACTIONS, AX_CONVERSATION_DEFAULT_MESSAGE_LIST_BACKGROUND, AX_CONVERSATION_DEFAULT_MESSAGE_LIST_BACKGROUND_PRESET_ID, AX_CONVERSATION_DEFAULT_MESSAGE_LIST_THEME_BACKGROUND, AX_CONVERSATION_DEFAULT_MESSAGE_RENDERERS, AX_CONVERSATION_DEFAULT_ROOM_PREFERENCES, AX_CONVERSATION_DEFAULT_USER_ICON, AX_CONVERSATION_ERRORS, AX_CONVERSATION_ERROR_HANDLER_CONFIG, AX_CONVERSATION_ERROR_MESSAGES, AX_CONVERSATION_FALLBACK_RENDERER, AX_CONVERSATION_FILE_CATALOG, AX_CONVERSATION_FILE_ERRORS, AX_CONVERSATION_FILE_PRESENTATION, AX_CONVERSATION_FILE_RENDERER, AX_CONVERSATION_FILE_TYPES_READY, AX_CONVERSATION_IMAGE_CATALOG, AX_CONVERSATION_IMAGE_PRESENTATION, AX_CONVERSATION_IMAGE_RENDERER, AX_CONVERSATION_INFO_BAR_ARCHIVE_ACTION, AX_CONVERSATION_INFO_BAR_BLOCK_ACTION, AX_CONVERSATION_INFO_BAR_DELETE_ACTION, AX_CONVERSATION_INFO_BAR_DIVIDER, AX_CONVERSATION_INFO_BAR_MUTE_ACTION, AX_CONVERSATION_INFO_BAR_SEARCH_ACTION, AX_CONVERSATION_ITEM_BLOCK_ACTION, AX_CONVERSATION_ITEM_DELETE_ACTION, AX_CONVERSATION_ITEM_DIVIDER, AX_CONVERSATION_ITEM_MARK_READ_ACTION, AX_CONVERSATION_ITEM_MUTE_ACTION, AX_CONVERSATION_ITEM_PIN_ACTION, AX_CONVERSATION_JUMBO_EMOJI_MAX, AX_CONVERSATION_LOCATION_ERRORS, AX_CONVERSATION_LOCATION_RENDERER, AX_CONVERSATION_MESSAGE_DELETE_ACTION, AX_CONVERSATION_MESSAGE_EDIT_ACTION, AX_CONVERSATION_MESSAGE_ERRORS, AX_CONVERSATION_MESSAGE_FORWARD_ACTION, AX_CONVERSATION_MESSAGE_LIST_BACKGROUND_PRESETS, AX_CONVERSATION_MESSAGE_REPLY_ACTION, AX_CONVERSATION_MESSAGE_TYPE_FILE_TYPE, AX_CONVERSATION_PEER_AVATAR_TYPES, AX_CONVERSATION_REGISTRY_CONFIG, AX_CONVERSATION_STICKER_API_KEY, AX_CONVERSATION_STICKER_RENDERER, AX_CONVERSATION_SYSTEM_RENDERER, AX_CONVERSATION_TAB_ALL, AX_CONVERSATION_TAB_ARCHIVED, AX_CONVERSATION_TAB_BOT, AX_CONVERSATION_TAB_CHANNELS, AX_CONVERSATION_TAB_GROUPS, AX_CONVERSATION_TAB_PRIVATE, AX_CONVERSATION_TAB_UNREAD, AX_CONVERSATION_TEXT_RENDERER, AX_CONVERSATION_URL_ERRORS, AX_CONVERSATION_USER_AVATAR_COMPONENT, AX_CONVERSATION_USER_ERRORS, AX_CONVERSATION_VIDEO_CATALOG, AX_CONVERSATION_VIDEO_PRESENTATION, AX_CONVERSATION_VIDEO_RENDERER, AX_CONVERSATION_VOICE_CATALOG, AX_CONVERSATION_VOICE_PRESENTATION, AX_CONVERSATION_VOICE_RENDERER, AX_DEFAULT_CONVERSATION_CONFIG, abortPickerUploads, applyAudioLocalPreview, applyFileLocalPreview, applyLocalPreview, applyVideoLocalPreview, applyVoiceLocalPreview, audioItemFromUpload, bindMediaRendererContentState, buildMediaGalleryTiles, canShowRendererContentError, cleanupPickerUploads, conversationAudioUtilities, conversationFileUtilities, conversationImageUtilities, conversationVideoUtilities, conversationVoiceUtilities, copyWithFileTypeFallback, countLoneEmojis, createConversationAudioFileType, createConversationFileFileType, createConversationImageFileType, createConversationVideoFileType, createConversationVoiceFileType, createLocalPreviewUrl, createObjectUrl, createPickerDragHandlers, createPickerUploadItemId, createResolvedMediaUrlSignal, deleteUploadedPickerMedia, dismissComposerPickerHost, ensureConversationFileCatalogRegistered, fetchConversationMediaPage, fileItemAsAudioMedia, fileItemFromUpload, filesFromClipboardEvent, filterMessagesByMediaCategory, filterSupplementalInfoPanelMessages, findExistingPrivateConversation, formatDuration, formatErrorMessage, formatFileByteSize, formatFileSize, formatMediaDuration, formatPickerValidationMessage, getActiveComposerPickerPasteHandler, getConversationMediaCategories, getConversationProfileFields, getErrorMessage, getMessageAudioItems, getMessageVideoItems, getPickerCancelUploadLabel, getPrivatePeerParticipant, hasRegistryComponent, inferFileExtensionHintFromMessage, isAttachmentListCategory, isComposerAttachmentBannerEnabled, isComposerTabEnabled, isConversationReactionsEnabled, isConversationRoomCreator, isGenericPrivateConversationTitle, isGridMediaCategory, isGroupLikeConversation, isJumboEmojiText, isJumboEmojiTextMessage, isMessageDeliveryPending, isMessageListThemeBackground, isMessageVisibleAfterHistoryCutoff, isNonPersistableMediaUrl, isPickerItemReadyToSend, isPlainChromeMessage, isSameMessageListBackground, isUploadAborted, limitFilesToCapacity, listTextGraphemes, mediaCopyText, mergeAudioUploadResult, mergeFileUploadResult, mergeInfoPanelMessages, mergeUploadResult, mergeVideoUploadResult, mergeVoiceUploadResult, mergeWithDefaults, messageContainsLink, normalizeAudioPayload, normalizeConversationInboundFile, normalizeFilePayload, normalizeImagePayload, normalizeMessageListBackgroundValue, normalizeVideoPayload, notifyMaxFilesCapacityExceeded, notifyPickerValidationErrors, openWithFileType, pickDisplayMediaUrl, pickEarliestJoinedParticipant, pickerItemToMediaReference, pickerItemToUploadResult, probeAudioDuration, probeImageDimensions, probeVideoMedia, provideConversation, provideConversationComposerFileTypes, provideConversationFileCatalog, registerComposerPickerPasteHandler, reportMediaLoadError, resolveComposerAttachmentPresentation, resolveComposerMaxFiles, resolveConversationAvatarDisplay, resolveConversationComposerTabs, resolveConversationForViewer, resolveConversationMessageFileType, resolveConversationPeerParticipant, resolveConversationPeerUserId, resolveConversationTitleForViewer, resolveGalleryImageUrl, resolveImageDisplayUrl, resolveMessageChrome, resolveMessageListBackgroundRaw, resolveMessageListBackgroundStyle, resolveParticipantProfile, resolvePersistableMediaUrl, resolvePersistedThumbnailUrl, resolvePrivatePeerParticipant, resolvePrivatePeerUserId, resolveUserAvatarDisplay, resolveVideoThumbnailUrl, revokeObjectUrl, revokePickerBlobPreviews, sanitizeInput, shouldUseUserAvatarForConversation, sortUsersForForward, syncPlaybackInfoBarBanner, toUploaderReference as toMediaItemUploaderReference, toUploaderReference$1 as toUploaderReference, uploadPickerFile, usesDefaultMessageListWallpaper, validateConversationId, validateEmail, validateLatitude, validateLongitude, validateMessagePayload, validateMessageText, validateMessageType, validateUrl, validateUserId, validateUserIds, videoItemFromUpload };
|
|
6875
|
+
export type { AXConversation, AXConversationApiError, AXConversationApiLogEntry, AXConversationApiName, AXConversationAudioMediaItem, AXConversationAudioPayload, AXConversationAvatarComponents, AXConversationAvatarDisplay, AXConversationAvatarKind, AXConversationBlockReportReason, AXConversationCleanupPickerUploadsOptions, AXConversationComposerAction, AXConversationComposerActionComponent, AXConversationComposerActionContext, AXConversationComposerAttachmentPresentation, AXConversationComposerDraftAttachment, AXConversationComposerDraftAttachmentKind, AXConversationComposerGenerationPhase, AXConversationComposerPickerUploadItem, AXConversationComposerPrimaryButtonMode, AXConversationComposerTab, AXConversationComposerTabFeature, AXConversationConfig, AXConversationConnectionStatus, AXConversationConversationAvatarComponent, AXConversationCreateData, AXConversationDateSeparatorKind, AXConversationDeleteDialogMode, AXConversationDeleteDialogResult, AXConversationDeleteMessageCommand, AXConversationDeleteOptions, AXConversationDropdownMenuItem, AXConversationEditMessageCommand, AXConversationError, AXConversationErrorCode, AXConversationErrorHandlerConfig, AXConversationErrorMessage, AXConversationErrorSeverity, AXConversationFeatures, AXConversationFileMediaItem, AXConversationFilePayload, AXConversationFilter, AXConversationFilters, AXConversationForwardUserSortEntry, AXConversationGroupedReaction, AXConversationImageMediaItem, AXConversationImagePayload, AXConversationInfoBarAction, AXConversationInfoBarActionComponent, AXConversationInfoBarActionContext, AXConversationInfoBarActiveBanner, AXConversationInfoBarActiveComponent, AXConversationInfoProfileField, AXConversationItemAction, AXConversationItemActionContext, AXConversationLink, AXConversationLinkPreview, AXConversationLoadMessagesResult, AXConversationLocationPayload, AXConversationMediaCategory, AXConversationMediaCategoryId, AXConversationMediaDimensions, AXConversationMediaGalleryTile, AXConversationMediaItemFields, AXConversationMediaPageResult, AXConversationMention, AXConversationMessage, AXConversationMessageAction, AXConversationMessageActionContext, AXConversationMessageChrome, AXConversationMessageClusterRole, AXConversationMessageDateGroup, AXConversationMessageForwardData, AXConversationMessageInfoBarBannerComponent, AXConversationMessageListBackground, AXConversationMessageListBackgroundPreset, AXConversationMessageListEmptyComponent, AXConversationMessageListThemeBackground, AXConversationMessagePayload, AXConversationMessageRenderer, AXConversationMessageRendererCapabilities, AXConversationMessageRendererComponent, AXConversationMessageRendererContentState, AXConversationMessageRendererState, AXConversationMessageSearchFilters, AXConversationMessageStatus, AXConversationMessageType, AXConversationMetadata, AXConversationOptions, AXConversationOutletSkeleton, AXConversationPaginatedResult, AXConversationPagination, AXConversationPaginationState, AXConversationParticipant, AXConversationParticipantRole, AXConversationParticipantUpdate, AXConversationPickerPasteHandler, AXConversationPinnedMessage, AXConversationPlaybackBannerInputs, AXConversationPollOption, AXConversationPollPayload, AXConversationPresenceStatus, AXConversationPresenceUpdate, AXConversationReaction, AXConversationReadReceipt, AXConversationRegistryComponentRef, AXConversationRegistryConfiguration, AXConversationRegistryItem, AXConversationRoomPreferences, AXConversationRoomPreferencesMap, AXConversationSendMessageCommand, AXConversationSendMessageOptions, AXConversationSendMessageUploadSource, AXConversationSettingsUpdate, AXConversationSidebarTabsOrientation, AXConversationSort, AXConversationStickerPayload, AXConversationSystemPayload, AXConversationTab, AXConversationTextFormat, AXConversationTextPayload, AXConversationType, AXConversationTypingIndicator, AXConversationUpdateData, AXConversationUploadOptions, AXConversationUploaderFilePreview, AXConversationUploaderReference, AXConversationUploaderResult, AXConversationUser, AXConversationUserAvatarComponent, AXConversationUserPresence, AXConversationUserProfile, AXConversationUserProfileUpdate, AXConversationUserSearchFilters, AXConversationValidationResult, AXConversationVideoMediaItem, AXConversationVideoPayload, AXConversationVoicePayload };
|
|
@@ -178,6 +178,7 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
178
178
|
private loadingService;
|
|
179
179
|
private _platform;
|
|
180
180
|
private componentService;
|
|
181
|
+
private document;
|
|
181
182
|
private contentContainerRef;
|
|
182
183
|
private contentContainerEl;
|
|
183
184
|
private popupEl;
|
|
@@ -200,17 +201,9 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
200
201
|
protected skeletonTemplate: () => TemplateRef<unknown>;
|
|
201
202
|
/** Current title */
|
|
202
203
|
protected title: _angular_core.WritableSignal<string>;
|
|
203
|
-
/**
|
|
204
|
-
protected
|
|
205
|
-
|
|
206
|
-
protected dragOffset: _angular_core.WritableSignal<{
|
|
207
|
-
x: number;
|
|
208
|
-
y: number;
|
|
209
|
-
}>;
|
|
210
|
-
/** @ignore */
|
|
211
|
-
private dragStartPos;
|
|
212
|
-
/** @ignore */
|
|
213
|
-
private elementStartPos;
|
|
204
|
+
/** Clamps dragging to the viewport (`document.documentElement`). */
|
|
205
|
+
protected readonly dragBoundary: _angular_core.WritableSignal<HTMLElement>;
|
|
206
|
+
protected readonly dragDisabled: _angular_core.Signal<boolean>;
|
|
214
207
|
protected popupSizeState: _angular_core.WritableSignal<"minimize" | "normal">;
|
|
215
208
|
protected fullScreenState: _angular_core.WritableSignal<boolean>;
|
|
216
209
|
protected minimizeLeft: _angular_core.WritableSignal<string>;
|
|
@@ -219,6 +212,7 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
219
212
|
protected closeEnabled: () => boolean;
|
|
220
213
|
protected maximizeEnabled: () => boolean;
|
|
221
214
|
protected minimizeEnabled: () => boolean;
|
|
215
|
+
constructor();
|
|
222
216
|
/** @ignore */
|
|
223
217
|
ngOnInit(): void;
|
|
224
218
|
/** @ignore */
|
|
@@ -259,9 +253,6 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
259
253
|
* Sets the popup title.
|
|
260
254
|
*/
|
|
261
255
|
setTitle(title: string): void;
|
|
262
|
-
protected onDragStart(event: MouseEvent): void;
|
|
263
|
-
onDragMove(event: MouseEvent): void;
|
|
264
|
-
onDragEnd(): void;
|
|
265
256
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPopupComponent, never>;
|
|
266
257
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, { "__content__": { "alias": "__content__"; "required": false; "isSignal": true; }; "__config__": { "alias": "__config__"; "required": false; "isSignal": true; }; "__popupRef__": { "alias": "__popupRef__"; "required": false; "isSignal": true; }; "__id__": { "alias": "__id__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
267
258
|
}
|