@agnos-ui/angular-bootstrap 0.8.1 → 0.9.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 (46) hide show
  1. package/fesm2022/agnos-ui-angular-bootstrap.mjs +156 -94
  2. package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
  3. package/index.d.ts +6450 -40
  4. package/package.json +5 -5
  5. package/agnos-ui-angular.module.d.ts +0 -20
  6. package/components/accordion/accordion.component.d.ts +0 -257
  7. package/components/accordion/accordion.gen.d.ts +0 -442
  8. package/components/accordion/index.d.ts +0 -2
  9. package/components/alert/alert.component.d.ts +0 -140
  10. package/components/alert/alert.gen.d.ts +0 -191
  11. package/components/alert/index.d.ts +0 -2
  12. package/components/carousel/carousel.component.d.ts +0 -207
  13. package/components/carousel/carousel.gen.d.ts +0 -358
  14. package/components/carousel/index.d.ts +0 -2
  15. package/components/collapse/collapse.component.d.ts +0 -83
  16. package/components/collapse/collapse.gen.d.ts +0 -150
  17. package/components/collapse/index.d.ts +0 -2
  18. package/components/modal/index.d.ts +0 -3
  19. package/components/modal/modal.component.d.ts +0 -220
  20. package/components/modal/modal.gen.d.ts +0 -355
  21. package/components/modal/modal.service.d.ts +0 -21
  22. package/components/pagination/index.d.ts +0 -2
  23. package/components/pagination/pagination.component.d.ts +0 -379
  24. package/components/pagination/pagination.gen.d.ts +0 -584
  25. package/components/progressbar/index.d.ts +0 -2
  26. package/components/progressbar/progressbar.component.d.ts +0 -118
  27. package/components/progressbar/progressbar.gen.d.ts +0 -196
  28. package/components/rating/index.d.ts +0 -2
  29. package/components/rating/rating.component.d.ts +0 -144
  30. package/components/rating/rating.gen.d.ts +0 -270
  31. package/components/select/index.d.ts +0 -2
  32. package/components/select/select.component.d.ts +0 -198
  33. package/components/select/select.gen.d.ts +0 -433
  34. package/components/slider/index.d.ts +0 -2
  35. package/components/slider/slider.component.d.ts +0 -234
  36. package/components/slider/slider.gen.d.ts +0 -511
  37. package/components/toast/index.d.ts +0 -4
  38. package/components/toast/toast.component.d.ts +0 -155
  39. package/components/toast/toast.gen.d.ts +0 -308
  40. package/components/toast/toaster.component.d.ts +0 -17
  41. package/components/toast/toaster.service.d.ts +0 -7
  42. package/components/tree/index.d.ts +0 -2
  43. package/components/tree/tree.component.d.ts +0 -145
  44. package/components/tree/tree.gen.d.ts +0 -216
  45. package/config.d.ts +0 -27
  46. package/config.gen.d.ts +0 -62
@@ -1,234 +0,0 @@
1
- import type { SlotContent } from '@agnos-ui/angular-headless';
2
- import { BaseWidgetDirective } from '@agnos-ui/angular-headless';
3
- import { TemplateRef } from '@angular/core';
4
- import { type ControlValueAccessor } from '@angular/forms';
5
- import type { SliderContext, SliderSlotHandleContext, SliderSlotLabelContext, SliderSlotTickContext, SliderWidget } from './slider.gen';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Directive to provide a template reference for slider labels.
9
- *
10
- * This directive uses a template reference to render the {@link SliderSlotLabelContext}.
11
- */
12
- export declare class SliderLabelDirective {
13
- templateRef: TemplateRef<any>;
14
- static ngTemplateContextGuard(_dir: SliderLabelDirective, context: unknown): context is SliderSlotLabelContext;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderLabelDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<SliderLabelDirective, "ng-template[auSliderLabel]", never, {}, {}, never, never, true, never>;
17
- }
18
- /**
19
- * Directive representing a handle for a slider component.
20
- *
21
- * This directive uses a template reference to render the {@link SliderSlotHandleContext}.
22
- */
23
- export declare class SliderHandleDirective {
24
- templateRef: TemplateRef<any>;
25
- static ngTemplateContextGuard(_dir: SliderHandleDirective, context: unknown): context is SliderSlotHandleContext;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderHandleDirective, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<SliderHandleDirective, "ng-template[auSliderHandle]", never, {}, {}, never, never, true, never>;
28
- }
29
- /**
30
- * A constant representing the default slot handle for the slider component.
31
- */
32
- export declare const sliderDefaultSlotHandle: SlotContent<SliderSlotHandleContext>;
33
- /**
34
- * Directive representing a tick for a slider component.
35
- *
36
- * This directive uses a template reference to render the {@link SliderSlotTickContext}.
37
- */
38
- export declare class SliderTickDirective {
39
- templateRef: TemplateRef<any>;
40
- static ngTemplateContextGuard(_dir: SliderTickDirective, context: unknown): context is SliderSlotTickContext;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderTickDirective, never>;
42
- static ɵdir: i0.ɵɵDirectiveDeclaration<SliderTickDirective, "ng-template[auSliderTick]", never, {}, {}, never, never, true, never>;
43
- }
44
- /**
45
- * A constant representing the default slot tick for the slider component.
46
- */
47
- export declare const sliderDefaultSlotTick: SlotContent<SliderSlotTickContext>;
48
- /**
49
- * Directive that provides structure for the slider component.
50
- *
51
- * This directive uses a `TemplateRef` to handle the context of the slider slot.
52
- */
53
- export declare class SliderStructureDirective {
54
- templateRef: TemplateRef<any>;
55
- static ngTemplateContextGuard(_dir: SliderStructureDirective, context: unknown): context is SliderSlotHandleContext;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderStructureDirective, never>;
57
- static ɵdir: i0.ɵɵDirectiveDeclaration<SliderStructureDirective, "ng-template[auSliderStructure]", never, {}, {}, never, never, true, never>;
58
- }
59
- /**
60
- * Represents the default slot structure for the slider component.
61
- */
62
- export declare const sliderDefaultSlotStructure: SlotContent<SliderContext>;
63
- /**
64
- * SliderComponent is an Angular component that extends the BaseWidgetDirective
65
- * to provide a customizable slider widget. This component allows for various
66
- * configurations and customizations through its inputs and outputs.
67
- */
68
- export declare class SliderComponent extends BaseWidgetDirective<SliderWidget> implements ControlValueAccessor {
69
- /**
70
- * CSS classes to be applied on the widget main container
71
- *
72
- * @defaultValue `''`
73
- */
74
- readonly className: import("@angular/core").InputSignal<string | undefined>;
75
- /**
76
- * Minimum value that can be assigned to the slider
77
- *
78
- * @defaultValue `0`
79
- */
80
- readonly min: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
81
- /**
82
- * Maximum value that can be assigned to the slider
83
- *
84
- * @defaultValue `100`
85
- */
86
- readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
87
- /**
88
- * Unit value between slider steps
89
- *
90
- * @defaultValue `1`
91
- */
92
- readonly stepSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
93
- /**
94
- * Current slider values
95
- *
96
- * @defaultValue `[0]`
97
- */
98
- readonly values: import("@angular/core").InputSignal<number[] | undefined>;
99
- /**
100
- * It `true` slider display is inversed
101
- *
102
- * @defaultValue `false`
103
- */
104
- readonly rtl: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
105
- /**
106
- * If `true` the value labels are displayed on the slider
107
- *
108
- * @defaultValue `true`
109
- */
110
- readonly showValueLabels: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
111
- /**
112
- * If `true` the min and max labels are displayed on the slider
113
- *
114
- * @defaultValue `true`
115
- */
116
- readonly showMinMaxLabels: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
117
- /**
118
- * Return the value for the 'aria-label' attribute for the handle
119
- * @param sortedIndex - index of the handle in the sorted list
120
- *
121
- * @defaultValue
122
- * ```ts
123
- * () => 'Value'
124
- * ```
125
- */
126
- readonly ariaLabel: import("@angular/core").InputSignal<((sortedIndex: number) => string) | undefined>;
127
- /**
128
- * Return the value for the 'aria-labelledBy' attribute for the handle
129
- * @param sortedIndex - index of the handle in the sorted list
130
- *
131
- * @defaultValue
132
- * ```ts
133
- * () => ''
134
- * ```
135
- */
136
- readonly ariaLabelledBy: import("@angular/core").InputSignal<((sortedIndex: number) => string) | undefined>;
137
- /**
138
- * Return the value for the 'aria-valuetext' attribute for the handle
139
- * @param value - value of the handle
140
- * @param sortedIndex - index of the handle in the sorted list
141
- *
142
- * @defaultValue
143
- * ```ts
144
- * (value: number) => ''
145
- * ```
146
- */
147
- readonly ariaValueText: import("@angular/core").InputSignal<((value: number, sortedIndex: number) => string) | undefined>;
148
- /**
149
- * If `true` slider value cannot be changed but the slider is still focusable
150
- *
151
- * @defaultValue `false`
152
- */
153
- readonly readonly: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
154
- /**
155
- * If `true` slider value cannot be changed and the slider cannot be focused
156
- *
157
- * @defaultValue `false`
158
- */
159
- readonly disabled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
160
- /**
161
- * If `true` is vertically positioned otherwise it is horizontal
162
- *
163
- * @defaultValue `false`
164
- */
165
- readonly vertical: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
166
- /**
167
- * If `true` the ticks are displayed on the slider
168
- *
169
- * @defaultValue `false`
170
- */
171
- readonly showTicks: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
172
- /**
173
- * Unit value between the ticks
174
- * If value is set to `0` the {@link stepSize} is used to space the ticks
175
- *
176
- * @defaultValue `0`
177
- */
178
- readonly tickInterval: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
179
- /**
180
- * If `true` the tick values are displayed on the slider
181
- *
182
- * @defaultValue `true`
183
- */
184
- readonly showTickValues: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
185
- /**
186
- * An event emitted when slider values are changed
187
- *
188
- * Event payload equals to the updated slider values
189
- *
190
- * @defaultValue
191
- * ```ts
192
- * () => {}
193
- * ```
194
- */
195
- readonly valuesChange: import("@angular/core").OutputEmitterRef<number[]>;
196
- /**
197
- * Slot to change the default labels of the slider
198
- *
199
- * @defaultValue
200
- * ```ts
201
- * ({value}: SliderSlotLabelContext) => '' + value
202
- * ```
203
- */
204
- readonly label: import("@angular/core").InputSignal<SlotContent<SliderSlotLabelContext>>;
205
- readonly slotLabelFromContent: import("@angular/core").Signal<SliderLabelDirective | undefined>;
206
- /**
207
- * Slot to change the default display of the slider
208
- */
209
- readonly structure: import("@angular/core").InputSignal<SlotContent<SliderContext>>;
210
- readonly slotStructureFromContent: import("@angular/core").Signal<SliderStructureDirective | undefined>;
211
- /**
212
- * Slot to change the handlers
213
- */
214
- readonly handle: import("@angular/core").InputSignal<SlotContent<SliderSlotHandleContext>>;
215
- readonly slotHandleFromContent: import("@angular/core").Signal<SliderHandleDirective | undefined>;
216
- /**
217
- * Slot to change the ticks
218
- */
219
- readonly tick: import("@angular/core").InputSignal<SlotContent<SliderSlotTickContext>>;
220
- readonly slotTickFromContent: import("@angular/core").Signal<SliderTickDirective | undefined>;
221
- constructor();
222
- /**
223
- * Control value accessor methods
224
- */
225
- onChange: (_: any) => void;
226
- onTouched: () => void;
227
- registerOnChange(fn: (value: any) => any): void;
228
- registerOnTouched(fn: () => any): void;
229
- writeValue(value: any): void;
230
- setDisabledState(isDisabled: boolean): void;
231
- handleBlur(): void;
232
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
233
- 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; }; "ariaLabel": { "alias": "auAriaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "auAriaLabelledBy"; "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; }; "showTicks": { "alias": "auShowTicks"; "required": false; "isSignal": true; }; "tickInterval": { "alias": "auTickInterval"; "required": false; "isSignal": true; }; "showTickValues": { "alias": "auShowTickValues"; "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; }; "tick": { "alias": "auTick"; "required": false; "isSignal": true; }; }, { "valuesChange": "auValuesChange"; }, ["slotLabelFromContent", "slotStructureFromContent", "slotHandleFromContent", "slotTickFromContent"], never, true, never>;
234
- }