@agnos-ui/angular-bootstrap 0.6.0 → 0.7.0-next.0

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 (53) hide show
  1. package/components/accordion/accordion.component.d.ts +39 -46
  2. package/components/alert/alert.component.d.ts +18 -22
  3. package/components/collapse/collapse.component.d.ts +11 -15
  4. package/components/modal/modal.component.d.ts +30 -36
  5. package/components/pagination/pagination.component.d.ts +38 -44
  6. package/components/progressbar/progressbar.component.d.ts +16 -21
  7. package/components/rating/rating.component.d.ts +17 -23
  8. package/components/select/select.component.d.ts +24 -27
  9. package/components/slider/slider.component.d.ts +22 -31
  10. package/components/toast/toast.component.d.ts +21 -27
  11. package/components/tree/tree.component.d.ts +16 -16
  12. package/fesm2022/agnos-ui-angular-bootstrap.mjs +1447 -1052
  13. package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
  14. package/package.json +6 -6
  15. package/esm2022/agnos-ui-angular-bootstrap.mjs +0 -5
  16. package/esm2022/agnos-ui-angular.module.mjs +0 -174
  17. package/esm2022/components/accordion/accordion.component.mjs +0 -586
  18. package/esm2022/components/accordion/accordion.gen.mjs +0 -33
  19. package/esm2022/components/accordion/index.mjs +0 -3
  20. package/esm2022/components/alert/alert.component.mjs +0 -270
  21. package/esm2022/components/alert/alert.gen.mjs +0 -15
  22. package/esm2022/components/alert/index.mjs +0 -3
  23. package/esm2022/components/collapse/collapse.component.mjs +0 -89
  24. package/esm2022/components/collapse/collapse.gen.mjs +0 -15
  25. package/esm2022/components/collapse/index.mjs +0 -3
  26. package/esm2022/components/modal/index.mjs +0 -4
  27. package/esm2022/components/modal/modal.component.mjs +0 -460
  28. package/esm2022/components/modal/modal.gen.mjs +0 -27
  29. package/esm2022/components/modal/modal.service.mjs +0 -57
  30. package/esm2022/components/pagination/index.mjs +0 -3
  31. package/esm2022/components/pagination/pagination.component.mjs +0 -600
  32. package/esm2022/components/pagination/pagination.gen.mjs +0 -15
  33. package/esm2022/components/progressbar/index.mjs +0 -3
  34. package/esm2022/components/progressbar/progressbar.component.mjs +0 -219
  35. package/esm2022/components/progressbar/progressbar.gen.mjs +0 -15
  36. package/esm2022/components/rating/index.mjs +0 -3
  37. package/esm2022/components/rating/rating.component.mjs +0 -205
  38. package/esm2022/components/rating/rating.gen.mjs +0 -15
  39. package/esm2022/components/select/index.mjs +0 -3
  40. package/esm2022/components/select/select.component.mjs +0 -282
  41. package/esm2022/components/select/select.gen.mjs +0 -15
  42. package/esm2022/components/slider/index.mjs +0 -3
  43. package/esm2022/components/slider/slider.component.mjs +0 -463
  44. package/esm2022/components/slider/slider.gen.mjs +0 -15
  45. package/esm2022/components/toast/index.mjs +0 -3
  46. package/esm2022/components/toast/toast.component.mjs +0 -324
  47. package/esm2022/components/toast/toast.gen.mjs +0 -15
  48. package/esm2022/components/tree/index.mjs +0 -3
  49. package/esm2022/components/tree/tree.component.mjs +0 -450
  50. package/esm2022/components/tree/tree.gen.mjs +0 -15
  51. package/esm2022/config.gen.mjs +0 -2
  52. package/esm2022/config.mjs +0 -21
  53. package/esm2022/index.mjs +0 -30
@@ -1,6 +1,6 @@
1
1
  import type { SlotContent } from '@agnos-ui/angular-headless';
2
2
  import { BaseWidgetDirective } from '@agnos-ui/angular-headless';
3
- import { EventEmitter, TemplateRef } from '@angular/core';
3
+ import { TemplateRef } from '@angular/core';
4
4
  import type { ControlValueAccessor } from '@angular/forms';
5
5
  import type { RatingWidget, StarContext } from './rating.gen';
6
6
  import * as i0 from "@angular/core";
@@ -32,31 +32,31 @@ export declare class RatingComponent extends BaseWidgetDirective<RatingWidget> i
32
32
  * (rating: number, maxRating: number) => `${rating} out of ${maxRating}`
33
33
  * ```
34
34
  */
35
- ariaValueTextFn: ((rating: number, maxRating: number) => string) | undefined;
35
+ readonly ariaValueTextFn: import("@angular/core").InputSignal<((rating: number, maxRating: number) => string) | undefined>;
36
36
  /**
37
37
  * If `true`, the rating is disabled.
38
38
  *
39
39
  * @defaultValue `false`
40
40
  */
41
- disabled: boolean | undefined;
41
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
42
42
  /**
43
43
  * The maximum rating that can be given.
44
44
  *
45
45
  * @defaultValue `10`
46
46
  */
47
- maxRating: number | undefined;
47
+ readonly maxRating: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
48
48
  /**
49
49
  * The current rating. Could be a decimal value like `3.75`.
50
50
  *
51
51
  * @defaultValue `0`
52
52
  */
53
- rating: number | undefined;
53
+ readonly rating: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
54
54
  /**
55
55
  * If `true`, the rating can't be changed.
56
56
  *
57
57
  * @defaultValue `false`
58
58
  */
59
- readonly: boolean | undefined;
59
+ readonly readonly: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
60
60
  /**
61
61
  * Define if the rating can be reset.
62
62
  *
@@ -64,7 +64,7 @@ export declare class RatingComponent extends BaseWidgetDirective<RatingWidget> i
64
64
  *
65
65
  * @defaultValue `true`
66
66
  */
67
- resettable: boolean | undefined;
67
+ readonly resettable: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
68
68
  /**
69
69
  * The template to override the way each star is displayed.
70
70
  *
@@ -73,33 +73,33 @@ export declare class RatingComponent extends BaseWidgetDirective<RatingWidget> i
73
73
  * ({fill}: StarContext) => String.fromCharCode(fill === 100 ? 9733 : 9734)
74
74
  * ```
75
75
  */
76
- star: SlotContent<StarContext>;
77
- slotStarFromContent: RatingStarDirective | undefined;
76
+ readonly star: import("@angular/core").InputSignal<SlotContent<StarContext>>;
77
+ readonly slotStarFromContent: import("@angular/core").Signal<RatingStarDirective | undefined>;
78
78
  /**
79
79
  * Allows setting a custom rating tabindex.
80
80
  * If the component is disabled, `tabindex` will still be set to `-1`.
81
81
  *
82
82
  * @defaultValue `0`
83
83
  */
84
- tabindex: number | undefined;
84
+ readonly tabindex: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
85
85
  /**
86
86
  * CSS classes to be applied on the widget main container
87
87
  *
88
88
  * @defaultValue `''`
89
89
  */
90
- className: string | undefined;
90
+ readonly className: import("@angular/core").InputSignal<string | undefined>;
91
91
  /**
92
92
  * The aria label
93
93
  *
94
94
  * @defaultValue `'Rating'`
95
95
  */
96
- ariaLabel: string | undefined;
96
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
97
97
  /**
98
98
  * The aria labelled by
99
99
  *
100
100
  * @defaultValue `''`
101
101
  */
102
- ariaLabelledBy: string | undefined;
102
+ readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
103
103
  /**
104
104
  * An event emitted when the user is hovering over a given rating.
105
105
  *
@@ -110,7 +110,7 @@ export declare class RatingComponent extends BaseWidgetDirective<RatingWidget> i
110
110
  * () => {}
111
111
  * ```
112
112
  */
113
- hover: EventEmitter<number>;
113
+ readonly hover: import("@angular/core").OutputEmitterRef<number>;
114
114
  /**
115
115
  * An event emitted when the user stops hovering over a given rating.
116
116
  *
@@ -121,7 +121,7 @@ export declare class RatingComponent extends BaseWidgetDirective<RatingWidget> i
121
121
  * () => {}
122
122
  * ```
123
123
  */
124
- leave: EventEmitter<number>;
124
+ readonly leave: import("@angular/core").OutputEmitterRef<number>;
125
125
  /**
126
126
  * An event emitted when the rating is changed.
127
127
  *
@@ -132,7 +132,7 @@ export declare class RatingComponent extends BaseWidgetDirective<RatingWidget> i
132
132
  * () => {}
133
133
  * ```
134
134
  */
135
- ratingChange: EventEmitter<number>;
135
+ readonly ratingChange: import("@angular/core").OutputEmitterRef<number>;
136
136
  writeValue(value: any): void;
137
137
  registerOnChange(fn: (value: any) => any): void;
138
138
  registerOnTouched(fn: () => any): void;
@@ -140,11 +140,5 @@ export declare class RatingComponent extends BaseWidgetDirective<RatingWidget> i
140
140
  constructor();
141
141
  trackByIndex(index: number): number;
142
142
  static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, never>;
143
- static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "[auRating]", never, { "ariaValueTextFn": { "alias": "auAriaValueTextFn"; "required": false; }; "disabled": { "alias": "auDisabled"; "required": false; }; "maxRating": { "alias": "auMaxRating"; "required": false; }; "rating": { "alias": "auRating"; "required": false; }; "readonly": { "alias": "auReadonly"; "required": false; }; "resettable": { "alias": "auResettable"; "required": false; }; "star": { "alias": "auStar"; "required": false; }; "tabindex": { "alias": "auTabindex"; "required": false; }; "className": { "alias": "auClassName"; "required": false; }; "ariaLabel": { "alias": "auAriaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "auAriaLabelledBy"; "required": false; }; }, { "hover": "auHover"; "leave": "auLeave"; "ratingChange": "auRatingChange"; }, ["slotStarFromContent"], never, true, never>;
144
- static ngAcceptInputType_disabled: unknown;
145
- static ngAcceptInputType_maxRating: unknown;
146
- static ngAcceptInputType_rating: unknown;
147
- static ngAcceptInputType_readonly: unknown;
148
- static ngAcceptInputType_resettable: unknown;
149
- static ngAcceptInputType_tabindex: unknown;
143
+ static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "[auRating]", never, { "ariaValueTextFn": { "alias": "auAriaValueTextFn"; "required": false; "isSignal": true; }; "disabled": { "alias": "auDisabled"; "required": false; "isSignal": true; }; "maxRating": { "alias": "auMaxRating"; "required": false; "isSignal": true; }; "rating": { "alias": "auRating"; "required": false; "isSignal": true; }; "readonly": { "alias": "auReadonly"; "required": false; "isSignal": true; }; "resettable": { "alias": "auResettable"; "required": false; "isSignal": true; }; "star": { "alias": "auStar"; "required": false; "isSignal": true; }; "tabindex": { "alias": "auTabindex"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "auAriaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "auAriaLabelledBy"; "required": false; "isSignal": true; }; }, { "hover": "auHover"; "leave": "auLeave"; "ratingChange": "auRatingChange"; }, ["slotStarFromContent"], never, true, never>;
150
144
  }
@@ -1,6 +1,6 @@
1
1
  import type { SlotContent } from '@agnos-ui/angular-headless';
2
2
  import { BaseWidgetDirective } from '@agnos-ui/angular-headless';
3
- import { EventEmitter, TemplateRef } from '@angular/core';
3
+ import { TemplateRef } from '@angular/core';
4
4
  import type { Placement } from '@floating-ui/dom';
5
5
  import type { ItemContext, SelectItemContext, SelectWidget } from './select.gen';
6
6
  import * as i0 from "@angular/core";
@@ -44,17 +44,17 @@ export declare class SelectComponent<Item> extends BaseWidgetDirective<SelectWid
44
44
  *
45
45
  * @defaultValue `'Select'`
46
46
  */
47
- ariaLabel: string | undefined;
47
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
48
48
  /**
49
49
  * id used for the input inside the select
50
50
  */
51
- id: string | undefined;
51
+ readonly id: import("@angular/core").InputSignal<string | undefined>;
52
52
  /**
53
53
  * List of available items for the dropdown
54
54
  *
55
55
  * @defaultValue `[]`
56
56
  */
57
- items: Item[] | undefined;
57
+ readonly items: import("@angular/core").InputSignal<Item[] | undefined>;
58
58
  /**
59
59
  * List of allowed placements for the dropdown.
60
60
  * This refers to the [allowedPlacements from floating UI](https://floating-ui.com/docs/autoPlacement#allowedplacements), given the different [Placement possibilities](https://floating-ui.com/docs/computePosition#placement).
@@ -64,43 +64,43 @@ export declare class SelectComponent<Item> extends BaseWidgetDirective<SelectWid
64
64
  * ['bottom-start', 'top-start', 'bottom-end', 'top-end']
65
65
  * ```
66
66
  */
67
- allowedPlacements: Placement[] | undefined;
67
+ readonly allowedPlacements: import("@angular/core").InputSignal<Placement[] | undefined>;
68
68
  /**
69
69
  * true if the select is open
70
70
  *
71
71
  * @defaultValue `false`
72
72
  */
73
- open: boolean | undefined;
73
+ readonly open: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
74
74
  /**
75
75
  * Filtered text to be display in the filter input
76
76
  *
77
77
  * @defaultValue `''`
78
78
  */
79
- filterText: string | undefined;
79
+ readonly filterText: import("@angular/core").InputSignal<string | undefined>;
80
80
  /**
81
81
  * CSS classes to be applied on the widget main container
82
82
  *
83
83
  * @defaultValue `''`
84
84
  */
85
- className: string | undefined;
85
+ readonly className: import("@angular/core").InputSignal<string | undefined>;
86
86
  /**
87
87
  * true if the select is disabled
88
88
  *
89
89
  * @defaultValue `false`
90
90
  */
91
- disabled: boolean | undefined;
91
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
92
92
  /**
93
93
  * List of selected item ids
94
94
  *
95
95
  * @defaultValue `[]`
96
96
  */
97
- selected: Item[] | undefined;
97
+ readonly selected: import("@angular/core").InputSignal<Item[] | undefined>;
98
98
  /**
99
99
  * true if a loading process is being done
100
100
  *
101
101
  * @defaultValue `false`
102
102
  */
103
- loading: boolean | undefined;
103
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
104
104
  /**
105
105
  * Custom function to get the id of an item
106
106
  * By default, the item is returned
@@ -110,13 +110,13 @@ export declare class SelectComponent<Item> extends BaseWidgetDirective<SelectWid
110
110
  * (item: any) => '' + item
111
111
  * ```
112
112
  */
113
- itemIdFn: ((item: Item) => string) | undefined;
113
+ readonly itemIdFn: import("@angular/core").InputSignal<((item: Item) => string) | undefined>;
114
114
  /**
115
115
  * Class to be added on the dropdown menu container
116
116
  *
117
117
  * @defaultValue `''`
118
118
  */
119
- menuClassName: string | undefined;
119
+ readonly menuClassName: import("@angular/core").InputSignal<string | undefined>;
120
120
  /**
121
121
  * The template to override the way each badge on the left of the input is displayed.
122
122
  * This define the content of the badge inside the badge container.
@@ -126,8 +126,8 @@ export declare class SelectComponent<Item> extends BaseWidgetDirective<SelectWid
126
126
  * ({itemContext}: SelectItemContext<any>) => itemContext.item
127
127
  * ```
128
128
  */
129
- badgeLabel: SlotContent<SelectItemContext<Item>>;
130
- slotSelectBadgeLabelFromContent: SelectBadgeLabelDirective<Item> | undefined;
129
+ readonly badgeLabel: import("@angular/core").InputSignal<SlotContent<SelectItemContext<Item>>>;
130
+ readonly slotSelectBadgeLabelFromContent: import("@angular/core").Signal<SelectBadgeLabelDirective<any> | undefined>;
131
131
  /**
132
132
  * The template to override the way each item is displayed in the list.
133
133
  * This define the content of the badge inside the badge container.
@@ -137,8 +137,8 @@ export declare class SelectComponent<Item> extends BaseWidgetDirective<SelectWid
137
137
  * ({itemContext}: SelectItemContext<any>) => itemContext.item
138
138
  * ```
139
139
  */
140
- itemLabel: SlotContent<SelectItemContext<Item>>;
141
- slotSelectItemLabelFromContent: SelectItemLabelDirective<Item> | undefined;
140
+ readonly itemLabel: import("@angular/core").InputSignal<SlotContent<SelectItemContext<Item>>>;
141
+ readonly slotSelectItemLabelFromContent: import("@angular/core").Signal<SelectItemLabelDirective<any> | undefined>;
142
142
  /**
143
143
  * Callback called when the text filter change
144
144
  * @param text - Filtered text
@@ -148,7 +148,7 @@ export declare class SelectComponent<Item> extends BaseWidgetDirective<SelectWid
148
148
  * () => {}
149
149
  * ```
150
150
  */
151
- filterTextChange: EventEmitter<string>;
151
+ readonly filterTextChange: import("@angular/core").OutputEmitterRef<string>;
152
152
  /**
153
153
  * Callback called when the selection change
154
154
  *
@@ -157,7 +157,7 @@ export declare class SelectComponent<Item> extends BaseWidgetDirective<SelectWid
157
157
  * () => {}
158
158
  * ```
159
159
  */
160
- selectedChange: EventEmitter<Item[]>;
160
+ readonly selectedChange: import("@angular/core").OutputEmitterRef<Item[]>;
161
161
  /**
162
162
  * Callback called dropdown open state change
163
163
  * @param isOpen - updated open state
@@ -167,19 +167,19 @@ export declare class SelectComponent<Item> extends BaseWidgetDirective<SelectWid
167
167
  * () => {}
168
168
  * ```
169
169
  */
170
- openChange: EventEmitter<boolean>;
170
+ readonly openChange: import("@angular/core").OutputEmitterRef<boolean>;
171
171
  /**
172
172
  * Class to be added on menu items
173
173
  *
174
174
  * @defaultValue `''`
175
175
  */
176
- menuItemClassName: string | undefined;
176
+ readonly menuItemClassName: import("@angular/core").InputSignal<string | undefined>;
177
177
  /**
178
178
  * Class to be added on selected items (displayed in the input zone)
179
179
  *
180
180
  * @defaultValue `''`
181
181
  */
182
- badgeClassName: string | undefined;
182
+ readonly badgeClassName: import("@angular/core").InputSignal<string | undefined>;
183
183
  /**
184
184
  * Retrieves navigable elements within an HTML element containing badges and the input.
185
185
  *
@@ -190,12 +190,9 @@ export declare class SelectComponent<Item> extends BaseWidgetDirective<SelectWid
190
190
  * (node: HTMLElement) => node.querySelectorAll('.au-select-badge,input')
191
191
  * ```
192
192
  */
193
- navSelector: ((node: HTMLElement) => NodeListOf<HTMLSpanElement | HTMLInputElement>) | undefined;
193
+ readonly navSelector: import("@angular/core").InputSignal<((node: HTMLElement) => NodeListOf<HTMLSpanElement | HTMLInputElement>) | undefined>;
194
194
  constructor();
195
195
  itemCtxTrackBy(_: number, itemContext: ItemContext<Item>): string;
196
196
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
197
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "[auSelect]", never, { "ariaLabel": { "alias": "auAriaLabel"; "required": false; }; "id": { "alias": "auId"; "required": false; }; "items": { "alias": "auItems"; "required": false; }; "allowedPlacements": { "alias": "auAllowedPlacements"; "required": false; }; "open": { "alias": "auOpen"; "required": false; }; "filterText": { "alias": "auFilterText"; "required": false; }; "className": { "alias": "auClassName"; "required": false; }; "disabled": { "alias": "auDisabled"; "required": false; }; "selected": { "alias": "auSelected"; "required": false; }; "loading": { "alias": "auLoading"; "required": false; }; "itemIdFn": { "alias": "auItemIdFn"; "required": false; }; "menuClassName": { "alias": "auMenuClassName"; "required": false; }; "badgeLabel": { "alias": "auBadgeLabel"; "required": false; }; "itemLabel": { "alias": "auItemLabel"; "required": false; }; "menuItemClassName": { "alias": "auMenuItemClassName"; "required": false; }; "badgeClassName": { "alias": "auBadgeClassName"; "required": false; }; "navSelector": { "alias": "auNavSelector"; "required": false; }; }, { "filterTextChange": "auFilterTextChange"; "selectedChange": "auSelectedChange"; "openChange": "auOpenChange"; }, ["slotSelectBadgeLabelFromContent", "slotSelectItemLabelFromContent"], never, true, never>;
198
- static ngAcceptInputType_open: unknown;
199
- static ngAcceptInputType_disabled: unknown;
200
- static ngAcceptInputType_loading: unknown;
197
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "[auSelect]", never, { "ariaLabel": { "alias": "auAriaLabel"; "required": false; "isSignal": true; }; "id": { "alias": "auId"; "required": false; "isSignal": true; }; "items": { "alias": "auItems"; "required": false; "isSignal": true; }; "allowedPlacements": { "alias": "auAllowedPlacements"; "required": false; "isSignal": true; }; "open": { "alias": "auOpen"; "required": false; "isSignal": true; }; "filterText": { "alias": "auFilterText"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "disabled": { "alias": "auDisabled"; "required": false; "isSignal": true; }; "selected": { "alias": "auSelected"; "required": false; "isSignal": true; }; "loading": { "alias": "auLoading"; "required": false; "isSignal": true; }; "itemIdFn": { "alias": "auItemIdFn"; "required": false; "isSignal": true; }; "menuClassName": { "alias": "auMenuClassName"; "required": false; "isSignal": true; }; "badgeLabel": { "alias": "auBadgeLabel"; "required": false; "isSignal": true; }; "itemLabel": { "alias": "auItemLabel"; "required": false; "isSignal": true; }; "menuItemClassName": { "alias": "auMenuItemClassName"; "required": false; "isSignal": true; }; "badgeClassName": { "alias": "auBadgeClassName"; "required": false; "isSignal": true; }; "navSelector": { "alias": "auNavSelector"; "required": false; "isSignal": true; }; }, { "filterTextChange": "auFilterTextChange"; "selectedChange": "auSelectedChange"; "openChange": "auOpenChange"; }, ["slotSelectBadgeLabelFromContent", "slotSelectItemLabelFromContent"], never, true, never>;
201
198
  }
@@ -1,6 +1,6 @@
1
1
  import type { SlotContent } from '@agnos-ui/angular-headless';
2
2
  import { BaseWidgetDirective } from '@agnos-ui/angular-headless';
3
- import { EventEmitter, TemplateRef } from '@angular/core';
3
+ import { TemplateRef } from '@angular/core';
4
4
  import type { SliderContext, SliderSlotHandleContext, SliderSlotLabelContext, SliderWidget } from './slider.gen';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
@@ -55,49 +55,49 @@ export declare class SliderComponent extends BaseWidgetDirective<SliderWidget> {
55
55
  *
56
56
  * @defaultValue `''`
57
57
  */
58
- className: string | undefined;
58
+ readonly className: import("@angular/core").InputSignal<string | undefined>;
59
59
  /**
60
60
  * Minimum value that can be assigned to the slider
61
61
  *
62
62
  * @defaultValue `0`
63
63
  */
64
- min: number | undefined;
64
+ readonly min: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
65
65
  /**
66
66
  * Maximum value that can be assigned to the slider
67
67
  *
68
68
  * @defaultValue `100`
69
69
  */
70
- max: number | undefined;
70
+ readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
71
71
  /**
72
72
  * Unit value between slider steps
73
73
  *
74
74
  * @defaultValue `1`
75
75
  */
76
- stepSize: number | undefined;
76
+ readonly stepSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
77
77
  /**
78
78
  * Current slider values
79
79
  *
80
80
  * @defaultValue `[0]`
81
81
  */
82
- values: number[] | undefined;
82
+ readonly values: import("@angular/core").InputSignal<number[] | undefined>;
83
83
  /**
84
84
  * It `true` slider display is inversed
85
85
  *
86
86
  * @defaultValue `false`
87
87
  */
88
- rtl: boolean | undefined;
88
+ readonly rtl: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
89
89
  /**
90
90
  * If `true` the value labels are displayed on the slider
91
91
  *
92
92
  * @defaultValue `true`
93
93
  */
94
- showValueLabels: boolean | undefined;
94
+ readonly showValueLabels: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
95
95
  /**
96
96
  * If `true` the min and max labels are displayed on the slider
97
97
  *
98
98
  * @defaultValue `true`
99
99
  */
100
- showMinMaxLabels: boolean | undefined;
100
+ readonly showMinMaxLabels: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
101
101
  /**
102
102
  * Return the value for the 'aria-label' attribute for the handle
103
103
  * @param value - value of the handle
@@ -109,7 +109,7 @@ export declare class SliderComponent extends BaseWidgetDirective<SliderWidget> {
109
109
  * (value: number) => '' + value
110
110
  * ```
111
111
  */
112
- ariaLabelHandle: ((value: number, sortedIndex: number, index: number) => string) | undefined;
112
+ readonly ariaLabelHandle: import("@angular/core").InputSignal<((value: number, sortedIndex: number, index: number) => string) | undefined>;
113
113
  /**
114
114
  * Return the value for the 'aria-valuetext' attribute for the handle
115
115
  * @param value - value of the handle
@@ -121,25 +121,25 @@ export declare class SliderComponent extends BaseWidgetDirective<SliderWidget> {
121
121
  * (value: number) => '' + value
122
122
  * ```
123
123
  */
124
- ariaValueText: ((value: number, sortedIndex: number, index: number) => string) | undefined;
124
+ readonly ariaValueText: import("@angular/core").InputSignal<((value: number, sortedIndex: number, index: number) => string) | undefined>;
125
125
  /**
126
126
  * If `true` slider value cannot be changed but the slider is still focusable
127
127
  *
128
128
  * @defaultValue `false`
129
129
  */
130
- readonly: boolean | undefined;
130
+ readonly readonly: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
131
131
  /**
132
132
  * If `true` slider value cannot be changed and the slider cannot be focused
133
133
  *
134
134
  * @defaultValue `false`
135
135
  */
136
- disabled: boolean | undefined;
136
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
137
137
  /**
138
138
  * If `true` is vertically positioned otherwise it is horizontal
139
139
  *
140
140
  * @defaultValue `false`
141
141
  */
142
- vertical: boolean | undefined;
142
+ readonly vertical: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
143
143
  /**
144
144
  * An event emitted when slider values are changed
145
145
  *
@@ -150,7 +150,7 @@ export declare class SliderComponent extends BaseWidgetDirective<SliderWidget> {
150
150
  * () => {}
151
151
  * ```
152
152
  */
153
- valuesChange: EventEmitter<number[]>;
153
+ readonly valuesChange: import("@angular/core").OutputEmitterRef<number[]>;
154
154
  /**
155
155
  * Slot to change the default labels of the slider
156
156
  *
@@ -159,18 +159,18 @@ export declare class SliderComponent extends BaseWidgetDirective<SliderWidget> {
159
159
  * ({value}: SliderSlotLabelContext) => '' + value
160
160
  * ```
161
161
  */
162
- label: SlotContent<SliderSlotLabelContext>;
163
- slotLabelFromContent: SliderLabelDirective | undefined;
162
+ readonly label: import("@angular/core").InputSignal<SlotContent<SliderSlotLabelContext>>;
163
+ readonly slotLabelFromContent: import("@angular/core").Signal<SliderLabelDirective | undefined>;
164
164
  /**
165
165
  * Slot to change the default display of the slider
166
166
  */
167
- structure: SlotContent<SliderContext>;
168
- slotStructureFromContent: SliderStructureDirective | undefined;
167
+ readonly structure: import("@angular/core").InputSignal<SlotContent<SliderContext>>;
168
+ readonly slotStructureFromContent: import("@angular/core").Signal<SliderStructureDirective | undefined>;
169
169
  /**
170
170
  * Slot to change the handlers
171
171
  */
172
- handle: SlotContent<SliderSlotHandleContext>;
173
- slotHandleFromContent: SliderHandleDirective | undefined;
172
+ readonly handle: import("@angular/core").InputSignal<SlotContent<SliderSlotHandleContext>>;
173
+ readonly slotHandleFromContent: import("@angular/core").Signal<SliderHandleDirective | undefined>;
174
174
  constructor();
175
175
  /**
176
176
  * Control value accessor methods
@@ -183,14 +183,5 @@ export declare class SliderComponent extends BaseWidgetDirective<SliderWidget> {
183
183
  setDisabledState(isDisabled: boolean): void;
184
184
  handleBlur(): void;
185
185
  static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
186
- static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "[auSlider]", never, { "className": { "alias": "auClassName"; "required": false; }; "min": { "alias": "auMin"; "required": false; }; "max": { "alias": "auMax"; "required": false; }; "stepSize": { "alias": "auStepSize"; "required": false; }; "values": { "alias": "auValues"; "required": false; }; "rtl": { "alias": "auRtl"; "required": false; }; "showValueLabels": { "alias": "auShowValueLabels"; "required": false; }; "showMinMaxLabels": { "alias": "auShowMinMaxLabels"; "required": false; }; "ariaLabelHandle": { "alias": "auAriaLabelHandle"; "required": false; }; "ariaValueText": { "alias": "auAriaValueText"; "required": false; }; "readonly": { "alias": "auReadonly"; "required": false; }; "disabled": { "alias": "auDisabled"; "required": false; }; "vertical": { "alias": "auVertical"; "required": false; }; "label": { "alias": "auLabel"; "required": false; }; "structure": { "alias": "auStructure"; "required": false; }; "handle": { "alias": "auHandle"; "required": false; }; }, { "valuesChange": "auValuesChange"; }, ["slotLabelFromContent", "slotStructureFromContent", "slotHandleFromContent"], never, true, never>;
187
- static ngAcceptInputType_min: unknown;
188
- static ngAcceptInputType_max: unknown;
189
- static ngAcceptInputType_stepSize: unknown;
190
- static ngAcceptInputType_rtl: unknown;
191
- static ngAcceptInputType_showValueLabels: unknown;
192
- static ngAcceptInputType_showMinMaxLabels: unknown;
193
- static ngAcceptInputType_readonly: unknown;
194
- static ngAcceptInputType_disabled: unknown;
195
- static ngAcceptInputType_vertical: unknown;
186
+ static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "[auSlider]", never, { "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; "min": { "alias": "auMin"; "required": false; "isSignal": true; }; "max": { "alias": "auMax"; "required": false; "isSignal": true; }; "stepSize": { "alias": "auStepSize"; "required": false; "isSignal": true; }; "values": { "alias": "auValues"; "required": false; "isSignal": true; }; "rtl": { "alias": "auRtl"; "required": false; "isSignal": true; }; "showValueLabels": { "alias": "auShowValueLabels"; "required": false; "isSignal": true; }; "showMinMaxLabels": { "alias": "auShowMinMaxLabels"; "required": false; "isSignal": true; }; "ariaLabelHandle": { "alias": "auAriaLabelHandle"; "required": false; "isSignal": true; }; "ariaValueText": { "alias": "auAriaValueText"; "required": false; "isSignal": true; }; "readonly": { "alias": "auReadonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "auDisabled"; "required": false; "isSignal": true; }; "vertical": { "alias": "auVertical"; "required": false; "isSignal": true; }; "label": { "alias": "auLabel"; "required": false; "isSignal": true; }; "structure": { "alias": "auStructure"; "required": false; "isSignal": true; }; "handle": { "alias": "auHandle"; "required": false; "isSignal": true; }; }, { "valuesChange": "auValuesChange"; }, ["slotLabelFromContent", "slotStructureFromContent", "slotHandleFromContent"], never, true, never>;
196
187
  }
@@ -1,6 +1,6 @@
1
1
  import type { SlotContent, TransitionFn } from '@agnos-ui/angular-headless';
2
2
  import { BaseWidgetDirective } from '@agnos-ui/angular-headless';
3
- import { EventEmitter, TemplateRef } from '@angular/core';
3
+ import { TemplateRef } from '@angular/core';
4
4
  import type { ToastContext, ToastWidget } from './toast.gen';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
@@ -49,7 +49,7 @@ export declare class ToastComponent extends BaseWidgetDirective<ToastWidget> {
49
49
  *
50
50
  * @defaultValue `true`
51
51
  */
52
- dismissible: boolean | undefined;
52
+ readonly dismissible: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
53
53
  /**
54
54
  * The transition function will be executed when the alert is displayed or hidden.
55
55
  *
@@ -57,13 +57,13 @@ export declare class ToastComponent extends BaseWidgetDirective<ToastWidget> {
57
57
  *
58
58
  * @defaultValue `fadeTransition`
59
59
  */
60
- transition: TransitionFn | undefined;
60
+ readonly transition: import("@angular/core").InputSignal<TransitionFn | undefined>;
61
61
  /**
62
62
  * If `true` the alert is visible to the user
63
63
  *
64
64
  * @defaultValue `true`
65
65
  */
66
- visible: boolean | undefined;
66
+ readonly visible: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
67
67
  /**
68
68
  * If `true`, alert opening will be animated.
69
69
  *
@@ -72,7 +72,7 @@ export declare class ToastComponent extends BaseWidgetDirective<ToastWidget> {
72
72
  *
73
73
  * @defaultValue `false`
74
74
  */
75
- animatedOnInit: boolean | undefined;
75
+ readonly animatedOnInit: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
76
76
  /**
77
77
  * If `true`, alert closing will be animated.
78
78
  *
@@ -81,40 +81,40 @@ export declare class ToastComponent extends BaseWidgetDirective<ToastWidget> {
81
81
  *
82
82
  * @defaultValue `true`
83
83
  */
84
- animated: boolean | undefined;
84
+ readonly animated: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
85
85
  /**
86
86
  * If `true` automatically hides the toast after the delay.
87
87
  *
88
88
  * @defaultValue `true`
89
89
  */
90
- autoHide: boolean | undefined;
90
+ readonly autoHide: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
91
91
  /**
92
92
  * Delay in milliseconds before hiding the toast.
93
93
  *
94
94
  * @defaultValue `5000`
95
95
  */
96
- delay: number | undefined;
96
+ readonly delay: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
97
97
  /**
98
98
  * Accessibility close button label
99
99
  *
100
100
  * @defaultValue `'Close'`
101
101
  */
102
- ariaCloseButtonLabel: string | undefined;
102
+ readonly ariaCloseButtonLabel: import("@angular/core").InputSignal<string | undefined>;
103
103
  /**
104
104
  * Template for the toast content
105
105
  */
106
- children: SlotContent<ToastContext>;
107
- slotDefaultFromContent: ToastBodyDirective | undefined;
106
+ readonly children: import("@angular/core").InputSignal<SlotContent<ToastContext>>;
107
+ readonly slotDefaultFromContent: import("@angular/core").Signal<ToastBodyDirective | undefined>;
108
108
  /**
109
109
  * Global template for the toast component
110
110
  */
111
- structure: SlotContent<ToastContext>;
112
- slotStructureFromContent: ToastStructureDirective | undefined;
111
+ readonly structure: import("@angular/core").InputSignal<SlotContent<ToastContext>>;
112
+ readonly slotStructureFromContent: import("@angular/core").Signal<ToastStructureDirective | undefined>;
113
113
  /**
114
114
  * Header template for the toast component
115
115
  */
116
- header: SlotContent<ToastContext>;
117
- slotHeaderFromContent: ToastHeaderDirective | undefined;
116
+ readonly header: import("@angular/core").InputSignal<SlotContent<ToastContext>>;
117
+ readonly slotHeaderFromContent: import("@angular/core").Signal<ToastHeaderDirective | undefined>;
118
118
  /**
119
119
  * Callback called when the alert visibility changed.
120
120
  *
@@ -123,7 +123,7 @@ export declare class ToastComponent extends BaseWidgetDirective<ToastWidget> {
123
123
  * () => {}
124
124
  * ```
125
125
  */
126
- visibleChange: EventEmitter<boolean>;
126
+ readonly visibleChange: import("@angular/core").OutputEmitterRef<boolean>;
127
127
  /**
128
128
  * Callback called when the alert is hidden.
129
129
  *
@@ -132,7 +132,7 @@ export declare class ToastComponent extends BaseWidgetDirective<ToastWidget> {
132
132
  * () => {}
133
133
  * ```
134
134
  */
135
- hidden: EventEmitter<void>;
135
+ readonly hidden: import("@angular/core").OutputEmitterRef<void>;
136
136
  /**
137
137
  * Callback called when the alert is shown.
138
138
  *
@@ -141,21 +141,15 @@ export declare class ToastComponent extends BaseWidgetDirective<ToastWidget> {
141
141
  * () => {}
142
142
  * ```
143
143
  */
144
- shown: EventEmitter<void>;
144
+ readonly shown: import("@angular/core").OutputEmitterRef<void>;
145
145
  /**
146
146
  * CSS classes to be applied on the widget main container
147
147
  *
148
148
  * @defaultValue `''`
149
149
  */
150
- className: string | undefined;
151
- slotChildren?: TemplateRef<void>;
150
+ readonly className: import("@angular/core").InputSignal<string | undefined>;
151
+ readonly slotChildren: import("@angular/core").Signal<TemplateRef<void> | undefined>;
152
152
  constructor();
153
153
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
154
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "[auToast]", never, { "dismissible": { "alias": "auDismissible"; "required": false; }; "transition": { "alias": "auTransition"; "required": false; }; "visible": { "alias": "auVisible"; "required": false; }; "animatedOnInit": { "alias": "auAnimatedOnInit"; "required": false; }; "animated": { "alias": "auAnimated"; "required": false; }; "autoHide": { "alias": "auAutoHide"; "required": false; }; "delay": { "alias": "auDelay"; "required": false; }; "ariaCloseButtonLabel": { "alias": "auAriaCloseButtonLabel"; "required": false; }; "children": { "alias": "auChildren"; "required": false; }; "structure": { "alias": "auStructure"; "required": false; }; "header": { "alias": "auHeader"; "required": false; }; "className": { "alias": "auClassName"; "required": false; }; }, { "visibleChange": "auVisibleChange"; "hidden": "auHidden"; "shown": "auShown"; }, ["slotDefaultFromContent", "slotStructureFromContent", "slotHeaderFromContent"], ["*"], true, never>;
155
- static ngAcceptInputType_dismissible: unknown;
156
- static ngAcceptInputType_visible: unknown;
157
- static ngAcceptInputType_animatedOnInit: unknown;
158
- static ngAcceptInputType_animated: unknown;
159
- static ngAcceptInputType_autoHide: unknown;
160
- static ngAcceptInputType_delay: unknown;
154
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "[auToast]", never, { "dismissible": { "alias": "auDismissible"; "required": false; "isSignal": true; }; "transition": { "alias": "auTransition"; "required": false; "isSignal": true; }; "visible": { "alias": "auVisible"; "required": false; "isSignal": true; }; "animatedOnInit": { "alias": "auAnimatedOnInit"; "required": false; "isSignal": true; }; "animated": { "alias": "auAnimated"; "required": false; "isSignal": true; }; "autoHide": { "alias": "auAutoHide"; "required": false; "isSignal": true; }; "delay": { "alias": "auDelay"; "required": false; "isSignal": true; }; "ariaCloseButtonLabel": { "alias": "auAriaCloseButtonLabel"; "required": false; "isSignal": true; }; "children": { "alias": "auChildren"; "required": false; "isSignal": true; }; "structure": { "alias": "auStructure"; "required": false; "isSignal": true; }; "header": { "alias": "auHeader"; "required": false; "isSignal": true; }; "className": { "alias": "auClassName"; "required": false; "isSignal": true; }; }, { "visibleChange": "auVisibleChange"; "hidden": "auHidden"; "shown": "auShown"; }, ["slotDefaultFromContent", "slotStructureFromContent", "slotHeaderFromContent"], ["*"], true, never>;
161
155
  }