@acorex/components 22.4.31 → 22.4.32
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/fesm2022/acorex-components-autocomplete.mjs +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +1 -1
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +1 -1
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +1 -1
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +13 -3
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +237 -28
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +175 -43
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +92 -11
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +14 -2
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +214 -20
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +1 -1
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +5 -5
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +1 -1
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +25 -6
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/package.json +3 -3
- package/types/acorex-components-dropdown.d.ts +8 -1
- package/types/acorex-components-notification.d.ts +66 -3
- package/types/acorex-components-otp.d.ts +39 -5
- package/types/acorex-components-paint.d.ts +29 -3
- package/types/acorex-components-phone-box.d.ts +3 -0
- package/types/acorex-components-picker.d.ts +43 -4
- package/types/acorex-components-select-box.d.ts +7 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import * as _acorex_cdk_common from '@acorex/cdk/common';
|
|
1
2
|
import { AXStyleColorType, AXStyleLookType, AXLocation, MXBaseComponent } from '@acorex/cdk/common';
|
|
2
3
|
import { AXOverlayRef } from '@acorex/cdk/overlay';
|
|
3
4
|
import * as _angular_core from '@angular/core';
|
|
4
5
|
import { TemplateRef, Type, ElementRef, OnInit, InjectionToken } from '@angular/core';
|
|
6
|
+
import * as _acorex_components_notification from '@acorex/components/notification';
|
|
5
7
|
|
|
6
8
|
type AXNotificationContentType = string | TemplateRef<unknown> | Type<unknown>;
|
|
7
9
|
interface AXNotificationButtonItem {
|
|
@@ -15,16 +17,29 @@ interface AXNotificationButtonItem {
|
|
|
15
17
|
handled?: boolean;
|
|
16
18
|
}) => void;
|
|
17
19
|
}
|
|
20
|
+
interface AXNotificationStep {
|
|
21
|
+
title?: string;
|
|
22
|
+
content?: AXNotificationContentType;
|
|
23
|
+
icon?: string;
|
|
24
|
+
color?: AXStyleColorType;
|
|
25
|
+
buttons?: AXNotificationButtonItem[];
|
|
26
|
+
}
|
|
18
27
|
interface AXNotificationOptions {
|
|
19
28
|
buttons?: AXNotificationButtonItem[];
|
|
20
29
|
icon?: string;
|
|
21
30
|
title?: string;
|
|
22
31
|
content?: AXNotificationContentType;
|
|
32
|
+
steps?: AXNotificationStep[];
|
|
33
|
+
stepIndex?: number;
|
|
23
34
|
location: AXLocation;
|
|
24
35
|
closeButton?: boolean;
|
|
25
36
|
color: AXStyleColorType;
|
|
26
37
|
timeOut?: number;
|
|
27
38
|
timeOutProgress?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Auto-close delay (ms) after the last multi-step step is reached. Default `1000`. `null` disables.
|
|
41
|
+
*/
|
|
42
|
+
stepCompleteTimeOut?: number | null;
|
|
28
43
|
pauseOnHover?: boolean;
|
|
29
44
|
/**
|
|
30
45
|
* Element used to resolve inherited visual context for overlays rendered
|
|
@@ -40,15 +55,24 @@ interface AXNotificationData {
|
|
|
40
55
|
icon?: string;
|
|
41
56
|
title?: string;
|
|
42
57
|
content?: AXNotificationContentType;
|
|
58
|
+
steps?: AXNotificationStep[];
|
|
59
|
+
stepIndex?: number;
|
|
43
60
|
location: AXLocation;
|
|
44
61
|
closeButton: boolean;
|
|
45
62
|
color: AXStyleColorType;
|
|
46
63
|
timeOut?: number;
|
|
47
64
|
timeOutProgress: boolean;
|
|
65
|
+
stepCompleteTimeOut?: number | null;
|
|
48
66
|
pauseOnHover?: boolean;
|
|
49
67
|
}
|
|
50
68
|
interface AXNotificationRef {
|
|
51
69
|
close(): void;
|
|
70
|
+
update?(patch: Partial<AXNotificationOptions>): void;
|
|
71
|
+
nextStep?(): boolean;
|
|
72
|
+
previousStep?(): boolean;
|
|
73
|
+
goToStep?(index: number): boolean;
|
|
74
|
+
getStepIndex?(): number;
|
|
75
|
+
getStepCount?(): number;
|
|
52
76
|
}
|
|
53
77
|
/**
|
|
54
78
|
* @internal
|
|
@@ -68,6 +92,8 @@ interface AXNotificationInternalRef {
|
|
|
68
92
|
* @category Components
|
|
69
93
|
*/
|
|
70
94
|
declare class AXNotificationComponent extends MXBaseComponent implements OnInit {
|
|
95
|
+
#private;
|
|
96
|
+
private static readonly defaultStepCompleteDelayMs;
|
|
71
97
|
/** Notification configuration data */
|
|
72
98
|
config: _angular_core.InputSignal<AXNotificationData>;
|
|
73
99
|
/** @internal Callback function to close the notification */
|
|
@@ -79,17 +105,54 @@ declare class AXNotificationComponent extends MXBaseComponent implements OnInit
|
|
|
79
105
|
private isPaused;
|
|
80
106
|
protected remainingTime: _angular_core.WritableSignal<number>;
|
|
81
107
|
protected transitionDuration: _angular_core.WritableSignal<number>;
|
|
108
|
+
private readonly runtimePatch;
|
|
109
|
+
protected readonly currentStepIndex: _angular_core.WritableSignal<number>;
|
|
110
|
+
private readonly multiStepCompleteCountdown;
|
|
111
|
+
private stepCompleteTimerId;
|
|
112
|
+
protected readonly mergedConfig: _angular_core.Signal<{
|
|
113
|
+
buttons?: AXNotificationButtonItem[];
|
|
114
|
+
icon?: string;
|
|
115
|
+
title?: string;
|
|
116
|
+
content?: _acorex_components_notification.AXNotificationContentType;
|
|
117
|
+
steps?: _acorex_components_notification.AXNotificationStep[];
|
|
118
|
+
stepIndex?: number;
|
|
119
|
+
location: _acorex_cdk_common.AXLocation;
|
|
120
|
+
closeButton: boolean;
|
|
121
|
+
color: _acorex_cdk_common.AXStyleColorType;
|
|
122
|
+
timeOut?: number;
|
|
123
|
+
timeOutProgress: boolean;
|
|
124
|
+
stepCompleteTimeOut?: number | null;
|
|
125
|
+
pauseOnHover?: boolean;
|
|
126
|
+
}>;
|
|
127
|
+
protected readonly steps: _angular_core.Signal<_acorex_components_notification.AXNotificationStep[]>;
|
|
128
|
+
protected readonly isMultiStep: _angular_core.Signal<boolean>;
|
|
129
|
+
protected readonly effectiveConfig: _angular_core.Signal<AXNotificationData>;
|
|
130
|
+
protected readonly stepIndicator: _angular_core.Signal<string>;
|
|
131
|
+
protected readonly showProgressBar: _angular_core.Signal<boolean>;
|
|
132
|
+
protected readonly progressWidthPercent: _angular_core.Signal<number>;
|
|
133
|
+
protected readonly progressTransitionDuration: _angular_core.Signal<number>;
|
|
82
134
|
/** Template content if config.content is a TemplateRef */
|
|
83
135
|
protected templateContent: _angular_core.Signal<TemplateRef<unknown>>;
|
|
84
136
|
/** Component content if config.content is a component Type */
|
|
85
137
|
protected componentContent: _angular_core.Signal<Type<unknown>>;
|
|
86
138
|
/** String content if config.content is a string */
|
|
87
139
|
protected stringContent: _angular_core.Signal<string>;
|
|
140
|
+
protected get hostMultiStepClass(): boolean;
|
|
88
141
|
ngOnInit(): void;
|
|
89
142
|
private pauseAnimation;
|
|
90
143
|
private _handleTimeOut;
|
|
91
|
-
|
|
92
|
-
private
|
|
144
|
+
private restartTimeOut;
|
|
145
|
+
private resolveStepCompleteDelay;
|
|
146
|
+
private clearStepCompleteClose;
|
|
147
|
+
private scheduleStepCompleteClose;
|
|
148
|
+
private onReachedFinalMultiStep;
|
|
149
|
+
private _syncIcon;
|
|
150
|
+
patchConfig(patch: Partial<AXNotificationOptions>): void;
|
|
151
|
+
nextStep(): boolean;
|
|
152
|
+
previousStep(): boolean;
|
|
153
|
+
goToStep(index: number): boolean;
|
|
154
|
+
getStepIndex(): number;
|
|
155
|
+
getStepCount(): number;
|
|
93
156
|
/** @ignore */
|
|
94
157
|
protected _handleButtonClick(button: AXNotificationButtonItem): void;
|
|
95
158
|
/**
|
|
@@ -151,4 +214,4 @@ declare class AXNotificationService {
|
|
|
151
214
|
}
|
|
152
215
|
|
|
153
216
|
export { AXNotificationComponent, AXNotificationDefaultConfig, AXNotificationModule, AXNotificationService, AX_NOTIFICATION_CONFIG, notificationConfig };
|
|
154
|
-
export type { AXNotificationButtonItem, AXNotificationConfig, AXNotificationContentType, AXNotificationData, AXNotificationInternalRef, AXNotificationOptions, AXNotificationRef, PartialNotificationConfig };
|
|
217
|
+
export type { AXNotificationButtonItem, AXNotificationConfig, AXNotificationContentType, AXNotificationData, AXNotificationInternalRef, AXNotificationOptions, AXNotificationRef, AXNotificationStep, PartialNotificationConfig };
|
|
@@ -3,6 +3,8 @@ import * as polytype from 'polytype';
|
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
4
|
|
|
5
5
|
type AXOtpMode = 'number' | 'dot' | 'star';
|
|
6
|
+
/** Allowed character set per OTP cell. */
|
|
7
|
+
type AXOtpInputType = 'number' | 'text' | 'letter';
|
|
6
8
|
declare class AXOtpCompletedEvent extends AXEvent {
|
|
7
9
|
value: string;
|
|
8
10
|
isCompleted: boolean;
|
|
@@ -18,7 +20,11 @@ declare const AXOtpComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
|
18
20
|
* A component for OTP input fields with state management and custom styling support.
|
|
19
21
|
*/
|
|
20
22
|
declare class AXOtpComponent extends AXOtpComponent_base {
|
|
21
|
-
|
|
23
|
+
private destroyRef;
|
|
24
|
+
/**
|
|
25
|
+
* Character set allowed in each cell: digits (`number`), English letters only (`letter`), or any character (`text`).
|
|
26
|
+
*/
|
|
27
|
+
type: _angular_core.InputSignal<AXOtpInputType>;
|
|
22
28
|
/**
|
|
23
29
|
* Controls how entered digits are displayed in each input.
|
|
24
30
|
* - `number`: shows the actual digit
|
|
@@ -30,6 +36,22 @@ declare class AXOtpComponent extends AXOtpComponent_base {
|
|
|
30
36
|
* Holds the length of the OTP input field.
|
|
31
37
|
*/
|
|
32
38
|
length: _angular_core.ModelSignal<number>;
|
|
39
|
+
/**
|
|
40
|
+
* Character displayed between digit groups (for example `-`). Omit or set empty to hide separators.
|
|
41
|
+
*/
|
|
42
|
+
separator: _angular_core.InputSignal<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Zero-based input indices after which `separator` is shown.
|
|
45
|
+
*/
|
|
46
|
+
separatorAfter: _angular_core.InputSignal<number[]>;
|
|
47
|
+
/**
|
|
48
|
+
* Equal-sized digit groups (for example `2` on a 6-digit code → `12-34-56`). Used when `separatorAfter` is not set.
|
|
49
|
+
*/
|
|
50
|
+
separatorGroupSize: _angular_core.InputSignal<number>;
|
|
51
|
+
/**
|
|
52
|
+
* Variable group sizes that sum to `length` (for example `[2, 2, 2]` or `[3, 3]`). Used when `separatorAfter` is not set.
|
|
53
|
+
*/
|
|
54
|
+
separatorGroups: _angular_core.InputSignal<number[]>;
|
|
33
55
|
/**
|
|
34
56
|
* @event
|
|
35
57
|
* Emits an event when the OTP input is completed.
|
|
@@ -44,6 +66,8 @@ declare class AXOtpComponent extends AXOtpComponent_base {
|
|
|
44
66
|
*/
|
|
45
67
|
protected inputs: _angular_core.Signal<number[]>;
|
|
46
68
|
/** @ignore */
|
|
69
|
+
protected separatorIndices: _angular_core.Signal<Set<number>>;
|
|
70
|
+
/** @ignore */
|
|
47
71
|
constructor();
|
|
48
72
|
/**
|
|
49
73
|
* Converts the value string to input values and updates the inputValues array.
|
|
@@ -54,7 +78,13 @@ declare class AXOtpComponent extends AXOtpComponent_base {
|
|
|
54
78
|
*/
|
|
55
79
|
reset(): void;
|
|
56
80
|
/** @ignore */
|
|
57
|
-
protected
|
|
81
|
+
protected nativeInputType(): 'number' | 'text';
|
|
82
|
+
/** @ignore */
|
|
83
|
+
protected inputMode(): string | null;
|
|
84
|
+
/** @ignore */
|
|
85
|
+
protected _handleOnInput(event: Event, i: number): void;
|
|
86
|
+
private sanitizeCellCharacter;
|
|
87
|
+
private extractPasteCharacters;
|
|
58
88
|
/** @ignore */
|
|
59
89
|
internalSetValue(value: any): string;
|
|
60
90
|
/** @ignore */
|
|
@@ -64,9 +94,13 @@ declare class AXOtpComponent extends AXOtpComponent_base {
|
|
|
64
94
|
/** @ignore */
|
|
65
95
|
protected hasValue(i: number): boolean;
|
|
66
96
|
/** @ignore */
|
|
97
|
+
protected shouldShowSeparatorAfter(index: number): boolean;
|
|
98
|
+
private indicesFromEqualGroupSize;
|
|
99
|
+
private indicesFromGroupSizes;
|
|
100
|
+
/** @ignore */
|
|
67
101
|
protected _maskCharacter(): string;
|
|
68
102
|
/** @ignore */
|
|
69
|
-
protected
|
|
103
|
+
protected syncCellMetrics(): void;
|
|
70
104
|
/** @ignore */
|
|
71
105
|
protected _handleOnKeyDown(event: KeyboardEvent, i: number): void;
|
|
72
106
|
/** @ignore */
|
|
@@ -76,7 +110,7 @@ declare class AXOtpComponent extends AXOtpComponent_base {
|
|
|
76
110
|
/** @ignore */
|
|
77
111
|
protected _emitOnComplete(): void;
|
|
78
112
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXOtpComponent, 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>;
|
|
113
|
+
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; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "separatorAfter": { "alias": "separatorAfter"; "required": false; "isSignal": true; }; "separatorGroupSize": { "alias": "separatorGroupSize"; "required": false; "isSignal": true; }; "separatorGroups": { "alias": "separatorGroups"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; "disabledChange": "disabledChange"; "length": "lengthChange"; "onCompleted": "onCompleted"; }, never, ["ax-validation-rule"], true, never>;
|
|
80
114
|
}
|
|
81
115
|
|
|
82
116
|
declare class AXOtpModule {
|
|
@@ -86,4 +120,4 @@ declare class AXOtpModule {
|
|
|
86
120
|
}
|
|
87
121
|
|
|
88
122
|
export { AXOtpCompletedEvent, AXOtpComponent, AXOtpModule };
|
|
89
|
-
export type { AXOtpMode };
|
|
123
|
+
export type { AXOtpInputType, AXOtpMode };
|
|
@@ -108,6 +108,21 @@ declare class AXPaintViewComponent implements OnDestroy {
|
|
|
108
108
|
/** @ignore */
|
|
109
109
|
protected isUserInteract: _angular_core.WritableSignal<boolean>;
|
|
110
110
|
/** @ignore */
|
|
111
|
+
protected pointerInsideCanvas: _angular_core.WritableSignal<boolean>;
|
|
112
|
+
/** @ignore */
|
|
113
|
+
protected pointerPosition: _angular_core.WritableSignal<{
|
|
114
|
+
x: number;
|
|
115
|
+
y: number;
|
|
116
|
+
}>;
|
|
117
|
+
/** @ignore */
|
|
118
|
+
protected brushCursorVisible: _angular_core.Signal<boolean>;
|
|
119
|
+
/** @ignore */
|
|
120
|
+
protected brushDiameter: _angular_core.Signal<number>;
|
|
121
|
+
/** @ignore */
|
|
122
|
+
protected brushFillColor: _angular_core.Signal<string>;
|
|
123
|
+
/** @ignore */
|
|
124
|
+
protected brushBorderColor: _angular_core.Signal<"rgba(var(--ax-sys-color-border-default), 0.9)" | "rgba(var(--ax-sys-color-border-default), 0.4)">;
|
|
125
|
+
/** @ignore */
|
|
111
126
|
ngOnDestroy(): void;
|
|
112
127
|
/** @ignore */
|
|
113
128
|
protected resizeEventHandler(): void;
|
|
@@ -116,11 +131,22 @@ declare class AXPaintViewComponent implements OnDestroy {
|
|
|
116
131
|
/** @ignore */
|
|
117
132
|
protected getBoundingCanvasHandler(): any;
|
|
118
133
|
/** @ignore */
|
|
119
|
-
protected
|
|
134
|
+
protected pointerEnterHandler(e: PointerEvent): void;
|
|
135
|
+
/** @ignore */
|
|
136
|
+
protected pointerLeaveHandler(): void;
|
|
137
|
+
/** @ignore */
|
|
138
|
+
protected canvasPointerPosition(e: PointerEvent): {
|
|
139
|
+
x: number;
|
|
140
|
+
y: number;
|
|
141
|
+
};
|
|
142
|
+
/** @ignore */
|
|
143
|
+
protected updatePointerPosition(e: PointerEvent): void;
|
|
144
|
+
/** @ignore */
|
|
145
|
+
protected pointerDownHandler(e: PointerEvent): void;
|
|
120
146
|
/** @ignore */
|
|
121
|
-
protected
|
|
147
|
+
protected pointerMoveHandler(e: PointerEvent): void;
|
|
122
148
|
/** @ignore */
|
|
123
|
-
protected
|
|
149
|
+
protected pointerUpHandler(e: PointerEvent): void;
|
|
124
150
|
/**
|
|
125
151
|
* Loads an image onto the canvas (e.g. for editing an existing signature).
|
|
126
152
|
*
|
|
@@ -51,6 +51,9 @@ declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
|
|
|
51
51
|
*/
|
|
52
52
|
excluded: _angular_core.InputSignal<string[]>;
|
|
53
53
|
private selectBox;
|
|
54
|
+
/** Visible phone field (`ax-editor-container`) — country list matches its width and position. */
|
|
55
|
+
protected get phoneFieldAnchor(): HTMLElement | undefined;
|
|
56
|
+
protected get phoneDropdownWidth(): string | null;
|
|
54
57
|
/** @ignore */
|
|
55
58
|
protected countries: _angular_core.WritableSignal<CountryItem[]>;
|
|
56
59
|
/** @ignore */
|
|
@@ -14,6 +14,7 @@ declare class AXPickerContainerComponent {
|
|
|
14
14
|
|
|
15
15
|
declare class AXPickerItemsComponent extends MXValueComponent {
|
|
16
16
|
#private;
|
|
17
|
+
private readonly destroyRef;
|
|
17
18
|
protected swiperRef: _angular_core.Signal<AXCarouselDirective>;
|
|
18
19
|
readonly items: _angular_core.InputSignal<any[]>;
|
|
19
20
|
readonly valueField: _angular_core.InputSignal<string>;
|
|
@@ -23,13 +24,42 @@ declare class AXPickerItemsComponent extends MXValueComponent {
|
|
|
23
24
|
private selectedItemIndex;
|
|
24
25
|
readonly minValue: _angular_core.InputSignal<number>;
|
|
25
26
|
readonly maxValue: _angular_core.InputSignal<number>;
|
|
27
|
+
/**
|
|
28
|
+
* iOS-style stepped opacity from center (1, 0.8, 0.6 … min 0.2). Wheel scale/tilt is always on.
|
|
29
|
+
*/
|
|
30
|
+
readonly fade: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
private static readonly fadeMinOpacity;
|
|
32
|
+
private static readonly fadeStep;
|
|
33
|
+
private static readonly selectedFontRem;
|
|
34
|
+
private static readonly baseFontRem;
|
|
35
|
+
private static readonly minFontRem;
|
|
36
|
+
private static readonly wheelScaleFalloff;
|
|
37
|
+
private static readonly wheelMinScale;
|
|
38
|
+
private static readonly wheelRotateFactor;
|
|
39
|
+
private static readonly mouseWheelDeltaThreshold;
|
|
40
|
+
private static readonly mouseWheelStepCooldownMs;
|
|
26
41
|
protected option: _angular_core.WritableSignal<swiper_types.SwiperOptions>;
|
|
42
|
+
private wheelHandlersBound;
|
|
43
|
+
private mouseWheelStepBound;
|
|
44
|
+
private mouseWheelDeltaAccumulator;
|
|
45
|
+
private lastMouseWheelStepAt;
|
|
46
|
+
private bindWheelHandlers;
|
|
47
|
+
private bindMouseWheelStep;
|
|
48
|
+
private updateSlideWheelVisuals;
|
|
49
|
+
private opacityForRowDistance;
|
|
50
|
+
private getSlideWheelMetrics;
|
|
27
51
|
protected clickHandler(v: any): any;
|
|
28
52
|
internalSetValue(v: any): any;
|
|
29
53
|
/** @ignore */
|
|
30
|
-
|
|
54
|
+
protected readonly hostWheelClass = true;
|
|
55
|
+
/** @ignore */
|
|
56
|
+
protected get hostDisabledClass(): boolean;
|
|
57
|
+
/** @ignore */
|
|
58
|
+
protected get hostReadonlyClass(): boolean;
|
|
59
|
+
/** @ignore */
|
|
60
|
+
protected get hostFadeClass(): boolean;
|
|
31
61
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPickerItemsComponent, never>;
|
|
32
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPickerItemsComponent, "ax-picker-items", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyChange": { "alias": "readonlyChange"; "required": false; }; "disabledChange": { "alias": "disabledChange"; "required": false; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "slidesPerGroup": { "alias": "slidesPerGroup"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, never, true, never>;
|
|
62
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPickerItemsComponent, "ax-picker-items", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyChange": { "alias": "readonlyChange"; "required": false; }; "disabledChange": { "alias": "disabledChange"; "required": false; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "slidesPerGroup": { "alias": "slidesPerGroup"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "fade": { "alias": "fade"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, never, true, never>;
|
|
33
63
|
}
|
|
34
64
|
|
|
35
65
|
declare class AXPickerTitleComponent {
|
|
@@ -37,10 +67,19 @@ declare class AXPickerTitleComponent {
|
|
|
37
67
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPickerTitleComponent, "ax-picker-title", never, {}, {}, never, ["*"], true, never>;
|
|
38
68
|
}
|
|
39
69
|
|
|
70
|
+
declare class AXPickerWrapperComponent {
|
|
71
|
+
readonly customClass: _angular_core.InputSignal<string>;
|
|
72
|
+
/** When false, selection band is vertically centered on the full wrapper (no title row). */
|
|
73
|
+
readonly reserveTitleSpace: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
74
|
+
protected get hostClass(): string;
|
|
75
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPickerWrapperComponent, never>;
|
|
76
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPickerWrapperComponent, "ax-picker-wrapper", never, { "customClass": { "alias": "class"; "required": false; "isSignal": true; }; "reserveTitleSpace": { "alias": "reserveTitleSpace"; "required": false; "isSignal": true; }; }, {}, never, ["ax-picker-container"], true, never>;
|
|
77
|
+
}
|
|
78
|
+
|
|
40
79
|
declare class AXPickerModule {
|
|
41
80
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPickerModule, never>;
|
|
42
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPickerModule, never, [typeof i1.CommonModule, typeof i2.AXCarouselDirective, typeof AXPickerContainerComponent, typeof AXPickerItemsComponent, typeof AXPickerTitleComponent], [typeof AXPickerContainerComponent, typeof AXPickerItemsComponent, typeof AXPickerTitleComponent]>;
|
|
81
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPickerModule, never, [typeof i1.CommonModule, typeof i2.AXCarouselDirective, typeof AXPickerContainerComponent, typeof AXPickerItemsComponent, typeof AXPickerTitleComponent, typeof AXPickerWrapperComponent], [typeof AXPickerContainerComponent, typeof AXPickerItemsComponent, typeof AXPickerTitleComponent, typeof AXPickerWrapperComponent]>;
|
|
43
82
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPickerModule>;
|
|
44
83
|
}
|
|
45
84
|
|
|
46
|
-
export { AXPickerContainerComponent, AXPickerItemsComponent, AXPickerModule, AXPickerTitleComponent };
|
|
85
|
+
export { AXPickerContainerComponent, AXPickerItemsComponent, AXPickerModule, AXPickerTitleComponent, AXPickerWrapperComponent };
|
|
@@ -123,6 +123,10 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
|
123
123
|
* @defaultValue null
|
|
124
124
|
*/
|
|
125
125
|
dropdownWidth: _angular_core.InputSignal<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Optional anchor for popover placement and width (defaults to the select-box host).
|
|
128
|
+
*/
|
|
129
|
+
dropdownAnchor: _angular_core.InputSignal<HTMLElement>;
|
|
126
130
|
/** @ignore */
|
|
127
131
|
panel: ElementRef<HTMLDivElement>;
|
|
128
132
|
/** @ignore */
|
|
@@ -172,6 +176,8 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
|
172
176
|
private _getMaxVisibleItems;
|
|
173
177
|
/** Standard popover list height: `maxVisibleItems` rows (default 5). */
|
|
174
178
|
private _getStandardListHeightPx;
|
|
179
|
+
private parseDropdownWidthPx;
|
|
180
|
+
private resolveDropdownWidthPx;
|
|
175
181
|
/** @ignore */
|
|
176
182
|
private setDropdownSize;
|
|
177
183
|
/**
|
|
@@ -199,7 +205,7 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
|
199
205
|
refresh(): void;
|
|
200
206
|
hostClickListener(): void;
|
|
201
207
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
|
|
202
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "maxVisibleItems": { "alias": "maxVisibleItems"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "minRecordsForSearch": { "alias": "minRecordsForSearch"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; "isSignal": true; }; "searchBoxAutoFocus": { "alias": "searchBoxAutoFocus"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; "onItemSelected": "onItemSelected"; "onItemClick": "onItemClick"; }, ["searchBox"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-search-box", "ax-footer", "ax-validation-rule"], true, never>;
|
|
208
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "maxVisibleItems": { "alias": "maxVisibleItems"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "minRecordsForSearch": { "alias": "minRecordsForSearch"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; "isSignal": true; }; "dropdownAnchor": { "alias": "dropdownAnchor"; "required": false; "isSignal": true; }; "searchBoxAutoFocus": { "alias": "searchBoxAutoFocus"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; "onItemSelected": "onItemSelected"; "onItemClick": "onItemClick"; }, ["searchBox"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-search-box", "ax-footer", "ax-validation-rule"], true, never>;
|
|
203
209
|
}
|
|
204
210
|
|
|
205
211
|
/**
|