@acorex/components 21.0.2-next.5 → 21.0.2-next.51
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/conversation2/README.md +5 -8
- package/fesm2022/acorex-components-accordion.mjs +29 -29
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +30 -30
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +16 -16
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs +5 -5
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +11 -11
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +14 -14
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +17 -16
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +9 -9
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +14 -14
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +13 -13
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +40 -20
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +35 -36
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +256 -54
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +10 -10
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +9 -9
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +13 -13
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +27 -27
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +14 -14
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +84 -43
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +19 -19
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +35 -35
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +105 -105
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +11165 -8111
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +51 -51
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +31 -31
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +93 -104
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +69 -57
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +174 -39
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +30 -38
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +62 -55
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +39 -39
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +19 -26
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +23 -23
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
- package/fesm2022/acorex-components-dropdown.mjs +19 -19
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +12 -12
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-fab.mjs +15 -15
- package/fesm2022/acorex-components-fab.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +74 -58
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +30 -30
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +15 -15
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +87 -87
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +11 -11
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +12 -12
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +23 -23
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +15 -15
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +9 -9
- package/fesm2022/acorex-components-list.mjs +15 -15
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +19 -19
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +21 -21
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +46 -46
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +82 -82
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +366 -197
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-CcXuJ4IW.mjs → acorex-components-modal-acorex-components-modal-JpPBSiVh.mjs} +28 -28
- package/fesm2022/{acorex-components-modal-acorex-components-modal-CcXuJ4IW.mjs.map → acorex-components-modal-acorex-components-modal-JpPBSiVh.mjs.map} +1 -1
- package/fesm2022/{acorex-components-modal-modal-content.component-DTZu2zbU.mjs → acorex-components-modal-modal-content.component-DKweXQfl.mjs} +39 -39
- package/fesm2022/acorex-components-modal-modal-content.component-DKweXQfl.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +8 -8
- package/fesm2022/acorex-components-notification.mjs +28 -28
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +61 -23
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +45 -21
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-paint.mjs +53 -53
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +28 -28
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +9 -9
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +19 -19
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +31 -31
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +11 -11
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +48 -24
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +8 -8
- package/fesm2022/acorex-components-qrcode.mjs +37 -20
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +15 -14
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +9 -9
- package/fesm2022/acorex-components-rail-navigation.mjs +28 -28
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +34 -34
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +17 -17
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +33 -33
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +8 -8
- package/fesm2022/acorex-components-routing-progress.mjs +8 -8
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +36 -36
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +118 -118
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +398 -326
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +9 -9
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +22 -22
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +12 -12
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +11 -11
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +455 -97
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +8 -8
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +7 -7
- package/fesm2022/acorex-components-sliding-item.mjs +25 -25
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +40 -39
- 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 -20
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +19 -19
- 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 +9 -9
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +12 -12
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +34 -32
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +19 -19
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +26 -26
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +13 -13
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +27 -18
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +326 -67
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +17 -17
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +8 -8
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +60 -53
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +5 -4
- package/types/acorex-components-button-group.d.ts +9 -3
- package/types/acorex-components-button.d.ts +2 -8
- package/types/acorex-components-calendar.d.ts +138 -27
- package/types/acorex-components-color-palette.d.ts +2 -0
- package/types/acorex-components-conversation2.d.ts +1296 -1256
- package/types/acorex-components-data-pager.d.ts +6 -25
- package/types/acorex-components-data-table.d.ts +12 -2
- package/types/acorex-components-datetime-box.d.ts +79 -8
- package/types/acorex-components-datetime-input.d.ts +2 -2
- package/types/acorex-components-datetime-picker.d.ts +15 -5
- package/types/acorex-components-flow-chart.d.ts +4 -0
- package/types/acorex-components-menu.d.ts +105 -36
- package/types/acorex-components-number-box.d.ts +9 -0
- package/types/acorex-components-otp.d.ts +18 -1
- package/types/acorex-components-popup.d.ts +11 -1
- package/types/acorex-components-qrcode.d.ts +1 -0
- package/types/acorex-components-query-builder.d.ts +1 -1
- package/types/acorex-components-scheduler.d.ts +23 -2
- package/types/acorex-components-side-menu.d.ts +96 -34
- package/types/acorex-components-step-wizard.d.ts +2 -1
- package/types/acorex-components-time-duration.d.ts +1 -0
- package/types/acorex-components-tree-view.d.ts +43 -2
- package/types/acorex-components-wysiwyg.d.ts +6 -1
- package/fesm2022/acorex-components-modal-modal-content.component-DTZu2zbU.mjs.map +0 -1
|
@@ -59,6 +59,7 @@ declare abstract class AXDataPagerParentComponent {
|
|
|
59
59
|
declare abstract class AXDataPagerChild extends MXInteractiveComponent {
|
|
60
60
|
protected _parent: AXDataPagerParentComponent;
|
|
61
61
|
protected _unsubscriber: AXUnsubscriber;
|
|
62
|
+
private _localeService;
|
|
62
63
|
/**
|
|
63
64
|
* @ignore
|
|
64
65
|
*/
|
|
@@ -130,14 +131,8 @@ declare class AXDataPagerInputSelectorComponent extends AXDataPagerChild {
|
|
|
130
131
|
* @category Components
|
|
131
132
|
*/
|
|
132
133
|
declare class AXDataPagerNextButtonsComponent extends AXDataPagerChild {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
*/
|
|
136
|
-
protected rtl: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* @ignore
|
|
139
|
-
*/
|
|
140
|
-
ngOnInit(): void;
|
|
134
|
+
private localeService;
|
|
135
|
+
protected readonly isRtl: i0.Signal<boolean>;
|
|
141
136
|
/**
|
|
142
137
|
* @ignore
|
|
143
138
|
*/
|
|
@@ -165,19 +160,11 @@ declare class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {
|
|
|
165
160
|
protected _lastPage: number;
|
|
166
161
|
protected _loading: boolean;
|
|
167
162
|
private localeService;
|
|
168
|
-
protected
|
|
163
|
+
protected readonly isRtl: i0.Signal<boolean>;
|
|
169
164
|
/**
|
|
170
165
|
* @ignore
|
|
171
166
|
*/
|
|
172
167
|
private _displayCount;
|
|
173
|
-
/**
|
|
174
|
-
* @ignore
|
|
175
|
-
*/
|
|
176
|
-
protected rtl: boolean;
|
|
177
|
-
/**
|
|
178
|
-
* @ignore
|
|
179
|
-
*/
|
|
180
|
-
constructor();
|
|
181
168
|
/**
|
|
182
169
|
* @ignore
|
|
183
170
|
*/
|
|
@@ -236,14 +223,8 @@ declare class AXDataPagerPageSizesComponent extends AXDataPagerChild {
|
|
|
236
223
|
* @category Components
|
|
237
224
|
*/
|
|
238
225
|
declare class AXDataPagerPrevButtonsComponent extends AXDataPagerChild {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
*/
|
|
242
|
-
protected rtl: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* @ignore
|
|
245
|
-
*/
|
|
246
|
-
ngOnInit(): void;
|
|
226
|
+
private localeService;
|
|
227
|
+
protected readonly isRtl: i0.Signal<boolean>;
|
|
247
228
|
/**
|
|
248
229
|
* @ignore
|
|
249
230
|
*/
|
|
@@ -34,6 +34,7 @@ interface onColumnSizeChangedEvent extends AXEvent {
|
|
|
34
34
|
}
|
|
35
35
|
interface AXDataTableRowDbClick extends AXDataTableRowClick {
|
|
36
36
|
}
|
|
37
|
+
type AXDataTableLook = 'classic' | 'minimal';
|
|
37
38
|
declare abstract class AXBaseDataTable extends MXBaseComponent {
|
|
38
39
|
dataSource: AXDataSource<unknown>;
|
|
39
40
|
/**
|
|
@@ -613,6 +614,15 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
|
613
614
|
*/
|
|
614
615
|
declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, AfterViewInit {
|
|
615
616
|
#private;
|
|
617
|
+
/**
|
|
618
|
+
* Controls the table look.
|
|
619
|
+
*
|
|
620
|
+
* - `classic` — classic look (default).
|
|
621
|
+
* - `minimal` — minimal look.
|
|
622
|
+
*
|
|
623
|
+
* @defaultValue `'classic'`
|
|
624
|
+
*/
|
|
625
|
+
look: i0.InputSignal<AXDataTableLook>;
|
|
616
626
|
private _unsubscriber;
|
|
617
627
|
private _zone;
|
|
618
628
|
private document;
|
|
@@ -992,7 +1002,7 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
992
1002
|
headerOnly?: boolean;
|
|
993
1003
|
}): void;
|
|
994
1004
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableComponent, never>;
|
|
995
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "parentField": { "alias": "parentField"; "required": false; }; "hasChildrenField": { "alias": "hasChildrenField"; "required": false; }; "rowDetailsTemplate": { "alias": "rowDetailsTemplate"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "noDataTemplate": { "alias": "noDataTemplate"; "required": false; }; "alternative": { "alias": "alternative"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fixedHeader": { "alias": "fixedHeader"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "fixedFooter": { "alias": "fixedFooter"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "paging": { "alias": "paging"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; }, { "selectedRowsChange": "selectedRowsChange"; "focusedRowChange": "focusedRowChange"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "onColumnsOrderChanged": "onColumnsOrderChanged"; "onColumnSizeChanged": "onColumnSizeChanged"; "onPageChanged": "onPageChanged"; }, ["customDataPager", "columns"], ["ax-header", "ax-data-pager", "ax-footer"], true, never>;
|
|
1005
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "parentField": { "alias": "parentField"; "required": false; }; "hasChildrenField": { "alias": "hasChildrenField"; "required": false; }; "rowDetailsTemplate": { "alias": "rowDetailsTemplate"; "required": false; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "noDataTemplate": { "alias": "noDataTemplate"; "required": false; }; "alternative": { "alias": "alternative"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fixedHeader": { "alias": "fixedHeader"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "fixedFooter": { "alias": "fixedFooter"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "paging": { "alias": "paging"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; }, { "selectedRowsChange": "selectedRowsChange"; "focusedRowChange": "focusedRowChange"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "onColumnsOrderChanged": "onColumnsOrderChanged"; "onColumnSizeChanged": "onColumnSizeChanged"; "onPageChanged": "onPageChanged"; }, ["customDataPager", "columns"], ["ax-header", "ax-data-pager", "ax-footer"], true, never>;
|
|
996
1006
|
}
|
|
997
1007
|
|
|
998
1008
|
declare class AXDataTableModule {
|
|
@@ -1002,4 +1012,4 @@ declare class AXDataTableModule {
|
|
|
1002
1012
|
}
|
|
1003
1013
|
|
|
1004
1014
|
export { AXBaseDataTable, AXBaseRowCommandColumnComponent, AXDataTableColumnComponent, AXDataTableColumnResizableDirective, AXDataTableComponent, AXDataTableModule, AXDataTableTextColumnComponent, AXRowCommandColumnComponent, AXRowDropdownCommandColumnComponent, AXRowExpandColumnComponent, AXRowIndexColumnComponent, AXRowSelectColumnComponent };
|
|
1005
|
-
export type { AXColumnsOrderChangedEvent, AXDataTableRowClick, AXDataTableRowDbClick, AXDataTableScrollIndexChanged, AXRowCommandItem, AXRowCommandItemClickEvent, onColumnSizeChangedEvent };
|
|
1015
|
+
export type { AXColumnsOrderChangedEvent, AXDataTableLook, AXDataTableRowClick, AXDataTableRowDbClick, AXDataTableScrollIndexChanged, AXRowCommandItem, AXRowCommandItemClickEvent, onColumnSizeChangedEvent };
|
|
@@ -1,13 +1,31 @@
|
|
|
1
|
+
import { TimeUnit } from '@acorex/core/date-time';
|
|
2
|
+
import * as dist_packages_core_types_acorex_core_date_time from 'dist/packages/core/types/acorex-core-date-time';
|
|
3
|
+
import * as _acorex_components_datetime_box from '@acorex/components/datetime-box';
|
|
1
4
|
import * as polytype from 'polytype';
|
|
2
5
|
import * as _angular_core from '@angular/core';
|
|
3
6
|
import { EventEmitter } from '@angular/core';
|
|
4
|
-
import { MXInputBaseValueComponent, MXLookComponent, AXEvent, AXFocusEvent } from '@acorex/cdk/common';
|
|
5
|
-
import { MXCalendarBaseComponent, AXDateTimePickerType, AXCalendarNavigateEvent } from '@acorex/components/calendar';
|
|
7
|
+
import { MXInputBaseValueComponent, MXLookComponent, AXEvent, AXFocusEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
8
|
+
import { MXCalendarBaseComponent, AXDateTimePickerType, AXCalendarNavigationLookType, AXCalendarYearRange, AXCalendarNavigateEvent } from '@acorex/components/calendar';
|
|
6
9
|
import { AXDateTimeInputComponent } from '@acorex/components/datetime-input';
|
|
7
10
|
import { AXDateTimePickerComponent } from '@acorex/components/datetime-picker';
|
|
8
11
|
import { AXDecoratorGenericComponent } from '@acorex/components/decorators';
|
|
9
12
|
import { MXDropdownBoxBaseComponent, AXDropdownBoxComponent } from '@acorex/components/dropdown';
|
|
10
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Controls how date/time is chosen in the datetime box.
|
|
16
|
+
* - `default`: text input with calendar popup.
|
|
17
|
+
* - `classic`: inline select boxes for year, month, day, and optionally hour/minute.
|
|
18
|
+
*/
|
|
19
|
+
type AXDateTimeBoxLookType = 'default' | 'classic';
|
|
20
|
+
type AXDateTimeBoxClassicPart = Extract<TimeUnit, 'year' | 'month' | 'day' | 'hour' | 'minute'>;
|
|
21
|
+
interface AXDateTimeBoxClassicField {
|
|
22
|
+
part: AXDateTimeBoxClassicPart;
|
|
23
|
+
dropdownWidth: string;
|
|
24
|
+
maxVisibleItems: number;
|
|
25
|
+
}
|
|
26
|
+
declare const AX_DATETIME_BOX_CLASSIC_DATE_FIELDS: AXDateTimeBoxClassicField[];
|
|
27
|
+
declare const AX_DATETIME_BOX_CLASSIC_TIME_FIELDS: AXDateTimeBoxClassicField[];
|
|
28
|
+
|
|
11
29
|
declare const AXDateTimeBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
12
30
|
new (): MXInputBaseValueComponent<Date>;
|
|
13
31
|
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
@@ -19,7 +37,6 @@ declare const AXDateTimeBoxComponent_base: polytype.Polytype.ClusteredConstructo
|
|
|
19
37
|
* @category Components
|
|
20
38
|
*/
|
|
21
39
|
declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
22
|
-
#private;
|
|
23
40
|
/**
|
|
24
41
|
* @ignore
|
|
25
42
|
*/
|
|
@@ -51,17 +68,62 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
|
51
68
|
readonly calendar: _angular_core.InputSignal<string>;
|
|
52
69
|
readonly weekend: _angular_core.InputSignal<number[]>;
|
|
53
70
|
readonly weekdays: _angular_core.InputSignal<number[]>;
|
|
71
|
+
/**
|
|
72
|
+
* Day view navigation style of the embedded calendar.
|
|
73
|
+
*/
|
|
74
|
+
readonly calendarLook: _angular_core.InputSignal<AXCalendarNavigationLookType>;
|
|
75
|
+
/**
|
|
76
|
+
* Years shown in the year selector when `calendarLook` is `select`.
|
|
77
|
+
* Use a number for equal past/future ranges, or `{ past, future }` for asymmetric ranges.
|
|
78
|
+
* `minValue` and `maxValue` take priority when set.
|
|
79
|
+
*/
|
|
80
|
+
readonly yearRange: _angular_core.InputSignal<AXCalendarYearRange>;
|
|
81
|
+
/**
|
|
82
|
+
* Input style of the datetime box.
|
|
83
|
+
* - `default`: text input with calendar popup.
|
|
84
|
+
* - `classic`: inline select boxes for date/time parts.
|
|
85
|
+
*/
|
|
86
|
+
readonly boxLook: _angular_core.InputSignal<AXDateTimeBoxLookType>;
|
|
54
87
|
/**
|
|
55
88
|
* @deprecated use locale & mode instead
|
|
56
89
|
*/
|
|
57
90
|
readonly format: _angular_core.InputSignal<string>;
|
|
58
91
|
protected _editingDateObj: _angular_core.WritableSignal<Date>;
|
|
59
|
-
protected _calendarSystem: _angular_core.
|
|
60
|
-
|
|
92
|
+
protected readonly _calendarSystem: _angular_core.Signal<string>;
|
|
93
|
+
protected readonly _resolvedFormat: _angular_core.Signal<string>;
|
|
94
|
+
protected readonly _classicDateFields: _acorex_components_datetime_box.AXDateTimeBoxClassicField[];
|
|
95
|
+
protected readonly _classicTimeFields: _acorex_components_datetime_box.AXDateTimeBoxClassicField[];
|
|
96
|
+
private readonly _classicTimeOptions;
|
|
97
|
+
protected _classicDate: _angular_core.Signal<dist_packages_core_types_acorex_core_date_time.AXDateTime>;
|
|
98
|
+
protected _classicYearOptions: _angular_core.Signal<{
|
|
99
|
+
id: number;
|
|
100
|
+
text: string;
|
|
101
|
+
}[]>;
|
|
102
|
+
protected _classicMonthOptions: _angular_core.Signal<{
|
|
103
|
+
id: number;
|
|
104
|
+
text: string;
|
|
105
|
+
}[]>;
|
|
106
|
+
protected _classicDayOptions: _angular_core.Signal<{
|
|
107
|
+
id: number;
|
|
108
|
+
text: string;
|
|
109
|
+
}[]>;
|
|
110
|
+
protected get _classicBoxClass(): string;
|
|
111
|
+
protected get _classicHasDatePart(): boolean;
|
|
112
|
+
protected get _classicHasTimePart(): boolean;
|
|
61
113
|
/**
|
|
62
114
|
* @ignore
|
|
63
115
|
*/
|
|
64
|
-
protected
|
|
116
|
+
protected _classicPartValue(part: AXDateTimeBoxClassicPart): {
|
|
117
|
+
id: number;
|
|
118
|
+
text: string;
|
|
119
|
+
} | null;
|
|
120
|
+
/**
|
|
121
|
+
* @ignore
|
|
122
|
+
*/
|
|
123
|
+
protected _classicPartOptions(part: AXDateTimeBoxClassicPart): {
|
|
124
|
+
id: number;
|
|
125
|
+
text: string;
|
|
126
|
+
}[];
|
|
65
127
|
/**
|
|
66
128
|
* @ignore
|
|
67
129
|
*/
|
|
@@ -92,13 +154,21 @@ declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base {
|
|
|
92
154
|
* @ignore
|
|
93
155
|
*/
|
|
94
156
|
internalValueChanged(value: any): void;
|
|
157
|
+
/**
|
|
158
|
+
* @ignore
|
|
159
|
+
*/
|
|
160
|
+
protected _handleClassicPartChanged(e: AXValueChangedEvent, part: AXDateTimeBoxClassicPart): void;
|
|
161
|
+
/**
|
|
162
|
+
* @ignore
|
|
163
|
+
*/
|
|
164
|
+
private _readSelectValue;
|
|
95
165
|
/**
|
|
96
166
|
* @ignore
|
|
97
167
|
*/
|
|
98
168
|
protected _handleInputOnClick(): void;
|
|
99
169
|
private get __hostName();
|
|
100
170
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDateTimeBoxComponent, never>;
|
|
101
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimeBoxComponent, "ax-datetime-box", 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; }; "depth": { "alias": "depth"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "allowTyping": { "alias": "allowTyping"; "required": false; "isSignal": true; }; "picker": { "alias": "picker"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "weekdays": { "alias": "weekdays"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onOpened": "onOpened"; "onClosed": "onClosed"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
|
171
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimeBoxComponent, "ax-datetime-box", 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; }; "depth": { "alias": "depth"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "allowTyping": { "alias": "allowTyping"; "required": false; "isSignal": true; }; "picker": { "alias": "picker"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "weekdays": { "alias": "weekdays"; "required": false; "isSignal": true; }; "calendarLook": { "alias": "calendarLook"; "required": false; "isSignal": true; }; "yearRange": { "alias": "yearRange"; "required": false; "isSignal": true; }; "boxLook": { "alias": "boxLook"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onOpened": "onOpened"; "onClosed": "onClosed"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix", "ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
|
102
172
|
}
|
|
103
173
|
|
|
104
174
|
declare class AXDateTimeBoxModule {
|
|
@@ -107,4 +177,5 @@ declare class AXDateTimeBoxModule {
|
|
|
107
177
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXDateTimeBoxModule>;
|
|
108
178
|
}
|
|
109
179
|
|
|
110
|
-
export { AXDateTimeBoxComponent, AXDateTimeBoxModule };
|
|
180
|
+
export { AXDateTimeBoxComponent, AXDateTimeBoxModule, AX_DATETIME_BOX_CLASSIC_DATE_FIELDS, AX_DATETIME_BOX_CLASSIC_TIME_FIELDS };
|
|
181
|
+
export type { AXDateTimeBoxClassicField, AXDateTimeBoxClassicPart, AXDateTimeBoxLookType };
|
|
@@ -34,7 +34,7 @@ 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 _calendarSystem: _angular_core.
|
|
37
|
+
protected readonly _calendarSystem: _angular_core.Signal<string>;
|
|
38
38
|
private _activePart;
|
|
39
39
|
private _editingDate;
|
|
40
40
|
/**
|
|
@@ -49,7 +49,7 @@ declare class AXDateTimeInputComponent extends MXInputBaseValueComponent<Date> {
|
|
|
49
49
|
*/
|
|
50
50
|
onClick: _angular_core.OutputEmitterRef<AXClickEvent>;
|
|
51
51
|
picker: _angular_core.InputSignal<AXDateTimePickerType>;
|
|
52
|
-
|
|
52
|
+
protected readonly _resolvedFormat: _angular_core.Signal<string>;
|
|
53
53
|
/**
|
|
54
54
|
* @deprecated use locale & mode instead
|
|
55
55
|
*/
|
|
@@ -2,7 +2,7 @@ import * as polytype from 'polytype';
|
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { OnInit, InjectionToken } from '@angular/core';
|
|
4
4
|
import { MXValueComponent, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
5
|
-
import { MXCalendarBaseComponent, AXDateTimePickerType, AXCalendarNavigateEvent } from '@acorex/components/calendar';
|
|
5
|
+
import { MXCalendarBaseComponent, AXCalendarNavigationLookType, AXCalendarYearRange, AXDateTimePickerType, AXCalendarNavigateEvent } from '@acorex/components/calendar';
|
|
6
6
|
import { AXTabsComponent, AXTabStripChangedEvent } from '@acorex/components/tabs';
|
|
7
7
|
import { AXDateTimeParts, AXDateTime } from '@acorex/core/date-time';
|
|
8
8
|
|
|
@@ -21,6 +21,16 @@ declare class AXDateTimePickerComponent extends AXDateTimePickerComponent_base i
|
|
|
21
21
|
private formatService;
|
|
22
22
|
weekend: _angular_core.InputSignal<number[]>;
|
|
23
23
|
weekdays: _angular_core.InputSignal<number[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Day view navigation style of the embedded calendar.
|
|
26
|
+
*/
|
|
27
|
+
calendarLook: _angular_core.InputSignal<AXCalendarNavigationLookType>;
|
|
28
|
+
/**
|
|
29
|
+
* Years shown in the year selector when `calendarLook` is `select`.
|
|
30
|
+
* Use a number for equal past/future ranges, or `{ past, future }` for asymmetric ranges.
|
|
31
|
+
* `minValue` and `maxValue` take priority when set.
|
|
32
|
+
*/
|
|
33
|
+
yearRange: _angular_core.InputSignal<AXCalendarYearRange>;
|
|
24
34
|
protected buttonText: _angular_core.Signal<"dateTime.today" | "dateTime.now">;
|
|
25
35
|
private defaultConfig;
|
|
26
36
|
protected pickerHoursMinValue: _angular_core.WritableSignal<number>;
|
|
@@ -66,14 +76,14 @@ declare class AXDateTimePickerComponent extends AXDateTimePickerComponent_base i
|
|
|
66
76
|
* @ignore
|
|
67
77
|
*/
|
|
68
78
|
protected get _hasTimePart(): boolean;
|
|
69
|
-
editingDateObj: _angular_core.WritableSignal<AXDateTime>;
|
|
70
79
|
/**
|
|
71
80
|
* @description The calendar type to use for the datetime input.
|
|
72
81
|
*/
|
|
73
82
|
calendar: _angular_core.InputSignal<string>;
|
|
74
|
-
protected _calendarSystem: _angular_core.
|
|
83
|
+
protected readonly _calendarSystem: _angular_core.Signal<string>;
|
|
84
|
+
editingDateObj: _angular_core.WritableSignal<AXDateTime>;
|
|
75
85
|
picker: _angular_core.InputSignal<AXDateTimePickerType>;
|
|
76
|
-
|
|
86
|
+
protected readonly _resolvedFormat: _angular_core.Signal<string>;
|
|
77
87
|
/**
|
|
78
88
|
* @deprecated use locale & mode instead
|
|
79
89
|
*/
|
|
@@ -127,7 +137,7 @@ declare class AXDateTimePickerComponent extends AXDateTimePickerComponent_base i
|
|
|
127
137
|
protected internalSetValue(value: Date): Date | null;
|
|
128
138
|
protected isTodayDisabled(): boolean;
|
|
129
139
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDateTimePickerComponent, never>;
|
|
130
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimePickerComponent, "ax-datetime-picker", 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; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "weekdays": { "alias": "weekdays"; "required": false; "isSignal": true; }; "currentTimeButton": { "alias": "currentTimeButton"; "required": false; }; "calendar": { "alias": "calendar"; "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"; "onClick": "onClick"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; }, never, never, true, never>;
|
|
140
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDateTimePickerComponent, "ax-datetime-picker", 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; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "weekdays": { "alias": "weekdays"; "required": false; "isSignal": true; }; "calendarLook": { "alias": "calendarLook"; "required": false; "isSignal": true; }; "yearRange": { "alias": "yearRange"; "required": false; "isSignal": true; }; "currentTimeButton": { "alias": "currentTimeButton"; "required": false; }; "calendar": { "alias": "calendar"; "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"; "onClick": "onClick"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; }, never, never, true, never>;
|
|
131
141
|
}
|
|
132
142
|
|
|
133
143
|
interface AXDateTimePickerConfig {
|
|
@@ -45,6 +45,8 @@ type AXLineClickEvent = {
|
|
|
45
45
|
declare class AXFlowChartService {
|
|
46
46
|
#private;
|
|
47
47
|
private zone;
|
|
48
|
+
private platformId;
|
|
49
|
+
private document;
|
|
48
50
|
initialFlowChartEdge: _angular_core.WritableSignal<any[]>;
|
|
49
51
|
initialFlowChartNode: _angular_core.WritableSignal<any[]>;
|
|
50
52
|
selectedNode: _angular_core.WritableSignal<AXFlowChartNodes>;
|
|
@@ -113,6 +115,8 @@ declare class AXFlowChartRendererComponent extends NXComponent implements OnDest
|
|
|
113
115
|
private canvas;
|
|
114
116
|
private svg;
|
|
115
117
|
private service;
|
|
118
|
+
private document;
|
|
119
|
+
private platformId;
|
|
116
120
|
readonly onLineClick: _angular_core.OutputEmitterRef<AXLineClickEvent>;
|
|
117
121
|
readonly onLineDbClick: _angular_core.OutputEmitterRef<AXLineClickEvent>;
|
|
118
122
|
readonly onNodeClick: _angular_core.OutputEmitterRef<AXNodeClickEvent>;
|
|
@@ -2,6 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { WritableSignal, OutputEmitterRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import { AXStyleColorType, NXComponent, NXClickEvent, AXOrientation, NXEvent } from '@acorex/cdk/common';
|
|
4
4
|
import { AXPoint } from '@acorex/core/utils';
|
|
5
|
+
import { UrlTree, IsActiveMatchOptions } from '@angular/router';
|
|
5
6
|
import { Subject } from 'rxjs';
|
|
6
7
|
|
|
7
8
|
type AXMenuOpenTrigger = 'click' | 'hover';
|
|
@@ -15,23 +16,41 @@ declare abstract class AXRootMenu {
|
|
|
15
16
|
hasArrow: WritableSignal<boolean>;
|
|
16
17
|
}
|
|
17
18
|
declare abstract class AXMenuItemComponentBase {
|
|
19
|
+
parent?: AXMenuItemComponentBase | null;
|
|
20
|
+
/** Resolves the parent item, including for `ngTemplateOutlet`-created nested items. */
|
|
21
|
+
getParentMenuItem?(): AXMenuItemComponentBase | null | undefined;
|
|
18
22
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
name?: string;
|
|
23
|
+
/** Shared tree item shape for `ax-menu`, `ax-context-menu`, and `ax-side-menu`. */
|
|
24
|
+
interface AXMenuItem {
|
|
22
25
|
text: string;
|
|
23
|
-
|
|
26
|
+
name?: string;
|
|
24
27
|
icon?: string;
|
|
28
|
+
data?: unknown;
|
|
25
29
|
disabled?: boolean;
|
|
26
30
|
items?: AXMenuItem[];
|
|
31
|
+
color?: AXStyleColorType;
|
|
27
32
|
suffix?: {
|
|
28
33
|
text: string;
|
|
29
34
|
};
|
|
35
|
+
/** Side-menu alias for `suffix.text`. */
|
|
36
|
+
suffixText?: string;
|
|
30
37
|
break?: boolean;
|
|
31
38
|
group?: {
|
|
32
39
|
name?: string;
|
|
33
40
|
title?: string;
|
|
34
41
|
};
|
|
42
|
+
title?: string;
|
|
43
|
+
routerLink?: string | any[] | UrlTree;
|
|
44
|
+
routerLinkActive?: string | string[];
|
|
45
|
+
routerLinkActiveOptions?: {
|
|
46
|
+
exact: boolean;
|
|
47
|
+
} | IsActiveMatchOptions;
|
|
48
|
+
href?: string;
|
|
49
|
+
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
50
|
+
active?: boolean;
|
|
51
|
+
isLoading?: boolean;
|
|
52
|
+
isCollapsed?: boolean;
|
|
53
|
+
toggleOnClick?: boolean;
|
|
35
54
|
}
|
|
36
55
|
declare class AXMenuItemClickBaseEvent<T extends NXComponent = NXComponent> extends NXClickEvent<T> {
|
|
37
56
|
item: {
|
|
@@ -56,6 +75,8 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
56
75
|
readonly orientation: _angular_core.InputSignal<AXOrientation>;
|
|
57
76
|
readonly openOn: _angular_core.InputSignal<AXMenuOpenTrigger>;
|
|
58
77
|
readonly closeOn: _angular_core.InputSignal<AXMenuCloseTrigger>;
|
|
78
|
+
/** When true, closes the menu on router navigation (e.g. side-menu route changes). */
|
|
79
|
+
readonly closeOnRouteChange: _angular_core.InputSignal<boolean>;
|
|
59
80
|
readonly originalItems: _angular_core.InputSignal<AXMenuItem[]>;
|
|
60
81
|
readonly target: _angular_core.InputSignal<string | HTMLElement | HTMLElement[]>;
|
|
61
82
|
onItemClick: _angular_core.OutputEmitterRef<AXContextMenuItemsClickEvent>;
|
|
@@ -68,7 +89,11 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
68
89
|
private document;
|
|
69
90
|
private platformID;
|
|
70
91
|
private zIndexService;
|
|
92
|
+
private injector;
|
|
71
93
|
private zToken;
|
|
94
|
+
private lastOpenPoint;
|
|
95
|
+
private router;
|
|
96
|
+
private destroyRef;
|
|
72
97
|
/** @ignore */
|
|
73
98
|
constructor();
|
|
74
99
|
ngOnDestroy(): void;
|
|
@@ -92,6 +117,8 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
92
117
|
private originalParent;
|
|
93
118
|
protected items: _angular_core.WritableSignal<AXMenuItem[]>;
|
|
94
119
|
/** @ignore */
|
|
120
|
+
private setupCloseOnRouteChange;
|
|
121
|
+
/** @ignore */
|
|
95
122
|
private getTargetElements;
|
|
96
123
|
/** @ignore */
|
|
97
124
|
private bindContextEvent;
|
|
@@ -101,6 +128,13 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
101
128
|
private handleContextMenu;
|
|
102
129
|
/** @ignore */
|
|
103
130
|
private internalShowAt;
|
|
131
|
+
/**
|
|
132
|
+
* Positions the menu at `point`, flipping when it would overflow the viewport.
|
|
133
|
+
* Uses a temporary visible layout pass so parents that hide the host (e.g. side-menu `display: none`) do not yield a zero-sized rect.
|
|
134
|
+
*/
|
|
135
|
+
private positionAtPoint;
|
|
136
|
+
/** Measures menu size even when an ancestor hides the host with `display: none`. */
|
|
137
|
+
private measureMenuRect;
|
|
104
138
|
/** @ignore */
|
|
105
139
|
private createBackdrop;
|
|
106
140
|
/** @ignore */
|
|
@@ -111,7 +145,7 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
111
145
|
/** @ignore */
|
|
112
146
|
get __hostClass(): any;
|
|
113
147
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXContextMenuComponent, never>;
|
|
114
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "originalItems": { "alias": "items"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; "onOpening": "onOpening"; "onClose": "onClose"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
|
148
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "closeOnRouteChange": { "alias": "closeOnRouteChange"; "required": false; "isSignal": true; }; "originalItems": { "alias": "items"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; "onOpening": "onOpening"; "onClose": "onClose"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
|
115
149
|
}
|
|
116
150
|
|
|
117
151
|
type AXMenuItemClickEvent = AXMenuItemClickBaseEvent<AXMenuItemComponent>;
|
|
@@ -121,16 +155,26 @@ type AXMenuItemClickEvent = AXMenuItemClickBaseEvent<AXMenuItemComponent>;
|
|
|
121
155
|
*/
|
|
122
156
|
declare class AXMenuItemComponent extends NXComponent implements OnDestroy {
|
|
123
157
|
protected isOpen: _angular_core.WritableSignal<boolean>;
|
|
124
|
-
|
|
125
|
-
protected isFirstLevel: _angular_core.
|
|
126
|
-
private
|
|
158
|
+
readonly parent: AXMenuItemComponent;
|
|
159
|
+
protected isFirstLevel: _angular_core.Signal<boolean>;
|
|
160
|
+
private readonly childMenuItems;
|
|
161
|
+
private readonly discoveredSubmenuNodeCount;
|
|
162
|
+
private readonly submenuSlot;
|
|
163
|
+
private readonly platformId;
|
|
164
|
+
private readonly destroyRef;
|
|
165
|
+
private childObserver;
|
|
166
|
+
private childRefreshScheduled;
|
|
167
|
+
/**
|
|
168
|
+
* Nested items from the data model. Required for recursive `ngTemplateOutlet` templates
|
|
169
|
+
* because `contentChildren` does not traverse those embedded views.
|
|
170
|
+
*/
|
|
171
|
+
subItems: _angular_core.InputSignal<readonly unknown[]>;
|
|
172
|
+
protected hasSubItems: _angular_core.Signal<boolean>;
|
|
127
173
|
protected root: AXRootMenu;
|
|
128
|
-
protected parent?: AXMenuItemComponent | null;
|
|
129
|
-
protected isRoot: () => boolean;
|
|
130
174
|
private service;
|
|
131
|
-
private scrollableParents;
|
|
132
175
|
private unsuscriber;
|
|
133
176
|
private renderer;
|
|
177
|
+
private injector;
|
|
134
178
|
private zIndexService;
|
|
135
179
|
private zToken;
|
|
136
180
|
protected arrowIcon: _angular_core.Signal<string>;
|
|
@@ -140,58 +184,62 @@ declare class AXMenuItemComponent extends NXComponent implements OnDestroy {
|
|
|
140
184
|
disabled: _angular_core.InputSignal<boolean>;
|
|
141
185
|
color: _angular_core.InputSignal<AXStyleColorType>;
|
|
142
186
|
constructor();
|
|
143
|
-
private closeExcept;
|
|
144
|
-
private observeMutations;
|
|
145
187
|
private getText;
|
|
146
188
|
/**
|
|
147
|
-
*
|
|
189
|
+
* Resolves the parent menu item. Items rendered via recursive `ngTemplateOutlet` do not
|
|
190
|
+
* receive a DI parent, so we fall back to the DOM tree after reparenting.
|
|
148
191
|
*/
|
|
149
|
-
|
|
192
|
+
getParentMenuItem(): AXMenuItemComponent | null;
|
|
150
193
|
/**
|
|
151
194
|
* Opens the submenu of this menu item if it has sub-items and is not disabled.
|
|
152
|
-
*
|
|
153
|
-
* Inherited behavior: Uses the injected service to notify other items to close.
|
|
154
|
-
*
|
|
155
|
-
* @returns void - No return value. Triggers submenu opening side-effects.
|
|
156
195
|
*/
|
|
157
196
|
open(): void;
|
|
158
197
|
/**
|
|
159
198
|
* Closes the submenu of this menu item if open.
|
|
160
|
-
*
|
|
161
|
-
* @returns void - No return value. Triggers submenu closing side-effects.
|
|
162
199
|
*/
|
|
163
200
|
close(): void;
|
|
201
|
+
/**
|
|
202
|
+
* Positions the submenu after layout so nested levels measure their full height.
|
|
203
|
+
*/
|
|
204
|
+
private schedulePositionCalculation;
|
|
164
205
|
/**
|
|
165
206
|
* Calculate the position of the submenu to avoid it going out of the viewport.
|
|
166
207
|
*/
|
|
167
208
|
private calculatePosition;
|
|
209
|
+
/** Measures submenu size using the same flex layout as the rendered menu. */
|
|
210
|
+
private measureSubmenuRect;
|
|
211
|
+
/**
|
|
212
|
+
* Moves nested `ax-menu-item` nodes rendered by recursive `ngTemplateOutlet` templates
|
|
213
|
+
* into the submenu slot. Angular content queries do not traverse those embedded views.
|
|
214
|
+
*/
|
|
215
|
+
private reparentOrphanedChildren;
|
|
216
|
+
/**
|
|
217
|
+
* Nested submenu nodes rendered by custom recursive templates (direct children of this item only).
|
|
218
|
+
*/
|
|
219
|
+
private getDirectSubmenuNodes;
|
|
220
|
+
private updateDiscoveredSubmenuNodeCount;
|
|
221
|
+
private scheduleChildRefresh;
|
|
222
|
+
private hasRelevantChildMutation;
|
|
223
|
+
private nodeListContainsMenuStructuralNode;
|
|
224
|
+
/** Keeps the submenu fully inside the viewport vertically. */
|
|
225
|
+
private clampVerticalPosition;
|
|
168
226
|
handleClick(e: MouseEvent): void;
|
|
169
227
|
handleMouseEnter(event: MouseEvent): void;
|
|
170
228
|
private mouseLeaveTimeout;
|
|
171
229
|
handleMouseLeave(event: MouseEvent): void;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
* Close all menus if clicking outside the root menu and all sub-items.
|
|
175
|
-
*/
|
|
176
|
-
onClickOutside(event: MouseEvent): void;
|
|
230
|
+
/** True when the pointer moved into this item's submenu panel or a nested open submenu. */
|
|
231
|
+
private containsSubmenuPointer;
|
|
177
232
|
ngOnDestroy(): void;
|
|
178
|
-
private bindScrollEvents;
|
|
179
|
-
private removeScrollEvents;
|
|
180
|
-
/**
|
|
181
|
-
* Handler for scroll events (window or scrollable parent containers)
|
|
182
|
-
*/
|
|
183
|
-
private onContainerScroll;
|
|
184
233
|
/** @ignore */
|
|
185
234
|
get __hostClass(): string[];
|
|
186
235
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMenuItemComponent, never>;
|
|
187
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMenuItemComponent, "ax-menu-item", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; },
|
|
236
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMenuItemComponent, "ax-menu-item", never, { "subItems": { "alias": "subItems"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, ["childMenuItems"], ["ax-prefix", "ax-text", "ax-suffix", "ax-menu-item,ax-title,ax-divider,ng-container,[ngTemplateOutlet]"], true, never>;
|
|
188
237
|
}
|
|
189
238
|
|
|
190
239
|
declare class AXMenuService {
|
|
191
240
|
closeAll$: Subject<void>;
|
|
192
241
|
open$: Subject<AXMenuItemComponentBase>;
|
|
193
242
|
close$: Subject<AXMenuItemComponentBase>;
|
|
194
|
-
closeExcept$: Subject<AXMenuItemComponentBase>;
|
|
195
243
|
openContextMenu$: Subject<{
|
|
196
244
|
sender: AXRootMenu;
|
|
197
245
|
point: AXPoint;
|
|
@@ -199,6 +247,26 @@ declare class AXMenuService {
|
|
|
199
247
|
closeAllContextMenu$: Subject<{
|
|
200
248
|
sender: AXRootMenu;
|
|
201
249
|
}>;
|
|
250
|
+
private readonly destroyRef;
|
|
251
|
+
private readonly document;
|
|
252
|
+
private readonly platformId;
|
|
253
|
+
private readonly openItems;
|
|
254
|
+
private globalListenersBound;
|
|
255
|
+
private rootElement?;
|
|
256
|
+
private scrollableParents;
|
|
257
|
+
private readonly onDocumentClick;
|
|
258
|
+
private readonly onWindowOrScrollEvent;
|
|
259
|
+
constructor();
|
|
260
|
+
/**
|
|
261
|
+
* Registers a single set of document/window/scroll listeners for the whole menu tree.
|
|
262
|
+
*/
|
|
263
|
+
initGlobalListeners(rootElement: HTMLElement): void;
|
|
264
|
+
/**
|
|
265
|
+
* Closes open submenus that are not on the ancestor path of the item being opened.
|
|
266
|
+
*/
|
|
267
|
+
closeExcept(opener: AXMenuItemComponentBase): void;
|
|
268
|
+
markOpen(item: AXMenuItemComponentBase): void;
|
|
269
|
+
markClosed(item: AXMenuItemComponentBase): void;
|
|
202
270
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMenuService, never>;
|
|
203
271
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMenuService>;
|
|
204
272
|
}
|
|
@@ -209,6 +277,7 @@ type AXMenuItemsClickEvent = AXMenuItemClickBaseEvent<AXMenuComponent>;
|
|
|
209
277
|
* @category Components
|
|
210
278
|
*/
|
|
211
279
|
declare class AXMenuComponent extends NXComponent {
|
|
280
|
+
constructor();
|
|
212
281
|
orientation: _angular_core.InputSignal<AXOrientation>;
|
|
213
282
|
openOn: _angular_core.InputSignal<AXMenuOpenTrigger>;
|
|
214
283
|
closeOn: _angular_core.InputSignal<AXMenuCloseTrigger>;
|
|
@@ -234,5 +303,5 @@ declare class AXMenuModule {
|
|
|
234
303
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXMenuModule>;
|
|
235
304
|
}
|
|
236
305
|
|
|
237
|
-
export { AXContextMenuComponent, AXContextMenuOpeningEvent, AXMenuComponent,
|
|
238
|
-
export type { AXContextMenuItemsClickEvent, AXMenuCloseTrigger, AXMenuItemClickEvent, AXMenuItemsClickEvent, AXMenuOpenTrigger };
|
|
306
|
+
export { AXContextMenuComponent, AXContextMenuOpeningEvent, AXMenuComponent, AXMenuItemClickBaseEvent, AXMenuItemComponent, AXMenuItemComponentBase, AXMenuModule, AXMenuService, AXRootMenu };
|
|
307
|
+
export type { AXContextMenuItemsClickEvent, AXMenuCloseTrigger, AXMenuItem, AXMenuItemClickEvent, AXMenuItemsClickEvent, AXMenuOpenTrigger };
|
|
@@ -29,11 +29,20 @@ declare class AXNumberBoxComponent extends AXNumberBoxComponent_base {
|
|
|
29
29
|
protected mode: _angular_core.WritableSignal<"digits" | "thousandsSeparator" | "decimal">;
|
|
30
30
|
private input;
|
|
31
31
|
protected stringValue: _angular_core.WritableSignal<string>;
|
|
32
|
+
private translationService;
|
|
33
|
+
protected validateFn: (val: number) => Promise<{
|
|
34
|
+
result: boolean;
|
|
35
|
+
message: string;
|
|
36
|
+
} | {
|
|
37
|
+
result: boolean;
|
|
38
|
+
message?: undefined;
|
|
39
|
+
}>;
|
|
32
40
|
protected internalValueChanged(value: number | undefined): void;
|
|
33
41
|
private plusValue;
|
|
34
42
|
private minusValue;
|
|
35
43
|
private getNumericValue;
|
|
36
44
|
private getSteppedValue;
|
|
45
|
+
private clampToRange;
|
|
37
46
|
private getFractionDigits;
|
|
38
47
|
protected handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
39
48
|
protected handleUpClick(): void;
|