@acorex/components 18.10.8 → 18.10.10

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.
Files changed (31) hide show
  1. package/esm2022/alert/lib/alert.component.mjs +7 -5
  2. package/esm2022/map/lib/map.component.mjs +139 -38
  3. package/esm2022/menu/index.mjs +1 -2
  4. package/esm2022/menu/lib/menu-item/menu-item.component.mjs +3 -3
  5. package/esm2022/menu/lib/menu.module.mjs +3 -4
  6. package/esm2022/range-slider/lib/range-slider.component.mjs +50 -24
  7. package/esm2022/rate-picker/lib/rate-picker.component.mjs +88 -26
  8. package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +10 -4
  9. package/esm2022/side-menu/lib/side-menu.component.mjs +2 -2
  10. package/fesm2022/acorex-components-alert.mjs +6 -4
  11. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  12. package/fesm2022/acorex-components-map.mjs +138 -37
  13. package/fesm2022/acorex-components-map.mjs.map +1 -1
  14. package/fesm2022/acorex-components-menu.mjs +6 -15
  15. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  16. package/fesm2022/acorex-components-range-slider.mjs +49 -23
  17. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  18. package/fesm2022/acorex-components-rate-picker.mjs +87 -25
  19. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  20. package/fesm2022/acorex-components-side-menu.mjs +11 -5
  21. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  22. package/map/lib/map.component.d.ts +94 -3
  23. package/menu/index.d.ts +0 -1
  24. package/menu/lib/menu-item/menu-item.component.d.ts +1 -1
  25. package/menu/lib/menu.module.d.ts +8 -9
  26. package/package.json +78 -78
  27. package/range-slider/lib/range-slider.component.d.ts +47 -21
  28. package/rate-picker/lib/rate-picker.component.d.ts +77 -16
  29. package/side-menu/lib/side-menu-item/side-menu-item.compoent.d.ts +1 -0
  30. package/esm2022/menu/lib/menu-item-text/menu-item-text.component.mjs +0 -11
  31. package/menu/lib/menu-item-text/menu-item-text.component.d.ts +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "18.10.8",
3
+ "version": "18.10.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.2.0",
6
6
  "@angular/core": ">=18.2.0",
@@ -32,12 +32,6 @@
32
32
  "esm": "./esm2022/action-sheet/acorex-components-action-sheet.mjs",
33
33
  "default": "./fesm2022/acorex-components-action-sheet.mjs"
34
34
  },
35
- "./alert": {
36
- "types": "./alert/index.d.ts",
37
- "esm2022": "./esm2022/alert/acorex-components-alert.mjs",
38
- "esm": "./esm2022/alert/acorex-components-alert.mjs",
39
- "default": "./fesm2022/acorex-components-alert.mjs"
40
- },
41
35
  "./audio-wave": {
42
36
  "types": "./audio-wave/index.d.ts",
43
37
  "esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
@@ -50,17 +44,23 @@
50
44
  "esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
51
45
  "default": "./fesm2022/acorex-components-bottom-navigation.mjs"
52
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"
52
+ },
53
53
  "./breadcrumbs": {
54
54
  "types": "./breadcrumbs/index.d.ts",
55
55
  "esm2022": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
56
56
  "esm": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
57
57
  "default": "./fesm2022/acorex-components-breadcrumbs.mjs"
58
58
  },
59
- "./badge": {
60
- "types": "./badge/index.d.ts",
61
- "esm2022": "./esm2022/badge/acorex-components-badge.mjs",
62
- "esm": "./esm2022/badge/acorex-components-badge.mjs",
63
- "default": "./fesm2022/acorex-components-badge.mjs"
59
+ "./alert": {
60
+ "types": "./alert/index.d.ts",
61
+ "esm2022": "./esm2022/alert/acorex-components-alert.mjs",
62
+ "esm": "./esm2022/alert/acorex-components-alert.mjs",
63
+ "default": "./fesm2022/acorex-components-alert.mjs"
64
64
  },
65
65
  "./avatar": {
66
66
  "types": "./avatar/index.d.ts",
@@ -86,23 +86,17 @@
86
86
  "esm": "./esm2022/calendar/acorex-components-calendar.mjs",
87
87
  "default": "./fesm2022/acorex-components-calendar.mjs"
88
88
  },
89
- "./chips": {
90
- "types": "./chips/index.d.ts",
91
- "esm2022": "./esm2022/chips/acorex-components-chips.mjs",
92
- "esm": "./esm2022/chips/acorex-components-chips.mjs",
93
- "default": "./fesm2022/acorex-components-chips.mjs"
94
- },
95
89
  "./check-box": {
96
90
  "types": "./check-box/index.d.ts",
97
91
  "esm2022": "./esm2022/check-box/acorex-components-check-box.mjs",
98
92
  "esm": "./esm2022/check-box/acorex-components-check-box.mjs",
99
93
  "default": "./fesm2022/acorex-components-check-box.mjs"
100
94
  },
101
- "./collapse": {
102
- "types": "./collapse/index.d.ts",
103
- "esm2022": "./esm2022/collapse/acorex-components-collapse.mjs",
104
- "esm": "./esm2022/collapse/acorex-components-collapse.mjs",
105
- "default": "./fesm2022/acorex-components-collapse.mjs"
95
+ "./chips": {
96
+ "types": "./chips/index.d.ts",
97
+ "esm2022": "./esm2022/chips/acorex-components-chips.mjs",
98
+ "esm": "./esm2022/chips/acorex-components-chips.mjs",
99
+ "default": "./fesm2022/acorex-components-chips.mjs"
106
100
  },
107
101
  "./circular-progress": {
108
102
  "types": "./circular-progress/index.d.ts",
@@ -110,6 +104,12 @@
110
104
  "esm": "./esm2022/circular-progress/acorex-components-circular-progress.mjs",
111
105
  "default": "./fesm2022/acorex-components-circular-progress.mjs"
112
106
  },
107
+ "./collapse": {
108
+ "types": "./collapse/index.d.ts",
109
+ "esm2022": "./esm2022/collapse/acorex-components-collapse.mjs",
110
+ "esm": "./esm2022/collapse/acorex-components-collapse.mjs",
111
+ "default": "./fesm2022/acorex-components-collapse.mjs"
112
+ },
113
113
  "./color-box": {
114
114
  "types": "./color-box/index.d.ts",
115
115
  "esm2022": "./esm2022/color-box/acorex-components-color-box.mjs",
@@ -182,23 +182,17 @@
182
182
  "esm": "./esm2022/dialog/acorex-components-dialog.mjs",
183
183
  "default": "./fesm2022/acorex-components-dialog.mjs"
184
184
  },
185
- "./dropdown": {
186
- "types": "./dropdown/index.d.ts",
187
- "esm2022": "./esm2022/dropdown/acorex-components-dropdown.mjs",
188
- "esm": "./esm2022/dropdown/acorex-components-dropdown.mjs",
189
- "default": "./fesm2022/acorex-components-dropdown.mjs"
190
- },
191
185
  "./drawer": {
192
186
  "types": "./drawer/index.d.ts",
193
187
  "esm2022": "./esm2022/drawer/acorex-components-drawer.mjs",
194
188
  "esm": "./esm2022/drawer/acorex-components-drawer.mjs",
195
189
  "default": "./fesm2022/acorex-components-drawer.mjs"
196
190
  },
197
- "./dropdown-button": {
198
- "types": "./dropdown-button/index.d.ts",
199
- "esm2022": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
200
- "esm": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
201
- "default": "./fesm2022/acorex-components-dropdown-button.mjs"
191
+ "./dropdown": {
192
+ "types": "./dropdown/index.d.ts",
193
+ "esm2022": "./esm2022/dropdown/acorex-components-dropdown.mjs",
194
+ "esm": "./esm2022/dropdown/acorex-components-dropdown.mjs",
195
+ "default": "./fesm2022/acorex-components-dropdown.mjs"
202
196
  },
203
197
  "./form": {
204
198
  "types": "./form/index.d.ts",
@@ -206,29 +200,29 @@
206
200
  "esm": "./esm2022/form/acorex-components-form.mjs",
207
201
  "default": "./fesm2022/acorex-components-form.mjs"
208
202
  },
203
+ "./dropdown-button": {
204
+ "types": "./dropdown-button/index.d.ts",
205
+ "esm2022": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
206
+ "esm": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
207
+ "default": "./fesm2022/acorex-components-dropdown-button.mjs"
208
+ },
209
209
  "./image": {
210
210
  "types": "./image/index.d.ts",
211
211
  "esm2022": "./esm2022/image/acorex-components-image.mjs",
212
212
  "esm": "./esm2022/image/acorex-components-image.mjs",
213
213
  "default": "./fesm2022/acorex-components-image.mjs"
214
214
  },
215
- "./label": {
216
- "types": "./label/index.d.ts",
217
- "esm2022": "./esm2022/label/acorex-components-label.mjs",
218
- "esm": "./esm2022/label/acorex-components-label.mjs",
219
- "default": "./fesm2022/acorex-components-label.mjs"
220
- },
221
215
  "./list": {
222
216
  "types": "./list/index.d.ts",
223
217
  "esm2022": "./esm2022/list/acorex-components-list.mjs",
224
218
  "esm": "./esm2022/list/acorex-components-list.mjs",
225
219
  "default": "./fesm2022/acorex-components-list.mjs"
226
220
  },
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"
221
+ "./label": {
222
+ "types": "./label/index.d.ts",
223
+ "esm2022": "./esm2022/label/acorex-components-label.mjs",
224
+ "esm": "./esm2022/label/acorex-components-label.mjs",
225
+ "default": "./fesm2022/acorex-components-label.mjs"
232
226
  },
233
227
  "./loading-dialog": {
234
228
  "types": "./loading-dialog/index.d.ts",
@@ -236,6 +230,12 @@
236
230
  "esm": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
237
231
  "default": "./fesm2022/acorex-components-loading-dialog.mjs"
238
232
  },
233
+ "./loading": {
234
+ "types": "./loading/index.d.ts",
235
+ "esm2022": "./esm2022/loading/acorex-components-loading.mjs",
236
+ "esm": "./esm2022/loading/acorex-components-loading.mjs",
237
+ "default": "./fesm2022/acorex-components-loading.mjs"
238
+ },
239
239
  "./map": {
240
240
  "types": "./map/index.d.ts",
241
241
  "esm2022": "./esm2022/map/acorex-components-map.mjs",
@@ -260,23 +260,17 @@
260
260
  "esm": "./esm2022/nav/acorex-components-nav.mjs",
261
261
  "default": "./fesm2022/acorex-components-nav.mjs"
262
262
  },
263
- "./notification": {
264
- "types": "./notification/index.d.ts",
265
- "esm2022": "./esm2022/notification/acorex-components-notification.mjs",
266
- "esm": "./esm2022/notification/acorex-components-notification.mjs",
267
- "default": "./fesm2022/acorex-components-notification.mjs"
268
- },
269
263
  "./navbar": {
270
264
  "types": "./navbar/index.d.ts",
271
265
  "esm2022": "./esm2022/navbar/acorex-components-navbar.mjs",
272
266
  "esm": "./esm2022/navbar/acorex-components-navbar.mjs",
273
267
  "default": "./fesm2022/acorex-components-navbar.mjs"
274
268
  },
275
- "./otp": {
276
- "types": "./otp/index.d.ts",
277
- "esm2022": "./esm2022/otp/acorex-components-otp.mjs",
278
- "esm": "./esm2022/otp/acorex-components-otp.mjs",
279
- "default": "./fesm2022/acorex-components-otp.mjs"
269
+ "./notification": {
270
+ "types": "./notification/index.d.ts",
271
+ "esm2022": "./esm2022/notification/acorex-components-notification.mjs",
272
+ "esm": "./esm2022/notification/acorex-components-notification.mjs",
273
+ "default": "./fesm2022/acorex-components-notification.mjs"
280
274
  },
281
275
  "./number-box": {
282
276
  "types": "./number-box/index.d.ts",
@@ -290,11 +284,11 @@
290
284
  "esm": "./esm2022/page/acorex-components-page.mjs",
291
285
  "default": "./fesm2022/acorex-components-page.mjs"
292
286
  },
293
- "./paint": {
294
- "types": "./paint/index.d.ts",
295
- "esm2022": "./esm2022/paint/acorex-components-paint.mjs",
296
- "esm": "./esm2022/paint/acorex-components-paint.mjs",
297
- "default": "./fesm2022/acorex-components-paint.mjs"
287
+ "./otp": {
288
+ "types": "./otp/index.d.ts",
289
+ "esm2022": "./esm2022/otp/acorex-components-otp.mjs",
290
+ "esm": "./esm2022/otp/acorex-components-otp.mjs",
291
+ "default": "./fesm2022/acorex-components-otp.mjs"
298
292
  },
299
293
  "./password-box": {
300
294
  "types": "./password-box/index.d.ts",
@@ -302,6 +296,12 @@
302
296
  "esm": "./esm2022/password-box/acorex-components-password-box.mjs",
303
297
  "default": "./fesm2022/acorex-components-password-box.mjs"
304
298
  },
299
+ "./paint": {
300
+ "types": "./paint/index.d.ts",
301
+ "esm2022": "./esm2022/paint/acorex-components-paint.mjs",
302
+ "esm": "./esm2022/paint/acorex-components-paint.mjs",
303
+ "default": "./fesm2022/acorex-components-paint.mjs"
304
+ },
305
305
  "./phone-box": {
306
306
  "types": "./phone-box/index.d.ts",
307
307
  "esm2022": "./esm2022/phone-box/acorex-components-phone-box.mjs",
@@ -392,18 +392,18 @@
392
392
  "esm": "./esm2022/select-box/acorex-components-select-box.mjs",
393
393
  "default": "./fesm2022/acorex-components-select-box.mjs"
394
394
  },
395
- "./selection-list": {
396
- "types": "./selection-list/index.d.ts",
397
- "esm2022": "./esm2022/selection-list/acorex-components-selection-list.mjs",
398
- "esm": "./esm2022/selection-list/acorex-components-selection-list.mjs",
399
- "default": "./fesm2022/acorex-components-selection-list.mjs"
400
- },
401
395
  "./side-menu": {
402
396
  "types": "./side-menu/index.d.ts",
403
397
  "esm2022": "./esm2022/side-menu/acorex-components-side-menu.mjs",
404
398
  "esm": "./esm2022/side-menu/acorex-components-side-menu.mjs",
405
399
  "default": "./fesm2022/acorex-components-side-menu.mjs"
406
400
  },
401
+ "./selection-list": {
402
+ "types": "./selection-list/index.d.ts",
403
+ "esm2022": "./esm2022/selection-list/acorex-components-selection-list.mjs",
404
+ "esm": "./esm2022/selection-list/acorex-components-selection-list.mjs",
405
+ "default": "./fesm2022/acorex-components-selection-list.mjs"
406
+ },
407
407
  "./skeleton": {
408
408
  "types": "./skeleton/index.d.ts",
409
409
  "esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
@@ -446,23 +446,17 @@
446
446
  "esm": "./esm2022/text-area/acorex-components-text-area.mjs",
447
447
  "default": "./fesm2022/acorex-components-text-area.mjs"
448
448
  },
449
- "./time-line": {
450
- "types": "./time-line/index.d.ts",
451
- "esm2022": "./esm2022/time-line/acorex-components-time-line.mjs",
452
- "esm": "./esm2022/time-line/acorex-components-time-line.mjs",
453
- "default": "./fesm2022/acorex-components-time-line.mjs"
454
- },
455
449
  "./text-box": {
456
450
  "types": "./text-box/index.d.ts",
457
451
  "esm2022": "./esm2022/text-box/acorex-components-text-box.mjs",
458
452
  "esm": "./esm2022/text-box/acorex-components-text-box.mjs",
459
453
  "default": "./fesm2022/acorex-components-text-box.mjs"
460
454
  },
461
- "./toast": {
462
- "types": "./toast/index.d.ts",
463
- "esm2022": "./esm2022/toast/acorex-components-toast.mjs",
464
- "esm": "./esm2022/toast/acorex-components-toast.mjs",
465
- "default": "./fesm2022/acorex-components-toast.mjs"
455
+ "./time-line": {
456
+ "types": "./time-line/index.d.ts",
457
+ "esm2022": "./esm2022/time-line/acorex-components-time-line.mjs",
458
+ "esm": "./esm2022/time-line/acorex-components-time-line.mjs",
459
+ "default": "./fesm2022/acorex-components-time-line.mjs"
466
460
  },
467
461
  "./tooltip": {
468
462
  "types": "./tooltip/index.d.ts",
@@ -470,6 +464,12 @@
470
464
  "esm": "./esm2022/tooltip/acorex-components-tooltip.mjs",
471
465
  "default": "./fesm2022/acorex-components-tooltip.mjs"
472
466
  },
467
+ "./toast": {
468
+ "types": "./toast/index.d.ts",
469
+ "esm2022": "./esm2022/toast/acorex-components-toast.mjs",
470
+ "esm": "./esm2022/toast/acorex-components-toast.mjs",
471
+ "default": "./fesm2022/acorex-components-toast.mjs"
472
+ },
473
473
  "./uploader": {
474
474
  "types": "./uploader/index.d.ts",
475
475
  "esm2022": "./esm2022/uploader/acorex-components-uploader.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
- * @category
11
- * Range slider for selecting a range of values.
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 orientation including vertical and horizontal
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 color for highlight and tooltip and handler
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 values is a number single mode
28
- * and array of 2 number for dual mode
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 mode including single and dual
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 minimum value
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 maximum value
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 step for changing values
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 act as ruler for range slider,
49
- * its range of showing to user
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 tooltip for showing value of handlers
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 deferent modes for snap including start, end and both
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 a flag for having step
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 a flag for showing snap
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 a flag for showing snap labels
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 a flag for showing tooltip for values
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
- * A component for selecting a rating using star icons.
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
- * This component allows users to pick a rating by clicking or dragging over star icons.
8
- * It supports rounding options and manages the rating state internally.
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
- /** The icon name to use for stars (e.g., 'fa-star'). */
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
- /** The maximum rating value (e.g., 5 stars). */
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
- /** Determines if the rating should be rounded to the nearest integer. */
16
- isRound: import("@angular/core").InputSignal<boolean>;
17
- /** choosing to have css transition for unchanging value after hover. */
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
- /** The percentage of the current rating value relative to the maximum rating. */
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
- /** The current rating value as a signal. */
45
+ /**
46
+ * @description
47
+ * The current rating value as a signal.
48
+ */
22
49
  private currentValue;
23
- /** State for tracking hover status and previous value. */
50
+ /**
51
+ * @description
52
+ * State for tracking hover status and previous value.
53
+ */
24
54
  private prevState;
25
- /** Reference to the container element. */
55
+ /**
56
+ * @description
57
+ * Reference to the container element.
58
+ */
26
59
  containerEl: import("@angular/core").Signal<ElementRef<any>>;
27
- /** Reference to the rating element. */
60
+ /**
61
+ * @description
62
+ * Reference to the rating element.
63
+ */
28
64
  ratingEl: import("@angular/core").Signal<ElementRef<any>>;
29
- /** Renderer for manipulating styles. */
65
+ /**
66
+ * @description
67
+ * Renderer for manipulating styles.
68
+ */
30
69
  renderer: Renderer2;
31
- /** Array of rating values from 1 to `max`. */
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; }; "isRound": { "alias": "isRound"; "required": false; "isSignal": true; }; "hasTransition": { "alias": "hasTransition"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
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
  }
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class AXMenuItemTextComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuItemTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXMenuItemTextComponent, selector: "ax-menu-item-text", ngImport: i0, template: "<div class=\"ax-menu-item-text\">\n <ng-content></ng-content>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuItemTextComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'ax-menu-item-text', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-menu-item-text\">\n <ng-content></ng-content>\n</div>\n" }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLXRleHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL21lbnUvc3JjL2xpYi9tZW51LWl0ZW0tdGV4dC9tZW51LWl0ZW0tdGV4dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbWVudS9zcmMvbGliL21lbnUtaXRlbS10ZXh0L21lbnUtaXRlbS10ZXh0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUXRGLE1BQU0sT0FBTyx1QkFBdUI7OEdBQXZCLHVCQUF1QjtrR0FBdkIsdUJBQXVCLHlEQ1JwQywwRUFHQTs7MkZES2EsdUJBQXVCO2tCQU5uQyxTQUFTOytCQUNFLG1CQUFtQixtQkFFWix1QkFBdUIsQ0FBQyxNQUFNLGlCQUNoQyxpQkFBaUIsQ0FBQyxJQUFJIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCwgVmlld0VuY2Fwc3VsYXRpb24gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXgtbWVudS1pdGVtLXRleHQnLFxuICB0ZW1wbGF0ZVVybDogJy4vbWVudS1pdGVtLXRleHQuY29tcG9uZW50Lmh0bWwnLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbn0pXG5leHBvcnQgY2xhc3MgQVhNZW51SXRlbVRleHRDb21wb25lbnQge31cbiIsIjxkaXYgY2xhc3M9XCJheC1tZW51LWl0ZW0tdGV4dFwiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbiJdfQ==
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXMenuItemTextComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuItemTextComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuItemTextComponent, "ax-menu-item-text", never, {}, {}, never, ["*"], false, never>;
5
- }