@spw-ds/spw-angular-library 1.4.1 → 1.4.2

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.
@@ -1,2297 +0,0 @@
1
- /* tslint:disable */
2
- /* auto-generated angular directive proxies */
3
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, NgZone } from '@angular/core';
4
-
5
- import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
6
-
7
- import { Components } from '@spw-ds/spw-stencil-library';
8
-
9
-
10
- @ProxyCmp({
11
- inputs: ['background']
12
- })
13
- @Component({
14
- selector: 'spw-accordion',
15
- changeDetection: ChangeDetectionStrategy.OnPush,
16
- template: '<ng-content></ng-content>',
17
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
18
- inputs: ['background'],
19
- })
20
- export class SpwAccordion {
21
- protected el: HTMLSpwAccordionElement;
22
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
23
- c.detach();
24
- this.el = r.nativeElement;
25
- }
26
- }
27
-
28
-
29
- export declare interface SpwAccordion extends Components.SpwAccordion {}
30
-
31
-
32
- @ProxyCmp({
33
- })
34
- @Component({
35
- selector: 'spw-accordion-content',
36
- changeDetection: ChangeDetectionStrategy.OnPush,
37
- template: '<ng-content></ng-content>',
38
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
39
- inputs: [],
40
- })
41
- export class SpwAccordionContent {
42
- protected el: HTMLSpwAccordionContentElement;
43
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
44
- c.detach();
45
- this.el = r.nativeElement;
46
- }
47
- }
48
-
49
-
50
- export declare interface SpwAccordionContent extends Components.SpwAccordionContent {}
51
-
52
-
53
- @ProxyCmp({
54
- inputs: ['defaultOpen']
55
- })
56
- @Component({
57
- selector: 'spw-accordion-item',
58
- changeDetection: ChangeDetectionStrategy.OnPush,
59
- template: '<ng-content></ng-content>',
60
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
61
- inputs: ['defaultOpen'],
62
- })
63
- export class SpwAccordionItem {
64
- protected el: HTMLSpwAccordionItemElement;
65
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
66
- c.detach();
67
- this.el = r.nativeElement;
68
- proxyOutputs(this, this.el, ['accordionToggle']);
69
- }
70
- }
71
-
72
-
73
- export declare interface SpwAccordionItem extends Components.SpwAccordionItem {
74
- /**
75
- * Transmet l'état actuel (isOpen) et l'id de l'élément
76
- */
77
- accordionToggle: EventEmitter<CustomEvent<{ isOpen: boolean; id: string }>>;
78
- }
79
-
80
-
81
- @ProxyCmp({
82
- inputs: ['icon', 'tag']
83
- })
84
- @Component({
85
- selector: 'spw-accordion-title',
86
- changeDetection: ChangeDetectionStrategy.OnPush,
87
- template: '<ng-content></ng-content>',
88
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
89
- inputs: ['icon', 'tag'],
90
- })
91
- export class SpwAccordionTitle {
92
- protected el: HTMLSpwAccordionTitleElement;
93
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
94
- c.detach();
95
- this.el = r.nativeElement;
96
- }
97
- }
98
-
99
-
100
- export declare interface SpwAccordionTitle extends Components.SpwAccordionTitle {}
101
-
102
-
103
- @ProxyCmp({
104
- inputs: ['accAriaLabel', 'fontSize', 'surface', 'variant']
105
- })
106
- @Component({
107
- selector: 'spw-breadcrumb',
108
- changeDetection: ChangeDetectionStrategy.OnPush,
109
- template: '<ng-content></ng-content>',
110
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
111
- inputs: ['accAriaLabel', 'fontSize', 'surface', 'variant'],
112
- })
113
- export class SpwBreadcrumb {
114
- protected el: HTMLSpwBreadcrumbElement;
115
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
116
- c.detach();
117
- this.el = r.nativeElement;
118
- }
119
- }
120
-
121
-
122
- export declare interface SpwBreadcrumb extends Components.SpwBreadcrumb {}
123
-
124
-
125
- @ProxyCmp({
126
- inputs: ['href']
127
- })
128
- @Component({
129
- selector: 'spw-breadcrumb-item',
130
- changeDetection: ChangeDetectionStrategy.OnPush,
131
- template: '<ng-content></ng-content>',
132
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
133
- inputs: ['href'],
134
- })
135
- export class SpwBreadcrumbItem {
136
- protected el: HTMLSpwBreadcrumbItemElement;
137
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
138
- c.detach();
139
- this.el = r.nativeElement;
140
- }
141
- }
142
-
143
-
144
- export declare interface SpwBreadcrumbItem extends Components.SpwBreadcrumbItem {}
145
-
146
-
147
- @ProxyCmp({
148
- inputs: ['accAriaLabel', 'disabled', 'download', 'hideTextOnMobile', 'href', 'icon', 'iconPosition', 'isFullWidth', 'isFullWidthMobile', 'isIconOnly', 'isLoading', 'name', 'rel', 'size', 'surface', 'target', 'type', 'value', 'variant']
149
- })
150
- @Component({
151
- selector: 'spw-button',
152
- changeDetection: ChangeDetectionStrategy.OnPush,
153
- template: '<ng-content></ng-content>',
154
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
155
- inputs: ['accAriaLabel', 'disabled', 'download', 'hideTextOnMobile', 'href', 'icon', 'iconPosition', 'isFullWidth', 'isFullWidthMobile', 'isIconOnly', 'isLoading', 'name', 'rel', 'size', 'surface', 'target', 'type', 'value', 'variant'],
156
- })
157
- export class SpwButton {
158
- protected el: HTMLSpwButtonElement;
159
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
160
- c.detach();
161
- this.el = r.nativeElement;
162
- proxyOutputs(this, this.el, ['spwFocus', 'spwBlur', 'spwNavigate']);
163
- }
164
- }
165
-
166
-
167
- export declare interface SpwButton extends Components.SpwButton {
168
- /**
169
- * Lors du focus
170
- */
171
- spwFocus: EventEmitter<CustomEvent<void>>;
172
- /**
173
- * Lors de la perte du focus
174
- */
175
- spwBlur: EventEmitter<CustomEvent<void>>;
176
- /**
177
- * Navigation vers un lien lors du clic
178
- */
179
- spwNavigate: EventEmitter<CustomEvent<MouseEvent>>;
180
- }
181
-
182
-
183
- @ProxyCmp({
184
- inputs: ['accAriaLabel', 'dateEnd', 'dateStart', 'disabled', 'elementType', 'fullHeight', 'href', 'rel', 'target', 'variant']
185
- })
186
- @Component({
187
- selector: 'spw-card',
188
- changeDetection: ChangeDetectionStrategy.OnPush,
189
- template: '<ng-content></ng-content>',
190
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
191
- inputs: ['accAriaLabel', 'dateEnd', 'dateStart', 'disabled', 'elementType', 'fullHeight', 'href', 'rel', 'target', 'variant'],
192
- })
193
- export class SpwCard {
194
- protected el: HTMLSpwCardElement;
195
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
196
- c.detach();
197
- this.el = r.nativeElement;
198
- }
199
- }
200
-
201
-
202
- export declare interface SpwCard extends Components.SpwCard {}
203
-
204
-
205
- @ProxyCmp({
206
- inputs: ['date', 'tag']
207
- })
208
- @Component({
209
- selector: 'spw-card-content',
210
- changeDetection: ChangeDetectionStrategy.OnPush,
211
- template: '<ng-content></ng-content>',
212
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
213
- inputs: ['date', 'tag'],
214
- })
215
- export class SpwCardContent {
216
- protected el: HTMLSpwCardContentElement;
217
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
218
- c.detach();
219
- this.el = r.nativeElement;
220
- }
221
- }
222
-
223
-
224
- export declare interface SpwCardContent extends Components.SpwCardContent {}
225
-
226
-
227
- @ProxyCmp({
228
- inputs: ['lineClamp']
229
- })
230
- @Component({
231
- selector: 'spw-card-excerpt',
232
- changeDetection: ChangeDetectionStrategy.OnPush,
233
- template: '<ng-content></ng-content>',
234
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
235
- inputs: ['lineClamp'],
236
- })
237
- export class SpwCardExcerpt {
238
- protected el: HTMLSpwCardExcerptElement;
239
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
240
- c.detach();
241
- this.el = r.nativeElement;
242
- }
243
- }
244
-
245
-
246
- export declare interface SpwCardExcerpt extends Components.SpwCardExcerpt {}
247
-
248
-
249
- @ProxyCmp({
250
- inputs: ['label', 'ratio', 'ratioDesktop', 'ratioMobile', 'ratioTablet']
251
- })
252
- @Component({
253
- selector: 'spw-card-image',
254
- changeDetection: ChangeDetectionStrategy.OnPush,
255
- template: '<ng-content></ng-content>',
256
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
257
- inputs: ['label', 'ratio', 'ratioDesktop', 'ratioMobile', 'ratioTablet'],
258
- })
259
- export class SpwCardImage {
260
- protected el: HTMLSpwCardImageElement;
261
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
262
- c.detach();
263
- this.el = r.nativeElement;
264
- }
265
- }
266
-
267
-
268
- export declare interface SpwCardImage extends Components.SpwCardImage {}
269
-
270
-
271
- @ProxyCmp({
272
- inputs: ['link']
273
- })
274
- @Component({
275
- selector: 'spw-card-subtag-item',
276
- changeDetection: ChangeDetectionStrategy.OnPush,
277
- template: '<ng-content></ng-content>',
278
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
279
- inputs: ['link'],
280
- })
281
- export class SpwCardSubtagItem {
282
- protected el: HTMLSpwCardSubtagItemElement;
283
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
284
- c.detach();
285
- this.el = r.nativeElement;
286
- }
287
- }
288
-
289
-
290
- export declare interface SpwCardSubtagItem extends Components.SpwCardSubtagItem {}
291
-
292
-
293
- @ProxyCmp({
294
- inputs: ['variant']
295
- })
296
- @Component({
297
- selector: 'spw-card-subtags',
298
- changeDetection: ChangeDetectionStrategy.OnPush,
299
- template: '<ng-content></ng-content>',
300
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
301
- inputs: ['variant'],
302
- })
303
- export class SpwCardSubtags {
304
- protected el: HTMLSpwCardSubtagsElement;
305
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
306
- c.detach();
307
- this.el = r.nativeElement;
308
- }
309
- }
310
-
311
-
312
- export declare interface SpwCardSubtags extends Components.SpwCardSubtags {}
313
-
314
-
315
- @ProxyCmp({
316
- inputs: ['borderColor']
317
- })
318
- @Component({
319
- selector: 'spw-card-title',
320
- changeDetection: ChangeDetectionStrategy.OnPush,
321
- template: '<ng-content></ng-content>',
322
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
323
- inputs: ['borderColor'],
324
- })
325
- export class SpwCardTitle {
326
- protected el: HTMLSpwCardTitleElement;
327
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
328
- c.detach();
329
- this.el = r.nativeElement;
330
- }
331
- }
332
-
333
-
334
- export declare interface SpwCardTitle extends Components.SpwCardTitle {}
335
-
336
-
337
- @ProxyCmp({
338
- inputs: ['accAriaLabel', 'checked', 'disabled', 'error', 'icon', 'name', 'variant'],
339
- methods: ['toggleCheckedState']
340
- })
341
- @Component({
342
- selector: 'spw-checkbox',
343
- changeDetection: ChangeDetectionStrategy.OnPush,
344
- template: '<ng-content></ng-content>',
345
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
346
- inputs: ['accAriaLabel', 'checked', 'disabled', 'error', 'icon', 'name', 'variant'],
347
- })
348
- export class SpwCheckbox {
349
- protected el: HTMLSpwCheckboxElement;
350
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
351
- c.detach();
352
- this.el = r.nativeElement;
353
- proxyOutputs(this, this.el, ['spwChange']);
354
- }
355
- }
356
-
357
-
358
- export declare interface SpwCheckbox extends Components.SpwCheckbox {
359
- /**
360
- * Événement déclenché lors d'un changement d'état de la case à cocher (cochée ou décochée)
361
- */
362
- spwChange: EventEmitter<CustomEvent<boolean>>;
363
- }
364
-
365
-
366
- @ProxyCmp({
367
- inputs: ['acceptAllButtonText', 'acceptRequiredButtonText', 'cookiesDescription', 'cookiesTitle']
368
- })
369
- @Component({
370
- selector: 'spw-cookies',
371
- changeDetection: ChangeDetectionStrategy.OnPush,
372
- template: '<ng-content></ng-content>',
373
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
374
- inputs: ['acceptAllButtonText', 'acceptRequiredButtonText', 'cookiesDescription', 'cookiesTitle'],
375
- })
376
- export class SpwCookies {
377
- protected el: HTMLSpwCookiesElement;
378
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
379
- c.detach();
380
- this.el = r.nativeElement;
381
- }
382
- }
383
-
384
-
385
- export declare interface SpwCookies extends Components.SpwCookies {}
386
-
387
-
388
- @ProxyCmp({
389
- inputs: ['assistiveText', 'disabled', 'error', 'hint', 'isSearch', 'items', 'label', 'multiple', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
390
- methods: ['resetSelect', 'setValue', 'getValue']
391
- })
392
- @Component({
393
- selector: 'spw-custom-select',
394
- changeDetection: ChangeDetectionStrategy.OnPush,
395
- template: '<ng-content></ng-content>',
396
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
397
- inputs: ['assistiveText', 'disabled', 'error', 'hint', 'isSearch', 'items', 'label', 'multiple', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
398
- })
399
- export class SpwCustomSelect {
400
- protected el: HTMLSpwCustomSelectElement;
401
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
402
- c.detach();
403
- this.el = r.nativeElement;
404
- proxyOutputs(this, this.el, ['valueChanged']);
405
- }
406
- }
407
-
408
-
409
- export declare interface SpwCustomSelect extends Components.SpwCustomSelect {
410
- /**
411
- * Événement émis lorsque la valeur sélectionnée change
412
- */
413
- valueChanged: EventEmitter<CustomEvent<(string | number)[] | string | number>>;
414
- }
415
-
416
-
417
- @ProxyCmp({
418
- inputs: ['accAriaLabel', 'assistiveText', 'dateFormat', 'disabled', 'disabledDates', 'disabledDays', 'error', 'hint', 'isStart', 'label', 'maxDate', 'minDate', 'name', 'placeholder', 'position', 'range', 'rangeId', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
419
- methods: ['open', 'close', 'setDate', 'getDate', 'getRange', 'updateConstraints', 'resetInput', 'resetConstraints']
420
- })
421
- @Component({
422
- selector: 'spw-date-picker',
423
- changeDetection: ChangeDetectionStrategy.OnPush,
424
- template: '<ng-content></ng-content>',
425
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
426
- inputs: ['accAriaLabel', 'assistiveText', 'dateFormat', 'disabled', 'disabledDates', 'disabledDays', 'error', 'hint', 'isStart', 'label', 'maxDate', 'minDate', 'name', 'placeholder', 'position', 'range', 'rangeId', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
427
- })
428
- export class SpwDatePicker {
429
- protected el: HTMLSpwDatePickerElement;
430
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
431
- c.detach();
432
- this.el = r.nativeElement;
433
- proxyOutputs(this, this.el, ['dateChange', 'datePickerOpen', 'datePickerClose']);
434
- }
435
- }
436
-
437
-
438
- export declare interface SpwDatePicker extends Components.SpwDatePicker {
439
- /**
440
- * Evenement émis au changement de date
441
- */
442
- dateChange: EventEmitter<CustomEvent<{ value: string; date: Date }>>;
443
- /**
444
- * Evenement émis à l'ouverture du datepicker
445
- */
446
- datePickerOpen: EventEmitter<CustomEvent<void>>;
447
- /**
448
- * Evenement émis à la fermeture du datepicker
449
- */
450
- datePickerClose: EventEmitter<CustomEvent<void>>;
451
- }
452
-
453
-
454
- @ProxyCmp({
455
- inputs: ['contentWidth', 'direction', 'hasPadding', 'open'],
456
- methods: ['close']
457
- })
458
- @Component({
459
- selector: 'spw-dropdown',
460
- changeDetection: ChangeDetectionStrategy.OnPush,
461
- template: '<ng-content></ng-content>',
462
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
463
- inputs: ['contentWidth', 'direction', 'hasPadding', 'open'],
464
- })
465
- export class SpwDropdown {
466
- protected el: HTMLSpwDropdownElement;
467
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
468
- c.detach();
469
- this.el = r.nativeElement;
470
- }
471
- }
472
-
473
-
474
- export declare interface SpwDropdown extends Components.SpwDropdown {}
475
-
476
-
477
- @ProxyCmp({
478
- })
479
- @Component({
480
- selector: 'spw-dropdown-container',
481
- changeDetection: ChangeDetectionStrategy.OnPush,
482
- template: '<ng-content></ng-content>',
483
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
484
- inputs: [],
485
- })
486
- export class SpwDropdownContainer {
487
- protected el: HTMLSpwDropdownContainerElement;
488
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
489
- c.detach();
490
- this.el = r.nativeElement;
491
- }
492
- }
493
-
494
-
495
- export declare interface SpwDropdownContainer extends Components.SpwDropdownContainer {}
496
-
497
-
498
- @ProxyCmp({
499
- inputs: ['disabled', 'href', 'icon', 'iconVariant']
500
- })
501
- @Component({
502
- selector: 'spw-dropdown-item',
503
- changeDetection: ChangeDetectionStrategy.OnPush,
504
- template: '<ng-content></ng-content>',
505
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
506
- inputs: ['disabled', 'href', 'icon', 'iconVariant'],
507
- })
508
- export class SpwDropdownItem {
509
- protected el: HTMLSpwDropdownItemElement;
510
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
511
- c.detach();
512
- this.el = r.nativeElement;
513
- }
514
- }
515
-
516
-
517
- export declare interface SpwDropdownItem extends Components.SpwDropdownItem {}
518
-
519
-
520
- @ProxyCmp({
521
- inputs: ['label', 'name', 'required', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle']
522
- })
523
- @Component({
524
- selector: 'spw-field-label',
525
- changeDetection: ChangeDetectionStrategy.OnPush,
526
- template: '<ng-content></ng-content>',
527
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
528
- inputs: ['label', 'name', 'required', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle'],
529
- })
530
- export class SpwFieldLabel {
531
- protected el: HTMLSpwFieldLabelElement;
532
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
533
- c.detach();
534
- this.el = r.nativeElement;
535
- }
536
- }
537
-
538
-
539
- export declare interface SpwFieldLabel extends Components.SpwFieldLabel {}
540
-
541
-
542
- @ProxyCmp({
543
- inputs: ['showIcon', 'variant']
544
- })
545
- @Component({
546
- selector: 'spw-field-message',
547
- changeDetection: ChangeDetectionStrategy.OnPush,
548
- template: '<ng-content></ng-content>',
549
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
550
- inputs: ['showIcon', 'variant'],
551
- })
552
- export class SpwFieldMessage {
553
- protected el: HTMLSpwFieldMessageElement;
554
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
555
- c.detach();
556
- this.el = r.nativeElement;
557
- }
558
- }
559
-
560
-
561
- export declare interface SpwFieldMessage extends Components.SpwFieldMessage {}
562
-
563
-
564
- @ProxyCmp({
565
- inputs: ['accept', 'disabled', 'enableDropZone', 'error', 'maxFileSize', 'maxFileSizeUnit', 'maxFiles', 'multiple', 'name', 'refuse', 'value'],
566
- methods: ['resetInput']
567
- })
568
- @Component({
569
- selector: 'spw-file-upload',
570
- changeDetection: ChangeDetectionStrategy.OnPush,
571
- template: '<ng-content></ng-content>',
572
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
573
- inputs: ['accept', 'disabled', 'enableDropZone', 'error', 'maxFileSize', 'maxFileSizeUnit', 'maxFiles', 'multiple', 'name', 'refuse', 'value'],
574
- })
575
- export class SpwFileUpload {
576
- protected el: HTMLSpwFileUploadElement;
577
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
578
- c.detach();
579
- this.el = r.nativeElement;
580
- proxyOutputs(this, this.el, ['spwFileChange']);
581
- }
582
- }
583
-
584
-
585
- export declare interface SpwFileUpload extends Components.SpwFileUpload {
586
- /**
587
- * Événement émis lorsque la sélection de fichiers change
588
- */
589
- spwFileChange: EventEmitter<CustomEvent<{ files: File[] }>>;
590
- }
591
-
592
-
593
- @ProxyCmp({
594
- inputs: ['colsDesktop', 'colsMobile', 'colsTablet']
595
- })
596
- @Component({
597
- selector: 'spw-footer',
598
- changeDetection: ChangeDetectionStrategy.OnPush,
599
- template: '<ng-content></ng-content>',
600
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
601
- inputs: ['colsDesktop', 'colsMobile', 'colsTablet'],
602
- })
603
- export class SpwFooter {
604
- protected el: HTMLSpwFooterElement;
605
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
606
- c.detach();
607
- this.el = r.nativeElement;
608
- }
609
- }
610
-
611
-
612
- export declare interface SpwFooter extends Components.SpwFooter {}
613
-
614
-
615
- @ProxyCmp({
616
- inputs: ['hasWallonieLogo', 'siteTitle']
617
- })
618
- @Component({
619
- selector: 'spw-footer-bottom',
620
- changeDetection: ChangeDetectionStrategy.OnPush,
621
- template: '<ng-content></ng-content>',
622
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
623
- inputs: ['hasWallonieLogo', 'siteTitle'],
624
- })
625
- export class SpwFooterBottom {
626
- protected el: HTMLSpwFooterBottomElement;
627
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
628
- c.detach();
629
- this.el = r.nativeElement;
630
- }
631
- }
632
-
633
-
634
- export declare interface SpwFooterBottom extends Components.SpwFooterBottom {}
635
-
636
-
637
- @ProxyCmp({
638
- })
639
- @Component({
640
- selector: 'spw-footer-content',
641
- changeDetection: ChangeDetectionStrategy.OnPush,
642
- template: '<ng-content></ng-content>',
643
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
644
- inputs: [],
645
- })
646
- export class SpwFooterContent {
647
- protected el: HTMLSpwFooterContentElement;
648
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
649
- c.detach();
650
- this.el = r.nativeElement;
651
- }
652
- }
653
-
654
-
655
- export declare interface SpwFooterContent extends Components.SpwFooterContent {}
656
-
657
-
658
- @ProxyCmp({
659
- inputs: ['colTitle']
660
- })
661
- @Component({
662
- selector: 'spw-footer-content-col',
663
- changeDetection: ChangeDetectionStrategy.OnPush,
664
- template: '<ng-content></ng-content>',
665
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
666
- inputs: ['colTitle'],
667
- })
668
- export class SpwFooterContentCol {
669
- protected el: HTMLSpwFooterContentColElement;
670
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
671
- c.detach();
672
- this.el = r.nativeElement;
673
- }
674
- }
675
-
676
-
677
- export declare interface SpwFooterContentCol extends Components.SpwFooterContentCol {}
678
-
679
-
680
- @ProxyCmp({
681
- inputs: ['href', 'linkTitle', 'target']
682
- })
683
- @Component({
684
- selector: 'spw-footer-link',
685
- changeDetection: ChangeDetectionStrategy.OnPush,
686
- template: '<ng-content></ng-content>',
687
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
688
- inputs: ['href', 'linkTitle', 'target'],
689
- })
690
- export class SpwFooterLink {
691
- protected el: HTMLSpwFooterLinkElement;
692
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
693
- c.detach();
694
- this.el = r.nativeElement;
695
- }
696
- }
697
-
698
-
699
- export declare interface SpwFooterLink extends Components.SpwFooterLink {}
700
-
701
-
702
- @ProxyCmp({
703
- inputs: ['colsDesktop', 'colsMobile', 'colsTablet']
704
- })
705
- @Component({
706
- selector: 'spw-grid',
707
- changeDetection: ChangeDetectionStrategy.OnPush,
708
- template: '<ng-content></ng-content>',
709
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
710
- inputs: ['colsDesktop', 'colsMobile', 'colsTablet'],
711
- })
712
- export class SpwGrid {
713
- protected el: HTMLSpwGridElement;
714
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
715
- c.detach();
716
- this.el = r.nativeElement;
717
- }
718
- }
719
-
720
-
721
- export declare interface SpwGrid extends Components.SpwGrid {}
722
-
723
-
724
- @ProxyCmp({
725
- inputs: ['colSpanDesktop', 'colSpanMobile', 'colSpanTablet', 'rowSpanDesktop', 'rowSpanMobile', 'rowSpanTablet']
726
- })
727
- @Component({
728
- selector: 'spw-grid-item',
729
- changeDetection: ChangeDetectionStrategy.OnPush,
730
- template: '<ng-content></ng-content>',
731
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
732
- inputs: ['colSpanDesktop', 'colSpanMobile', 'colSpanTablet', 'rowSpanDesktop', 'rowSpanMobile', 'rowSpanTablet'],
733
- })
734
- export class SpwGridItem {
735
- protected el: HTMLSpwGridItemElement;
736
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
737
- c.detach();
738
- this.el = r.nativeElement;
739
- }
740
- }
741
-
742
-
743
- export declare interface SpwGridItem extends Components.SpwGridItem {}
744
-
745
-
746
- @ProxyCmp({
747
- inputs: ['alignment', 'disabled', 'isFullWidth', 'isReversed', 'label', 'name', 'orientation', 'required', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type']
748
- })
749
- @Component({
750
- selector: 'spw-group',
751
- changeDetection: ChangeDetectionStrategy.OnPush,
752
- template: '<ng-content></ng-content>',
753
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
754
- inputs: ['alignment', 'disabled', 'isFullWidth', 'isReversed', 'label', 'name', 'orientation', 'required', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type'],
755
- })
756
- export class SpwGroup {
757
- protected el: HTMLSpwGroupElement;
758
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
759
- c.detach();
760
- this.el = r.nativeElement;
761
- }
762
- }
763
-
764
-
765
- export declare interface SpwGroup extends Components.SpwGroup {}
766
-
767
-
768
- @ProxyCmp({
769
- inputs: ['borderColor', 'hasMaWallonie', 'hasSearch', 'hasWallonieBe', 'hasWallonieLogo', 'maWallonieLabel', 'maWallonieLink', 'menuCloseLabel', 'menuOpenLabel', 'searchCloseLabel', 'searchDirectHref', 'searchDirectTarget', 'searchOpenLabel', 'searchType', 'siteTitle', 'wallonieBeLabel', 'wallonieBeLink']
770
- })
771
- @Component({
772
- selector: 'spw-header',
773
- changeDetection: ChangeDetectionStrategy.OnPush,
774
- template: '<ng-content></ng-content>',
775
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
776
- inputs: ['borderColor', 'hasMaWallonie', 'hasSearch', 'hasWallonieBe', 'hasWallonieLogo', 'maWallonieLabel', 'maWallonieLink', 'menuCloseLabel', 'menuOpenLabel', 'searchCloseLabel', 'searchDirectHref', 'searchDirectTarget', 'searchOpenLabel', 'searchType', 'siteTitle', 'wallonieBeLabel', 'wallonieBeLink'],
777
- })
778
- export class SpwHeader {
779
- protected el: HTMLSpwHeaderElement;
780
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
781
- c.detach();
782
- this.el = r.nativeElement;
783
- }
784
- }
785
-
786
-
787
- export declare interface SpwHeader extends Components.SpwHeader {}
788
-
789
-
790
- @ProxyCmp({
791
- inputs: ['accAriaLabel']
792
- })
793
- @Component({
794
- selector: 'spw-header-lang',
795
- changeDetection: ChangeDetectionStrategy.OnPush,
796
- template: '<ng-content></ng-content>',
797
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
798
- inputs: ['accAriaLabel'],
799
- })
800
- export class SpwHeaderLang {
801
- protected el: HTMLSpwHeaderLangElement;
802
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
803
- c.detach();
804
- this.el = r.nativeElement;
805
- }
806
- }
807
-
808
-
809
- export declare interface SpwHeaderLang extends Components.SpwHeaderLang {}
810
-
811
-
812
- @ProxyCmp({
813
- inputs: ['active']
814
- })
815
- @Component({
816
- selector: 'spw-header-lang-item',
817
- changeDetection: ChangeDetectionStrategy.OnPush,
818
- template: '<ng-content></ng-content>',
819
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
820
- inputs: ['active'],
821
- })
822
- export class SpwHeaderLangItem {
823
- protected el: HTMLSpwHeaderLangItemElement;
824
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
825
- c.detach();
826
- this.el = r.nativeElement;
827
- }
828
- }
829
-
830
-
831
- export declare interface SpwHeaderLangItem extends Components.SpwHeaderLangItem {}
832
-
833
-
834
- @ProxyCmp({
835
- inputs: ['alignment', 'extraButton', 'extraButtonHref', 'extraButtonIcon', 'extraButtonTarget', 'extraButtonText', 'extraButtonVariant']
836
- })
837
- @Component({
838
- selector: 'spw-header-navigation',
839
- changeDetection: ChangeDetectionStrategy.OnPush,
840
- template: '<ng-content></ng-content>',
841
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
842
- inputs: ['alignment', 'extraButton', 'extraButtonHref', 'extraButtonIcon', 'extraButtonTarget', 'extraButtonText', 'extraButtonVariant'],
843
- })
844
- export class SpwHeaderNavigation {
845
- protected el: HTMLSpwHeaderNavigationElement;
846
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
847
- c.detach();
848
- this.el = r.nativeElement;
849
- }
850
- }
851
-
852
-
853
- export declare interface SpwHeaderNavigation extends Components.SpwHeaderNavigation {}
854
-
855
-
856
- @ProxyCmp({
857
- inputs: ['viewMoreText']
858
- })
859
- @Component({
860
- selector: 'spw-header-navigation-dropdown',
861
- changeDetection: ChangeDetectionStrategy.OnPush,
862
- template: '<ng-content></ng-content>',
863
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
864
- inputs: ['viewMoreText'],
865
- })
866
- export class SpwHeaderNavigationDropdown {
867
- protected el: HTMLSpwHeaderNavigationDropdownElement;
868
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
869
- c.detach();
870
- this.el = r.nativeElement;
871
- }
872
- }
873
-
874
-
875
- export declare interface SpwHeaderNavigationDropdown extends Components.SpwHeaderNavigationDropdown {}
876
-
877
-
878
- @ProxyCmp({
879
- inputs: ['isActive', 'variant']
880
- })
881
- @Component({
882
- selector: 'spw-header-navigation-item',
883
- changeDetection: ChangeDetectionStrategy.OnPush,
884
- template: '<ng-content></ng-content>',
885
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
886
- inputs: ['isActive', 'variant'],
887
- })
888
- export class SpwHeaderNavigationItem {
889
- protected el: HTMLSpwHeaderNavigationItemElement;
890
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
891
- c.detach();
892
- this.el = r.nativeElement;
893
- proxyOutputs(this, this.el, ['spwHeaderNavigationNavigate']);
894
- }
895
- }
896
-
897
-
898
- export declare interface SpwHeaderNavigationItem extends Components.SpwHeaderNavigationItem {
899
-
900
- spwHeaderNavigationNavigate: EventEmitter<CustomEvent<{ level: number; element: HTMLSpwHeaderNavigationItemElement }>>;
901
- }
902
-
903
-
904
- @ProxyCmp({
905
- inputs: ['accAriaLabel', 'personaLabel']
906
- })
907
- @Component({
908
- selector: 'spw-header-persona',
909
- changeDetection: ChangeDetectionStrategy.OnPush,
910
- template: '<ng-content></ng-content>',
911
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
912
- inputs: ['accAriaLabel', 'personaLabel'],
913
- })
914
- export class SpwHeaderPersona {
915
- protected el: HTMLSpwHeaderPersonaElement;
916
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
917
- c.detach();
918
- this.el = r.nativeElement;
919
- }
920
- }
921
-
922
-
923
- export declare interface SpwHeaderPersona extends Components.SpwHeaderPersona {}
924
-
925
-
926
- @ProxyCmp({
927
- inputs: ['active']
928
- })
929
- @Component({
930
- selector: 'spw-header-persona-item',
931
- changeDetection: ChangeDetectionStrategy.OnPush,
932
- template: '<ng-content></ng-content>',
933
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
934
- inputs: ['active'],
935
- })
936
- export class SpwHeaderPersonaItem {
937
- protected el: HTMLSpwHeaderPersonaItemElement;
938
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
939
- c.detach();
940
- this.el = r.nativeElement;
941
- }
942
- }
943
-
944
-
945
- export declare interface SpwHeaderPersonaItem extends Components.SpwHeaderPersonaItem {}
946
-
947
-
948
- @ProxyCmp({
949
- inputs: ['accPlayButtonAriaLabel', 'alignment', 'hasPictureFull', 'hasRadius', 'hasShadow', 'hasVideo', 'imageAlt', 'imageSrc', 'modalVideoId', 'overlayColor', 'overlayOpacity', 'surface', 'variant']
950
- })
951
- @Component({
952
- selector: 'spw-hero',
953
- changeDetection: ChangeDetectionStrategy.OnPush,
954
- template: '<ng-content></ng-content>',
955
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
956
- inputs: ['accPlayButtonAriaLabel', 'alignment', 'hasPictureFull', 'hasRadius', 'hasShadow', 'hasVideo', 'imageAlt', 'imageSrc', 'modalVideoId', 'overlayColor', 'overlayOpacity', 'surface', 'variant'],
957
- })
958
- export class SpwHero {
959
- protected el: HTMLSpwHeroElement;
960
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
961
- c.detach();
962
- this.el = r.nativeElement;
963
- }
964
- }
965
-
966
-
967
- export declare interface SpwHero extends Components.SpwHero {}
968
-
969
-
970
- @ProxyCmp({
971
- inputs: ['icon', 'variant']
972
- })
973
- @Component({
974
- selector: 'spw-icon',
975
- changeDetection: ChangeDetectionStrategy.OnPush,
976
- template: '<ng-content></ng-content>',
977
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
978
- inputs: ['icon', 'variant'],
979
- })
980
- export class SpwIcon {
981
- protected el: HTMLSpwIconElement;
982
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
983
- c.detach();
984
- this.el = r.nativeElement;
985
- }
986
- }
987
-
988
-
989
- export declare interface SpwIcon extends Components.SpwIcon {}
990
-
991
-
992
- @ProxyCmp({
993
- inputs: ['alt', 'height', 'variant', 'width']
994
- })
995
- @Component({
996
- selector: 'spw-illustration',
997
- changeDetection: ChangeDetectionStrategy.OnPush,
998
- template: '<ng-content></ng-content>',
999
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1000
- inputs: ['alt', 'height', 'variant', 'width'],
1001
- })
1002
- export class SpwIllustration {
1003
- protected el: HTMLSpwIllustrationElement;
1004
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1005
- c.detach();
1006
- this.el = r.nativeElement;
1007
- }
1008
- }
1009
-
1010
-
1011
- export declare interface SpwIllustration extends Components.SpwIllustration {}
1012
-
1013
-
1014
- @ProxyCmp({
1015
- inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hasTooltip', 'hint', 'label', 'max', 'min', 'name', 'orientation', 'range', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'step', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
1016
- methods: ['setValue', 'getValue']
1017
- })
1018
- @Component({
1019
- selector: 'spw-input-slider',
1020
- changeDetection: ChangeDetectionStrategy.OnPush,
1021
- template: '<ng-content></ng-content>',
1022
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1023
- inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hasTooltip', 'hint', 'label', 'max', 'min', 'name', 'orientation', 'range', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'step', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
1024
- })
1025
- export class SpwInputSlider {
1026
- protected el: HTMLSpwInputSliderElement;
1027
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1028
- c.detach();
1029
- this.el = r.nativeElement;
1030
- proxyOutputs(this, this.el, ['valueChange']);
1031
- }
1032
- }
1033
-
1034
-
1035
- export declare interface SpwInputSlider extends Components.SpwInputSlider {
1036
- /**
1037
- * Événement émis lorsque la valeur change
1038
- */
1039
- valueChange: EventEmitter<CustomEvent<{ value: number | [number, number] }>>;
1040
- }
1041
-
1042
-
1043
- @ProxyCmp({
1044
- inputs: ['accAriaLabel', 'disabled', 'href', 'icon', 'iconPosition', 'rel', 'surface', 'target']
1045
- })
1046
- @Component({
1047
- selector: 'spw-link',
1048
- changeDetection: ChangeDetectionStrategy.OnPush,
1049
- template: '<ng-content></ng-content>',
1050
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1051
- inputs: ['accAriaLabel', 'disabled', 'href', 'icon', 'iconPosition', 'rel', 'surface', 'target'],
1052
- })
1053
- export class SpwLink {
1054
- protected el: HTMLSpwLinkElement;
1055
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1056
- c.detach();
1057
- this.el = r.nativeElement;
1058
- proxyOutputs(this, this.el, ['spwClick']);
1059
- }
1060
- }
1061
-
1062
-
1063
- export declare interface SpwLink extends Components.SpwLink {
1064
- /**
1065
- * Événement déclenché lors du clic sur le lien
1066
- */
1067
- spwClick: EventEmitter<CustomEvent<MouseEvent>>;
1068
- }
1069
-
1070
-
1071
- @ProxyCmp({
1072
- inputs: ['gap', 'surface']
1073
- })
1074
- @Component({
1075
- selector: 'spw-list',
1076
- changeDetection: ChangeDetectionStrategy.OnPush,
1077
- template: '<ng-content></ng-content>',
1078
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1079
- inputs: ['gap', 'surface'],
1080
- })
1081
- export class SpwList {
1082
- protected el: HTMLSpwListElement;
1083
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1084
- c.detach();
1085
- this.el = r.nativeElement;
1086
- }
1087
- }
1088
-
1089
-
1090
- export declare interface SpwList extends Components.SpwList {}
1091
-
1092
-
1093
- @ProxyCmp({
1094
- inputs: ['lineClamp']
1095
- })
1096
- @Component({
1097
- selector: 'spw-list-description',
1098
- changeDetection: ChangeDetectionStrategy.OnPush,
1099
- template: '<ng-content></ng-content>',
1100
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1101
- inputs: ['lineClamp'],
1102
- })
1103
- export class SpwListDescription {
1104
- protected el: HTMLSpwListDescriptionElement;
1105
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1106
- c.detach();
1107
- this.el = r.nativeElement;
1108
- }
1109
- }
1110
-
1111
-
1112
- export declare interface SpwListDescription extends Components.SpwListDescription {}
1113
-
1114
-
1115
- @ProxyCmp({
1116
- inputs: ['category', 'categoryIcon', 'categoryLink', 'href', 'icon', 'lineClamp', 'surface', 'target', 'variant']
1117
- })
1118
- @Component({
1119
- selector: 'spw-list-item',
1120
- changeDetection: ChangeDetectionStrategy.OnPush,
1121
- template: '<ng-content></ng-content>',
1122
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1123
- inputs: ['category', 'categoryIcon', 'categoryLink', 'href', 'icon', 'lineClamp', 'surface', 'target', 'variant'],
1124
- })
1125
- export class SpwListItem {
1126
- protected el: HTMLSpwListItemElement;
1127
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1128
- c.detach();
1129
- this.el = r.nativeElement;
1130
- }
1131
- }
1132
-
1133
-
1134
- export declare interface SpwListItem extends Components.SpwListItem {}
1135
-
1136
-
1137
- @ProxyCmp({
1138
- inputs: ['icon', 'lineClamp']
1139
- })
1140
- @Component({
1141
- selector: 'spw-list-title',
1142
- changeDetection: ChangeDetectionStrategy.OnPush,
1143
- template: '<ng-content></ng-content>',
1144
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1145
- inputs: ['icon', 'lineClamp'],
1146
- })
1147
- export class SpwListTitle {
1148
- protected el: HTMLSpwListTitleElement;
1149
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1150
- c.detach();
1151
- this.el = r.nativeElement;
1152
- }
1153
- }
1154
-
1155
-
1156
- export declare interface SpwListTitle extends Components.SpwListTitle {}
1157
-
1158
-
1159
- @ProxyCmp({
1160
- inputs: ['text']
1161
- })
1162
- @Component({
1163
- selector: 'spw-loading',
1164
- changeDetection: ChangeDetectionStrategy.OnPush,
1165
- template: '<ng-content></ng-content>',
1166
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1167
- inputs: ['text'],
1168
- })
1169
- export class SpwLoading {
1170
- protected el: HTMLSpwLoadingElement;
1171
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1172
- c.detach();
1173
- this.el = r.nativeElement;
1174
- }
1175
- }
1176
-
1177
-
1178
- export declare interface SpwLoading extends Components.SpwLoading {}
1179
-
1180
-
1181
- @ProxyCmp({
1182
- inputs: ['dismissableText', 'icon', 'isDismissable', 'messageId', 'messageTitle', 'variant'],
1183
- methods: ['showMessage', 'hideMessage']
1184
- })
1185
- @Component({
1186
- selector: 'spw-message',
1187
- changeDetection: ChangeDetectionStrategy.OnPush,
1188
- template: '<ng-content></ng-content>',
1189
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1190
- inputs: ['dismissableText', 'icon', 'isDismissable', 'messageId', 'messageTitle', 'variant'],
1191
- })
1192
- export class SpwMessage {
1193
- protected el: HTMLSpwMessageElement;
1194
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1195
- c.detach();
1196
- this.el = r.nativeElement;
1197
- proxyOutputs(this, this.el, ['spwDismiss']);
1198
- }
1199
- }
1200
-
1201
-
1202
- export declare interface SpwMessage extends Components.SpwMessage {
1203
- /**
1204
- * Événement émis lors du clic sur le bouton de fermeture
1205
- */
1206
- spwDismiss: EventEmitter<CustomEvent<{ messageId: string }>>;
1207
- }
1208
-
1209
-
1210
- @ProxyCmp({
1211
- inputs: ['alertIcon', 'caption', 'closeOnOverlayClick', 'opened', 'showCloseButton', 'size', 'stickyButtons'],
1212
- methods: ['closeModal', 'openModal']
1213
- })
1214
- @Component({
1215
- selector: 'spw-modal',
1216
- changeDetection: ChangeDetectionStrategy.OnPush,
1217
- template: '<ng-content></ng-content>',
1218
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1219
- inputs: ['alertIcon', 'caption', 'closeOnOverlayClick', 'opened', 'showCloseButton', 'size', 'stickyButtons'],
1220
- })
1221
- export class SpwModal {
1222
- protected el: HTMLSpwModalElement;
1223
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1224
- c.detach();
1225
- this.el = r.nativeElement;
1226
- proxyOutputs(this, this.el, ['spwModalOpen', 'spwModalClose']);
1227
- }
1228
- }
1229
-
1230
-
1231
- export declare interface SpwModal extends Components.SpwModal {
1232
- /**
1233
- * Événement déclenché lors de l'ouverture de la modal
1234
- */
1235
- spwModalOpen: EventEmitter<CustomEvent<any>>;
1236
- /**
1237
- * Événement déclenché lors de la fermeture de la modal
1238
- */
1239
- spwModalClose: EventEmitter<CustomEvent<any>>;
1240
- }
1241
-
1242
-
1243
- @ProxyCmp({
1244
- inputs: ['colsDesktop', 'colsMobile', 'colsTablet', 'isMasonry', 'items'],
1245
- methods: ['waitForImages', 'initializeMasonry']
1246
- })
1247
- @Component({
1248
- selector: 'spw-mosaic',
1249
- changeDetection: ChangeDetectionStrategy.OnPush,
1250
- template: '<ng-content></ng-content>',
1251
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1252
- inputs: ['colsDesktop', 'colsMobile', 'colsTablet', 'isMasonry', 'items'],
1253
- })
1254
- export class SpwMosaic {
1255
- protected el: HTMLSpwMosaicElement;
1256
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1257
- c.detach();
1258
- this.el = r.nativeElement;
1259
- }
1260
- }
1261
-
1262
-
1263
- export declare interface SpwMosaic extends Components.SpwMosaic {}
1264
-
1265
-
1266
- @ProxyCmp({
1267
- inputs: ['colSpanDesktop', 'colSpanMobile', 'colSpanTablet']
1268
- })
1269
- @Component({
1270
- selector: 'spw-mosaic-item',
1271
- changeDetection: ChangeDetectionStrategy.OnPush,
1272
- template: '<ng-content></ng-content>',
1273
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1274
- inputs: ['colSpanDesktop', 'colSpanMobile', 'colSpanTablet'],
1275
- })
1276
- export class SpwMosaicItem {
1277
- protected el: HTMLSpwMosaicItemElement;
1278
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1279
- c.detach();
1280
- this.el = r.nativeElement;
1281
- }
1282
- }
1283
-
1284
-
1285
- export declare interface SpwMosaicItem extends Components.SpwMosaicItem {}
1286
-
1287
-
1288
- @ProxyCmp({
1289
- inputs: ['currentPage', 'isDisabled', 'isDynamic', 'itemsPerPage', 'nextButtonText', 'previousButtonText', 'totalItems', 'variant'],
1290
- methods: ['setPage']
1291
- })
1292
- @Component({
1293
- selector: 'spw-pagination',
1294
- changeDetection: ChangeDetectionStrategy.OnPush,
1295
- template: '<ng-content></ng-content>',
1296
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1297
- inputs: ['currentPage', 'isDisabled', 'isDynamic', 'itemsPerPage', 'nextButtonText', 'previousButtonText', 'totalItems', 'variant'],
1298
- })
1299
- export class SpwPagination {
1300
- protected el: HTMLSpwPaginationElement;
1301
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1302
- c.detach();
1303
- this.el = r.nativeElement;
1304
- proxyOutputs(this, this.el, ['pageChanged']);
1305
- }
1306
- }
1307
-
1308
-
1309
- export declare interface SpwPagination extends Components.SpwPagination {
1310
- /**
1311
- * Événement émis lorsque la page est changée, renvoie le numéro de la nouvelle page
1312
- */
1313
- pageChanged: EventEmitter<CustomEvent<number>>;
1314
- }
1315
-
1316
-
1317
- @ProxyCmp({
1318
- inputs: ['accAriaLabel', 'checked', 'disabled', 'error', 'name', 'value'],
1319
- methods: ['setChecked']
1320
- })
1321
- @Component({
1322
- selector: 'spw-radio',
1323
- changeDetection: ChangeDetectionStrategy.OnPush,
1324
- template: '<ng-content></ng-content>',
1325
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1326
- inputs: ['accAriaLabel', 'checked', 'disabled', 'error', 'name', 'value'],
1327
- })
1328
- export class SpwRadio {
1329
- protected el: HTMLSpwRadioElement;
1330
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1331
- c.detach();
1332
- this.el = r.nativeElement;
1333
- proxyOutputs(this, this.el, ['spwChange']);
1334
- }
1335
- }
1336
-
1337
-
1338
- export declare interface SpwRadio extends Components.SpwRadio {
1339
- /**
1340
- * Événement déclenché lorsque l'état du bouton radio change (coché ou décoché)
1341
- */
1342
- spwChange: EventEmitter<CustomEvent<{ checked: boolean; value: string }>>;
1343
- }
1344
-
1345
-
1346
- @ProxyCmp({
1347
- inputs: ['assistiveText', 'disabled', 'hasSubmitButton', 'isRounded', 'items', 'label', 'loadingText', 'minCharacters', 'name', 'noResults', 'placeholder', 'required', 'size', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'viewAllResults', 'viewAllResultsLink'],
1348
- methods: ['resetInput', 'setValue', 'getValue']
1349
- })
1350
- @Component({
1351
- selector: 'spw-search-field',
1352
- changeDetection: ChangeDetectionStrategy.OnPush,
1353
- template: '<ng-content></ng-content>',
1354
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1355
- inputs: ['assistiveText', 'disabled', 'hasSubmitButton', 'isRounded', 'items', 'label', 'loadingText', 'minCharacters', 'name', 'noResults', 'placeholder', 'required', 'size', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'viewAllResults', 'viewAllResultsLink'],
1356
- })
1357
- export class SpwSearchField {
1358
- protected el: HTMLSpwSearchFieldElement;
1359
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1360
- c.detach();
1361
- this.el = r.nativeElement;
1362
- proxyOutputs(this, this.el, ['valueChanged', 'optionSelected']);
1363
- }
1364
- }
1365
-
1366
-
1367
- export declare interface SpwSearchField extends Components.SpwSearchField {
1368
- /**
1369
- * Événement émis lorsque la valeur du champ de recherche change
1370
- */
1371
- valueChanged: EventEmitter<CustomEvent<string>>;
1372
- /**
1373
- * Événement émis lorsqu'une option est sélectionnée dans le dropdown
1374
- */
1375
- optionSelected: EventEmitter<CustomEvent<{ url?: string; label: string; category?: string }>>;
1376
- }
1377
-
1378
-
1379
- @ProxyCmp({
1380
- inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hint', 'itemLabel', 'itemValue', 'items', 'label', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
1381
- methods: ['resetSelect', 'setValue', 'getValue']
1382
- })
1383
- @Component({
1384
- selector: 'spw-select',
1385
- changeDetection: ChangeDetectionStrategy.OnPush,
1386
- template: '<ng-content></ng-content>',
1387
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1388
- inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hint', 'itemLabel', 'itemValue', 'items', 'label', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
1389
- })
1390
- export class SpwSelect {
1391
- protected el: HTMLSpwSelectElement;
1392
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1393
- c.detach();
1394
- this.el = r.nativeElement;
1395
- proxyOutputs(this, this.el, ['valueChanged']);
1396
- }
1397
- }
1398
-
1399
-
1400
- export declare interface SpwSelect extends Components.SpwSelect {
1401
- /**
1402
- * Emet un event si la valeur change
1403
- */
1404
- valueChanged: EventEmitter<CustomEvent<string | number>>;
1405
- }
1406
-
1407
-
1408
- @ProxyCmp({
1409
- inputs: ['direction', 'height', 'surface', 'thickness', 'width']
1410
- })
1411
- @Component({
1412
- selector: 'spw-separator',
1413
- changeDetection: ChangeDetectionStrategy.OnPush,
1414
- template: '<ng-content></ng-content>',
1415
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1416
- inputs: ['direction', 'height', 'surface', 'thickness', 'width'],
1417
- })
1418
- export class SpwSeparator {
1419
- protected el: HTMLSpwSeparatorElement;
1420
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1421
- c.detach();
1422
- this.el = r.nativeElement;
1423
- }
1424
- }
1425
-
1426
-
1427
- export declare interface SpwSeparator extends Components.SpwSeparator {}
1428
-
1429
-
1430
- @ProxyCmp({
1431
- inputs: ['defaultExpanded']
1432
- })
1433
- @Component({
1434
- selector: 'spw-sidebar',
1435
- changeDetection: ChangeDetectionStrategy.OnPush,
1436
- template: '<ng-content></ng-content>',
1437
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1438
- inputs: ['defaultExpanded'],
1439
- })
1440
- export class SpwSidebar {
1441
- protected el: HTMLSpwSidebarElement;
1442
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1443
- c.detach();
1444
- this.el = r.nativeElement;
1445
- }
1446
- }
1447
-
1448
-
1449
- export declare interface SpwSidebar extends Components.SpwSidebar {}
1450
-
1451
-
1452
- @ProxyCmp({
1453
- inputs: ['open']
1454
- })
1455
- @Component({
1456
- selector: 'spw-sidebar-navigation-dropdown',
1457
- changeDetection: ChangeDetectionStrategy.OnPush,
1458
- template: '<ng-content></ng-content>',
1459
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1460
- inputs: ['open'],
1461
- })
1462
- export class SpwSidebarNavigationDropdown {
1463
- protected el: HTMLSpwSidebarNavigationDropdownElement;
1464
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1465
- c.detach();
1466
- this.el = r.nativeElement;
1467
- }
1468
- }
1469
-
1470
-
1471
- export declare interface SpwSidebarNavigationDropdown extends Components.SpwSidebarNavigationDropdown {}
1472
-
1473
-
1474
- @ProxyCmp({
1475
- inputs: ['active', 'bubble', 'disabled', 'href', 'icon', 'iconVariant', 'openOnClick', 'tooltipTitle']
1476
- })
1477
- @Component({
1478
- selector: 'spw-sidebar-navigation-item',
1479
- changeDetection: ChangeDetectionStrategy.OnPush,
1480
- template: '<ng-content></ng-content>',
1481
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1482
- inputs: ['active', 'bubble', 'disabled', 'href', 'icon', 'iconVariant', 'openOnClick', 'tooltipTitle'],
1483
- })
1484
- export class SpwSidebarNavigationItem {
1485
- protected el: HTMLSpwSidebarNavigationItemElement;
1486
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1487
- c.detach();
1488
- this.el = r.nativeElement;
1489
- }
1490
- }
1491
-
1492
-
1493
- export declare interface SpwSidebarNavigationItem extends Components.SpwSidebarNavigationItem {}
1494
-
1495
-
1496
- @ProxyCmp({
1497
- })
1498
- @Component({
1499
- selector: 'spw-sidebar-navigation-separator',
1500
- changeDetection: ChangeDetectionStrategy.OnPush,
1501
- template: '<ng-content></ng-content>',
1502
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1503
- inputs: [],
1504
- })
1505
- export class SpwSidebarNavigationSeparator {
1506
- protected el: HTMLSpwSidebarNavigationSeparatorElement;
1507
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1508
- c.detach();
1509
- this.el = r.nativeElement;
1510
- }
1511
- }
1512
-
1513
-
1514
- export declare interface SpwSidebarNavigationSeparator extends Components.SpwSidebarNavigationSeparator {}
1515
-
1516
-
1517
- @ProxyCmp({
1518
- inputs: ['blocks', 'variant']
1519
- })
1520
- @Component({
1521
- selector: 'spw-skeleton',
1522
- changeDetection: ChangeDetectionStrategy.OnPush,
1523
- template: '<ng-content></ng-content>',
1524
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1525
- inputs: ['blocks', 'variant'],
1526
- })
1527
- export class SpwSkeleton {
1528
- protected el: HTMLSpwSkeletonElement;
1529
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1530
- c.detach();
1531
- this.el = r.nativeElement;
1532
- }
1533
- }
1534
-
1535
-
1536
- export declare interface SpwSkeleton extends Components.SpwSkeleton {}
1537
-
1538
-
1539
- @ProxyCmp({
1540
- inputs: ['arrowsPosition', 'autoplayEnabled', 'autoplayInterval', 'autoplayText', 'nextSlideText', 'previousSlideText', 'showArrows', 'showAutoplayToggle', 'showDots']
1541
- })
1542
- @Component({
1543
- selector: 'spw-slider',
1544
- changeDetection: ChangeDetectionStrategy.OnPush,
1545
- template: '<ng-content></ng-content>',
1546
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1547
- inputs: ['arrowsPosition', 'autoplayEnabled', 'autoplayInterval', 'autoplayText', 'nextSlideText', 'previousSlideText', 'showArrows', 'showAutoplayToggle', 'showDots'],
1548
- })
1549
- export class SpwSlider {
1550
- protected el: HTMLSpwSliderElement;
1551
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1552
- c.detach();
1553
- this.el = r.nativeElement;
1554
- }
1555
- }
1556
-
1557
-
1558
- export declare interface SpwSlider extends Components.SpwSlider {}
1559
-
1560
-
1561
- @ProxyCmp({
1562
- })
1563
- @Component({
1564
- selector: 'spw-slider-item',
1565
- changeDetection: ChangeDetectionStrategy.OnPush,
1566
- template: '<ng-content></ng-content>',
1567
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1568
- inputs: [],
1569
- })
1570
- export class SpwSliderItem {
1571
- protected el: HTMLSpwSliderItemElement;
1572
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1573
- c.detach();
1574
- this.el = r.nativeElement;
1575
- }
1576
- }
1577
-
1578
-
1579
- export declare interface SpwSliderItem extends Components.SpwSliderItem {}
1580
-
1581
-
1582
- @ProxyCmp({
1583
- inputs: ['mainTitle']
1584
- })
1585
- @Component({
1586
- selector: 'spw-socials',
1587
- changeDetection: ChangeDetectionStrategy.OnPush,
1588
- template: '<ng-content></ng-content>',
1589
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1590
- inputs: ['mainTitle'],
1591
- })
1592
- export class SpwSocials {
1593
- protected el: HTMLSpwSocialsElement;
1594
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1595
- c.detach();
1596
- this.el = r.nativeElement;
1597
- }
1598
- }
1599
-
1600
-
1601
- export declare interface SpwSocials extends Components.SpwSocials {}
1602
-
1603
-
1604
- @ProxyCmp({
1605
- inputs: ['accAriaLabel', 'currentSort', 'disableSort', 'isSticky', 'isZebra', 'maxHeight', 'minHeight', 'minWidth', 'resizable', 'tableLayout']
1606
- })
1607
- @Component({
1608
- selector: 'spw-table',
1609
- changeDetection: ChangeDetectionStrategy.OnPush,
1610
- template: '<ng-content></ng-content>',
1611
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1612
- inputs: ['accAriaLabel', 'currentSort', 'disableSort', 'isSticky', 'isZebra', 'maxHeight', 'minHeight', 'minWidth', 'resizable', 'tableLayout'],
1613
- })
1614
- export class SpwTable {
1615
- protected el: HTMLSpwTableElement;
1616
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1617
- c.detach();
1618
- this.el = r.nativeElement;
1619
- proxyOutputs(this, this.el, ['spwSort', 'spwResize']);
1620
- }
1621
- }
1622
-
1623
-
1624
- import type { SortEvent as ISpwTableSortEvent } from '@spw-ds/spw-stencil-library';
1625
-
1626
- export declare interface SpwTable extends Components.SpwTable {
1627
-
1628
- spwSort: EventEmitter<CustomEvent<ISpwTableSortEvent>>;
1629
- /**
1630
- * Événement émis lorsque la hauteur du tableau est redimensionnée
1631
- */
1632
- spwResize: EventEmitter<CustomEvent<{ height: number }>>;
1633
- }
1634
-
1635
-
1636
- @ProxyCmp({
1637
- inputs: ['isZebra'],
1638
- methods: ['updateZebraStyles']
1639
- })
1640
- @Component({
1641
- selector: 'spw-table-body',
1642
- changeDetection: ChangeDetectionStrategy.OnPush,
1643
- template: '<ng-content></ng-content>',
1644
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1645
- inputs: ['isZebra'],
1646
- })
1647
- export class SpwTableBody {
1648
- protected el: HTMLSpwTableBodyElement;
1649
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1650
- c.detach();
1651
- this.el = r.nativeElement;
1652
- }
1653
- }
1654
-
1655
-
1656
- export declare interface SpwTableBody extends Components.SpwTableBody {}
1657
-
1658
-
1659
- @ProxyCmp({
1660
- inputs: ['colspan', 'headers', 'isHighlighted', 'padding', 'rowspan', 'state', 'sticky', 'stickyOffset', 'stickyPosition', 'textAlign', 'verticalAlign', 'width']
1661
- })
1662
- @Component({
1663
- selector: 'spw-table-cell',
1664
- changeDetection: ChangeDetectionStrategy.OnPush,
1665
- template: '<ng-content></ng-content>',
1666
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1667
- inputs: ['colspan', 'headers', 'isHighlighted', 'padding', 'rowspan', 'state', 'sticky', 'stickyOffset', 'stickyPosition', 'textAlign', 'verticalAlign', 'width'],
1668
- })
1669
- export class SpwTableCell {
1670
- protected el: HTMLSpwTableCellElement;
1671
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1672
- c.detach();
1673
- this.el = r.nativeElement;
1674
- }
1675
- }
1676
-
1677
-
1678
- export declare interface SpwTableCell extends Components.SpwTableCell {}
1679
-
1680
-
1681
- @ProxyCmp({
1682
- })
1683
- @Component({
1684
- selector: 'spw-table-container',
1685
- changeDetection: ChangeDetectionStrategy.OnPush,
1686
- template: '<ng-content></ng-content>',
1687
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1688
- inputs: [],
1689
- })
1690
- export class SpwTableContainer {
1691
- protected el: HTMLSpwTableContainerElement;
1692
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1693
- c.detach();
1694
- this.el = r.nativeElement;
1695
- }
1696
- }
1697
-
1698
-
1699
- export declare interface SpwTableContainer extends Components.SpwTableContainer {}
1700
-
1701
-
1702
- @ProxyCmp({
1703
- })
1704
- @Component({
1705
- selector: 'spw-table-footer',
1706
- changeDetection: ChangeDetectionStrategy.OnPush,
1707
- template: '<ng-content></ng-content>',
1708
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1709
- inputs: [],
1710
- })
1711
- export class SpwTableFooter {
1712
- protected el: HTMLSpwTableFooterElement;
1713
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1714
- c.detach();
1715
- this.el = r.nativeElement;
1716
- }
1717
- }
1718
-
1719
-
1720
- export declare interface SpwTableFooter extends Components.SpwTableFooter {}
1721
-
1722
-
1723
- @ProxyCmp({
1724
- })
1725
- @Component({
1726
- selector: 'spw-table-head',
1727
- changeDetection: ChangeDetectionStrategy.OnPush,
1728
- template: '<ng-content></ng-content>',
1729
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1730
- inputs: [],
1731
- })
1732
- export class SpwTableHead {
1733
- protected el: HTMLSpwTableHeadElement;
1734
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1735
- c.detach();
1736
- this.el = r.nativeElement;
1737
- }
1738
- }
1739
-
1740
-
1741
- export declare interface SpwTableHead extends Components.SpwTableHead {}
1742
-
1743
-
1744
- @ProxyCmp({
1745
- inputs: ['colspan', 'columnId', 'headers', 'isHighlighted', 'isSorted', 'padding', 'rowspan', 'sortDirection', 'sortable', 'sticky', 'stickyOffset', 'stickyPosition', 'textAlign', 'tooltipText', 'tooltipTitle', 'verticalAlign']
1746
- })
1747
- @Component({
1748
- selector: 'spw-table-header',
1749
- changeDetection: ChangeDetectionStrategy.OnPush,
1750
- template: '<ng-content></ng-content>',
1751
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1752
- inputs: ['colspan', 'columnId', 'headers', 'isHighlighted', 'isSorted', 'padding', 'rowspan', 'sortDirection', 'sortable', 'sticky', 'stickyOffset', 'stickyPosition', 'textAlign', 'tooltipText', 'tooltipTitle', 'verticalAlign'],
1753
- })
1754
- export class SpwTableHeader {
1755
- protected el: HTMLSpwTableHeaderElement;
1756
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1757
- c.detach();
1758
- this.el = r.nativeElement;
1759
- proxyOutputs(this, this.el, ['spwHeaderClick']);
1760
- }
1761
- }
1762
-
1763
-
1764
- export declare interface SpwTableHeader extends Components.SpwTableHeader {
1765
-
1766
- spwHeaderClick: EventEmitter<CustomEvent<string>>;
1767
- }
1768
-
1769
-
1770
- @ProxyCmp({
1771
- inputs: ['padding', 'state']
1772
- })
1773
- @Component({
1774
- selector: 'spw-table-row',
1775
- changeDetection: ChangeDetectionStrategy.OnPush,
1776
- template: '<ng-content></ng-content>',
1777
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1778
- inputs: ['padding', 'state'],
1779
- })
1780
- export class SpwTableRow {
1781
- protected el: HTMLSpwTableRowElement;
1782
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1783
- c.detach();
1784
- this.el = r.nativeElement;
1785
- }
1786
- }
1787
-
1788
-
1789
- export declare interface SpwTableRow extends Components.SpwTableRow {}
1790
-
1791
-
1792
- @ProxyCmp({
1793
- inputs: ['defaultExpanded', 'hasReset', 'resetIcon', 'sidebarIcon', 'sidebarTitle', 'sidebarWidth']
1794
- })
1795
- @Component({
1796
- selector: 'spw-table-sidebar',
1797
- changeDetection: ChangeDetectionStrategy.OnPush,
1798
- template: '<ng-content></ng-content>',
1799
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1800
- inputs: ['defaultExpanded', 'hasReset', 'resetIcon', 'sidebarIcon', 'sidebarTitle', 'sidebarWidth'],
1801
- })
1802
- export class SpwTableSidebar {
1803
- protected el: HTMLSpwTableSidebarElement;
1804
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1805
- c.detach();
1806
- this.el = r.nativeElement;
1807
- proxyOutputs(this, this.el, ['sidebarReset']);
1808
- }
1809
- }
1810
-
1811
-
1812
- export declare interface SpwTableSidebar extends Components.SpwTableSidebar {
1813
- /**
1814
- * Événement émis lorsque l'icône de reset est cliquée
1815
- */
1816
- sidebarReset: EventEmitter<CustomEvent<void>>;
1817
- }
1818
-
1819
-
1820
- @ProxyCmp({
1821
- inputs: ['defaultActiveTab', 'hasEllipsis', 'maxWidth', 'size', 'variant'],
1822
- methods: ['getSelectedTab', 'setSelectedTab']
1823
- })
1824
- @Component({
1825
- selector: 'spw-tabs',
1826
- changeDetection: ChangeDetectionStrategy.OnPush,
1827
- template: '<ng-content></ng-content>',
1828
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1829
- inputs: ['defaultActiveTab', 'hasEllipsis', 'maxWidth', 'size', 'variant'],
1830
- })
1831
- export class SpwTabs {
1832
- protected el: HTMLSpwTabsElement;
1833
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1834
- c.detach();
1835
- this.el = r.nativeElement;
1836
- proxyOutputs(this, this.el, ['tabChanged']);
1837
- }
1838
- }
1839
-
1840
-
1841
- export declare interface SpwTabs extends Components.SpwTabs {
1842
- /**
1843
- * Événement émis lorsque l'onglet actif change
1844
- */
1845
- tabChanged: EventEmitter<CustomEvent<string>>;
1846
- }
1847
-
1848
-
1849
- @ProxyCmp({
1850
- inputs: ['active', 'tabId']
1851
- })
1852
- @Component({
1853
- selector: 'spw-tabs-content',
1854
- changeDetection: ChangeDetectionStrategy.OnPush,
1855
- template: '<ng-content></ng-content>',
1856
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1857
- inputs: ['active', 'tabId'],
1858
- })
1859
- export class SpwTabsContent {
1860
- protected el: HTMLSpwTabsContentElement;
1861
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1862
- c.detach();
1863
- this.el = r.nativeElement;
1864
- }
1865
- }
1866
-
1867
-
1868
- export declare interface SpwTabsContent extends Components.SpwTabsContent {}
1869
-
1870
-
1871
- @ProxyCmp({
1872
- inputs: ['accAriaLabel']
1873
- })
1874
- @Component({
1875
- selector: 'spw-tabs-navigation',
1876
- changeDetection: ChangeDetectionStrategy.OnPush,
1877
- template: '<ng-content></ng-content>',
1878
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1879
- inputs: ['accAriaLabel'],
1880
- })
1881
- export class SpwTabsNavigation {
1882
- protected el: HTMLSpwTabsNavigationElement;
1883
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1884
- c.detach();
1885
- this.el = r.nativeElement;
1886
- }
1887
- }
1888
-
1889
-
1890
- export declare interface SpwTabsNavigation extends Components.SpwTabsNavigation {}
1891
-
1892
-
1893
- @ProxyCmp({
1894
- inputs: ['active', 'bubble', 'disabled', 'hasEllipsis', 'icon', 'iconPosition', 'tabId']
1895
- })
1896
- @Component({
1897
- selector: 'spw-tabs-navigation-item',
1898
- changeDetection: ChangeDetectionStrategy.OnPush,
1899
- template: '<ng-content></ng-content>',
1900
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1901
- inputs: ['active', 'bubble', 'disabled', 'hasEllipsis', 'icon', 'iconPosition', 'tabId'],
1902
- })
1903
- export class SpwTabsNavigationItem {
1904
- protected el: HTMLSpwTabsNavigationItemElement;
1905
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1906
- c.detach();
1907
- this.el = r.nativeElement;
1908
- proxyOutputs(this, this.el, ['tabSelected']);
1909
- }
1910
- }
1911
-
1912
-
1913
- export declare interface SpwTabsNavigationItem extends Components.SpwTabsNavigationItem {
1914
-
1915
- tabSelected: EventEmitter<CustomEvent<string>>;
1916
- }
1917
-
1918
-
1919
- @ProxyCmp({
1920
- inputs: ['hasIcon', 'href', 'size', 'surface', 'target', 'variant']
1921
- })
1922
- @Component({
1923
- selector: 'spw-tag',
1924
- changeDetection: ChangeDetectionStrategy.OnPush,
1925
- template: '<ng-content></ng-content>',
1926
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1927
- inputs: ['hasIcon', 'href', 'size', 'surface', 'target', 'variant'],
1928
- })
1929
- export class SpwTag {
1930
- protected el: HTMLSpwTagElement;
1931
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1932
- c.detach();
1933
- this.el = r.nativeElement;
1934
- }
1935
- }
1936
-
1937
-
1938
- export declare interface SpwTag extends Components.SpwTag {}
1939
-
1940
-
1941
- @ProxyCmp({
1942
- inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hint', 'indicator', 'isClear', 'isSearch', 'label', 'mask', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'step', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type', 'value', 'warning'],
1943
- methods: ['setValue']
1944
- })
1945
- @Component({
1946
- selector: 'spw-text-field',
1947
- changeDetection: ChangeDetectionStrategy.OnPush,
1948
- template: '<ng-content></ng-content>',
1949
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1950
- inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hint', 'indicator', 'isClear', 'isSearch', 'label', 'mask', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'step', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type', 'value', 'warning'],
1951
- })
1952
- export class SpwTextField {
1953
- protected el: HTMLSpwTextFieldElement;
1954
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1955
- c.detach();
1956
- this.el = r.nativeElement;
1957
- proxyOutputs(this, this.el, ['valueChanged']);
1958
- }
1959
- }
1960
-
1961
-
1962
- export declare interface SpwTextField extends Components.SpwTextField {
1963
- /**
1964
- * Événement émis lorsque la valeur de l'input change
1965
- */
1966
- valueChanged: EventEmitter<CustomEvent<string | number>>;
1967
- }
1968
-
1969
-
1970
- @ProxyCmp({
1971
- inputs: ['assistiveText', 'disabled', 'error', 'hint', 'indicator', 'isSearch', 'label', 'maxLength', 'minLength', 'name', 'placeholder', 'required', 'rows', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning']
1972
- })
1973
- @Component({
1974
- selector: 'spw-textarea',
1975
- changeDetection: ChangeDetectionStrategy.OnPush,
1976
- template: '<ng-content></ng-content>',
1977
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1978
- inputs: ['assistiveText', 'disabled', 'error', 'hint', 'indicator', 'isSearch', 'label', 'maxLength', 'minLength', 'name', 'placeholder', 'required', 'rows', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
1979
- })
1980
- export class SpwTextarea {
1981
- protected el: HTMLSpwTextareaElement;
1982
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1983
- c.detach();
1984
- this.el = r.nativeElement;
1985
- proxyOutputs(this, this.el, ['valueChanged']);
1986
- }
1987
- }
1988
-
1989
-
1990
- export declare interface SpwTextarea extends Components.SpwTextarea {
1991
- /**
1992
- * Événement émis lorsque la valeur du champ textarea change
1993
- */
1994
- valueChanged: EventEmitter<CustomEvent<string>>;
1995
- }
1996
-
1997
-
1998
- @ProxyCmp({
1999
- inputs: ['theme']
2000
- })
2001
- @Component({
2002
- selector: 'spw-theme-provider',
2003
- changeDetection: ChangeDetectionStrategy.OnPush,
2004
- template: '<ng-content></ng-content>',
2005
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2006
- inputs: ['theme'],
2007
- })
2008
- export class SpwThemeProvider {
2009
- protected el: HTMLSpwThemeProviderElement;
2010
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2011
- c.detach();
2012
- this.el = r.nativeElement;
2013
- }
2014
- }
2015
-
2016
-
2017
- export declare interface SpwThemeProvider extends Components.SpwThemeProvider {}
2018
-
2019
-
2020
- @ProxyCmp({
2021
- inputs: ['height', 'href', 'imageAlt', 'imageSrc', 'overlayOpacity', 'target', 'variant']
2022
- })
2023
- @Component({
2024
- selector: 'spw-tile',
2025
- changeDetection: ChangeDetectionStrategy.OnPush,
2026
- template: '<ng-content></ng-content>',
2027
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2028
- inputs: ['height', 'href', 'imageAlt', 'imageSrc', 'overlayOpacity', 'target', 'variant'],
2029
- })
2030
- export class SpwTile {
2031
- protected el: HTMLSpwTileElement;
2032
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2033
- c.detach();
2034
- this.el = r.nativeElement;
2035
- }
2036
- }
2037
-
2038
-
2039
- export declare interface SpwTile extends Components.SpwTile {}
2040
-
2041
-
2042
- @ProxyCmp({
2043
- })
2044
- @Component({
2045
- selector: 'spw-tile-description',
2046
- changeDetection: ChangeDetectionStrategy.OnPush,
2047
- template: '<ng-content></ng-content>',
2048
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2049
- inputs: [],
2050
- })
2051
- export class SpwTileDescription {
2052
- protected el: HTMLSpwTileDescriptionElement;
2053
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2054
- c.detach();
2055
- this.el = r.nativeElement;
2056
- }
2057
- }
2058
-
2059
-
2060
- export declare interface SpwTileDescription extends Components.SpwTileDescription {}
2061
-
2062
-
2063
- @ProxyCmp({
2064
- })
2065
- @Component({
2066
- selector: 'spw-tile-title',
2067
- changeDetection: ChangeDetectionStrategy.OnPush,
2068
- template: '<ng-content></ng-content>',
2069
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2070
- inputs: [],
2071
- })
2072
- export class SpwTileTitle {
2073
- protected el: HTMLSpwTileTitleElement;
2074
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2075
- c.detach();
2076
- this.el = r.nativeElement;
2077
- }
2078
- }
2079
-
2080
-
2081
- export declare interface SpwTileTitle extends Components.SpwTileTitle {}
2082
-
2083
-
2084
- @ProxyCmp({
2085
- inputs: ['showMoreText', 'visibleItems']
2086
- })
2087
- @Component({
2088
- selector: 'spw-timeline',
2089
- changeDetection: ChangeDetectionStrategy.OnPush,
2090
- template: '<ng-content></ng-content>',
2091
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2092
- inputs: ['showMoreText', 'visibleItems'],
2093
- })
2094
- export class SpwTimeline {
2095
- protected el: HTMLSpwTimelineElement;
2096
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2097
- c.detach();
2098
- this.el = r.nativeElement;
2099
- }
2100
- }
2101
-
2102
-
2103
- export declare interface SpwTimeline extends Components.SpwTimeline {}
2104
-
2105
-
2106
- @ProxyCmp({
2107
- inputs: ['accAriaLabel', 'description', 'href', 'isLast', 'label', 'state', 'target', 'variant']
2108
- })
2109
- @Component({
2110
- selector: 'spw-timeline-item',
2111
- changeDetection: ChangeDetectionStrategy.OnPush,
2112
- template: '<ng-content></ng-content>',
2113
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2114
- inputs: ['accAriaLabel', 'description', 'href', 'isLast', 'label', 'state', 'target', 'variant'],
2115
- })
2116
- export class SpwTimelineItem {
2117
- protected el: HTMLSpwTimelineItemElement;
2118
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2119
- c.detach();
2120
- this.el = r.nativeElement;
2121
- }
2122
- }
2123
-
2124
-
2125
- export declare interface SpwTimelineItem extends Components.SpwTimelineItem {}
2126
-
2127
-
2128
- @ProxyCmp({
2129
- })
2130
- @Component({
2131
- selector: 'spw-toc',
2132
- changeDetection: ChangeDetectionStrategy.OnPush,
2133
- template: '<ng-content></ng-content>',
2134
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2135
- inputs: [],
2136
- })
2137
- export class SpwToc {
2138
- protected el: HTMLSpwTocElement;
2139
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2140
- c.detach();
2141
- this.el = r.nativeElement;
2142
- }
2143
- }
2144
-
2145
-
2146
- export declare interface SpwToc extends Components.SpwToc {}
2147
-
2148
-
2149
- @ProxyCmp({
2150
- methods: ['getItems']
2151
- })
2152
- @Component({
2153
- selector: 'spw-toc-container',
2154
- changeDetection: ChangeDetectionStrategy.OnPush,
2155
- template: '<ng-content></ng-content>',
2156
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2157
- inputs: [],
2158
- })
2159
- export class SpwTocContainer {
2160
- protected el: HTMLSpwTocContainerElement;
2161
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2162
- c.detach();
2163
- this.el = r.nativeElement;
2164
- proxyOutputs(this, this.el, ['tocItemsChanged']);
2165
- }
2166
- }
2167
-
2168
-
2169
- import type { TocItem as ISpwTocContainerTocItem } from '@spw-ds/spw-stencil-library';
2170
-
2171
- export declare interface SpwTocContainer extends Components.SpwTocContainer {
2172
-
2173
- tocItemsChanged: EventEmitter<CustomEvent<ISpwTocContainerTocItem[]>>;
2174
- }
2175
-
2176
-
2177
- @ProxyCmp({
2178
- })
2179
- @Component({
2180
- selector: 'spw-toc-navigation',
2181
- changeDetection: ChangeDetectionStrategy.OnPush,
2182
- template: '<ng-content></ng-content>',
2183
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2184
- inputs: [],
2185
- })
2186
- export class SpwTocNavigation {
2187
- protected el: HTMLSpwTocNavigationElement;
2188
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2189
- c.detach();
2190
- this.el = r.nativeElement;
2191
- }
2192
- }
2193
-
2194
-
2195
- export declare interface SpwTocNavigation extends Components.SpwTocNavigation {}
2196
-
2197
-
2198
- @ProxyCmp({
2199
- inputs: ['cursor', 'direction', 'maxWidth', 'tooltipText', 'tooltipTitle', 'visible']
2200
- })
2201
- @Component({
2202
- selector: 'spw-tooltip',
2203
- changeDetection: ChangeDetectionStrategy.OnPush,
2204
- template: '<ng-content></ng-content>',
2205
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2206
- inputs: ['cursor', 'direction', 'maxWidth', 'tooltipText', 'tooltipTitle', 'visible'],
2207
- })
2208
- export class SpwTooltip {
2209
- protected el: HTMLSpwTooltipElement;
2210
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2211
- c.detach();
2212
- this.el = r.nativeElement;
2213
- }
2214
- }
2215
-
2216
-
2217
- export declare interface SpwTooltip extends Components.SpwTooltip {}
2218
-
2219
-
2220
- @ProxyCmp({
2221
- })
2222
- @Component({
2223
- selector: 'spw-topbar',
2224
- changeDetection: ChangeDetectionStrategy.OnPush,
2225
- template: '<ng-content></ng-content>',
2226
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2227
- inputs: [],
2228
- })
2229
- export class SpwTopbar {
2230
- protected el: HTMLSpwTopbarElement;
2231
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2232
- c.detach();
2233
- this.el = r.nativeElement;
2234
- }
2235
- }
2236
-
2237
-
2238
- export declare interface SpwTopbar extends Components.SpwTopbar {}
2239
-
2240
-
2241
- @ProxyCmp({
2242
- inputs: ['currentStep', 'variant'],
2243
- methods: ['setStep']
2244
- })
2245
- @Component({
2246
- selector: 'spw-wizard',
2247
- changeDetection: ChangeDetectionStrategy.OnPush,
2248
- template: '<ng-content></ng-content>',
2249
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2250
- inputs: ['currentStep', 'variant'],
2251
- })
2252
- export class SpwWizard {
2253
- protected el: HTMLSpwWizardElement;
2254
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2255
- c.detach();
2256
- this.el = r.nativeElement;
2257
- proxyOutputs(this, this.el, ['stepClick']);
2258
- }
2259
- }
2260
-
2261
-
2262
- export declare interface SpwWizard extends Components.SpwWizard {
2263
- /**
2264
- * Événement émis lors du clic sur une étape antérieure
2265
- */
2266
- stepClick: EventEmitter<CustomEvent<number>>;
2267
- }
2268
-
2269
-
2270
- @ProxyCmp({
2271
- inputs: ['additionalInfo', 'description', 'icon', 'isAfterCurrent', 'isBeforeCurrent', 'isClickable', 'isCurrent', 'isLast', 'label', 'state', 'status', 'stepNumber', 'variant']
2272
- })
2273
- @Component({
2274
- selector: 'spw-wizard-item',
2275
- changeDetection: ChangeDetectionStrategy.OnPush,
2276
- template: '<ng-content></ng-content>',
2277
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2278
- inputs: ['additionalInfo', 'description', 'icon', 'isAfterCurrent', 'isBeforeCurrent', 'isClickable', 'isCurrent', 'isLast', 'label', 'state', 'status', 'stepNumber', 'variant'],
2279
- })
2280
- export class SpwWizardItem {
2281
- protected el: HTMLSpwWizardItemElement;
2282
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2283
- c.detach();
2284
- this.el = r.nativeElement;
2285
- proxyOutputs(this, this.el, ['wizardItemClick']);
2286
- }
2287
- }
2288
-
2289
-
2290
- export declare interface SpwWizardItem extends Components.SpwWizardItem {
2291
- /**
2292
- * Événement émis lors du clic sur l'item
2293
- */
2294
- wizardItemClick: EventEmitter<CustomEvent<number>>;
2295
- }
2296
-
2297
-