@acorex/components 20.2.0-next.2 → 20.2.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/action-sheet/index.d.ts +57 -10
- package/alert/index.d.ts +2 -4
- package/autocomplete/index.d.ts +7 -2
- package/avatar/index.d.ts +12 -6
- package/badge/index.d.ts +1 -2
- package/bottom-navigation/index.d.ts +10 -2
- package/breadcrumbs/index.d.ts +17 -4
- package/button/index.d.ts +56 -17
- package/button-group/index.d.ts +8 -5
- package/calendar/index.d.ts +28 -16
- package/check-box/index.d.ts +2 -5
- package/chips/index.d.ts +1 -2
- package/circular-progress/index.d.ts +23 -18
- package/collapse/index.d.ts +7 -6
- package/color-box/index.d.ts +5 -8
- package/color-palette/index.d.ts +19 -24
- package/comment/index.d.ts +8 -8
- package/conversation/index.d.ts +1 -0
- package/cron-job/index.d.ts +5 -4
- package/data-list/README.md +356 -0
- package/data-list/index.d.ts +102 -0
- package/data-pager/index.d.ts +10 -5
- package/datetime-box/index.d.ts +2 -7
- package/datetime-input/index.d.ts +2 -4
- package/datetime-picker/index.d.ts +9 -10
- package/dropdown/index.d.ts +41 -0
- package/fesm2022/acorex-components-accordion.mjs +10 -10
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +78 -48
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +12 -14
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +7 -7
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +32 -10
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +23 -18
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +9 -10
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +17 -13
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +36 -20
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +31 -22
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +77 -34
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +100 -53
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +11 -13
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +9 -10
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +31 -26
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +20 -18
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +34 -30
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +55 -75
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +38 -38
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +58 -52
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +54 -48
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +386 -0
- package/fesm2022/acorex-components-data-list.mjs.map +1 -0
- package/fesm2022/acorex-components-data-pager.mjs +41 -36
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +40 -40
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +22 -31
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +17 -14
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +98 -45
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +25 -25
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +12 -12
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-2.mjs +10 -10
- package/fesm2022/acorex-components-drawer-2.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +13 -13
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +57 -13
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +40 -16
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +26 -17
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +10 -10
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +40 -34
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +8 -8
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +11 -7
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +20 -13
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +9 -9
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +27 -19
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +40 -22
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +76 -18
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +534 -115
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +37 -37
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +48 -22
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs → acorex-components-modal-acorex-components-modal-yzX5PZMM.mjs} +101 -22
- package/fesm2022/acorex-components-modal-acorex-components-modal-yzX5PZMM.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-DfhgA_WL.mjs → acorex-components-modal-modal-content.component-Bt8c43qi.mjs} +5 -5
- package/fesm2022/{acorex-components-modal-modal-content.component-DfhgA_WL.mjs.map → acorex-components-modal-modal-content.component-Bt8c43qi.mjs.map} +1 -1
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +13 -8
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +16 -13
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-2.mjs +13 -7
- package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +16 -10
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +9 -9
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +31 -25
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +20 -14
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +22 -13
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +26 -16
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +8 -13
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +10 -10
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +8 -8
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +7 -7
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +8 -8
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +24 -13
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +9 -9
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +6 -6
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +173 -85
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +13 -7
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +117 -38
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +12 -9
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +14 -11
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +98 -43
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +9 -9
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +14 -14
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +13 -13
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +12 -12
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +20 -18
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +39 -21
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +8 -8
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +16 -10
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +19 -13
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +41 -65
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +10 -10
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +12 -12
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +7 -7
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +14 -13
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +11 -11
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +22 -22
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +65 -61
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/flow-chart/index.d.ts +24 -0
- package/form/index.d.ts +4 -0
- package/image-editor/index.d.ts +1 -0
- package/json-viewer/index.d.ts +3 -3
- package/kanban/index.d.ts +7 -3
- package/kbd/index.d.ts +10 -3
- package/list/index.d.ts +14 -7
- package/loading/index.d.ts +58 -1
- package/loading-dialog/index.d.ts +29 -11
- package/map/index.d.ts +119 -6
- package/menu/index.d.ts +19 -0
- package/modal/index.d.ts +43 -0
- package/navbar/index.d.ts +6 -1
- package/number-box/index.d.ts +1 -0
- package/number-box-2/index.d.ts +1 -0
- package/package.json +14 -6
- package/paint/index.d.ts +2 -1
- package/password-box/index.d.ts +7 -6
- package/phone-box/index.d.ts +11 -8
- package/picker/index.d.ts +10 -8
- package/popover/index.d.ts +1 -1
- package/radio/index.d.ts +1 -1
- package/rail-navigation/index.d.ts +11 -0
- package/rate-picker/index.d.ts +1 -1
- package/scheduler/index.d.ts +186 -98
- package/search-box/index.d.ts +1 -0
- package/select-box/index.d.ts +32 -8
- package/side-menu/index.d.ts +16 -7
- package/tag-box/index.d.ts +3 -2
- package/text-area/index.d.ts +1 -0
- package/text-box/index.d.ts +1 -0
- package/time-duration/index.d.ts +3 -1
- package/tooltip/index.d.ts +3 -2
- package/wysiwyg/index.d.ts +1 -5
- package/fesm2022/acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs.map +0 -1
package/action-sheet/index.d.ts
CHANGED
@@ -1,16 +1,7 @@
|
|
1
|
-
import * as i1 from '@acorex/cdk/common';
|
2
1
|
import { AXStyleColorType, MXBaseComponent } from '@acorex/cdk/common';
|
3
|
-
import * as i5 from '@angular/cdk/portal';
|
4
2
|
import { ComponentType, Portal, CdkPortalOutletAttachedRef } from '@angular/cdk/portal';
|
5
3
|
import * as i0 from '@angular/core';
|
6
4
|
import { TemplateRef, OnInit, OnDestroy } from '@angular/core';
|
7
|
-
import * as i2 from '@angular/cdk/drag-drop';
|
8
|
-
import * as i3 from '@angular/cdk/a11y';
|
9
|
-
import * as i4 from '@acorex/components/button';
|
10
|
-
import * as i6 from '@acorex/components/decorators';
|
11
|
-
import * as i7 from '@acorex/core/translation';
|
12
|
-
import * as i8 from '@angular/cdk/dialog';
|
13
|
-
import * as i9 from '@angular/common';
|
14
5
|
import * as rxjs from 'rxjs';
|
15
6
|
import { Subject } from 'rxjs';
|
16
7
|
|
@@ -93,7 +84,26 @@ declare class AXActionSheetComponent extends MXBaseComponent implements OnInit,
|
|
93
84
|
private snapToFinalPosition;
|
94
85
|
private heightCalculator;
|
95
86
|
protected handleAttched(ref: CdkPortalOutletAttachedRef): void;
|
87
|
+
/**
|
88
|
+
* Handles click events on action sheet items.
|
89
|
+
* This method is called when a user clicks on an action sheet item. It closes the action sheet
|
90
|
+
* with the clicked item as the result data and executes the item's onClick callback if provided.
|
91
|
+
*
|
92
|
+
* @param item - The action sheet item that was clicked. Contains the item's data and optional onClick callback.
|
93
|
+
* @returns void
|
94
|
+
*/
|
96
95
|
onItemClick(item: AXActionSheetItem): void;
|
96
|
+
/**
|
97
|
+
* Closes the action sheet with optional result data.
|
98
|
+
* This method initiates the closing animation of the action sheet and eventually closes the dialog.
|
99
|
+
* The closing process includes a height animation and cleanup of event listeners.
|
100
|
+
*
|
101
|
+
* @param e - The result data to pass when closing the action sheet. Can be any value including null.
|
102
|
+
* If an AXActionSheetItem is passed, it represents the selected item.
|
103
|
+
* @param isUserInteraction - Whether the close action was triggered by user interaction (default: true).
|
104
|
+
* This affects how the action sheet handles accessibility and event tracking.
|
105
|
+
* @returns void
|
106
|
+
*/
|
97
107
|
close(e?: any, isUserInteraction?: boolean): void;
|
98
108
|
/**
|
99
109
|
* @ignore
|
@@ -105,7 +115,7 @@ declare class AXActionSheetComponent extends MXBaseComponent implements OnInit,
|
|
105
115
|
|
106
116
|
declare class AXActionSheetModule {
|
107
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetModule, never>;
|
108
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXActionSheetModule, never, [typeof
|
118
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXActionSheetModule, never, [typeof AXActionSheetComponent], [typeof AXActionSheetComponent]>;
|
109
119
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXActionSheetModule>;
|
110
120
|
}
|
111
121
|
|
@@ -117,7 +127,44 @@ declare class AXActionSheetService {
|
|
117
127
|
private dialog;
|
118
128
|
private readonly actionSheetEvent;
|
119
129
|
actionSheetEvent$: rxjs.Observable<AXActionSheetEvent>;
|
130
|
+
/**
|
131
|
+
* Opens an action sheet with the specified configuration.
|
132
|
+
* This method creates and displays an action sheet component with the provided options.
|
133
|
+
* The action sheet will slide up from the bottom of the screen and can be dismissed
|
134
|
+
* by tapping outside, pressing escape, or calling the close method.
|
135
|
+
*
|
136
|
+
* @param config - The configuration object that defines the action sheet's appearance and behavior.
|
137
|
+
* Must include at least a title or content property. Will be merged with default config.
|
138
|
+
* @param isUserInteraction - Whether the action sheet is opened by user interaction (default: true).
|
139
|
+
* This affects how the action sheet handles accessibility and focus management.
|
140
|
+
* @returns A promise that resolves to a dialog reference containing methods to control the action sheet.
|
141
|
+
* The reference includes methods like close() and a closed observable for tracking dialog state.
|
142
|
+
* @example
|
143
|
+
* ```typescript
|
144
|
+
* const dialogRef = await actionSheetService.open({
|
145
|
+
* title: 'Choose an option',
|
146
|
+
* items: [
|
147
|
+
* { text: 'Option 1', value: 'opt1' },
|
148
|
+
* { text: 'Option 2', value: 'opt2' }
|
149
|
+
* ]
|
150
|
+
* });
|
151
|
+
*
|
152
|
+
* dialogRef.closed.subscribe(result => {
|
153
|
+
* console.log('Action sheet closed with:', result.data);
|
154
|
+
* });
|
155
|
+
* ```
|
156
|
+
*/
|
120
157
|
open(config: AXActionSheetConfig, isUserInteraction?: boolean): Promise<AXActionSheetDialogRef>;
|
158
|
+
/**
|
159
|
+
* Sets the current state of action sheet events.
|
160
|
+
* This method is used internally to track action sheet lifecycle events such as open, close,
|
161
|
+
* drag start, drag end, and full screen transitions. It emits events through the actionSheetEvent$
|
162
|
+
* observable for external subscribers to monitor action sheet state changes.
|
163
|
+
*
|
164
|
+
* @param event - The action sheet event to emit. Contains information about the event type,
|
165
|
+
* associated data, user interaction status, and dialog reference.
|
166
|
+
* @returns void
|
167
|
+
*/
|
121
168
|
setActionSheetEventState(event: AXActionSheetEvent): void;
|
122
169
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetService, never>;
|
123
170
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXActionSheetService>;
|
package/alert/index.d.ts
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
2
2
|
import { MXColorComponent, AXEvent } from '@acorex/cdk/common';
|
3
|
-
import * as i2 from '@acorex/components/decorators';
|
4
3
|
import { AXDecoratorIconComponent, AXDecoratorGenericComponent } from '@acorex/components/decorators';
|
5
|
-
import * as i1 from '@angular/common';
|
6
4
|
|
7
5
|
/**
|
8
6
|
* The Alert component is used to display notifications or alerts to users.
|
@@ -73,7 +71,7 @@ declare class AXAlertComponent extends MXColorComponent {
|
|
73
71
|
/**
|
74
72
|
* Removes the alert from the container after a transition effect.
|
75
73
|
*
|
76
|
-
*
|
74
|
+
* @returns void - No return value. The alert is removed from the DOM and the onClosed event is emitted.
|
77
75
|
*/
|
78
76
|
close(): void;
|
79
77
|
/**
|
@@ -86,7 +84,7 @@ declare class AXAlertComponent extends MXColorComponent {
|
|
86
84
|
|
87
85
|
declare class AXAlertModule {
|
88
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXAlertModule, never>;
|
89
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXAlertModule, never, [typeof
|
87
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXAlertModule, never, [typeof AXAlertComponent], [typeof AXAlertComponent]>;
|
90
88
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXAlertModule>;
|
91
89
|
}
|
92
90
|
|
package/autocomplete/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { AfterViewInit, OnDestroy, TemplateRef } from '@angular/core';
|
3
3
|
import * as polytype from 'polytype';
|
4
|
-
import { MXSelectionValueComponent, MXLookComponent, AXDataSource, MXSelectionBridgeService, AXAutocompleteParentComponent, MXInputBaseValueComponent, AXEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
4
|
+
import { MXSelectionValueComponent, MXLookComponent, AXDataSource, MXSelectionBridgeService, AXAutocompleteParentComponent, MXInputBaseValueComponent, AXEvent, AXValueChangedEvent, AXItemClickEvent, AXItemSelectedEvent } from '@acorex/cdk/common';
|
5
5
|
import { MXDropdownBoxBaseComponent, AXDropdownBoxComponent } from '@acorex/components/dropdown';
|
6
6
|
import { AXListComponent } from '@acorex/components/list';
|
7
7
|
|
@@ -100,6 +100,10 @@ declare class AXAutocompleteComponent extends AXAutocompleteComponent_base imple
|
|
100
100
|
/** @ignore */
|
101
101
|
protected _handleValueChanged(e: AXValueChangedEvent): void;
|
102
102
|
/** @ignore */
|
103
|
+
protected _handleItemClick(e: AXItemClickEvent): void;
|
104
|
+
/** @ignore */
|
105
|
+
protected _handleItemSelected(e: AXItemSelectedEvent): void;
|
106
|
+
/** @ignore */
|
103
107
|
private setDropdownSize;
|
104
108
|
/**
|
105
109
|
* Filters the data source based on the provided search term.
|
@@ -110,8 +114,9 @@ declare class AXAutocompleteComponent extends AXAutocompleteComponent_base imple
|
|
110
114
|
* Refreshes the component by resetting state, clearing selection cache, refreshing the list, and closing the component.
|
111
115
|
*/
|
112
116
|
refresh(): void;
|
117
|
+
private get __hostName();
|
113
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutocompleteComponent, never>;
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAutocompleteComponent, "ax-autocomplete", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "delayTime": { "alias": "delayTime"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["ax-footer"], true, never>;
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXAutocompleteComponent, "ax-autocomplete", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "delayTime": { "alias": "delayTime"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; "onItemClick": "onItemClick"; "onItemSelected": "onItemSelected"; }, never, ["ax-footer"], true, never>;
|
115
120
|
}
|
116
121
|
|
117
122
|
declare class AXAutocompleteModule {
|
package/avatar/index.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { QueryList } from '@angular/core';
|
3
3
|
import { MXColorComponent } from '@acorex/cdk/common';
|
4
|
-
import * as i1 from '@angular/common';
|
5
4
|
|
6
5
|
declare class AXAvatarGroupComponent {
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarGroupComponent, never>;
|
@@ -10,12 +9,14 @@ declare class AXAvatarGroupComponent {
|
|
10
9
|
|
11
10
|
/**
|
12
11
|
* The Avatar component displays a user's profile image or initials, typically used for user identification.
|
12
|
+
* It supports multiple content types including text, icons, images, and badges.
|
13
13
|
*
|
14
14
|
* @category Components
|
15
15
|
*/
|
16
16
|
declare class AXAvatarComponent extends MXColorComponent {
|
17
17
|
/**
|
18
|
-
*
|
18
|
+
* Content children for avatar content (ax-image, ax-icon, ax-text).
|
19
|
+
* Used internally to determine if fallback SVG should be shown.
|
19
20
|
*/
|
20
21
|
protected children: i0.Signal<readonly QueryList<unknown>[]>;
|
21
22
|
/**
|
@@ -25,18 +26,23 @@ declare class AXAvatarComponent extends MXColorComponent {
|
|
25
26
|
*/
|
26
27
|
size: i0.ModelSignal<number>;
|
27
28
|
/**
|
28
|
-
* Specifies the visual style of the avatar.
|
29
|
+
* Specifies the visual style of the avatar's corners.
|
29
30
|
*
|
30
31
|
* @defaultValue 'rounded'
|
31
32
|
*/
|
32
33
|
shape: i0.InputSignal<"sharp" | "soft" | "rounded">;
|
34
|
+
/**
|
35
|
+
* Specifies the visual style of the avatar appearance.
|
36
|
+
*
|
37
|
+
* @defaultValue 'solid'
|
38
|
+
*/
|
33
39
|
look: i0.InputSignal<"solid" | "twotone">;
|
34
40
|
/**
|
35
|
-
*
|
41
|
+
* @ignore
|
36
42
|
*/
|
37
43
|
private get __hostClass();
|
38
44
|
/**
|
39
|
-
*
|
45
|
+
* @ignore
|
40
46
|
*/
|
41
47
|
private get __hostStyle();
|
42
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarComponent, never>;
|
@@ -45,7 +51,7 @@ declare class AXAvatarComponent extends MXColorComponent {
|
|
45
51
|
|
46
52
|
declare class AXAvatarModule {
|
47
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarModule, never>;
|
48
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXAvatarModule, never, [typeof
|
54
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXAvatarModule, never, [typeof AXAvatarComponent, typeof AXAvatarGroupComponent], [typeof AXAvatarComponent, typeof AXAvatarGroupComponent]>;
|
49
55
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXAvatarModule>;
|
50
56
|
}
|
51
57
|
|
package/badge/index.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { MXColorLookComponent } from '@acorex/cdk/common';
|
3
|
-
import * as i1 from '@angular/common';
|
4
3
|
|
5
4
|
declare class AXBadgeComponent extends MXColorLookComponent {
|
6
5
|
/**
|
@@ -19,7 +18,7 @@ declare class AXBadgeComponent extends MXColorLookComponent {
|
|
19
18
|
|
20
19
|
declare class AXBadgeModule {
|
21
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBadgeModule, never>;
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXBadgeModule, never, [typeof
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXBadgeModule, never, [typeof AXBadgeComponent], [typeof AXBadgeComponent]>;
|
23
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXBadgeModule>;
|
24
23
|
}
|
25
24
|
|
@@ -3,12 +3,20 @@ import * as i1 from '@acorex/cdk/common';
|
|
3
3
|
import { MXInteractiveComponent, MXLookComponent, AXClickEvent } from '@acorex/cdk/common';
|
4
4
|
import * as i0 from '@angular/core';
|
5
5
|
import { EventEmitter, AfterContentInit } from '@angular/core';
|
6
|
-
import * as i1$1 from '@angular/common';
|
7
6
|
|
8
7
|
declare const AXBottomNavigationItemComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXLookComponent]>;
|
9
8
|
declare class AXBottomNavigationItemComponent extends AXBottomNavigationItemComponent_base {
|
9
|
+
/**
|
10
|
+
* The name of the navigation item.
|
11
|
+
*/
|
10
12
|
name: string;
|
13
|
+
/**
|
14
|
+
* Indicates if the item is currently active.
|
15
|
+
*/
|
11
16
|
active: boolean;
|
17
|
+
/**
|
18
|
+
* Emitted when the item is clicked. Payload is the click event.
|
19
|
+
*/
|
12
20
|
onClick: EventEmitter<AXClickEvent>;
|
13
21
|
get __hostClass(): string;
|
14
22
|
protected handleClick(e: MouseEvent): void;
|
@@ -59,7 +67,7 @@ declare class AXBottomNavigationComponent implements AfterContentInit {
|
|
59
67
|
|
60
68
|
declare class AXBottomNavigationModule {
|
61
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBottomNavigationModule, never>;
|
62
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXBottomNavigationModule, never, [typeof
|
70
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXBottomNavigationModule, never, [typeof AXBottomNavigationComponent, typeof AXBottomNavigationItemComponent], [typeof AXBottomNavigationComponent, typeof AXBottomNavigationItemComponent]>;
|
63
71
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXBottomNavigationModule>;
|
64
72
|
}
|
65
73
|
|
package/breadcrumbs/index.d.ts
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
import { MXBaseComponent, MXInteractiveComponent } from '@acorex/cdk/common';
|
2
2
|
import * as i0 from '@angular/core';
|
3
3
|
import { AfterViewInit, TemplateRef } from '@angular/core';
|
4
|
-
import * as i1 from '@angular/common';
|
5
|
-
import * as i2 from '@angular/router';
|
6
4
|
|
7
5
|
interface AXBreadcrumbsItems {
|
8
6
|
name?: string;
|
@@ -20,8 +18,19 @@ interface AXBreadcrumbsItems {
|
|
20
18
|
* @category Components
|
21
19
|
*/
|
22
20
|
declare class AXBreadCrumbsComponent extends MXBaseComponent implements AfterViewInit {
|
21
|
+
private readonly platformId;
|
22
|
+
/**
|
23
|
+
* Content child template for custom divider between breadcrumb items.
|
24
|
+
*/
|
23
25
|
protected _divider: i0.Signal<TemplateRef<any>>;
|
26
|
+
/**
|
27
|
+
* View child template for the divider template.
|
28
|
+
*/
|
24
29
|
dividerTemplate: i0.Signal<TemplateRef<any>>;
|
30
|
+
/**
|
31
|
+
* Scrolls the breadcrumbs container to the rightmost position after view initialization.
|
32
|
+
* This ensures that the most recent breadcrumb items are visible when there are many items.
|
33
|
+
*/
|
25
34
|
ngAfterViewInit(): void;
|
26
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsComponent, never>;
|
27
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsComponent, "ax-breadcrumbs", never, {}, {}, ["_divider"], ["ax-breadcrumbs-item"], true, never>;
|
@@ -33,13 +42,17 @@ declare class AXBreadCrumbsComponent extends MXBaseComponent implements AfterVie
|
|
33
42
|
* @category Components
|
34
43
|
*/
|
35
44
|
declare class AXBreadCrumbsItemComponent extends MXInteractiveComponent {
|
45
|
+
/**
|
46
|
+
* Reference to the parent breadcrumbs component.
|
47
|
+
*/
|
36
48
|
_parent: AXBreadCrumbsComponent;
|
37
49
|
/**
|
38
50
|
* Indicates whether this breadcrumb item is the current active item.
|
39
51
|
*/
|
40
52
|
active: boolean;
|
41
53
|
/**
|
42
|
-
*
|
54
|
+
* Host binding for CSS classes based on component state.
|
55
|
+
* Applies 'ax-state-active' when active is true and 'ax-state-disabled' when disabled is true.
|
43
56
|
*/
|
44
57
|
private get __hostClass();
|
45
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsItemComponent, never>;
|
@@ -48,7 +61,7 @@ declare class AXBreadCrumbsItemComponent extends MXInteractiveComponent {
|
|
48
61
|
|
49
62
|
declare class AXBreadcrumbsModule {
|
50
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadcrumbsModule, never>;
|
51
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXBreadcrumbsModule, never, [typeof
|
64
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXBreadcrumbsModule, never, [typeof AXBreadCrumbsComponent, typeof AXBreadCrumbsItemComponent], [typeof AXBreadCrumbsComponent, typeof AXBreadCrumbsItemComponent]>;
|
52
65
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXBreadcrumbsModule>;
|
53
66
|
}
|
54
67
|
|
package/button/index.d.ts
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { EventEmitter, QueryList, AfterViewInit } from '@angular/core';
|
3
|
-
import * as i2 from '@acorex/cdk/common';
|
4
3
|
import { MXInteractiveComponent, MXColorComponent, AXClickEvent, AXStyleColorType, AXItemClickEvent, AXStyleLookType, AXHotKeyAction, MXButtonBaseComponent } from '@acorex/cdk/common';
|
5
4
|
import * as polytype from 'polytype';
|
6
|
-
import * as i4 from '@acorex/components/loading';
|
7
5
|
import { AXLoadingComponent } from '@acorex/components/loading';
|
8
|
-
import * as i1 from '@angular/common';
|
9
|
-
import * as i3 from '@acorex/components/decorators';
|
10
6
|
|
11
7
|
interface AXButtonItemListItem {
|
12
8
|
name: string;
|
@@ -14,6 +10,7 @@ interface AXButtonItemListItem {
|
|
14
10
|
icon: string;
|
15
11
|
divided?: boolean;
|
16
12
|
disabled?: boolean;
|
13
|
+
selected?: boolean;
|
17
14
|
color?: AXStyleColorType;
|
18
15
|
}
|
19
16
|
declare const AXButtonItemComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXColorComponent]>;
|
@@ -59,23 +56,41 @@ declare class AXButtonItemComponent extends AXButtonItemComponent_base {
|
|
59
56
|
*/
|
60
57
|
onClick: EventEmitter<AXClickEvent>;
|
61
58
|
/**
|
62
|
-
*
|
59
|
+
* Handles click events on the button item host element.
|
60
|
+
* Emits the onClick event if the component is not disabled.
|
61
|
+
*
|
62
|
+
* @param e - The mouse event that triggered the click.
|
63
|
+
* @ignore
|
63
64
|
*/
|
64
65
|
private __hostClick;
|
65
66
|
/**
|
66
|
-
*
|
67
|
+
* Handles focus events on the button item host element.
|
68
|
+
* Emits the onFocus event.
|
69
|
+
*
|
70
|
+
* @param e - The focus event that was triggered.
|
71
|
+
* @ignore
|
67
72
|
*/
|
68
73
|
private __hostFocus;
|
69
74
|
/**
|
70
|
-
*
|
75
|
+
* Handles blur events on the button item host element.
|
76
|
+
* Emits the onBlur event.
|
77
|
+
*
|
78
|
+
* @param e - The blur event that was triggered.
|
79
|
+
* @ignore
|
71
80
|
*/
|
72
81
|
private __hostBlur;
|
73
82
|
/**
|
74
|
-
*
|
83
|
+
* Generates the CSS classes for the button item host element.
|
84
|
+
* Includes classes for icon-only state, disabled state, selected state, divided state, and color.
|
85
|
+
*
|
86
|
+
* @returns string - The space-separated CSS class names.
|
87
|
+
* @ignore
|
75
88
|
*/
|
76
89
|
private get __hostClass();
|
77
90
|
/**
|
78
|
-
*
|
91
|
+
* Sets the tabindex attribute for keyboard navigation.
|
92
|
+
*
|
93
|
+
* @ignore
|
79
94
|
*/
|
80
95
|
tabindex: string;
|
81
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonItemComponent, never>;
|
@@ -104,31 +119,55 @@ declare class AXButtonItemListComponent extends MXInteractiveComponent {
|
|
104
119
|
*/
|
105
120
|
onItemClick: EventEmitter<AXItemClickEvent<AXButtonItemComponent>>;
|
106
121
|
/**
|
107
|
-
*
|
122
|
+
* Initializes the button item list component.
|
123
|
+
* Sets up content change detection and initializes content after the next render.
|
124
|
+
*
|
125
|
+
* @ignore
|
108
126
|
*/
|
109
127
|
constructor();
|
110
128
|
/**
|
111
|
-
*
|
129
|
+
* Initializes the content of the button item list.
|
130
|
+
* Binds events and properties to content button items and marks for change detection.
|
131
|
+
*
|
132
|
+
* @ignore
|
112
133
|
*/
|
113
134
|
private _initContents;
|
114
135
|
/**
|
115
|
-
*
|
136
|
+
* Binds click events to content button items.
|
137
|
+
* Subscribes to onClick events of child button items if not already subscribed.
|
138
|
+
*
|
139
|
+
* @ignore
|
116
140
|
*/
|
117
141
|
private _bindEvents;
|
118
142
|
/**
|
119
|
-
*
|
143
|
+
* Binds properties to content button items.
|
144
|
+
* Sets the disabled state of child button items based on the parent's disabled state.
|
145
|
+
*
|
146
|
+
* @ignore
|
120
147
|
*/
|
121
148
|
private _bindProps;
|
122
149
|
/**
|
123
|
-
*
|
150
|
+
* Handles click events from button items.
|
151
|
+
* Closes the parent component if available and emits the item click event.
|
152
|
+
*
|
153
|
+
* @param e - The click event from the button item.
|
154
|
+
* @ignore
|
124
155
|
*/
|
125
156
|
protected _handleOnItemClick(e: AXClickEvent): void;
|
126
157
|
/**
|
127
|
-
*
|
158
|
+
* Emits the onItemClick event with details about the clicked item.
|
159
|
+
*
|
160
|
+
* @param e - The click event from the button item.
|
161
|
+
* @param item - The button item component that was clicked.
|
162
|
+
* @ignore
|
128
163
|
*/
|
129
164
|
_emitOnItemClickEvent(e: AXClickEvent, item: AXButtonItemComponent): void;
|
130
165
|
/**
|
131
|
-
*
|
166
|
+
* Generates the CSS classes for the button item list host element.
|
167
|
+
* Includes classes for action list and vertical layout.
|
168
|
+
*
|
169
|
+
* @returns string - The space-separated CSS class names.
|
170
|
+
* @ignore
|
132
171
|
*/
|
133
172
|
private get __hostClass();
|
134
173
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonItemListComponent, never>;
|
@@ -222,7 +261,7 @@ declare class AXButtonComponent extends MXButtonBaseComponent implements AfterVi
|
|
222
261
|
|
223
262
|
declare class AXButtonModule {
|
224
263
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonModule, never>;
|
225
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonModule, never, [typeof
|
264
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonModule, never, [typeof AXButtonComponent, typeof AXButtonItemComponent, typeof AXButtonItemListComponent], [typeof AXButtonComponent, typeof AXButtonItemComponent, typeof AXButtonItemListComponent]>;
|
226
265
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXButtonModule>;
|
227
266
|
}
|
228
267
|
|
package/button-group/index.d.ts
CHANGED
@@ -2,9 +2,6 @@ import * as polytype from 'polytype';
|
|
2
2
|
import { MXInteractiveComponent, MXColorLookComponent, AXClickEvent, AXSelectionMode, AXStyleColorType, MXColorComponent } from '@acorex/cdk/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
4
|
import { EventEmitter } from '@angular/core';
|
5
|
-
import * as i1 from '@angular/common';
|
6
|
-
import * as i2 from '@acorex/components/decorators';
|
7
|
-
import * as i3 from '@acorex/components/button';
|
8
5
|
|
9
6
|
declare const AXButtonGroupComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXColorLookComponent]>;
|
10
7
|
/**
|
@@ -30,6 +27,11 @@ declare class AXButtonGroupComponent extends AXButtonGroupComponent_base {
|
|
30
27
|
* @event
|
31
28
|
*/
|
32
29
|
selectionChange: EventEmitter<AXSelectionMode>;
|
30
|
+
/**
|
31
|
+
* Emits the button item component instance when the selected button changes.
|
32
|
+
*
|
33
|
+
* @event
|
34
|
+
*/
|
33
35
|
selectedButtonChange: i0.OutputEmitterRef<AXButtonGroupItemComponent>;
|
34
36
|
/**
|
35
37
|
* @ignore
|
@@ -54,9 +56,10 @@ declare class AXButtonGroupComponent extends AXButtonGroupComponent_base {
|
|
54
56
|
*/
|
55
57
|
private _bindProps;
|
56
58
|
/**
|
59
|
+
* @ignore
|
57
60
|
* Updates component properties based on internal option changes.
|
58
61
|
*/
|
59
|
-
internalOptionChanged(): void;
|
62
|
+
protected internalOptionChanged(): void;
|
60
63
|
/**
|
61
64
|
* @ignore
|
62
65
|
*/
|
@@ -158,7 +161,7 @@ declare class AXButtonGroupItemComponent extends AXButtonGroupItemComponent_base
|
|
158
161
|
|
159
162
|
declare class AXButtonGroupModule {
|
160
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupModule, never>;
|
161
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonGroupModule, never, [typeof
|
164
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonGroupModule, never, [typeof AXButtonGroupComponent, typeof AXButtonGroupItemComponent], [typeof AXButtonGroupComponent, typeof AXButtonGroupItemComponent]>;
|
162
165
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXButtonGroupModule>;
|
163
166
|
}
|
164
167
|
|
package/calendar/index.d.ts
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
import * as polytype from 'polytype';
|
2
2
|
import * as i0 from '@angular/core';
|
3
3
|
import { TemplateRef, EventEmitter, AfterViewInit } from '@angular/core';
|
4
|
-
import * as i5 from '@acorex/cdk/common';
|
5
4
|
import { MXBaseComponent, AXItemClickEvent, AXRangeChangedEvent, MXValueComponent, AXRange, MXInteractiveComponent, AXClickEvent, MXComponentOptionChanged } from '@acorex/cdk/common';
|
6
|
-
import * as i2 from '@acorex/core/date-time';
|
7
5
|
import { AXCalendarService, AXDateTime, AXDateTimeRange } from '@acorex/core/date-time';
|
8
6
|
import { AXLocaleService } from '@acorex/core/locale';
|
9
|
-
import * as i3 from '@acorex/core/translation';
|
10
7
|
import { AXTranslationService } from '@acorex/core/translation';
|
11
|
-
import * as i1 from '@angular/common';
|
12
|
-
import * as i4 from '@acorex/components/tooltip';
|
13
8
|
|
14
9
|
type AXCalendarViewType = 'year' | 'month' | 'day';
|
15
10
|
type AXCalendarViewDepth = AXCalendarViewType;
|
@@ -192,7 +187,7 @@ declare const AXCalendarComponent_base: polytype.Polytype.ClusteredConstructor<[
|
|
192
187
|
declare class AXCalendarComponent extends AXCalendarComponent_base implements AfterViewInit {
|
193
188
|
private formatService;
|
194
189
|
protected calendar: i0.WritableSignal<string>;
|
195
|
-
get displayRange(): AXDateTimeRange;
|
190
|
+
get displayRange(): AXDateTimeRange | null;
|
196
191
|
/**
|
197
192
|
* @ignore
|
198
193
|
*/
|
@@ -277,6 +272,9 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
277
272
|
* @ignore
|
278
273
|
*/
|
279
274
|
protected _handleNavClick(e: AXClickEvent | any, view: AXCalendarViewType): void;
|
275
|
+
/**
|
276
|
+
* Toggles between different calendar views (day → month → year).
|
277
|
+
*/
|
280
278
|
toggleView(): void;
|
281
279
|
/**
|
282
280
|
* @ignore
|
@@ -295,18 +293,31 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
295
293
|
*/
|
296
294
|
protected _handleGoToday(): void;
|
297
295
|
/**
|
298
|
-
* Navigates
|
299
|
-
*
|
296
|
+
* Navigates forward in the calendar based on the current active view and the configured count.
|
297
|
+
*
|
298
|
+
* Behavior by view:
|
299
|
+
* - day view: advances by count months
|
300
|
+
* - month view: advances by count years
|
301
|
+
* - year view: advances by 10 × count years
|
302
|
+
*
|
303
|
+
* @returns void
|
300
304
|
*/
|
301
305
|
next(): void;
|
302
306
|
/**
|
303
|
-
* Navigates
|
304
|
-
*
|
307
|
+
* Navigates backward in the calendar based on the current active view and the configured count.
|
308
|
+
*
|
309
|
+
* Behavior by view:
|
310
|
+
* - day view: goes back by count months
|
311
|
+
* - month view: goes back by count years
|
312
|
+
* - year view: goes back by 10 × count years
|
313
|
+
*
|
314
|
+
* @returns void
|
305
315
|
*/
|
306
316
|
prev(): void;
|
307
317
|
/**
|
308
318
|
* Sets focus to the currently selected calendar slot or the first available slot.
|
309
|
-
*
|
319
|
+
*
|
320
|
+
* @returns void
|
310
321
|
*/
|
311
322
|
focus(): void;
|
312
323
|
/**
|
@@ -314,15 +325,16 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
314
325
|
*/
|
315
326
|
private _navNextPrev;
|
316
327
|
/**
|
317
|
-
* Navigates to the current date.
|
318
|
-
*
|
328
|
+
* Navigates to the current date and emits the navigation event.
|
329
|
+
*
|
330
|
+
* @returns void
|
319
331
|
*/
|
320
332
|
goToday(): void;
|
321
333
|
/**
|
322
334
|
* Navigates to a specified date and updates the view.
|
323
335
|
*
|
324
|
-
* @param date
|
325
|
-
* @
|
336
|
+
* @param date The date to navigate to, which can be a Date object or an AXDateTime instance.
|
337
|
+
* @returns void
|
326
338
|
*/
|
327
339
|
navTo(date: Date | AXDateTime): void;
|
328
340
|
/**
|
@@ -359,7 +371,7 @@ declare class AXCalendarComponent extends AXCalendarComponent_base implements Af
|
|
359
371
|
|
360
372
|
declare class AXCalendarModule {
|
361
373
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarModule, never>;
|
362
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, never, [typeof
|
374
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, never, [typeof AXCalendarComponent, typeof AXCalendarRangeComponent], [typeof AXCalendarComponent, typeof AXCalendarRangeComponent]>;
|
363
375
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
|
364
376
|
}
|
365
377
|
|
package/check-box/index.d.ts
CHANGED
@@ -1,9 +1,6 @@
|
|
1
1
|
import * as polytype from 'polytype';
|
2
2
|
import * as i0 from '@angular/core';
|
3
3
|
import { MXValueComponent, MXColorComponent } from '@acorex/cdk/common';
|
4
|
-
import * as i1 from '@angular/common';
|
5
|
-
import * as i2 from '@angular/forms';
|
6
|
-
import * as i3 from '@acorex/components/decorators';
|
7
4
|
|
8
5
|
declare const AXCheckBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
9
6
|
new (): MXValueComponent<boolean>;
|
@@ -63,12 +60,12 @@ declare class AXCheckBoxComponent extends AXCheckBoxComponent_base {
|
|
63
60
|
private get __hostClass();
|
64
61
|
protected changeValue(): void;
|
65
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], true, never>;
|
67
64
|
}
|
68
65
|
|
69
66
|
declare class AXCheckBoxModule {
|
70
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxModule, never>;
|
71
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCheckBoxModule, never, [typeof
|
68
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCheckBoxModule, never, [typeof AXCheckBoxComponent], [typeof AXCheckBoxComponent]>;
|
72
69
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCheckBoxModule>;
|
73
70
|
}
|
74
71
|
|