@acorex/components 22.1.7 → 22.2.0
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-accordion.mjs +2 -2
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +12 -5
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +2 -2
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-combo-box.mjs +109 -16
- package/fesm2022/acorex-components-combo-box.mjs.map +1 -1
- package/fesm2022/{acorex-components-conversation-acorex-components-conversation-EiqMwr9v.mjs → acorex-components-conversation-acorex-components-conversation-CVgneI8Q.mjs} +1680 -877
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-CVgneI8Q.mjs.map +1 -0
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs +50 -0
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-image-picker-editor-dialog.component-QVs1XWYf.mjs → acorex-components-conversation-image-picker-editor-dialog.component-AO1evM19.mjs} +4 -4
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-AO1evM19.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-DuRLMEa3.mjs → acorex-components-conversation-picker-rename-file-dialog.component-Vc1R5AFc.mjs} +3 -3
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-DuRLMEa3.mjs.map → acorex-components-conversation-picker-rename-file-dialog.component-Vc1R5AFc.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +4 -4
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +34 -10
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +1 -1
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-fab.mjs +2 -2
- package/fesm2022/acorex-components-fab.mjs.map +1 -1
- package/fesm2022/acorex-components-file-viewer.mjs +29 -11
- package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +1 -1
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-highlight.mjs +80 -0
- package/fesm2022/acorex-components-highlight.mjs.map +1 -0
- package/fesm2022/acorex-components-image-editor.mjs +7 -7
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +1 -1
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +310 -48
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +1 -1
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +1 -1
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +1 -1
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +1 -1
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +4 -4
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +1 -1
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +5 -5
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +1 -1
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +1 -2
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +143 -43
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +2 -2
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +76 -6
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/highlight/README.md +13 -0
- package/package.json +7 -3
- package/types/acorex-components-button-group.d.ts +4 -0
- package/types/acorex-components-button.d.ts +1 -1
- package/types/acorex-components-combo-box.d.ts +15 -0
- package/types/acorex-components-conversation.d.ts +135 -126
- package/types/acorex-components-data-table.d.ts +6 -1
- package/types/acorex-components-file-viewer.d.ts +1 -0
- package/types/acorex-components-highlight.d.ts +31 -0
- package/types/acorex-components-lookup.d.ts +20 -1
- package/types/acorex-components-selection-list.d.ts +1 -1
- package/types/acorex-components-tabs.d.ts +13 -0
- package/types/acorex-components-wysiwyg.d.ts +13 -0
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-EiqMwr9v.mjs.map +0 -1
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-D4ca9Mvt.mjs +0 -51
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-D4ca9Mvt.mjs.map +0 -1
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-QVs1XWYf.mjs.map +0 -1
- package/fesm2022/acorex-components-conversation-open-composer-picker-for-files-C7BnTUw2.mjs +0 -210
- package/fesm2022/acorex-components-conversation-open-composer-picker-for-files-C7BnTUw2.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _acorex_components_conversation from '@acorex/components/conversation';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { OnDestroy, ViewContainerRef, Type, InputSignal, WritableSignal, Signal, Provider,
|
|
3
|
+
import { OnDestroy, ViewContainerRef, Type, InputSignal, WritableSignal, Signal, Provider, EventEmitter, TemplateRef, InjectionToken, ElementRef, ModuleWithProviders } from '@angular/core';
|
|
4
4
|
import { AXComponentCloseEvent, AXHtmlEvent, AXClickEvent, AXDataSource, AXPlacement } from '@acorex/cdk/common';
|
|
5
5
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
6
6
|
import * as _acorex_components_action_sheet from '@acorex/components/action-sheet';
|
|
@@ -1643,6 +1643,12 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1643
1643
|
private readonly messageListService;
|
|
1644
1644
|
private readonly config;
|
|
1645
1645
|
protected readonly translation: AXTranslationService;
|
|
1646
|
+
private readonly uploader;
|
|
1647
|
+
private readonly platform;
|
|
1648
|
+
private readonly fileService;
|
|
1649
|
+
private readonly toast;
|
|
1650
|
+
private readonly actionSheetService;
|
|
1651
|
+
private readonly hostRef;
|
|
1646
1652
|
/** Access registry through conversation service */
|
|
1647
1653
|
protected get composerActionRegistry(): _acorex_components_conversation.AXConversationComposerActionRegistry;
|
|
1648
1654
|
/** Composer text area reference */
|
|
@@ -1730,8 +1736,13 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1730
1736
|
onAttachMenuPanelMouseLeave(): void;
|
|
1731
1737
|
private scheduleAttachMenuClose;
|
|
1732
1738
|
private clearAttachMenuCloseTimer;
|
|
1733
|
-
/**
|
|
1739
|
+
/** Desktop: open an all-files chooser. Mobile: toggle the attachment dropdown. */
|
|
1734
1740
|
onAttachMenuClick(event: AXClickEvent): void;
|
|
1741
|
+
/** Open the OS file picker for any file, then route to the matching composer picker. */
|
|
1742
|
+
private openSmartAttachChooser;
|
|
1743
|
+
/** OS file paste (Ctrl+V) while the composer is focused. */
|
|
1744
|
+
onComposerPaste(event: ClipboardEvent): void;
|
|
1745
|
+
private composerPickerDeps;
|
|
1735
1746
|
/** Handle attachment menu action selection */
|
|
1736
1747
|
onAttachMenuAction(actionId: string): Promise<void>;
|
|
1737
1748
|
/** Handle primary button click (send / cancel / stopping / voice / locked). */
|
|
@@ -1804,6 +1815,8 @@ declare class AXConversationContainerComponent {
|
|
|
1804
1815
|
private readonly actionSheetService;
|
|
1805
1816
|
private readonly hostRef;
|
|
1806
1817
|
private readonly platformId;
|
|
1818
|
+
private readonly document;
|
|
1819
|
+
private readonly destroyRef;
|
|
1807
1820
|
protected readonly config: Required<_acorex_components_conversation.AXConversationConfig>;
|
|
1808
1821
|
constructor();
|
|
1809
1822
|
private get registry();
|
|
@@ -1818,11 +1831,7 @@ declare class AXConversationContainerComponent {
|
|
|
1818
1831
|
/** Container CSS classes */
|
|
1819
1832
|
readonly containerClasses: _angular_core.Signal<string>;
|
|
1820
1833
|
closeActiveConversation(): void;
|
|
1821
|
-
|
|
1822
|
-
* When the user pastes files copied from the OS (e.g. Ctrl+V after copying in Explorer),
|
|
1823
|
-
* open the same composer picker popup used for message-list drag-and-drop.
|
|
1824
|
-
*/
|
|
1825
|
-
onDocumentPaste(event: ClipboardEvent): Promise<void>;
|
|
1834
|
+
private openPastedFiles;
|
|
1826
1835
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationContainerComponent, never>;
|
|
1827
1836
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationContainerComponent, "ax-conversation-container", never, { "customClass": { "alias": "customClass"; "required": false; "isSignal": true; }; }, {}, never, ["ax-conversation-sidebar, [ax-conversation-sidebar]", "ax-conversation-info-bar, [ax-conversation-info-bar]", "ax-conversation-message-list, [ax-conversation-message-list]", "ax-conversation-composer, [ax-conversation-composer]", "ax-conversation-empty"], true, never>;
|
|
1828
1837
|
}
|
|
@@ -1833,6 +1842,8 @@ declare class AXConversationContainerDirective {
|
|
|
1833
1842
|
private readonly fileService;
|
|
1834
1843
|
private readonly hostRef;
|
|
1835
1844
|
private readonly platformId;
|
|
1845
|
+
private readonly document;
|
|
1846
|
+
private readonly destroyRef;
|
|
1836
1847
|
private readonly translation;
|
|
1837
1848
|
private readonly toast;
|
|
1838
1849
|
private readonly platform;
|
|
@@ -1847,7 +1858,7 @@ declare class AXConversationContainerDirective {
|
|
|
1847
1858
|
/** Error state */
|
|
1848
1859
|
readonly error: _angular_core.Signal<Error>;
|
|
1849
1860
|
closeActiveConversation(): void;
|
|
1850
|
-
|
|
1861
|
+
private openPastedFiles;
|
|
1851
1862
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationContainerDirective, never>;
|
|
1852
1863
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXConversationContainerDirective, "[axConversationContainer]", never, {}, {}, never, never, true, never>;
|
|
1853
1864
|
}
|
|
@@ -3678,9 +3689,13 @@ declare class AXConversationErrorHandlerService {
|
|
|
3678
3689
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXConversationErrorHandlerService>;
|
|
3679
3690
|
}
|
|
3680
3691
|
|
|
3681
|
-
declare class AXConversationForwardMessageDialogComponent
|
|
3692
|
+
declare class AXConversationForwardMessageDialogComponent {
|
|
3682
3693
|
private readonly toastService;
|
|
3683
3694
|
private readonly translation;
|
|
3695
|
+
private readonly config;
|
|
3696
|
+
private readonly destroyRef;
|
|
3697
|
+
private searchDebounceTimer?;
|
|
3698
|
+
constructor();
|
|
3684
3699
|
/**
|
|
3685
3700
|
* Set by {@link AXPopupComponent} when opened via {@link AXPopupService} so the shell title can update.
|
|
3686
3701
|
*/
|
|
@@ -3693,67 +3708,32 @@ declare class AXConversationForwardMessageDialogComponent implements OnInit {
|
|
|
3693
3708
|
/** Assigned from `open(..., { data: { message } })`. */
|
|
3694
3709
|
message: AXConversationMessage;
|
|
3695
3710
|
readonly onClosed: EventEmitter<AXComponentCloseEvent>;
|
|
3696
|
-
readonly
|
|
3711
|
+
readonly availableUsers: _angular_core.WritableSignal<AXConversationParticipant[]>;
|
|
3697
3712
|
readonly forwardSearchQuery: _angular_core.WritableSignal<string>;
|
|
3698
|
-
readonly
|
|
3713
|
+
readonly selectedUserIds: _angular_core.WritableSignal<string[]>;
|
|
3699
3714
|
readonly forwardListEmptyTpl: _angular_core.Signal<TemplateRef<unknown>>;
|
|
3715
|
+
readonly forwardListLoadingTpl: _angular_core.Signal<TemplateRef<unknown>>;
|
|
3700
3716
|
readonly forwardList: _angular_core.Signal<AXListComponent>;
|
|
3701
3717
|
readonly forwardListDataSource: AXDataSource<unknown>;
|
|
3702
3718
|
readonly isForwarding: _angular_core.Signal<boolean>;
|
|
3703
3719
|
readonly canForward: _angular_core.Signal<boolean>;
|
|
3704
3720
|
private readonly _syncPopupTitleEffect;
|
|
3705
|
-
ngOnInit(): void;
|
|
3706
3721
|
onForwardSearchChange(value: string): void;
|
|
3707
|
-
|
|
3708
|
-
isSelected(
|
|
3709
|
-
private
|
|
3722
|
+
userFromItem(item: unknown): AXConversationParticipant | null;
|
|
3723
|
+
isSelected(userId: string): boolean;
|
|
3724
|
+
private mergeUsersCache;
|
|
3725
|
+
private seedUsersFromConversations;
|
|
3726
|
+
private loadUsersForForward;
|
|
3727
|
+
private getSortedUsersForForward;
|
|
3728
|
+
private isExcludedUser;
|
|
3729
|
+
private getExcludedUserIds;
|
|
3730
|
+
private resolveConversationIdForUser;
|
|
3710
3731
|
onCancel(): void;
|
|
3711
3732
|
onForward(): Promise<void>;
|
|
3712
3733
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationForwardMessageDialogComponent, never>;
|
|
3713
3734
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationForwardMessageDialogComponent, "ax-conversation-forward-message-dialog", never, { "__popup__": { "alias": "__popup__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3714
3735
|
}
|
|
3715
3736
|
|
|
3716
|
-
/**
|
|
3717
|
-
* Message Utilities Service
|
|
3718
|
-
* Helper functions for message formatting and display
|
|
3719
|
-
*/
|
|
3720
|
-
|
|
3721
|
-
/** Position of a message inside a consecutive same-sender cluster (Telegram grouping). */
|
|
3722
|
-
type AXConversationMessageClusterRole = 'single' | 'start' | 'middle' | 'end';
|
|
3723
|
-
declare class AXConversationMessageUtilsService {
|
|
3724
|
-
static getInitials(name: string): string;
|
|
3725
|
-
static getMessageText(message: AXConversationMessage): string;
|
|
3726
|
-
static getPreviewText(message: AXConversationMessage, maxLength?: number): {
|
|
3727
|
-
value: string;
|
|
3728
|
-
type: string;
|
|
3729
|
-
icon: string;
|
|
3730
|
-
};
|
|
3731
|
-
static isOwnMessage(message: AXConversationMessage, currentUserId: string): boolean;
|
|
3732
|
-
static getSenderName(message: AXConversationMessage, conversation: AXConversation): string;
|
|
3733
|
-
static getSenderAvatar(message: AXConversationMessage, conversation: AXConversation): string | undefined;
|
|
3734
|
-
static getSenderAvatarIcon(message: AXConversationMessage, conversation: AXConversation): string | undefined;
|
|
3735
|
-
static getConversationAvatar(conversation: AXConversation): string | undefined;
|
|
3736
|
-
static getConversationAvatarIcon(conversation: AXConversation): string | undefined;
|
|
3737
|
-
static getConversationStatus(conversation: AXConversation, presence?: AXConversationUserPresence): AXConversationPresenceStatus | undefined;
|
|
3738
|
-
/** Consecutive same-sender messages within this window share one Telegram-style cluster. */
|
|
3739
|
-
static readonly MESSAGE_CLUSTER_MAX_GAP_MS: number;
|
|
3740
|
-
/** Palette of existing theme tokens used to color group sender names (not bubble chrome). */
|
|
3741
|
-
private static readonly SENDER_NAME_COLORS;
|
|
3742
|
-
static toTimestampMs(value: Date | string | number): number;
|
|
3743
|
-
static shouldGroupMessages(message: AXConversationMessage, previousMessage?: AXConversationMessage): boolean;
|
|
3744
|
-
static getMessageClusterRole(message: AXConversationMessage, previousMessage?: AXConversationMessage, nextMessage?: AXConversationMessage): AXConversationMessageClusterRole;
|
|
3745
|
-
static getSenderNameColor(senderId: string): string;
|
|
3746
|
-
static getUserPresenceStatus(presence?: AXConversationUserPresence): AXConversationPresenceStatus | undefined;
|
|
3747
|
-
static getTypingText(conversation: AXConversation, typingUserIds: string[]): string;
|
|
3748
|
-
static formatLastSeen(date: Date): string;
|
|
3749
|
-
static getPrivateChatSubtitle(conversation: AXConversation, presence?: AXConversationUserPresence, currentUserId?: string): string;
|
|
3750
|
-
static getConversationSubtitle(conversation: AXConversation, options?: {
|
|
3751
|
-
typingUserIds?: string[];
|
|
3752
|
-
peerPresence?: AXConversationUserPresence;
|
|
3753
|
-
currentUserId?: string;
|
|
3754
|
-
}): string;
|
|
3755
|
-
}
|
|
3756
|
-
|
|
3757
3737
|
/** Default message list surface when no conversation is selected and no `ax-conversation-message-list-no-active` content is projected. */
|
|
3758
3738
|
declare class AXConversationMessageListNoActiveDefaultComponent {
|
|
3759
3739
|
private readonly translation;
|
|
@@ -3810,6 +3790,10 @@ declare function resolveMessageListBackgroundStyle(value: AXConversationMessageL
|
|
|
3810
3790
|
/** Whether two stored backgrounds represent the same preset (supports legacy string values). */
|
|
3811
3791
|
declare function isSameMessageListBackground(a: AXConversationMessageListBackground | undefined, b: AXConversationMessageListThemeBackground, isDark: boolean): boolean;
|
|
3812
3792
|
|
|
3793
|
+
interface AXConversationForwardUserSortEntry {
|
|
3794
|
+
user: AXConversationParticipant;
|
|
3795
|
+
conversation?: AXConversation;
|
|
3796
|
+
}
|
|
3813
3797
|
/** Default Font Awesome icon for group conversations without a custom avatar image. */
|
|
3814
3798
|
declare const AX_CONVERSATION_DEFAULT_GROUP_ICON = "fa-light fa-users";
|
|
3815
3799
|
/** Default Font Awesome icon for private/bot conversations without a custom avatar image. */
|
|
@@ -3821,6 +3805,10 @@ declare function isGenericPrivateConversationTitle(title: string | undefined): b
|
|
|
3821
3805
|
* Matches conversations with exactly those two participants.
|
|
3822
3806
|
*/
|
|
3823
3807
|
declare function findExistingPrivateConversation(conversations: AXConversation[], currentUserId: string, peerUserId: string): AXConversation | undefined;
|
|
3808
|
+
/**
|
|
3809
|
+
* Sort users for forward picker: existing private chats first (most recent on top), then others by name.
|
|
3810
|
+
*/
|
|
3811
|
+
declare function sortUsersForForward(users: AXConversationParticipant[], conversations: AXConversation[], currentUserId: string): AXConversationParticipant[];
|
|
3824
3812
|
/** Other participant in a private 1v1 chat (excludes the current viewer). */
|
|
3825
3813
|
declare function resolvePrivatePeerParticipant(conversation: AXConversation, currentUserId?: string): AXConversationParticipant | undefined;
|
|
3826
3814
|
/**
|
|
@@ -3877,6 +3865,47 @@ declare class AXConversationDateUtilsService {
|
|
|
3877
3865
|
static formatTime(date: Date): string;
|
|
3878
3866
|
}
|
|
3879
3867
|
|
|
3868
|
+
/**
|
|
3869
|
+
* Message Utilities Service
|
|
3870
|
+
* Helper functions for message formatting and display
|
|
3871
|
+
*/
|
|
3872
|
+
|
|
3873
|
+
/** Position of a message inside a consecutive same-sender cluster (Telegram grouping). */
|
|
3874
|
+
type AXConversationMessageClusterRole = 'single' | 'start' | 'middle' | 'end';
|
|
3875
|
+
declare class AXConversationMessageUtilsService {
|
|
3876
|
+
static getInitials(name: string): string;
|
|
3877
|
+
static getMessageText(message: AXConversationMessage): string;
|
|
3878
|
+
static getPreviewText(message: AXConversationMessage, maxLength?: number): {
|
|
3879
|
+
value: string;
|
|
3880
|
+
type: string;
|
|
3881
|
+
icon: string;
|
|
3882
|
+
};
|
|
3883
|
+
static isOwnMessage(message: AXConversationMessage, currentUserId: string): boolean;
|
|
3884
|
+
static getSenderName(message: AXConversationMessage, conversation: AXConversation): string;
|
|
3885
|
+
static getSenderAvatar(message: AXConversationMessage, conversation: AXConversation): string | undefined;
|
|
3886
|
+
static getSenderAvatarIcon(message: AXConversationMessage, conversation: AXConversation): string | undefined;
|
|
3887
|
+
static getConversationAvatar(conversation: AXConversation): string | undefined;
|
|
3888
|
+
static getConversationAvatarIcon(conversation: AXConversation): string | undefined;
|
|
3889
|
+
static getConversationStatus(conversation: AXConversation, presence?: AXConversationUserPresence): AXConversationPresenceStatus | undefined;
|
|
3890
|
+
/** Consecutive same-sender messages within this window share one Telegram-style cluster. */
|
|
3891
|
+
static readonly MESSAGE_CLUSTER_MAX_GAP_MS: number;
|
|
3892
|
+
/** Palette of existing theme tokens used to color group sender names (not bubble chrome). */
|
|
3893
|
+
private static readonly SENDER_NAME_COLORS;
|
|
3894
|
+
static toTimestampMs(value: Date | string | number): number;
|
|
3895
|
+
static shouldGroupMessages(message: AXConversationMessage, previousMessage?: AXConversationMessage): boolean;
|
|
3896
|
+
static getMessageClusterRole(message: AXConversationMessage, previousMessage?: AXConversationMessage, nextMessage?: AXConversationMessage): AXConversationMessageClusterRole;
|
|
3897
|
+
static getSenderNameColor(senderId: string): string;
|
|
3898
|
+
static getUserPresenceStatus(presence?: AXConversationUserPresence): AXConversationPresenceStatus | undefined;
|
|
3899
|
+
static getTypingText(conversation: AXConversation, typingUserIds: string[]): string;
|
|
3900
|
+
static formatLastSeen(date: Date): string;
|
|
3901
|
+
static getPrivateChatSubtitle(conversation: AXConversation, presence?: AXConversationUserPresence, currentUserId?: string): string;
|
|
3902
|
+
static getConversationSubtitle(conversation: AXConversation, options?: {
|
|
3903
|
+
typingUserIds?: string[];
|
|
3904
|
+
peerPresence?: AXConversationUserPresence;
|
|
3905
|
+
currentUserId?: string;
|
|
3906
|
+
}): string;
|
|
3907
|
+
}
|
|
3908
|
+
|
|
3880
3909
|
/**
|
|
3881
3910
|
* Conversation feature flags for configurable bundle size.
|
|
3882
3911
|
*/
|
|
@@ -4312,7 +4341,7 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
4312
4341
|
private readonly fileService;
|
|
4313
4342
|
private readonly toast;
|
|
4314
4343
|
private readonly infoBarService;
|
|
4315
|
-
|
|
4344
|
+
protected readonly translation: AXTranslationService;
|
|
4316
4345
|
private readonly document;
|
|
4317
4346
|
private readonly platform;
|
|
4318
4347
|
private readonly actionSheetService;
|
|
@@ -4336,6 +4365,8 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
4336
4365
|
readonly reactionPopover: _angular_core.Signal<any>;
|
|
4337
4366
|
/** Message id whose context menu is open (for active row styling). */
|
|
4338
4367
|
readonly contextMenuMessageId: _angular_core.WritableSignal<string>;
|
|
4368
|
+
private readonly contextMenuMessage;
|
|
4369
|
+
private readonly messageActionsMenu;
|
|
4339
4370
|
/** True while files are dragged over the message list drop zone. */
|
|
4340
4371
|
readonly messageListDragging: _angular_core.WritableSignal<boolean>;
|
|
4341
4372
|
/** True when the message list uses single-column adaptive layout (matches CSS container query). */
|
|
@@ -4344,8 +4375,6 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
4344
4375
|
private restoringScrollAfterPrepend;
|
|
4345
4376
|
private adaptiveLayoutResizeObserver?;
|
|
4346
4377
|
private documentClickListener?;
|
|
4347
|
-
private readonly rendererInputsCache;
|
|
4348
|
-
private readonly rendererViewByType;
|
|
4349
4378
|
readonly availableReactions: _angular_core.WritableSignal<string[]>;
|
|
4350
4379
|
private reactionsLoading;
|
|
4351
4380
|
private get registry();
|
|
@@ -4393,54 +4422,10 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
4393
4422
|
* Mark message as read
|
|
4394
4423
|
*/
|
|
4395
4424
|
private markMessageAsRead;
|
|
4396
|
-
getMessageClusterRole(message: AXConversationMessage, previous?: AXConversationMessage, next?: AXConversationMessage): AXConversationMessageClusterRole;
|
|
4397
|
-
getSenderNameColor(senderId: string): string;
|
|
4398
|
-
/** Get message CSS classes */
|
|
4399
|
-
getMessageClasses(message: AXConversationMessage, cluster: AXConversationMessageClusterRole): string;
|
|
4400
|
-
/** Get bubble CSS classes */
|
|
4401
|
-
getBubbleClasses(message: AXConversationMessage): string;
|
|
4402
4425
|
/** Check if message is from current user */
|
|
4403
4426
|
isOwnMessage(message: AXConversationMessage): boolean;
|
|
4404
|
-
/** Whether the avatar slot is rendered (visibility is CSS-controlled per layout mode). */
|
|
4405
|
-
shouldRenderAvatar(message: AXConversationMessage): boolean;
|
|
4406
|
-
/** Should show sender name */
|
|
4407
|
-
shouldShowSenderName(message: AXConversationMessage, cluster: AXConversationMessageClusterRole): boolean;
|
|
4408
|
-
/** Get sender name */
|
|
4409
|
-
getSenderName(message: AXConversationMessage): string;
|
|
4410
|
-
/** Get original sender name for forwarded messages */
|
|
4411
|
-
getOriginalSenderName(message: AXConversationMessage): string;
|
|
4412
|
-
/** Get forwarded text with sender and conversation info */
|
|
4413
|
-
getForwardedText(message: AXConversationMessage): string;
|
|
4414
|
-
/** Resolve renderer component for message */
|
|
4415
|
-
getRendererComponent(message: AXConversationMessage): Type<unknown>;
|
|
4416
|
-
/** Resolve lazy renderer loader for message */
|
|
4417
|
-
private static readonly fallbackRendererLoader;
|
|
4418
|
-
getRendererComponentLoader(message: AXConversationMessage): () => Promise<Type<unknown>>;
|
|
4419
|
-
private resolveRendererView;
|
|
4420
|
-
/** Provide inputs for the dynamic renderer (stable object so outlets are not rebuilt on CD). */
|
|
4421
|
-
getRendererInputs(message: AXConversationMessage): {
|
|
4422
|
-
message: AXConversationMessage;
|
|
4423
|
-
};
|
|
4424
|
-
/** Get status icon CSS classes */
|
|
4425
|
-
getStatusIconClasses(message: AXConversationMessage): string;
|
|
4426
|
-
/** Get status tooltip text */
|
|
4427
|
-
getStatusTooltip(message: AXConversationMessage): string;
|
|
4428
4427
|
/** Get first unread message ID */
|
|
4429
4428
|
readonly firstUnreadMessageId: _angular_core.Signal<string>;
|
|
4430
|
-
/** Get grouped reactions */
|
|
4431
|
-
getGroupedReactions(message: AXConversationMessage): Array<{
|
|
4432
|
-
emoji: string;
|
|
4433
|
-
count: number;
|
|
4434
|
-
userIds: string[];
|
|
4435
|
-
hasReacted: boolean;
|
|
4436
|
-
}>;
|
|
4437
|
-
/** Get reaction tooltip text */
|
|
4438
|
-
getReactionTooltip(reaction: {
|
|
4439
|
-
emoji: string;
|
|
4440
|
-
count: number;
|
|
4441
|
-
userIds: string[];
|
|
4442
|
-
hasReacted: boolean;
|
|
4443
|
-
}): string;
|
|
4444
4429
|
/** Whether reactions can be shown or added for a message in the active conversation. */
|
|
4445
4430
|
messageSupportsReactions(message: AXConversationMessage): boolean;
|
|
4446
4431
|
/** Toggle reaction picker */
|
|
@@ -4484,27 +4469,25 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
4484
4469
|
scrollToMessage(messageId: string): void;
|
|
4485
4470
|
/** Cleanup timeouts and observers on destroy */
|
|
4486
4471
|
ngOnDestroy(): void;
|
|
4487
|
-
/** Get
|
|
4488
|
-
getMessagePreviewText(message: AXConversationMessage): {
|
|
4489
|
-
value: string;
|
|
4490
|
-
type: string;
|
|
4491
|
-
icon: string;
|
|
4492
|
-
};
|
|
4493
|
-
/** Get ARIA label for message */
|
|
4494
|
-
getMessageAriaLabel(message: AXConversationMessage): string;
|
|
4472
|
+
/** Get ARIA label for a date separator. */
|
|
4495
4473
|
getDateSeparatorAriaLabel(group: AXConversationMessageDateGroup): string;
|
|
4496
4474
|
resolveDateSeparatorLabel(group: AXConversationMessageDateGroup): string;
|
|
4497
|
-
getReplyCount(message: AXConversationMessage): number;
|
|
4498
|
-
getForwardCount(message: AXConversationMessage): number;
|
|
4499
4475
|
onMessageListDragEnter(): void;
|
|
4500
4476
|
onMessageListDragLeave(): void;
|
|
4501
4477
|
/** Open the matching composer picker popup when files are dropped on the message list. */
|
|
4502
4478
|
onMessageListFilesDropped(event: AXUploaderFileChangeEvent): Promise<void>;
|
|
4503
4479
|
private composerPickerDeps;
|
|
4480
|
+
/**
|
|
4481
|
+
* Open the shared message-actions menu from a single delegated listener.
|
|
4482
|
+
* Per-row `ax-context-menu` instances each register capture-phase scroll listeners
|
|
4483
|
+
* and were the main source of scroll jank.
|
|
4484
|
+
*/
|
|
4485
|
+
onMessagesFeedContextMenu(event: MouseEvent): void;
|
|
4486
|
+
onMessageContextMenuClose(): void;
|
|
4504
4487
|
/** Handle context menu opening for messages */
|
|
4505
|
-
handleMessageContextMenuOpening(event: AXContextMenuOpeningEvent
|
|
4488
|
+
handleMessageContextMenuOpening(event: AXContextMenuOpeningEvent): void;
|
|
4506
4489
|
/** Handle context menu item click for messages */
|
|
4507
|
-
handleMessageContextMenuItemClick(event: AXContextMenuItemsClickEvent
|
|
4490
|
+
handleMessageContextMenuItemClick(event: AXContextMenuItemsClickEvent): void;
|
|
4508
4491
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationMessageListComponent, never>;
|
|
4509
4492
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationMessageListComponent, "ax-conversation-message-list", never, {}, { "messageAction": "messageAction"; }, never, ["ax-conversation-message-list-empty, [ax-conversation-message-list-empty]", "ax-conversation-message-list-no-active, [ax-conversation-message-list-no-active]"], true, never>;
|
|
4510
4493
|
}
|
|
@@ -5045,6 +5028,12 @@ declare class AXConversationImageFileTypeProvider extends AXFileTypeInfoProvider
|
|
|
5045
5028
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXConversationImageFileTypeProvider>;
|
|
5046
5029
|
}
|
|
5047
5030
|
|
|
5031
|
+
type AXConversationMediaGalleryLayoutMode = 'single' | 'dual' | 'triple' | 'masonry';
|
|
5032
|
+
interface AXConversationMediaGalleryRow<T> {
|
|
5033
|
+
items: T[];
|
|
5034
|
+
startIndex: number;
|
|
5035
|
+
}
|
|
5036
|
+
|
|
5048
5037
|
interface AXConversationImageFile extends AXConversationComposerPickerUploadItem {
|
|
5049
5038
|
preview: string;
|
|
5050
5039
|
}
|
|
@@ -5077,6 +5066,8 @@ declare class AXConversationImagePickerComponent implements OnDestroy, AXConvers
|
|
|
5077
5066
|
groupItems: boolean;
|
|
5078
5067
|
sendAsDocuments: boolean;
|
|
5079
5068
|
readonly allowMultiple: _angular_core.Signal<boolean>;
|
|
5069
|
+
readonly layoutMode: _angular_core.Signal<AXConversationMediaGalleryLayoutMode>;
|
|
5070
|
+
readonly mediaRows: _angular_core.Signal<AXConversationMediaGalleryRow<AXConversationImageFile>[]>;
|
|
5080
5071
|
private imageFileType?;
|
|
5081
5072
|
constructor();
|
|
5082
5073
|
activate(): Promise<void>;
|
|
@@ -5091,7 +5082,6 @@ declare class AXConversationImagePickerComponent implements OnDestroy, AXConvers
|
|
|
5091
5082
|
private applyReplacementFile;
|
|
5092
5083
|
sendImages(): Promise<void>;
|
|
5093
5084
|
private sendImagesAsDocuments;
|
|
5094
|
-
getMediaGridClass(): string;
|
|
5095
5085
|
canSend(): boolean;
|
|
5096
5086
|
getUploadingLabel(progress: number): string;
|
|
5097
5087
|
getCancelUploadLabel(): string;
|
|
@@ -5147,6 +5137,9 @@ declare class AXConversationPickerHeaderComponent {
|
|
|
5147
5137
|
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>;
|
|
5148
5138
|
}
|
|
5149
5139
|
|
|
5140
|
+
/** Extract OS-copied files from a paste event (e.g. Ctrl+V after copying a file in Explorer). */
|
|
5141
|
+
declare function filesFromClipboardEvent(event: ClipboardEvent): File[];
|
|
5142
|
+
|
|
5150
5143
|
declare function formatFileSize(bytes: number): string;
|
|
5151
5144
|
declare function formatDuration(seconds: number): string;
|
|
5152
5145
|
|
|
@@ -5203,12 +5196,19 @@ declare class AXConversationPickerEmptyComponent {
|
|
|
5203
5196
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationPickerEmptyComponent, "ax-conversation-picker-empty", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "hint": { "alias": "hint"; "required": true; "isSignal": true; }; "iconClass": { "alias": "iconClass"; "required": true; "isSignal": true; }; "dragOver": { "alias": "dragOver"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5204
5197
|
}
|
|
5205
5198
|
|
|
5199
|
+
/** Active composer picker paste handlers (top-most popup wins). */
|
|
5200
|
+
type AXConversationPickerPasteHandler = (files: File[]) => void;
|
|
5201
|
+
declare function registerComposerPickerPasteHandler(handler: AXConversationPickerPasteHandler): () => void;
|
|
5202
|
+
declare function getActiveComposerPickerPasteHandler(): AXConversationPickerPasteHandler | undefined;
|
|
5203
|
+
|
|
5206
5204
|
/**
|
|
5207
5205
|
* Wraps composer pickers with {@link AXUploaderZoneDirective} for browse, drop, and validation.
|
|
5208
5206
|
*/
|
|
5209
5207
|
declare class AXConversationPickerShellComponent {
|
|
5210
5208
|
private readonly toast;
|
|
5211
5209
|
private readonly translation;
|
|
5210
|
+
private readonly uploader;
|
|
5211
|
+
private readonly destroyRef;
|
|
5212
5212
|
private readonly zone;
|
|
5213
5213
|
readonly fileType: _angular_core.InputSignal<string>;
|
|
5214
5214
|
readonly multiple: _angular_core.InputSignal<boolean>;
|
|
@@ -5216,9 +5216,13 @@ declare class AXConversationPickerShellComponent {
|
|
|
5216
5216
|
readonly dragEnter: _angular_core.OutputEmitterRef<DragEvent>;
|
|
5217
5217
|
readonly dragLeave: _angular_core.OutputEmitterRef<DragEvent>;
|
|
5218
5218
|
readonly dragOver: _angular_core.OutputEmitterRef<DragEvent>;
|
|
5219
|
+
constructor();
|
|
5219
5220
|
/** Open the OS file picker for this shell's catalog. */
|
|
5220
5221
|
browse(): Promise<void>;
|
|
5222
|
+
protected onHostPaste(event: ClipboardEvent): void;
|
|
5221
5223
|
protected onZoneFileChange(event: AXUploaderFileChangeEvent): void;
|
|
5224
|
+
private ingestPastedFiles;
|
|
5225
|
+
private emitValidatedFiles;
|
|
5222
5226
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationPickerShellComponent, never>;
|
|
5223
5227
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationPickerShellComponent, "ax-conversation-picker-shell", never, { "fileType": { "alias": "fileType"; "required": true; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; }, { "filesSelected": "filesSelected"; "dragEnter": "dragEnter"; "dragLeave": "dragLeave"; "dragOver": "dragOver"; }, never, ["*"], true, never>;
|
|
5224
5228
|
}
|
|
@@ -5241,6 +5245,7 @@ declare class AXConversationStickerTabComponent {
|
|
|
5241
5245
|
private readonly http;
|
|
5242
5246
|
private readonly destroyRef;
|
|
5243
5247
|
private readonly apiKey;
|
|
5248
|
+
protected readonly translation: AXTranslationService;
|
|
5244
5249
|
readonly itemSelected: _angular_core.OutputEmitterRef<AXConversationStickerPayload>;
|
|
5245
5250
|
readonly searchQuery: _angular_core.WritableSignal<string>;
|
|
5246
5251
|
readonly activeStickers: _angular_core.WritableSignal<AXConversationStickerPayload[]>;
|
|
@@ -5313,6 +5318,8 @@ declare class AXConversationVideoPickerComponent implements OnDestroy, AXConvers
|
|
|
5313
5318
|
groupItems: boolean;
|
|
5314
5319
|
sendAsDocuments: boolean;
|
|
5315
5320
|
readonly allowMultiple: _angular_core.Signal<boolean>;
|
|
5321
|
+
readonly layoutMode: _angular_core.Signal<AXConversationMediaGalleryLayoutMode>;
|
|
5322
|
+
readonly mediaRows: _angular_core.Signal<AXConversationMediaGalleryRow<AXConversationVideoFile>[]>;
|
|
5316
5323
|
readonly typeIconClass: "fa-light fa-video ax-text-blue-500";
|
|
5317
5324
|
readonly emptyIconClass: _angular_core.Signal<"fa-light fa-video ax-text-blue-500" | "fa-light fa-cloud-arrow-up">;
|
|
5318
5325
|
private catalogFileTypeDef?;
|
|
@@ -5328,7 +5335,6 @@ declare class AXConversationVideoPickerComponent implements OnDestroy, AXConvers
|
|
|
5328
5335
|
replaceAttachment(index: number): Promise<void>;
|
|
5329
5336
|
sendVideos(): Promise<void>;
|
|
5330
5337
|
private sendVideosAsDocuments;
|
|
5331
|
-
getMediaGridClass(): string;
|
|
5332
5338
|
canSend(): boolean;
|
|
5333
5339
|
getUploadingLabel(progress: number): string;
|
|
5334
5340
|
getCancelUploadLabel(): string;
|
|
@@ -5393,6 +5399,7 @@ declare class AXConversationVoiceRecorderComponent implements AXConversationComp
|
|
|
5393
5399
|
private cancelled;
|
|
5394
5400
|
private uploadAbortController?;
|
|
5395
5401
|
readonly formattedTime: _angular_core.Signal<string>;
|
|
5402
|
+
protected readonly waveBars: number[];
|
|
5396
5403
|
constructor();
|
|
5397
5404
|
activate(): Promise<void>;
|
|
5398
5405
|
startRecording(): Promise<void>;
|
|
@@ -5526,6 +5533,7 @@ declare function toUploaderReference(item: AXConversationMediaItemFields): AXCon
|
|
|
5526
5533
|
|
|
5527
5534
|
declare class AXConversationAudioAttachmentComponent {
|
|
5528
5535
|
private readonly platformId;
|
|
5536
|
+
protected readonly translation: AXTranslationService;
|
|
5529
5537
|
readonly item: _angular_core.InputSignal<AXConversationAudioMediaItem>;
|
|
5530
5538
|
readonly playingChange: _angular_core.OutputEmitterRef<boolean>;
|
|
5531
5539
|
readonly timeUpdate: _angular_core.OutputEmitterRef<number>;
|
|
@@ -5613,6 +5621,7 @@ interface AXConversationPlaybackBannerInputs {
|
|
|
5613
5621
|
showMuteControl?: boolean;
|
|
5614
5622
|
}
|
|
5615
5623
|
declare class AXConversationMediaPlaybackInfoBarBannerComponent implements AXConversationMessageInfoBarBannerComponent {
|
|
5624
|
+
protected readonly translation: AXTranslationService;
|
|
5616
5625
|
readonly message: _angular_core.InputSignal<AXConversationMessage>;
|
|
5617
5626
|
readonly title: _angular_core.InputSignal<string>;
|
|
5618
5627
|
readonly currentTime: _angular_core.InputSignal<number>;
|
|
@@ -5792,6 +5801,7 @@ declare class AXConversationFallbackRendererComponent implements AXConversationM
|
|
|
5792
5801
|
|
|
5793
5802
|
declare class AXConversationFileRendererComponent extends AXConversationMessageRendererCopyHostComponent {
|
|
5794
5803
|
private readonly fileTypes;
|
|
5804
|
+
private readonly translation;
|
|
5795
5805
|
readonly message: _angular_core.InputSignal<AXConversationMessage>;
|
|
5796
5806
|
readonly rendererState: _angular_core.Signal<{
|
|
5797
5807
|
deliveryStatus: _acorex_components_conversation.AXConversationMessageStatus;
|
|
@@ -5807,14 +5817,9 @@ declare class AXConversationFileRendererComponent extends AXConversationMessageR
|
|
|
5807
5817
|
|
|
5808
5818
|
declare function normalizeFilePayload(payload: AXConversationFilePayload): AXConversationFilePayload;
|
|
5809
5819
|
|
|
5810
|
-
type AXConversationMediaGalleryLayoutMode = 'single' | 'dual' | 'triple' | 'masonry';
|
|
5811
|
-
interface AXConversationMediaGalleryRow<T> {
|
|
5812
|
-
items: T[];
|
|
5813
|
-
startIndex: number;
|
|
5814
|
-
}
|
|
5815
|
-
|
|
5816
5820
|
declare class AXConversationImageRendererComponent extends AXConversationMessageRendererCopyHostComponent {
|
|
5817
5821
|
private readonly fileTypes;
|
|
5822
|
+
protected readonly translation: AXTranslationService;
|
|
5818
5823
|
readonly message: _angular_core.InputSignal<AXConversationMessage>;
|
|
5819
5824
|
readonly rendererState: _angular_core.Signal<{
|
|
5820
5825
|
deliveryStatus: _acorex_components_conversation.AXConversationMessageStatus;
|
|
@@ -5823,6 +5828,8 @@ declare class AXConversationImageRendererComponent extends AXConversationMessage
|
|
|
5823
5828
|
readonly payload: _angular_core.Signal<AXConversationImagePayload>;
|
|
5824
5829
|
readonly images: _angular_core.Signal<_acorex_components_conversation.AXConversationImageMediaItem[]>;
|
|
5825
5830
|
readonly caption: _angular_core.Signal<string>;
|
|
5831
|
+
readonly imageAlt: _angular_core.Signal<string>;
|
|
5832
|
+
readonly imageLoadErrorLabel: _angular_core.Signal<string>;
|
|
5826
5833
|
copy(): Promise<string>;
|
|
5827
5834
|
readonly layoutMode: _angular_core.Signal<AXConversationMediaGalleryLayoutMode>;
|
|
5828
5835
|
readonly imageRows: _angular_core.Signal<AXConversationMediaGalleryRow<_acorex_components_conversation.AXConversationImageMediaItem>[]>;
|
|
@@ -5837,6 +5844,7 @@ declare function resolveImageDisplayUrl(image: AXConversationImageMediaItem): st
|
|
|
5837
5844
|
|
|
5838
5845
|
declare class AXConversationLocationRendererComponent extends AXConversationMessageRendererCopyHostComponent {
|
|
5839
5846
|
private readonly _contentState;
|
|
5847
|
+
protected readonly translation: AXTranslationService;
|
|
5840
5848
|
readonly message: _angular_core.InputSignal<AXConversationMessage>;
|
|
5841
5849
|
readonly rendererState: _angular_core.Signal<{
|
|
5842
5850
|
deliveryStatus: _acorex_components_conversation.AXConversationMessageStatus;
|
|
@@ -5863,6 +5871,7 @@ declare class AXConversationLocationRendererComponent extends AXConversationMess
|
|
|
5863
5871
|
|
|
5864
5872
|
declare class AXConversationStickerRendererComponent implements AXConversationMessageRendererComponent {
|
|
5865
5873
|
private readonly _contentState;
|
|
5874
|
+
protected readonly translation: AXTranslationService;
|
|
5866
5875
|
readonly message: _angular_core.InputSignal<AXConversationMessage>;
|
|
5867
5876
|
readonly rendererState: _angular_core.Signal<{
|
|
5868
5877
|
deliveryStatus: _acorex_components_conversation.AXConversationMessageStatus;
|
|
@@ -5953,7 +5962,7 @@ declare function normalizeVideoPayload(payload: AXConversationVideoPayload): AXC
|
|
|
5953
5962
|
|
|
5954
5963
|
declare class AXConversationVoiceRendererComponent extends AXConversationMessageRendererCopyHostComponent {
|
|
5955
5964
|
private readonly fileTypes;
|
|
5956
|
-
|
|
5965
|
+
protected readonly translation: AXTranslationService;
|
|
5957
5966
|
private readonly platformId;
|
|
5958
5967
|
private readonly destroyRef;
|
|
5959
5968
|
private readonly infoBarService;
|
|
@@ -6567,5 +6576,5 @@ declare function getErrorMessage(code: string, params?: Record<string, string |
|
|
|
6567
6576
|
*/
|
|
6568
6577
|
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'];
|
|
6569
6578
|
|
|
6570
|
-
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_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, createConversationAudioFileType, createConversationFileFileType, createConversationImageFileType, createConversationVideoFileType, createConversationVoiceFileType, createLocalPreviewUrl, createObjectUrl, createPickerDragHandlers, createPickerUploadItemId, createResolvedMediaUrlSignal, deleteUploadedPickerMedia, dismissComposerPickerHost, ensureConversationFileCatalogRegistered, fetchConversationMediaPage, fileItemFromUpload, filterMessagesByMediaCategory, filterSupplementalInfoPanelMessages, findExistingPrivateConversation, formatDuration, formatErrorMessage, formatFileByteSize, formatFileSize, formatMediaDuration, formatPickerValidationMessage, getConversationMediaCategories, getConversationProfileFields, getErrorMessage, getMessageAudioItems, getMessageVideoItems, getPickerCancelUploadLabel, getPrivatePeerParticipant, hasRegistryComponent, inferFileExtensionHintFromMessage, isAttachmentListCategory, isComposerTabEnabled, isConversationReactionsEnabled, isConversationRoomCreator, isGenericPrivateConversationTitle, isGridMediaCategory, isGroupLikeConversation, isMessageDeliveryPending, isMessageListThemeBackground, isMessageVisibleAfterHistoryCutoff, isNonPersistableMediaUrl, isPickerItemReadyToSend, isSameMessageListBackground, isUploadAborted, limitFilesToCapacity, mediaCopyText, mergeAudioUploadResult, mergeFileUploadResult, mergeInfoPanelMessages, mergeUploadResult, mergeVideoUploadResult, mergeVoiceUploadResult, mergeWithDefaults, messageContainsLink, normalizeAudioPayload, normalizeFilePayload, normalizeImagePayload, normalizeMessageListBackgroundValue, normalizeVideoPayload, notifyMaxFilesCapacityExceeded, notifyPickerValidationErrors, openWithFileType, pickDisplayMediaUrl, pickEarliestJoinedParticipant, pickerItemToMediaReference, pickerItemToUploadResult, provideConversation, provideConversationComposerFileTypes, provideConversationFileCatalog, reportMediaLoadError, resolveComposerMaxFiles, resolveConversationAvatarDisplay, resolveConversationComposerTabs, resolveConversationForViewer, resolveConversationMessageFileType, resolveConversationPeerParticipant, resolveConversationPeerUserId, resolveConversationTitleForViewer, resolveGalleryImageUrl, resolveImageDisplayUrl, resolveMessageListBackgroundRaw, resolveMessageListBackgroundStyle, resolveParticipantProfile, resolvePersistableMediaUrl, resolvePersistedThumbnailUrl, resolvePrivatePeerParticipant, resolvePrivatePeerUserId, resolveUserAvatarDisplay, resolveVideoThumbnailUrl, revokeObjectUrl, revokePickerBlobPreviews, sanitizeInput, shouldUseUserAvatarForConversation, syncPlaybackInfoBarBanner, toUploaderReference as toMediaItemUploaderReference, toUploaderReference$1 as toUploaderReference, uploadPickerFile, usesDefaultMessageListWallpaper, validateConversationId, validateEmail, validateLatitude, validateLongitude, validateMessagePayload, validateMessageText, validateMessageType, validateUrl, validateUserId, validateUserIds, videoItemFromUpload };
|
|
6571
|
-
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, AXConversationGroupedReaction, AXConversationImageMediaItem, AXConversationImagePayload, AXConversationInfoBarAction, AXConversationInfoBarActionComponent, AXConversationInfoBarActionContext, AXConversationInfoBarActiveBanner, AXConversationInfoBarActiveComponent, AXConversationInfoProfileField, AXConversationItemAction, AXConversationItemActionContext, AXConversationLink, AXConversationLinkPreview, AXConversationLoadMessagesResult, AXConversationLocationPayload, AXConversationMediaCategory, AXConversationMediaCategoryId, AXConversationMediaGalleryTile, AXConversationMediaItemFields, AXConversationMediaPageResult, AXConversationMention, AXConversationMessage, AXConversationMessageAction, AXConversationMessageActionContext, 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, 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 };
|
|
6579
|
+
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_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, createConversationAudioFileType, createConversationFileFileType, createConversationImageFileType, createConversationVideoFileType, createConversationVoiceFileType, createLocalPreviewUrl, createObjectUrl, createPickerDragHandlers, createPickerUploadItemId, createResolvedMediaUrlSignal, deleteUploadedPickerMedia, dismissComposerPickerHost, ensureConversationFileCatalogRegistered, fetchConversationMediaPage, 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, isMessageDeliveryPending, isMessageListThemeBackground, isMessageVisibleAfterHistoryCutoff, isNonPersistableMediaUrl, isPickerItemReadyToSend, isSameMessageListBackground, isUploadAborted, limitFilesToCapacity, mediaCopyText, mergeAudioUploadResult, mergeFileUploadResult, mergeInfoPanelMessages, mergeUploadResult, mergeVideoUploadResult, mergeVoiceUploadResult, mergeWithDefaults, messageContainsLink, normalizeAudioPayload, normalizeFilePayload, normalizeImagePayload, normalizeMessageListBackgroundValue, normalizeVideoPayload, notifyMaxFilesCapacityExceeded, notifyPickerValidationErrors, openWithFileType, pickDisplayMediaUrl, pickEarliestJoinedParticipant, pickerItemToMediaReference, pickerItemToUploadResult, provideConversation, provideConversationComposerFileTypes, provideConversationFileCatalog, registerComposerPickerPasteHandler, reportMediaLoadError, resolveComposerMaxFiles, resolveConversationAvatarDisplay, resolveConversationComposerTabs, resolveConversationForViewer, resolveConversationMessageFileType, resolveConversationPeerParticipant, resolveConversationPeerUserId, resolveConversationTitleForViewer, resolveGalleryImageUrl, resolveImageDisplayUrl, 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 };
|
|
6580
|
+
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, AXConversationMediaGalleryTile, AXConversationMediaItemFields, AXConversationMediaPageResult, AXConversationMention, AXConversationMessage, AXConversationMessageAction, AXConversationMessageActionContext, 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 };
|
|
@@ -382,6 +382,10 @@ declare class AXDataTableTextColumnComponent extends AXDataTableColumnComponent
|
|
|
382
382
|
* @defaultValue false
|
|
383
383
|
*/
|
|
384
384
|
wrapText: boolean;
|
|
385
|
+
/**
|
|
386
|
+
* When `true`, cell values are resolved as i18n expressions (e.g. `@acorex:common.actions.cancel`).
|
|
387
|
+
*/
|
|
388
|
+
translate: boolean;
|
|
385
389
|
/**
|
|
386
390
|
* Provides a custom template for rendering cells within the column.
|
|
387
391
|
*/
|
|
@@ -441,6 +445,7 @@ declare class AXDataTableTextColumnComponent extends AXDataTableColumnComponent
|
|
|
441
445
|
* @ignore
|
|
442
446
|
*/
|
|
443
447
|
private formatService;
|
|
448
|
+
private translationService;
|
|
444
449
|
protected getDisplayText(rowData: unknown, dataField: string): string;
|
|
445
450
|
/**
|
|
446
451
|
* Defines the format string for displaying values in the component.
|
|
@@ -451,7 +456,7 @@ declare class AXDataTableTextColumnComponent extends AXDataTableColumnComponent
|
|
|
451
456
|
*/
|
|
452
457
|
formatOptions: AXFormatOptions;
|
|
453
458
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableTextColumnComponent, never>;
|
|
454
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableTextColumnComponent, "ax-text-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "allowResizing": { "alias": "allowResizing"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "hasTitle": { "alias": "hasTitle"; "required": false; }; "customExpandIcon": { "alias": "customExpandIcon"; "required": false; }; "customCollapseIcon": { "alias": "customCollapseIcon"; "required": false; }; "dataField": { "alias": "dataField"; "required": false; }; "expandHandler": { "alias": "expandHandler"; "required": false; }; "wrapText": { "alias": "wrapText"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; }, {}, never, never, true, never>;
|
|
459
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableTextColumnComponent, "ax-text-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "allowResizing": { "alias": "allowResizing"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "hasTitle": { "alias": "hasTitle"; "required": false; }; "customExpandIcon": { "alias": "customExpandIcon"; "required": false; }; "customCollapseIcon": { "alias": "customCollapseIcon"; "required": false; }; "dataField": { "alias": "dataField"; "required": false; }; "expandHandler": { "alias": "expandHandler"; "required": false; }; "wrapText": { "alias": "wrapText"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; }, {}, never, never, true, never>;
|
|
455
460
|
}
|
|
456
461
|
|
|
457
462
|
type AXRowCommandItem = AXButtonItemListItem & {
|
|
@@ -234,6 +234,7 @@ declare class AXFileViewerThumbPreviewComponent {
|
|
|
234
234
|
private readonly service;
|
|
235
235
|
readonly src: _angular_core.WritableSignal<string>;
|
|
236
236
|
readonly icon: _angular_core.Signal<string>;
|
|
237
|
+
onImageError(): void;
|
|
237
238
|
private resolvePreview;
|
|
238
239
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerThumbPreviewComponent, never>;
|
|
239
240
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerThumbPreviewComponent, "ax-file-viewer-thumb-preview", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|