@acorex/components 20.7.11 → 20.7.13
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/conversation2/index.d.ts +17 -12
- package/fesm2022/acorex-components-conversation2.mjs +222 -254
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +403 -18
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/package.json +7 -7
- package/side-menu/index.d.ts +98 -5
package/conversation2/index.d.ts
CHANGED
|
@@ -2633,6 +2633,10 @@ declare class AXComposerService {
|
|
|
2633
2633
|
/** Focus the composer text area when the composer component is mounted. */
|
|
2634
2634
|
focusComposer(): void;
|
|
2635
2635
|
clear(): void;
|
|
2636
|
+
/**
|
|
2637
|
+
* Persist draft for the previous conversation and reset composer UI state when switching conversations.
|
|
2638
|
+
*/
|
|
2639
|
+
onConversationChanged(previousConversationId: string | null, currentConversationId: string | null): void;
|
|
2636
2640
|
sendTypingIndicator(conversationId: string): Promise<void>;
|
|
2637
2641
|
sendMessage(command: AXSendMessageCommand, options?: AXSendMessageOptions): Promise<void>;
|
|
2638
2642
|
/**
|
|
@@ -2766,8 +2770,6 @@ declare class AXComposerComponent implements OnDestroy {
|
|
|
2766
2770
|
onFilesSelected(e: AXUploaderChangedEvent): Promise<void>;
|
|
2767
2771
|
/** Cancel edit/reply mode */
|
|
2768
2772
|
cancelEditReply(): void;
|
|
2769
|
-
/** Reset all composer states (used when switching conversations) */
|
|
2770
|
-
private resetComposerState;
|
|
2771
2773
|
/** Start editing a message */
|
|
2772
2774
|
startEdit(message: any): void;
|
|
2773
2775
|
/** Start replying to a message */
|
|
@@ -3164,7 +3166,10 @@ declare class AXInfoBarService {
|
|
|
3164
3166
|
/** Current search result index */
|
|
3165
3167
|
private readonly _currentSearchIndex;
|
|
3166
3168
|
readonly currentSearchIndex: _angular_core.Signal<number>;
|
|
3167
|
-
|
|
3169
|
+
/**
|
|
3170
|
+
* Reset info-bar overlays when the active conversation changes.
|
|
3171
|
+
*/
|
|
3172
|
+
onConversationChanged(): void;
|
|
3168
3173
|
/**
|
|
3169
3174
|
* Get actions for the active conversation
|
|
3170
3175
|
*/
|
|
@@ -3839,6 +3844,8 @@ declare class AXMessageListNoActiveDefaultComponent {
|
|
|
3839
3844
|
declare class AXMessageListComponent implements OnDestroy {
|
|
3840
3845
|
private readonly conversationService;
|
|
3841
3846
|
private readonly messageListService;
|
|
3847
|
+
private readonly composerService;
|
|
3848
|
+
private readonly infoBarService;
|
|
3842
3849
|
private readonly translation;
|
|
3843
3850
|
protected readonly config: Required<AXConversationConfig>;
|
|
3844
3851
|
/**
|
|
@@ -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: AXMessageStatus;
|
|
@@ -5471,14 +5478,12 @@ declare class AXVideoRendererComponent implements AXMessageRendererComponent {
|
|
|
5471
5478
|
readonly videos: _angular_core.Signal<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>;
|