@acorex/components 21.0.3-next.12 → 21.0.3-next.14
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 +368 -179
- 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 +74 -47
- 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.14",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "21.0.3-next.
|
|
6
|
-
"@acorex/cdk": "21.0.3-next.
|
|
5
|
+
"@acorex/core": "21.0.3-next.14",
|
|
6
|
+
"@acorex/cdk": "21.0.3-next.14",
|
|
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,9 @@ 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
|
+
cropperSize: _angular_core.WritableSignal<number>;
|
|
35
|
+
toggleTool(tool: AXImageEditorTool): void;
|
|
36
|
+
activateTool(tool: AXImageEditorTool): void;
|
|
33
37
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorService, never>;
|
|
34
38
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXImageEditorService>;
|
|
35
39
|
}
|
|
@@ -41,6 +45,8 @@ declare class AXImageEditorService {
|
|
|
41
45
|
declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
|
42
46
|
#private;
|
|
43
47
|
readonly showGrid: _angular_core.InputSignal<boolean>;
|
|
48
|
+
/** Base size in pixels used to calculate the initial cropper window dimensions. */
|
|
49
|
+
readonly size: _angular_core.InputSignal<number>;
|
|
44
50
|
protected service: AXImageEditorService;
|
|
45
51
|
private ngZone;
|
|
46
52
|
private selectedHandle;
|
|
@@ -78,7 +84,7 @@ declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
|
|
78
84
|
protected changeSizeHandler(e: MouseEvent): void;
|
|
79
85
|
protected clearSelector(): void;
|
|
80
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorCropperWindowComponent, never>;
|
|
81
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorCropperWindowComponent, "ax-image-editor-cropper-window", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
87
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorCropperWindowComponent, "ax-image-editor-cropper-window", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
82
88
|
}
|
|
83
89
|
|
|
84
90
|
declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDestroy {
|
|
@@ -86,6 +92,10 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
|
|
|
86
92
|
* its change grid display state.
|
|
87
93
|
*/
|
|
88
94
|
readonly showGrid: _angular_core.InputSignal<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* Base size in pixels for the initial cropper window dimensions.
|
|
97
|
+
*/
|
|
98
|
+
readonly cropperSize: _angular_core.InputSignal<number>;
|
|
89
99
|
/**
|
|
90
100
|
* its change grid display state.
|
|
91
101
|
*/
|
|
@@ -141,13 +151,13 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
|
|
|
141
151
|
/** @ignore */
|
|
142
152
|
protected mouseUpHandler(): void;
|
|
143
153
|
/** @ignore */
|
|
144
|
-
|
|
154
|
+
crop(): void;
|
|
145
155
|
/** @ignore */
|
|
146
156
|
protected rotateImage(): void;
|
|
147
157
|
/** @ignore */
|
|
148
158
|
protected saveImageChange(): Promise<void>;
|
|
149
159
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorViewComponent, never>;
|
|
150
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorViewComponent, "ax-image-editor-view", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
160
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorViewComponent, "ax-image-editor-view", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "cropperSize": { "alias": "cropperSize"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
151
161
|
}
|
|
152
162
|
|
|
153
163
|
declare const AXImageEditorContainerComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
@@ -165,41 +175,48 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
|
165
175
|
protected service: AXImageEditorService;
|
|
166
176
|
imageEditorContainer: _angular_core.Signal<ElementRef<any>>;
|
|
167
177
|
view: _angular_core.Signal<AXImageEditorViewComponent>;
|
|
168
|
-
|
|
169
|
-
|
|
178
|
+
/** Applies the current cropper selection. */
|
|
179
|
+
crop(): void;
|
|
170
180
|
get __hostClass(): string;
|
|
171
181
|
private get __hostName();
|
|
172
182
|
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; };
|
|
183
|
+
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
184
|
}
|
|
175
185
|
|
|
176
186
|
/**
|
|
177
|
-
*
|
|
187
|
+
* Base class for image editor tool trigger components.
|
|
178
188
|
* @category Components
|
|
179
189
|
*/
|
|
180
|
-
declare class
|
|
190
|
+
declare abstract class AXImageEditorToolComponent {
|
|
181
191
|
protected service: AXImageEditorService;
|
|
182
|
-
|
|
192
|
+
abstract readonly tool: AXImageEditorTool;
|
|
193
|
+
setActive(): void;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Crop tool trigger for the image editor toolbar.
|
|
198
|
+
* @category Components
|
|
199
|
+
*/
|
|
200
|
+
declare class AXImageEditorCropComponent extends AXImageEditorToolComponent {
|
|
201
|
+
#private;
|
|
202
|
+
readonly tool = "crop";
|
|
203
|
+
private container;
|
|
204
|
+
/** Aspect ratio presets. Append `:active` to mark the default ratio, e.g. `'2:1:active'`. */
|
|
183
205
|
aspectRatio: _angular_core.InputSignal<string[]>;
|
|
184
|
-
|
|
185
|
-
|
|
206
|
+
/** Base size in pixels for the initial cropper window dimensions. */
|
|
207
|
+
size: _angular_core.InputSignal<number>;
|
|
208
|
+
/** Applies the current cropper selection. */
|
|
209
|
+
crop(): void;
|
|
186
210
|
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; };
|
|
211
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorCropComponent, "ax-image-editor-crop", never, { "aspectRatio": { "alias": "aspectRatio"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
188
212
|
}
|
|
189
213
|
|
|
190
214
|
/**
|
|
191
|
-
*
|
|
215
|
+
* Highlight tool trigger for the image editor toolbar.
|
|
192
216
|
* @category Components
|
|
193
217
|
*/
|
|
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;
|
|
218
|
+
declare class AXImageEditorHighlightComponent extends AXImageEditorToolComponent {
|
|
219
|
+
readonly tool = "highlight";
|
|
203
220
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorHighlightComponent, never>;
|
|
204
221
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorHighlightComponent, "ax-image-editor-highlight", never, {}, {}, never, never, true, never>;
|
|
205
222
|
}
|
|
@@ -217,52 +234,62 @@ declare class AXImageEditorHistoryComponent {
|
|
|
217
234
|
}
|
|
218
235
|
|
|
219
236
|
/**
|
|
220
|
-
*
|
|
237
|
+
* Pen tool trigger for the image editor toolbar.
|
|
221
238
|
* @category Components
|
|
222
239
|
*/
|
|
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;
|
|
240
|
+
declare class AXImageEditorPenComponent extends AXImageEditorToolComponent {
|
|
241
|
+
readonly tool = "pen";
|
|
232
242
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorPenComponent, never>;
|
|
233
243
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorPenComponent, "ax-image-editor-pen", never, {}, {}, never, never, true, never>;
|
|
234
244
|
}
|
|
235
245
|
|
|
236
246
|
/**
|
|
237
|
-
*
|
|
247
|
+
* Rotate tool trigger for the image editor toolbar.
|
|
238
248
|
* @category Components
|
|
239
249
|
*/
|
|
240
|
-
declare class AXImageEditorRotateComponent {
|
|
241
|
-
|
|
242
|
-
protected service: AXImageEditorService;
|
|
243
|
-
/** @ignore */
|
|
244
|
-
protected rotateRightHandler(): void;
|
|
245
|
-
/** @ignore */
|
|
246
|
-
protected rotateLeftHandler(): void;
|
|
250
|
+
declare class AXImageEditorRotateComponent extends AXImageEditorToolComponent {
|
|
251
|
+
readonly tool = "rotate";
|
|
247
252
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorRotateComponent, never>;
|
|
248
253
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorRotateComponent, "ax-image-editor-rotate", never, {}, {}, never, never, true, never>;
|
|
249
254
|
}
|
|
250
255
|
|
|
251
256
|
/**
|
|
252
|
-
*
|
|
257
|
+
* Toolbar layout for configurable image editor tools.
|
|
253
258
|
* @category Components
|
|
254
259
|
*/
|
|
255
|
-
declare class
|
|
260
|
+
declare class AXImageEditorToolsBarComponent {
|
|
261
|
+
#private;
|
|
256
262
|
protected service: AXImageEditorService;
|
|
257
|
-
|
|
263
|
+
/**
|
|
264
|
+
* Tool component reference to activate on load.
|
|
265
|
+
*/
|
|
266
|
+
active: _angular_core.InputSignal<AXImageEditorToolComponent>;
|
|
267
|
+
/** Hides the tools bar UI while keeping projected tools configurable. */
|
|
268
|
+
hidden: _angular_core.InputSignal<boolean>;
|
|
269
|
+
protected penTool: _angular_core.Signal<AXImageEditorPenComponent>;
|
|
270
|
+
protected highlightTool: _angular_core.Signal<AXImageEditorHighlightComponent>;
|
|
271
|
+
protected cropTool: _angular_core.Signal<AXImageEditorCropComponent>;
|
|
272
|
+
protected rotateTool: _angular_core.Signal<AXImageEditorRotateComponent>;
|
|
273
|
+
protected cropAspectRatio: _angular_core.Signal<string[]>;
|
|
274
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorToolsBarComponent, never>;
|
|
275
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorToolsBarComponent, "ax-image-editor-tools-bar", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "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>;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Convenience wrapper that includes all image editor tools.
|
|
280
|
+
* @category Components
|
|
281
|
+
*/
|
|
282
|
+
declare class AXImageEditorToolSelectorComponent {
|
|
283
|
+
aspectRatio: _angular_core.InputSignal<string[]>;
|
|
258
284
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorToolSelectorComponent, never>;
|
|
259
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorToolSelectorComponent, "ax-image-editor-tool-selector", never, {}, {}, never, never, true, never>;
|
|
285
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorToolSelectorComponent, "ax-image-editor-tool-selector", never, { "aspectRatio": { "alias": "aspectRatio"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
260
286
|
}
|
|
261
287
|
|
|
262
288
|
declare class AXImageEditorModule {
|
|
263
289
|
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]>;
|
|
290
|
+
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
291
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXImageEditorModule>;
|
|
266
292
|
}
|
|
267
293
|
|
|
268
|
-
export { AXImageEditorContainerComponent, AXImageEditorCropComponent, AXImageEditorCropperWindowComponent, AXImageEditorHighlightComponent, AXImageEditorHistoryComponent, AXImageEditorModule, AXImageEditorPenComponent, AXImageEditorRotateComponent, AXImageEditorService, AXImageEditorToolSelectorComponent, AXImageEditorViewComponent };
|
|
294
|
+
export { AXImageEditorContainerComponent, AXImageEditorCropComponent, AXImageEditorCropperWindowComponent, AXImageEditorHighlightComponent, AXImageEditorHistoryComponent, AXImageEditorModule, AXImageEditorPenComponent, AXImageEditorRotateComponent, AXImageEditorService, AXImageEditorToolComponent, AXImageEditorToolSelectorComponent, AXImageEditorToolsBarComponent, AXImageEditorViewComponent };
|
|
295
|
+
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 {
|