@acorex/components 21.0.2-next.21 → 21.0.2-next.22
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/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "21.0.2-next.
|
|
3
|
+
"version": "21.0.2-next.22",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "21.0.2-next.
|
|
6
|
-
"@acorex/cdk": "21.0.2-next.
|
|
5
|
+
"@acorex/core": "21.0.2-next.22",
|
|
6
|
+
"@acorex/cdk": "21.0.2-next.22",
|
|
7
7
|
"polytype": ">=0.17.0",
|
|
8
8
|
"angular-imask": ">=7.6.1",
|
|
9
9
|
"gridstack": ">=12.0.0",
|
|
@@ -2670,8 +2670,6 @@ declare class AXComposerComponent implements OnDestroy {
|
|
|
2670
2670
|
onFilesSelected(e: AXUploaderChangedEvent): Promise<void>;
|
|
2671
2671
|
/** Cancel edit/reply mode */
|
|
2672
2672
|
cancelEditReply(): void;
|
|
2673
|
-
/** Reset all composer states (used when switching conversations) */
|
|
2674
|
-
private resetComposerState;
|
|
2675
2673
|
/** Start editing a message */
|
|
2676
2674
|
startEdit(message: any): void;
|
|
2677
2675
|
/** Start replying to a message */
|
|
@@ -2774,6 +2772,10 @@ declare class AXComposerService {
|
|
|
2774
2772
|
/** Focus the composer text area when the composer component is mounted. */
|
|
2775
2773
|
focusComposer(): void;
|
|
2776
2774
|
clear(): void;
|
|
2775
|
+
/**
|
|
2776
|
+
* Persist draft for the previous conversation and reset composer UI state when switching conversations.
|
|
2777
|
+
*/
|
|
2778
|
+
onConversationChanged(previousConversationId: string | null, currentConversationId: string | null): void;
|
|
2777
2779
|
sendTypingIndicator(conversationId: string): Promise<void>;
|
|
2778
2780
|
sendMessage(command: AXSendMessageCommand, options?: AXSendMessageOptions): Promise<void>;
|
|
2779
2781
|
/**
|
|
@@ -2953,7 +2955,10 @@ declare class AXInfoBarService {
|
|
|
2953
2955
|
/** Current search result index */
|
|
2954
2956
|
private readonly _currentSearchIndex;
|
|
2955
2957
|
readonly currentSearchIndex: _angular_core.Signal<number>;
|
|
2956
|
-
|
|
2958
|
+
/**
|
|
2959
|
+
* Reset info-bar overlays when the active conversation changes.
|
|
2960
|
+
*/
|
|
2961
|
+
onConversationChanged(): void;
|
|
2957
2962
|
/**
|
|
2958
2963
|
* Get actions for the active conversation
|
|
2959
2964
|
*/
|
|
@@ -3678,6 +3683,8 @@ declare class AXMessageListNoActiveDefaultComponent {
|
|
|
3678
3683
|
declare class AXMessageListComponent implements OnDestroy {
|
|
3679
3684
|
private readonly conversationService;
|
|
3680
3685
|
private readonly messageListService;
|
|
3686
|
+
private readonly composerService;
|
|
3687
|
+
private readonly infoBarService;
|
|
3681
3688
|
private readonly translation;
|
|
3682
3689
|
protected readonly config: Required<_acorex_components_conversation2.AXConversationConfig>;
|
|
3683
3690
|
/**
|
|
@@ -5457,8 +5464,8 @@ declare class AXVideoRendererComponent implements AXMessageRendererComponent {
|
|
|
5457
5464
|
private readonly platformId;
|
|
5458
5465
|
private readonly destroyRef;
|
|
5459
5466
|
private readonly infoBarService;
|
|
5460
|
-
private
|
|
5461
|
-
private activeVideoIndex;
|
|
5467
|
+
private readonly attachments;
|
|
5468
|
+
private readonly activeVideoIndex;
|
|
5462
5469
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
5463
5470
|
readonly rendererState: _angular_core.Signal<{
|
|
5464
5471
|
deliveryStatus: _acorex_components_conversation2.AXMessageStatus;
|
|
@@ -5471,14 +5478,12 @@ declare class AXVideoRendererComponent implements AXMessageRendererComponent {
|
|
|
5471
5478
|
readonly videos: _angular_core.Signal<_acorex_components_conversation2.AXVideoMediaItem[]>;
|
|
5472
5479
|
readonly caption: _angular_core.Signal<string>;
|
|
5473
5480
|
constructor();
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
duration: number;
|
|
5479
|
-
}): void;
|
|
5480
|
-
onPlaybackPlayingChange(playing: boolean): void;
|
|
5481
|
+
onPlayingChange(index: number, playing: boolean): void;
|
|
5482
|
+
onTimeUpdate(index: number, time: number): void;
|
|
5483
|
+
onDurationChange(index: number, duration: number): void;
|
|
5484
|
+
onPlaybackEnded(index: number): void;
|
|
5481
5485
|
togglePlay(): void;
|
|
5486
|
+
private pauseOtherVideos;
|
|
5482
5487
|
private pausePlayback;
|
|
5483
5488
|
private syncInfoBarBanner;
|
|
5484
5489
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXVideoRendererComponent, never>;
|