@acorex/components 18.10.7 → 18.10.9
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/esm2022/alert/lib/alert.component.mjs +7 -5
- package/esm2022/map/lib/map.component.mjs +144 -40
- package/esm2022/range-slider/lib/range-slider.component.mjs +50 -24
- package/esm2022/rate-picker/lib/rate-picker.component.mjs +90 -28
- package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +10 -4
- package/esm2022/side-menu/lib/side-menu.component.mjs +2 -2
- package/fesm2022/acorex-components-alert.mjs +6 -4
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +143 -39
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +49 -23
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +89 -27
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +11 -5
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/map/lib/map.component.d.ts +97 -6
- package/package.json +35 -35
- package/range-slider/lib/range-slider.component.d.ts +47 -21
- package/rate-picker/lib/rate-picker.component.d.ts +77 -16
- package/side-menu/lib/side-menu-item/side-menu-item.compoent.d.ts +1 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "18.10.
|
3
|
+
"version": "18.10.9",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=18.2.0",
|
6
6
|
"@angular/core": ">=18.2.0",
|
@@ -38,11 +38,17 @@
|
|
38
38
|
"esm": "./esm2022/avatar/acorex-components-avatar.mjs",
|
39
39
|
"default": "./fesm2022/acorex-components-avatar.mjs"
|
40
40
|
},
|
41
|
-
"./
|
42
|
-
"types": "./
|
43
|
-
"esm2022": "./esm2022/
|
44
|
-
"esm": "./esm2022/
|
45
|
-
"default": "./fesm2022/acorex-components-
|
41
|
+
"./audio-wave": {
|
42
|
+
"types": "./audio-wave/index.d.ts",
|
43
|
+
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
44
|
+
"esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
45
|
+
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
46
|
+
},
|
47
|
+
"./badge": {
|
48
|
+
"types": "./badge/index.d.ts",
|
49
|
+
"esm2022": "./esm2022/badge/acorex-components-badge.mjs",
|
50
|
+
"esm": "./esm2022/badge/acorex-components-badge.mjs",
|
51
|
+
"default": "./fesm2022/acorex-components-badge.mjs"
|
46
52
|
},
|
47
53
|
"./bottom-navigation": {
|
48
54
|
"types": "./bottom-navigation/index.d.ts",
|
@@ -56,17 +62,11 @@
|
|
56
62
|
"esm": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
|
57
63
|
"default": "./fesm2022/acorex-components-breadcrumbs.mjs"
|
58
64
|
},
|
59
|
-
"./
|
60
|
-
"types": "./
|
61
|
-
"esm2022": "./esm2022/
|
62
|
-
"esm": "./esm2022/
|
63
|
-
"default": "./fesm2022/acorex-components-
|
64
|
-
},
|
65
|
-
"./badge": {
|
66
|
-
"types": "./badge/index.d.ts",
|
67
|
-
"esm2022": "./esm2022/badge/acorex-components-badge.mjs",
|
68
|
-
"esm": "./esm2022/badge/acorex-components-badge.mjs",
|
69
|
-
"default": "./fesm2022/acorex-components-badge.mjs"
|
65
|
+
"./alert": {
|
66
|
+
"types": "./alert/index.d.ts",
|
67
|
+
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
68
|
+
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
69
|
+
"default": "./fesm2022/acorex-components-alert.mjs"
|
70
70
|
},
|
71
71
|
"./button": {
|
72
72
|
"types": "./button/index.d.ts",
|
@@ -134,18 +134,18 @@
|
|
134
134
|
"esm": "./esm2022/common/acorex-components-common.mjs",
|
135
135
|
"default": "./fesm2022/acorex-components-common.mjs"
|
136
136
|
},
|
137
|
-
"./data-pager": {
|
138
|
-
"types": "./data-pager/index.d.ts",
|
139
|
-
"esm2022": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
140
|
-
"esm": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
141
|
-
"default": "./fesm2022/acorex-components-data-pager.mjs"
|
142
|
-
},
|
143
137
|
"./conversation": {
|
144
138
|
"types": "./conversation/index.d.ts",
|
145
139
|
"esm2022": "./esm2022/conversation/acorex-components-conversation.mjs",
|
146
140
|
"esm": "./esm2022/conversation/acorex-components-conversation.mjs",
|
147
141
|
"default": "./fesm2022/acorex-components-conversation.mjs"
|
148
142
|
},
|
143
|
+
"./data-pager": {
|
144
|
+
"types": "./data-pager/index.d.ts",
|
145
|
+
"esm2022": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
146
|
+
"esm": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
147
|
+
"default": "./fesm2022/acorex-components-data-pager.mjs"
|
148
|
+
},
|
149
149
|
"./data-table": {
|
150
150
|
"types": "./data-table/index.d.ts",
|
151
151
|
"esm2022": "./esm2022/data-table/acorex-components-data-table.mjs",
|
@@ -194,18 +194,18 @@
|
|
194
194
|
"esm": "./esm2022/dropdown/acorex-components-dropdown.mjs",
|
195
195
|
"default": "./fesm2022/acorex-components-dropdown.mjs"
|
196
196
|
},
|
197
|
-
"./form": {
|
198
|
-
"types": "./form/index.d.ts",
|
199
|
-
"esm2022": "./esm2022/form/acorex-components-form.mjs",
|
200
|
-
"esm": "./esm2022/form/acorex-components-form.mjs",
|
201
|
-
"default": "./fesm2022/acorex-components-form.mjs"
|
202
|
-
},
|
203
197
|
"./dropdown-button": {
|
204
198
|
"types": "./dropdown-button/index.d.ts",
|
205
199
|
"esm2022": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
|
206
200
|
"esm": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
|
207
201
|
"default": "./fesm2022/acorex-components-dropdown-button.mjs"
|
208
202
|
},
|
203
|
+
"./form": {
|
204
|
+
"types": "./form/index.d.ts",
|
205
|
+
"esm2022": "./esm2022/form/acorex-components-form.mjs",
|
206
|
+
"esm": "./esm2022/form/acorex-components-form.mjs",
|
207
|
+
"default": "./fesm2022/acorex-components-form.mjs"
|
208
|
+
},
|
209
209
|
"./image": {
|
210
210
|
"types": "./image/index.d.ts",
|
211
211
|
"esm2022": "./esm2022/image/acorex-components-image.mjs",
|
@@ -218,18 +218,18 @@
|
|
218
218
|
"esm": "./esm2022/label/acorex-components-label.mjs",
|
219
219
|
"default": "./fesm2022/acorex-components-label.mjs"
|
220
220
|
},
|
221
|
-
"./loading": {
|
222
|
-
"types": "./loading/index.d.ts",
|
223
|
-
"esm2022": "./esm2022/loading/acorex-components-loading.mjs",
|
224
|
-
"esm": "./esm2022/loading/acorex-components-loading.mjs",
|
225
|
-
"default": "./fesm2022/acorex-components-loading.mjs"
|
226
|
-
},
|
227
221
|
"./list": {
|
228
222
|
"types": "./list/index.d.ts",
|
229
223
|
"esm2022": "./esm2022/list/acorex-components-list.mjs",
|
230
224
|
"esm": "./esm2022/list/acorex-components-list.mjs",
|
231
225
|
"default": "./fesm2022/acorex-components-list.mjs"
|
232
226
|
},
|
227
|
+
"./loading": {
|
228
|
+
"types": "./loading/index.d.ts",
|
229
|
+
"esm2022": "./esm2022/loading/acorex-components-loading.mjs",
|
230
|
+
"esm": "./esm2022/loading/acorex-components-loading.mjs",
|
231
|
+
"default": "./fesm2022/acorex-components-loading.mjs"
|
232
|
+
},
|
233
233
|
"./loading-dialog": {
|
234
234
|
"types": "./loading-dialog/index.d.ts",
|
235
235
|
"esm2022": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
|
@@ -7,70 +7,96 @@ declare const AXRangeSliderComponent_base: import("polytype").Polytype.Clustered
|
|
7
7
|
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXValueComponent<any>>;
|
8
8
|
}]>;
|
9
9
|
/**
|
10
|
-
* @
|
11
|
-
*
|
10
|
+
* @description
|
11
|
+
* A range slider for selecting a range of values, supporting both single and dual modes.
|
12
|
+
* The slider offers step, snap, and tooltip configurations.
|
13
|
+
*
|
14
|
+
* @example
|
15
|
+
* <ax-range-slider [min]="0" [max]="100" [step]="1" [mode]="'dual'"></ax-range-slider>
|
12
16
|
*/
|
13
17
|
export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base {
|
14
|
-
/**
|
15
|
-
* @ignore
|
16
|
-
*/
|
17
18
|
private zone;
|
18
19
|
/**
|
19
|
-
* @description
|
20
|
+
* @description
|
21
|
+
* The orientation of the slider, either 'horizontal' or 'vertical'.
|
22
|
+
* @default 'horizontal'
|
20
23
|
*/
|
21
24
|
orientation: import("@angular/core").InputSignal<AXOrientation>;
|
22
25
|
/**
|
23
|
-
* @description
|
26
|
+
* @description
|
27
|
+
* Color theme for the slider, affecting highlight, tooltip, and handler.
|
28
|
+
* @default 'primary'
|
24
29
|
*/
|
25
30
|
color: import("@angular/core").InputSignal<AXStyleColorType>;
|
26
31
|
/**
|
27
|
-
* @description
|
28
|
-
*
|
32
|
+
* @description
|
33
|
+
* The value(s) of the slider. Can be a single number for single mode or an array of two numbers for dual mode.
|
29
34
|
*/
|
30
35
|
values: import("@angular/core").ModelSignal<AXRangeSliderValue>;
|
31
36
|
/**
|
32
|
-
* @description
|
37
|
+
* @description
|
38
|
+
* The mode of the slider, either 'single' or 'dual'.
|
39
|
+
* @default 'single'
|
33
40
|
*/
|
34
41
|
mode: import("@angular/core").InputSignal<AXRangeSliderMode>;
|
35
42
|
/**
|
36
|
-
* @description
|
43
|
+
* @description
|
44
|
+
* The minimum value of the slider.
|
45
|
+
* @default 0
|
37
46
|
*/
|
38
47
|
min: import("@angular/core").InputSignal<number>;
|
39
48
|
/**
|
40
|
-
* @description
|
49
|
+
* @description
|
50
|
+
* The maximum value of the slider.
|
51
|
+
* @default 100
|
41
52
|
*/
|
42
53
|
max: import("@angular/core").InputSignal<number>;
|
43
54
|
/**
|
44
|
-
* @description
|
55
|
+
* @description
|
56
|
+
* The step increment for value changes.
|
57
|
+
* @default 1
|
45
58
|
*/
|
46
59
|
step: import("@angular/core").InputSignal<number>;
|
47
60
|
/**
|
48
|
-
* @description
|
49
|
-
*
|
61
|
+
* @description
|
62
|
+
* The snapping increment for the slider.
|
63
|
+
* @default 1
|
50
64
|
*/
|
51
65
|
snap: import("@angular/core").InputSignal<number>;
|
52
66
|
/**
|
53
|
-
* @description
|
67
|
+
* @description
|
68
|
+
* Mode for displaying tooltips, can be at the start, end, or both.
|
69
|
+
* @default 'end'
|
54
70
|
*/
|
55
71
|
tooltipMode: import("@angular/core").InputSignal<AXRangeSliderTooltipMode>;
|
56
72
|
/**
|
57
|
-
* @description
|
73
|
+
* @description
|
74
|
+
* Mode for snapping, can snap at the start, end, or both.
|
75
|
+
* @default 'start'
|
58
76
|
*/
|
59
77
|
snapMode: import("@angular/core").InputSignal<AXRangeSliderSnapMode>;
|
60
78
|
/**
|
61
|
-
* @description
|
79
|
+
* @description
|
80
|
+
* Whether the slider should have steps.
|
81
|
+
* @default true
|
62
82
|
*/
|
63
83
|
hasStep: import("@angular/core").InputSignal<boolean>;
|
64
84
|
/**
|
65
|
-
* @description
|
85
|
+
* @description
|
86
|
+
* Whether the slider should display snapping.
|
87
|
+
* @default false
|
66
88
|
*/
|
67
89
|
hasSnap: import("@angular/core").InputSignal<boolean>;
|
68
90
|
/**
|
69
|
-
* @description
|
91
|
+
* @description
|
92
|
+
* Whether the slider should display labels for snapping points.
|
93
|
+
* @default Value derived from `hasSnap()`
|
70
94
|
*/
|
71
95
|
hasLable: import("@angular/core").InputSignal<boolean>;
|
72
96
|
/**
|
73
|
-
* @description
|
97
|
+
* @description
|
98
|
+
* Whether the slider should display tooltips.
|
99
|
+
* @default false
|
74
100
|
*/
|
75
101
|
hasTooltip: import("@angular/core").InputSignal<boolean>;
|
76
102
|
/**
|
@@ -2,50 +2,108 @@ import { MXValueComponent } from '@acorex/components/common';
|
|
2
2
|
import { ElementRef, Renderer2 } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
/**
|
5
|
-
*
|
5
|
+
* @description
|
6
|
+
* The `AXRatePickerComponent` provides a customizable rating picker.
|
7
|
+
* The component allows users to select a rating between 0 and the defined maximum.
|
8
|
+
* It supports transitions, dynamic value changes, and hover states.
|
6
9
|
*
|
7
|
-
*
|
8
|
-
*
|
10
|
+
* @example
|
11
|
+
* <ax-rate-picker [max]="5" [readonly]="false" [disabled]="false"></ax-rate-picker>
|
9
12
|
*/
|
10
13
|
export declare class AXRatePickerComponent extends MXValueComponent<number> {
|
11
|
-
/**
|
14
|
+
/**
|
15
|
+
* @description
|
16
|
+
* The icon to be used for each rating point.
|
17
|
+
* @default 'fa-star'
|
18
|
+
*/
|
12
19
|
iconName: import("@angular/core").InputSignal<string>;
|
13
|
-
/**
|
20
|
+
/**
|
21
|
+
* @description
|
22
|
+
* Maximum value for the rating.
|
23
|
+
* Defines how many rating points are available.
|
24
|
+
* @default 5
|
25
|
+
*/
|
14
26
|
max: import("@angular/core").InputSignal<number>;
|
15
|
-
/**
|
16
|
-
|
17
|
-
|
27
|
+
/**
|
28
|
+
* @description
|
29
|
+
* Defines the step increment between rating values.
|
30
|
+
* The rating value will be rounded to the nearest multiple of this step.
|
31
|
+
* @default 0.01
|
32
|
+
*/
|
33
|
+
step: import("@angular/core").InputSignal<number>;
|
34
|
+
/**
|
35
|
+
* @description
|
36
|
+
* Whether the rating should have a transition effect when changing values.
|
37
|
+
* @default true
|
38
|
+
*/
|
18
39
|
hasTransition: import("@angular/core").InputSignal<boolean>;
|
19
|
-
/**
|
40
|
+
/**
|
41
|
+
* @description
|
42
|
+
* The percentage of the current rating value relative to the maximum rating.
|
43
|
+
*/
|
20
44
|
protected ratePercentage: import("@angular/core").Signal<number>;
|
21
|
-
/**
|
45
|
+
/**
|
46
|
+
* @description
|
47
|
+
* The current rating value as a signal.
|
48
|
+
*/
|
22
49
|
private currentValue;
|
23
|
-
/**
|
50
|
+
/**
|
51
|
+
* @description
|
52
|
+
* State for tracking hover status and previous value.
|
53
|
+
*/
|
24
54
|
private prevState;
|
25
|
-
/**
|
55
|
+
/**
|
56
|
+
* @description
|
57
|
+
* Reference to the container element.
|
58
|
+
*/
|
26
59
|
containerEl: import("@angular/core").Signal<ElementRef<any>>;
|
27
|
-
/**
|
60
|
+
/**
|
61
|
+
* @description
|
62
|
+
* Reference to the rating element.
|
63
|
+
*/
|
28
64
|
ratingEl: import("@angular/core").Signal<ElementRef<any>>;
|
29
|
-
/**
|
65
|
+
/**
|
66
|
+
* @description
|
67
|
+
* Renderer for manipulating styles.
|
68
|
+
*/
|
30
69
|
renderer: Renderer2;
|
31
|
-
/**
|
70
|
+
/**
|
71
|
+
* @description
|
72
|
+
* Array of rating values from 1 to `max`.
|
73
|
+
*/
|
32
74
|
protected rates: import("@angular/core").Signal<number[]>;
|
33
75
|
/**
|
76
|
+
* @description
|
34
77
|
* Initializes the component and sets up value change subscription.
|
35
78
|
*/
|
36
79
|
constructor();
|
37
80
|
/**
|
81
|
+
* @description
|
38
82
|
* Calculates and updates the rating based on the mouse or touch event.
|
39
83
|
*
|
40
84
|
* @param event - The mouse or touch event triggering the rating calculation.
|
41
85
|
*/
|
42
86
|
protected calculateRate(event: MouseEvent | TouchEvent): void;
|
43
87
|
/**
|
88
|
+
* @description
|
89
|
+
* Rounds the rating value to the nearest step.
|
90
|
+
*
|
91
|
+
* @param percentage - The calculated percentage from pointer event.
|
92
|
+
* @returns The rounded rating value.
|
93
|
+
*/
|
94
|
+
private roundToStep;
|
95
|
+
/**
|
96
|
+
* @description
|
44
97
|
* Handles mouse enter events to start tracking mouse movements for rating.
|
45
98
|
*/
|
46
99
|
protected mouseEnter(): void;
|
100
|
+
/**
|
101
|
+
* @description
|
102
|
+
* Handles mouse leave events to reset styles.
|
103
|
+
*/
|
47
104
|
mouseLeave(): void;
|
48
105
|
/**
|
106
|
+
* @description
|
49
107
|
* Cleans up event listeners and restores the previous rating value.
|
50
108
|
*
|
51
109
|
* @param moveListener - The function to remove for mouse move events.
|
@@ -53,17 +111,20 @@ export declare class AXRatePickerComponent extends MXValueComponent<number> {
|
|
53
111
|
*/
|
54
112
|
private onEnd;
|
55
113
|
/**
|
114
|
+
* @description
|
56
115
|
* Determines if the component is active (i.e., not readonly or disabled).
|
57
116
|
*/
|
58
117
|
get isActive(): boolean;
|
59
118
|
/**
|
119
|
+
* @description
|
60
120
|
* Determines if the component is in readonly mode.
|
61
121
|
*/
|
62
122
|
get isReadonly(): boolean;
|
63
123
|
/**
|
124
|
+
* @description
|
64
125
|
* Determines if the component is disabled.
|
65
126
|
*/
|
66
127
|
get isDisabled(): boolean;
|
67
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRatePickerComponent, never>;
|
68
|
-
static ɵcmp: i0.ɵɵ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; }; "
|
129
|
+
static ɵcmp: i0.ɵɵ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, false, never>;
|
69
130
|
}
|
@@ -18,6 +18,7 @@ export declare class AXSideMenuItemComponent extends AXSideMenuItemComponent_bas
|
|
18
18
|
toggle(): void;
|
19
19
|
open(): void;
|
20
20
|
close(): void;
|
21
|
+
private get __hostClass();
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSideMenuItemComponent, never>;
|
22
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, { "isLoading": "isLoadingChange"; "text": "textChange"; "isCollapsed": "isCollapsedChange"; "active": "activeChange"; "onClick": "onClick"; }, never, ["ax-title", "ax-prefix", "*", "ax-suffix", "ax-side-menu-item, ng-container", "ax-divider"], false, never>;
|
23
24
|
}
|