@acorex/components 21.0.1-next.0 → 21.0.1-next.2
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 +1 -0
- package/action-sheet/index.d.ts +41 -19
- package/button-group/index.d.ts +4 -6
- package/chips/index.d.ts +8 -3
- package/collapse/index.d.ts +6 -4
- package/data-table/index.d.ts +253 -4
- package/dialog/index.d.ts +19 -15
- package/dropdown/index.d.ts +3 -4
- package/fesm2022/acorex-components-accordion.mjs +13 -8
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +141 -93
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +6 -6
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +4 -5
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +3 -3
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +3 -3
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -2
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +11 -15
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +5 -5
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +4 -4
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +3 -3
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +8 -6
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +4 -6
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +10 -13
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +2 -2
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +2 -2
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +8 -8
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +2 -2
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +2 -2
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +2 -2
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +452 -16
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -2
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +2 -2
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +8 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +13 -20
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +67 -47
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +7 -6
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +2 -2
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +3 -9
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +4 -4
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +9 -17
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +5 -4
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +18 -18
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +2 -2
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +2 -2
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +4 -6
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +7 -25
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +2 -2
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +2 -2
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +73 -36
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +8 -8
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +2 -2
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +10 -10
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +27 -6
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-BnUdtPke.mjs → acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs} +29 -5
- package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-Cgq-wx_m.mjs → acorex-components-modal-modal-content.component-CSJU1vRi.mjs} +5 -7
- package/fesm2022/acorex-components-modal-modal-content.component-CSJU1vRi.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +3 -3
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +374 -246
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-legacy.mjs +2 -2
- package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +6 -7
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +2 -2
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +19 -14
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +4 -4
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +2 -2
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +2 -2
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +6 -6
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +136 -175
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +308 -105
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +3 -5
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +2 -2
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +2 -2
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +2 -2
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +25 -27
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +3 -3
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +29 -14
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +2 -2
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +2 -2
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +2 -2
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +18 -18
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +3 -9
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +2 -4
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +4 -4
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +2 -2
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +14 -63
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +2 -2
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +5 -5
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +2 -2
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +2 -2
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +4 -4
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +2 -2
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +2 -2
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +3 -3
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +2 -2
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +2 -2
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +4 -4
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +233 -125
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +2 -2
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +12 -12
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +6 -6
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +2 -2
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +12 -12
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/grid-layout-builder/index.d.ts +2 -1
- package/kbd/index.d.ts +7 -13
- package/loading/index.d.ts +1 -1
- package/loading-dialog/index.d.ts +31 -15
- package/menu/index.d.ts +4 -0
- package/modal/index.d.ts +7 -0
- package/notification/index.d.ts +47 -28
- package/number-box/index.d.ts +1 -1
- package/package.json +7 -7
- package/paint/index.d.ts +6 -1
- package/popover/index.d.ts +20 -27
- package/popup/index.d.ts +103 -27
- package/rate-picker/index.d.ts +15 -5
- package/side-menu/index.d.ts +2 -9
- package/slider/index.d.ts +2 -2
- package/toast/index.d.ts +24 -18
- package/tooltip/index.d.ts +2 -2
- package/fesm2022/acorex-components-modal-acorex-components-modal-BnUdtPke.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-Cgq-wx_m.mjs.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AXStyleColorType, AXStyleLookType, AXHotKeyAction, MXBaseComponent } from '@acorex/cdk/common';
|
|
2
|
+
import { AXOverlayRef } from '@acorex/cdk/overlay';
|
|
2
3
|
import { AXDialogButtonItem } from '@acorex/components/dialog';
|
|
3
4
|
import { AXProgressMode } from '@acorex/components/progress-bar';
|
|
4
5
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { WritableSignal } from '@angular/core';
|
|
6
|
+
import { OnInit, WritableSignal } from '@angular/core';
|
|
6
7
|
|
|
7
8
|
interface AXLoadingDialogConfig {
|
|
8
9
|
title: string;
|
|
@@ -28,22 +29,36 @@ interface AXLoadingDialogButtonItem {
|
|
|
28
29
|
handled?: boolean;
|
|
29
30
|
}) => void;
|
|
30
31
|
}
|
|
31
|
-
interface
|
|
32
|
+
interface AXLoadingDialogRef {
|
|
32
33
|
close(): void;
|
|
33
|
-
setProgressValue(value: number):
|
|
34
|
-
setProgressText(text: string):
|
|
35
|
-
setDialogTitle(text: string):
|
|
36
|
-
setProgressColor(color: AXStyleColorType):
|
|
37
|
-
setProgressStatus(status: string):
|
|
34
|
+
setProgressValue(value: number): void;
|
|
35
|
+
setProgressText(text: string): void;
|
|
36
|
+
setDialogTitle(text: string): void;
|
|
37
|
+
setProgressColor(color: AXStyleColorType): void;
|
|
38
|
+
setProgressStatus(status: string): void;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Use AXLoadingDialogRef instead
|
|
42
|
+
*/
|
|
43
|
+
type AXDialogRef = AXLoadingDialogRef;
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* Internal reference used by loading dialog service to manage overlay instances
|
|
47
|
+
*/
|
|
48
|
+
interface AXLoadingDialogInternalRef {
|
|
49
|
+
overlayRef: AXOverlayRef<unknown>;
|
|
50
|
+
close: () => void;
|
|
38
51
|
}
|
|
39
52
|
|
|
40
53
|
/**
|
|
41
54
|
* Represents a loading dialog component with custom styles and encapsulation.
|
|
42
55
|
* @category components
|
|
43
56
|
*/
|
|
44
|
-
declare class AXLoadingDialogComponent extends MXBaseComponent {
|
|
45
|
-
data
|
|
46
|
-
|
|
57
|
+
declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit {
|
|
58
|
+
/** Loading dialog configuration data */
|
|
59
|
+
data: i0.InputSignal<AXLoadingDialogConfig>;
|
|
60
|
+
/** @internal Callback function to close the dialog */
|
|
61
|
+
onClose: i0.InputSignal<() => void>;
|
|
47
62
|
/** @ignore */
|
|
48
63
|
protected progressText: WritableSignal<string>;
|
|
49
64
|
/** @ignore */
|
|
@@ -54,6 +69,7 @@ declare class AXLoadingDialogComponent extends MXBaseComponent {
|
|
|
54
69
|
protected dialogTitle: WritableSignal<string>;
|
|
55
70
|
/** @ignore */
|
|
56
71
|
protected progressValue: WritableSignal<number>;
|
|
72
|
+
ngOnInit(): void;
|
|
57
73
|
/**
|
|
58
74
|
* Closes the loading dialog.
|
|
59
75
|
*
|
|
@@ -100,7 +116,7 @@ declare class AXLoadingDialogComponent extends MXBaseComponent {
|
|
|
100
116
|
/** @ignore */
|
|
101
117
|
protected _hasAutoFocus(button: AXLoadingDialogButtonItem): boolean;
|
|
102
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogComponent, never>;
|
|
103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, {}, {}, never, never, true, never>;
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
104
120
|
}
|
|
105
121
|
|
|
106
122
|
declare class AXLoadingDialogModule {
|
|
@@ -110,17 +126,17 @@ declare class AXLoadingDialogModule {
|
|
|
110
126
|
}
|
|
111
127
|
|
|
112
128
|
declare class AXLoadingDialogService {
|
|
113
|
-
private
|
|
129
|
+
private overlayService;
|
|
114
130
|
/**
|
|
115
131
|
* Opens a loading dialog with the specified configuration.
|
|
116
132
|
*
|
|
117
133
|
* @param options Configuration for the loading dialog, including title, progress mode, and optional initial values.
|
|
118
|
-
* @returns
|
|
134
|
+
* @returns AXLoadingDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).
|
|
119
135
|
*/
|
|
120
|
-
show(options: AXLoadingDialogConfig):
|
|
136
|
+
show(options: AXLoadingDialogConfig): AXLoadingDialogRef;
|
|
121
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogService, never>;
|
|
122
138
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXLoadingDialogService>;
|
|
123
139
|
}
|
|
124
140
|
|
|
125
141
|
export { AXLoadingDialogComponent, AXLoadingDialogModule, AXLoadingDialogService };
|
|
126
|
-
export type { AXDialogRef, AXLoadingDialogButtonItem, AXLoadingDialogConfig };
|
|
142
|
+
export type { AXDialogRef, AXLoadingDialogButtonItem, AXLoadingDialogConfig, AXLoadingDialogInternalRef, AXLoadingDialogRef };
|
package/menu/index.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
65
65
|
private renderer;
|
|
66
66
|
private document;
|
|
67
67
|
private platformID;
|
|
68
|
+
private zIndexService;
|
|
69
|
+
private zToken;
|
|
68
70
|
/** @ignore */
|
|
69
71
|
constructor();
|
|
70
72
|
ngOnDestroy(): void;
|
|
@@ -127,6 +129,8 @@ declare class AXMenuItemComponent extends NXComponent implements OnDestroy {
|
|
|
127
129
|
private scrollableParents;
|
|
128
130
|
private unsuscriber;
|
|
129
131
|
private renderer;
|
|
132
|
+
private zIndexService;
|
|
133
|
+
private zToken;
|
|
130
134
|
protected arrowIcon: _angular_core.Signal<string>;
|
|
131
135
|
onClick: _angular_core.OutputEmitterRef<AXMenuItemClickEvent>;
|
|
132
136
|
name: _angular_core.InputSignal<string>;
|
package/modal/index.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ interface AXModalRef<TResult = any> {
|
|
|
33
33
|
restore: () => void;
|
|
34
34
|
close: (data?: TResult) => void;
|
|
35
35
|
setInputs: (values: AXComponentInputs) => void;
|
|
36
|
+
/** Brings this modal to the front of all other overlays */
|
|
37
|
+
bringToFront: () => void;
|
|
36
38
|
onClose: Subject<TResult>;
|
|
37
39
|
}
|
|
38
40
|
declare abstract class AXModalComponentBase {
|
|
@@ -41,6 +43,7 @@ declare abstract class AXModalComponentBase {
|
|
|
41
43
|
minimize(): void;
|
|
42
44
|
restore(): void;
|
|
43
45
|
maximize(): void;
|
|
46
|
+
bringToFront(): void;
|
|
44
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponentBase, never>;
|
|
45
48
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXModalComponentBase, never, never, { "__modal__": { "alias": "__modal__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
46
49
|
}
|
|
@@ -117,6 +120,10 @@ declare class AXModalService {
|
|
|
117
120
|
* Restores the modal from minimized or maximized state.
|
|
118
121
|
*/
|
|
119
122
|
restore(): Promise<void>;
|
|
123
|
+
/**
|
|
124
|
+
* Brings the modal to the front of all other overlays.
|
|
125
|
+
*/
|
|
126
|
+
bringToFront(): void;
|
|
120
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXModalService, never>;
|
|
121
128
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXModalService>;
|
|
122
129
|
}
|
package/notification/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { AXStyleColorType, AXStyleLookType, AXLocation, MXBaseComponent
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import { TemplateRef, OnInit, InjectionToken } from '@angular/core';
|
|
5
|
-
import { DialogRef } from '@angular/cdk/dialog';
|
|
1
|
+
import { AXStyleColorType, AXStyleLookType, AXLocation, MXBaseComponent } from '@acorex/cdk/common';
|
|
2
|
+
import { AXOverlayRef } from '@acorex/cdk/overlay';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { TemplateRef, Type, OnInit, InjectionToken } from '@angular/core';
|
|
6
5
|
|
|
7
|
-
type AXNotificationContentType = string | TemplateRef<unknown> |
|
|
6
|
+
type AXNotificationContentType = string | TemplateRef<unknown> | Type<unknown>;
|
|
8
7
|
interface AXNotificationButtonItem {
|
|
9
8
|
color?: AXStyleColorType;
|
|
10
9
|
look?: AXStyleLookType;
|
|
@@ -43,6 +42,16 @@ interface AXNotificationData {
|
|
|
43
42
|
interface AXNotificationRef {
|
|
44
43
|
close(): void;
|
|
45
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
* Internal reference used by notification service to manage overlay instances
|
|
48
|
+
*/
|
|
49
|
+
interface AXNotificationInternalRef {
|
|
50
|
+
id: string;
|
|
51
|
+
overlayRef: AXOverlayRef<unknown>;
|
|
52
|
+
config: AXNotificationData;
|
|
53
|
+
close: () => void;
|
|
54
|
+
}
|
|
46
55
|
|
|
47
56
|
/**
|
|
48
57
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
@@ -50,31 +59,40 @@ interface AXNotificationRef {
|
|
|
50
59
|
* @category Components
|
|
51
60
|
*/
|
|
52
61
|
declare class AXNotificationComponent extends MXBaseComponent implements OnInit {
|
|
53
|
-
|
|
54
|
-
|
|
62
|
+
/** Notification configuration data */
|
|
63
|
+
config: _angular_core.InputSignal<AXNotificationData>;
|
|
64
|
+
/** @internal Callback function to close the notification */
|
|
65
|
+
onClose: _angular_core.InputSignal<() => void>;
|
|
66
|
+
private notificationService;
|
|
55
67
|
/** @ignore */
|
|
56
|
-
|
|
57
|
-
/** @ignore */
|
|
58
|
-
_icon: string;
|
|
68
|
+
protected _icon: string;
|
|
59
69
|
private intervalId;
|
|
60
70
|
private isPaused;
|
|
61
|
-
protected remainingTime:
|
|
62
|
-
protected transitionDuration:
|
|
71
|
+
protected remainingTime: _angular_core.WritableSignal<number>;
|
|
72
|
+
protected transitionDuration: _angular_core.WritableSignal<number>;
|
|
73
|
+
/** Template content if config.content is a TemplateRef */
|
|
74
|
+
protected templateContent: _angular_core.Signal<TemplateRef<unknown>>;
|
|
75
|
+
/** Component content if config.content is a component Type */
|
|
76
|
+
protected componentContent: _angular_core.Signal<Type<unknown>>;
|
|
77
|
+
/** String content if config.content is a string */
|
|
78
|
+
protected stringContent: _angular_core.Signal<string>;
|
|
63
79
|
ngOnInit(): void;
|
|
64
80
|
private pauseAnimation;
|
|
65
81
|
private _handleTimeOut;
|
|
66
82
|
/** @ignore */
|
|
67
|
-
private _initContent;
|
|
68
|
-
/** @ignore */
|
|
69
83
|
private _initIcon;
|
|
70
84
|
/** @ignore */
|
|
71
85
|
protected _handleButtonClick(button: AXNotificationButtonItem): void;
|
|
72
86
|
/**
|
|
73
|
-
* Closes the
|
|
87
|
+
* Closes the notification.
|
|
74
88
|
*/
|
|
75
89
|
close(): void;
|
|
76
|
-
|
|
77
|
-
|
|
90
|
+
/**
|
|
91
|
+
* Closes all notifications.
|
|
92
|
+
*/
|
|
93
|
+
closeAll(): void;
|
|
94
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNotificationComponent, never>;
|
|
95
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXNotificationComponent, "ax-notification", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
78
96
|
}
|
|
79
97
|
|
|
80
98
|
interface AXNotificationConfig {
|
|
@@ -92,18 +110,18 @@ type PartialNotificationConfig = Partial<AXNotificationConfig>;
|
|
|
92
110
|
declare function notificationConfig(config?: PartialNotificationConfig): AXNotificationConfig;
|
|
93
111
|
|
|
94
112
|
declare class AXNotificationModule {
|
|
95
|
-
static ɵfac:
|
|
96
|
-
static ɵmod:
|
|
97
|
-
static ɵinj:
|
|
113
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNotificationModule, never>;
|
|
114
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXNotificationModule, never, [typeof AXNotificationComponent], [typeof AXNotificationComponent]>;
|
|
115
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXNotificationModule>;
|
|
98
116
|
}
|
|
99
117
|
|
|
100
118
|
declare class AXNotificationService {
|
|
101
|
-
private
|
|
119
|
+
private overlayService;
|
|
102
120
|
private translationService;
|
|
103
121
|
private defaultConfig;
|
|
104
122
|
private activeNotifications;
|
|
105
123
|
private reservedNotifications;
|
|
106
|
-
private
|
|
124
|
+
private notificationCounterRef;
|
|
107
125
|
private moreNotificationsColor;
|
|
108
126
|
private moreNotificationsLocation;
|
|
109
127
|
private reserveCounter;
|
|
@@ -112,14 +130,15 @@ declare class AXNotificationService {
|
|
|
112
130
|
hideAll(): void;
|
|
113
131
|
private handleShowReservedNotification;
|
|
114
132
|
private handleReservedNotificationCounter;
|
|
115
|
-
private
|
|
133
|
+
private createReservedCounterNotification;
|
|
134
|
+
private positionNotification;
|
|
116
135
|
private reposition;
|
|
117
136
|
private getRepositionPosition;
|
|
137
|
+
private applyRepositionPosition;
|
|
118
138
|
private getPosition;
|
|
119
|
-
|
|
120
|
-
static
|
|
121
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXNotificationService>;
|
|
139
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNotificationService, never>;
|
|
140
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXNotificationService>;
|
|
122
141
|
}
|
|
123
142
|
|
|
124
143
|
export { AXNotificationComponent, AXNotificationDefaultConfig, AXNotificationModule, AXNotificationService, AX_NOTIFICATION_CONFIG, notificationConfig };
|
|
125
|
-
export type { AXNotificationButtonItem, AXNotificationConfig, AXNotificationContentType, AXNotificationData, AXNotificationOptions, AXNotificationRef, PartialNotificationConfig };
|
|
144
|
+
export type { AXNotificationButtonItem, AXNotificationConfig, AXNotificationContentType, AXNotificationData, AXNotificationInternalRef, AXNotificationOptions, AXNotificationRef, PartialNotificationConfig };
|
package/number-box/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare class AXNumberBoxComponent extends AXNumberBoxComponent_base {
|
|
|
37
37
|
protected handleDownClick(): void;
|
|
38
38
|
protected handleOnMaskChanged(e: AXInputMaskEvent): void;
|
|
39
39
|
protected onWheel(event: WheelEvent): void;
|
|
40
|
-
reset(
|
|
40
|
+
reset(): void;
|
|
41
41
|
private get __hostName();
|
|
42
42
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
|
|
43
43
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", 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; }; "look": { "alias": "look"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "showSpinButtons": { "alias": "showSpinButtons"; "required": false; "isSignal": true; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "changeOnScroll": { "alias": "changeOnScroll"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; "thousandsSeparator": "thousandsSeparatorChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "21.0.1-next.
|
|
3
|
+
"version": "21.0.1-next.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "21.0.1-next.
|
|
6
|
-
"@acorex/cdk": "21.0.1-next.
|
|
5
|
+
"@acorex/core": "21.0.1-next.2",
|
|
6
|
+
"@acorex/cdk": "21.0.1-next.2",
|
|
7
7
|
"@angular/common": "^20.0.0",
|
|
8
8
|
"@angular/core": "^20.0.0",
|
|
9
9
|
"@angular/cdk": "^20.0.0",
|
|
@@ -177,10 +177,6 @@
|
|
|
177
177
|
"types": "./data-table/index.d.ts",
|
|
178
178
|
"default": "./fesm2022/acorex-components-data-table.mjs"
|
|
179
179
|
},
|
|
180
|
-
"./datetime-box": {
|
|
181
|
-
"types": "./datetime-box/index.d.ts",
|
|
182
|
-
"default": "./fesm2022/acorex-components-datetime-box.mjs"
|
|
183
|
-
},
|
|
184
180
|
"./datetime-input": {
|
|
185
181
|
"types": "./datetime-input/index.d.ts",
|
|
186
182
|
"default": "./fesm2022/acorex-components-datetime-input.mjs"
|
|
@@ -189,6 +185,10 @@
|
|
|
189
185
|
"types": "./datetime-picker/index.d.ts",
|
|
190
186
|
"default": "./fesm2022/acorex-components-datetime-picker.mjs"
|
|
191
187
|
},
|
|
188
|
+
"./datetime-box": {
|
|
189
|
+
"types": "./datetime-box/index.d.ts",
|
|
190
|
+
"default": "./fesm2022/acorex-components-datetime-box.mjs"
|
|
191
|
+
},
|
|
192
192
|
"./decorators": {
|
|
193
193
|
"types": "./decorators/index.d.ts",
|
|
194
194
|
"default": "./fesm2022/acorex-components-decorators.mjs"
|
package/paint/index.d.ts
CHANGED
|
@@ -98,6 +98,11 @@ declare class AXPaintViewComponent implements OnDestroy {
|
|
|
98
98
|
protected hostElem: ElementRef<any>;
|
|
99
99
|
/** @ignore */
|
|
100
100
|
private resizeEvent;
|
|
101
|
+
/**
|
|
102
|
+
* Specifies the class that pass to component.
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
readonly customClass: _angular_core.InputSignal<string>;
|
|
101
106
|
readonly paintBackgroundColor: _angular_core.InputSignal<"black" | "white">;
|
|
102
107
|
/** @ignore */
|
|
103
108
|
protected canvasElem: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
|
|
@@ -129,7 +134,7 @@ declare class AXPaintViewComponent implements OnDestroy {
|
|
|
129
134
|
getOutPut(e: 'image/webp' | 'image/png' | 'image/jpeg'): void;
|
|
130
135
|
get __hostClass(): string[];
|
|
131
136
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPaintViewComponent, never>;
|
|
132
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPaintViewComponent, "ax-paint-view", never, { "paintBackgroundColor": { "alias": "paintBackgroundColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
137
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPaintViewComponent, "ax-paint-view", never, { "customClass": { "alias": "class"; "required": false; "isSignal": true; }; "paintBackgroundColor": { "alias": "paintBackgroundColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
declare class AXPaintToolsSelectorComponent {
|
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';
|
|
@@ -11,27 +11,19 @@ type AXPopoverCloseTrigger = 'manual' | 'clickOut' | 'leave';
|
|
|
11
11
|
* A popover component with custom encapsulation and change detection settings.
|
|
12
12
|
*/
|
|
13
13
|
declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
14
|
-
|
|
14
|
+
private platform;
|
|
15
15
|
private document;
|
|
16
16
|
private platformID;
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
/** @ignore */
|
|
20
|
-
private _platform;
|
|
21
|
-
/** @ignore */
|
|
22
|
-
private _overlay;
|
|
17
|
+
private overlayService;
|
|
18
|
+
private onKeyDownHandler;
|
|
23
19
|
/** @ignore */
|
|
24
20
|
private _overlayRef;
|
|
25
21
|
/** @ignore */
|
|
26
|
-
private _isMouseOverButton;
|
|
27
|
-
/** @ignore */
|
|
28
|
-
private _isMouseOverTooltip;
|
|
29
|
-
/** @ignore */
|
|
30
22
|
private _lastActiveElement;
|
|
31
23
|
/** @ignore */
|
|
32
24
|
private _targetEvents;
|
|
33
25
|
/** @ignore */
|
|
34
|
-
private
|
|
26
|
+
private _outsideClickHandler;
|
|
35
27
|
/** @ignore */
|
|
36
28
|
private resizeObserver;
|
|
37
29
|
/** @ignore */
|
|
@@ -76,7 +68,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
76
68
|
*/
|
|
77
69
|
set target(v: Element | ElementRef | MXBaseComponent);
|
|
78
70
|
/** @ignore */
|
|
79
|
-
private
|
|
71
|
+
private _defaultPlacements;
|
|
80
72
|
/** @ignore */
|
|
81
73
|
private _placements;
|
|
82
74
|
/** @ignore */
|
|
@@ -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
|
/**
|
|
@@ -145,7 +134,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
145
134
|
*/
|
|
146
135
|
backdropClass: string;
|
|
147
136
|
/**
|
|
148
|
-
* CSS class to apply to the
|
|
137
|
+
* CSS class to apply to the panel element.
|
|
149
138
|
*/
|
|
150
139
|
panelClass: string;
|
|
151
140
|
/**
|
|
@@ -167,10 +156,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
167
156
|
/** @ignore */
|
|
168
157
|
private _emitOnClosedEvent;
|
|
169
158
|
/** @ignore */
|
|
170
|
-
protected _handleMouseEnter(e: MouseEvent): void;
|
|
171
|
-
/** @ignore */
|
|
172
|
-
protected _handleMouseLeave(e: MouseEvent): void;
|
|
173
|
-
/** @ignore */
|
|
174
159
|
private removeTargetEvents;
|
|
175
160
|
/** @ignore */
|
|
176
161
|
private bindTargetEvents;
|
|
@@ -178,6 +163,8 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
178
163
|
private bindOverlayEvents;
|
|
179
164
|
/** @ignore */
|
|
180
165
|
private removeOverlayEvents;
|
|
166
|
+
/** @ignore */
|
|
167
|
+
private handleOverlayDisposed;
|
|
181
168
|
/**
|
|
182
169
|
* Toggles the component's open state.
|
|
183
170
|
*/
|
|
@@ -189,7 +176,11 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
189
176
|
/**
|
|
190
177
|
* Opens the component if it's not already open, saves focus, opens the overlay, and emits the opened event.
|
|
191
178
|
*/
|
|
192
|
-
open(): void
|
|
179
|
+
open(): Promise<void>;
|
|
180
|
+
/** @ignore */
|
|
181
|
+
private addKeyDownListener;
|
|
182
|
+
/** @ignore */
|
|
183
|
+
private removeKeyDownListener;
|
|
193
184
|
/** @ignore */
|
|
194
185
|
private saveFocus;
|
|
195
186
|
/** @ignore */
|
|
@@ -207,8 +198,6 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
207
198
|
*/
|
|
208
199
|
get isActionsheetStyle(): boolean;
|
|
209
200
|
/** @ignore */
|
|
210
|
-
private updatePositionStrategy;
|
|
211
|
-
/** @ignore */
|
|
212
201
|
private updateOffset;
|
|
213
202
|
/**
|
|
214
203
|
* Updates the position of the overlay and focuses on it.
|
|
@@ -218,6 +207,10 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
218
207
|
* Focuses the overlay element.
|
|
219
208
|
*/
|
|
220
209
|
focus(): void;
|
|
210
|
+
/**
|
|
211
|
+
* Brings this popover to the front of all other overlays.
|
|
212
|
+
*/
|
|
213
|
+
bringToFront(): void;
|
|
221
214
|
/** @ignore */
|
|
222
215
|
private initializeResizeObserver;
|
|
223
216
|
/** @ignore */
|