@acorex/components 21.0.2-next.8 → 21.0.3-next.1
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 +279 -61
- 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 +11697 -8617
- 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 +467 -86
- 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 +69 -19
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +20 -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-lJw2DGSj.mjs} +28 -28
- package/fesm2022/{acorex-components-modal-acorex-components-modal-CcXuJ4IW.mjs.map → acorex-components-modal-acorex-components-modal-lJw2DGSj.mjs.map} +1 -1
- package/fesm2022/{acorex-components-modal-modal-content.component-DTZu2zbU.mjs → acorex-components-modal-modal-content.component-t9kRuhc_.mjs} +39 -39
- package/fesm2022/acorex-components-modal-modal-content.component-t9kRuhc_.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 +18 -14
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +52 -25
- 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 +55 -25
- 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 +142 -27
- package/types/acorex-components-color-palette.d.ts +2 -0
- package/types/acorex-components-conversation2.d.ts +1340 -1289
- package/types/acorex-components-data-pager.d.ts +6 -25
- package/types/acorex-components-data-table.d.ts +216 -56
- 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-list.d.ts +15 -1
- package/types/acorex-components-loading-dialog.d.ts +16 -16
- 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-select-box.d.ts +1 -0
- 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
|
@@ -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>;
|
|
@@ -136,9 +136,23 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
|
136
136
|
*/
|
|
137
137
|
getItemByKey(key: unknown): Promise<unknown> | unknown;
|
|
138
138
|
/**
|
|
139
|
-
* Renders the component by updating the viewport size, scrolling to the
|
|
139
|
+
* Renders the component by updating the viewport size, scrolling to the selected item, and optionally focusing the element.
|
|
140
140
|
*/
|
|
141
141
|
render(): void;
|
|
142
|
+
/**
|
|
143
|
+
* Scrolls the viewport to the currently selected list item.
|
|
144
|
+
*/
|
|
145
|
+
scrollTo(): void;
|
|
146
|
+
/**
|
|
147
|
+
* Resolves the selected item index from values already loaded in the list source.
|
|
148
|
+
* Only considers loaded entries so lazy sources are not scanned by a global index.
|
|
149
|
+
* @ignore
|
|
150
|
+
*/
|
|
151
|
+
private resolveSelectedIndex;
|
|
152
|
+
/**
|
|
153
|
+
* @ignore
|
|
154
|
+
*/
|
|
155
|
+
private getSelectedKey;
|
|
142
156
|
/**
|
|
143
157
|
* Refreshes the list by clearing the selection cache and reloading the data source.
|
|
144
158
|
* @ignore
|
|
@@ -2,8 +2,8 @@ import { AXStyleColorType, AXStyleLookType, AXHotKeyAction, MXBaseComponent } fr
|
|
|
2
2
|
import { AXOverlayRef } from '@acorex/cdk/overlay';
|
|
3
3
|
import { AXDialogButtonItem } from '@acorex/components/dialog';
|
|
4
4
|
import { AXProgressMode } from '@acorex/components/progress-bar';
|
|
5
|
-
import * as
|
|
6
|
-
import { OnInit
|
|
5
|
+
import * as _angular_core from '@angular/core';
|
|
6
|
+
import { OnInit } from '@angular/core';
|
|
7
7
|
|
|
8
8
|
interface AXLoadingDialogConfig {
|
|
9
9
|
title: string;
|
|
@@ -56,19 +56,19 @@ interface AXLoadingDialogInternalRef {
|
|
|
56
56
|
*/
|
|
57
57
|
declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit {
|
|
58
58
|
/** Loading dialog configuration data */
|
|
59
|
-
data:
|
|
59
|
+
data: _angular_core.InputSignal<AXLoadingDialogConfig>;
|
|
60
60
|
/** @internal Callback function to close the dialog */
|
|
61
|
-
onClose:
|
|
61
|
+
onClose: _angular_core.InputSignal<() => void>;
|
|
62
62
|
/** @ignore */
|
|
63
|
-
protected progressText: WritableSignal<string>;
|
|
63
|
+
protected progressText: _angular_core.WritableSignal<string>;
|
|
64
64
|
/** @ignore */
|
|
65
|
-
protected progressStatus: WritableSignal<string>;
|
|
65
|
+
protected progressStatus: _angular_core.WritableSignal<string>;
|
|
66
66
|
/** @ignore */
|
|
67
|
-
protected progressColor: WritableSignal<AXStyleColorType>;
|
|
67
|
+
protected progressColor: _angular_core.WritableSignal<AXStyleColorType>;
|
|
68
68
|
/** @ignore */
|
|
69
|
-
protected dialogTitle: WritableSignal<string>;
|
|
69
|
+
protected dialogTitle: _angular_core.WritableSignal<string>;
|
|
70
70
|
/** @ignore */
|
|
71
|
-
protected progressValue: WritableSignal<number>;
|
|
71
|
+
protected progressValue: _angular_core.WritableSignal<number>;
|
|
72
72
|
ngOnInit(): void;
|
|
73
73
|
/**
|
|
74
74
|
* Closes the loading dialog.
|
|
@@ -115,14 +115,14 @@ declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit
|
|
|
115
115
|
protected _handleButtonClick(button: AXLoadingDialogButtonItem): void;
|
|
116
116
|
/** @ignore */
|
|
117
117
|
protected _hasAutoFocus(button: AXLoadingDialogButtonItem): boolean;
|
|
118
|
-
static ɵfac:
|
|
119
|
-
static ɵcmp:
|
|
118
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLoadingDialogComponent, never>;
|
|
119
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
declare class AXLoadingDialogModule {
|
|
123
|
-
static ɵfac:
|
|
124
|
-
static ɵmod:
|
|
125
|
-
static ɵinj:
|
|
123
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLoadingDialogModule, never>;
|
|
124
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXLoadingDialogModule, never, [typeof AXLoadingDialogComponent], [typeof AXLoadingDialogComponent]>;
|
|
125
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXLoadingDialogModule>;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
declare class AXLoadingDialogService {
|
|
@@ -134,8 +134,8 @@ declare class AXLoadingDialogService {
|
|
|
134
134
|
* @returns AXLoadingDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).
|
|
135
135
|
*/
|
|
136
136
|
show(options: AXLoadingDialogConfig): AXLoadingDialogRef;
|
|
137
|
-
static ɵfac:
|
|
138
|
-
static ɵprov:
|
|
137
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLoadingDialogService, never>;
|
|
138
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXLoadingDialogService>;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
export { AXLoadingDialogComponent, AXLoadingDialogModule, AXLoadingDialogService };
|
|
@@ -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;
|
|
@@ -2,6 +2,7 @@ import { AXEvent, MXValueComponent, MXLookComponent } from '@acorex/cdk/common';
|
|
|
2
2
|
import * as polytype from 'polytype';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
4
|
|
|
5
|
+
type AXOtpMode = 'number' | 'dot' | 'star';
|
|
5
6
|
declare class AXOtpCompletedEvent extends AXEvent {
|
|
6
7
|
value: string;
|
|
7
8
|
isCompleted: boolean;
|
|
@@ -18,6 +19,13 @@ declare const AXOtpComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
|
18
19
|
*/
|
|
19
20
|
declare class AXOtpComponent extends AXOtpComponent_base {
|
|
20
21
|
type: _angular_core.InputSignal<"number" | "text">;
|
|
22
|
+
/**
|
|
23
|
+
* Controls how entered digits are displayed in each input.
|
|
24
|
+
* - `number`: shows the actual digit
|
|
25
|
+
* - `dot`: shows a dot character
|
|
26
|
+
* - `star`: shows an asterisk character
|
|
27
|
+
*/
|
|
28
|
+
mode: _angular_core.InputSignal<AXOtpMode>;
|
|
21
29
|
/**
|
|
22
30
|
* Holds the length of the OTP input field.
|
|
23
31
|
*/
|
|
@@ -50,6 +58,14 @@ declare class AXOtpComponent extends AXOtpComponent_base {
|
|
|
50
58
|
/** @ignore */
|
|
51
59
|
internalSetValue(value: any): string;
|
|
52
60
|
/** @ignore */
|
|
61
|
+
protected displayValue(i: number): string;
|
|
62
|
+
/** @ignore */
|
|
63
|
+
protected isMasked(): boolean;
|
|
64
|
+
/** @ignore */
|
|
65
|
+
protected hasValue(i: number): boolean;
|
|
66
|
+
/** @ignore */
|
|
67
|
+
protected _maskCharacter(): string;
|
|
68
|
+
/** @ignore */
|
|
53
69
|
protected calcFontSize(): void;
|
|
54
70
|
/** @ignore */
|
|
55
71
|
protected _handleOnKeyDown(event: KeyboardEvent, i: number): void;
|
|
@@ -60,7 +76,7 @@ declare class AXOtpComponent extends AXOtpComponent_base {
|
|
|
60
76
|
/** @ignore */
|
|
61
77
|
protected _emitOnComplete(): void;
|
|
62
78
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXOtpComponent, never>;
|
|
63
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXOtpComponent, "ax-otp", never, { "state": { "alias": "state"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "look": { "alias": "look"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; "disabledChange": "disabledChange"; "length": "lengthChange"; "onCompleted": "onCompleted"; }, never,
|
|
79
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXOtpComponent, "ax-otp", never, { "state": { "alias": "state"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "look": { "alias": "look"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; "disabledChange": "disabledChange"; "length": "lengthChange"; "onCompleted": "onCompleted"; }, never, ["ax-validation-rule"], true, never>;
|
|
64
80
|
}
|
|
65
81
|
|
|
66
82
|
declare class AXOtpModule {
|
|
@@ -70,3 +86,4 @@ declare class AXOtpModule {
|
|
|
70
86
|
}
|
|
71
87
|
|
|
72
88
|
export { AXOtpCompletedEvent, AXOtpComponent, AXOtpModule };
|
|
89
|
+
export type { AXOtpMode };
|
|
@@ -9,7 +9,7 @@ import * as i3 from '@acorex/components/decorators';
|
|
|
9
9
|
import * as i4 from '@acorex/core/translation';
|
|
10
10
|
|
|
11
11
|
type AXPopupContentType = TemplateRef<unknown> | AXComponentType<unknown>;
|
|
12
|
-
type AXPopupSizeType = 'sm' | 'md' | 'lg' | 'full' | 'fit';
|
|
12
|
+
type AXPopupSizeType = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full' | 'fit';
|
|
13
13
|
interface AXPopupConfig {
|
|
14
14
|
title?: string;
|
|
15
15
|
closeButton?: boolean;
|
|
@@ -23,6 +23,7 @@ interface AXPopupConfig {
|
|
|
23
23
|
hasBackdrop?: boolean;
|
|
24
24
|
backdropClass?: string;
|
|
25
25
|
closeOnBackdropClick?: boolean;
|
|
26
|
+
closeOnNavigation?: boolean;
|
|
26
27
|
viewContainerRef?: ViewContainerRef;
|
|
27
28
|
providers?: StaticProvider[];
|
|
28
29
|
panelClass?: string[];
|
|
@@ -67,6 +68,8 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
67
68
|
private loadingService;
|
|
68
69
|
private _platform;
|
|
69
70
|
private componentService;
|
|
71
|
+
private _router;
|
|
72
|
+
private _destroyRef;
|
|
70
73
|
private contentContainerRef;
|
|
71
74
|
private contentContainerEl;
|
|
72
75
|
readonly __content__: i0.InputSignal<AXPopupContentType>;
|
|
@@ -97,6 +100,13 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
97
100
|
private elementStartPos;
|
|
98
101
|
/** @ignore */
|
|
99
102
|
ngOnInit(): void;
|
|
103
|
+
/**
|
|
104
|
+
* Subscribes to router navigation events so the popup is closed automatically
|
|
105
|
+
* when the user navigates to another route. Enabled by default; disable via
|
|
106
|
+
* `closeOnNavigation: false` in the popup config.
|
|
107
|
+
* @ignore
|
|
108
|
+
*/
|
|
109
|
+
private _setupCloseOnNavigation;
|
|
100
110
|
/** @ignore */
|
|
101
111
|
private renderContent;
|
|
102
112
|
/** @ignore */
|
|
@@ -7,6 +7,7 @@ type AXQrcodeLevel = 'L' | 'M' | 'Q' | 'H';
|
|
|
7
7
|
declare function debounce(func: (...args: any) => void, delayMS: number): (...args: any[]) => void;
|
|
8
8
|
|
|
9
9
|
declare class AXQrcodeComponent implements AfterViewInit {
|
|
10
|
+
private platformId;
|
|
10
11
|
/**
|
|
11
12
|
* @description Value of QR code
|
|
12
13
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { AXDataSource, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
3
2
|
import * as i1 from '@acorex/components/button-group';
|
|
4
3
|
import { AXButtonGroupItemComponent } from '@acorex/components/button-group';
|
|
4
|
+
import { AXDataSource, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
5
5
|
import * as i3 from '@acorex/components/select-box';
|
|
6
6
|
import { AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
7
7
|
import * as i2 from '@acorex/components/decorators';
|