@acorex/components 21.0.1-next.3 → 21.0.1-next.30
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/accordion/index.d.ts +0 -1
- package/action-sheet/index.d.ts +116 -34
- package/button-group/index.d.ts +6 -4
- package/chips/index.d.ts +3 -8
- package/collapse/index.d.ts +4 -6
- package/command/index.d.ts +8 -1
- package/conversation2/README.md +71 -31
- package/conversation2/index.d.ts +36 -35
- package/data-table/index.d.ts +4 -253
- package/datetime-picker/index.d.ts +1 -1
- package/dialog/index.d.ts +18 -14
- package/dropdown/index.d.ts +3 -8
- package/fesm2022/acorex-components-accordion.mjs +16 -21
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +284 -118
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +13 -13
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +11 -10
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +7 -7
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +12 -12
- 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 +11 -11
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +23 -19
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +18 -18
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +17 -17
- 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 +12 -14
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +12 -10
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +10 -10
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +22 -19
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +9 -9
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +30 -30
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +17 -11
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +32 -32
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +51 -51
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +309 -303
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +46 -46
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +3 -3
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +33 -33
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +50 -486
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +9 -9
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +9 -9
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +40 -38
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +43 -36
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +75 -54
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-legacy.mjs +13 -13
- package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +15 -16
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +25 -28
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +11 -11
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +16 -16
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +48 -42
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +13 -14
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +44 -44
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +9 -9
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +8 -8
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +140 -13
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +29 -11
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +9 -9
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +9 -9
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +82 -45
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +23 -23
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +14 -14
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +72 -54
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +43 -22
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-CXXcFToK.mjs → acorex-components-modal-acorex-components-modal-BajlPo_n.mjs} +47 -23
- package/fesm2022/acorex-components-modal-acorex-components-modal-BajlPo_n.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-B4rhHeEz.mjs → acorex-components-modal-modal-content.component-BVrBX4Qf.mjs} +9 -7
- package/fesm2022/acorex-components-modal-modal-content.component-BVrBX4Qf.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +9 -9
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +381 -260
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-legacy.mjs +9 -9
- package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +9 -9
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +9 -9
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +34 -39
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +13 -13
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +88 -47
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +19 -18
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +213 -197
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +308 -113
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +11 -9
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +9 -9
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +8 -8
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +9 -9
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +38 -36
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +10 -10
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +20 -35
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +8 -8
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- 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 +9 -9
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +56 -56
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +43 -43
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +16 -10
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +11 -9
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +11 -11
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +9 -9
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +74 -25
- 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 +12 -12
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +14 -14
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +14 -14
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +14 -14
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +15 -15
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +9 -9
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +9 -9
- 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 +14 -12
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +18 -20
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +12 -12
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +239 -131
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +8 -8
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +67 -67
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view-legacy.mjs +16 -12
- package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +26 -11
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +16 -16
- 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 +42 -42
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/form/index.d.ts +2 -1
- package/grid-layout-builder/index.d.ts +1 -2
- package/kanban/index.d.ts +62 -4
- package/kbd/index.d.ts +13 -7
- package/loading/index.d.ts +1 -1
- package/loading-dialog/index.d.ts +31 -15
- package/media-viewer/index.d.ts +2 -1
- package/menu/index.d.ts +4 -0
- package/modal/index.d.ts +7 -0
- package/notification/index.d.ts +47 -32
- package/package.json +3 -3
- package/paint/index.d.ts +1 -6
- package/phone-box/index.d.ts +12 -7
- package/popover/index.d.ts +32 -30
- package/popup/index.d.ts +100 -27
- package/rate-picker/index.d.ts +5 -15
- package/side-menu/index.d.ts +9 -2
- package/slider/index.d.ts +2 -2
- package/time-duration/index.d.ts +0 -1
- package/toast/index.d.ts +24 -18
- package/tooltip/index.d.ts +4 -9
- package/tree-view/index.d.ts +11 -0
- package/tree-view-legacy/index.d.ts +1 -0
- package/fesm2022/acorex-components-modal-acorex-components-modal-CXXcFToK.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-B4rhHeEz.mjs.map +0 -1
package/popover/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, ElementRef, ComponentRef, TemplateRef, EventEmitter } from '@angular/core';
|
|
3
3
|
import { MXBaseComponent, AXPlacementType, AXEvent } from '@acorex/cdk/common';
|
|
4
|
-
import {
|
|
4
|
+
import { AXComponentType } from '@acorex/core/components';
|
|
5
5
|
import * as i1 from '@angular/common';
|
|
6
6
|
|
|
7
7
|
type AXPopoverOpenTrigger = 'manual' | 'click' | 'hover' | 'toggle';
|
|
@@ -12,26 +12,19 @@ type AXPopoverCloseTrigger = 'manual' | 'clickOut' | 'leave';
|
|
|
12
12
|
*/
|
|
13
13
|
declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
14
14
|
#private;
|
|
15
|
+
private platform;
|
|
15
16
|
private document;
|
|
16
17
|
private platformID;
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
/** @ignore */
|
|
20
|
-
private _platform;
|
|
21
|
-
/** @ignore */
|
|
22
|
-
private _overlay;
|
|
18
|
+
private overlayService;
|
|
19
|
+
private onKeyDownHandler;
|
|
23
20
|
/** @ignore */
|
|
24
21
|
private _overlayRef;
|
|
25
22
|
/** @ignore */
|
|
26
|
-
private _isMouseOverButton;
|
|
27
|
-
/** @ignore */
|
|
28
|
-
private _isMouseOverTooltip;
|
|
29
|
-
/** @ignore */
|
|
30
23
|
private _lastActiveElement;
|
|
31
24
|
/** @ignore */
|
|
32
25
|
private _targetEvents;
|
|
33
26
|
/** @ignore */
|
|
34
|
-
private
|
|
27
|
+
private _outsideClickHandler;
|
|
35
28
|
/** @ignore */
|
|
36
29
|
private resizeObserver;
|
|
37
30
|
/** @ignore */
|
|
@@ -39,6 +32,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
39
32
|
/** @ignore */
|
|
40
33
|
private _disabled;
|
|
41
34
|
readonly width: i0.InputSignal<string>;
|
|
35
|
+
private translateService;
|
|
42
36
|
/**
|
|
43
37
|
* Gets or sets whether the popover is disabled.
|
|
44
38
|
* When disabled, the popover will not open and will close if already open.
|
|
@@ -76,8 +70,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
76
70
|
*/
|
|
77
71
|
set target(v: Element | ElementRef | MXBaseComponent);
|
|
78
72
|
/** @ignore */
|
|
79
|
-
private _defautPlacements;
|
|
80
|
-
/** @ignore */
|
|
81
73
|
private _placements;
|
|
82
74
|
/** @ignore */
|
|
83
75
|
private _placement;
|
|
@@ -90,13 +82,11 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
90
82
|
*/
|
|
91
83
|
set placement(v: AXPlacementType);
|
|
92
84
|
/** @ignore */
|
|
93
|
-
private _portal;
|
|
94
|
-
/** @ignore */
|
|
95
85
|
private _componentRef;
|
|
96
86
|
/**
|
|
97
87
|
* Gets the reference to the component.
|
|
98
88
|
*/
|
|
99
|
-
get componentRef(): ComponentRef<unknown
|
|
89
|
+
get componentRef(): ComponentRef<unknown> | null;
|
|
100
90
|
/**
|
|
101
91
|
* Holds the context data for the component.
|
|
102
92
|
*/
|
|
@@ -106,7 +96,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
106
96
|
/**
|
|
107
97
|
* Defines the content to be displayed, which can be a template or a component.
|
|
108
98
|
*/
|
|
109
|
-
content: TemplateRef<unknown> |
|
|
99
|
+
content: TemplateRef<unknown> | AXComponentType<unknown>;
|
|
110
100
|
/** @ignore */
|
|
111
101
|
private _openOn;
|
|
112
102
|
/**
|
|
@@ -125,7 +115,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
125
115
|
get closeOn(): AXPopoverCloseTrigger;
|
|
126
116
|
/**
|
|
127
117
|
* Sets the trigger for closing the popover and rebinds target events.
|
|
128
|
-
* @param v
|
|
129
118
|
*/
|
|
130
119
|
set closeOn(v: AXPopoverCloseTrigger);
|
|
131
120
|
/**
|
|
@@ -135,17 +124,21 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
135
124
|
/**
|
|
136
125
|
* Delay in milliseconds before the popover opens after a trigger event.
|
|
137
126
|
*/
|
|
138
|
-
|
|
127
|
+
private _openAfter;
|
|
128
|
+
get openAfter(): number;
|
|
129
|
+
set openAfter(value: number);
|
|
139
130
|
/**
|
|
140
131
|
* Delay in milliseconds before the popover closes after a trigger event.
|
|
141
132
|
*/
|
|
142
|
-
|
|
133
|
+
private _closeAfter;
|
|
134
|
+
get closeAfter(): number;
|
|
135
|
+
set closeAfter(value: number);
|
|
143
136
|
/**
|
|
144
137
|
* CSS class to apply to the backdrop element.
|
|
145
138
|
*/
|
|
146
139
|
backdropClass: string;
|
|
147
140
|
/**
|
|
148
|
-
* CSS class to apply to the
|
|
141
|
+
* CSS class to apply to the panel element.
|
|
149
142
|
*/
|
|
150
143
|
panelClass: string;
|
|
151
144
|
/**
|
|
@@ -167,10 +160,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
167
160
|
/** @ignore */
|
|
168
161
|
private _emitOnClosedEvent;
|
|
169
162
|
/** @ignore */
|
|
170
|
-
protected _handleMouseEnter(e: MouseEvent): void;
|
|
171
|
-
/** @ignore */
|
|
172
|
-
protected _handleMouseLeave(e: MouseEvent): void;
|
|
173
|
-
/** @ignore */
|
|
174
163
|
private removeTargetEvents;
|
|
175
164
|
/** @ignore */
|
|
176
165
|
private bindTargetEvents;
|
|
@@ -178,6 +167,14 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
178
167
|
private bindOverlayEvents;
|
|
179
168
|
/** @ignore */
|
|
180
169
|
private removeOverlayEvents;
|
|
170
|
+
/**
|
|
171
|
+
* Checks if the clicked element is inside a child overlay (e.g., selectbox dropdown).
|
|
172
|
+
* Child overlays are identified by having a higher z-index than this popover's overlay.
|
|
173
|
+
* @ignore
|
|
174
|
+
*/
|
|
175
|
+
private isClickInsideChildOverlay;
|
|
176
|
+
/** @ignore */
|
|
177
|
+
private handleOverlayDisposed;
|
|
181
178
|
/**
|
|
182
179
|
* Toggles the component's open state.
|
|
183
180
|
*/
|
|
@@ -189,7 +186,11 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
189
186
|
/**
|
|
190
187
|
* Opens the component if it's not already open, saves focus, opens the overlay, and emits the opened event.
|
|
191
188
|
*/
|
|
192
|
-
open(): void
|
|
189
|
+
open(): Promise<void>;
|
|
190
|
+
/** @ignore */
|
|
191
|
+
private addKeyDownListener;
|
|
192
|
+
/** @ignore */
|
|
193
|
+
private removeKeyDownListener;
|
|
193
194
|
/** @ignore */
|
|
194
195
|
private saveFocus;
|
|
195
196
|
/** @ignore */
|
|
@@ -207,8 +208,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
207
208
|
*/
|
|
208
209
|
get isActionsheetStyle(): boolean;
|
|
209
210
|
/** @ignore */
|
|
210
|
-
private updatePositionStrategy;
|
|
211
|
-
/** @ignore */
|
|
212
211
|
private updateOffset;
|
|
213
212
|
/**
|
|
214
213
|
* Updates the position of the overlay and focuses on it.
|
|
@@ -218,11 +217,14 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
218
217
|
* Focuses the overlay element.
|
|
219
218
|
*/
|
|
220
219
|
focus(): void;
|
|
220
|
+
/**
|
|
221
|
+
* Brings this popover to the front of all other overlays.
|
|
222
|
+
*/
|
|
223
|
+
bringToFront(): void;
|
|
221
224
|
/** @ignore */
|
|
222
225
|
private initializeResizeObserver;
|
|
223
226
|
/** @ignore */
|
|
224
227
|
private disconnectResizeObserver;
|
|
225
|
-
protected ngOnInit(): void;
|
|
226
228
|
/** @ignore */
|
|
227
229
|
ngOnDestroy(): void;
|
|
228
230
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
|
package/popup/index.d.ts
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import * as i5 from '@angular/cdk/portal';
|
|
2
|
-
import { ComponentType, Portal, CdkPortalOutletAttachedRef } from '@angular/cdk/portal';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { TemplateRef, ViewContainerRef, StaticProvider, OnInit } from '@angular/core';
|
|
2
|
+
import { TemplateRef, ViewContainerRef, StaticProvider, OnInit, OnDestroy } from '@angular/core';
|
|
5
3
|
import * as i2 from '@acorex/cdk/common';
|
|
6
4
|
import { MXBaseComponent, AXComponentClosedPromise } from '@acorex/cdk/common';
|
|
5
|
+
import { AXComponentType, AXComponentInputs } from '@acorex/core/components';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
7
|
import * as i1 from '@angular/common';
|
|
8
|
-
import * as i3 from '@
|
|
9
|
-
import * as i4 from '@
|
|
10
|
-
import * as i6 from '@acorex/components/decorators';
|
|
11
|
-
import * as i7 from '@angular/cdk/dialog';
|
|
12
|
-
import * as i8 from '@acorex/core/translation';
|
|
8
|
+
import * as i3 from '@acorex/components/decorators';
|
|
9
|
+
import * as i4 from '@acorex/core/translation';
|
|
13
10
|
|
|
14
|
-
type AXPopupContentType = TemplateRef<unknown> |
|
|
11
|
+
type AXPopupContentType = TemplateRef<unknown> | AXComponentType<unknown>;
|
|
15
12
|
type AXPopupSizeType = 'sm' | 'md' | 'lg' | 'full' | 'fit';
|
|
16
13
|
interface AXPopupConfig {
|
|
17
14
|
title?: string;
|
|
@@ -19,7 +16,9 @@ interface AXPopupConfig {
|
|
|
19
16
|
header?: boolean;
|
|
20
17
|
maximizable?: boolean;
|
|
21
18
|
size?: AXPopupSizeType;
|
|
19
|
+
/** @deprecated Use `inputs` instead to pass data to the popup component. */
|
|
22
20
|
data?: unknown;
|
|
21
|
+
inputs?: unknown;
|
|
23
22
|
draggable?: boolean;
|
|
24
23
|
hasBackdrop?: boolean;
|
|
25
24
|
backdropClass?: string;
|
|
@@ -39,19 +38,41 @@ interface AXPopupData {
|
|
|
39
38
|
draggable: boolean;
|
|
40
39
|
content: AXPopupContentType;
|
|
41
40
|
}
|
|
41
|
+
interface AXPopupRef<TResult = any> {
|
|
42
|
+
close: (data?: TResult) => void;
|
|
43
|
+
setInputs: (values: AXComponentInputs) => void;
|
|
44
|
+
setTitle: (title: string) => void;
|
|
45
|
+
/** Brings this popup to the front of all other overlays */
|
|
46
|
+
bringToFront: () => void;
|
|
47
|
+
onClose: Subject<TResult>;
|
|
48
|
+
/** The component instance rendered inside the popup (available after content is rendered) */
|
|
49
|
+
componentInstance?: unknown;
|
|
50
|
+
}
|
|
51
|
+
declare abstract class AXPopupComponentBase {
|
|
52
|
+
__popup__: i0.InputSignal<AXPopupRef<any>>;
|
|
53
|
+
close(data?: any): void;
|
|
54
|
+
setTitle(title: string): void;
|
|
55
|
+
bringToFront(): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponentBase, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPopupComponentBase, never, never, { "__popup__": { "alias": "__popup__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
58
|
+
}
|
|
42
59
|
|
|
43
60
|
/**
|
|
44
|
-
* The
|
|
61
|
+
* The Popup is a component which displays content in a dialog overlay
|
|
45
62
|
*
|
|
46
63
|
* @category Components
|
|
47
64
|
*/
|
|
48
|
-
declare class AXPopupComponent extends MXBaseComponent implements OnInit {
|
|
65
|
+
declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDestroy {
|
|
49
66
|
private _zone;
|
|
50
|
-
private _viewContainerRef;
|
|
51
67
|
private loadingService;
|
|
52
68
|
private _platform;
|
|
53
|
-
|
|
54
|
-
private
|
|
69
|
+
private componentService;
|
|
70
|
+
private contentContainerRef;
|
|
71
|
+
private contentContainerEl;
|
|
72
|
+
readonly __content__: i0.InputSignal<AXPopupContentType>;
|
|
73
|
+
readonly __config__: i0.InputSignal<AXPopupConfig>;
|
|
74
|
+
readonly __popupRef__: i0.InputSignal<AXPopupRef<any>>;
|
|
75
|
+
readonly __id__: i0.InputSignal<number>;
|
|
55
76
|
/**
|
|
56
77
|
* Indicates whether the component is loading.
|
|
57
78
|
* @defaultValue true
|
|
@@ -60,19 +81,28 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit {
|
|
|
60
81
|
/** @ignore */
|
|
61
82
|
private _loadingId;
|
|
62
83
|
/** @ignore */
|
|
63
|
-
|
|
84
|
+
private _componentRef;
|
|
85
|
+
/** Current title */
|
|
86
|
+
protected title: i0.WritableSignal<string>;
|
|
64
87
|
/** @ignore */
|
|
65
|
-
protected
|
|
88
|
+
protected isDragging: i0.WritableSignal<boolean>;
|
|
66
89
|
/** @ignore */
|
|
67
|
-
protected
|
|
90
|
+
protected dragOffset: i0.WritableSignal<{
|
|
91
|
+
x: number;
|
|
92
|
+
y: number;
|
|
93
|
+
}>;
|
|
68
94
|
/** @ignore */
|
|
69
|
-
private
|
|
95
|
+
private dragStartPos;
|
|
96
|
+
/** @ignore */
|
|
97
|
+
private elementStartPos;
|
|
70
98
|
/** @ignore */
|
|
71
99
|
ngOnInit(): void;
|
|
72
100
|
/** @ignore */
|
|
73
|
-
|
|
101
|
+
private renderContent;
|
|
74
102
|
/** @ignore */
|
|
75
|
-
|
|
103
|
+
private handleContentRendered;
|
|
104
|
+
/** @ignore */
|
|
105
|
+
onKeydownHandler(): void;
|
|
76
106
|
/** @ignore */
|
|
77
107
|
protected _handleCloseClick(): void;
|
|
78
108
|
/** @ignore */
|
|
@@ -82,17 +112,30 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit {
|
|
|
82
112
|
*/
|
|
83
113
|
focus(): void;
|
|
84
114
|
/**
|
|
85
|
-
* Closes the
|
|
115
|
+
* Closes the popup, emitting component reference, host element, and optional data.
|
|
86
116
|
* @param {unknown} [data]
|
|
87
117
|
*/
|
|
88
118
|
close(data?: unknown): void;
|
|
119
|
+
/**
|
|
120
|
+
* Sets inputs on the content component.
|
|
121
|
+
* @param values - Object containing input values to set
|
|
122
|
+
*/
|
|
123
|
+
setContentInputs(values: AXComponentInputs): void;
|
|
124
|
+
/**
|
|
125
|
+
* Sets the popup title.
|
|
126
|
+
* @param title - The new title
|
|
127
|
+
*/
|
|
128
|
+
setTitle(title: string): void;
|
|
129
|
+
protected onDragStart(event: MouseEvent): void;
|
|
130
|
+
onDragMove(event: MouseEvent): void;
|
|
131
|
+
onDragEnd(): void;
|
|
89
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponent, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, {}, {}, never, never, true, never>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, { "__content__": { "alias": "__content__"; "required": false; "isSignal": true; }; "__config__": { "alias": "__config__"; "required": false; "isSignal": true; }; "__popupRef__": { "alias": "__popupRef__"; "required": false; "isSignal": true; }; "__id__": { "alias": "__id__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
91
134
|
}
|
|
92
135
|
|
|
93
136
|
declare class AXPopupModule {
|
|
94
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupModule, never>;
|
|
95
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.
|
|
138
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.AXDecoratorModule, typeof i4.AXTranslationModule, typeof AXPopupComponent], [typeof AXPopupComponent]>;
|
|
96
139
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPopupModule>;
|
|
97
140
|
}
|
|
98
141
|
|
|
@@ -102,8 +145,8 @@ declare class AXPopupModule {
|
|
|
102
145
|
* @category Components
|
|
103
146
|
*/
|
|
104
147
|
declare class AXPopupService {
|
|
105
|
-
|
|
106
|
-
private
|
|
148
|
+
private popupList;
|
|
149
|
+
private overlayService;
|
|
107
150
|
/**
|
|
108
151
|
* Open popup 1
|
|
109
152
|
*/
|
|
@@ -112,9 +155,39 @@ declare class AXPopupService {
|
|
|
112
155
|
* Open popup 2
|
|
113
156
|
*/
|
|
114
157
|
open(content: AXPopupContentType, config?: AXPopupConfig): AXComponentClosedPromise;
|
|
158
|
+
/**
|
|
159
|
+
* Opens a popup with the specified content and configuration.
|
|
160
|
+
* @param content - Component or template to display
|
|
161
|
+
* @param config - Configuration options for the popup
|
|
162
|
+
* @returns Promise<AXPopupRef> - Reference to the opened popup
|
|
163
|
+
*/
|
|
164
|
+
private openInternal;
|
|
165
|
+
/**
|
|
166
|
+
* Closes a popup by its ID.
|
|
167
|
+
* @param id - The popup ID to close
|
|
168
|
+
* @param data - Optional data to pass to the close event
|
|
169
|
+
*/
|
|
170
|
+
close<TResult = any>(id: number, data?: TResult): void;
|
|
171
|
+
/**
|
|
172
|
+
* Sets input values for a popup by its ID.
|
|
173
|
+
* @param id - The popup ID
|
|
174
|
+
* @param values - Object containing input values to set
|
|
175
|
+
*/
|
|
176
|
+
setInputs(id: number, values: AXComponentInputs): void;
|
|
177
|
+
/**
|
|
178
|
+
* Sets the title for a popup by its ID.
|
|
179
|
+
* @param id - The popup ID
|
|
180
|
+
* @param title - The new title
|
|
181
|
+
*/
|
|
182
|
+
setTitle(id: number, title: string): void;
|
|
183
|
+
/**
|
|
184
|
+
* Brings a popup to the front of all other overlays.
|
|
185
|
+
* @param id - The popup ID to bring to front
|
|
186
|
+
*/
|
|
187
|
+
bringToFront(id: number): void;
|
|
115
188
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupService, never>;
|
|
116
189
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPopupService>;
|
|
117
190
|
}
|
|
118
191
|
|
|
119
|
-
export { AXPopupComponent, AXPopupModule, AXPopupService };
|
|
120
|
-
export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupSizeType };
|
|
192
|
+
export { AXPopupComponent, AXPopupComponentBase, AXPopupModule, AXPopupService };
|
|
193
|
+
export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupRef, AXPopupSizeType };
|
package/rate-picker/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
-
import { MXValueComponent } from '@acorex/cdk/common';
|
|
3
|
+
import { MXValueComponent, AXStyleColorType } from '@acorex/cdk/common';
|
|
4
4
|
import * as i1 from '@angular/common';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -19,6 +19,7 @@ declare class AXRatePickerComponent extends MXValueComponent<number> {
|
|
|
19
19
|
* @default 'fa-star'
|
|
20
20
|
*/
|
|
21
21
|
readonly iconName: _angular_core.InputSignal<string>;
|
|
22
|
+
readonly color: _angular_core.InputSignal<AXStyleColorType>;
|
|
22
23
|
/**
|
|
23
24
|
* @description
|
|
24
25
|
* Maximum value for the rating.
|
|
@@ -114,22 +115,11 @@ declare class AXRatePickerComponent extends MXValueComponent<number> {
|
|
|
114
115
|
private onEnd;
|
|
115
116
|
private countDecimals;
|
|
116
117
|
/**
|
|
117
|
-
* @
|
|
118
|
-
* Determines if the component is active (i.e., not readonly or disabled).
|
|
119
|
-
*/
|
|
120
|
-
get isActive(): boolean;
|
|
121
|
-
/**
|
|
122
|
-
* @description
|
|
123
|
-
* Determines if the component is in readonly mode.
|
|
124
|
-
*/
|
|
125
|
-
get isReadonly(): boolean;
|
|
126
|
-
/**
|
|
127
|
-
* @description
|
|
128
|
-
* Determines if the component is disabled.
|
|
118
|
+
* @ignore
|
|
129
119
|
*/
|
|
130
|
-
get
|
|
120
|
+
private get __hostClass();
|
|
131
121
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXRatePickerComponent, never>;
|
|
132
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXRatePickerComponent, "ax-rate-picker", never, { "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "hasTransition": { "alias": "hasTransition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
122
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXRatePickerComponent, "ax-rate-picker", never, { "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "hasTransition": { "alias": "hasTransition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
133
123
|
}
|
|
134
124
|
|
|
135
125
|
declare class AXRatePickerModule {
|
package/side-menu/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
|
|
|
18
18
|
isLoading: _angular_core.ModelSignal<boolean>;
|
|
19
19
|
isCollapsed: _angular_core.ModelSignal<boolean>;
|
|
20
20
|
onClick: _angular_core.OutputEmitterRef<AXSideMenuItemClickEvent>;
|
|
21
|
+
tooltipStatus: _angular_core.WritableSignal<boolean>;
|
|
22
|
+
tooltipText: _angular_core.InputSignal<string>;
|
|
21
23
|
private elem;
|
|
22
24
|
readonly toggleOnClick: _angular_core.InputSignal<boolean>;
|
|
23
25
|
readonly href: _angular_core.InputSignal<string>;
|
|
@@ -27,6 +29,7 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
|
|
|
27
29
|
exact: boolean;
|
|
28
30
|
} | IsActiveMatchOptions>;
|
|
29
31
|
readonly target: _angular_core.InputSignal<"_blank" | "_self" | "_parent" | "_top">;
|
|
32
|
+
private childItems;
|
|
30
33
|
protected hasChild: _angular_core.WritableSignal<boolean>;
|
|
31
34
|
private checkForChildren;
|
|
32
35
|
protected _handleClickEvent(e: MouseEvent): void;
|
|
@@ -34,7 +37,7 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
|
|
|
34
37
|
open(): void;
|
|
35
38
|
close(): void;
|
|
36
39
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSideMenuItemComponent, never>;
|
|
37
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "toggleOnClick": { "alias": "toggleOnClick"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "active": "activeChange"; "isLoading": "isLoadingChange"; "isCollapsed": "isCollapsedChange"; "onClick": "onClick"; },
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "tooltipText": { "alias": "tooltipText"; "required": false; "isSignal": true; }; "toggleOnClick": { "alias": "toggleOnClick"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "active": "activeChange"; "isLoading": "isLoadingChange"; "isCollapsed": "isCollapsedChange"; "onClick": "onClick"; }, ["childItems"], ["ax-title", "ax-side-menu-item, ng-container", "ax-divider", "ax-prefix", "ax-text", "*", "ax-suffix"], true, never>;
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
type AXSideMenuLook = 'pills' | 'with-line' | 'with-line-color' | 'default';
|
|
@@ -64,14 +67,18 @@ type AXSideMenuItem = {
|
|
|
64
67
|
* A component for displaying a side menu with customizable content.
|
|
65
68
|
*/
|
|
66
69
|
declare class AXSideMenuComponent extends NXComponent {
|
|
70
|
+
#private;
|
|
67
71
|
items: _angular_core.ModelSignal<AXSideMenuItem[]>;
|
|
68
72
|
readonly look: _angular_core.InputSignal<AXSideMenuLook>;
|
|
69
73
|
readonly location: _angular_core.InputSignal<AXSideMenuLocation>;
|
|
74
|
+
readonly mode: _angular_core.InputSignal<"full" | "compact">;
|
|
70
75
|
children: _angular_core.Signal<readonly AXSideMenuItemComponent[]>;
|
|
76
|
+
private elementRef;
|
|
77
|
+
private firstLevelItems;
|
|
71
78
|
/** @ignore */
|
|
72
79
|
private get __hostClass();
|
|
73
80
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSideMenuComponent, never>;
|
|
74
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuComponent, "ax-side-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "location": { "alias": "location"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; },
|
|
81
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuComponent, "ax-side-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "location": { "alias": "location"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; }, ["children"], ["ax-side-menu-item,ax-title,ng-container,ng-content"], true, never>;
|
|
75
82
|
}
|
|
76
83
|
|
|
77
84
|
declare class AXOutlineSideMenuDirective {
|
package/slider/index.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ declare const AXSliderComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
|
11
11
|
ɵprov: i0.ɵɵInjectableDeclaration<MXValueComponent<any>>;
|
|
12
12
|
}, typeof MXColorComponent]>;
|
|
13
13
|
/**
|
|
14
|
-
* @
|
|
15
|
-
*
|
|
14
|
+
* @deprecated Use `range slider` instead.
|
|
15
|
+
* This component deprecated and no longer support.
|
|
16
16
|
*/
|
|
17
17
|
declare class AXSliderComponent extends AXSliderComponent_base {
|
|
18
18
|
private _zone;
|
package/time-duration/index.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ declare class AXTimeDurationComponent extends AXTimeDurationComponent_base {
|
|
|
21
21
|
protected maskOptions: _angular_core.WritableSignal<any>;
|
|
22
22
|
private translationService;
|
|
23
23
|
private timeDurationFormatter;
|
|
24
|
-
private translation;
|
|
25
24
|
private onInputFire;
|
|
26
25
|
private onInternalValueChangedFire;
|
|
27
26
|
private YEAR;
|
package/toast/index.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { AXLocation, AXStyleColorType, MXBaseComponent
|
|
1
|
+
import { AXLocation, AXStyleColorType, MXBaseComponent } from '@acorex/cdk/common';
|
|
2
|
+
import { AXOverlayRef } from '@acorex/cdk/overlay';
|
|
2
3
|
import * as i0 from '@angular/core';
|
|
3
4
|
import { OnInit, InjectionToken } from '@angular/core';
|
|
4
5
|
import * as i2 from '@acorex/components/button';
|
|
5
6
|
import { AXButtonItem } from '@acorex/components/button';
|
|
6
|
-
import * as i5 from '@angular/cdk/dialog';
|
|
7
|
-
import { DialogRef } from '@angular/cdk/dialog';
|
|
8
|
-
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
9
7
|
import * as i1 from '@angular/common';
|
|
10
8
|
import * as i3 from '@acorex/components/decorators';
|
|
11
9
|
import * as i4 from '@acorex/components/loading';
|
|
12
|
-
import * as
|
|
10
|
+
import * as i5 from '@acorex/core/translation';
|
|
13
11
|
|
|
14
12
|
interface AXToastDisplayConfig {
|
|
15
13
|
icon?: string;
|
|
@@ -37,19 +35,26 @@ interface AXToastData {
|
|
|
37
35
|
interface AXToastRef {
|
|
38
36
|
close(): void;
|
|
39
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* Internal reference used by toast service to manage overlay instances
|
|
41
|
+
*/
|
|
42
|
+
interface AXToastInternalRef {
|
|
43
|
+
id: string;
|
|
44
|
+
overlayRef: AXOverlayRef<unknown>;
|
|
45
|
+
config: AXToastData;
|
|
46
|
+
close: () => void;
|
|
47
|
+
}
|
|
40
48
|
|
|
41
49
|
declare class AXToastService {
|
|
42
|
-
private
|
|
43
|
-
private dialog;
|
|
50
|
+
private overlayService;
|
|
44
51
|
private defaultConfig;
|
|
45
52
|
private translationService;
|
|
46
53
|
private reserveCounter;
|
|
47
54
|
private activeToasts;
|
|
48
55
|
private reservedToasts;
|
|
49
|
-
private
|
|
56
|
+
private toastCounterRef;
|
|
50
57
|
private moreToastsConfig;
|
|
51
|
-
scrollStrategy: ScrollStrategy;
|
|
52
|
-
constructor();
|
|
53
58
|
/**
|
|
54
59
|
* Shows a primary toast notification.
|
|
55
60
|
*
|
|
@@ -101,10 +106,11 @@ declare class AXToastService {
|
|
|
101
106
|
private handleShowReservedToast;
|
|
102
107
|
private handleReservedToastCounter;
|
|
103
108
|
private createReservedCounterToast;
|
|
109
|
+
private positionToast;
|
|
104
110
|
private reposition;
|
|
105
111
|
private getRepositionPosition;
|
|
112
|
+
private applyRepositionPosition;
|
|
106
113
|
private getPosition;
|
|
107
|
-
private getPositionStrategy;
|
|
108
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastService, never>;
|
|
109
115
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXToastService>;
|
|
110
116
|
}
|
|
@@ -115,8 +121,10 @@ declare class AXToastService {
|
|
|
115
121
|
* @category Components
|
|
116
122
|
*/
|
|
117
123
|
declare class AXToastComponent extends MXBaseComponent implements OnInit {
|
|
118
|
-
|
|
119
|
-
|
|
124
|
+
/** Toast configuration data */
|
|
125
|
+
config: i0.InputSignal<AXToastData>;
|
|
126
|
+
/** @internal Callback function to close the toast */
|
|
127
|
+
onClose: i0.InputSignal<() => void>;
|
|
120
128
|
toastService: AXToastService;
|
|
121
129
|
createdDate: i0.WritableSignal<number>;
|
|
122
130
|
private intervalId;
|
|
@@ -134,8 +142,6 @@ declare class AXToastComponent extends MXBaseComponent implements OnInit {
|
|
|
134
142
|
private _initIcon;
|
|
135
143
|
/** @ignore */
|
|
136
144
|
_handleButtonClick(button: AXButtonItem): void;
|
|
137
|
-
/** @ignore */
|
|
138
|
-
private get __hostClass();
|
|
139
145
|
/**
|
|
140
146
|
* Closes the toast notification.
|
|
141
147
|
*/
|
|
@@ -145,7 +151,7 @@ declare class AXToastComponent extends MXBaseComponent implements OnInit {
|
|
|
145
151
|
*/
|
|
146
152
|
closeAll(): void;
|
|
147
153
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastComponent, never>;
|
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, {}, {}, never, never, true, never>;
|
|
154
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
149
155
|
}
|
|
150
156
|
|
|
151
157
|
interface AXToastConfig {
|
|
@@ -163,9 +169,9 @@ declare function toastConfig(config?: PartialToastConfig): AXToastConfig;
|
|
|
163
169
|
|
|
164
170
|
declare class AXToastModule {
|
|
165
171
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastModule, never>;
|
|
166
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, never, [typeof i1.CommonModule, typeof i2.AXButtonModule, typeof i3.AXDecoratorModule, typeof i4.AXLoadingModule, typeof i5.
|
|
172
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, never, [typeof i1.CommonModule, typeof i2.AXButtonModule, typeof i3.AXDecoratorModule, typeof i4.AXLoadingModule, typeof i5.AXTranslationModule, typeof AXToastComponent], [typeof AXToastComponent]>;
|
|
167
173
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXToastModule>;
|
|
168
174
|
}
|
|
169
175
|
|
|
170
176
|
export { AXToastComponent, AXToastDefaultConfig, AXToastModule, AXToastService, AX_TOAST_CONFIG, toastConfig };
|
|
171
|
-
export type { AXToastConfig, AXToastData, AXToastDisplayConfig, AXToastRef, PartialToastConfig };
|
|
177
|
+
export type { AXToastConfig, AXToastData, AXToastDisplayConfig, AXToastInternalRef, AXToastRef, PartialToastConfig };
|
package/tooltip/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { MXBaseComponent, AXPlacement, AXPlacementType } from '@acorex/cdk/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
3
|
+
import { TemplateRef } from '@angular/core';
|
|
5
4
|
import * as i1 from '@angular/common';
|
|
6
|
-
import * as i2 from '@angular/cdk/overlay';
|
|
7
5
|
|
|
8
6
|
/**
|
|
9
7
|
* A component for displaying tooltips with additional information or context when hovering over elements.
|
|
@@ -25,11 +23,10 @@ declare class AXTooltipComponent extends MXBaseComponent {
|
|
|
25
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXTooltipComponent, "ax-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
24
|
}
|
|
27
25
|
|
|
28
|
-
declare class AXTooltipDirective
|
|
26
|
+
declare class AXTooltipDirective {
|
|
29
27
|
#private;
|
|
30
28
|
private vc;
|
|
31
29
|
private elementRef;
|
|
32
|
-
private dragRef;
|
|
33
30
|
axTooltipDisabled: i0.InputSignal<boolean>;
|
|
34
31
|
content: i0.InputSignal<string | TemplateRef<unknown>>;
|
|
35
32
|
context: i0.InputSignal<unknown>;
|
|
@@ -48,16 +45,14 @@ declare class AXTooltipDirective implements OnInit {
|
|
|
48
45
|
private _closeAfter;
|
|
49
46
|
get closeAfter(): number;
|
|
50
47
|
set closeAfter(v: number);
|
|
51
|
-
|
|
52
|
-
constructor();
|
|
53
|
-
ngOnInit(): void;
|
|
48
|
+
private popoverRef;
|
|
54
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipDirective, never>;
|
|
55
50
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "axTooltipDisabled": { "alias": "axTooltipDisabled"; "required": false; "isSignal": true; }; "content": { "alias": "axTooltip"; "required": false; "isSignal": true; }; "context": { "alias": "axTooltipContext"; "required": false; "isSignal": true; }; "placement": { "alias": "axTooltipPlacement"; "required": false; }; "offsetX": { "alias": "axTooltipOffsetX"; "required": false; }; "offsetY": { "alias": "axTooltipOffsetY"; "required": false; }; "openAfter": { "alias": "axTooltipOpenAfter"; "required": false; }; "closeAfter": { "alias": "axTooltipCloseAfter"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
51
|
}
|
|
57
52
|
|
|
58
53
|
declare class AXTooltipModule {
|
|
59
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipModule, never>;
|
|
60
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTooltipModule, never, [typeof i1.CommonModule, typeof
|
|
55
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTooltipModule, never, [typeof i1.CommonModule, typeof AXTooltipComponent, typeof AXTooltipDirective], [typeof AXTooltipComponent, typeof AXTooltipDirective]>;
|
|
61
56
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXTooltipModule>;
|
|
62
57
|
}
|
|
63
58
|
|
package/tree-view/index.d.ts
CHANGED
|
@@ -123,6 +123,17 @@ interface AXTreeViewItemTemplateContext {
|
|
|
123
123
|
loading: boolean;
|
|
124
124
|
/** Whether the node is effectively disabled (considering inheritance from parents) */
|
|
125
125
|
disabled: boolean;
|
|
126
|
+
/** Whether checkbox should be shown for this node */
|
|
127
|
+
showCheckbox: boolean;
|
|
128
|
+
/** Checkbox value (null for indeterminate, boolean for checked/unchecked) */
|
|
129
|
+
checkboxValue: boolean | null;
|
|
130
|
+
/** Whether checkbox is in indeterminate state */
|
|
131
|
+
checkboxIndeterminate: boolean;
|
|
132
|
+
/** Handler function for checkbox value changes */
|
|
133
|
+
onCheckboxChange: (event: {
|
|
134
|
+
value: boolean | null;
|
|
135
|
+
isUserInteraction: boolean;
|
|
136
|
+
}) => void;
|
|
126
137
|
}
|
|
127
138
|
type AXTreeViewViewLook = 'default' | 'card' | 'with-line';
|
|
128
139
|
type AXTreeViewDragArea = 'handler' | 'item';
|