@scania/tegel-angular-17 1.21.0 → 1.21.1

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 (40) hide show
  1. package/esm2022/lib/components.module.mjs +58 -0
  2. package/esm2022/lib/directives/tds-dropdown-value-accessor.mjs +36 -0
  3. package/esm2022/lib/directives/tds-radio-value-accessor.mjs +41 -0
  4. package/esm2022/lib/stencil-generated/angular-component-lib/utils.mjs +59 -0
  5. package/esm2022/lib/stencil-generated/boolean-value-accessor.mjs +39 -0
  6. package/esm2022/lib/stencil-generated/components.mjs +2063 -0
  7. package/esm2022/lib/stencil-generated/index.mjs +86 -0
  8. package/esm2022/lib/stencil-generated/number-value-accessor.mjs +40 -0
  9. package/esm2022/lib/stencil-generated/text-value-accessor.mjs +35 -0
  10. package/esm2022/lib/stencil-generated/value-accessor.mjs +40 -0
  11. package/esm2022/public-api.mjs +12 -0
  12. package/esm2022/scania-tegel-angular-17.mjs +5 -0
  13. package/fesm2022/scania-tegel-angular-17.mjs +2392 -0
  14. package/fesm2022/scania-tegel-angular-17.mjs.map +1 -0
  15. package/index.d.ts +5 -0
  16. package/lib/components.module.d.ts +12 -0
  17. package/{src/lib/directives/tds-dropdown-value-accessor.ts → lib/directives/tds-dropdown-value-accessor.d.ts} +5 -18
  18. package/lib/directives/tds-radio-value-accessor.d.ts +13 -0
  19. package/lib/stencil-generated/angular-component-lib/utils.d.ts +9 -0
  20. package/lib/stencil-generated/boolean-value-accessor.d.ts +9 -0
  21. package/lib/stencil-generated/components.d.ts +1002 -0
  22. package/lib/stencil-generated/index.d.ts +2 -0
  23. package/lib/stencil-generated/number-value-accessor.d.ts +9 -0
  24. package/lib/stencil-generated/text-value-accessor.d.ts +8 -0
  25. package/lib/stencil-generated/value-accessor.d.ts +18 -0
  26. package/package.json +17 -4
  27. package/{src/public-api.ts → public-api.d.ts} +0 -4
  28. package/ng-package.json +0 -7
  29. package/src/lib/components.module.ts +0 -35
  30. package/src/lib/directives/tds-radio-value-accessor.ts +0 -29
  31. package/src/lib/stencil-generated/angular-component-lib/utils.ts +0 -65
  32. package/src/lib/stencil-generated/boolean-value-accessor.ts +0 -28
  33. package/src/lib/stencil-generated/components.ts +0 -2059
  34. package/src/lib/stencil-generated/index.ts +0 -87
  35. package/src/lib/stencil-generated/number-value-accessor.ts +0 -29
  36. package/src/lib/stencil-generated/text-value-accessor.ts +0 -24
  37. package/src/lib/stencil-generated/value-accessor.ts +0 -39
  38. package/tsconfig.lib.json +0 -14
  39. package/tsconfig.lib.prod.json +0 -10
  40. package/tsconfig.spec.json +0 -14
@@ -1,2059 +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 '@scania/tegel';
8
-
9
-
10
- @ProxyCmp({
11
- inputs: ['hideLastBorder', 'modeVariant']
12
- })
13
- @Component({
14
- selector: 'tds-accordion',
15
- changeDetection: ChangeDetectionStrategy.OnPush,
16
- template: '<ng-content></ng-content>',
17
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
18
- inputs: ['hideLastBorder', 'modeVariant'],
19
- })
20
- export class TdsAccordion {
21
- protected el: HTMLElement;
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 TdsAccordion extends Components.TdsAccordion {}
30
-
31
-
32
- @ProxyCmp({
33
- inputs: ['disabled', 'expandIconPosition', 'expanded', 'header', 'paddingReset'],
34
- methods: ['toggleAccordionItem']
35
- })
36
- @Component({
37
- selector: 'tds-accordion-item',
38
- changeDetection: ChangeDetectionStrategy.OnPush,
39
- template: '<ng-content></ng-content>',
40
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
41
- inputs: ['disabled', 'expandIconPosition', 'expanded', 'header', 'paddingReset'],
42
- })
43
- export class TdsAccordionItem {
44
- protected el: HTMLElement;
45
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
46
- c.detach();
47
- this.el = r.nativeElement;
48
- proxyOutputs(this, this.el, ['tdsToggle']);
49
- }
50
- }
51
-
52
-
53
- export declare interface TdsAccordionItem extends Components.TdsAccordionItem {
54
- /**
55
- * Fires when the Accordion Item is clicked, but before it is closed or opened.
56
- */
57
- tdsToggle: EventEmitter<CustomEvent<{ expanded: boolean; }>>;
58
- }
59
-
60
-
61
- @ProxyCmp({
62
- inputs: ['hidden', 'size', 'value']
63
- })
64
- @Component({
65
- selector: 'tds-badge',
66
- changeDetection: ChangeDetectionStrategy.OnPush,
67
- template: '<ng-content></ng-content>',
68
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
69
- inputs: ['hidden', 'size', 'value'],
70
- })
71
- export class TdsBadge {
72
- protected el: HTMLElement;
73
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
74
- c.detach();
75
- this.el = r.nativeElement;
76
- }
77
- }
78
-
79
-
80
- export declare interface TdsBadge extends Components.TdsBadge {}
81
-
82
-
83
- @ProxyCmp({
84
- inputs: ['bannerId', 'header', 'hidden', 'icon', 'subheader', 'variant'],
85
- methods: ['hideBanner', 'showBanner']
86
- })
87
- @Component({
88
- selector: 'tds-banner',
89
- changeDetection: ChangeDetectionStrategy.OnPush,
90
- template: '<ng-content></ng-content>',
91
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
92
- inputs: ['bannerId', 'header', 'hidden', 'icon', 'subheader', 'variant'],
93
- })
94
- export class TdsBanner {
95
- protected el: HTMLElement;
96
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
97
- c.detach();
98
- this.el = r.nativeElement;
99
- proxyOutputs(this, this.el, ['tdsClose']);
100
- }
101
- }
102
-
103
-
104
- export declare interface TdsBanner extends Components.TdsBanner {
105
- /**
106
- * Sends a unique Banner identifier when the close button is pressed.
107
- */
108
- tdsClose: EventEmitter<CustomEvent<{ bannerId: string; }>>;
109
- }
110
-
111
-
112
- @ProxyCmp({
113
- inputs: ['modeVariant']
114
- })
115
- @Component({
116
- selector: 'tds-block',
117
- changeDetection: ChangeDetectionStrategy.OnPush,
118
- template: '<ng-content></ng-content>',
119
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
120
- inputs: ['modeVariant'],
121
- })
122
- export class TdsBlock {
123
- protected el: HTMLElement;
124
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
125
- c.detach();
126
- this.el = r.nativeElement;
127
- }
128
- }
129
-
130
-
131
- export declare interface TdsBlock extends Components.TdsBlock {}
132
-
133
-
134
- @ProxyCmp({
135
- inputs: ['cellKey', 'cellValue', 'disablePadding', 'textAlign']
136
- })
137
- @Component({
138
- selector: 'tds-body-cell',
139
- changeDetection: ChangeDetectionStrategy.OnPush,
140
- template: '<ng-content></ng-content>',
141
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
142
- inputs: ['cellKey', 'cellValue', 'disablePadding', 'textAlign'],
143
- })
144
- export class TdsBodyCell {
145
- protected el: HTMLElement;
146
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
147
- c.detach();
148
- this.el = r.nativeElement;
149
- }
150
- }
151
-
152
-
153
- export declare interface TdsBodyCell extends Components.TdsBodyCell {}
154
-
155
-
156
- @ProxyCmp({
157
- inputs: ['current']
158
- })
159
- @Component({
160
- selector: 'tds-breadcrumb',
161
- changeDetection: ChangeDetectionStrategy.OnPush,
162
- template: '<ng-content></ng-content>',
163
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
164
- inputs: ['current'],
165
- })
166
- export class TdsBreadcrumb {
167
- protected el: HTMLElement;
168
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
169
- c.detach();
170
- this.el = r.nativeElement;
171
- }
172
- }
173
-
174
-
175
- export declare interface TdsBreadcrumb extends Components.TdsBreadcrumb {}
176
-
177
-
178
- @ProxyCmp({
179
- })
180
- @Component({
181
- selector: 'tds-breadcrumbs',
182
- changeDetection: ChangeDetectionStrategy.OnPush,
183
- template: '<ng-content></ng-content>',
184
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
185
- inputs: [],
186
- })
187
- export class TdsBreadcrumbs {
188
- protected el: HTMLElement;
189
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
190
- c.detach();
191
- this.el = r.nativeElement;
192
- }
193
- }
194
-
195
-
196
- export declare interface TdsBreadcrumbs extends Components.TdsBreadcrumbs {}
197
-
198
-
199
- @ProxyCmp({
200
- inputs: ['disabled', 'fullbleed', 'modeVariant', 'size', 'text', 'type', 'variant']
201
- })
202
- @Component({
203
- selector: 'tds-button',
204
- changeDetection: ChangeDetectionStrategy.OnPush,
205
- template: '<ng-content></ng-content>',
206
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
207
- inputs: ['disabled', 'fullbleed', 'modeVariant', 'size', 'text', 'type', 'variant'],
208
- })
209
- export class TdsButton {
210
- protected el: HTMLElement;
211
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
212
- c.detach();
213
- this.el = r.nativeElement;
214
- }
215
- }
216
-
217
-
218
- export declare interface TdsButton extends Components.TdsButton {}
219
-
220
-
221
- @ProxyCmp({
222
- inputs: ['bodyDivider', 'bodyImg', 'bodyImgAlt', 'cardId', 'clickable', 'header', 'imagePlacement', 'modeVariant', 'stretch', 'subheader']
223
- })
224
- @Component({
225
- selector: 'tds-card',
226
- changeDetection: ChangeDetectionStrategy.OnPush,
227
- template: '<ng-content></ng-content>',
228
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
229
- inputs: ['bodyDivider', 'bodyImg', 'bodyImgAlt', 'cardId', 'clickable', 'header', 'imagePlacement', 'modeVariant', 'stretch', 'subheader'],
230
- })
231
- export class TdsCard {
232
- protected el: HTMLElement;
233
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
234
- c.detach();
235
- this.el = r.nativeElement;
236
- proxyOutputs(this, this.el, ['tdsClick']);
237
- }
238
- }
239
-
240
-
241
- export declare interface TdsCard extends Components.TdsCard {
242
- /**
243
- * Sends unique Card identifier when the Card is clicked, if clickable=true
244
- */
245
- tdsClick: EventEmitter<CustomEvent<{ cardId: string; }>>;
246
- }
247
-
248
-
249
- @ProxyCmp({
250
- inputs: ['checkboxId', 'checked', 'disabled', 'indeterminate', 'name', 'required', 'value'],
251
- methods: ['toggleCheckbox']
252
- })
253
- @Component({
254
- selector: 'tds-checkbox',
255
- changeDetection: ChangeDetectionStrategy.OnPush,
256
- template: '<ng-content></ng-content>',
257
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
258
- inputs: ['checkboxId', 'checked', 'disabled', 'indeterminate', 'name', 'required', 'value'],
259
- })
260
- export class TdsCheckbox {
261
- protected el: HTMLElement;
262
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
263
- c.detach();
264
- this.el = r.nativeElement;
265
- proxyOutputs(this, this.el, ['tdsChange', 'tdsFocus', 'tdsBlur']);
266
- }
267
- }
268
-
269
-
270
- export declare interface TdsCheckbox extends Components.TdsCheckbox {
271
- /**
272
- * Sends unique Checkbox identifier and checked status when it is checked/unchecked.
273
- */
274
- tdsChange: EventEmitter<CustomEvent<{ checkboxId: string; checked: boolean; indeterminate: boolean; value?: string; }>>;
275
- /**
276
- * Focus event for the Checkbox
277
- */
278
- tdsFocus: EventEmitter<CustomEvent<FocusEvent>>;
279
- /**
280
- * Blur event for the Checkbox
281
- */
282
- tdsBlur: EventEmitter<CustomEvent<FocusEvent>>;
283
- }
284
-
285
-
286
- @ProxyCmp({
287
- inputs: ['checked', 'chipId', 'disabled', 'name', 'size', 'type', 'value']
288
- })
289
- @Component({
290
- selector: 'tds-chip',
291
- changeDetection: ChangeDetectionStrategy.OnPush,
292
- template: '<ng-content></ng-content>',
293
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
294
- inputs: ['checked', 'chipId', 'disabled', 'name', 'size', 'type', 'value'],
295
- })
296
- export class TdsChip {
297
- protected el: HTMLElement;
298
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
299
- c.detach();
300
- this.el = r.nativeElement;
301
- proxyOutputs(this, this.el, ['tdsChange', 'tdsClick']);
302
- }
303
- }
304
-
305
-
306
- export declare interface TdsChip extends Components.TdsChip {
307
- /**
308
- * Sends unique Chip identifier and value when it is changed (checked/unchecked).
309
- Valid only for type checkbox and radio.
310
- If no ID is specified, a random one will be generated.
311
- To use this listener, don't use the randomized ID, use a specific one of your choosing.
312
- */
313
- tdsChange: EventEmitter<CustomEvent<{ chipId: string; value: string; checked?: boolean; }>>;
314
- /**
315
- * Sends unique Chip identifier when Chip is clicked.
316
- Valid only for type button.
317
- If no ID is specified, a random one will be generated.
318
- To use this listener, don't use the randomized ID, use a specific one of your choosing.
319
- */
320
- tdsClick: EventEmitter<CustomEvent<{ chipId: string; }>>;
321
- }
322
-
323
-
324
- @ProxyCmp({
325
- })
326
- @Component({
327
- selector: 'tds-core-header-item',
328
- changeDetection: ChangeDetectionStrategy.OnPush,
329
- template: '<ng-content></ng-content>',
330
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
331
- inputs: [],
332
- })
333
- export class TdsCoreHeaderItem {
334
- protected el: HTMLElement;
335
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
336
- c.detach();
337
- this.el = r.nativeElement;
338
- }
339
- }
340
-
341
-
342
- export declare interface TdsCoreHeaderItem extends Components.TdsCoreHeaderItem {}
343
-
344
-
345
- @ProxyCmp({
346
- inputs: ['autofocus', 'defaultValue', 'disabled', 'helper', 'label', 'max', 'min', 'modeVariant', 'name', 'noMinWidth', 'size', 'state', 'type', 'value'],
347
- methods: ['reset', 'setValue']
348
- })
349
- @Component({
350
- selector: 'tds-datetime',
351
- changeDetection: ChangeDetectionStrategy.OnPush,
352
- template: '<ng-content></ng-content>',
353
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
354
- inputs: ['autofocus', 'defaultValue', 'disabled', 'helper', 'label', 'max', 'min', 'modeVariant', 'name', 'noMinWidth', 'size', 'state', 'type', 'value'],
355
- })
356
- export class TdsDatetime {
357
- protected el: HTMLElement;
358
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
359
- c.detach();
360
- this.el = r.nativeElement;
361
- proxyOutputs(this, this.el, ['tdsChange', 'tdsBlur', 'tdsFocus', 'tdsInput']);
362
- }
363
- }
364
-
365
-
366
- export declare interface TdsDatetime extends Components.TdsDatetime {
367
- /**
368
- * Change event for the Datetime
369
- */
370
- tdsChange: EventEmitter<CustomEvent<any>>;
371
- /**
372
- * Blur event for the Datetime
373
- */
374
- tdsBlur: EventEmitter<CustomEvent<FocusEvent>>;
375
- /**
376
- * Focus event for the Datetime
377
- */
378
- tdsFocus: EventEmitter<CustomEvent<FocusEvent>>;
379
- /**
380
- * Input event for the Datetime
381
- */
382
- tdsInput: EventEmitter<CustomEvent<InputEvent>>;
383
- }
384
-
385
-
386
- @ProxyCmp({
387
- inputs: ['orientation']
388
- })
389
- @Component({
390
- selector: 'tds-divider',
391
- changeDetection: ChangeDetectionStrategy.OnPush,
392
- template: '<ng-content></ng-content>',
393
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
394
- inputs: ['orientation'],
395
- })
396
- export class TdsDivider {
397
- protected el: HTMLElement;
398
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
399
- c.detach();
400
- this.el = r.nativeElement;
401
- }
402
- }
403
-
404
-
405
- export declare interface TdsDivider extends Components.TdsDivider {}
406
-
407
-
408
- @ProxyCmp({
409
- inputs: ['defaultValue', 'disabled', 'error', 'filter', 'helper', 'label', 'labelPosition', 'modeVariant', 'multiselect', 'name', 'noResultText', 'normalizeText', 'openDirection', 'placeholder', 'size'],
410
- methods: ['reset', 'focusElement', 'setValue', 'removeValue', 'close']
411
- })
412
- @Component({
413
- selector: 'tds-dropdown',
414
- changeDetection: ChangeDetectionStrategy.OnPush,
415
- template: '<ng-content></ng-content>',
416
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
417
- inputs: ['defaultValue', 'disabled', 'error', 'filter', 'helper', 'label', 'labelPosition', 'modeVariant', 'multiselect', 'name', 'noResultText', 'normalizeText', 'openDirection', 'placeholder', 'size'],
418
- })
419
- export class TdsDropdown {
420
- protected el: HTMLElement;
421
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
422
- c.detach();
423
- this.el = r.nativeElement;
424
- proxyOutputs(this, this.el, ['tdsChange', 'tdsFocus', 'tdsBlur', 'tdsInput']);
425
- }
426
- }
427
-
428
-
429
- export declare interface TdsDropdown extends Components.TdsDropdown {
430
- /**
431
- * Change event for the Dropdown.
432
- */
433
- tdsChange: EventEmitter<CustomEvent<{ name: string; value: string; }>>;
434
- /**
435
- * Focus event for the Dropdown.
436
- */
437
- tdsFocus: EventEmitter<CustomEvent<FocusEvent>>;
438
- /**
439
- * Blur event for the Dropdown.
440
- */
441
- tdsBlur: EventEmitter<CustomEvent<FocusEvent>>;
442
- /**
443
- * Input event for the Dropdown.
444
- */
445
- tdsInput: EventEmitter<CustomEvent<InputEvent>>;
446
- }
447
-
448
-
449
- @ProxyCmp({
450
- inputs: ['disabled', 'value'],
451
- methods: ['setSelected']
452
- })
453
- @Component({
454
- selector: 'tds-dropdown-option',
455
- changeDetection: ChangeDetectionStrategy.OnPush,
456
- template: '<ng-content></ng-content>',
457
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
458
- inputs: ['disabled', 'value'],
459
- })
460
- export class TdsDropdownOption {
461
- protected el: HTMLElement;
462
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
463
- c.detach();
464
- this.el = r.nativeElement;
465
- proxyOutputs(this, this.el, ['tdsSelect', 'tdsFocus', 'tdsBlur']);
466
- }
467
- }
468
-
469
-
470
- export declare interface TdsDropdownOption extends Components.TdsDropdownOption {
471
- /**
472
- * Click event for the Dropdown option.
473
- */
474
- tdsSelect: EventEmitter<CustomEvent<{ selected: boolean; value: string; }>>;
475
- /**
476
- * Focus event for the Dropdown option.
477
- */
478
- tdsFocus: EventEmitter<CustomEvent<FocusEvent>>;
479
- /**
480
- * Blur event for the Dropdown option.
481
- */
482
- tdsBlur: EventEmitter<CustomEvent<FocusEvent>>;
483
- }
484
-
485
-
486
- @ProxyCmp({
487
- inputs: ['disabled']
488
- })
489
- @Component({
490
- selector: 'tds-folder-tab',
491
- changeDetection: ChangeDetectionStrategy.OnPush,
492
- template: '<ng-content></ng-content>',
493
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
494
- inputs: ['disabled'],
495
- })
496
- export class TdsFolderTab {
497
- protected el: HTMLElement;
498
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
499
- c.detach();
500
- this.el = r.nativeElement;
501
- }
502
- }
503
-
504
-
505
- export declare interface TdsFolderTab extends Components.TdsFolderTab {}
506
-
507
-
508
- @ProxyCmp({
509
- inputs: ['defaultSelectedIndex', 'modeVariant', 'selectedIndex'],
510
- methods: ['selectTab', 'reinitialize']
511
- })
512
- @Component({
513
- selector: 'tds-folder-tabs',
514
- changeDetection: ChangeDetectionStrategy.OnPush,
515
- template: '<ng-content></ng-content>',
516
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
517
- inputs: ['defaultSelectedIndex', 'modeVariant', 'selectedIndex'],
518
- })
519
- export class TdsFolderTabs {
520
- protected el: HTMLElement;
521
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
522
- c.detach();
523
- this.el = r.nativeElement;
524
- proxyOutputs(this, this.el, ['tdsChange']);
525
- }
526
- }
527
-
528
-
529
- export declare interface TdsFolderTabs extends Components.TdsFolderTabs {
530
- /**
531
- * Event emitted when the selected Tab is changed.
532
- */
533
- tdsChange: EventEmitter<CustomEvent<{ selectedTabIndex: number; }>>;
534
- }
535
-
536
-
537
- @ProxyCmp({
538
- inputs: ['modeVariant']
539
- })
540
- @Component({
541
- selector: 'tds-footer',
542
- changeDetection: ChangeDetectionStrategy.OnPush,
543
- template: '<ng-content></ng-content>',
544
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
545
- inputs: ['modeVariant'],
546
- })
547
- export class TdsFooter {
548
- protected el: HTMLElement;
549
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
550
- c.detach();
551
- this.el = r.nativeElement;
552
- }
553
- }
554
-
555
-
556
- export declare interface TdsFooter extends Components.TdsFooter {}
557
-
558
-
559
- @ProxyCmp({
560
- inputs: ['titleText']
561
- })
562
- @Component({
563
- selector: 'tds-footer-group',
564
- changeDetection: ChangeDetectionStrategy.OnPush,
565
- template: '<ng-content></ng-content>',
566
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
567
- inputs: ['titleText'],
568
- })
569
- export class TdsFooterGroup {
570
- protected el: HTMLElement;
571
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
572
- c.detach();
573
- this.el = r.nativeElement;
574
- }
575
- }
576
-
577
-
578
- export declare interface TdsFooterGroup extends Components.TdsFooterGroup {}
579
-
580
-
581
- @ProxyCmp({
582
- })
583
- @Component({
584
- selector: 'tds-footer-item',
585
- changeDetection: ChangeDetectionStrategy.OnPush,
586
- template: '<ng-content></ng-content>',
587
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
588
- inputs: [],
589
- })
590
- export class TdsFooterItem {
591
- protected el: HTMLElement;
592
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
593
- c.detach();
594
- this.el = r.nativeElement;
595
- }
596
- }
597
-
598
-
599
- export declare interface TdsFooterItem extends Components.TdsFooterItem {}
600
-
601
-
602
- @ProxyCmp({
603
- })
604
- @Component({
605
- selector: 'tds-header',
606
- changeDetection: ChangeDetectionStrategy.OnPush,
607
- template: '<ng-content></ng-content>',
608
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
609
- inputs: [],
610
- })
611
- export class TdsHeader {
612
- protected el: HTMLElement;
613
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
614
- c.detach();
615
- this.el = r.nativeElement;
616
- }
617
- }
618
-
619
-
620
- export declare interface TdsHeader extends Components.TdsHeader {}
621
-
622
-
623
- @ProxyCmp({
624
- })
625
- @Component({
626
- selector: 'tds-header-brand-symbol',
627
- changeDetection: ChangeDetectionStrategy.OnPush,
628
- template: '<ng-content></ng-content>',
629
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
630
- inputs: [],
631
- })
632
- export class TdsHeaderBrandSymbol {
633
- protected el: HTMLElement;
634
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
635
- c.detach();
636
- this.el = r.nativeElement;
637
- }
638
- }
639
-
640
-
641
- export declare interface TdsHeaderBrandSymbol extends Components.TdsHeaderBrandSymbol {}
642
-
643
-
644
- @ProxyCmp({
645
- inputs: ['cellKey', 'cellValue', 'customWidth', 'disablePadding', 'sortable', 'textAlign']
646
- })
647
- @Component({
648
- selector: 'tds-header-cell',
649
- changeDetection: ChangeDetectionStrategy.OnPush,
650
- template: '<ng-content></ng-content>',
651
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
652
- inputs: ['cellKey', 'cellValue', 'customWidth', 'disablePadding', 'sortable', 'textAlign'],
653
- })
654
- export class TdsHeaderCell {
655
- protected el: HTMLElement;
656
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
657
- c.detach();
658
- this.el = r.nativeElement;
659
- proxyOutputs(this, this.el, ['tdsSort']);
660
- }
661
- }
662
-
663
-
664
- export declare interface TdsHeaderCell extends Components.TdsHeaderCell {
665
- /**
666
- * Sends unique Table identifier, column key and sorting direction to the tds-table-body component,
667
- can also be listened to implement custom-sorting logic.
668
- */
669
- tdsSort: EventEmitter<CustomEvent<{ tableId: string; columnKey: string; sortingDirection: 'asc' | 'desc'; }>>;
670
- }
671
-
672
-
673
- @ProxyCmp({
674
- inputs: ['label', 'noDropdownIcon', 'selected']
675
- })
676
- @Component({
677
- selector: 'tds-header-dropdown',
678
- changeDetection: ChangeDetectionStrategy.OnPush,
679
- template: '<ng-content></ng-content>',
680
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
681
- inputs: ['label', 'noDropdownIcon', 'selected'],
682
- })
683
- export class TdsHeaderDropdown {
684
- protected el: HTMLElement;
685
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
686
- c.detach();
687
- this.el = r.nativeElement;
688
- }
689
- }
690
-
691
-
692
- export declare interface TdsHeaderDropdown extends Components.TdsHeaderDropdown {}
693
-
694
-
695
- @ProxyCmp({
696
- inputs: ['size']
697
- })
698
- @Component({
699
- selector: 'tds-header-dropdown-list',
700
- changeDetection: ChangeDetectionStrategy.OnPush,
701
- template: '<ng-content></ng-content>',
702
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
703
- inputs: ['size'],
704
- })
705
- export class TdsHeaderDropdownList {
706
- protected el: HTMLElement;
707
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
708
- c.detach();
709
- this.el = r.nativeElement;
710
- }
711
- }
712
-
713
-
714
- export declare interface TdsHeaderDropdownList extends Components.TdsHeaderDropdownList {}
715
-
716
-
717
- @ProxyCmp({
718
- inputs: ['selected', 'size']
719
- })
720
- @Component({
721
- selector: 'tds-header-dropdown-list-item',
722
- changeDetection: ChangeDetectionStrategy.OnPush,
723
- template: '<ng-content></ng-content>',
724
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
725
- inputs: ['selected', 'size'],
726
- })
727
- export class TdsHeaderDropdownListItem {
728
- protected el: HTMLElement;
729
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
730
- c.detach();
731
- this.el = r.nativeElement;
732
- }
733
- }
734
-
735
-
736
- export declare interface TdsHeaderDropdownListItem extends Components.TdsHeaderDropdownListItem {}
737
-
738
-
739
- @ProxyCmp({
740
- inputs: ['header', 'imgAlt', 'imgUrl', 'subheader']
741
- })
742
- @Component({
743
- selector: 'tds-header-dropdown-list-user',
744
- changeDetection: ChangeDetectionStrategy.OnPush,
745
- template: '<ng-content></ng-content>',
746
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
747
- inputs: ['header', 'imgAlt', 'imgUrl', 'subheader'],
748
- })
749
- export class TdsHeaderDropdownListUser {
750
- protected el: HTMLElement;
751
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
752
- c.detach();
753
- this.el = r.nativeElement;
754
- }
755
- }
756
-
757
-
758
- export declare interface TdsHeaderDropdownListUser extends Components.TdsHeaderDropdownListUser {}
759
-
760
-
761
- @ProxyCmp({
762
- })
763
- @Component({
764
- selector: 'tds-header-hamburger',
765
- changeDetection: ChangeDetectionStrategy.OnPush,
766
- template: '<ng-content></ng-content>',
767
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
768
- inputs: [],
769
- })
770
- export class TdsHeaderHamburger {
771
- protected el: HTMLElement;
772
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
773
- c.detach();
774
- this.el = r.nativeElement;
775
- }
776
- }
777
-
778
-
779
- export declare interface TdsHeaderHamburger extends Components.TdsHeaderHamburger {}
780
-
781
-
782
- @ProxyCmp({
783
- inputs: ['active', 'selected']
784
- })
785
- @Component({
786
- selector: 'tds-header-item',
787
- changeDetection: ChangeDetectionStrategy.OnPush,
788
- template: '<ng-content></ng-content>',
789
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
790
- inputs: ['active', 'selected'],
791
- })
792
- export class TdsHeaderItem {
793
- protected el: HTMLElement;
794
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
795
- c.detach();
796
- this.el = r.nativeElement;
797
- }
798
- }
799
-
800
-
801
- export declare interface TdsHeaderItem extends Components.TdsHeaderItem {}
802
-
803
-
804
- @ProxyCmp({
805
- })
806
- @Component({
807
- selector: 'tds-header-launcher',
808
- changeDetection: ChangeDetectionStrategy.OnPush,
809
- template: '<ng-content></ng-content>',
810
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
811
- inputs: [],
812
- })
813
- export class TdsHeaderLauncher {
814
- protected el: HTMLElement;
815
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
816
- c.detach();
817
- this.el = r.nativeElement;
818
- }
819
- }
820
-
821
-
822
- export declare interface TdsHeaderLauncher extends Components.TdsHeaderLauncher {}
823
-
824
-
825
- @ProxyCmp({
826
- inputs: ['active']
827
- })
828
- @Component({
829
- selector: 'tds-header-launcher-button',
830
- changeDetection: ChangeDetectionStrategy.OnPush,
831
- template: '<ng-content></ng-content>',
832
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
833
- inputs: ['active'],
834
- })
835
- export class TdsHeaderLauncherButton {
836
- protected el: HTMLElement;
837
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
838
- c.detach();
839
- this.el = r.nativeElement;
840
- }
841
- }
842
-
843
-
844
- export declare interface TdsHeaderLauncherButton extends Components.TdsHeaderLauncherButton {}
845
-
846
-
847
- @ProxyCmp({
848
- })
849
- @Component({
850
- selector: 'tds-header-launcher-grid',
851
- changeDetection: ChangeDetectionStrategy.OnPush,
852
- template: '<ng-content></ng-content>',
853
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
854
- inputs: [],
855
- })
856
- export class TdsHeaderLauncherGrid {
857
- protected el: HTMLElement;
858
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
859
- c.detach();
860
- this.el = r.nativeElement;
861
- }
862
- }
863
-
864
-
865
- export declare interface TdsHeaderLauncherGrid extends Components.TdsHeaderLauncherGrid {}
866
-
867
-
868
- @ProxyCmp({
869
- })
870
- @Component({
871
- selector: 'tds-header-launcher-grid-item',
872
- changeDetection: ChangeDetectionStrategy.OnPush,
873
- template: '<ng-content></ng-content>',
874
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
875
- inputs: [],
876
- })
877
- export class TdsHeaderLauncherGridItem {
878
- protected el: HTMLElement;
879
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
880
- c.detach();
881
- this.el = r.nativeElement;
882
- }
883
- }
884
-
885
-
886
- export declare interface TdsHeaderLauncherGridItem extends Components.TdsHeaderLauncherGridItem {}
887
-
888
-
889
- @ProxyCmp({
890
- })
891
- @Component({
892
- selector: 'tds-header-launcher-grid-title',
893
- changeDetection: ChangeDetectionStrategy.OnPush,
894
- template: '<ng-content></ng-content>',
895
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
896
- inputs: [],
897
- })
898
- export class TdsHeaderLauncherGridTitle {
899
- protected el: HTMLElement;
900
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
901
- c.detach();
902
- this.el = r.nativeElement;
903
- }
904
- }
905
-
906
-
907
- export declare interface TdsHeaderLauncherGridTitle extends Components.TdsHeaderLauncherGridTitle {}
908
-
909
-
910
- @ProxyCmp({
911
- })
912
- @Component({
913
- selector: 'tds-header-launcher-list',
914
- changeDetection: ChangeDetectionStrategy.OnPush,
915
- template: '<ng-content></ng-content>',
916
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
917
- inputs: [],
918
- })
919
- export class TdsHeaderLauncherList {
920
- protected el: HTMLElement;
921
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
922
- c.detach();
923
- this.el = r.nativeElement;
924
- }
925
- }
926
-
927
-
928
- export declare interface TdsHeaderLauncherList extends Components.TdsHeaderLauncherList {}
929
-
930
-
931
- @ProxyCmp({
932
- })
933
- @Component({
934
- selector: 'tds-header-launcher-list-item',
935
- changeDetection: ChangeDetectionStrategy.OnPush,
936
- template: '<ng-content></ng-content>',
937
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
938
- inputs: [],
939
- })
940
- export class TdsHeaderLauncherListItem {
941
- protected el: HTMLElement;
942
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
943
- c.detach();
944
- this.el = r.nativeElement;
945
- }
946
- }
947
-
948
-
949
- export declare interface TdsHeaderLauncherListItem extends Components.TdsHeaderLauncherListItem {}
950
-
951
-
952
- @ProxyCmp({
953
- })
954
- @Component({
955
- selector: 'tds-header-launcher-list-title',
956
- changeDetection: ChangeDetectionStrategy.OnPush,
957
- template: '<ng-content></ng-content>',
958
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
959
- inputs: [],
960
- })
961
- export class TdsHeaderLauncherListTitle {
962
- protected el: HTMLElement;
963
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
964
- c.detach();
965
- this.el = r.nativeElement;
966
- }
967
- }
968
-
969
-
970
- export declare interface TdsHeaderLauncherListTitle extends Components.TdsHeaderLauncherListTitle {}
971
-
972
-
973
- @ProxyCmp({
974
- })
975
- @Component({
976
- selector: 'tds-header-title',
977
- changeDetection: ChangeDetectionStrategy.OnPush,
978
- template: '<ng-content></ng-content>',
979
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
980
- inputs: [],
981
- })
982
- export class TdsHeaderTitle {
983
- protected el: HTMLElement;
984
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
985
- c.detach();
986
- this.el = r.nativeElement;
987
- }
988
- }
989
-
990
-
991
- export declare interface TdsHeaderTitle extends Components.TdsHeaderTitle {}
992
-
993
-
994
- @ProxyCmp({
995
- inputs: ['name', 'size', 'svgDescription', 'svgTitle']
996
- })
997
- @Component({
998
- selector: 'tds-icon',
999
- changeDetection: ChangeDetectionStrategy.OnPush,
1000
- template: '<ng-content></ng-content>',
1001
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1002
- inputs: ['name', 'size', 'svgDescription', 'svgTitle'],
1003
- })
1004
- export class TdsIcon {
1005
- protected el: HTMLElement;
1006
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1007
- c.detach();
1008
- this.el = r.nativeElement;
1009
- }
1010
- }
1011
-
1012
-
1013
- export declare interface TdsIcon extends Components.TdsIcon {}
1014
-
1015
-
1016
- @ProxyCmp({
1017
- inputs: ['disabled']
1018
- })
1019
- @Component({
1020
- selector: 'tds-inline-tab',
1021
- changeDetection: ChangeDetectionStrategy.OnPush,
1022
- template: '<ng-content></ng-content>',
1023
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1024
- inputs: ['disabled'],
1025
- })
1026
- export class TdsInlineTab {
1027
- protected el: HTMLElement;
1028
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1029
- c.detach();
1030
- this.el = r.nativeElement;
1031
- }
1032
- }
1033
-
1034
-
1035
- export declare interface TdsInlineTab extends Components.TdsInlineTab {}
1036
-
1037
-
1038
- @ProxyCmp({
1039
- inputs: ['defaultSelectedIndex', 'leftPadding', 'modeVariant', 'selectedIndex'],
1040
- methods: ['selectTab', 'reinitialize']
1041
- })
1042
- @Component({
1043
- selector: 'tds-inline-tabs',
1044
- changeDetection: ChangeDetectionStrategy.OnPush,
1045
- template: '<ng-content></ng-content>',
1046
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1047
- inputs: ['defaultSelectedIndex', 'leftPadding', 'modeVariant', 'selectedIndex'],
1048
- })
1049
- export class TdsInlineTabs {
1050
- protected el: HTMLElement;
1051
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1052
- c.detach();
1053
- this.el = r.nativeElement;
1054
- proxyOutputs(this, this.el, ['tdsChange']);
1055
- }
1056
- }
1057
-
1058
-
1059
- export declare interface TdsInlineTabs extends Components.TdsInlineTabs {
1060
- /**
1061
- * Event emitted when the selected Tab is changed.
1062
- */
1063
- tdsChange: EventEmitter<CustomEvent<{ selectedTabIndex: number; }>>;
1064
- }
1065
-
1066
-
1067
- @ProxyCmp({
1068
- inputs: ['disabled', 'underline']
1069
- })
1070
- @Component({
1071
- selector: 'tds-link',
1072
- changeDetection: ChangeDetectionStrategy.OnPush,
1073
- template: '<ng-content></ng-content>',
1074
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1075
- inputs: ['disabled', 'underline'],
1076
- })
1077
- export class TdsLink {
1078
- protected el: HTMLElement;
1079
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1080
- c.detach();
1081
- this.el = r.nativeElement;
1082
- }
1083
- }
1084
-
1085
-
1086
- export declare interface TdsLink extends Components.TdsLink {}
1087
-
1088
-
1089
- @ProxyCmp({
1090
- inputs: ['header', 'minimal', 'modeVariant', 'noIcon', 'variant']
1091
- })
1092
- @Component({
1093
- selector: 'tds-message',
1094
- changeDetection: ChangeDetectionStrategy.OnPush,
1095
- template: '<ng-content></ng-content>',
1096
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1097
- inputs: ['header', 'minimal', 'modeVariant', 'noIcon', 'variant'],
1098
- })
1099
- export class TdsMessage {
1100
- protected el: HTMLElement;
1101
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1102
- c.detach();
1103
- this.el = r.nativeElement;
1104
- }
1105
- }
1106
-
1107
-
1108
- export declare interface TdsMessage extends Components.TdsMessage {}
1109
-
1110
-
1111
- @ProxyCmp({
1112
- inputs: ['actionsPosition', 'closable', 'header', 'prevent', 'referenceEl', 'selector', 'show', 'size'],
1113
- methods: ['showModal', 'closeModal', 'initializeModal', 'cleanupModal']
1114
- })
1115
- @Component({
1116
- selector: 'tds-modal',
1117
- changeDetection: ChangeDetectionStrategy.OnPush,
1118
- template: '<ng-content></ng-content>',
1119
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1120
- inputs: ['actionsPosition', 'closable', 'header', 'prevent', 'referenceEl', 'selector', 'show', 'size'],
1121
- })
1122
- export class TdsModal {
1123
- protected el: HTMLElement;
1124
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1125
- c.detach();
1126
- this.el = r.nativeElement;
1127
- proxyOutputs(this, this.el, ['tdsClose']);
1128
- }
1129
- }
1130
-
1131
-
1132
- export declare interface TdsModal extends Components.TdsModal {
1133
- /**
1134
- * Emits when the Modal is closed.
1135
- */
1136
- tdsClose: EventEmitter<CustomEvent<any>>;
1137
- }
1138
-
1139
-
1140
- @ProxyCmp({
1141
- inputs: ['disabled']
1142
- })
1143
- @Component({
1144
- selector: 'tds-navigation-tab',
1145
- changeDetection: ChangeDetectionStrategy.OnPush,
1146
- template: '<ng-content></ng-content>',
1147
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1148
- inputs: ['disabled'],
1149
- })
1150
- export class TdsNavigationTab {
1151
- protected el: HTMLElement;
1152
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1153
- c.detach();
1154
- this.el = r.nativeElement;
1155
- }
1156
- }
1157
-
1158
-
1159
- export declare interface TdsNavigationTab extends Components.TdsNavigationTab {}
1160
-
1161
-
1162
- @ProxyCmp({
1163
- inputs: ['defaultSelectedIndex', 'leftPadding', 'modeVariant', 'selectedIndex'],
1164
- methods: ['selectTab', 'reinitialize']
1165
- })
1166
- @Component({
1167
- selector: 'tds-navigation-tabs',
1168
- changeDetection: ChangeDetectionStrategy.OnPush,
1169
- template: '<ng-content></ng-content>',
1170
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1171
- inputs: ['defaultSelectedIndex', 'leftPadding', 'modeVariant', 'selectedIndex'],
1172
- })
1173
- export class TdsNavigationTabs {
1174
- protected el: HTMLElement;
1175
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1176
- c.detach();
1177
- this.el = r.nativeElement;
1178
- proxyOutputs(this, this.el, ['tdsChange']);
1179
- }
1180
- }
1181
-
1182
-
1183
- export declare interface TdsNavigationTabs extends Components.TdsNavigationTabs {
1184
- /**
1185
- * Event emitted when the selected Tab is changed.
1186
- */
1187
- tdsChange: EventEmitter<CustomEvent<{ selectedTabIndex: number; }>>;
1188
- }
1189
-
1190
-
1191
- @ProxyCmp({
1192
- inputs: ['defaultShow', 'modifiers', 'offsetDistance', 'offsetSkidding', 'placement', 'referenceEl', 'selector', 'show'],
1193
- methods: ['close']
1194
- })
1195
- @Component({
1196
- selector: 'tds-popover-canvas',
1197
- changeDetection: ChangeDetectionStrategy.OnPush,
1198
- template: '<ng-content></ng-content>',
1199
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1200
- inputs: ['defaultShow', 'modifiers', 'offsetDistance', 'offsetSkidding', 'placement', 'referenceEl', 'selector', 'show'],
1201
- })
1202
- export class TdsPopoverCanvas {
1203
- protected el: HTMLElement;
1204
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1205
- c.detach();
1206
- this.el = r.nativeElement;
1207
- }
1208
- }
1209
-
1210
-
1211
- export declare interface TdsPopoverCanvas extends Components.TdsPopoverCanvas {}
1212
-
1213
-
1214
- @ProxyCmp({
1215
- inputs: ['autoHide', 'defaultShow', 'modifiers', 'offsetDistance', 'offsetSkidding', 'placement', 'referenceEl', 'selector', 'show', 'trigger'],
1216
- methods: ['close']
1217
- })
1218
- @Component({
1219
- selector: 'tds-popover-core',
1220
- changeDetection: ChangeDetectionStrategy.OnPush,
1221
- template: '<ng-content></ng-content>',
1222
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1223
- inputs: ['autoHide', 'defaultShow', 'modifiers', 'offsetDistance', 'offsetSkidding', 'placement', 'referenceEl', 'selector', 'show', 'trigger'],
1224
- })
1225
- export class TdsPopoverCore {
1226
- protected el: HTMLElement;
1227
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1228
- c.detach();
1229
- this.el = r.nativeElement;
1230
- }
1231
- }
1232
-
1233
-
1234
- export declare interface TdsPopoverCore extends Components.TdsPopoverCore {}
1235
-
1236
-
1237
- @ProxyCmp({
1238
- inputs: ['defaultShow', 'fluidWidth', 'offsetDistance', 'offsetSkidding', 'placement', 'referenceEl', 'selector', 'show'],
1239
- methods: ['close']
1240
- })
1241
- @Component({
1242
- selector: 'tds-popover-menu',
1243
- changeDetection: ChangeDetectionStrategy.OnPush,
1244
- template: '<ng-content></ng-content>',
1245
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1246
- inputs: ['defaultShow', 'fluidWidth', 'offsetDistance', 'offsetSkidding', 'placement', 'referenceEl', 'selector', 'show'],
1247
- })
1248
- export class TdsPopoverMenu {
1249
- protected el: HTMLElement;
1250
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1251
- c.detach();
1252
- this.el = r.nativeElement;
1253
- }
1254
- }
1255
-
1256
-
1257
- export declare interface TdsPopoverMenu extends Components.TdsPopoverMenu {}
1258
-
1259
-
1260
- @ProxyCmp({
1261
- inputs: ['disabled']
1262
- })
1263
- @Component({
1264
- selector: 'tds-popover-menu-item',
1265
- changeDetection: ChangeDetectionStrategy.OnPush,
1266
- template: '<ng-content></ng-content>',
1267
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1268
- inputs: ['disabled'],
1269
- })
1270
- export class TdsPopoverMenuItem {
1271
- protected el: HTMLElement;
1272
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1273
- c.detach();
1274
- this.el = r.nativeElement;
1275
- }
1276
- }
1277
-
1278
-
1279
- export declare interface TdsPopoverMenuItem extends Components.TdsPopoverMenuItem {}
1280
-
1281
-
1282
- @ProxyCmp({
1283
- inputs: ['checked', 'disabled', 'name', 'radioId', 'required', 'value']
1284
- })
1285
- @Component({
1286
- selector: 'tds-radio-button',
1287
- changeDetection: ChangeDetectionStrategy.OnPush,
1288
- template: '<ng-content></ng-content>',
1289
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1290
- inputs: ['checked', 'disabled', 'name', 'radioId', 'required', 'value'],
1291
- })
1292
- export class TdsRadioButton {
1293
- protected el: HTMLElement;
1294
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1295
- c.detach();
1296
- this.el = r.nativeElement;
1297
- proxyOutputs(this, this.el, ['tdsChange']);
1298
- }
1299
- }
1300
-
1301
-
1302
- export declare interface TdsRadioButton extends Components.TdsRadioButton {
1303
- /**
1304
- * Sends unique Radio Button identifier and status when it is checked.
1305
- If no ID is specified, a random one will be generated.
1306
- To use this listener, don't use the randomized ID, use a specific one of your choosing.
1307
- */
1308
- tdsChange: EventEmitter<CustomEvent<{ radioId: string; value: string; }>>;
1309
- }
1310
-
1311
-
1312
- @ProxyCmp({
1313
- inputs: ['collapsed', 'open', 'persistent']
1314
- })
1315
- @Component({
1316
- selector: 'tds-side-menu',
1317
- changeDetection: ChangeDetectionStrategy.OnPush,
1318
- template: '<ng-content></ng-content>',
1319
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1320
- inputs: ['collapsed', 'open', 'persistent'],
1321
- })
1322
- export class TdsSideMenu {
1323
- protected el: HTMLElement;
1324
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1325
- c.detach();
1326
- this.el = r.nativeElement;
1327
- proxyOutputs(this, this.el, ['tdsCollapse']);
1328
- }
1329
- }
1330
-
1331
-
1332
- import type { CollapseEvent as ITdsSideMenuCollapseEvent } from '@scania/tegel';
1333
-
1334
- export declare interface TdsSideMenu extends Components.TdsSideMenu {
1335
- /**
1336
- * Event that is emitted when the Side Menu is collapsed.
1337
- */
1338
- tdsCollapse: EventEmitter<CustomEvent<ITdsSideMenuCollapseEvent>>;
1339
- }
1340
-
1341
-
1342
- @ProxyCmp({
1343
- })
1344
- @Component({
1345
- selector: 'tds-side-menu-close-button',
1346
- changeDetection: ChangeDetectionStrategy.OnPush,
1347
- template: '<ng-content></ng-content>',
1348
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1349
- inputs: [],
1350
- })
1351
- export class TdsSideMenuCloseButton {
1352
- protected el: HTMLElement;
1353
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1354
- c.detach();
1355
- this.el = r.nativeElement;
1356
- }
1357
- }
1358
-
1359
-
1360
- export declare interface TdsSideMenuCloseButton extends Components.TdsSideMenuCloseButton {}
1361
-
1362
-
1363
- @ProxyCmp({
1364
- })
1365
- @Component({
1366
- selector: 'tds-side-menu-collapse-button',
1367
- changeDetection: ChangeDetectionStrategy.OnPush,
1368
- template: '<ng-content></ng-content>',
1369
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1370
- inputs: [],
1371
- })
1372
- export class TdsSideMenuCollapseButton {
1373
- protected el: HTMLElement;
1374
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1375
- c.detach();
1376
- this.el = r.nativeElement;
1377
- proxyOutputs(this, this.el, ['tdsCollapse']);
1378
- }
1379
- }
1380
-
1381
-
1382
- import type { CollapseEvent as ITdsSideMenuCollapseButtonCollapseEvent } from '@scania/tegel';
1383
-
1384
- export declare interface TdsSideMenuCollapseButton extends Components.TdsSideMenuCollapseButton {
1385
- /**
1386
- * Event that is broadcast when the collapse button is clicked.
1387
- Prevent it from disabling automatic collapsing, and set the collapsed prop on the Side Menu yourself.
1388
- */
1389
- tdsCollapse: EventEmitter<CustomEvent<ITdsSideMenuCollapseButtonCollapseEvent>>;
1390
- }
1391
-
1392
-
1393
- @ProxyCmp({
1394
- inputs: ['buttonLabel', 'defaultOpen', 'open', 'selected']
1395
- })
1396
- @Component({
1397
- selector: 'tds-side-menu-dropdown',
1398
- changeDetection: ChangeDetectionStrategy.OnPush,
1399
- template: '<ng-content></ng-content>',
1400
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1401
- inputs: ['buttonLabel', 'defaultOpen', 'open', 'selected'],
1402
- })
1403
- export class TdsSideMenuDropdown {
1404
- protected el: HTMLElement;
1405
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1406
- c.detach();
1407
- this.el = r.nativeElement;
1408
- }
1409
- }
1410
-
1411
-
1412
- export declare interface TdsSideMenuDropdown extends Components.TdsSideMenuDropdown {}
1413
-
1414
-
1415
- @ProxyCmp({
1416
- })
1417
- @Component({
1418
- selector: 'tds-side-menu-dropdown-list',
1419
- changeDetection: ChangeDetectionStrategy.OnPush,
1420
- template: '<ng-content></ng-content>',
1421
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1422
- inputs: [],
1423
- })
1424
- export class TdsSideMenuDropdownList {
1425
- protected el: HTMLElement;
1426
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1427
- c.detach();
1428
- this.el = r.nativeElement;
1429
- }
1430
- }
1431
-
1432
-
1433
- export declare interface TdsSideMenuDropdownList extends Components.TdsSideMenuDropdownList {}
1434
-
1435
-
1436
- @ProxyCmp({
1437
- inputs: ['selected']
1438
- })
1439
- @Component({
1440
- selector: 'tds-side-menu-dropdown-list-item',
1441
- changeDetection: ChangeDetectionStrategy.OnPush,
1442
- template: '<ng-content></ng-content>',
1443
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1444
- inputs: ['selected'],
1445
- })
1446
- export class TdsSideMenuDropdownListItem {
1447
- protected el: HTMLElement;
1448
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1449
- c.detach();
1450
- this.el = r.nativeElement;
1451
- }
1452
- }
1453
-
1454
-
1455
- export declare interface TdsSideMenuDropdownListItem extends Components.TdsSideMenuDropdownListItem {}
1456
-
1457
-
1458
- @ProxyCmp({
1459
- inputs: ['active', 'selected']
1460
- })
1461
- @Component({
1462
- selector: 'tds-side-menu-item',
1463
- changeDetection: ChangeDetectionStrategy.OnPush,
1464
- template: '<ng-content></ng-content>',
1465
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1466
- inputs: ['active', 'selected'],
1467
- })
1468
- export class TdsSideMenuItem {
1469
- protected el: HTMLElement;
1470
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1471
- c.detach();
1472
- this.el = r.nativeElement;
1473
- }
1474
- }
1475
-
1476
-
1477
- export declare interface TdsSideMenuItem extends Components.TdsSideMenuItem {}
1478
-
1479
-
1480
- @ProxyCmp({
1481
- })
1482
- @Component({
1483
- selector: 'tds-side-menu-overlay',
1484
- changeDetection: ChangeDetectionStrategy.OnPush,
1485
- template: '<ng-content></ng-content>',
1486
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1487
- inputs: [],
1488
- })
1489
- export class TdsSideMenuOverlay {
1490
- protected el: HTMLElement;
1491
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1492
- c.detach();
1493
- this.el = r.nativeElement;
1494
- }
1495
- }
1496
-
1497
-
1498
- export declare interface TdsSideMenuOverlay extends Components.TdsSideMenuOverlay {}
1499
-
1500
-
1501
- @ProxyCmp({
1502
- inputs: ['heading', 'imgAlt', 'imgSrc', 'subheading']
1503
- })
1504
- @Component({
1505
- selector: 'tds-side-menu-user',
1506
- changeDetection: ChangeDetectionStrategy.OnPush,
1507
- template: '<ng-content></ng-content>',
1508
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1509
- inputs: ['heading', 'imgAlt', 'imgSrc', 'subheading'],
1510
- })
1511
- export class TdsSideMenuUser {
1512
- protected el: HTMLElement;
1513
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1514
- c.detach();
1515
- this.el = r.nativeElement;
1516
- }
1517
- }
1518
-
1519
-
1520
- export declare interface TdsSideMenuUser extends Components.TdsSideMenuUser {}
1521
-
1522
-
1523
- @ProxyCmp({
1524
- inputs: ['alt', 'src']
1525
- })
1526
- @Component({
1527
- selector: 'tds-side-menu-user-image',
1528
- changeDetection: ChangeDetectionStrategy.OnPush,
1529
- template: '<ng-content></ng-content>',
1530
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1531
- inputs: ['alt', 'src'],
1532
- })
1533
- export class TdsSideMenuUserImage {
1534
- protected el: HTMLElement;
1535
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1536
- c.detach();
1537
- this.el = r.nativeElement;
1538
- }
1539
- }
1540
-
1541
-
1542
- export declare interface TdsSideMenuUserImage extends Components.TdsSideMenuUserImage {}
1543
-
1544
-
1545
- @ProxyCmp({
1546
- inputs: ['heading', 'subheading']
1547
- })
1548
- @Component({
1549
- selector: 'tds-side-menu-user-label',
1550
- changeDetection: ChangeDetectionStrategy.OnPush,
1551
- template: '<ng-content></ng-content>',
1552
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1553
- inputs: ['heading', 'subheading'],
1554
- })
1555
- export class TdsSideMenuUserLabel {
1556
- protected el: HTMLElement;
1557
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1558
- c.detach();
1559
- this.el = r.nativeElement;
1560
- }
1561
- }
1562
-
1563
-
1564
- export declare interface TdsSideMenuUserLabel extends Components.TdsSideMenuUserLabel {}
1565
-
1566
-
1567
- @ProxyCmp({
1568
- inputs: ['controls', 'disabled', 'input', 'label', 'max', 'min', 'name', 'readOnly', 'showTickNumbers', 'sliderId', 'snap', 'step', 'thumbSize', 'ticks', 'tooltip', 'value'],
1569
- methods: ['reset']
1570
- })
1571
- @Component({
1572
- selector: 'tds-slider',
1573
- changeDetection: ChangeDetectionStrategy.OnPush,
1574
- template: '<ng-content></ng-content>',
1575
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1576
- inputs: ['controls', 'disabled', 'input', 'label', 'max', 'min', 'name', 'readOnly', 'showTickNumbers', 'sliderId', 'snap', 'step', 'thumbSize', 'ticks', 'tooltip', 'value'],
1577
- })
1578
- export class TdsSlider {
1579
- protected el: HTMLElement;
1580
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1581
- c.detach();
1582
- this.el = r.nativeElement;
1583
- proxyOutputs(this, this.el, ['tdsChange', 'tdsInput']);
1584
- }
1585
- }
1586
-
1587
-
1588
- export declare interface TdsSlider extends Components.TdsSlider {
1589
- /**
1590
- * Sends the value of the slider when changed. Fires after mouse up and touch end events.
1591
- */
1592
- tdsChange: EventEmitter<CustomEvent<{ value: string; }>>;
1593
- /**
1594
- * Sends the value of the slider while moving the thumb. Fires on mouse move and touch move events.
1595
- */
1596
- tdsInput: EventEmitter<CustomEvent<{ value: string; }>>;
1597
- }
1598
-
1599
-
1600
- @ProxyCmp({
1601
- inputs: ['size', 'variant']
1602
- })
1603
- @Component({
1604
- selector: 'tds-spinner',
1605
- changeDetection: ChangeDetectionStrategy.OnPush,
1606
- template: '<ng-content></ng-content>',
1607
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1608
- inputs: ['size', 'variant'],
1609
- })
1610
- export class TdsSpinner {
1611
- protected el: HTMLElement;
1612
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1613
- c.detach();
1614
- this.el = r.nativeElement;
1615
- }
1616
- }
1617
-
1618
-
1619
- export declare interface TdsSpinner extends Components.TdsSpinner {}
1620
-
1621
-
1622
- @ProxyCmp({
1623
- inputs: ['index', 'state']
1624
- })
1625
- @Component({
1626
- selector: 'tds-step',
1627
- changeDetection: ChangeDetectionStrategy.OnPush,
1628
- template: '<ng-content></ng-content>',
1629
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1630
- inputs: ['index', 'state'],
1631
- })
1632
- export class TdsStep {
1633
- protected el: HTMLElement;
1634
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1635
- c.detach();
1636
- this.el = r.nativeElement;
1637
- }
1638
- }
1639
-
1640
-
1641
- export declare interface TdsStep extends Components.TdsStep {}
1642
-
1643
-
1644
- @ProxyCmp({
1645
- inputs: ['hideLabels', 'labelPosition', 'orientation', 'size', 'stepperId']
1646
- })
1647
- @Component({
1648
- selector: 'tds-stepper',
1649
- changeDetection: ChangeDetectionStrategy.OnPush,
1650
- template: '<ng-content></ng-content>',
1651
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1652
- inputs: ['hideLabels', 'labelPosition', 'orientation', 'size', 'stepperId'],
1653
- })
1654
- export class TdsStepper {
1655
- protected el: HTMLElement;
1656
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1657
- c.detach();
1658
- this.el = r.nativeElement;
1659
- }
1660
- }
1661
-
1662
-
1663
- export declare interface TdsStepper extends Components.TdsStepper {}
1664
-
1665
-
1666
- @ProxyCmp({
1667
- inputs: ['compactDesign', 'expandableRows', 'horizontalScrollWidth', 'modeVariant', 'multiselect', 'noMinWidth', 'responsive', 'tableId', 'verticalDividers', 'zebraMode'],
1668
- methods: ['getSelectedRows']
1669
- })
1670
- @Component({
1671
- selector: 'tds-table',
1672
- changeDetection: ChangeDetectionStrategy.OnPush,
1673
- template: '<ng-content></ng-content>',
1674
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1675
- inputs: ['compactDesign', 'expandableRows', 'horizontalScrollWidth', 'modeVariant', 'multiselect', 'noMinWidth', 'responsive', 'tableId', 'verticalDividers', 'zebraMode'],
1676
- })
1677
- export class TdsTable {
1678
- protected el: HTMLElement;
1679
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1680
- c.detach();
1681
- this.el = r.nativeElement;
1682
- }
1683
- }
1684
-
1685
-
1686
- export declare interface TdsTable extends Components.TdsTable {}
1687
-
1688
-
1689
- @ProxyCmp({
1690
- })
1691
- @Component({
1692
- selector: 'tds-table-body',
1693
- changeDetection: ChangeDetectionStrategy.OnPush,
1694
- template: '<ng-content></ng-content>',
1695
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1696
- inputs: [],
1697
- })
1698
- export class TdsTableBody {
1699
- protected el: HTMLElement;
1700
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1701
- c.detach();
1702
- this.el = r.nativeElement;
1703
- }
1704
- }
1705
-
1706
-
1707
- export declare interface TdsTableBody extends Components.TdsTableBody {}
1708
-
1709
-
1710
- @ProxyCmp({
1711
- inputs: ['showIcon']
1712
- })
1713
- @Component({
1714
- selector: 'tds-table-body-input-wrapper',
1715
- changeDetection: ChangeDetectionStrategy.OnPush,
1716
- template: '<ng-content></ng-content>',
1717
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1718
- inputs: ['showIcon'],
1719
- })
1720
- export class TdsTableBodyInputWrapper {
1721
- protected el: HTMLElement;
1722
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1723
- c.detach();
1724
- this.el = r.nativeElement;
1725
- }
1726
- }
1727
-
1728
-
1729
- export declare interface TdsTableBodyInputWrapper extends Components.TdsTableBodyInputWrapper {}
1730
-
1731
-
1732
- @ProxyCmp({
1733
- inputs: ['clickable', 'disabled', 'selected']
1734
- })
1735
- @Component({
1736
- selector: 'tds-table-body-row',
1737
- changeDetection: ChangeDetectionStrategy.OnPush,
1738
- template: '<ng-content></ng-content>',
1739
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1740
- inputs: ['clickable', 'disabled', 'selected'],
1741
- })
1742
- export class TdsTableBodyRow {
1743
- protected el: HTMLElement;
1744
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1745
- c.detach();
1746
- this.el = r.nativeElement;
1747
- proxyOutputs(this, this.el, ['tdsSelect', 'tdsClick']);
1748
- }
1749
- }
1750
-
1751
-
1752
- export declare interface TdsTableBodyRow extends Components.TdsTableBodyRow {
1753
- /**
1754
- * Event emitted when a row is selected/deselected.
1755
- */
1756
- tdsSelect: EventEmitter<CustomEvent<{ tableId: string; checked: boolean; selectedRows: any[]; }>>;
1757
- /**
1758
- * Event emitted when a row is clicked.
1759
- */
1760
- tdsClick: EventEmitter<CustomEvent<{ event: MouseEvent; tableId: string; rowIndex: number; }>>;
1761
- }
1762
-
1763
-
1764
- @ProxyCmp({
1765
- inputs: ['autoCollapse', 'colSpan', 'expanded', 'overflow', 'rowId'],
1766
- methods: ['expand', 'collapse']
1767
- })
1768
- @Component({
1769
- selector: 'tds-table-body-row-expandable',
1770
- changeDetection: ChangeDetectionStrategy.OnPush,
1771
- template: '<ng-content></ng-content>',
1772
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1773
- inputs: ['autoCollapse', 'colSpan', 'expanded', 'overflow', 'rowId'],
1774
- })
1775
- export class TdsTableBodyRowExpandable {
1776
- protected el: HTMLElement;
1777
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1778
- c.detach();
1779
- this.el = r.nativeElement;
1780
- proxyOutputs(this, this.el, ['tdsChange']);
1781
- }
1782
- }
1783
-
1784
-
1785
- export declare interface TdsTableBodyRowExpandable extends Components.TdsTableBodyRowExpandable {
1786
- /**
1787
- * Sends unique table row identifier and isExpanded status when it is expanded/collapsed.
1788
- */
1789
- tdsChange: EventEmitter<CustomEvent<{ rowId: string; isExpanded: boolean; tableId: string; }>>;
1790
- }
1791
-
1792
-
1793
- @ProxyCmp({
1794
- inputs: ['cols', 'pages', 'pagination', 'paginationValue', 'rowsPerPageValues', 'rowsperpage']
1795
- })
1796
- @Component({
1797
- selector: 'tds-table-footer',
1798
- changeDetection: ChangeDetectionStrategy.OnPush,
1799
- template: '<ng-content></ng-content>',
1800
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1801
- inputs: ['cols', 'pages', 'pagination', 'paginationValue', 'rowsPerPageValues', 'rowsperpage'],
1802
- })
1803
- export class TdsTableFooter {
1804
- protected el: HTMLElement;
1805
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1806
- c.detach();
1807
- this.el = r.nativeElement;
1808
- proxyOutputs(this, this.el, ['tdsPagination']);
1809
- }
1810
- }
1811
-
1812
-
1813
- export declare interface TdsTableFooter extends Components.TdsTableFooter {
1814
- /**
1815
- * Event to send current page value to tds-table-body component, can also be listened to in order to implement custom pagination logic.
1816
- */
1817
- tdsPagination: EventEmitter<CustomEvent<{ tableId: string; paginationValue: number; rowsPerPage?: number; }>>;
1818
- }
1819
-
1820
-
1821
- @ProxyCmp({
1822
- inputs: ['allSelected', 'disabled', 'indeterminate', 'selected']
1823
- })
1824
- @Component({
1825
- selector: 'tds-table-header',
1826
- changeDetection: ChangeDetectionStrategy.OnPush,
1827
- template: '<ng-content></ng-content>',
1828
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1829
- inputs: ['allSelected', 'disabled', 'indeterminate', 'selected'],
1830
- })
1831
- export class TdsTableHeader {
1832
- protected el: HTMLElement;
1833
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1834
- c.detach();
1835
- this.el = r.nativeElement;
1836
- proxyOutputs(this, this.el, ['tdsSelectAll']);
1837
- }
1838
- }
1839
-
1840
-
1841
- export declare interface TdsTableHeader extends Components.TdsTableHeader {
1842
- /**
1843
- * Event emitted when the status of the select all checkbox changes.
1844
- */
1845
- tdsSelectAll: EventEmitter<CustomEvent<{ tableId: string; checked: boolean; selectedRows: any[]; }>>;
1846
- }
1847
-
1848
-
1849
- @ProxyCmp({
1850
- inputs: ['compactDesign', 'showIcon']
1851
- })
1852
- @Component({
1853
- selector: 'tds-table-header-input-wrapper',
1854
- changeDetection: ChangeDetectionStrategy.OnPush,
1855
- template: '<ng-content></ng-content>',
1856
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1857
- inputs: ['compactDesign', 'showIcon'],
1858
- })
1859
- export class TdsTableHeaderInputWrapper {
1860
- protected el: HTMLElement;
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 TdsTableHeaderInputWrapper extends Components.TdsTableHeaderInputWrapper {}
1869
-
1870
-
1871
- @ProxyCmp({
1872
- inputs: ['filter', 'tableTitle']
1873
- })
1874
- @Component({
1875
- selector: 'tds-table-toolbar',
1876
- changeDetection: ChangeDetectionStrategy.OnPush,
1877
- template: '<ng-content></ng-content>',
1878
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1879
- inputs: ['filter', 'tableTitle'],
1880
- })
1881
- export class TdsTableToolbar {
1882
- protected el: HTMLElement;
1883
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1884
- c.detach();
1885
- this.el = r.nativeElement;
1886
- proxyOutputs(this, this.el, ['tdsFilter']);
1887
- }
1888
- }
1889
-
1890
-
1891
- export declare interface TdsTableToolbar extends Components.TdsTableToolbar {
1892
- /**
1893
- * Used for sending users' input to the main parent tds-table the component,
1894
- can also be listened to in order to implement custom sorting logic.
1895
- */
1896
- tdsFilter: EventEmitter<CustomEvent<{ tableId: string; query: string; }>>;
1897
- }
1898
-
1899
-
1900
- @ProxyCmp({
1901
- inputs: ['autofocus', 'disabled', 'helper', 'label', 'labelPosition', 'max', 'maxLength', 'min', 'modeVariant', 'name', 'noMinWidth', 'placeholder', 'readOnly', 'size', 'state', 'type', 'value']
1902
- })
1903
- @Component({
1904
- selector: 'tds-text-field',
1905
- changeDetection: ChangeDetectionStrategy.OnPush,
1906
- template: '<ng-content></ng-content>',
1907
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1908
- inputs: ['autofocus', 'disabled', 'helper', 'label', 'labelPosition', 'max', 'maxLength', 'min', 'modeVariant', 'name', 'noMinWidth', 'placeholder', 'readOnly', 'size', 'state', 'type', 'value'],
1909
- })
1910
- export class TdsTextField {
1911
- protected el: HTMLElement;
1912
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1913
- c.detach();
1914
- this.el = r.nativeElement;
1915
- proxyOutputs(this, this.el, ['tdsChange', 'tdsInput', 'tdsFocus', 'tdsBlur']);
1916
- }
1917
- }
1918
-
1919
-
1920
- export declare interface TdsTextField extends Components.TdsTextField {
1921
- /**
1922
- * Change event for the Text Field
1923
- */
1924
- tdsChange: EventEmitter<CustomEvent<any>>;
1925
- /**
1926
- * Input event for the Text Field
1927
- */
1928
- tdsInput: EventEmitter<CustomEvent<InputEvent>>;
1929
- /**
1930
- * Focus event for the Text Field
1931
- */
1932
- tdsFocus: EventEmitter<CustomEvent<FocusEvent>>;
1933
- /**
1934
- * Blur event for the Text Field
1935
- */
1936
- tdsBlur: EventEmitter<CustomEvent<FocusEvent>>;
1937
- }
1938
-
1939
-
1940
- @ProxyCmp({
1941
- inputs: ['autofocus', 'cols', 'disabled', 'helper', 'label', 'labelPosition', 'maxLength', 'modeVariant', 'name', 'noMinWidth', 'placeholder', 'readOnly', 'rows', 'state', 'value']
1942
- })
1943
- @Component({
1944
- selector: 'tds-textarea',
1945
- changeDetection: ChangeDetectionStrategy.OnPush,
1946
- template: '<ng-content></ng-content>',
1947
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1948
- inputs: ['autofocus', 'cols', 'disabled', 'helper', 'label', 'labelPosition', 'maxLength', 'modeVariant', 'name', 'noMinWidth', 'placeholder', 'readOnly', 'rows', 'state', 'value'],
1949
- })
1950
- export class TdsTextarea {
1951
- protected el: HTMLElement;
1952
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1953
- c.detach();
1954
- this.el = r.nativeElement;
1955
- proxyOutputs(this, this.el, ['tdsChange', 'tdsBlur', 'tdsInput', 'tdsFocus']);
1956
- }
1957
- }
1958
-
1959
-
1960
- export declare interface TdsTextarea extends Components.TdsTextarea {
1961
- /**
1962
- * Change event for the Textarea
1963
- */
1964
- tdsChange: EventEmitter<CustomEvent<any>>;
1965
- /**
1966
- * Blur event for the Textarea
1967
- */
1968
- tdsBlur: EventEmitter<CustomEvent<FocusEvent>>;
1969
- /**
1970
- * Input event for the Textarea
1971
- */
1972
- tdsInput: EventEmitter<CustomEvent<InputEvent>>;
1973
- /**
1974
- * Focus event for the Textarea
1975
- */
1976
- tdsFocus: EventEmitter<CustomEvent<FocusEvent>>;
1977
- }
1978
-
1979
-
1980
- @ProxyCmp({
1981
- inputs: ['closable', 'header', 'hidden', 'subheader', 'toastId', 'toastRole', 'variant'],
1982
- methods: ['hideToast', 'showToast']
1983
- })
1984
- @Component({
1985
- selector: 'tds-toast',
1986
- changeDetection: ChangeDetectionStrategy.OnPush,
1987
- template: '<ng-content></ng-content>',
1988
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1989
- inputs: ['closable', 'header', 'hidden', 'subheader', 'toastId', 'toastRole', 'variant'],
1990
- })
1991
- export class TdsToast {
1992
- protected el: HTMLElement;
1993
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1994
- c.detach();
1995
- this.el = r.nativeElement;
1996
- proxyOutputs(this, this.el, ['tdsClose']);
1997
- }
1998
- }
1999
-
2000
-
2001
- export declare interface TdsToast extends Components.TdsToast {
2002
- /**
2003
- * Sends unique Toast identifier when component is closed.
2004
- */
2005
- tdsClose: EventEmitter<CustomEvent<{ toastId: string; }>>;
2006
- }
2007
-
2008
-
2009
- @ProxyCmp({
2010
- inputs: ['checked', 'disabled', 'headline', 'name', 'required', 'size', 'toggleId'],
2011
- methods: ['toggle']
2012
- })
2013
- @Component({
2014
- selector: 'tds-toggle',
2015
- changeDetection: ChangeDetectionStrategy.OnPush,
2016
- template: '<ng-content></ng-content>',
2017
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2018
- inputs: ['checked', 'disabled', 'headline', 'name', 'required', 'size', 'toggleId'],
2019
- })
2020
- export class TdsToggle {
2021
- protected el: HTMLElement;
2022
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2023
- c.detach();
2024
- this.el = r.nativeElement;
2025
- proxyOutputs(this, this.el, ['tdsToggle']);
2026
- }
2027
- }
2028
-
2029
-
2030
- export declare interface TdsToggle extends Components.TdsToggle {
2031
- /**
2032
- * Sends unique Toggle identifier and status when it is toggled.
2033
- */
2034
- tdsToggle: EventEmitter<CustomEvent<{ toggleId: string; checked: boolean; }>>;
2035
- }
2036
-
2037
-
2038
- @ProxyCmp({
2039
- inputs: ['defaultShow', 'mouseOverTooltip', 'offsetDistance', 'offsetSkidding', 'placement', 'referenceEl', 'selector', 'show', 'text', 'trigger']
2040
- })
2041
- @Component({
2042
- selector: 'tds-tooltip',
2043
- changeDetection: ChangeDetectionStrategy.OnPush,
2044
- template: '<ng-content></ng-content>',
2045
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2046
- inputs: ['defaultShow', 'mouseOverTooltip', 'offsetDistance', 'offsetSkidding', 'placement', 'referenceEl', 'selector', 'show', 'text', 'trigger'],
2047
- })
2048
- export class TdsTooltip {
2049
- protected el: HTMLElement;
2050
- constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2051
- c.detach();
2052
- this.el = r.nativeElement;
2053
- }
2054
- }
2055
-
2056
-
2057
- export declare interface TdsTooltip extends Components.TdsTooltip {}
2058
-
2059
-