@acorex/components 22.2.8 → 22.2.10
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-audio-wave.mjs +26 -5
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-combo-box.mjs +12 -2
- package/fesm2022/acorex-components-combo-box.mjs.map +1 -1
- package/fesm2022/{acorex-components-conversation-acorex-components-conversation-CjuzzYML.mjs → acorex-components-conversation-acorex-components-conversation-CXf00kvo.mjs} +897 -148
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-CXf00kvo.mjs.map +1 -0
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-COT96F_v.mjs +87 -0
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-COT96F_v.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-r-53kDO7.mjs → acorex-components-conversation-picker-rename-file-dialog.component-DZINTie8.mjs} +2 -2
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-r-53kDO7.mjs.map → acorex-components-conversation-picker-rename-file-dialog.component-DZINTie8.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +1 -1
- package/fesm2022/acorex-components-cron-job.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-decorators.mjs +36 -6
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-file-viewer.mjs +145 -66
- package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +87 -8
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +20 -2
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +96 -16
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +225 -20
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +36 -4
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/package.json +3 -3
- package/types/acorex-components-audio-wave.d.ts +8 -0
- package/types/acorex-components-combo-box.d.ts +4 -0
- package/types/acorex-components-conversation.d.ts +121 -11
- package/types/acorex-components-decorators.d.ts +13 -1
- package/types/acorex-components-file-viewer.d.ts +6 -0
- package/types/acorex-components-image-editor.d.ts +15 -0
- package/types/acorex-components-lookup.d.ts +4 -0
- package/types/acorex-components-menu.d.ts +15 -3
- package/types/acorex-components-tabs.d.ts +91 -17
- package/types/acorex-components-tree-view.d.ts +17 -0
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-CjuzzYML.mjs.map +0 -1
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-AO1evM19.mjs +0 -85
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-AO1evM19.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.10",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "22.2.
|
|
6
|
-
"@acorex/cdk": "22.2.
|
|
5
|
+
"@acorex/core": "22.2.10",
|
|
6
|
+
"@acorex/cdk": "22.2.10",
|
|
7
7
|
"@angular/aria": ">=22.1.0",
|
|
8
8
|
"polytype": ">=0.17.0",
|
|
9
9
|
"hammerjs": ">=2.0.8",
|
|
@@ -230,6 +230,10 @@ declare class AXComboBoxComponent extends NXValueComponent implements FormValueC
|
|
|
230
230
|
* Opens (searchable) or toggles (non-searchable) the popup on trigger click.
|
|
231
231
|
*/
|
|
232
232
|
protected onTriggerClick(): void;
|
|
233
|
+
/**
|
|
234
|
+
* Toggles the popup when the chevron button is clicked.
|
|
235
|
+
*/
|
|
236
|
+
protected onChevronClick(event: Event): void;
|
|
233
237
|
/**
|
|
234
238
|
* Keyboard handling on the trigger:
|
|
235
239
|
* - Searchable: Enter never submits the form; with no matches the value is cleared (`null`).
|
|
@@ -20,9 +20,9 @@ import { AXFileTypeRegistryService, AXFileTypeExtensionHint, AXFileTypeOpenConte
|
|
|
20
20
|
import { AXToastService } from '@acorex/components/toast';
|
|
21
21
|
import { AXValidationRuleResult } from '@acorex/core/validation';
|
|
22
22
|
import { AXMapMarker } from '@acorex/components/map';
|
|
23
|
+
import { AXWaveConfig, AXAudioWaveChangeEvent } from '@acorex/components/audio-wave';
|
|
23
24
|
import { AXRangeSliderValue } from '@acorex/components/range-slider';
|
|
24
25
|
import { SafeHtml } from '@angular/platform-browser';
|
|
25
|
-
import { AXWaveConfig, AXAudioWaveChangeEvent } from '@acorex/components/audio-wave';
|
|
26
26
|
import * as i1 from '@angular/common';
|
|
27
27
|
import * as i2 from '@angular/forms';
|
|
28
28
|
|
|
@@ -185,6 +185,7 @@ interface AXConversationFileMediaItem extends AXConversationMediaItemFields {
|
|
|
185
185
|
mimeType: string;
|
|
186
186
|
thumbnailUrl?: string;
|
|
187
187
|
extension?: string;
|
|
188
|
+
duration?: number;
|
|
188
189
|
}
|
|
189
190
|
interface AXConversationFilePayload {
|
|
190
191
|
type: 'file';
|
|
@@ -4359,6 +4360,7 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
4359
4360
|
/** Fallback when no conversation is active and no `ax-conversation-message-list-no-active` content is projected. */
|
|
4360
4361
|
protected readonly noActiveFallbackComponent: typeof AXConversationMessageListNoActiveDefaultComponent;
|
|
4361
4362
|
private readonly timeouts;
|
|
4363
|
+
private dateSeparatorFadeTimer;
|
|
4362
4364
|
readonly reactionPickerTarget: _angular_core.WritableSignal<string>;
|
|
4363
4365
|
readonly reactionPickerElement: _angular_core.WritableSignal<HTMLElement>;
|
|
4364
4366
|
readonly reactionPickerPlacement: _angular_core.WritableSignal<AXPlacement>;
|
|
@@ -4456,6 +4458,10 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
4456
4458
|
* Keep the user's viewport on the same messages after older rows are inserted above.
|
|
4457
4459
|
*/
|
|
4458
4460
|
private restoreScrollPositionAfterPrepend;
|
|
4461
|
+
private revealStuckDateSeparators;
|
|
4462
|
+
private syncDateSeparatorStuckState;
|
|
4463
|
+
private scheduleDateSeparatorFade;
|
|
4464
|
+
private clearDateSeparatorFadeTimer;
|
|
4459
4465
|
/** Check if user is near bottom of scroll */
|
|
4460
4466
|
private isUserNearBottom;
|
|
4461
4467
|
/**
|
|
@@ -4654,6 +4660,7 @@ declare class AXConversationNewDialogComponent extends AXBasePageComponent {
|
|
|
4654
4660
|
private readonly translation;
|
|
4655
4661
|
private readonly config;
|
|
4656
4662
|
private readonly destroyRef;
|
|
4663
|
+
private readonly popupService;
|
|
4657
4664
|
private searchDebounceTimer?;
|
|
4658
4665
|
constructor();
|
|
4659
4666
|
/**
|
|
@@ -4665,6 +4672,7 @@ declare class AXConversationNewDialogComponent extends AXBasePageComponent {
|
|
|
4665
4672
|
readonly selectedUserIds: _angular_core.WritableSignal<string[]>;
|
|
4666
4673
|
readonly groupTitle: _angular_core.WritableSignal<string>;
|
|
4667
4674
|
readonly groupAvatar: _angular_core.WritableSignal<string>;
|
|
4675
|
+
readonly groupAvatarFileName: _angular_core.WritableSignal<string>;
|
|
4668
4676
|
readonly searchQuery: _angular_core.WritableSignal<string>;
|
|
4669
4677
|
readonly creating: _angular_core.WritableSignal<boolean>;
|
|
4670
4678
|
/** For 2+ users: step 1 = pick users, step 2 = title + avatar. */
|
|
@@ -4681,11 +4689,19 @@ declare class AXConversationNewDialogComponent extends AXBasePageComponent {
|
|
|
4681
4689
|
readonly usersListEmptyTpl: _angular_core.Signal<TemplateRef<unknown>>;
|
|
4682
4690
|
readonly usersListLoadingTpl: _angular_core.Signal<TemplateRef<unknown>>;
|
|
4683
4691
|
readonly usersList: _angular_core.Signal<AXListComponent>;
|
|
4692
|
+
private readonly groupNameInput;
|
|
4693
|
+
private readonly groupPhotoInput;
|
|
4694
|
+
readonly groupPhotoAriaLabel: _angular_core.Signal<string>;
|
|
4684
4695
|
readonly usersListDataSource: AXDataSource<unknown>;
|
|
4685
4696
|
onCancel(): void;
|
|
4686
4697
|
onSelectedUsersChange(ids: string[]): void;
|
|
4687
4698
|
onNextToGroupDetails(): void;
|
|
4688
4699
|
onBackFromGroupDetails(): void;
|
|
4700
|
+
onPickGroupPhoto(): void;
|
|
4701
|
+
onClearGroupPhoto(): void;
|
|
4702
|
+
onEditGroupPhoto(): Promise<void>;
|
|
4703
|
+
onGroupPhotoSelected(event: Event): Promise<void>;
|
|
4704
|
+
private openGroupPhotoEditor;
|
|
4689
4705
|
onSearchChange(value: string): void;
|
|
4690
4706
|
isUserSelected(id: string): boolean;
|
|
4691
4707
|
userFromItem(item: unknown): AXConversationParticipant | null;
|
|
@@ -4947,7 +4963,9 @@ declare class AXConversationFileFileTypeProvider extends AXFileTypeInfoProvider
|
|
|
4947
4963
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXConversationFileFileTypeProvider>;
|
|
4948
4964
|
}
|
|
4949
4965
|
|
|
4950
|
-
declare function fileItemFromUpload(file: File, result: AXConversationUploaderResult
|
|
4966
|
+
declare function fileItemFromUpload(file: File, result: AXConversationUploaderResult, extras?: {
|
|
4967
|
+
duration?: number;
|
|
4968
|
+
}): AXConversationFileMediaItem;
|
|
4951
4969
|
declare function mergeFileUploadResult(payload: AXConversationMessagePayload, result: AXUploadResult): AXConversationMessagePayload;
|
|
4952
4970
|
declare function applyFileLocalPreview(payload: AXConversationMessagePayload, localUrl: string, mimeType?: string): AXConversationMessagePayload;
|
|
4953
4971
|
|
|
@@ -5001,6 +5019,7 @@ declare class AXConversationFilePickerComponent implements OnDestroy, AXConversa
|
|
|
5001
5019
|
cancel(): void;
|
|
5002
5020
|
ngOnDestroy(): void;
|
|
5003
5021
|
private dismissPicker;
|
|
5022
|
+
private revokePreview;
|
|
5004
5023
|
getHeaderTitle(): string;
|
|
5005
5024
|
truncateFileName(fileName: string): string;
|
|
5006
5025
|
onAddMoreFiles(): void;
|
|
@@ -5390,32 +5409,71 @@ declare class AXConversationVoiceRecorderComponent implements AXConversationComp
|
|
|
5390
5409
|
readonly recordingComplete: _angular_core.OutputEmitterRef<Blob>;
|
|
5391
5410
|
readonly recordingCancelled: _angular_core.OutputEmitterRef<void>;
|
|
5392
5411
|
readonly isRecording: _angular_core.WritableSignal<boolean>;
|
|
5412
|
+
readonly isPreview: _angular_core.WritableSignal<boolean>;
|
|
5413
|
+
readonly isPlayingPreview: _angular_core.WritableSignal<boolean>;
|
|
5393
5414
|
readonly isUploading: _angular_core.WritableSignal<boolean>;
|
|
5394
5415
|
readonly uploadProgress: _angular_core.WritableSignal<number>;
|
|
5395
5416
|
readonly recordingDuration: _angular_core.WritableSignal<number>;
|
|
5417
|
+
readonly previewUrl: _angular_core.WritableSignal<string>;
|
|
5418
|
+
readonly livePeaks: _angular_core.WritableSignal<number[]>;
|
|
5419
|
+
readonly liveBarCount: _angular_core.WritableSignal<number>;
|
|
5396
5420
|
private recordingStartTime;
|
|
5397
5421
|
private timerInterval?;
|
|
5398
5422
|
private mediaRecorder?;
|
|
5399
5423
|
private audioChunks;
|
|
5400
5424
|
private activeStream?;
|
|
5401
5425
|
private cancelled;
|
|
5426
|
+
private sendAfterStop;
|
|
5427
|
+
private sendInFlight;
|
|
5428
|
+
private awaitingPreviewData;
|
|
5429
|
+
private previewBlob;
|
|
5402
5430
|
private uploadAbortController?;
|
|
5431
|
+
private audioContext?;
|
|
5432
|
+
private analyser?;
|
|
5433
|
+
private timeDomain;
|
|
5434
|
+
private rafId;
|
|
5435
|
+
private lastLivePeakAt;
|
|
5436
|
+
private waveResizeObserver?;
|
|
5437
|
+
private readonly waveWrapRef;
|
|
5438
|
+
private readonly waveRef;
|
|
5403
5439
|
readonly formattedTime: _angular_core.Signal<string>;
|
|
5404
|
-
|
|
5440
|
+
readonly canSend: _angular_core.Signal<boolean>;
|
|
5441
|
+
readonly liveDisplayBars: _angular_core.Signal<{
|
|
5442
|
+
index: number;
|
|
5443
|
+
recorded: boolean;
|
|
5444
|
+
height: number;
|
|
5445
|
+
}[]>;
|
|
5446
|
+
readonly waveConfig: _angular_core.Signal<AXWaveConfig>;
|
|
5405
5447
|
constructor();
|
|
5406
5448
|
activate(): Promise<void>;
|
|
5407
5449
|
startRecording(): Promise<void>;
|
|
5408
5450
|
private dismissHost;
|
|
5409
|
-
|
|
5451
|
+
toggleStopOrContinue(): void;
|
|
5410
5452
|
stopRecording(): void;
|
|
5453
|
+
sendRecording(): void;
|
|
5454
|
+
deleteRecording(): void;
|
|
5411
5455
|
cancelRecording(): void;
|
|
5412
|
-
/** Close the voice recorder */
|
|
5413
5456
|
cancel(): void;
|
|
5457
|
+
togglePreview(): void;
|
|
5458
|
+
onWaveStatusChanged(event: AXAudioWaveChangeEvent): void;
|
|
5414
5459
|
abortInProgressUploads(): void;
|
|
5415
|
-
|
|
5460
|
+
private pauseRecording;
|
|
5461
|
+
private continueRecording;
|
|
5462
|
+
private flushPreviewIfWaiting;
|
|
5463
|
+
private buildRecordingBlob;
|
|
5464
|
+
private discardActiveRecorder;
|
|
5465
|
+
private releaseStream;
|
|
5466
|
+
private startLiveWave;
|
|
5467
|
+
private observeWaveWidth;
|
|
5468
|
+
private updateBarCount;
|
|
5469
|
+
private tickLiveWave;
|
|
5470
|
+
private stopLiveWave;
|
|
5471
|
+
private enterPreview;
|
|
5472
|
+
private pausePreview;
|
|
5473
|
+
private clearPreview;
|
|
5474
|
+
private clearPreviewUrl;
|
|
5416
5475
|
private clearTimer;
|
|
5417
5476
|
getUploadingLabel(): string;
|
|
5418
|
-
/** Send voice message */
|
|
5419
5477
|
private sendVoiceMessage;
|
|
5420
5478
|
private stopAndCleanup;
|
|
5421
5479
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationVoiceRecorderComponent, never>;
|
|
@@ -5537,6 +5595,7 @@ declare class AXConversationAudioAttachmentComponent {
|
|
|
5537
5595
|
private readonly platformId;
|
|
5538
5596
|
protected readonly translation: AXTranslationService;
|
|
5539
5597
|
readonly item: _angular_core.InputSignal<AXConversationAudioMediaItem>;
|
|
5598
|
+
readonly look: _angular_core.InputSignal<"file" | "player">;
|
|
5540
5599
|
readonly playingChange: _angular_core.OutputEmitterRef<boolean>;
|
|
5541
5600
|
readonly timeUpdate: _angular_core.OutputEmitterRef<number>;
|
|
5542
5601
|
readonly durationChange: _angular_core.OutputEmitterRef<number>;
|
|
@@ -5556,9 +5615,12 @@ declare class AXConversationAudioAttachmentComponent {
|
|
|
5556
5615
|
readonly effectiveDuration: _angular_core.Signal<number>;
|
|
5557
5616
|
readonly sliderMax: _angular_core.Signal<number>;
|
|
5558
5617
|
readonly currentTimeLabel: _angular_core.Signal<string>;
|
|
5618
|
+
readonly durationLabel: _angular_core.Signal<string>;
|
|
5559
5619
|
readonly downloadName: _angular_core.Signal<string>;
|
|
5560
5620
|
constructor();
|
|
5561
5621
|
togglePlay(): void;
|
|
5622
|
+
onPlayClick(event: AXClickEvent): void;
|
|
5623
|
+
onNativePlayClick(event: Event): void;
|
|
5562
5624
|
pause(): void;
|
|
5563
5625
|
setPlaybackRate(rate: number): void;
|
|
5564
5626
|
setMuted(muted: boolean): void;
|
|
@@ -5571,10 +5633,16 @@ declare class AXConversationAudioAttachmentComponent {
|
|
|
5571
5633
|
onError(): void;
|
|
5572
5634
|
onCoverError(): void;
|
|
5573
5635
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationAudioAttachmentComponent, never>;
|
|
5574
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationAudioAttachmentComponent, "ax-conversation-audio-attachment", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; }, { "playingChange": "playingChange"; "timeUpdate": "timeUpdate"; "durationChange": "durationChange"; "playbackEnded": "playbackEnded"; "playbackError": "playbackError"; }, never, never, true, never>;
|
|
5636
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationAudioAttachmentComponent, "ax-conversation-audio-attachment", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; }, { "playingChange": "playingChange"; "timeUpdate": "timeUpdate"; "durationChange": "durationChange"; "playbackEnded": "playbackEnded"; "playbackError": "playbackError"; }, never, never, true, never>;
|
|
5575
5637
|
}
|
|
5576
5638
|
|
|
5639
|
+
type AXConversationFileVisualKind = 'image' | 'video' | 'audio' | 'file';
|
|
5640
|
+
|
|
5577
5641
|
declare class AXConversationFileAttachmentComponent {
|
|
5642
|
+
private readonly platformId;
|
|
5643
|
+
private readonly document;
|
|
5644
|
+
protected readonly translation: AXTranslationService;
|
|
5645
|
+
private readonly thumbImage;
|
|
5578
5646
|
readonly item: _angular_core.InputSignal<AXConversationFileMediaItem>;
|
|
5579
5647
|
private readonly mediaReference;
|
|
5580
5648
|
private readonly resolvedUrl;
|
|
@@ -5583,6 +5651,11 @@ declare class AXConversationFileAttachmentComponent {
|
|
|
5583
5651
|
readonly fileSize: _angular_core.Signal<number>;
|
|
5584
5652
|
readonly fileExtension: _angular_core.Signal<string>;
|
|
5585
5653
|
readonly formattedSize: _angular_core.Signal<string>;
|
|
5654
|
+
readonly kind: _angular_core.Signal<AXConversationFileVisualKind>;
|
|
5655
|
+
readonly isMedia: _angular_core.Signal<boolean>;
|
|
5656
|
+
readonly thumbUrl: _angular_core.Signal<string>;
|
|
5657
|
+
readonly previewSrc: _angular_core.Signal<string>;
|
|
5658
|
+
openImage(event: Event): void;
|
|
5586
5659
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationFileAttachmentComponent, never>;
|
|
5587
5660
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationFileAttachmentComponent, "ax-conversation-file-attachment", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5588
5661
|
}
|
|
@@ -5804,19 +5877,56 @@ declare class AXConversationFallbackRendererComponent implements AXConversationM
|
|
|
5804
5877
|
declare class AXConversationFileRendererComponent extends AXConversationMessageRendererCopyHostComponent {
|
|
5805
5878
|
private readonly fileTypes;
|
|
5806
5879
|
private readonly translation;
|
|
5880
|
+
private readonly destroyRef;
|
|
5881
|
+
private readonly infoBarService;
|
|
5882
|
+
private readonly audioAttachments;
|
|
5883
|
+
private readonly _contentState;
|
|
5884
|
+
private readonly activeTrackIndex;
|
|
5885
|
+
private readonly isPlaying;
|
|
5886
|
+
private readonly currentTime;
|
|
5887
|
+
private readonly duration;
|
|
5888
|
+
readonly playbackSpeed: _angular_core.WritableSignal<number>;
|
|
5889
|
+
readonly isMuted: _angular_core.WritableSignal<boolean>;
|
|
5890
|
+
private lastBannerSyncAt;
|
|
5891
|
+
private readonly speeds;
|
|
5892
|
+
private readonly bannerTogglePlay;
|
|
5893
|
+
private readonly bannerClose;
|
|
5894
|
+
private readonly bannerCycleSpeed;
|
|
5895
|
+
private readonly bannerToggleMute;
|
|
5807
5896
|
readonly message: _angular_core.InputSignal<AXConversationMessage>;
|
|
5808
5897
|
readonly rendererState: _angular_core.Signal<{
|
|
5809
5898
|
deliveryStatus: _acorex_components_conversation.AXConversationMessageStatus;
|
|
5810
|
-
contentState:
|
|
5899
|
+
contentState: AXConversationMessageRendererContentState;
|
|
5811
5900
|
}>;
|
|
5812
5901
|
readonly payload: _angular_core.Signal<AXConversationFilePayload>;
|
|
5813
|
-
readonly files: _angular_core.Signal<
|
|
5902
|
+
readonly files: _angular_core.Signal<AXConversationFileMediaItem[]>;
|
|
5814
5903
|
readonly caption: _angular_core.Signal<string>;
|
|
5904
|
+
readonly fileRows: _angular_core.Signal<{
|
|
5905
|
+
file: AXConversationFileMediaItem;
|
|
5906
|
+
isAudio: boolean;
|
|
5907
|
+
audio: _acorex_components_conversation.AXConversationAudioMediaItem;
|
|
5908
|
+
trackIndex: number;
|
|
5909
|
+
}[]>;
|
|
5815
5910
|
copy(): Promise<string>;
|
|
5911
|
+
constructor();
|
|
5912
|
+
isAudioFile(file: AXConversationFileMediaItem): boolean;
|
|
5913
|
+
onPlayingChange(trackIndex: number, playing: boolean): void;
|
|
5914
|
+
onTimeUpdate(trackIndex: number, time: number): void;
|
|
5915
|
+
onDurationChange(trackIndex: number, duration: number): void;
|
|
5916
|
+
onPlaybackEnded(trackIndex: number): void;
|
|
5917
|
+
onPlaybackError(): void;
|
|
5918
|
+
togglePlay(): void;
|
|
5919
|
+
cyclePlaybackSpeed(): void;
|
|
5920
|
+
toggleMute(): void;
|
|
5921
|
+
private pauseOtherTracks;
|
|
5922
|
+
private pausePlayback;
|
|
5923
|
+
private applyPlaybackSettings;
|
|
5924
|
+
private syncInfoBarBanner;
|
|
5816
5925
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationFileRendererComponent, never>;
|
|
5817
5926
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationFileRendererComponent, "ax-conversation-file-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5818
5927
|
}
|
|
5819
5928
|
|
|
5929
|
+
declare function fileItemAsAudioMedia(item: AXConversationFileMediaItem): AXConversationAudioMediaItem;
|
|
5820
5930
|
declare function normalizeFilePayload(payload: AXConversationFilePayload): AXConversationFilePayload;
|
|
5821
5931
|
|
|
5822
5932
|
declare class AXConversationImageRendererComponent extends AXConversationMessageRendererCopyHostComponent {
|
|
@@ -6578,5 +6688,5 @@ declare function getErrorMessage(code: string, params?: Record<string, string |
|
|
|
6578
6688
|
*/
|
|
6579
6689
|
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'];
|
|
6580
6690
|
|
|
6581
|
-
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 };
|
|
6691
|
+
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, 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, 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 };
|
|
6582
6692
|
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 };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MXBaseComponent, AXSurfaceType } from '@acorex/cdk/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
+
import { AXFullScreenMode } from '@acorex/core/full-screen';
|
|
3
4
|
import * as i1 from '@angular/common';
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -76,10 +77,21 @@ declare class AXDecoratorFullScreenButtonComponent extends MXBaseComponent {
|
|
|
76
77
|
#private;
|
|
77
78
|
private readonly fullScreenService;
|
|
78
79
|
private readonly elementRef;
|
|
80
|
+
/**
|
|
81
|
+
* Target element to fullscreen. Falls back to the closest decorated parent when omitted.
|
|
82
|
+
*/
|
|
79
83
|
element: i0.ModelSignal<HTMLElement>;
|
|
84
|
+
/**
|
|
85
|
+
* Whether fullscreen mode is active.
|
|
86
|
+
*/
|
|
80
87
|
isActive: i0.ModelSignal<boolean>;
|
|
88
|
+
/**
|
|
89
|
+
* Fullscreen implementation mode.
|
|
90
|
+
* @defaultValue 'overlay'
|
|
91
|
+
*/
|
|
92
|
+
mode: i0.InputSignal<AXFullScreenMode>;
|
|
81
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorFullScreenButtonComponent, never>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorFullScreenButtonComponent, "ax-fullscreen-button", never, { "element": { "alias": "element"; "required": false; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; }, { "element": "elementChange"; "isActive": "isActiveChange"; }, never, never, true, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorFullScreenButtonComponent, "ax-fullscreen-button", never, { "element": { "alias": "element"; "required": false; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "element": "elementChange"; "isActive": "isActiveChange"; }, never, never, true, never>;
|
|
83
95
|
}
|
|
84
96
|
|
|
85
97
|
/**
|
|
@@ -259,6 +259,7 @@ declare class AXFileViewerImageComponent implements AXFileTypeViewComponent<AXFi
|
|
|
259
259
|
private readonly service;
|
|
260
260
|
readonly src: _angular_core.WritableSignal<string>;
|
|
261
261
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
262
|
+
private loadedId;
|
|
262
263
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerImageComponent, never>;
|
|
263
264
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerImageComponent, "ax-file-viewer-image", never, { "payload": { "alias": "payload"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
264
265
|
}
|
|
@@ -267,8 +268,10 @@ declare class AXFileViewerVideoComponent implements AXFileTypeViewComponent<AXFi
|
|
|
267
268
|
#private;
|
|
268
269
|
readonly payload: _angular_core.InputSignal<AXFileViewerViewPayload>;
|
|
269
270
|
private readonly service;
|
|
271
|
+
private readonly mediaEl;
|
|
270
272
|
readonly src: _angular_core.WritableSignal<string>;
|
|
271
273
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
274
|
+
private loadedId;
|
|
272
275
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerVideoComponent, never>;
|
|
273
276
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerVideoComponent, "ax-file-viewer-video", never, { "payload": { "alias": "payload"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
274
277
|
}
|
|
@@ -277,8 +280,10 @@ declare class AXFileViewerAudioComponent implements AXFileTypeViewComponent<AXFi
|
|
|
277
280
|
#private;
|
|
278
281
|
readonly payload: _angular_core.InputSignal<AXFileViewerViewPayload>;
|
|
279
282
|
private readonly service;
|
|
283
|
+
private readonly mediaEl;
|
|
280
284
|
readonly src: _angular_core.WritableSignal<string>;
|
|
281
285
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
286
|
+
private loadedId;
|
|
282
287
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerAudioComponent, never>;
|
|
283
288
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerAudioComponent, "ax-file-viewer-audio", never, { "payload": { "alias": "payload"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
284
289
|
}
|
|
@@ -290,6 +295,7 @@ declare class AXFileViewerPdfComponent implements AXFileTypeViewComponent<AXFile
|
|
|
290
295
|
private readonly sanitizer;
|
|
291
296
|
readonly safeSrc: _angular_core.WritableSignal<SafeResourceUrl>;
|
|
292
297
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
298
|
+
private loadedId;
|
|
293
299
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerPdfComponent, never>;
|
|
294
300
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerPdfComponent, "ax-file-viewer-pdf", never, { "payload": { "alias": "payload"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
295
301
|
}
|
|
@@ -30,6 +30,8 @@ declare class AXImageEditorService {
|
|
|
30
30
|
activateTool(tool: AXImageEditorTool): void;
|
|
31
31
|
undo(): void;
|
|
32
32
|
redo(): void;
|
|
33
|
+
/** Handles Ctrl/Cmd+Z and Ctrl/Cmd+Y history shortcuts. Returns true when handled. */
|
|
34
|
+
handleHistoryShortcut(event: KeyboardEvent): boolean;
|
|
33
35
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorService, never>;
|
|
34
36
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXImageEditorService>;
|
|
35
37
|
}
|
|
@@ -149,6 +151,10 @@ declare class AXImageEditorViewComponent extends MXBaseComponent {
|
|
|
149
151
|
protected penConfigHandler(penType: 'pen' | 'highlight'): void;
|
|
150
152
|
private strokeHighlight;
|
|
151
153
|
/** @ignore */
|
|
154
|
+
protected historyKeyDown(event: KeyboardEvent): void;
|
|
155
|
+
/** @ignore */
|
|
156
|
+
protected focusCanvas(): void;
|
|
157
|
+
/** @ignore */
|
|
152
158
|
protected mouseDownHandler(event: PointerEvent): void;
|
|
153
159
|
/** @ignore */
|
|
154
160
|
protected mouseMoveHandler(event: PointerEvent): void;
|
|
@@ -178,10 +184,19 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
|
178
184
|
#private;
|
|
179
185
|
/** @ignore */
|
|
180
186
|
protected service: AXImageEditorService;
|
|
187
|
+
private readonly host;
|
|
188
|
+
private readonly destroyRef;
|
|
181
189
|
imageEditorContainer: _angular_core.Signal<ElementRef<any>>;
|
|
182
190
|
view: _angular_core.Signal<AXImageEditorViewComponent>;
|
|
191
|
+
constructor();
|
|
192
|
+
/** @ignore */
|
|
193
|
+
protected focusEditor(): void;
|
|
183
194
|
/** Applies the current cropper selection. */
|
|
184
195
|
crop(): Promise<void>;
|
|
196
|
+
/** @ignore */
|
|
197
|
+
protected onEditorPointerDown(event: PointerEvent): void;
|
|
198
|
+
/** @ignore */
|
|
199
|
+
protected handleHistoryShortcut(event: KeyboardEvent): void;
|
|
185
200
|
/** Encodes the current canvas into JPEG, PNG, and WebP blobs. */
|
|
186
201
|
commitChanges(): Promise<Blob[]>;
|
|
187
202
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorContainerComponent, never>;
|
|
@@ -512,6 +512,10 @@ declare class AXLookupComponent<T = AXLookupItem> extends NXValueComponent imple
|
|
|
512
512
|
* Opens (editable trigger) or toggles the popup on trigger click.
|
|
513
513
|
*/
|
|
514
514
|
protected onTriggerClick(): void;
|
|
515
|
+
/**
|
|
516
|
+
* Toggles the popup when the chevron button is clicked.
|
|
517
|
+
*/
|
|
518
|
+
protected onChevronClick(event: Event): void;
|
|
515
519
|
/**
|
|
516
520
|
* Focuses the lookup trigger input.
|
|
517
521
|
*/
|
|
@@ -72,6 +72,7 @@ type AXContextMenuItemsClickEvent = AXMenuItemClickBaseEvent<AXContextMenuCompon
|
|
|
72
72
|
* @category Components
|
|
73
73
|
*/
|
|
74
74
|
declare class AXContextMenuComponent extends NXComponent {
|
|
75
|
+
protected readonly supportsHeader = true;
|
|
75
76
|
readonly orientation: _angular_core.InputSignal<AXOrientation>;
|
|
76
77
|
readonly openOn: _angular_core.InputSignal<AXMenuOpenTrigger>;
|
|
77
78
|
readonly closeOn: _angular_core.InputSignal<AXMenuCloseTrigger>;
|
|
@@ -115,6 +116,10 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
115
116
|
private backdropElement;
|
|
116
117
|
private originalNextSibling;
|
|
117
118
|
private originalParent;
|
|
119
|
+
private readonly headerSlot;
|
|
120
|
+
private floatingHeader;
|
|
121
|
+
private headerOriginalParent;
|
|
122
|
+
private headerOriginalNextSibling;
|
|
118
123
|
protected items: _angular_core.WritableSignal<AXMenuItem[]>;
|
|
119
124
|
/** @ignore */
|
|
120
125
|
private setupCloseOnRouteChange;
|
|
@@ -130,13 +135,19 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
130
135
|
private internalShowAt;
|
|
131
136
|
/**
|
|
132
137
|
* Positions the menu at `point`, flipping when it would overflow the viewport.
|
|
133
|
-
*
|
|
138
|
+
* When a floating header is present, positions header and panel as one clamped block.
|
|
134
139
|
*/
|
|
135
140
|
private positionAtPoint;
|
|
136
141
|
/** Measures menu size even when an ancestor hides the host with `display: none`. */
|
|
137
142
|
private measureMenuRect;
|
|
143
|
+
/** Measures the floating header bar using the same hidden-layout pass as the menu panel. */
|
|
144
|
+
private measureFloatingRect;
|
|
138
145
|
/** @ignore */
|
|
139
146
|
private createBackdrop;
|
|
147
|
+
/** Moves the projected header slot into the backdrop as a floating sibling of the panel. */
|
|
148
|
+
private floatHeaderToBackdrop;
|
|
149
|
+
/** Restores the header slot to its original parent before the backdrop is removed. */
|
|
150
|
+
private restoreFloatingHeader;
|
|
140
151
|
/** @ignore */
|
|
141
152
|
private resolveContextMenuTarget;
|
|
142
153
|
/** @ignore */
|
|
@@ -147,7 +158,7 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
147
158
|
/** @ignore */
|
|
148
159
|
get __hostClass(): any;
|
|
149
160
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXContextMenuComponent, never>;
|
|
150
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "closeOnRouteChange": { "alias": "closeOnRouteChange"; "required": false; "isSignal": true; }; "originalItems": { "alias": "items"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; "onOpening": "onOpening"; "onClose": "onClose"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
|
161
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "closeOnRouteChange": { "alias": "closeOnRouteChange"; "required": false; "isSignal": true; }; "originalItems": { "alias": "items"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; "onOpening": "onOpening"; "onClose": "onClose"; }, never, ["ax-header", "ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
|
151
162
|
}
|
|
152
163
|
|
|
153
164
|
type AXMenuItemClickEvent = AXMenuItemClickBaseEvent<AXMenuItemComponent>;
|
|
@@ -301,6 +312,7 @@ type AXMenuItemsClickEvent = AXMenuItemClickBaseEvent<AXMenuComponent>;
|
|
|
301
312
|
* @category Components
|
|
302
313
|
*/
|
|
303
314
|
declare class AXMenuComponent extends NXComponent {
|
|
315
|
+
protected readonly supportsHeader = false;
|
|
304
316
|
constructor();
|
|
305
317
|
orientation: _angular_core.InputSignal<AXOrientation>;
|
|
306
318
|
openOn: _angular_core.InputSignal<AXMenuOpenTrigger>;
|
|
@@ -318,7 +330,7 @@ declare class AXMenuComponent extends NXComponent {
|
|
|
318
330
|
*/
|
|
319
331
|
close(): void;
|
|
320
332
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
|
321
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "hasArrow": { "alias": "hasArrow"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
|
333
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "hasArrow": { "alias": "hasArrow"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; }, never, ["ax-header", "ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
|
322
334
|
}
|
|
323
335
|
|
|
324
336
|
declare class AXMenuModule {
|