@acorex/components 21.0.3-next.12 → 21.0.3-next.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-components-conversation2.mjs +1115 -1032
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +291 -173
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +2 -5
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/package.json +3 -3
- package/types/acorex-components-conversation2.d.ts +59 -27
- package/types/acorex-components-image-editor.d.ts +53 -44
- package/types/acorex-components-scheduler.d.ts +1 -3
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "21.0.3-next.
|
|
3
|
+
"version": "21.0.3-next.13",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "21.0.3-next.
|
|
6
|
-
"@acorex/cdk": "21.0.3-next.
|
|
5
|
+
"@acorex/core": "21.0.3-next.13",
|
|
6
|
+
"@acorex/cdk": "21.0.3-next.13",
|
|
7
7
|
"polytype": ">=0.17.0",
|
|
8
8
|
"angular-imask": ">=7.6.1",
|
|
9
9
|
"gridstack": ">=12.0.0",
|
|
@@ -13,7 +13,8 @@ import { AXContextMenuOpeningEvent, AXContextMenuItemsClickEvent } from '@acorex
|
|
|
13
13
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
14
14
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
15
15
|
import { AXMapMarker } from '@acorex/components/map';
|
|
16
|
-
import
|
|
16
|
+
import * as _acorex_core_file from '@acorex/core/file';
|
|
17
|
+
import { AXFileTypeRegistryService, AXFileTypeOpenContext, AXFileTypeInfoProvider, AXFileType, AXFileService } from '@acorex/core/file';
|
|
17
18
|
import { SafeHtml } from '@angular/platform-browser';
|
|
18
19
|
import * as i1 from '@angular/common';
|
|
19
20
|
import * as i2 from '@angular/forms';
|
|
@@ -460,6 +461,8 @@ interface AXConversation {
|
|
|
460
461
|
id: string;
|
|
461
462
|
/** Conversation type */
|
|
462
463
|
type: AXConversationType;
|
|
464
|
+
/** User who created this conversation */
|
|
465
|
+
creatorId?: string;
|
|
463
466
|
/** Conversation title/name */
|
|
464
467
|
title: string;
|
|
465
468
|
/** Conversation avatar/image URL */
|
|
@@ -1346,8 +1349,6 @@ declare class AXComposerComponent implements OnDestroy {
|
|
|
1346
1349
|
readonly composerPopupComponent: typeof AXComposerPopupComponent;
|
|
1347
1350
|
/** Input placeholder - use service */
|
|
1348
1351
|
readonly placeholder: _angular_core.Signal<string>;
|
|
1349
|
-
/** Sending message state */
|
|
1350
|
-
readonly sendingMessage: _angular_core.WritableSignal<boolean>;
|
|
1351
1352
|
/** Typing indicator subject for rate limiting */
|
|
1352
1353
|
private readonly typingSubject;
|
|
1353
1354
|
constructor();
|
|
@@ -1504,6 +1505,10 @@ declare class AXComposerService {
|
|
|
1504
1505
|
onConversationChanged(previousConversationId: string | null, currentConversationId: string | null): void;
|
|
1505
1506
|
sendTypingIndicator(conversationId: string): Promise<void>;
|
|
1506
1507
|
sendMessage(command: AXSendMessageCommand, options?: AXSendMessageOptions): Promise<void>;
|
|
1508
|
+
/**
|
|
1509
|
+
* Resets composer input immediately when a send starts so upload/API work continues in the background.
|
|
1510
|
+
*/
|
|
1511
|
+
clearComposerInput(conversationId?: string): void;
|
|
1507
1512
|
/**
|
|
1508
1513
|
* Show a component in the composer (full-width mode)
|
|
1509
1514
|
*/
|
|
@@ -1857,6 +1862,8 @@ interface AXConversationCreateData {
|
|
|
1857
1862
|
type: AXConversationType;
|
|
1858
1863
|
/** Participant user IDs */
|
|
1859
1864
|
participantIds: string[];
|
|
1865
|
+
/** User who creates the conversation */
|
|
1866
|
+
creatorId?: string;
|
|
1860
1867
|
/** Conversation title (for groups/channels) */
|
|
1861
1868
|
title?: string;
|
|
1862
1869
|
/** Conversation description */
|
|
@@ -3126,7 +3133,7 @@ declare class AXConversationService {
|
|
|
3126
3133
|
private readonly _messageDeleted$;
|
|
3127
3134
|
private readonly _typingIndicator$;
|
|
3128
3135
|
private readonly _presenceUpdate$;
|
|
3129
|
-
/** All conversations */
|
|
3136
|
+
/** All conversations (viewer-scoped display titles for private 1v1 chats) */
|
|
3130
3137
|
readonly conversations: _angular_core.Signal<AXConversation[]>;
|
|
3131
3138
|
/** Active conversation ID */
|
|
3132
3139
|
readonly activeConversationId: _angular_core.Signal<string>;
|
|
@@ -3715,6 +3722,12 @@ declare class AXCnvMediaPlaybackInfoBarBannerComponent implements AXMessageInfoB
|
|
|
3715
3722
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXCnvMediaPlaybackInfoBarBannerComponent, "ax-cnv-media-playback-info-bar-banner", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "currentTime": { "alias": "currentTime"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "isPlaying": { "alias": "isPlaying"; "required": false; "isSignal": true; }; "onTogglePlay": { "alias": "onTogglePlay"; "required": false; "isSignal": true; }; "playbackSpeed": { "alias": "playbackSpeed"; "required": false; "isSignal": true; }; "onCycleSpeed": { "alias": "onCycleSpeed"; "required": false; "isSignal": true; }; "showSpeedControl": { "alias": "showSpeedControl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3716
3723
|
}
|
|
3717
3724
|
|
|
3725
|
+
/** Caption first, else a label with optional extra lines (URLs, names). */
|
|
3726
|
+
declare function mediaCopyText(caption: string | undefined, singleLabel: string, pluralLabel: string, count: number, lines: (string | undefined)[]): string;
|
|
3727
|
+
/** Use file-type `copy` on the message when `message.fileType` is set; otherwise fallback. */
|
|
3728
|
+
declare function copyWithFileTypeFallback(message: AXMessage, registry: AXFileTypeRegistryService, fallback: () => string): Promise<string>;
|
|
3729
|
+
/** Use file-type `open` on the message when `message.fileType` is set. */
|
|
3730
|
+
declare function openWithFileType(message: AXMessage, registry: AXFileTypeRegistryService, ctx: AXFileTypeOpenContext): Promise<boolean>;
|
|
3718
3731
|
/**
|
|
3719
3732
|
* Registers the live renderer on {@link AXMessageListService} for message actions.
|
|
3720
3733
|
*/
|
|
@@ -5361,46 +5374,31 @@ declare class AXVoiceRecorderComponent {
|
|
|
5361
5374
|
}
|
|
5362
5375
|
|
|
5363
5376
|
declare class AXConversationAudioFileTypeProvider extends AXFileTypeInfoProvider {
|
|
5364
|
-
items(): Promise<AXFileType<Record<string, (ctx:
|
|
5365
|
-
readAsDataUrl: (file: File | Blob) => Promise<string>;
|
|
5366
|
-
platformId: object;
|
|
5367
|
-
}, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5377
|
+
items(): Promise<AXFileType<Record<string, (ctx: _acorex_core_file.AXFileTypeContext, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5368
5378
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationAudioFileTypeProvider, never>;
|
|
5369
5379
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXConversationAudioFileTypeProvider>;
|
|
5370
5380
|
}
|
|
5371
5381
|
|
|
5372
5382
|
declare class AXConversationFileFileTypeProvider extends AXFileTypeInfoProvider {
|
|
5373
|
-
items(): Promise<AXFileType<Record<string, (ctx:
|
|
5374
|
-
readAsDataUrl: (file: File | Blob) => Promise<string>;
|
|
5375
|
-
platformId: object;
|
|
5376
|
-
}, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5383
|
+
items(): Promise<AXFileType<Record<string, (ctx: _acorex_core_file.AXFileTypeContext, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5377
5384
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationFileFileTypeProvider, never>;
|
|
5378
5385
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXConversationFileFileTypeProvider>;
|
|
5379
5386
|
}
|
|
5380
5387
|
|
|
5381
5388
|
declare class AXConversationImageFileTypeProvider extends AXFileTypeInfoProvider {
|
|
5382
|
-
items(): Promise<AXFileType<Record<string, (ctx:
|
|
5383
|
-
readAsDataUrl: (file: File | Blob) => Promise<string>;
|
|
5384
|
-
platformId: object;
|
|
5385
|
-
}, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5389
|
+
items(): Promise<AXFileType<Record<string, (ctx: _acorex_core_file.AXFileTypeContext, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5386
5390
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationImageFileTypeProvider, never>;
|
|
5387
5391
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXConversationImageFileTypeProvider>;
|
|
5388
5392
|
}
|
|
5389
5393
|
|
|
5390
5394
|
declare class AXConversationVideoFileTypeProvider extends AXFileTypeInfoProvider {
|
|
5391
|
-
items(): Promise<AXFileType<Record<string, (ctx:
|
|
5392
|
-
readAsDataUrl: (file: File | Blob) => Promise<string>;
|
|
5393
|
-
platformId: object;
|
|
5394
|
-
}, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5395
|
+
items(): Promise<AXFileType<Record<string, (ctx: _acorex_core_file.AXFileTypeContext, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5395
5396
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationVideoFileTypeProvider, never>;
|
|
5396
5397
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXConversationVideoFileTypeProvider>;
|
|
5397
5398
|
}
|
|
5398
5399
|
|
|
5399
5400
|
declare class AXConversationVoiceFileTypeProvider extends AXFileTypeInfoProvider {
|
|
5400
|
-
items(): Promise<AXFileType<Record<string, (ctx:
|
|
5401
|
-
readAsDataUrl: (file: File | Blob) => Promise<string>;
|
|
5402
|
-
platformId: object;
|
|
5403
|
-
}, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5401
|
+
items(): Promise<AXFileType<Record<string, (ctx: _acorex_core_file.AXFileTypeContext, ...args: unknown[]) => Promise<unknown> | unknown>>[]>;
|
|
5404
5402
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationVoiceFileTypeProvider, never>;
|
|
5405
5403
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXConversationVoiceFileTypeProvider>;
|
|
5406
5404
|
}
|
|
@@ -5424,7 +5422,7 @@ declare const AX_CONVERSATION_COMPOSER_LOCATION_ACTION: AXComposerAction;
|
|
|
5424
5422
|
|
|
5425
5423
|
declare function mergeUploadResult(type: AXMessageType, payload: AXMessagePayload, result: AXUploadResult): AXMessagePayload;
|
|
5426
5424
|
declare function applyLocalPreview(type: AXMessageType, payload: AXMessagePayload, localUrl: string, mimeType?: string): AXMessagePayload;
|
|
5427
|
-
declare function toUploaderReference(payload: AXMessagePayload): AXUploaderReference;
|
|
5425
|
+
declare function toUploaderReference$1(payload: AXMessagePayload): AXUploaderReference;
|
|
5428
5426
|
declare function createObjectUrl(platformId: object, blob: Blob): string;
|
|
5429
5427
|
declare function revokeObjectUrl(platformId: object, url: string): void;
|
|
5430
5428
|
declare function createLocalPreviewUrl(fileService: AXFileService, platformId: object, source: File | Blob, messageType: AXMessageType): Promise<string | undefined>;
|
|
@@ -5772,7 +5770,22 @@ declare function resolvePrivatePeerUserId(conversation: AXConversation, currentU
|
|
|
5772
5770
|
/** Whether `auto` kind should render a user avatar for this conversation. */
|
|
5773
5771
|
declare function shouldUseUserAvatarForConversation(conversation: AXConversation, currentUserId?: string): boolean;
|
|
5774
5772
|
declare function resolveUserAvatarDisplay(userId: string, conversation: AXConversation | undefined, message?: AXMessage): AXConversationAvatarDisplay;
|
|
5775
|
-
declare function resolveConversationAvatarDisplay(conversation: AXConversation): AXConversationAvatarDisplay;
|
|
5773
|
+
declare function resolveConversationAvatarDisplay(conversation: AXConversation, currentUserId?: string): AXConversationAvatarDisplay;
|
|
5774
|
+
|
|
5775
|
+
/** True when the stored title is a placeholder, not a user-defined name. */
|
|
5776
|
+
declare function isGenericPrivateConversationTitle(title: string | undefined): boolean;
|
|
5777
|
+
/** Other participant in a private 1v1 chat (excludes the current viewer). */
|
|
5778
|
+
declare function resolvePrivatePeerParticipant(conversation: AXConversation, currentUserId?: string): AXParticipant | undefined;
|
|
5779
|
+
/**
|
|
5780
|
+
* Resolves the display title for the current viewer.
|
|
5781
|
+
* Private 1v1 chats show the other participant's name when no custom title is set.
|
|
5782
|
+
*/
|
|
5783
|
+
declare function resolveConversationTitleForViewer(conversation: AXConversation, currentUserId?: string): string;
|
|
5784
|
+
/**
|
|
5785
|
+
* Returns a viewer-scoped copy of a conversation with dynamic private title/avatar/icon.
|
|
5786
|
+
* Does not mutate the source object.
|
|
5787
|
+
*/
|
|
5788
|
+
declare function resolveConversationForViewer(conversation: AXConversation, currentUserId?: string): AXConversation;
|
|
5776
5789
|
|
|
5777
5790
|
/** Resolves typed `profile`, falling back to legacy `metadata.profile`. */
|
|
5778
5791
|
declare function resolveParticipantProfile(participant?: AXParticipant): AXUserProfile;
|
|
@@ -5969,6 +5982,25 @@ declare function validateLatitude(latitude: number | undefined | null): AXValida
|
|
|
5969
5982
|
*/
|
|
5970
5983
|
declare function validateLongitude(longitude: number | undefined | null): AXValidationResult;
|
|
5971
5984
|
|
|
5985
|
+
/** First non-empty URL for img/video/audio at runtime (includes resolved blob: URLs). */
|
|
5986
|
+
declare function pickDisplayMediaUrl(...candidates: (string | null | undefined)[]): string;
|
|
5987
|
+
|
|
5988
|
+
/** Format image message payload for rendering (array shape, safe thumbnails). */
|
|
5989
|
+
declare function normalizeImagePayload(payload: AXImagePayload): AXImagePayload;
|
|
5990
|
+
/** Preferred URL for grid / lightbox (never inline base64 thumbnails). */
|
|
5991
|
+
declare function resolveImageDisplayUrl(image: AXImageMediaItem): string | undefined;
|
|
5992
|
+
|
|
5993
|
+
declare function toUploaderReference(item: AXMediaItemFields): AXUploaderReference;
|
|
5994
|
+
|
|
5995
|
+
/**
|
|
5996
|
+
* Resolves multimedia payload URLs for renderers (direct url or mediaId via uploader).
|
|
5997
|
+
*/
|
|
5998
|
+
|
|
5999
|
+
/**
|
|
6000
|
+
* Creates a signal of the resolved playback URL for a media reference.
|
|
6001
|
+
*/
|
|
6002
|
+
declare function createResolvedMediaUrlSignal(reference: Signal<AXUploaderReference | undefined>): Signal<string | null>;
|
|
6003
|
+
|
|
5972
6004
|
/**
|
|
5973
6005
|
* Error Message Constants
|
|
5974
6006
|
* Centralized error messages with i18n support structure
|
|
@@ -6361,5 +6393,5 @@ declare function getErrorMessage(code: string, params?: Record<string, string |
|
|
|
6361
6393
|
*/
|
|
6362
6394
|
type AXErrorCode = typeof MESSAGE_ERRORS[keyof typeof MESSAGE_ERRORS]['code'] | typeof FILE_ERRORS[keyof typeof FILE_ERRORS]['code'] | typeof USER_ERRORS[keyof typeof USER_ERRORS]['code'] | typeof CONVERSATION_ERRORS[keyof typeof CONVERSATION_ERRORS]['code'] | typeof CONNECTION_ERRORS[keyof typeof CONNECTION_ERRORS]['code'] | typeof LOCATION_ERRORS[keyof typeof LOCATION_ERRORS]['code'] | typeof URL_ERRORS[keyof typeof URL_ERRORS]['code'];
|
|
6363
6395
|
|
|
6364
|
-
export { AXAudioPickerComponent, AXAudioRendererComponent, AXBaseRegistry, AXCnvMediaPlaybackInfoBarBannerComponent, AXComposerActionRegistry, AXComposerComponent, AXComposerPopupComponent, AXComposerService, AXComposerTabRegistry, AXConversation2Module, AXConversationAiApiKey, AXConversationAiResponderService, AXConversationApi, AXConversationContainerComponent, AXConversationContainerDirective, AXConversationDateUtilsService, AXConversationIndexedDbConversationApi, AXConversationIndexedDbMessageAiApi, AXConversationIndexedDbMessageApi, AXConversationIndexedDbRealtimeApi, AXConversationIndexedDbStorage, AXConversationIndexedDbStores, AXConversationIndexedDbUserApi, AXConversationInfoMediaViewComponent, AXConversationInfoPanelComponent, AXConversationItemActionRegistry, AXConversationMessageRendererStateComponent, AXConversationMessageUtilsService, AXConversationService, AXConversationSharedStorage, AXConversationTabRegistry, AXEmojiTabComponent, AXErrorHandlerService, AXFallbackRendererComponent, AXFilePickerComponent, AXFileRendererComponent, AXForwardMessageDialogComponent, AXImagePickerComponent, AXImageRendererComponent, AXInfiniteScrollDirective, AXInfoBarActionRegistry, AXInfoBarComponent, AXInfoBarSearchComponent, AXInfoBarService, AXLocationPickerComponent, AXLocationRendererComponent, AXMessageActionRegistry, AXMessageApi, AXMessageListComponent, AXMessageListNoActiveDefaultComponent, AXMessageListService, AXMessageRendererRegistry, AXNewConversationDialogComponent, AXPickerFooterComponent, AXPickerHeaderComponent, AXRealtimeApi, AXRegistryService, AXSidebarComponent, AXSidebarService, AXStickerRendererComponent, AXStickerTabComponent, AXSystemRendererComponent, AXTextRendererComponent, AXUserApi, AXVideoPickerComponent, AXVideoRendererComponent, AXVoiceRecorderComponent, AXVoiceRendererComponent, AX_CONVERSATION_AUDIO_RENDERER, AX_CONVERSATION_COMPOSER_AUDIO_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_TAB, AX_CONVERSATION_COMPOSER_FILE_ACTION, AX_CONVERSATION_COMPOSER_FILE_TYPE_PROVIDERS, 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_CONVERSATION_AVATAR_COMPONENT, AX_CONVERSATION_CURSOR_PREFIX, AX_CONVERSATION_FALLBACK_RENDERER, AX_CONVERSATION_FILE_RENDERER, 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_RENDERER, AX_CONVERSATION_MESSAGE_DELETE_ACTION, AX_CONVERSATION_MESSAGE_EDIT_ACTION, AX_CONVERSATION_MESSAGE_FORWARD_ACTION, AX_CONVERSATION_MESSAGE_REPLY_ACTION, 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_USER_AVATAR_COMPONENT, AX_CONVERSATION_VIDEO_RENDERER, AX_CONVERSATION_VOICE_RENDERER, AX_DEFAULT_CONVERSATION_CONFIG, AX_MESSAGE_CURSOR_PREFIX, AX_STICKER_API_KEY, CONNECTION_ERRORS, CONVERSATION_CONFIG, CONVERSATION_ERRORS, CONVERSATION_FILE_TYPES_READY, DEFAULT_COMPOSER_ACTIONS, DEFAULT_COMPOSER_TABS, DEFAULT_CONVERSATION_ITEM_ACTIONS, DEFAULT_CONVERSATION_TABS, DEFAULT_INFO_BAR_ACTIONS, DEFAULT_MESSAGE_ACTIONS, DEFAULT_MESSAGE_RENDERERS, ERROR_HANDLER_CONFIG, ERROR_MESSAGES, FILE_ERRORS, LOCATION_ERRORS, MESSAGE_ERRORS, REGISTRY_CONFIG, URL_ERRORS, USER_ERRORS, applyConversationFilters, applyLocalPreview, axConversationIndexedDbStorage, conversationSharedStorage, createLocalPreviewUrl, createObjectUrl, encodeConversationCursor, encodeMessageCursor, formatErrorMessage, getConversationLastActivity, getConversationMessagesNewestFirst, getErrorMessage, getSortedConversationsForInbox, mergeUploadResult, mergeWithDefaults, normalizeAllConversationMessageIndexes, paginateChatNewestFirst, paginateChatOldestFirst, parseChatCursor, provideConversation, provideConversationComposerFileTypes, provideConversationFileCatalog, registerChatMessage, resolveConversationAvatarDisplay, resolveParticipantProfile, resolvePrivatePeerUserId, resolveUserAvatarDisplay, revokeObjectUrl, sanitizeInput, shouldUseUserAvatarForConversation, sortConversationMessageIds, toUploaderReference, unregisterChatMessage, validateConversationId, validateEmail, validateLatitude, validateLongitude, validateMessagePayload, validateMessageText, validateMessageType, validateUrl, validateUserId, validateUserIds };
|
|
6396
|
+
export { AXAudioPickerComponent, AXAudioRendererComponent, AXBaseRegistry, AXCnvMediaPlaybackInfoBarBannerComponent, AXComposerActionRegistry, AXComposerComponent, AXComposerPopupComponent, AXComposerService, AXComposerTabRegistry, AXConversation2Module, AXConversationAiApiKey, AXConversationAiResponderService, AXConversationApi, AXConversationContainerComponent, AXConversationContainerDirective, AXConversationDateUtilsService, AXConversationIndexedDbConversationApi, AXConversationIndexedDbMessageAiApi, AXConversationIndexedDbMessageApi, AXConversationIndexedDbRealtimeApi, AXConversationIndexedDbStorage, AXConversationIndexedDbStores, AXConversationIndexedDbUserApi, AXConversationInfoMediaViewComponent, AXConversationInfoPanelComponent, AXConversationItemActionRegistry, AXConversationMessageRendererStateComponent, AXConversationMessageUtilsService, AXConversationService, AXConversationSharedStorage, AXConversationTabRegistry, AXEmojiTabComponent, AXErrorHandlerService, AXFallbackRendererComponent, AXFilePickerComponent, AXFileRendererComponent, AXForwardMessageDialogComponent, AXImagePickerComponent, AXImageRendererComponent, AXInfiniteScrollDirective, AXInfoBarActionRegistry, AXInfoBarComponent, AXInfoBarSearchComponent, AXInfoBarService, AXLocationPickerComponent, AXLocationRendererComponent, AXMessageActionRegistry, AXMessageApi, AXMessageListComponent, AXMessageListNoActiveDefaultComponent, AXMessageListService, AXMessageRendererCopyHostComponent, AXMessageRendererRegistry, AXNewConversationDialogComponent, AXPickerFooterComponent, AXPickerHeaderComponent, AXRealtimeApi, AXRegistryService, AXSidebarComponent, AXSidebarService, AXStickerRendererComponent, AXStickerTabComponent, AXSystemRendererComponent, AXTextRendererComponent, AXUserApi, AXVideoPickerComponent, AXVideoRendererComponent, AXVoiceRecorderComponent, AXVoiceRendererComponent, AX_CONVERSATION_AUDIO_RENDERER, AX_CONVERSATION_COMPOSER_AUDIO_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_TAB, AX_CONVERSATION_COMPOSER_FILE_ACTION, AX_CONVERSATION_COMPOSER_FILE_TYPE_PROVIDERS, 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_CONVERSATION_AVATAR_COMPONENT, AX_CONVERSATION_CURSOR_PREFIX, AX_CONVERSATION_FALLBACK_RENDERER, AX_CONVERSATION_FILE_RENDERER, 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_RENDERER, AX_CONVERSATION_MESSAGE_DELETE_ACTION, AX_CONVERSATION_MESSAGE_EDIT_ACTION, AX_CONVERSATION_MESSAGE_FORWARD_ACTION, AX_CONVERSATION_MESSAGE_REPLY_ACTION, 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_USER_AVATAR_COMPONENT, AX_CONVERSATION_VIDEO_RENDERER, AX_CONVERSATION_VOICE_RENDERER, AX_DEFAULT_CONVERSATION_CONFIG, AX_MESSAGE_CURSOR_PREFIX, AX_STICKER_API_KEY, CONNECTION_ERRORS, CONVERSATION_CONFIG, CONVERSATION_ERRORS, CONVERSATION_FILE_TYPES_READY, DEFAULT_COMPOSER_ACTIONS, DEFAULT_COMPOSER_TABS, DEFAULT_CONVERSATION_ITEM_ACTIONS, DEFAULT_CONVERSATION_TABS, DEFAULT_INFO_BAR_ACTIONS, DEFAULT_MESSAGE_ACTIONS, DEFAULT_MESSAGE_RENDERERS, ERROR_HANDLER_CONFIG, ERROR_MESSAGES, FILE_ERRORS, LOCATION_ERRORS, MESSAGE_ERRORS, REGISTRY_CONFIG, URL_ERRORS, USER_ERRORS, applyConversationFilters, applyLocalPreview, axConversationIndexedDbStorage, conversationSharedStorage, copyWithFileTypeFallback, createLocalPreviewUrl, createObjectUrl, createResolvedMediaUrlSignal, encodeConversationCursor, encodeMessageCursor, formatErrorMessage, getConversationLastActivity, getConversationMessagesNewestFirst, getErrorMessage, getSortedConversationsForInbox, isGenericPrivateConversationTitle, mediaCopyText, mergeUploadResult, mergeWithDefaults, normalizeAllConversationMessageIndexes, normalizeImagePayload, openWithFileType, paginateChatNewestFirst, paginateChatOldestFirst, parseChatCursor, pickDisplayMediaUrl, provideConversation, provideConversationComposerFileTypes, provideConversationFileCatalog, registerChatMessage, resolveConversationAvatarDisplay, resolveConversationForViewer, resolveConversationTitleForViewer, resolveImageDisplayUrl, resolveParticipantProfile, resolvePrivatePeerParticipant, resolvePrivatePeerUserId, resolveUserAvatarDisplay, revokeObjectUrl, sanitizeInput, shouldUseUserAvatarForConversation, sortConversationMessageIds, toUploaderReference as toMediaItemUploaderReference, toUploaderReference$1 as toUploaderReference, unregisterChatMessage, validateConversationId, validateEmail, validateLatitude, validateLongitude, validateMessagePayload, validateMessageText, validateMessageType, validateUrl, validateUserId, validateUserIds };
|
|
6365
6397
|
export type { AXApiError, AXAudioMediaItem, AXAudioPayload, AXBlockReportReason, AXCallEvent, AXChatCursorKind, AXComposerAction, AXComposerActionComponent, AXComposerActionContext, AXComposerActiveComponent, AXComposerTab, AXConnectionEvent, AXConnectionOptions, AXConnectionStatus, AXConversation, AXConversationAiResponderConfig, AXConversationAvatarComponents, AXConversationAvatarDisplay, AXConversationAvatarKind, AXConversationConfig, AXConversationConversationAvatarComponent, AXConversationCreateData, AXConversationError, AXConversationFilter, AXConversationFilters, AXConversationIndexedDbMediaRecord, AXConversationItemAction, AXConversationItemActionContext, AXConversationMetadata, AXConversationOptions, AXConversationSettings, AXConversationSettingsUpdate, AXConversationSort, AXConversationStatus, AXConversationTab, AXConversationType, AXConversationUpdateData, AXConversationUploadOptions, AXConversationUserAvatarComponent, AXDeleteMessageCommand, AXEditMessageCommand, AXErrorCode, AXErrorHandlerConfig, AXErrorMessage, AXErrorSeverity, AXFileMediaItem, AXFilePayload, AXGroupedReaction, AXImageMediaItem, AXImagePayload, AXInfoBarAction, AXInfoBarActionComponent, AXInfoBarActionContext, AXInfoBarActiveBanner, AXInfoBarActiveComponent, AXLink, AXLinkPreview, AXLoadMessagesResult, AXLocationPayload, AXMediaItemFields, AXMention, AXMessage, AXMessageAction, AXMessageActionContext, AXMessageForwardData, AXMessageInfoBarBannerComponent, AXMessageListEmptyComponent, AXMessagePayload, AXMessageRenderer, AXMessageRendererCapabilities, AXMessageRendererComponent, AXMessageRendererContentState, AXMessageRendererState, AXMessageSearchFilters, AXMessageStatus, AXMessageType, AXNotificationEvent, AXPaginatedResult, AXPagination, AXPaginationState, AXParsedChatCursor, AXParticipant, AXParticipantRole, AXParticipantStatus, AXParticipantUpdate, AXPinnedMessage, AXPlaybackBannerInputs, AXPollOption, AXPollPayload, AXPresenceStatus, AXPresenceUpdate, AXReaction, AXReadReceipt, AXRegistryConfiguration, AXRegistryItem, AXSendMessageCommand, AXSendMessageOptions, AXSendMessageUploadSource, AXStickerPayload, AXSystemPayload, AXTextFormat, AXTextPayload, AXTypingIndicator, AXUploaderReference, AXUploaderResult, AXUserProfile, AXUserProfileUpdate, AXUserRole, AXUserSearchFilters, AXValidationResult, AXVideoMediaItem, AXVideoPayload, AXVoicePayload, DropdownMenuItem, UploaderFilePreview };
|
|
@@ -12,8 +12,9 @@ import * as i7 from '@acorex/components/decorators';
|
|
|
12
12
|
import * as i8 from '@acorex/components/loading';
|
|
13
13
|
import * as i9 from '@acorex/components/dialog';
|
|
14
14
|
|
|
15
|
+
type AXImageEditorTool = 'pen' | 'highlight' | 'crop' | 'rotate';
|
|
15
16
|
declare class AXImageEditorService {
|
|
16
|
-
activeToolState: _angular_core.WritableSignal<
|
|
17
|
+
activeToolState: _angular_core.WritableSignal<AXImageEditorTool>;
|
|
17
18
|
penColor: _angular_core.WritableSignal<string | CanvasGradient | CanvasPattern>;
|
|
18
19
|
highlightColor: _angular_core.WritableSignal<string | CanvasGradient | CanvasPattern>;
|
|
19
20
|
penWidth: _angular_core.WritableSignal<number>;
|
|
@@ -30,6 +31,8 @@ declare class AXImageEditorService {
|
|
|
30
31
|
undoPressed: _angular_core.WritableSignal<boolean>;
|
|
31
32
|
redoPressed: _angular_core.WritableSignal<boolean>;
|
|
32
33
|
cropperRatio: _angular_core.WritableSignal<string>;
|
|
34
|
+
toggleTool(tool: AXImageEditorTool): void;
|
|
35
|
+
activateTool(tool: AXImageEditorTool): void;
|
|
33
36
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorService, never>;
|
|
34
37
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXImageEditorService>;
|
|
35
38
|
}
|
|
@@ -165,41 +168,39 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
|
165
168
|
protected service: AXImageEditorService;
|
|
166
169
|
imageEditorContainer: _angular_core.Signal<ElementRef<any>>;
|
|
167
170
|
view: _angular_core.Signal<AXImageEditorViewComponent>;
|
|
168
|
-
aspectRatio: _angular_core.InputSignal<string[]>;
|
|
169
|
-
protected cropButtonHandler(): void;
|
|
170
171
|
get __hostClass(): string;
|
|
171
172
|
private get __hostName();
|
|
172
173
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorContainerComponent, never>;
|
|
173
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorContainerComponent, "ax-image-editor-container", never, { "look": { "alias": "look"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; };
|
|
174
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorContainerComponent, "ax-image-editor-container", never, { "look": { "alias": "look"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onValueChanged": "onValueChanged"; }, ["view"], ["ax-header", "ax-image-editor-view", "ax-footer", "ax-validation-rule"], true, never>;
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
/**
|
|
177
|
-
*
|
|
178
|
+
* Base class for image editor tool trigger components.
|
|
178
179
|
* @category Components
|
|
179
180
|
*/
|
|
180
|
-
declare class
|
|
181
|
+
declare abstract class AXImageEditorToolComponent {
|
|
181
182
|
protected service: AXImageEditorService;
|
|
182
|
-
|
|
183
|
+
abstract readonly tool: AXImageEditorTool;
|
|
184
|
+
setActive(): void;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Crop tool trigger for the image editor toolbar.
|
|
189
|
+
* @category Components
|
|
190
|
+
*/
|
|
191
|
+
declare class AXImageEditorCropComponent extends AXImageEditorToolComponent {
|
|
192
|
+
readonly tool = "crop";
|
|
183
193
|
aspectRatio: _angular_core.InputSignal<string[]>;
|
|
184
|
-
protected cropButtonHandler(): void;
|
|
185
|
-
protected ratioHandler(r: '1:1' | '16:9' | string): void;
|
|
186
194
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorCropComponent, never>;
|
|
187
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorCropComponent, "ax-image-editor-crop", never, { "aspectRatio": { "alias": "aspectRatio"; "required": false; "isSignal": true; }; }, {
|
|
195
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorCropComponent, "ax-image-editor-crop", never, { "aspectRatio": { "alias": "aspectRatio"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
188
196
|
}
|
|
189
197
|
|
|
190
198
|
/**
|
|
191
|
-
*
|
|
199
|
+
* Highlight tool trigger for the image editor toolbar.
|
|
192
200
|
* @category Components
|
|
193
201
|
*/
|
|
194
|
-
declare class AXImageEditorHighlightComponent {
|
|
195
|
-
|
|
196
|
-
/** @ignore */
|
|
197
|
-
protected selectedColor: _angular_core.WritableSignal<string | CanvasGradient | CanvasPattern>;
|
|
198
|
-
/** @ignore */
|
|
199
|
-
protected value: number;
|
|
200
|
-
protected changeColorHandler(e: string): void;
|
|
201
|
-
/** @ignore */
|
|
202
|
-
protected valueHandler(e: number): void;
|
|
202
|
+
declare class AXImageEditorHighlightComponent extends AXImageEditorToolComponent {
|
|
203
|
+
readonly tool = "highlight";
|
|
203
204
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorHighlightComponent, never>;
|
|
204
205
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorHighlightComponent, "ax-image-editor-highlight", never, {}, {}, never, never, true, never>;
|
|
205
206
|
}
|
|
@@ -217,52 +218,60 @@ declare class AXImageEditorHistoryComponent {
|
|
|
217
218
|
}
|
|
218
219
|
|
|
219
220
|
/**
|
|
220
|
-
*
|
|
221
|
+
* Pen tool trigger for the image editor toolbar.
|
|
221
222
|
* @category Components
|
|
222
223
|
*/
|
|
223
|
-
declare class AXImageEditorPenComponent {
|
|
224
|
-
|
|
225
|
-
/** @ignore */
|
|
226
|
-
protected value: number;
|
|
227
|
-
/** @ignore */
|
|
228
|
-
protected selectedColor: _angular_core.WritableSignal<string | CanvasGradient | CanvasPattern>;
|
|
229
|
-
protected changeColorHandler(e: string): void;
|
|
230
|
-
/** @ignore */
|
|
231
|
-
protected valueHandler(e: number): void;
|
|
224
|
+
declare class AXImageEditorPenComponent extends AXImageEditorToolComponent {
|
|
225
|
+
readonly tool = "pen";
|
|
232
226
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorPenComponent, never>;
|
|
233
227
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorPenComponent, "ax-image-editor-pen", never, {}, {}, never, never, true, never>;
|
|
234
228
|
}
|
|
235
229
|
|
|
236
230
|
/**
|
|
237
|
-
*
|
|
231
|
+
* Rotate tool trigger for the image editor toolbar.
|
|
238
232
|
* @category Components
|
|
239
233
|
*/
|
|
240
|
-
declare class AXImageEditorRotateComponent {
|
|
241
|
-
|
|
242
|
-
protected service: AXImageEditorService;
|
|
243
|
-
/** @ignore */
|
|
244
|
-
protected rotateRightHandler(): void;
|
|
245
|
-
/** @ignore */
|
|
246
|
-
protected rotateLeftHandler(): void;
|
|
234
|
+
declare class AXImageEditorRotateComponent extends AXImageEditorToolComponent {
|
|
235
|
+
readonly tool = "rotate";
|
|
247
236
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorRotateComponent, never>;
|
|
248
237
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorRotateComponent, "ax-image-editor-rotate", never, {}, {}, never, never, true, never>;
|
|
249
238
|
}
|
|
250
239
|
|
|
251
240
|
/**
|
|
252
|
-
*
|
|
241
|
+
* Toolbar layout for configurable image editor tools.
|
|
253
242
|
* @category Components
|
|
254
243
|
*/
|
|
255
|
-
declare class
|
|
244
|
+
declare class AXImageEditorToolsBarComponent {
|
|
245
|
+
#private;
|
|
256
246
|
protected service: AXImageEditorService;
|
|
257
|
-
|
|
247
|
+
/**
|
|
248
|
+
* Tool component reference to activate on load.
|
|
249
|
+
*/
|
|
250
|
+
active: _angular_core.InputSignal<AXImageEditorToolComponent>;
|
|
251
|
+
protected penTool: _angular_core.Signal<AXImageEditorPenComponent>;
|
|
252
|
+
protected highlightTool: _angular_core.Signal<AXImageEditorHighlightComponent>;
|
|
253
|
+
protected cropTool: _angular_core.Signal<AXImageEditorCropComponent>;
|
|
254
|
+
protected rotateTool: _angular_core.Signal<AXImageEditorRotateComponent>;
|
|
255
|
+
protected cropAspectRatio: _angular_core.Signal<string[]>;
|
|
256
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorToolsBarComponent, never>;
|
|
257
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorToolsBarComponent, "ax-image-editor-tools-bar", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, ["penTool", "highlightTool", "cropTool", "rotateTool"], ["ax-image-editor-pen, ax-image-editor-highlight, ax-image-editor-crop, ax-image-editor-rotate"], true, never>;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Convenience wrapper that includes all image editor tools.
|
|
262
|
+
* @category Components
|
|
263
|
+
*/
|
|
264
|
+
declare class AXImageEditorToolSelectorComponent {
|
|
265
|
+
aspectRatio: _angular_core.InputSignal<string[]>;
|
|
258
266
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorToolSelectorComponent, never>;
|
|
259
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorToolSelectorComponent, "ax-image-editor-tool-selector", never, {}, {}, never, never, true, never>;
|
|
267
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorToolSelectorComponent, "ax-image-editor-tool-selector", never, { "aspectRatio": { "alias": "aspectRatio"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
260
268
|
}
|
|
261
269
|
|
|
262
270
|
declare class AXImageEditorModule {
|
|
263
271
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorModule, never>;
|
|
264
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXImageEditorModule, never, [typeof i1.AXButtonModule, typeof i2.FormsModule, typeof i3.AXRangeSliderModule, typeof i4.AXSelectBoxModule, typeof i5.AXColorBoxModule, typeof i6.AXPopoverModule, typeof i7.AXDecoratorModule, typeof i8.AXLoadingModule, typeof i9.AXDialogModule, typeof AXImageEditorViewComponent, typeof AXImageEditorContainerComponent, typeof AXImageEditorCropComponent, typeof AXImageEditorHistoryComponent, typeof AXImageEditorToolSelectorComponent, typeof AXImageEditorPenComponent, typeof AXImageEditorHighlightComponent, typeof AXImageEditorRotateComponent, typeof AXImageEditorCropperWindowComponent], [typeof AXImageEditorViewComponent, typeof AXImageEditorContainerComponent, typeof AXImageEditorCropComponent, typeof AXImageEditorHistoryComponent, typeof AXImageEditorToolSelectorComponent, typeof AXImageEditorPenComponent, typeof AXImageEditorHighlightComponent, typeof AXImageEditorRotateComponent, typeof AXImageEditorCropperWindowComponent]>;
|
|
272
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXImageEditorModule, never, [typeof i1.AXButtonModule, typeof i2.FormsModule, typeof i3.AXRangeSliderModule, typeof i4.AXSelectBoxModule, typeof i5.AXColorBoxModule, typeof i6.AXPopoverModule, typeof i7.AXDecoratorModule, typeof i8.AXLoadingModule, typeof i9.AXDialogModule, typeof AXImageEditorViewComponent, typeof AXImageEditorContainerComponent, typeof AXImageEditorCropComponent, typeof AXImageEditorHistoryComponent, typeof AXImageEditorToolSelectorComponent, typeof AXImageEditorToolsBarComponent, typeof AXImageEditorPenComponent, typeof AXImageEditorHighlightComponent, typeof AXImageEditorRotateComponent, typeof AXImageEditorCropperWindowComponent], [typeof AXImageEditorViewComponent, typeof AXImageEditorContainerComponent, typeof AXImageEditorCropComponent, typeof AXImageEditorHistoryComponent, typeof AXImageEditorToolSelectorComponent, typeof AXImageEditorToolsBarComponent, typeof AXImageEditorPenComponent, typeof AXImageEditorHighlightComponent, typeof AXImageEditorRotateComponent, typeof AXImageEditorCropperWindowComponent]>;
|
|
265
273
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXImageEditorModule>;
|
|
266
274
|
}
|
|
267
275
|
|
|
268
|
-
export { AXImageEditorContainerComponent, AXImageEditorCropComponent, AXImageEditorCropperWindowComponent, AXImageEditorHighlightComponent, AXImageEditorHistoryComponent, AXImageEditorModule, AXImageEditorPenComponent, AXImageEditorRotateComponent, AXImageEditorService, AXImageEditorToolSelectorComponent, AXImageEditorViewComponent };
|
|
276
|
+
export { AXImageEditorContainerComponent, AXImageEditorCropComponent, AXImageEditorCropperWindowComponent, AXImageEditorHighlightComponent, AXImageEditorHistoryComponent, AXImageEditorModule, AXImageEditorPenComponent, AXImageEditorRotateComponent, AXImageEditorService, AXImageEditorToolComponent, AXImageEditorToolSelectorComponent, AXImageEditorToolsBarComponent, AXImageEditorViewComponent };
|
|
277
|
+
export type { AXImageEditorTool };
|
|
@@ -159,8 +159,6 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
|
159
159
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
|
160
160
|
dataSource: _angular_core.InputSignal<AXSchedulerAppointmentDataSource>;
|
|
161
161
|
holidays: _angular_core.InputSignal<(range: AXSchedulerDateRange) => Promise<AXHolidayDate[]>>;
|
|
162
|
-
/** Arbitrary dependency values that trigger a holiday reload when changed (e.g. selected holiday regions). */
|
|
163
|
-
holidayDeps: _angular_core.InputSignal<unknown>;
|
|
164
162
|
views: _angular_core.InputSignal<AXSchedulerView[]>;
|
|
165
163
|
selectedView: _angular_core.ModelSignal<AXSchedulerView>;
|
|
166
164
|
private prevView;
|
|
@@ -237,7 +235,7 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
|
237
235
|
*/
|
|
238
236
|
refresh(appointments?: AXSchedulerAppointment[]): Promise<void>;
|
|
239
237
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerComponent, never>;
|
|
240
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "startingDate": { "alias": "startingDate"; "required": false; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": false; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": false; "isSignal": true; }; "hasHeader": { "alias": "hasHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "scrollToCurrentTimeIndicator": { "alias": "scrollToCurrentTimeIndicator"; "required": false; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "holidays": { "alias": "holidays"; "required": false; "isSignal": true; }; "
|
|
238
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "startingDate": { "alias": "startingDate"; "required": false; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": false; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": false; "isSignal": true; }; "hasHeader": { "alias": "hasHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "scrollToCurrentTimeIndicator": { "alias": "scrollToCurrentTimeIndicator"; "required": false; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "holidays": { "alias": "holidays"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "selectedView": { "alias": "selectedView"; "required": false; "isSignal": true; }; }, { "selectedView": "selectedViewChange"; "onDataLoaded": "onDataLoaded"; "onRangeChanged": "onRangeChanged"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentDrop": "onAppointmentDrop"; "onActionClick": "onActionClick"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
|
|
241
239
|
}
|
|
242
240
|
|
|
243
241
|
declare class AXSchedulerDayViewComponent extends NXComponent implements AfterViewInit, OnDestroy {
|