@acorex/components 22.4.56 → 22.4.58
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-button.mjs +2 -14
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/{acorex-components-conversation-acorex-components-conversation-Dtregx0j.mjs → acorex-components-conversation-acorex-components-conversation-W5rytgMw.mjs} +383 -164
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-W5rytgMw.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-Y8CaQkqR.mjs → acorex-components-conversation-picker-rename-file-dialog.component-DPqk8KNM.mjs} +2 -2
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-Y8CaQkqR.mjs.map → acorex-components-conversation-picker-rename-file-dialog.component-DPqk8KNM.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/package.json +3 -3
- package/types/acorex-components-button.d.ts +0 -2
- package/types/acorex-components-conversation.d.ts +39 -33
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-Dtregx0j.mjs.map +0 -1
|
@@ -9,7 +9,7 @@ import { AsyncPipe } from '@angular/common';
|
|
|
9
9
|
import * as i0 from '@angular/core';
|
|
10
10
|
import { input, model, EventEmitter, effect, ViewEncapsulation, Component } from '@angular/core';
|
|
11
11
|
import { FormsModule } from '@angular/forms';
|
|
12
|
-
import { i as isValidPickerFileName } from './acorex-components-conversation-acorex-components-conversation-
|
|
12
|
+
import { i as isValidPickerFileName } from './acorex-components-conversation-acorex-components-conversation-W5rytgMw.mjs';
|
|
13
13
|
|
|
14
14
|
class AXConversationPickerRenameFileDialogComponent {
|
|
15
15
|
constructor() {
|
|
@@ -62,4 +62,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
62
62
|
}], ctorParameters: () => [], propDecorators: { initialName: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialName", required: true }] }], fileName: [{ type: i0.Input, args: [{ isSignal: true, alias: "fileName", required: false }] }, { type: i0.Output, args: ["fileNameChange"] }] } });
|
|
63
63
|
|
|
64
64
|
export { AXConversationPickerRenameFileDialogComponent };
|
|
65
|
-
//# sourceMappingURL=acorex-components-conversation-picker-rename-file-dialog.component-
|
|
65
|
+
//# sourceMappingURL=acorex-components-conversation-picker-rename-file-dialog.component-DPqk8KNM.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-conversation-picker-rename-file-dialog.component-
|
|
1
|
+
{"version":3,"file":"acorex-components-conversation-picker-rename-file-dialog.component-DPqk8KNM.mjs","sources":["../../../../packages/components/conversation/src/lib/plugins/composer/components/shared/picker-rename-file-dialog.component.ts","../../../../packages/components/conversation/src/lib/plugins/composer/components/shared/picker-rename-file-dialog.component.html"],"sourcesContent":["import { AXClosableComponent, AXComponentCloseEvent } from '@acorex/cdk/common';\nimport { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AsyncPipe } from '@angular/common';\nimport { Component, EventEmitter, ViewEncapsulation, effect, input, model } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { isValidPickerFileName } from './picker-file.utils';\n\n@Component({\n selector: 'ax-conversation-picker-rename-file-dialog',\n encapsulation: ViewEncapsulation.None,\n imports: [\n AsyncPipe,\n FormsModule,\n AXButtonComponent,\n AXDecoratorGenericComponent,\n AXTextBoxModule,\n AXTranslationModule,\n ],\n providers: [{ provide: AXClosableComponent, useExisting: AXConversationPickerRenameFileDialogComponent }],\n templateUrl: './picker-rename-file-dialog.component.html',\n styleUrl: './picker-rename-file-dialog.component.css',\n})\nexport class AXConversationPickerRenameFileDialogComponent {\n readonly initialName = input.required<string>();\n readonly fileName = model('');\n\n constructor() {\n effect(() => {\n this.fileName.set(this.initialName());\n });\n }\n\n canSave(): boolean {\n const next = this.fileName().trim();\n return isValidPickerFileName(next) && next !== this.initialName().trim();\n }\n\n save(): void {\n if (!this.canSave()) {\n return;\n }\n\n const event = new AXComponentCloseEvent();\n event.component = this;\n event.data = this.fileName().trim();\n this.onClosed.emit(event);\n }\n\n cancel(): void {\n const event = new AXComponentCloseEvent();\n event.component = this;\n this.onClosed.emit(event);\n }\n\n onKeyDown(event: { nativeEvent?: KeyboardEvent } | undefined): void {\n if (event?.nativeEvent?.key === 'Enter') {\n event.nativeEvent.preventDefault();\n this.save();\n }\n }\n\n readonly onClosed = new EventEmitter<AXComponentCloseEvent>();\n}\n","<div class=\"ax-conversation-picker-rename-dialog\">\n <div class=\"dialog-content\">\n <ax-text-box\n [(value)]=\"fileName\"\n [look]=\"'outline'\"\n [placeholder]=\"'@acorex:chat.pickers.files.rename-placeholder' | translate | async\"\n (onKeyDown)=\"onKeyDown($event)\"\n />\n </div>\n\n <ax-footer class=\"dialog-footer\">\n <ax-suffix>\n <ax-button\n [text]=\"'@acorex:chat.actions.cancel' | translate | async\"\n [look]=\"'solid'\"\n (onClick)=\"cancel()\"\n />\n <ax-button\n [text]=\"'@acorex:chat.actions.save' | translate | async\"\n [look]=\"'solid'\"\n [color]=\"'primary'\"\n [disabled]=\"!canSave()\"\n (onClick)=\"save()\"\n />\n </ax-suffix>\n </ax-footer>\n</div>\n"],"names":["i2"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as AXConversationApi, a as AXConversationApiLoggerService, b as AXConversationAudioAttachmentComponent, c as AXConversationAudioFileTypeProvider, d as AXConversationAudioPickerComponent, e as AXConversationAudioRendererComponent, f as AXConversationAvatarComponent, g as AXConversationAvatarPickerComponent, h as AXConversationBaseRegistry, j as AXConversationChatDropDirective, k as AXConversationComposerActionRegistry, l as AXConversationComposerComponent, m as AXConversationComposerFileTypesProvider, n as AXConversationComposerGenerationStateService, o as AXConversationComposerPopupComponent, p as AXConversationComposerService, q as AXConversationComposerTabRegistry, r as AXConversationContainerComponent, s as AXConversationContainerDirective, t as AXConversationDateUtilsService, u as AXConversationDeleteDialogComponent, v as AXConversationEmojiTabComponent, w as AXConversationErrorHandlerService, x as AXConversationFallbackRendererComponent, y as AXConversationFileAttachmentComponent, z as AXConversationFileFileTypeProvider, B as AXConversationFilePickerComponent, C as AXConversationFileRendererComponent, D as AXConversationForwardMessageDialogComponent, E as AXConversationImageAttachmentComponent, F as AXConversationImageFileTypeProvider, G as AXConversationImagePickerComponent, H as AXConversationImageRendererComponent, I as AXConversationInfiniteScrollDirective, J as AXConversationInfoBarActionRegistry, K as AXConversationInfoBarComponent, L as AXConversationInfoBarSearchComponent, M as AXConversationInfoBarService, N as AXConversationItemActionRegistry, O as AXConversationLocationPickerComponent, P as AXConversationLocationRendererComponent, Q as AXConversationMediaPlaybackInfoBarBannerComponent, R as AXConversationMessageActionRegistry, S as AXConversationMessageApi, T as AXConversationMessageListComponent, U as AXConversationMessageListNoActiveDefaultComponent, V as AXConversationMessageListService, W as AXConversationMessagePinsService, X as AXConversationMessageRendererCopyHostComponent, Y as AXConversationMessageRendererRegistry, Z as AXConversationMessageRendererStateComponent, _ as AXConversationMessageSelectionService, $ as AXConversationMessageUtilsService, a0 as AXConversationModule, a1 as AXConversationNewDialogComponent, a2 as AXConversationPickerCaptionComponent, a3 as AXConversationPickerEmptyComponent, a4 as AXConversationPickerFooterComponent, a5 as AXConversationPickerHeaderComponent, a6 as AXConversationPickerOptionsComponent, a7 as AXConversationPickerShellComponent, a8 as AXConversationPickerToolbarComponent, a9 as AXConversationRealtimeApi, aa as AXConversationRegistryComponentOutletComponent, ab as AXConversationRegistryService, ac as AXConversationService, ad as AXConversationSidebarComponent, ae as AXConversationSidebarService, af as AXConversationStickerRendererComponent, ag as AXConversationStickerTabComponent, ah as AXConversationSystemRendererComponent, ai as AXConversationTabRegistry, aj as AXConversationTextRendererComponent, ak as AXConversationUserApi, al as AXConversationVideoAttachmentComponent, am as AXConversationVideoFileTypeProvider, an as AXConversationVideoPickerComponent, ao as AXConversationVideoRendererComponent, ap as AXConversationVoiceFileTypeProvider, aq as AXConversationVoiceRecorderComponent, ar as AXConversationVoiceRendererComponent, as as AX_CONVERSATION_AUDIO_CATALOG, at as AX_CONVERSATION_AUDIO_PRESENTATION, au as AX_CONVERSATION_AUDIO_RENDERER, av as AX_CONVERSATION_AVAILABLE_REACTIONS, aw as AX_CONVERSATION_BUILTIN_COMPOSER_TABS, ax as AX_CONVERSATION_COMPOSER_AUDIO_ACTION, ay as AX_CONVERSATION_COMPOSER_EMOJI_ACTION, az as AX_CONVERSATION_COMPOSER_EMOJI_TAB, aA as AX_CONVERSATION_COMPOSER_FILE_ACTION, aB as AX_CONVERSATION_COMPOSER_IMAGE_ACTION, aC as AX_CONVERSATION_COMPOSER_LOCATION_ACTION, aD as AX_CONVERSATION_COMPOSER_STICKER_TAB, aE as AX_CONVERSATION_COMPOSER_VIDEO_ACTION, aF as AX_CONVERSATION_COMPOSER_VOICE_RECORDING_ACTION, aG as AX_CONVERSATION_CONFIG, aH as AX_CONVERSATION_CONNECTION_ERRORS, aI as AX_CONVERSATION_CONVERSATION_AVATAR_COMPONENT, aJ as AX_CONVERSATION_DEFAULT_COMPOSER_ACTIONS, aK as AX_CONVERSATION_DEFAULT_COMPOSER_TABS, aL as AX_CONVERSATION_DEFAULT_CONVERSATION_ITEM_ACTIONS, aM as AX_CONVERSATION_DEFAULT_CONVERSATION_TABS, aN as AX_CONVERSATION_DEFAULT_GROUP_ICON, aO as AX_CONVERSATION_DEFAULT_INFO_BAR_ACTIONS, aP as AX_CONVERSATION_DEFAULT_MESSAGE_ACTIONS, aQ as AX_CONVERSATION_DEFAULT_MESSAGE_LIST_BACKGROUND, aR as AX_CONVERSATION_DEFAULT_MESSAGE_LIST_BACKGROUND_PRESET_ID, aS as AX_CONVERSATION_DEFAULT_MESSAGE_LIST_THEME_BACKGROUND, aT as AX_CONVERSATION_DEFAULT_MESSAGE_RENDERERS, aU as AX_CONVERSATION_DEFAULT_ROOM_PREFERENCES, aV as AX_CONVERSATION_DEFAULT_USER_ICON, aW as AX_CONVERSATION_ERRORS, aX as AX_CONVERSATION_ERROR_HANDLER_CONFIG, aY as AX_CONVERSATION_ERROR_MESSAGES, aZ as AX_CONVERSATION_FALLBACK_RENDERER, a_ as AX_CONVERSATION_FILE_CATALOG, a$ as AX_CONVERSATION_FILE_ERRORS, b0 as AX_CONVERSATION_FILE_PRESENTATION, b1 as AX_CONVERSATION_FILE_RENDERER, b2 as AX_CONVERSATION_FILE_TYPES_READY, b3 as AX_CONVERSATION_IMAGE_CATALOG, b4 as AX_CONVERSATION_IMAGE_PRESENTATION, b5 as AX_CONVERSATION_IMAGE_RENDERER, b6 as AX_CONVERSATION_INFO_BAR_ARCHIVE_ACTION, b7 as AX_CONVERSATION_INFO_BAR_BLOCK_ACTION, b8 as AX_CONVERSATION_INFO_BAR_DELETE_ACTION, b9 as AX_CONVERSATION_INFO_BAR_DIVIDER, ba as AX_CONVERSATION_INFO_BAR_MUTE_ACTION, bb as AX_CONVERSATION_INFO_BAR_SEARCH_ACTION, bc as AX_CONVERSATION_ITEM_BLOCK_ACTION, bd as AX_CONVERSATION_ITEM_DELETE_ACTION, be as AX_CONVERSATION_ITEM_DIVIDER, bf as AX_CONVERSATION_ITEM_MARK_READ_ACTION, bg as AX_CONVERSATION_ITEM_MUTE_ACTION, bh as AX_CONVERSATION_ITEM_PIN_ACTION, bi as AX_CONVERSATION_JUMBO_EMOJI_MAX, bj as AX_CONVERSATION_LOCATION_ERRORS, bk as AX_CONVERSATION_LOCATION_RENDERER, bl as AX_CONVERSATION_MESSAGE_DELETE_ACTION, bm as AX_CONVERSATION_MESSAGE_EDIT_ACTION, bn as AX_CONVERSATION_MESSAGE_ERRORS, bo as AX_CONVERSATION_MESSAGE_FORWARD_ACTION, bp as AX_CONVERSATION_MESSAGE_LIST_BACKGROUND_PRESETS, bq as AX_CONVERSATION_MESSAGE_PIN_ACTION, br as AX_CONVERSATION_MESSAGE_REPLY_ACTION, bs as AX_CONVERSATION_MESSAGE_SELECT_ACTION, bt as AX_CONVERSATION_MESSAGE_TYPE_FILE_TYPE, bu as AX_CONVERSATION_MESSAGE_UNPIN_ACTION, bv as AX_CONVERSATION_PEER_AVATAR_TYPES, bw as AX_CONVERSATION_REACTION_BAR_SIZE, bx as AX_CONVERSATION_REGISTRY_CONFIG, by as AX_CONVERSATION_STICKER_API_KEY, bz as AX_CONVERSATION_STICKER_RENDERER, bA as AX_CONVERSATION_SYSTEM_RENDERER, bB as AX_CONVERSATION_TAB_ALL, bC as AX_CONVERSATION_TAB_ARCHIVED, bD as AX_CONVERSATION_TAB_BOT, bE as AX_CONVERSATION_TAB_CHANNELS, bF as AX_CONVERSATION_TAB_GROUPS, bG as AX_CONVERSATION_TAB_PRIVATE, bH as AX_CONVERSATION_TAB_UNREAD, bI as AX_CONVERSATION_TEXT_RENDERER, bJ as AX_CONVERSATION_URL_ERRORS, bK as AX_CONVERSATION_USER_AVATAR_COMPONENT, bL as AX_CONVERSATION_USER_ERRORS, bM as AX_CONVERSATION_VIDEO_CATALOG, bN as AX_CONVERSATION_VIDEO_PRESENTATION, bO as AX_CONVERSATION_VIDEO_RENDERER, bP as AX_CONVERSATION_VOICE_CATALOG, bQ as AX_CONVERSATION_VOICE_PRESENTATION, bR as AX_CONVERSATION_VOICE_RENDERER, bS as AX_DEFAULT_CONVERSATION_CONFIG, bT as abortPickerUploads, bU as applyAudioLocalPreview, bV as applyFileLocalPreview, bW as applyLocalPreview, bX as applyVideoLocalPreview, bY as applyVoiceLocalPreview, bZ as audioItemFromUpload, b_ as bindMediaRendererContentState, b$ as buildMediaGalleryTiles, c0 as canManageConversationPins, c1 as canShowRendererContentError, c2 as cleanupPickerUploads, c3 as conversationAudioUtilities, c4 as conversationFileUtilities, c5 as conversationImageUtilities, c6 as conversationTextToClipboardHtml, c7 as conversationVideoUtilities, c8 as conversationVoiceUtilities, c9 as copyConversationCaption, ca as copyWithFileTypeFallback, cb as countLoneEmojis, cc as createConversationAudioFileType, cd as createConversationFileFileType, ce as createConversationImageFileType, cf as createConversationVideoFileType, cg as createConversationVoiceFileType, ch as createLocalPreviewUrl, ci as createObjectUrl, cj as createPickerDragHandlers, ck as createPickerUploadItemId, cl as createResolvedMediaUrlSignal, cm as deleteUploadedPickerMedia, cn as dismissComposerPickerHost, co as ensureConversationFileCatalogRegistered, cp as fetchConversationMediaPage, cq as fileItemAsAudioMedia, cr as fileItemFromUpload, cs as filesFromClipboardEvent, ct as filterMessagesByMediaCategory, cu as filterSupplementalInfoPanelMessages, cv as findExistingPrivateConversation, cw as formatDuration, cx as formatErrorMessage, cy as formatFileByteSize, cz as formatFileSize, cA as formatMediaDuration, cB as formatPickerValidationMessage, cC as getActiveComposerPickerPasteHandler, cD as getConversationMediaCategories, cE as getConversationProfileFields, cF as getErrorMessage, cG as getMessageAudioItems, cH as getMessageVideoItems, cI as getPickerCancelUploadLabel, cJ as getPrivatePeerParticipant, cK as hasRegistryComponent, cL as inferFileExtensionHintFromMessage, cM as isAttachmentListCategory, cN as isComposerAttachmentBannerEnabled, cO as isComposerTabEnabled, cP as isConversationReactionsEnabled, cQ as isConversationRoomCreator, cR as isGenericPrivateConversationTitle, cS as isGridMediaCategory, cT as isGroupLikeConversation, cU as isJumboEmojiText, cV as isJumboEmojiTextMessage, cW as isMessageDeliveryPending, cX as isMessageListThemeBackground, cY as isMessageVisibleAfterHistoryCutoff, cZ as isNonPersistableMediaUrl, c_ as isPickerItemReadyToSend, c$ as isPlainChromeMessage, d0 as isSameMessageListBackground, d1 as isUploadAborted, d2 as limitFilesToCapacity, d3 as listTextGraphemes, d4 as mediaCopyText, d5 as mergeAudioUploadResult, d6 as mergeFileUploadResult, d7 as mergeInfoPanelMessages, d8 as mergeUploadResult, d9 as mergeVideoUploadResult, da as mergeVoiceUploadResult, db as mergeWithDefaults, dc as messageContainsLink, dd as normalizeAudioPayload, de as normalizeConversationInboundFile, df as normalizeFilePayload, dg as normalizeImagePayload, dh as normalizeMessageListBackgroundValue, di as normalizeVideoPayload, dj as notifyMaxFilesCapacityExceeded, dk as notifyPickerValidationErrors, dl as openWithFileType, dm as pickDisplayMediaUrl, dn as pickEarliestJoinedParticipant, dp as pickerItemToMediaReference, dq as pickerItemToUploadResult, dr as probeAudioDuration, ds as probeImageDimensions, dt as probeVideoMedia, du as provideConversation, dv as provideConversationComposerFileTypes, dw as provideConversationFileCatalog, dx as registerComposerPickerPasteHandler, dy as reportMediaLoadError, dz as resolveComposerAttachmentPresentation, dA as resolveComposerMaxFiles, dB as resolveConversationAvatarDisplay, dC as resolveConversationComposerTabs, dD as resolveConversationForViewer, dE as resolveConversationMessageFileType, dF as resolveConversationPeerParticipant, dG as resolveConversationPeerUserId, dH as resolveConversationTitleForViewer, dI as resolveGalleryImageUrl, dJ as resolveImageDisplayUrl, dK as resolveMessageChrome, dL as resolveMessageListBackgroundRaw, dM as resolveMessageListBackgroundStyle, dN as resolveParticipantProfile, dO as resolvePersistableMediaUrl, dP as resolvePersistedThumbnailUrl, dQ as resolvePrivatePeerParticipant, dR as resolvePrivatePeerUserId, dS as resolveUserAvatarDisplay, dT as resolveVideoThumbnailUrl, dU as revokeObjectUrl, dV as revokePickerBlobPreviews, dW as sanitizeInput, dX as shouldUseUserAvatarForConversation, dY as sortUsersForForward, dZ as splitConversationTextLinks, d_ as syncPlaybackInfoBarBanner, d$ as toMediaItemUploaderReference, e0 as toUploaderReference, e1 as uploadPickerFile, e2 as usesDefaultMessageListWallpaper, e3 as validateConversationId, e4 as validateEmail, e5 as validateLatitude, e6 as validateLongitude, e7 as validateMessagePayload, e8 as validateMessageText, e9 as validateMessageType, ea as validateUrl, eb as validateUserId, ec as validateUserIds, ed as videoItemFromUpload } from './acorex-components-conversation-acorex-components-conversation-Dtregx0j.mjs';
|
|
1
|
+
export { A as AXConversationApi, a as AXConversationApiLoggerService, b as AXConversationAudioAttachmentComponent, c as AXConversationAudioFileTypeProvider, d as AXConversationAudioPickerComponent, e as AXConversationAudioRendererComponent, f as AXConversationAvatarComponent, g as AXConversationAvatarPickerComponent, h as AXConversationBaseRegistry, j as AXConversationChatDropDirective, k as AXConversationComposerActionRegistry, l as AXConversationComposerComponent, m as AXConversationComposerFileTypesProvider, n as AXConversationComposerGenerationStateService, o as AXConversationComposerPopupComponent, p as AXConversationComposerService, q as AXConversationComposerTabRegistry, r as AXConversationContainerComponent, s as AXConversationContainerDirective, t as AXConversationDateUtilsService, u as AXConversationDeleteDialogComponent, v as AXConversationEmojiTabComponent, w as AXConversationErrorHandlerService, x as AXConversationFallbackRendererComponent, y as AXConversationFileAttachmentComponent, z as AXConversationFileFileTypeProvider, B as AXConversationFilePickerComponent, C as AXConversationFileRendererComponent, D as AXConversationForwardMessageDialogComponent, E as AXConversationImageAttachmentComponent, F as AXConversationImageFileTypeProvider, G as AXConversationImagePickerComponent, H as AXConversationImageRendererComponent, I as AXConversationInfiniteScrollDirective, J as AXConversationInfoBarActionRegistry, K as AXConversationInfoBarComponent, L as AXConversationInfoBarSearchComponent, M as AXConversationInfoBarService, N as AXConversationItemActionRegistry, O as AXConversationLocationPickerComponent, P as AXConversationLocationRendererComponent, Q as AXConversationMediaPlaybackInfoBarBannerComponent, R as AXConversationMessageActionRegistry, S as AXConversationMessageApi, T as AXConversationMessageListComponent, U as AXConversationMessageListNoActiveDefaultComponent, V as AXConversationMessageListService, W as AXConversationMessagePinsService, X as AXConversationMessageRendererCopyHostComponent, Y as AXConversationMessageRendererRegistry, Z as AXConversationMessageRendererStateComponent, _ as AXConversationMessageSelectionService, $ as AXConversationMessageUtilsService, a0 as AXConversationModule, a1 as AXConversationNewDialogComponent, a2 as AXConversationPickerCaptionComponent, a3 as AXConversationPickerEmptyComponent, a4 as AXConversationPickerFooterComponent, a5 as AXConversationPickerHeaderComponent, a6 as AXConversationPickerOptionsComponent, a7 as AXConversationPickerShellComponent, a8 as AXConversationPickerToolbarComponent, a9 as AXConversationRealtimeApi, aa as AXConversationRegistryComponentOutletComponent, ab as AXConversationRegistryService, ac as AXConversationService, ad as AXConversationSidebarComponent, ae as AXConversationSidebarService, af as AXConversationStickerRendererComponent, ag as AXConversationStickerTabComponent, ah as AXConversationSystemRendererComponent, ai as AXConversationTabRegistry, aj as AXConversationTextRendererComponent, ak as AXConversationUserApi, al as AXConversationVideoAttachmentComponent, am as AXConversationVideoFileTypeProvider, an as AXConversationVideoPickerComponent, ao as AXConversationVideoRendererComponent, ap as AXConversationVoiceFileTypeProvider, aq as AXConversationVoiceRecorderComponent, ar as AXConversationVoiceRendererComponent, as as AX_CONVERSATION_AUDIO_CATALOG, at as AX_CONVERSATION_AUDIO_PRESENTATION, au as AX_CONVERSATION_AUDIO_RENDERER, av as AX_CONVERSATION_AVAILABLE_REACTIONS, aw as AX_CONVERSATION_BUILTIN_COMPOSER_TABS, ax as AX_CONVERSATION_COMPOSER_AUDIO_ACTION, ay as AX_CONVERSATION_COMPOSER_EMOJI_ACTION, az as AX_CONVERSATION_COMPOSER_EMOJI_TAB, aA as AX_CONVERSATION_COMPOSER_FILE_ACTION, aB as AX_CONVERSATION_COMPOSER_IMAGE_ACTION, aC as AX_CONVERSATION_COMPOSER_LOCATION_ACTION, aD as AX_CONVERSATION_COMPOSER_STICKER_TAB, aE as AX_CONVERSATION_COMPOSER_VIDEO_ACTION, aF as AX_CONVERSATION_COMPOSER_VOICE_RECORDING_ACTION, aG as AX_CONVERSATION_CONFIG, aH as AX_CONVERSATION_CONNECTION_ERRORS, aI as AX_CONVERSATION_CONVERSATION_AVATAR_COMPONENT, aJ as AX_CONVERSATION_DEFAULT_COMPOSER_ACTIONS, aK as AX_CONVERSATION_DEFAULT_COMPOSER_TABS, aL as AX_CONVERSATION_DEFAULT_CONVERSATION_ITEM_ACTIONS, aM as AX_CONVERSATION_DEFAULT_CONVERSATION_TABS, aN as AX_CONVERSATION_DEFAULT_GROUP_ICON, aO as AX_CONVERSATION_DEFAULT_INFO_BAR_ACTIONS, aP as AX_CONVERSATION_DEFAULT_MESSAGE_ACTIONS, aQ as AX_CONVERSATION_DEFAULT_MESSAGE_LIST_BACKGROUND, aR as AX_CONVERSATION_DEFAULT_MESSAGE_LIST_BACKGROUND_PRESET_ID, aS as AX_CONVERSATION_DEFAULT_MESSAGE_LIST_THEME_BACKGROUND, aT as AX_CONVERSATION_DEFAULT_MESSAGE_RENDERERS, aU as AX_CONVERSATION_DEFAULT_ROOM_PREFERENCES, aV as AX_CONVERSATION_DEFAULT_USER_ICON, aW as AX_CONVERSATION_ERRORS, aX as AX_CONVERSATION_ERROR_HANDLER_CONFIG, aY as AX_CONVERSATION_ERROR_MESSAGES, aZ as AX_CONVERSATION_FALLBACK_RENDERER, a_ as AX_CONVERSATION_FILE_CATALOG, a$ as AX_CONVERSATION_FILE_ERRORS, b0 as AX_CONVERSATION_FILE_PRESENTATION, b1 as AX_CONVERSATION_FILE_RENDERER, b2 as AX_CONVERSATION_FILE_TYPES_READY, b3 as AX_CONVERSATION_IMAGE_CATALOG, b4 as AX_CONVERSATION_IMAGE_PRESENTATION, b5 as AX_CONVERSATION_IMAGE_RENDERER, b6 as AX_CONVERSATION_INFO_BAR_ARCHIVE_ACTION, b7 as AX_CONVERSATION_INFO_BAR_BLOCK_ACTION, b8 as AX_CONVERSATION_INFO_BAR_DELETE_ACTION, b9 as AX_CONVERSATION_INFO_BAR_DIVIDER, ba as AX_CONVERSATION_INFO_BAR_MUTE_ACTION, bb as AX_CONVERSATION_INFO_BAR_SEARCH_ACTION, bc as AX_CONVERSATION_ITEM_BLOCK_ACTION, bd as AX_CONVERSATION_ITEM_DELETE_ACTION, be as AX_CONVERSATION_ITEM_DIVIDER, bf as AX_CONVERSATION_ITEM_MARK_READ_ACTION, bg as AX_CONVERSATION_ITEM_MUTE_ACTION, bh as AX_CONVERSATION_ITEM_PIN_ACTION, bi as AX_CONVERSATION_JUMBO_EMOJI_MAX, bj as AX_CONVERSATION_LOCATION_ERRORS, bk as AX_CONVERSATION_LOCATION_RENDERER, bl as AX_CONVERSATION_MESSAGE_DELETE_ACTION, bm as AX_CONVERSATION_MESSAGE_EDIT_ACTION, bn as AX_CONVERSATION_MESSAGE_ERRORS, bo as AX_CONVERSATION_MESSAGE_FORWARD_ACTION, bp as AX_CONVERSATION_MESSAGE_LIST_BACKGROUND_PRESETS, bq as AX_CONVERSATION_MESSAGE_PIN_ACTION, br as AX_CONVERSATION_MESSAGE_REPLY_ACTION, bs as AX_CONVERSATION_MESSAGE_SELECT_ACTION, bt as AX_CONVERSATION_MESSAGE_TYPE_FILE_TYPE, bu as AX_CONVERSATION_MESSAGE_UNPIN_ACTION, bv as AX_CONVERSATION_PEER_AVATAR_TYPES, bw as AX_CONVERSATION_REACTION_BAR_SIZE, bx as AX_CONVERSATION_REGISTRY_CONFIG, by as AX_CONVERSATION_STICKER_API_KEY, bz as AX_CONVERSATION_STICKER_RENDERER, bA as AX_CONVERSATION_SYSTEM_RENDERER, bB as AX_CONVERSATION_TAB_ALL, bC as AX_CONVERSATION_TAB_ARCHIVED, bD as AX_CONVERSATION_TAB_BOT, bE as AX_CONVERSATION_TAB_CHANNELS, bF as AX_CONVERSATION_TAB_GROUPS, bG as AX_CONVERSATION_TAB_PRIVATE, bH as AX_CONVERSATION_TAB_UNREAD, bI as AX_CONVERSATION_TEXT_RENDERER, bJ as AX_CONVERSATION_URL_ERRORS, bK as AX_CONVERSATION_USER_AVATAR_COMPONENT, bL as AX_CONVERSATION_USER_ERRORS, bM as AX_CONVERSATION_VIDEO_CATALOG, bN as AX_CONVERSATION_VIDEO_PRESENTATION, bO as AX_CONVERSATION_VIDEO_RENDERER, bP as AX_CONVERSATION_VOICE_CATALOG, bQ as AX_CONVERSATION_VOICE_PRESENTATION, bR as AX_CONVERSATION_VOICE_RENDERER, bS as AX_DEFAULT_CONVERSATION_CONFIG, bT as abortPickerUploads, bU as applyAudioLocalPreview, bV as applyFileLocalPreview, bW as applyLocalPreview, bX as applyVideoLocalPreview, bY as applyVoiceLocalPreview, bZ as audioItemFromUpload, b_ as bindMediaRendererContentState, b$ as buildMediaGalleryTiles, c0 as canManageConversationPins, c1 as canShowRendererContentError, c2 as cleanupPickerUploads, c3 as conversationAudioUtilities, c4 as conversationFileUtilities, c5 as conversationImageUtilities, c6 as conversationTextToClipboardHtml, c7 as conversationVideoUtilities, c8 as conversationVoiceUtilities, c9 as copyConversationCaption, ca as copyWithFileTypeFallback, cb as countLoneEmojis, cc as createConversationAudioFileType, cd as createConversationFileFileType, ce as createConversationImageFileType, cf as createConversationVideoFileType, cg as createConversationVoiceFileType, ch as createLocalPreviewUrl, ci as createObjectUrl, cj as createPickerDragHandlers, ck as createPickerUploadItemId, cl as createResolvedMediaUrlSignal, cm as deleteUploadedPickerMedia, cn as dismissComposerPickerHost, co as ensureConversationFileCatalogRegistered, cp as fetchConversationMediaPage, cq as fileItemAsAudioMedia, cr as fileItemFromUpload, cs as filesFromClipboardEvent, ct as filterMessagesByMediaCategory, cu as filterSupplementalInfoPanelMessages, cv as findExistingPrivateConversation, cw as formatDuration, cx as formatErrorMessage, cy as formatFileByteSize, cz as formatFileSize, cA as formatMediaDuration, cB as formatPickerValidationMessage, cC as getActiveComposerPickerPasteHandler, cD as getConversationMediaCategories, cE as getConversationProfileFields, cF as getErrorMessage, cG as getMessageAudioItems, cH as getMessageVideoItems, cI as getPickerCancelUploadLabel, cJ as getPrivatePeerParticipant, cK as hasRegistryComponent, cL as inferFileExtensionHintFromMessage, cM as isAttachmentListCategory, cN as isComposerAttachmentBannerEnabled, cO as isComposerTabEnabled, cP as isConversationReactionsEnabled, cQ as isConversationRoomCreator, cR as isGenericPrivateConversationTitle, cS as isGridMediaCategory, cT as isGroupLikeConversation, cU as isJumboEmojiText, cV as isJumboEmojiTextMessage, cW as isMessageDeliveryPending, cX as isMessageListThemeBackground, cY as isMessageVisibleAfterHistoryCutoff, cZ as isNonPersistableMediaUrl, c_ as isPickerItemReadyToSend, c$ as isPlainChromeMessage, d0 as isSameMessageListBackground, d1 as isUploadAborted, d2 as limitFilesToCapacity, d3 as listTextGraphemes, d4 as mediaCopyText, d5 as mergeAudioUploadResult, d6 as mergeFileUploadResult, d7 as mergeInfoPanelMessages, d8 as mergeUploadResult, d9 as mergeVideoUploadResult, da as mergeVoiceUploadResult, db as mergeWithDefaults, dc as messageContainsLink, dd as normalizeAudioPayload, de as normalizeConversationInboundFile, df as normalizeFilePayload, dg as normalizeImagePayload, dh as normalizeMessageListBackgroundValue, di as normalizeVideoPayload, dj as notifyMaxFilesCapacityExceeded, dk as notifyPickerValidationErrors, dl as openWithFileType, dm as pickDisplayMediaUrl, dn as pickEarliestJoinedParticipant, dp as pickerItemToMediaReference, dq as pickerItemToUploadResult, dr as probeAudioDuration, ds as probeImageDimensions, dt as probeVideoMedia, du as provideConversation, dv as provideConversationComposerFileTypes, dw as provideConversationFileCatalog, dx as registerComposerPickerPasteHandler, dy as reportMediaLoadError, dz as resolveComposerAttachmentPresentation, dA as resolveComposerMaxFiles, dB as resolveConversationAvatarDisplay, dC as resolveConversationComposerTabs, dD as resolveConversationForViewer, dE as resolveConversationMessageFileType, dF as resolveConversationPeerParticipant, dG as resolveConversationPeerUserId, dH as resolveConversationTitleForViewer, dI as resolveGalleryImageUrl, dJ as resolveImageDisplayUrl, dK as resolveMessageChrome, dL as resolveMessageListBackgroundRaw, dM as resolveMessageListBackgroundStyle, dN as resolveParticipantProfile, dO as resolvePersistableMediaUrl, dP as resolvePersistedThumbnailUrl, dQ as resolvePrivatePeerParticipant, dR as resolvePrivatePeerUserId, dS as resolveUserAvatarDisplay, dT as resolveVideoThumbnailUrl, dU as revokeObjectUrl, dV as revokePickerBlobPreviews, dW as sanitizeInput, dX as shouldUseUserAvatarForConversation, dY as sortUsersForForward, dZ as splitConversationTextLinks, d_ as syncPlaybackInfoBarBanner, d$ as toMediaItemUploaderReference, e0 as toUploaderReference, e1 as uploadPickerFile, e2 as usesDefaultMessageListWallpaper, e3 as validateConversationId, e4 as validateEmail, e5 as validateLatitude, e6 as validateLongitude, e7 as validateMessagePayload, e8 as validateMessageText, e9 as validateMessageType, ea as validateUrl, eb as validateUserId, ec as validateUserIds, ed as videoItemFromUpload } from './acorex-components-conversation-acorex-components-conversation-W5rytgMw.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-components-conversation.mjs.map
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "22.4.
|
|
3
|
+
"version": "22.4.58",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "22.4.
|
|
6
|
-
"@acorex/cdk": "22.4.
|
|
5
|
+
"@acorex/core": "22.4.58",
|
|
6
|
+
"@acorex/cdk": "22.4.58",
|
|
7
7
|
"@angular/aria": ">=22.1.0",
|
|
8
8
|
"polytype": ">=0.17.0",
|
|
9
9
|
"hammerjs": ">=2.0.8",
|
|
@@ -283,8 +283,6 @@ declare class AXButtonComponent extends MXButtonBaseComponent implements AfterVi
|
|
|
283
283
|
* @ignore
|
|
284
284
|
*/
|
|
285
285
|
private get __hostClass();
|
|
286
|
-
protected emitOnFocusEvent(e?: FocusEvent): void;
|
|
287
|
-
protected emitOnBlurEvent(e?: FocusEvent): void;
|
|
288
286
|
focus(): void;
|
|
289
287
|
blur(): void;
|
|
290
288
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
|
@@ -10,7 +10,6 @@ import * as _acorex_components_action_sheet from '@acorex/components/action-shee
|
|
|
10
10
|
import { AXActionSheetRef } from '@acorex/components/action-sheet';
|
|
11
11
|
import * as _acorex_components_popup from '@acorex/components/popup';
|
|
12
12
|
import { AXPopupRef, AXPopupService } from '@acorex/components/popup';
|
|
13
|
-
import * as i1 from '@acorex/cdk/uploader';
|
|
14
13
|
import { AXFileUploadOptions, AXUploadResult, AXUploadReference, AXUploaderService, AXUploaderFileChangeEvent } from '@acorex/cdk/uploader';
|
|
15
14
|
import { AXToastService } from '@acorex/components/toast';
|
|
16
15
|
import { AXValidationRuleResult } from '@acorex/core/validation';
|
|
@@ -25,7 +24,7 @@ import { AXFileTypeRegistryService, AXFileTypeExtensionHint, AXFileTypeOpenConte
|
|
|
25
24
|
import { AXMapMarker } from '@acorex/components/map';
|
|
26
25
|
import { AXWaveConfig, AXAudioWaveChangeEvent } from '@acorex/components/audio-wave';
|
|
27
26
|
import { AXRangeSliderValue } from '@acorex/components/range-slider';
|
|
28
|
-
import * as i1
|
|
27
|
+
import * as i1 from '@angular/common';
|
|
29
28
|
import * as i2 from '@angular/forms';
|
|
30
29
|
|
|
31
30
|
declare class AXConversationComposerPopupComponent implements OnDestroy {
|
|
@@ -1417,9 +1416,10 @@ declare class AXConversationComposerService {
|
|
|
1417
1416
|
openActionComponent(action: AXConversationComposerAction, inputs?: Record<string, unknown>, options?: {
|
|
1418
1417
|
toggleable?: boolean;
|
|
1419
1418
|
initialFiles?: File[];
|
|
1419
|
+
preserveFileType?: boolean;
|
|
1420
1420
|
}): Promise<void>;
|
|
1421
1421
|
browseDraftAttachments(fileType?: string): Promise<number>;
|
|
1422
|
-
addDraftAttachments(files: File[]): Promise<number>;
|
|
1422
|
+
addDraftAttachments(files: File[], selectedCatalog?: string): Promise<number>;
|
|
1423
1423
|
removeDraftAttachment(id: string): void;
|
|
1424
1424
|
clearDraftAttachments(options?: {
|
|
1425
1425
|
retainUploaded?: boolean;
|
|
@@ -2403,9 +2403,10 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
2403
2403
|
readonly usesAttachmentBanner: _angular_core.Signal<boolean>;
|
|
2404
2404
|
/** Editing message */
|
|
2405
2405
|
readonly editingMessage: _angular_core.WritableSignal<AXConversationMessage>;
|
|
2406
|
-
protected readonly editingTextPayload: _angular_core.Signal<AXConversationTextPayload>;
|
|
2407
2406
|
/** Replying to message */
|
|
2408
2407
|
readonly replyingToMessage: _angular_core.WritableSignal<AXConversationMessage>;
|
|
2408
|
+
protected readonly bannerMessage: _angular_core.Signal<AXConversationMessage>;
|
|
2409
|
+
protected readonly bannerTextPayload: _angular_core.Signal<AXConversationTextPayload>;
|
|
2409
2410
|
/** Message sent event */
|
|
2410
2411
|
readonly messageSent: _angular_core.OutputEmitterRef<AXConversationSendMessageCommand>;
|
|
2411
2412
|
/** Emitted when the user cancels an in-progress generation from the composer. */
|
|
@@ -2554,10 +2555,7 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
2554
2555
|
}): string;
|
|
2555
2556
|
/** Get replying message text */
|
|
2556
2557
|
getReplyingMessageText(): string;
|
|
2557
|
-
|
|
2558
|
-
getReplyingPreview(): AXConversationMessagePreview | null;
|
|
2559
|
-
/** Preview object for editing banner (type, icon, value) */
|
|
2560
|
-
getEditingPreview(): AXConversationMessagePreview | null;
|
|
2558
|
+
protected getBannerPreview(): AXConversationMessagePreview | null;
|
|
2561
2559
|
getComposerPreviewLabel(preview: AXConversationMessagePreview): string;
|
|
2562
2560
|
private getMessagePreview;
|
|
2563
2561
|
protected navigateToBannerMessage(): void;
|
|
@@ -2567,35 +2565,41 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
2567
2565
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationComposerComponent, "ax-conversation-composer", never, {}, { "messageSent": "messageSent"; "generationCancelled": "generationCancelled"; "emojiClick": "emojiClick"; "attachClick": "attachClick"; "voiceClick": "voiceClick"; }, never, never, true, never>;
|
|
2568
2566
|
}
|
|
2569
2567
|
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2568
|
+
interface AXConversationFileDropZone {
|
|
2569
|
+
actionId: string;
|
|
2570
|
+
label: string;
|
|
2571
|
+
icon: string;
|
|
2572
|
+
asFile: boolean;
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
/** File drop target for the active chat. Sidebar items have their own drop behavior. */
|
|
2576
|
+
declare class AXConversationChatDropDirective {
|
|
2577
|
+
/** Retained for existing templates; the chat panel never opens a file dialog on click. */
|
|
2578
|
+
readonly disableBrowse: _angular_core.InputSignal<boolean>;
|
|
2579
|
+
private readonly host;
|
|
2580
|
+
private readonly view;
|
|
2578
2581
|
private readonly ngZone;
|
|
2579
|
-
private readonly zone;
|
|
2580
2582
|
private readonly conversationService;
|
|
2581
2583
|
private readonly pins;
|
|
2582
|
-
private readonly
|
|
2583
|
-
private readonly
|
|
2584
|
-
private readonly
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
private
|
|
2589
|
-
private
|
|
2590
|
-
private overlay;
|
|
2584
|
+
private readonly fileTypes;
|
|
2585
|
+
private readonly deps;
|
|
2586
|
+
private readonly drag;
|
|
2587
|
+
readonly active: _angular_core.Signal<boolean>;
|
|
2588
|
+
readonly activeZone: _angular_core.WritableSignal<string>;
|
|
2589
|
+
readonly zones: _angular_core.Signal<AXConversationFileDropZone[]>;
|
|
2590
|
+
private leaveTimer;
|
|
2591
|
+
private overlay?;
|
|
2591
2592
|
constructor();
|
|
2592
|
-
|
|
2593
|
-
private
|
|
2593
|
+
private readonly onDragOver;
|
|
2594
|
+
private readonly onDragLeave;
|
|
2595
|
+
private readonly onDrop;
|
|
2596
|
+
private zoneAt;
|
|
2594
2597
|
private showOverlay;
|
|
2595
|
-
private
|
|
2596
|
-
private
|
|
2598
|
+
private fileItems;
|
|
2599
|
+
private isFileDrag;
|
|
2600
|
+
private readonly reset;
|
|
2597
2601
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationChatDropDirective, never>;
|
|
2598
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXConversationChatDropDirective, "[axConversationChatDrop]",
|
|
2602
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXConversationChatDropDirective, "[axConversationChatDrop]", ["axConversationChatDrop"], { "disableBrowse": { "alias": "disableBrowse"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2599
2603
|
}
|
|
2600
2604
|
|
|
2601
2605
|
declare class AXConversationContainerComponent {
|
|
@@ -4457,6 +4461,8 @@ interface AXConversationConfig {
|
|
|
4457
4461
|
typingDisplayDuration?: number;
|
|
4458
4462
|
/** Message highlight duration in milliseconds */
|
|
4459
4463
|
messageHighlightDuration?: number;
|
|
4464
|
+
/** Delay before the sticky date separator fades after scrolling stops (default: 3000 ms). */
|
|
4465
|
+
stickyDateSeparatorHideDelay?: number;
|
|
4460
4466
|
/** Search debounce delay in milliseconds */
|
|
4461
4467
|
debounceSearch?: number;
|
|
4462
4468
|
/** Maximum messages per conversation */
|
|
@@ -4830,6 +4836,7 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
4830
4836
|
/** Fallback when no conversation is active and no `ax-conversation-message-list-no-active` content is projected. */
|
|
4831
4837
|
protected readonly noActiveFallbackComponent: typeof AXConversationMessageListNoActiveDefaultComponent;
|
|
4832
4838
|
private readonly timeouts;
|
|
4839
|
+
private stickyDateHideTimeout?;
|
|
4833
4840
|
/** Message id whose context menu is open (for active row styling). */
|
|
4834
4841
|
readonly contextMenuMessageId: _angular_core.WritableSignal<string>;
|
|
4835
4842
|
private readonly contextMenuMessage;
|
|
@@ -4956,7 +4963,6 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
4956
4963
|
/** Load older messages - delegate to service and preserve scroll anchor */
|
|
4957
4964
|
private loadOlderMessages;
|
|
4958
4965
|
private revealStuckDateSeparators;
|
|
4959
|
-
private syncDateSeparatorStuckState;
|
|
4960
4966
|
/** Distance from the last pixel of the feed. */
|
|
4961
4967
|
private distanceFromBottom;
|
|
4962
4968
|
/** True when the viewport is at the latest message (not merely within `scrollThreshold`). */
|
|
@@ -6765,7 +6771,7 @@ declare class AXConversationModule {
|
|
|
6765
6771
|
*/
|
|
6766
6772
|
static forChild(options?: Omit<AXConversationOptions, 'userApi' | 'conversationApi' | 'messageApi' | 'realtimeApi'>): ModuleWithProviders<AXConversationModule>;
|
|
6767
6773
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationModule, never>;
|
|
6768
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXConversationModule, never, [typeof i1
|
|
6774
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXConversationModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof AXConversationContainerComponent, typeof AXConversationSidebarComponent, typeof AXConversationInfoBarComponent, typeof AXConversationMessageListComponent, typeof AXConversationComposerComponent, typeof AXConversationInfiniteScrollDirective, typeof AXConversationDefaultConversationAvatarComponent], [typeof AXConversationContainerComponent, typeof AXConversationSidebarComponent, typeof AXConversationInfoBarComponent, typeof AXConversationMessageListComponent, typeof AXConversationComposerComponent, typeof AXConversationInfiniteScrollDirective]>;
|
|
6769
6775
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXConversationModule>;
|
|
6770
6776
|
}
|
|
6771
6777
|
/**
|