@acorex/components 22.0.0-next.2 → 22.0.0-next.21
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/combo-box/README.md +3 -0
- package/fesm2022/acorex-components-calendar.mjs +12 -14
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +2 -2
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-combo-box.mjs +669 -0
- package/fesm2022/acorex-components-combo-box.mjs.map +1 -0
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-DCcRJYfF.mjs +50 -0
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-DCcRJYfF.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-open-composer-picker-for-files-Hh5Oyp3p.mjs → acorex-components-conversation-open-composer-picker-for-files-BuNEjswI.mjs} +2 -2
- package/fesm2022/{acorex-components-conversation-open-composer-picker-for-files-Hh5Oyp3p.mjs.map → acorex-components-conversation-open-composer-picker-for-files-BuNEjswI.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation.mjs +194 -5768
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +12 -12
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +44 -12
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +332 -312
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +11 -1
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +2 -2
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-file-viewer.mjs +346 -125
- package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +4 -3
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +265 -19
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +1170 -13712
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +211 -74
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +6 -6
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +388 -78
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +6 -2
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +2 -2
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +2 -2
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +16 -16
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +2 -2
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +176 -451
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +0 -4
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/package.json +7 -7
- package/select-box/README.md +2 -0
- package/types/acorex-components-combo-box.d.ts +202 -0
- package/types/acorex-components-conversation.d.ts +11 -25
- package/types/acorex-components-datetime-box.d.ts +16 -4
- package/types/acorex-components-datetime-input.d.ts +62 -68
- package/types/acorex-components-file-viewer.d.ts +109 -17
- package/types/acorex-components-list.d.ts +65 -3
- package/types/acorex-components-map.d.ts +299 -45
- package/types/acorex-components-menu.d.ts +26 -4
- package/types/acorex-components-phone-box.d.ts +2 -2
- package/types/acorex-components-popup.d.ts +143 -35
- package/types/acorex-components-query-builder.d.ts +10 -9
- package/types/acorex-components-select-box.d.ts +36 -147
- package/types/acorex-components-selection-list.d.ts +1 -2
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-CNHiM1Sp.mjs +0 -106
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-CNHiM1Sp.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-acorex-components-modal-Djl-uo9b.mjs +0 -388
- package/fesm2022/acorex-components-modal-acorex-components-modal-Djl-uo9b.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-BpUsCI8D.mjs +0 -247
- package/fesm2022/acorex-components-modal-modal-content.component-BpUsCI8D.mjs.map +0 -1
- package/fesm2022/acorex-components-modal.mjs +0 -2
- package/fesm2022/acorex-components-modal.mjs.map +0 -1
- package/modal/README.md +0 -3
- package/types/acorex-components-modal.d.ts +0 -132
|
@@ -2983,11 +2983,12 @@ declare abstract class AXConversationUserApi {
|
|
|
2983
2983
|
/**
|
|
2984
2984
|
* Get available users for conversation creation
|
|
2985
2985
|
*
|
|
2986
|
+
* @param pagination - Pagination parameters
|
|
2986
2987
|
* @param filters - Search filters
|
|
2987
|
-
* @returns
|
|
2988
|
+
* @returns Paginated list of users
|
|
2988
2989
|
* @throws {AXConversationApiError} If request fails
|
|
2989
2990
|
*/
|
|
2990
|
-
abstract getUsers(filters?: AXConversationUserSearchFilters): Promise<AXConversationParticipant
|
|
2991
|
+
abstract getUsers(pagination?: AXConversationPagination, filters?: AXConversationUserSearchFilters): Promise<AXConversationPaginatedResult<AXConversationParticipant>>;
|
|
2991
2992
|
/**
|
|
2992
2993
|
* Search users by query
|
|
2993
2994
|
*
|
|
@@ -3366,10 +3367,11 @@ declare class AXConversationService {
|
|
|
3366
3367
|
createConversation(participantIds: string[], type: AXConversationType, metadata?: AXConversationMetadata): Promise<AXConversation>;
|
|
3367
3368
|
/**
|
|
3368
3369
|
* Get available users for conversation creation
|
|
3369
|
-
* @param
|
|
3370
|
-
* @
|
|
3370
|
+
* @param filters - Optional search filters (e.g. `query`)
|
|
3371
|
+
* @param pagination - Pagination parameters
|
|
3372
|
+
* @returns Paginated list of users
|
|
3371
3373
|
*/
|
|
3372
|
-
getUsers(
|
|
3374
|
+
getUsers(filters?: AXConversationUserSearchFilters, pagination?: AXConversationPagination): Promise<AXConversationPaginatedResult<AXConversationParticipant>>;
|
|
3373
3375
|
/**
|
|
3374
3376
|
* Mark entire conversation as read
|
|
3375
3377
|
* @param conversationId - Conversation ID
|
|
@@ -4070,7 +4072,7 @@ declare class AXConversationNewDialogComponent extends AXBasePageComponent {
|
|
|
4070
4072
|
onSearchChange(value: string): void;
|
|
4071
4073
|
isUserSelected(id: string): boolean;
|
|
4072
4074
|
userFromItem(item: unknown): AXConversationParticipant | null;
|
|
4073
|
-
private
|
|
4075
|
+
private mergeUsersCache;
|
|
4074
4076
|
onCreateConversation(): Promise<void>;
|
|
4075
4077
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationNewDialogComponent, never>;
|
|
4076
4078
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationNewDialogComponent, "ax-conversation-new-dialog", never, { "__popup__": { "alias": "__popup__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -4465,7 +4467,7 @@ declare function paginateChatOldestFirst<T extends {
|
|
|
4465
4467
|
}>(sortedOldestFirst: T[], pagination: AXConversationPagination): AXConversationPaginatedResult<T>;
|
|
4466
4468
|
|
|
4467
4469
|
/**
|
|
4468
|
-
* Extra seed data so sidebar
|
|
4470
|
+
* Extra seed data so sidebar, message-list, and user-picker pagination can be exercised in the demo.
|
|
4469
4471
|
*/
|
|
4470
4472
|
/**
|
|
4471
4473
|
* Append demo chats/messages when the DB is too small for default page sizes (30 / 50).
|
|
@@ -4495,7 +4497,7 @@ declare class AXConversationIndexedDbUserApi extends AXConversationUserApi {
|
|
|
4495
4497
|
getCurrentUser(): Promise<AXConversationParticipant>;
|
|
4496
4498
|
updateProfile(updates: AXConversationUserProfileUpdate): Promise<AXConversationParticipant>;
|
|
4497
4499
|
uploadAvatar(file: File): Promise<string>;
|
|
4498
|
-
getUsers(filters?: AXConversationUserSearchFilters): Promise<AXConversationParticipant
|
|
4500
|
+
getUsers(pagination?: AXConversationPagination, filters?: AXConversationUserSearchFilters): Promise<AXConversationPaginatedResult<AXConversationParticipant>>;
|
|
4499
4501
|
searchUsers(query: string): Promise<AXConversationParticipant[]>;
|
|
4500
4502
|
getUserById(userId: string): Promise<AXConversationParticipant>;
|
|
4501
4503
|
getUsersByIds(userIds: string[]): Promise<AXConversationParticipant[]>;
|
|
@@ -5135,17 +5137,6 @@ declare class AXConversationPickerEmptyComponent {
|
|
|
5135
5137
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXConversationPickerEmptyComponent, "ax-conversation-picker-empty", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "hint": { "alias": "hint"; "required": true; "isSignal": true; }; "iconClass": { "alias": "iconClass"; "required": true; "isSignal": true; }; "dragOver": { "alias": "dragOver"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5136
5138
|
}
|
|
5137
5139
|
|
|
5138
|
-
/**
|
|
5139
|
-
* Shell flex + max-height (on {@link AXConversationPickerShellComponent}).
|
|
5140
|
-
* Styles here target projected content inside the shell.
|
|
5141
|
-
*/
|
|
5142
|
-
declare const AX_CONVERSATION_PICKER_SHELL_STYLES = "\n :host {\n display: block;\n width: 100%;\n max-width: 100%;\n min-height: 0;\n container-type: inline-size;\n container-name: picker;\n }\n\n .ax-conversation-picker {\n display: flex;\n flex-direction: column;\n width: 100%;\n max-width: 100%;\n max-height: min(32rem, 85dvh);\n background: rgb(var(--ax-sys-color-lightest-surface));\n border-radius: var(--ax-sys-border-radius, 0.5rem);\n overflow: hidden;\n }\n\n .ax-conversation-picker__content {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-height: 0;\n overflow: hidden;\n }\n\n @container picker (max-width: 480px) {\n .ax-conversation-picker {\n max-height: min(28rem, 90dvh);\n border-radius: 0;\n }\n }\n";
|
|
5143
|
-
/**
|
|
5144
|
-
* Shared layout and surface styles for composer media pickers.
|
|
5145
|
-
* Uses ACoreX system color tokens only.
|
|
5146
|
-
*/
|
|
5147
|
-
declare const AX_CONVERSATION_PICKER_SHARED_STYLES = "\n :host {\n display: block;\n width: 100%;\n max-width: 100%;\n min-height: 0;\n }\n\n .ax-conversation-picker__scroll {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n }\n\n .ax-conversation-picker__empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 0.375rem;\n min-height: 8.5rem;\n margin: 0.75rem;\n padding: 1rem 0.75rem;\n border: 1px dashed rgb(var(--ax-sys-color-border-surface));\n border-radius: var(--ax-sys-border-radius, 0.5rem);\n cursor: pointer;\n transition: border-color 0.15s ease, background-color 0.15s ease;\n text-align: center;\n touch-action: manipulation;\n }\n\n .ax-conversation-picker__empty:hover,\n .ax-conversation-picker__empty--drag {\n border-color: rgb(var(--ax-sys-color-primary-500));\n background: rgba(var(--ax-sys-color-primary-500), 0.06);\n }\n\n .ax-conversation-picker__empty-icon {\n font-size: 1.75rem;\n line-height: 1;\n color: rgba(var(--ax-sys-color-on-surface), 0.55);\n }\n\n .ax-conversation-picker__empty-title {\n margin: 0;\n font-size: 0.8125rem;\n font-weight: 600;\n color: rgb(var(--ax-sys-color-on-surface));\n }\n\n .ax-conversation-picker__empty-hint {\n margin: 0;\n font-size: 0.75rem;\n color: rgba(var(--ax-sys-color-on-surface), 0.6);\n }\n\n .ax-conversation-picker__body {\n padding: 0 0.75rem 0.75rem;\n }\n\n .ax-conversation-picker__list {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n padding-top: 0.5rem;\n }\n\n .ax-conversation-picker__row {\n display: flex;\n align-items: center;\n gap: 0.625rem;\n padding: 0.5rem 0.625rem;\n border: 1px solid rgb(var(--ax-sys-color-border-light-surface));\n border-radius: var(--ax-sys-border-radius, 0.375rem);\n background: rgb(var(--ax-sys-color-surface));\n transition: background-color 0.15s ease;\n }\n\n @media (hover: hover) {\n .ax-conversation-picker__row:hover {\n background: rgb(var(--ax-sys-color-light-surface));\n }\n }\n\n .ax-conversation-picker__thumb {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2.5rem;\n height: 2.5rem;\n flex-shrink: 0;\n border-radius: var(--ax-sys-border-radius, 0.375rem);\n background: rgba(var(--ax-sys-color-primary-500), 0.08);\n color: rgb(var(--ax-sys-color-primary-500));\n font-size: 1.125rem;\n overflow: hidden;\n }\n\n .ax-conversation-picker__thumb img,\n .ax-conversation-picker__thumb video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n pointer-events: none;\n }\n\n .ax-conversation-picker__thumb-badge {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgb(0 0 0 / 0.32);\n color: rgb(var(--ax-sys-color-light));\n font-size: 0.625rem;\n pointer-events: none;\n }\n\n .ax-conversation-picker__details {\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n }\n\n .ax-conversation-picker__name {\n font-size: 0.8125rem;\n font-weight: 500;\n color: rgb(var(--ax-sys-color-on-surface));\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .ax-conversation-picker__status {\n display: flex;\n flex-wrap: wrap;\n gap: 0.375rem;\n font-size: 0.6875rem;\n color: rgba(var(--ax-sys-color-on-surface), 0.65);\n }\n\n .ax-conversation-picker__status--ok {\n color: rgb(var(--ax-sys-color-success-600));\n font-weight: 500;\n }\n\n .ax-conversation-picker__status--err {\n color: rgb(var(--ax-sys-color-danger-600));\n font-weight: 500;\n }\n\n .ax-conversation-picker__progress {\n width: 100%;\n margin-top: 0.125rem;\n }\n\n .ax-conversation-picker__remove {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2.75rem;\n height: 2.75rem;\n flex-shrink: 0;\n border: none;\n border-radius: var(--ax-sys-border-radius, 0.25rem);\n background: transparent;\n color: rgba(var(--ax-sys-color-on-surface), 0.55);\n font-size: 1rem;\n cursor: pointer;\n touch-action: manipulation;\n transition: background-color 0.15s ease, color 0.15s ease;\n }\n\n .ax-conversation-picker__remove:hover,\n .ax-conversation-picker__remove:focus-visible {\n background: rgba(var(--ax-sys-color-danger-500), 0.1);\n color: rgb(var(--ax-sys-color-danger-500));\n outline: none;\n }\n\n .ax-conversation-picker__grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr));\n gap: 0.5rem;\n }\n\n .ax-conversation-picker__tile {\n position: relative;\n aspect-ratio: 1;\n border-radius: var(--ax-sys-border-radius, 0.375rem);\n overflow: hidden;\n border: 1px solid rgb(var(--ax-sys-color-border-light-surface));\n background: rgb(var(--ax-sys-color-light-surface));\n }\n\n .ax-conversation-picker__tile img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n }\n\n .ax-conversation-picker__tile-remove {\n position: absolute;\n top: 0.25rem;\n inset-inline-end: 0.25rem;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 1.75rem;\n height: 1.75rem;\n border: none;\n border-radius: 50%;\n background: rgb(var(--ax-sys-color-danger-500));\n color: rgb(var(--ax-sys-color-light));\n font-size: 0.6875rem;\n cursor: pointer;\n touch-action: manipulation;\n box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);\n }\n\n .ax-conversation-picker__tile-overlay {\n position: absolute;\n inset-inline: 0;\n bottom: 0;\n padding: 0.25rem;\n background: linear-gradient(transparent, rgb(0 0 0 / 0.55));\n }\n\n .ax-conversation-picker__tile-status {\n font-size: 0.625rem;\n color: rgb(var(--ax-sys-color-light));\n line-height: 1.2;\n }\n\n .ax-conversation-picker__caption-slot {\n flex-shrink: 0;\n padding: 0.5rem 0.75rem;\n border-top: 1px solid rgb(var(--ax-sys-color-border-light-surface));\n background: rgb(var(--ax-sys-color-lightest-surface));\n }\n\n .ax-conversation-picker__input-hidden {\n display: none;\n }\n\n @container picker (max-width: 480px) {\n .ax-conversation-picker__grid {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 0.375rem;\n }\n\n .ax-conversation-picker__row {\n padding: 0.4375rem 0.5rem;\n gap: 0.5rem;\n }\n\n .ax-conversation-picker__thumb {\n width: 2.25rem;\n height: 2.25rem;\n }\n\n .ax-conversation-picker__empty {\n min-height: 7.5rem;\n margin: 0.5rem;\n }\n\n .ax-conversation-picker__body {\n padding-inline: 0.5rem;\n padding-bottom: 0.5rem;\n }\n }\n";
|
|
5148
|
-
|
|
5149
5140
|
/**
|
|
5150
5141
|
* Wraps composer pickers with {@link AXUploaderZoneDirective} for browse, drop, and validation.
|
|
5151
5142
|
*/
|
|
@@ -5734,11 +5725,6 @@ declare function syncPlaybackInfoBarBanner(infoBar: AXConversationInfoBarService
|
|
|
5734
5725
|
forceOpen?: boolean;
|
|
5735
5726
|
}): void;
|
|
5736
5727
|
|
|
5737
|
-
/**
|
|
5738
|
-
* Shared layout tokens for conversation message renderers.
|
|
5739
|
-
*/
|
|
5740
|
-
declare const AX_CONVERSATION_RENDERER_SHARED_STYLES = "\n :host {\n display: block;\n max-width: 100%;\n }\n\n .ax-conversation-msg {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n }\n\n .ax-conversation-msg__stack {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n }\n\n .ax-conversation-msg__grid {\n display: grid;\n gap: 2px;\n width: 100%;\n border-radius: var(--ax-sys-border-radius, 0.5rem);\n overflow: hidden;\n background: rgb(var(--ax-sys-color-border-light-surface));\n }\n\n .ax-conversation-msg__grid--single {\n grid-template-columns: 1fr;\n }\n\n .ax-conversation-msg__grid--single ::ng-deep .ax-conversation-image-attachment {\n max-height: min(50dvh, 20rem);\n }\n\n .ax-conversation-msg__grid--dual {\n grid-template-columns: repeat(2, 1fr);\n }\n\n .ax-conversation-msg__grid--multi {\n grid-template-columns: repeat(3, 1fr);\n grid-auto-rows: 10rem;\n }\n\n @container (max-width: 380px) {\n .ax-conversation-msg__grid--multi {\n grid-template-columns: repeat(2, 1fr);\n grid-auto-rows: 10rem;\n }\n }\n\n .ax-conversation-msg__caption {\n margin: 0;\n padding: 0 0.125rem;\n font-size: 0.8125rem;\n line-height: 1.4;\n word-break: break-word;\n opacity: 0.88;\n }\n\n /* Flush layout: media fills the message bubble edge-to-edge (image / video). */\n .ax-conversation-msg--flush {\n width: 100%;\n max-width: 100%;\n gap: 0;\n }\n\n .ax-conversation-msg--flush .ax-conversation-msg__caption {\n padding: 0.375rem 0.625rem 0;\n }\n\n .ax-conversation-msg--flush .ax-conversation-msg__grid {\n border-radius: 0;\n background: transparent;\n }\n\n .ax-conversation-msg--flush .ax-conversation-msg__stack {\n gap: 2px;\n }\n\n .ax-conversation-msg--flush ::ng-deep .ax-conversation-video {\n border-radius: 0;\n }\n\n .ax-conversation-msg__card {\n border-radius: var(--ax-sys-border-radius, 0.5rem);\n border: 1px solid rgb(var(--ax-sys-color-border-light-surface));\n background: rgb(var(--ax-sys-color-surface));\n overflow: hidden;\n }\n";
|
|
5741
|
-
|
|
5742
5728
|
declare class AXConversationVideoAttachmentComponent {
|
|
5743
5729
|
readonly item: _angular_core.InputSignal<AXConversationVideoMediaItem>;
|
|
5744
5730
|
readonly playingChange: _angular_core.OutputEmitterRef<boolean>;
|
|
@@ -6785,5 +6771,5 @@ declare function getErrorMessage(code: string, params?: Record<string, string |
|
|
|
6785
6771
|
*/
|
|
6786
6772
|
type AXConversationErrorCode = typeof AX_CONVERSATION_MESSAGE_ERRORS[keyof typeof AX_CONVERSATION_MESSAGE_ERRORS]['code'] | typeof AX_CONVERSATION_FILE_ERRORS[keyof typeof AX_CONVERSATION_FILE_ERRORS]['code'] | typeof AX_CONVERSATION_USER_ERRORS[keyof typeof AX_CONVERSATION_USER_ERRORS]['code'] | typeof AX_CONVERSATION_ERRORS[keyof typeof AX_CONVERSATION_ERRORS]['code'] | typeof AX_CONVERSATION_CONNECTION_ERRORS[keyof typeof AX_CONVERSATION_CONNECTION_ERRORS]['code'] | typeof AX_CONVERSATION_LOCATION_ERRORS[keyof typeof AX_CONVERSATION_LOCATION_ERRORS]['code'] | typeof AX_CONVERSATION_URL_ERRORS[keyof typeof AX_CONVERSATION_URL_ERRORS]['code'];
|
|
6787
6773
|
|
|
6788
|
-
export { AXConversationAiResponderService, AXConversationApi, AXConversationAudioAttachmentComponent, AXConversationAudioFileTypeProvider, AXConversationAudioPickerComponent, AXConversationAudioRendererComponent, AXConversationBaseRegistry, AXConversationComposerActionRegistry, AXConversationComposerComponent, AXConversationComposerFileTypesProvider, AXConversationComposerPopupComponent, AXConversationComposerService, AXConversationComposerTabRegistry, AXConversationContainerComponent, AXConversationContainerDirective, AXConversationDateUtilsService, AXConversationEmojiTabComponent, AXConversationErrorHandlerService, AXConversationFallbackRendererComponent, AXConversationFileAttachmentComponent, AXConversationFileFileTypeProvider, AXConversationFilePickerComponent, AXConversationFileRendererComponent, AXConversationForwardMessageDialogComponent, AXConversationImageAttachmentComponent, AXConversationImageFileTypeProvider, AXConversationImagePickerComponent, AXConversationImageRendererComponent, AXConversationIndexedDbConversationApi, AXConversationIndexedDbMessageAiApi, AXConversationIndexedDbMessageApi, AXConversationIndexedDbRealtimeApi, AXConversationIndexedDbStorage, AXConversationIndexedDbStores, AXConversationIndexedDbUserApi, AXConversationInfiniteScrollDirective, AXConversationInfoBarActionRegistry, AXConversationInfoBarComponent, AXConversationInfoBarSearchComponent, AXConversationInfoBarService, AXConversationInfoMediaViewComponent, AXConversationInfoPanelComponent, AXConversationItemActionRegistry, AXConversationLocationPickerComponent, AXConversationLocationRendererComponent, AXConversationMediaPlaybackInfoBarBannerComponent, AXConversationMessageActionRegistry, AXConversationMessageApi, AXConversationMessageListComponent, AXConversationMessageListNoActiveDefaultComponent, AXConversationMessageListService, AXConversationMessageRendererCopyHostComponent, AXConversationMessageRendererRegistry, AXConversationMessageRendererStateComponent, AXConversationMessageUtilsService, AXConversationModule, AXConversationNewDialogComponent, AXConversationPickerCaptionComponent, AXConversationPickerEmptyComponent, AXConversationPickerFooterComponent, AXConversationPickerHeaderComponent, AXConversationPickerShellComponent, AXConversationPickerToolbarComponent, AXConversationRealtimeApi, AXConversationRegistryService, AXConversationService, AXConversationSharedStorage, AXConversationSidebarComponent, AXConversationSidebarService, AXConversationStickerRendererComponent, AXConversationStickerTabComponent, AXConversationSystemRendererComponent, AXConversationTabRegistry, AXConversationTextRendererComponent, AXConversationUserApi, AXConversationVideoAttachmentComponent, AXConversationVideoFileTypeProvider, AXConversationVideoPickerComponent, AXConversationVideoRendererComponent, AXConversationVoiceFileTypeProvider, AXConversationVoiceRecorderComponent, AXConversationVoiceRendererComponent, AX_ALL_CONVERSATION_COMPOSER_TABS, AX_ALL_CONVERSATION_MEDIA_PICKERS, AX_CONVERSATION_AI_API_KEY, AX_CONVERSATION_AUDIO_CATALOG, AX_CONVERSATION_AUDIO_PRESENTATION, 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_IMAGE_ACTION, AX_CONVERSATION_COMPOSER_LOCATION_ACTION, AX_CONVERSATION_COMPOSER_STICKER_TAB, AX_CONVERSATION_COMPOSER_VIDEO_ACTION, AX_CONVERSATION_COMPOSER_VOICE_RECORDING_ACTION, AX_CONVERSATION_CONFIG, AX_CONVERSATION_CONNECTION_ERRORS, AX_CONVERSATION_CONVERSATION_AVATAR_COMPONENT, AX_CONVERSATION_CURSOR_PREFIX, AX_CONVERSATION_DEFAULT_COMPOSER_ACTIONS, AX_CONVERSATION_DEFAULT_COMPOSER_TABS, AX_CONVERSATION_DEFAULT_CONVERSATION_ITEM_ACTIONS, AX_CONVERSATION_DEFAULT_CONVERSATION_TABS, AX_CONVERSATION_DEFAULT_INFO_BAR_ACTIONS, AX_CONVERSATION_DEFAULT_MESSAGE_ACTIONS, AX_CONVERSATION_DEFAULT_MESSAGE_RENDERERS, AX_CONVERSATION_ERRORS, AX_CONVERSATION_ERROR_HANDLER_CONFIG, AX_CONVERSATION_ERROR_MESSAGES, AX_CONVERSATION_FALLBACK_RENDERER, AX_CONVERSATION_FILE_CATALOG, AX_CONVERSATION_FILE_ERRORS, AX_CONVERSATION_FILE_PRESENTATION, AX_CONVERSATION_FILE_RENDERER, AX_CONVERSATION_FILE_TYPES_READY, AX_CONVERSATION_IMAGE_CATALOG, AX_CONVERSATION_IMAGE_PRESENTATION, AX_CONVERSATION_IMAGE_RENDERER, AX_CONVERSATION_INFO_BAR_ARCHIVE_ACTION, AX_CONVERSATION_INFO_BAR_BLOCK_ACTION, AX_CONVERSATION_INFO_BAR_DELETE_ACTION, AX_CONVERSATION_INFO_BAR_DIVIDER, AX_CONVERSATION_INFO_BAR_MUTE_ACTION, AX_CONVERSATION_INFO_BAR_SEARCH_ACTION, AX_CONVERSATION_ITEM_BLOCK_ACTION, AX_CONVERSATION_ITEM_DELETE_ACTION, AX_CONVERSATION_ITEM_DIVIDER, AX_CONVERSATION_ITEM_MARK_READ_ACTION, AX_CONVERSATION_ITEM_MUTE_ACTION, AX_CONVERSATION_ITEM_PIN_ACTION, AX_CONVERSATION_LOCATION_ERRORS, AX_CONVERSATION_LOCATION_RENDERER, AX_CONVERSATION_MESSAGE_CURSOR_PREFIX, AX_CONVERSATION_MESSAGE_DELETE_ACTION, AX_CONVERSATION_MESSAGE_EDIT_ACTION, AX_CONVERSATION_MESSAGE_ERRORS, AX_CONVERSATION_MESSAGE_FORWARD_ACTION, AX_CONVERSATION_MESSAGE_REPLY_ACTION, AX_CONVERSATION_MESSAGE_TYPE_FILE_TYPE,
|
|
6774
|
+
export { AXConversationAiResponderService, AXConversationApi, AXConversationAudioAttachmentComponent, AXConversationAudioFileTypeProvider, AXConversationAudioPickerComponent, AXConversationAudioRendererComponent, AXConversationBaseRegistry, AXConversationComposerActionRegistry, AXConversationComposerComponent, AXConversationComposerFileTypesProvider, AXConversationComposerPopupComponent, AXConversationComposerService, AXConversationComposerTabRegistry, AXConversationContainerComponent, AXConversationContainerDirective, AXConversationDateUtilsService, AXConversationEmojiTabComponent, AXConversationErrorHandlerService, AXConversationFallbackRendererComponent, AXConversationFileAttachmentComponent, AXConversationFileFileTypeProvider, AXConversationFilePickerComponent, AXConversationFileRendererComponent, AXConversationForwardMessageDialogComponent, AXConversationImageAttachmentComponent, AXConversationImageFileTypeProvider, AXConversationImagePickerComponent, AXConversationImageRendererComponent, AXConversationIndexedDbConversationApi, AXConversationIndexedDbMessageAiApi, AXConversationIndexedDbMessageApi, AXConversationIndexedDbRealtimeApi, AXConversationIndexedDbStorage, AXConversationIndexedDbStores, AXConversationIndexedDbUserApi, AXConversationInfiniteScrollDirective, AXConversationInfoBarActionRegistry, AXConversationInfoBarComponent, AXConversationInfoBarSearchComponent, AXConversationInfoBarService, AXConversationInfoMediaViewComponent, AXConversationInfoPanelComponent, AXConversationItemActionRegistry, AXConversationLocationPickerComponent, AXConversationLocationRendererComponent, AXConversationMediaPlaybackInfoBarBannerComponent, AXConversationMessageActionRegistry, AXConversationMessageApi, AXConversationMessageListComponent, AXConversationMessageListNoActiveDefaultComponent, AXConversationMessageListService, AXConversationMessageRendererCopyHostComponent, AXConversationMessageRendererRegistry, AXConversationMessageRendererStateComponent, AXConversationMessageUtilsService, AXConversationModule, AXConversationNewDialogComponent, AXConversationPickerCaptionComponent, AXConversationPickerEmptyComponent, AXConversationPickerFooterComponent, AXConversationPickerHeaderComponent, AXConversationPickerShellComponent, AXConversationPickerToolbarComponent, AXConversationRealtimeApi, AXConversationRegistryService, AXConversationService, AXConversationSharedStorage, AXConversationSidebarComponent, AXConversationSidebarService, AXConversationStickerRendererComponent, AXConversationStickerTabComponent, AXConversationSystemRendererComponent, AXConversationTabRegistry, AXConversationTextRendererComponent, AXConversationUserApi, AXConversationVideoAttachmentComponent, AXConversationVideoFileTypeProvider, AXConversationVideoPickerComponent, AXConversationVideoRendererComponent, AXConversationVoiceFileTypeProvider, AXConversationVoiceRecorderComponent, AXConversationVoiceRendererComponent, AX_ALL_CONVERSATION_COMPOSER_TABS, AX_ALL_CONVERSATION_MEDIA_PICKERS, AX_CONVERSATION_AI_API_KEY, AX_CONVERSATION_AUDIO_CATALOG, AX_CONVERSATION_AUDIO_PRESENTATION, 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_IMAGE_ACTION, AX_CONVERSATION_COMPOSER_LOCATION_ACTION, AX_CONVERSATION_COMPOSER_STICKER_TAB, AX_CONVERSATION_COMPOSER_VIDEO_ACTION, AX_CONVERSATION_COMPOSER_VOICE_RECORDING_ACTION, AX_CONVERSATION_CONFIG, AX_CONVERSATION_CONNECTION_ERRORS, AX_CONVERSATION_CONVERSATION_AVATAR_COMPONENT, AX_CONVERSATION_CURSOR_PREFIX, AX_CONVERSATION_DEFAULT_COMPOSER_ACTIONS, AX_CONVERSATION_DEFAULT_COMPOSER_TABS, AX_CONVERSATION_DEFAULT_CONVERSATION_ITEM_ACTIONS, AX_CONVERSATION_DEFAULT_CONVERSATION_TABS, AX_CONVERSATION_DEFAULT_INFO_BAR_ACTIONS, AX_CONVERSATION_DEFAULT_MESSAGE_ACTIONS, AX_CONVERSATION_DEFAULT_MESSAGE_RENDERERS, AX_CONVERSATION_ERRORS, AX_CONVERSATION_ERROR_HANDLER_CONFIG, AX_CONVERSATION_ERROR_MESSAGES, AX_CONVERSATION_FALLBACK_RENDERER, AX_CONVERSATION_FILE_CATALOG, AX_CONVERSATION_FILE_ERRORS, AX_CONVERSATION_FILE_PRESENTATION, AX_CONVERSATION_FILE_RENDERER, AX_CONVERSATION_FILE_TYPES_READY, AX_CONVERSATION_IMAGE_CATALOG, AX_CONVERSATION_IMAGE_PRESENTATION, AX_CONVERSATION_IMAGE_RENDERER, AX_CONVERSATION_INFO_BAR_ARCHIVE_ACTION, AX_CONVERSATION_INFO_BAR_BLOCK_ACTION, AX_CONVERSATION_INFO_BAR_DELETE_ACTION, AX_CONVERSATION_INFO_BAR_DIVIDER, AX_CONVERSATION_INFO_BAR_MUTE_ACTION, AX_CONVERSATION_INFO_BAR_SEARCH_ACTION, AX_CONVERSATION_ITEM_BLOCK_ACTION, AX_CONVERSATION_ITEM_DELETE_ACTION, AX_CONVERSATION_ITEM_DIVIDER, AX_CONVERSATION_ITEM_MARK_READ_ACTION, AX_CONVERSATION_ITEM_MUTE_ACTION, AX_CONVERSATION_ITEM_PIN_ACTION, AX_CONVERSATION_LOCATION_ERRORS, AX_CONVERSATION_LOCATION_RENDERER, AX_CONVERSATION_MESSAGE_CURSOR_PREFIX, AX_CONVERSATION_MESSAGE_DELETE_ACTION, AX_CONVERSATION_MESSAGE_EDIT_ACTION, AX_CONVERSATION_MESSAGE_ERRORS, AX_CONVERSATION_MESSAGE_FORWARD_ACTION, AX_CONVERSATION_MESSAGE_REPLY_ACTION, AX_CONVERSATION_MESSAGE_TYPE_FILE_TYPE, AX_CONVERSATION_REGISTRY_CONFIG, AX_CONVERSATION_STICKER_API_KEY, AX_CONVERSATION_STICKER_RENDERER, AX_CONVERSATION_SYSTEM_RENDERER, AX_CONVERSATION_TAB_ALL, AX_CONVERSATION_TAB_ARCHIVED, AX_CONVERSATION_TAB_BOT, AX_CONVERSATION_TAB_CHANNELS, AX_CONVERSATION_TAB_GROUPS, AX_CONVERSATION_TAB_PRIVATE, AX_CONVERSATION_TAB_UNREAD, AX_CONVERSATION_TEXT_RENDERER, AX_CONVERSATION_URL_ERRORS, AX_CONVERSATION_USER_AVATAR_COMPONENT, AX_CONVERSATION_USER_ERRORS, AX_CONVERSATION_VIDEO_CATALOG, AX_CONVERSATION_VIDEO_PRESENTATION, AX_CONVERSATION_VIDEO_RENDERER, AX_CONVERSATION_VOICE_CATALOG, AX_CONVERSATION_VOICE_PRESENTATION, AX_CONVERSATION_VOICE_RENDERER, AX_DEFAULT_CONVERSATION_CONFIG, abortPickerUploads, applyAudioLocalPreview, applyConversationFilters, applyFileLocalPreview, applyLocalPreview, applyVideoLocalPreview, applyVoiceLocalPreview, audioItemFromUpload, axConversationIndexedDbStorage, axConversationSharedStorage, bindMediaRendererContentState, buildMediaGalleryTiles, canShowRendererContentError, cleanupPickerUploads, conversationAudioUtilities, conversationFileUtilities, conversationImageUtilities, conversationVideoUtilities, conversationVoiceUtilities, copyWithFileTypeFallback, createConversationAudioFileType, createConversationFileFileType, createConversationImageFileType, createConversationVideoFileType, createConversationVoiceFileType, createLocalPreviewUrl, createObjectUrl, createPickerDragHandlers, createResolvedMediaUrlSignal, deleteUploadedPickerMedia, dismissComposerPickerHost, encodeConversationCursor, encodeMessageCursor, ensurePaginationDemoData, fetchAllConversationMessages, fileItemFromUpload, filterMessagesByMediaCategory, formatDuration, formatErrorMessage, formatFileByteSize, formatFileSize, formatMediaDuration, formatPickerValidationMessage, getConversationLastActivity, getConversationMediaCategories, getConversationMessagesNewestFirst, getConversationProfileFields, getErrorMessage, getMessageAudioItems, getMessageVideoItems, getPickerCancelUploadLabel, getPrivatePeerParticipant, getSortedConversationsForInbox, inferFileExtensionHintFromMessage, isAttachmentListCategory, isComposerTabEnabled, isGenericPrivateConversationTitle, isGridMediaCategory, isMediaPickerEnabled, isMessageDeliveryPending, isNonPersistableMediaUrl, isPickerItemReadyToSend, isUploadAborted, limitFilesToCapacity, mediaCopyText, mergeAudioUploadResult, mergeFileUploadResult, mergeUploadResult, mergeVideoUploadResult, mergeVoiceUploadResult, mergeWithDefaults, messageContainsLink, normalizeAllConversationMessageIndexes, normalizeAudioPayload, normalizeFilePayload, normalizeImagePayload, normalizeMessagePayload, normalizeMessagePayloadAsync, normalizeVideoPayload, notifyMaxFilesCapacityExceeded, notifyPickerValidationErrors, openWithFileType, paginateChatNewestFirst, paginateChatOldestFirst, parseChatCursor, pickDisplayMediaUrl, pickerItemToMediaReference, pickerItemToUploadResult, provideConversation, provideConversationComposerFileTypes, provideConversationFileCatalog, registerChatMessage, reportMediaLoadError, resolveComposerMaxFiles, resolveConversationAvatarDisplay, resolveConversationComposerTabs, resolveConversationForViewer, resolveConversationMediaPickers, resolveConversationMessageFileType, resolveConversationTitleForViewer, resolveGalleryImageUrl, resolveImageDisplayUrl, resolveParticipantProfile, resolvePersistableMediaUrl, resolvePersistedThumbnailUrl, resolvePrivatePeerParticipant, resolvePrivatePeerUserId, resolveUserAvatarDisplay, resolveVideoThumbnailUrl, revokeObjectUrl, revokePickerBlobPreviews, sanitizeInput, seedPickerInitialFiles, seedSharedStorageInitialData, shouldUseUserAvatarForConversation, sortConversationMessageIds, syncPlaybackInfoBarBanner, toUploaderReference as toMediaItemUploaderReference, toUploaderReference$1 as toUploaderReference, unregisterChatMessage, uploadPickerFile, validateConversationId, validateEmail, validateLatitude, validateLongitude, validateMessagePayload, validateMessageText, validateMessageType, validateUrl, validateUserId, validateUserIds, videoItemFromUpload };
|
|
6789
6775
|
export type { AXConversation, AXConversationAiResponderConfig, AXConversationApiError, AXConversationAudioMediaItem, AXConversationAudioPayload, AXConversationAvatarComponents, AXConversationAvatarDisplay, AXConversationAvatarKind, AXConversationBlockReportReason, AXConversationCallEvent, AXConversationChatCursorKind, AXConversationCleanupPickerUploadsOptions, AXConversationComposerAction, AXConversationComposerActionComponent, AXConversationComposerActionContext, AXConversationComposerActiveComponent, AXConversationComposerPickerUploadItem, AXConversationComposerTab, AXConversationComposerTabFeature, AXConversationConfig, AXConversationConnectionEvent, AXConversationConnectionOptions, AXConversationConnectionStatus, AXConversationConversationAvatarComponent, AXConversationCreateData, AXConversationDeleteMessageCommand, AXConversationDropdownMenuItem, AXConversationEditMessageCommand, AXConversationError, AXConversationErrorCode, AXConversationErrorHandlerConfig, AXConversationErrorMessage, AXConversationErrorSeverity, AXConversationFeatures, AXConversationFileMediaItem, AXConversationFilePayload, AXConversationFilter, AXConversationFilters, AXConversationGroupedReaction, AXConversationImageMediaItem, AXConversationImagePayload, AXConversationIndexedDbMediaRecord, AXConversationInfoBarAction, AXConversationInfoBarActionComponent, AXConversationInfoBarActionContext, AXConversationInfoBarActiveBanner, AXConversationInfoBarActiveComponent, AXConversationInfoProfileField, AXConversationItemAction, AXConversationItemActionContext, AXConversationLink, AXConversationLinkPreview, AXConversationLoadMessagesResult, AXConversationLocationPayload, AXConversationMediaCategory, AXConversationMediaCategoryId, AXConversationMediaGalleryTile, AXConversationMediaItemFields, AXConversationMediaPickerFeature, AXConversationMention, AXConversationMessage, AXConversationMessageAction, AXConversationMessageActionContext, AXConversationMessageForwardData, AXConversationMessageInfoBarBannerComponent, AXConversationMessageListEmptyComponent, AXConversationMessagePayload, AXConversationMessageRenderer, AXConversationMessageRendererCapabilities, AXConversationMessageRendererComponent, AXConversationMessageRendererContentState, AXConversationMessageRendererState, AXConversationMessageSearchFilters, AXConversationMessageStatus, AXConversationMessageType, AXConversationMetadata, AXConversationNotificationEvent, AXConversationOptions, AXConversationPaginatedResult, AXConversationPagination, AXConversationPaginationState, AXConversationParsedChatCursor, AXConversationParticipant, AXConversationParticipantRole, AXConversationParticipantStatus, AXConversationParticipantUpdate, AXConversationPinnedMessage, AXConversationPlaybackBannerInputs, AXConversationPollOption, AXConversationPollPayload, AXConversationPresenceStatus, AXConversationPresenceUpdate, AXConversationReaction, AXConversationReadReceipt, AXConversationRegistryConfiguration, AXConversationRegistryItem, AXConversationSendMessageCommand, AXConversationSendMessageOptions, AXConversationSendMessageUploadSource, AXConversationSettings, AXConversationSettingsUpdate, AXConversationSort, AXConversationStatus, AXConversationStickerPayload, AXConversationSystemPayload, AXConversationTab, AXConversationTextFormat, AXConversationTextPayload, AXConversationType, AXConversationTypingIndicator, AXConversationUpdateData, AXConversationUploadOptions, AXConversationUploaderFilePreview, AXConversationUploaderReference, AXConversationUploaderResult, AXConversationUserAvatarComponent, AXConversationUserProfile, AXConversationUserProfileUpdate, AXConversationUserRole, AXConversationUserSearchFilters, AXConversationValidationResult, AXConversationVideoMediaItem, AXConversationVideoPayload, AXConversationVoicePayload };
|
|
@@ -37,6 +37,7 @@ declare const AXDateTimeBoxComponent_base: polytype.Polytype.ClusteredConstructo
|
|
|
37
37
|
* @category Components
|
|
38
38
|
*/
|
|
39
39
|
declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
40
|
+
private readonly defaultConfig;
|
|
40
41
|
/**
|
|
41
42
|
* @ignore
|
|
42
43
|
*/
|
|
@@ -56,7 +57,10 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
|
56
57
|
*/
|
|
57
58
|
formatChange: EventEmitter<string>;
|
|
58
59
|
/**
|
|
59
|
-
* Indicates whether typing is allowed in the
|
|
60
|
+
* Indicates whether typing is allowed in the input.
|
|
61
|
+
* When false, clicking the input (or the calendar icon) opens the picker.
|
|
62
|
+
* When true, the input is for typing and the picker opens from the calendar button.
|
|
63
|
+
* Defaults to `AX_DATETIME_INPUT_CONFIG.allowTyping` when not set on the instance.
|
|
60
64
|
*
|
|
61
65
|
* @defaultValue false
|
|
62
66
|
*/
|
|
@@ -91,7 +95,7 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
|
91
95
|
protected _editingDateObj: _angular_core.WritableSignal<Date>;
|
|
92
96
|
protected readonly _calendarSystem: _angular_core.Signal<string>;
|
|
93
97
|
protected readonly _resolvedFormat: _angular_core.Signal<string>;
|
|
94
|
-
protected readonly _classicDateFields: _acorex_components_datetime_box.AXDateTimeBoxClassicField[]
|
|
98
|
+
protected readonly _classicDateFields: _angular_core.Signal<_acorex_components_datetime_box.AXDateTimeBoxClassicField[]>;
|
|
95
99
|
protected readonly _classicTimeFields: _acorex_components_datetime_box.AXDateTimeBoxClassicField[];
|
|
96
100
|
private readonly _classicTimeOptions;
|
|
97
101
|
protected _classicDate: _angular_core.Signal<dist_packages_core_types_acorex_core_date_time.AXDateTime>;
|
|
@@ -125,7 +129,13 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
|
125
129
|
text: string;
|
|
126
130
|
}[];
|
|
127
131
|
/**
|
|
128
|
-
*
|
|
132
|
+
* Syncs typed input values into the box (and the picker via `_editingDateObj`).
|
|
133
|
+
* @ignore
|
|
134
|
+
*/
|
|
135
|
+
protected _handleInputModelChange(value: Date | null): void;
|
|
136
|
+
/**
|
|
137
|
+
* Syncs picker selection into the box (and the input via `_editingDateObj`).
|
|
138
|
+
* @ignore
|
|
129
139
|
*/
|
|
130
140
|
protected _handlePickerModelChange(value: Date | null): void;
|
|
131
141
|
/**
|
|
@@ -163,7 +173,9 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
|
163
173
|
*/
|
|
164
174
|
private _readSelectValue;
|
|
165
175
|
/**
|
|
166
|
-
*
|
|
176
|
+
* When typing is disabled, open the picker on input click.
|
|
177
|
+
* When typing is enabled, keep the picker closed so the user can type.
|
|
178
|
+
* @ignore
|
|
167
179
|
*/
|
|
168
180
|
protected _handleInputOnClick(): void;
|
|
169
181
|
private get __hostName();
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import { MXInputBaseValueComponent, AXClickEvent } from '@acorex/cdk/common';
|
|
3
4
|
import { AXDateTimePickerType } from '@acorex/components/calendar';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
|
-
* A component for date and time input with
|
|
7
|
+
* A component for date and time input with segment-based typing, keyboard navigation,
|
|
8
|
+
* and calendar-aware formatting (gregorian and solar-hijri).
|
|
7
9
|
*
|
|
8
10
|
* @category Components
|
|
9
11
|
*/
|
|
10
12
|
declare class AXDateTimeInputComponent extends MXInputBaseValueComponent<Date> {
|
|
11
13
|
#private;
|
|
12
14
|
private platformService;
|
|
13
|
-
private formatService;
|
|
14
15
|
private localeService;
|
|
15
16
|
private calendarService;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
*/
|
|
17
|
+
private readonly defaultConfig;
|
|
18
|
+
/** @ignore */
|
|
19
19
|
private readonly _editingParts;
|
|
20
|
-
/**
|
|
21
|
-
* @ignore
|
|
22
|
-
*/
|
|
20
|
+
/** @ignore */
|
|
23
21
|
protected _editingText: _angular_core.WritableSignal<string>;
|
|
22
|
+
/** @ignore */
|
|
23
|
+
private _inputChars;
|
|
24
|
+
/** @ignore */
|
|
25
|
+
private _activePart;
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Indicates whether typing is allowed in the input field.
|
|
27
|
+
* When true, the user can type digits and navigate segments with the keyboard.
|
|
28
|
+
* When false, keyboard input is blocked (used by datetime-box picker mode).
|
|
29
|
+
* Defaults to `AX_DATETIME_INPUT_CONFIG.allowTyping` when not set on the instance.
|
|
30
30
|
* @defaultValue false
|
|
31
31
|
*/
|
|
32
32
|
allowTyping: _angular_core.InputSignal<boolean>;
|
|
@@ -34,95 +34,88 @@ declare class AXDateTimeInputComponent extends MXInputBaseValueComponent<Date> {
|
|
|
34
34
|
* @description The calendar type to use for the datetime input.
|
|
35
35
|
*/
|
|
36
36
|
calendar: _angular_core.InputSignal<string>;
|
|
37
|
-
protected readonly _calendarSystem: _angular_core.Signal<string>;
|
|
38
|
-
private _activePart;
|
|
39
|
-
private _editingDate;
|
|
40
|
-
/**
|
|
41
|
-
* @ignore
|
|
42
|
-
*/
|
|
43
|
-
private input;
|
|
44
37
|
minValue: _angular_core.InputSignal<Date>;
|
|
45
38
|
maxValue: _angular_core.InputSignal<Date>;
|
|
46
39
|
/**
|
|
47
|
-
* Emitted when a click event occurs on the datetime
|
|
40
|
+
* Emitted when a click event occurs on the datetime input.
|
|
48
41
|
* @event
|
|
49
42
|
*/
|
|
50
43
|
onClick: _angular_core.OutputEmitterRef<AXClickEvent>;
|
|
51
44
|
picker: _angular_core.InputSignal<AXDateTimePickerType>;
|
|
52
|
-
protected readonly _resolvedFormat: _angular_core.Signal<string>;
|
|
53
45
|
/**
|
|
54
46
|
* @deprecated use locale & mode instead
|
|
55
47
|
*/
|
|
56
48
|
format: _angular_core.InputSignal<string>;
|
|
57
|
-
|
|
49
|
+
protected readonly _calendarSystem: _angular_core.Signal<string>;
|
|
50
|
+
protected readonly _resolvedFormat: _angular_core.Signal<string>;
|
|
51
|
+
/** @ignore */
|
|
52
|
+
private _editingDate;
|
|
53
|
+
/** @ignore */
|
|
54
|
+
private inputRef;
|
|
55
|
+
/** @ignore */
|
|
56
|
+
private get inputElement();
|
|
58
57
|
/**
|
|
59
58
|
* @description check if page is in rtl or ltr
|
|
60
59
|
*/
|
|
61
60
|
protected isRtl: _angular_core.WritableSignal<boolean>;
|
|
62
|
-
/**
|
|
63
|
-
* @description listen to direction change to react to it.
|
|
64
|
-
*/
|
|
61
|
+
/** @ignore */
|
|
65
62
|
protected ngOnInit(): void;
|
|
66
63
|
/**
|
|
67
|
-
*
|
|
64
|
+
* Formats a part using the calendar already attached to the AXDateTime.
|
|
65
|
+
* @ignore
|
|
68
66
|
*/
|
|
67
|
+
private _formatPart;
|
|
68
|
+
/** @ignore */
|
|
69
|
+
private _detectParts;
|
|
70
|
+
/** @ignore */
|
|
69
71
|
private _getOrderedParts;
|
|
70
|
-
/**
|
|
71
|
-
* @ignore
|
|
72
|
-
*/
|
|
72
|
+
/** @ignore */
|
|
73
73
|
private _clearInputBuffer;
|
|
74
|
-
/**
|
|
75
|
-
* @ignore
|
|
76
|
-
*/
|
|
74
|
+
/** @ignore */
|
|
77
75
|
private _updateText;
|
|
78
|
-
/**
|
|
79
|
-
* Sets the internal date value, adjusting it based on editing parts.
|
|
80
|
-
* @param value - The date to set. Returns `undefined` if no value is provided.
|
|
81
|
-
* @ignore
|
|
82
|
-
*/
|
|
83
76
|
/**
|
|
84
77
|
* Handles changes to the internal date value, updating editing parts and text representation.
|
|
85
|
-
*
|
|
86
|
-
* @param value - The new date value. If not provided, resets editing parts.
|
|
87
78
|
* @ignore
|
|
88
79
|
*/
|
|
89
80
|
internalValueChanged(value?: Date): void;
|
|
90
81
|
/**
|
|
91
|
-
*
|
|
92
|
-
|
|
93
|
-
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
94
|
-
/**
|
|
95
|
-
* @ignore
|
|
96
|
-
*/
|
|
97
|
-
_handleKeyUpEvent(): void;
|
|
98
|
-
/**
|
|
99
|
-
* @ignore
|
|
82
|
+
* Normalizes Persian (U+06F0-U+06F9) and Arabic-Indic (U+0660-U+0669) digits to ASCII.
|
|
83
|
+
* @ignore
|
|
100
84
|
*/
|
|
85
|
+
private _normalizeDigit;
|
|
86
|
+
/** @ignore */
|
|
87
|
+
protected _handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
88
|
+
/** @ignore */
|
|
89
|
+
private _handleDigitInput;
|
|
90
|
+
/** @ignore */
|
|
91
|
+
private _applyEditingDate;
|
|
92
|
+
/** @ignore */
|
|
93
|
+
protected _handleKeyUpEvent(): void;
|
|
94
|
+
/** @ignore */
|
|
101
95
|
protected _handleFocusEvent(e: FocusEvent): void;
|
|
102
|
-
/**
|
|
103
|
-
* @ignore
|
|
104
|
-
*/
|
|
96
|
+
/** @ignore */
|
|
105
97
|
protected _handleBlurEvent(e: FocusEvent): void;
|
|
106
|
-
/**
|
|
107
|
-
|
|
108
|
-
|
|
98
|
+
/** @ignore */
|
|
99
|
+
private _clampToRange;
|
|
100
|
+
/** @ignore */
|
|
109
101
|
protected _handleOnInputClickEvent(e: MouseEvent): void;
|
|
110
|
-
/**
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
private
|
|
114
|
-
/**
|
|
115
|
-
* @ignore
|
|
116
|
-
*/
|
|
102
|
+
/** @ignore */
|
|
103
|
+
private _selectFirstPart;
|
|
104
|
+
/** @ignore */
|
|
105
|
+
private _ensureEditableText;
|
|
106
|
+
/** @ignore */
|
|
117
107
|
private _highlightActivePart;
|
|
118
|
-
/**
|
|
119
|
-
* @ignore
|
|
120
|
-
*/
|
|
108
|
+
/** @ignore */
|
|
121
109
|
private _detectValueChanges;
|
|
122
|
-
private get __hostName();
|
|
123
110
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDateTimeInputComponent, never>;
|
|
124
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimeInputComponent, "ax-datetime-input", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "allowTyping": { "alias": "allowTyping"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "picker": { "alias": "picker"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onClick": "onClick"; }, never, ["ax-validation-rule"], true, never>;
|
|
111
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimeInputComponent, "ax-datetime-input", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "allowTyping": { "alias": "allowTyping"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "picker": { "alias": "picker"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; "onClick": "onClick"; }, never, ["ax-validation-rule"], true, never>;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
interface AXDateTimeInputConfig {
|
|
115
|
+
allowTyping: boolean;
|
|
125
116
|
}
|
|
117
|
+
declare const AXDateTimeInputDefaultConfig: AXDateTimeInputConfig;
|
|
118
|
+
declare const AX_DATETIME_INPUT_CONFIG: InjectionToken<AXDateTimeInputConfig>;
|
|
126
119
|
|
|
127
120
|
declare class AXDateTimeInputModule {
|
|
128
121
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDateTimeInputModule, never>;
|
|
@@ -130,4 +123,5 @@ declare class AXDateTimeInputModule {
|
|
|
130
123
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXDateTimeInputModule>;
|
|
131
124
|
}
|
|
132
125
|
|
|
133
|
-
export { AXDateTimeInputComponent, AXDateTimeInputModule };
|
|
126
|
+
export { AXDateTimeInputComponent, AXDateTimeInputDefaultConfig, AXDateTimeInputModule, AX_DATETIME_INPUT_CONFIG };
|
|
127
|
+
export type { AXDateTimeInputConfig };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { OnDestroy, TemplateRef, Type, Provider } from '@angular/core';
|
|
3
|
+
import { AXComponentContent, AXComponentInputs } from '@acorex/core/components';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { AXStyleColorType, AXComponentClosedPromise } from '@acorex/cdk/common';
|
|
3
6
|
import * as _acorex_core_file from '@acorex/core/file';
|
|
4
7
|
import { AXFileTypeExtensionHint, AXFileType, AXFileTypeViewComponent } from '@acorex/core/file';
|
|
5
|
-
import { AXStyleColorType } from '@acorex/cdk/common';
|
|
6
8
|
import { SafeResourceUrl } from '@angular/platform-browser';
|
|
7
9
|
|
|
8
10
|
/** Single item displayed in a file-viewer carousel. */
|
|
@@ -36,34 +38,35 @@ declare class AXFileViewerService {
|
|
|
36
38
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXFileViewerService>;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
|
-
/** Registers file-viewer components on standard file-type catalog entries. */
|
|
40
|
-
declare function provideFileViewer(): Provider[];
|
|
41
|
-
|
|
42
41
|
/** Infers a file-type catalog name from the item. */
|
|
43
42
|
declare function resolveFileViewerFileType(item: AXFileViewerItem): string;
|
|
44
43
|
/** Builds an extension hint from item metadata. */
|
|
45
44
|
declare function buildFileViewerExtensionHint(item: AXFileViewerItem): AXFileTypeExtensionHint | undefined;
|
|
46
45
|
|
|
47
|
-
declare function createFileViewerFileTypes(): AXFileType[];
|
|
48
|
-
|
|
49
46
|
declare class AXFileViewerContainerComponent implements OnDestroy {
|
|
50
47
|
#private;
|
|
51
48
|
readonly items: _angular_core.InputSignal<AXFileViewerItem[]>;
|
|
49
|
+
readonly startIndex: _angular_core.InputSignal<number>;
|
|
52
50
|
readonly thumbnail: _angular_core.InputSignal<boolean>;
|
|
53
51
|
readonly pagination: _angular_core.InputSignal<boolean>;
|
|
54
52
|
readonly download: _angular_core.InputSignal<boolean>;
|
|
55
53
|
readonly fullscreen: _angular_core.InputSignal<boolean>;
|
|
54
|
+
/** When true, opens in a gallery overlay and closes when fullscreen exits. */
|
|
55
|
+
readonly galleryMode: _angular_core.InputSignal<boolean>;
|
|
56
|
+
readonly headerContent: _angular_core.InputSignal<AXComponentContent>;
|
|
57
|
+
readonly headerContentInputs: _angular_core.InputSignal<AXComponentInputs>;
|
|
58
|
+
readonly fallbackContent: _angular_core.InputSignal<AXComponentContent>;
|
|
59
|
+
readonly fallbackContentInputs: _angular_core.InputSignal<AXComponentInputs>;
|
|
56
60
|
/** External loading flag — show overlay while parent data is being fetched. */
|
|
57
61
|
readonly loading: _angular_core.InputSignal<boolean>;
|
|
62
|
+
readonly fullscreenClosed: _angular_core.OutputEmitterRef<void>;
|
|
58
63
|
readonly service: AXFileViewerService;
|
|
59
64
|
private readonly host;
|
|
60
|
-
private readonly zIndexService;
|
|
61
65
|
private readonly fullScreenService;
|
|
62
66
|
private readonly mainCarouselRef;
|
|
63
67
|
private readonly thumbCarouselRef;
|
|
64
|
-
readonly fullscreenActive: _angular_core.WritableSignal<boolean>;
|
|
65
|
-
private zToken;
|
|
66
68
|
private initToken;
|
|
69
|
+
readonly isFullscreenActive: _angular_core.WritableSignal<boolean>;
|
|
67
70
|
/** True while carousels are being (re)initialized. */
|
|
68
71
|
readonly initializing: _angular_core.WritableSignal<boolean>;
|
|
69
72
|
readonly isBusy: _angular_core.Signal<boolean>;
|
|
@@ -74,34 +77,123 @@ declare class AXFileViewerContainerComponent implements OnDestroy {
|
|
|
74
77
|
readonly currentTypeLabel: _angular_core.Signal<string>;
|
|
75
78
|
readonly currentTypeColor: _angular_core.Signal<AXStyleColorType>;
|
|
76
79
|
readonly slideCounter: _angular_core.Signal<string>;
|
|
80
|
+
readonly headerTemplateContent: _angular_core.Signal<TemplateRef<any>>;
|
|
81
|
+
readonly headerComponentContent: _angular_core.Signal<Type<unknown>>;
|
|
82
|
+
readonly hasHeaderCenterContent: _angular_core.Signal<boolean>;
|
|
83
|
+
readonly headerContentContext: _angular_core.Signal<{
|
|
84
|
+
item: AXFileViewerItem;
|
|
85
|
+
items: AXFileViewerItem[];
|
|
86
|
+
selectedIndex: number;
|
|
87
|
+
slideCounter: string;
|
|
88
|
+
}>;
|
|
77
89
|
readonly resolveFileType: typeof resolveFileViewerFileType;
|
|
78
90
|
resolveTypeLabel(item: AXFileViewerItem): string;
|
|
79
91
|
formatSize(size?: number): string;
|
|
80
92
|
private readonly mainCarouselOptions;
|
|
81
93
|
private readonly thumbnailCarouselOptions;
|
|
82
|
-
|
|
83
|
-
|
|
94
|
+
toggleFullscreen(): void;
|
|
95
|
+
enterFullscreen(): void;
|
|
96
|
+
/** @param emitGalleryClose When false, skips gallery close notification (used during service teardown). */
|
|
97
|
+
exitFullscreen(emitGalleryClose?: boolean): void;
|
|
98
|
+
closeGallery(): void;
|
|
84
99
|
private initCarousels;
|
|
85
100
|
private readonly onSlideChange;
|
|
86
101
|
next(): void;
|
|
87
102
|
prev(): void;
|
|
88
103
|
goToIndex(index: number, speed?: number): void;
|
|
89
|
-
toggleFullscreen(): void;
|
|
90
104
|
downloadCurrent(): Promise<void>;
|
|
91
105
|
ngOnDestroy(): void;
|
|
92
106
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerContainerComponent, never>;
|
|
93
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerContainerComponent, "ax-file-viewer-container", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "thumbnail": { "alias": "thumbnail"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "download": { "alias": "download"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never,
|
|
107
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerContainerComponent, "ax-file-viewer-container", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "startIndex": { "alias": "startIndex"; "required": false; "isSignal": true; }; "thumbnail": { "alias": "thumbnail"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "download": { "alias": "download"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; "galleryMode": { "alias": "galleryMode"; "required": false; "isSignal": true; }; "headerContent": { "alias": "headerContent"; "required": false; "isSignal": true; }; "headerContentInputs": { "alias": "headerContentInputs"; "required": false; "isSignal": true; }; "fallbackContent": { "alias": "fallbackContent"; "required": false; "isSignal": true; }; "fallbackContentInputs": { "alias": "fallbackContentInputs"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "fullscreenClosed": "fullscreenClosed"; }, never, never, true, never>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
interface AXFileViewerGalleryConfig {
|
|
111
|
+
items: AXFileViewerItem[];
|
|
112
|
+
startIndex?: number;
|
|
113
|
+
thumbnail?: boolean;
|
|
114
|
+
download?: boolean;
|
|
115
|
+
loading?: boolean;
|
|
116
|
+
panelClass?: string[];
|
|
117
|
+
headerContent?: AXComponentContent | null;
|
|
118
|
+
headerContentInputs?: AXComponentInputs | null;
|
|
119
|
+
fallbackContent?: AXComponentContent | null;
|
|
120
|
+
fallbackContentInputs?: AXComponentInputs | null;
|
|
121
|
+
}
|
|
122
|
+
interface AXFileViewerGalleryRef<TResult = any> {
|
|
123
|
+
close: (data?: TResult) => void;
|
|
124
|
+
setInputs: (values: AXComponentInputs) => void;
|
|
125
|
+
bringToFront: () => void;
|
|
126
|
+
onClose: Subject<TResult>;
|
|
127
|
+
componentInstance?: AXFileViewerContainerComponent;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/** Opens {@link AXFileViewerContainerComponent} in fullscreen gallery mode. */
|
|
131
|
+
declare class AXFileViewerGalleryService {
|
|
132
|
+
private readonly galleryList;
|
|
133
|
+
private readonly overlayService;
|
|
134
|
+
/**
|
|
135
|
+
* Opens a file viewer gallery in fullscreen.
|
|
136
|
+
* @param config - Gallery configuration
|
|
137
|
+
* @returns Promise that resolves when the gallery is closed
|
|
138
|
+
*/
|
|
139
|
+
open(config: AXFileViewerGalleryConfig): AXComponentClosedPromise;
|
|
140
|
+
/**
|
|
141
|
+
* Closes a gallery by its ID.
|
|
142
|
+
* @param id - The gallery ID to close
|
|
143
|
+
* @param data - Optional data to pass to the close event
|
|
144
|
+
*/
|
|
145
|
+
close<TResult = unknown>(id: number, data?: TResult): void;
|
|
146
|
+
/**
|
|
147
|
+
* Sets input values for a gallery by its ID.
|
|
148
|
+
* @param id - The gallery ID
|
|
149
|
+
* @param values - Object containing input values to set
|
|
150
|
+
*/
|
|
151
|
+
setInputs(id: number, values: AXComponentInputs): void;
|
|
152
|
+
/**
|
|
153
|
+
* Brings a gallery to the front of all other overlays.
|
|
154
|
+
* @param id - The gallery ID to bring to front
|
|
155
|
+
*/
|
|
156
|
+
bringToFront(id: number): void;
|
|
157
|
+
private openInternal;
|
|
158
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerGalleryService, never>;
|
|
159
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXFileViewerGalleryService>;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/** Registers file-viewer components on standard file-type catalog entries. */
|
|
163
|
+
declare function provideFileViewer(): Provider[];
|
|
164
|
+
|
|
165
|
+
declare function createFileViewerFileTypes(): AXFileType[];
|
|
166
|
+
|
|
167
|
+
/** Optional center header slot component for use with {@link headerContent}. */
|
|
168
|
+
declare class AXFileViewerHeaderPlaceholderComponent {
|
|
169
|
+
readonly slideCounter: _angular_core.InputSignal<string>;
|
|
170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerHeaderPlaceholderComponent, never>;
|
|
171
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerHeaderPlaceholderComponent, "ax-file-viewer-header-placeholder", never, { "slideCounter": { "alias": "slideCounter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
94
172
|
}
|
|
95
173
|
|
|
96
174
|
declare class AXFileViewerSlideComponent {
|
|
97
175
|
readonly item: _angular_core.InputSignal<AXFileViewerItem>;
|
|
98
176
|
readonly index: _angular_core.InputSignal<number>;
|
|
177
|
+
readonly fallbackContent: _angular_core.InputSignal<AXComponentContent>;
|
|
178
|
+
readonly fallbackContentInputs: _angular_core.InputSignal<AXComponentInputs>;
|
|
99
179
|
private readonly service;
|
|
100
180
|
readonly fileTypeName: _angular_core.Signal<string>;
|
|
101
181
|
readonly extensionHint: _angular_core.Signal<_acorex_core_file.AXFileTypeExtensionHint>;
|
|
102
182
|
readonly viewPayload: _angular_core.Signal<AXFileViewerViewPayload>;
|
|
183
|
+
readonly fallbackTemplateContent: _angular_core.Signal<TemplateRef<any>>;
|
|
184
|
+
readonly fallbackComponentContent: _angular_core.Signal<Type<unknown>>;
|
|
185
|
+
readonly useCustomFallback: _angular_core.Signal<boolean>;
|
|
186
|
+
readonly fallbackContentContext: _angular_core.Signal<{
|
|
187
|
+
payload: AXFileViewerViewPayload;
|
|
188
|
+
item: AXFileViewerItem;
|
|
189
|
+
index: number;
|
|
190
|
+
active: boolean;
|
|
191
|
+
}>;
|
|
192
|
+
readonly fallbackComponentInputs: _angular_core.Signal<{
|
|
193
|
+
payload: AXFileViewerViewPayload;
|
|
194
|
+
}>;
|
|
103
195
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileViewerSlideComponent, never>;
|
|
104
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerSlideComponent, "ax-file-viewer-slide", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "index": { "alias": "index"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
196
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerSlideComponent, "ax-file-viewer-slide", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "index": { "alias": "index"; "required": true; "isSignal": true; }; "fallbackContent": { "alias": "fallbackContent"; "required": false; "isSignal": true; }; "fallbackContentInputs": { "alias": "fallbackContentInputs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
105
197
|
}
|
|
106
198
|
|
|
107
199
|
declare class AXFileViewerThumbPreviewComponent {
|
|
@@ -176,5 +268,5 @@ declare class AXFileViewerFileFallbackComponent implements AXFileTypeViewCompone
|
|
|
176
268
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileViewerFileFallbackComponent, "ax-file-viewer-fallback", never, { "payload": { "alias": "payload"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
177
269
|
}
|
|
178
270
|
|
|
179
|
-
export { AXFileViewerAudioComponent, AXFileViewerContainerComponent, AXFileViewerFileFallbackComponent, AXFileViewerImageComponent, AXFileViewerPdfComponent, AXFileViewerService, AXFileViewerSlideComponent, AXFileViewerThumbPreviewComponent, AXFileViewerThumbnailsComponent, AXFileViewerVideoComponent, buildFileViewerExtensionHint, createFileViewerFileTypes, provideFileViewer, resolveFileViewerFileType };
|
|
180
|
-
export type { AXFileViewerItem, AXFileViewerViewPayload };
|
|
271
|
+
export { AXFileViewerAudioComponent, AXFileViewerContainerComponent, AXFileViewerFileFallbackComponent, AXFileViewerGalleryService, AXFileViewerHeaderPlaceholderComponent, AXFileViewerImageComponent, AXFileViewerPdfComponent, AXFileViewerService, AXFileViewerSlideComponent, AXFileViewerThumbPreviewComponent, AXFileViewerThumbnailsComponent, AXFileViewerVideoComponent, buildFileViewerExtensionHint, createFileViewerFileTypes, provideFileViewer, resolveFileViewerFileType };
|
|
272
|
+
export type { AXFileViewerGalleryConfig, AXFileViewerGalleryRef, AXFileViewerItem, AXFileViewerViewPayload };
|