@beeq/angular 1.8.0-beta.9 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +32 -15
  2. package/eslint.config.js +45 -0
  3. package/jest.config.ts +21 -0
  4. package/ng-package.json +8 -0
  5. package/package.json +20 -39
  6. package/project.json +41 -0
  7. package/scripts/fix-value-accessor-path.ts +94 -0
  8. package/src/beeq.module.ts +41 -0
  9. package/src/directives/angular-component-lib/utils.ts +65 -0
  10. package/src/directives/boolean-value-accessor.ts +27 -0
  11. package/src/directives/components.ts +2621 -0
  12. package/src/directives/index.ts +47 -0
  13. package/src/directives/number-value-accessor.ts +29 -0
  14. package/src/directives/radio-value-accessor.ts +24 -0
  15. package/src/directives/select-value-accessor.ts +24 -0
  16. package/src/directives/text-value-accessor.ts +24 -0
  17. package/src/directives/value-accessor.ts +39 -0
  18. package/src/index.ts +15 -0
  19. package/src/test-setup.ts +1 -0
  20. package/standalone/ng-package.json +5 -0
  21. package/standalone/src/directives/angular-component-lib/utils.ts +65 -0
  22. package/standalone/src/directives/boolean-value-accessor.ts +27 -0
  23. package/standalone/src/directives/components.ts +1479 -0
  24. package/standalone/src/directives/index.ts +47 -0
  25. package/standalone/src/directives/number-value-accessor.ts +29 -0
  26. package/standalone/src/directives/radio-value-accessor.ts +24 -0
  27. package/standalone/src/directives/select-value-accessor.ts +24 -0
  28. package/standalone/src/directives/text-value-accessor.ts +24 -0
  29. package/standalone/src/directives/value-accessor.ts +39 -0
  30. package/{index.d.ts → standalone/src/index.ts} +4 -1
  31. package/tsconfig.json +19 -0
  32. package/tsconfig.lib.json +12 -0
  33. package/tsconfig.lib.prod.json +18 -0
  34. package/tsconfig.spec.json +10 -0
  35. package/beeq.module.d.ts +0 -15
  36. package/directives/angular-component-lib/utils.d.ts +0 -9
  37. package/directives/boolean-value-accessor.d.ts +0 -9
  38. package/directives/components.d.ts +0 -784
  39. package/directives/index.d.ts +0 -2
  40. package/directives/number-value-accessor.d.ts +0 -9
  41. package/directives/radio-value-accessor.d.ts +0 -8
  42. package/directives/select-value-accessor.d.ts +0 -8
  43. package/directives/text-value-accessor.d.ts +0 -8
  44. package/directives/value-accessor.d.ts +0 -18
  45. package/esm2022/beeq-angular.mjs +0 -5
  46. package/esm2022/beeq.module.mjs +0 -59
  47. package/esm2022/directives/angular-component-lib/utils.mjs +0 -59
  48. package/esm2022/directives/boolean-value-accessor.mjs +0 -38
  49. package/esm2022/directives/components.mjs +0 -1221
  50. package/esm2022/directives/index.mjs +0 -46
  51. package/esm2022/directives/number-value-accessor.mjs +0 -40
  52. package/esm2022/directives/radio-value-accessor.mjs +0 -35
  53. package/esm2022/directives/select-value-accessor.mjs +0 -35
  54. package/esm2022/directives/text-value-accessor.mjs +0 -35
  55. package/esm2022/directives/value-accessor.mjs +0 -42
  56. package/esm2022/index.mjs +0 -14
  57. package/esm2022/standalone/beeq-angular-standalone.mjs +0 -5
  58. package/esm2022/standalone/directives/angular-component-lib/utils.mjs +0 -59
  59. package/esm2022/standalone/directives/boolean-value-accessor.mjs +0 -38
  60. package/esm2022/standalone/directives/components.mjs +0 -1349
  61. package/esm2022/standalone/directives/number-value-accessor.mjs +0 -40
  62. package/esm2022/standalone/directives/radio-value-accessor.mjs +0 -35
  63. package/esm2022/standalone/directives/select-value-accessor.mjs +0 -35
  64. package/esm2022/standalone/directives/text-value-accessor.mjs +0 -35
  65. package/esm2022/standalone/directives/value-accessor.mjs +0 -42
  66. package/esm2022/standalone/index.mjs +0 -10
  67. package/fesm2022/beeq-angular-standalone.mjs +0 -1578
  68. package/fesm2022/beeq-angular-standalone.mjs.map +0 -1
  69. package/fesm2022/beeq-angular.mjs +0 -1545
  70. package/fesm2022/beeq-angular.mjs.map +0 -1
  71. package/standalone/directives/angular-component-lib/utils.d.ts +0 -9
  72. package/standalone/directives/boolean-value-accessor.d.ts +0 -9
  73. package/standalone/directives/components.d.ts +0 -784
  74. package/standalone/directives/number-value-accessor.d.ts +0 -9
  75. package/standalone/directives/radio-value-accessor.d.ts +0 -8
  76. package/standalone/directives/select-value-accessor.d.ts +0 -8
  77. package/standalone/directives/text-value-accessor.d.ts +0 -8
  78. package/standalone/directives/value-accessor.d.ts +0 -18
  79. package/standalone/index.d.ts +0 -6
@@ -0,0 +1,2621 @@
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 '@beeq/core';
8
+
9
+
10
+ @ProxyCmp({
11
+ inputs: ['appearance', 'disabled', 'expanded', 'noAnimation', 'rotate', 'size']
12
+ })
13
+ @Component({
14
+ selector: 'bq-accordion',
15
+ changeDetection: ChangeDetectionStrategy.OnPush,
16
+ template: '<ng-content></ng-content>',
17
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
18
+ inputs: ['appearance', 'disabled', 'expanded', 'noAnimation', 'rotate', 'size'],
19
+ })
20
+ export class BqAccordion {
21
+ protected el: HTMLBqAccordionElement;
22
+ /**
23
+ * The appearance style of the Accordion
24
+ */
25
+ set appearance(_: Components.BqAccordion['appearance']) {};
26
+ /**
27
+ * If true, the Accordion is disabled
28
+ */
29
+ set disabled(_: Components.BqAccordion['disabled']) {};
30
+ /**
31
+ * If true, the Accordion is expanded
32
+ */
33
+ set expanded(_: Components.BqAccordion['expanded']) {};
34
+ /**
35
+ * Animation is set through JS when the browser does not support CSS calc-size()
36
+ If true, the Accordion animation, will be disabled. No animation will be applied.
37
+ */
38
+ set noAnimation(_: Components.BqAccordion['noAnimation']) {};
39
+ /**
40
+ * If true, the Accordion expand icon is rotate 180deg when expanded
41
+ */
42
+ set rotate(_: Components.BqAccordion['rotate']) {};
43
+ /**
44
+ * The size of the Accordion
45
+ */
46
+ set size(_: Components.BqAccordion['size']) {};
47
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
48
+ c.detach();
49
+ this.el = r.nativeElement;
50
+ proxyOutputs(this, this.el, ['bqBlur', 'bqFocus', 'bqOpen', 'bqAfterOpen', 'bqClose', 'bqAfterClose', 'bqClick']);
51
+ }
52
+ }
53
+
54
+
55
+ export declare interface BqAccordion extends Components.BqAccordion {
56
+ /**
57
+ * Handler to be called when the accordion loses focus
58
+ */
59
+ bqBlur: EventEmitter<CustomEvent<HTMLBqAccordionElement>>;
60
+ /**
61
+ * Handler to be called when the accordion gets focus
62
+ */
63
+ bqFocus: EventEmitter<CustomEvent<HTMLBqAccordionElement>>;
64
+ /**
65
+ * Handler to be called when the accordion is opened
66
+ */
67
+ bqOpen: EventEmitter<CustomEvent<HTMLBqAccordionElement>>;
68
+ /**
69
+ * Handler to be called after the accordion is opened
70
+ */
71
+ bqAfterOpen: EventEmitter<CustomEvent<HTMLBqAccordionElement>>;
72
+ /**
73
+ * Handler to be called when the accordion is closed
74
+ */
75
+ bqClose: EventEmitter<CustomEvent<HTMLBqAccordionElement>>;
76
+ /**
77
+ * Handler to be called after the accordion is closed
78
+ */
79
+ bqAfterClose: EventEmitter<CustomEvent<HTMLBqAccordionElement>>;
80
+ /**
81
+ * Handler to be called when the accordion is clicked
82
+ */
83
+ bqClick: EventEmitter<CustomEvent<HTMLBqAccordionElement>>;
84
+ }
85
+
86
+
87
+ @ProxyCmp({
88
+ inputs: ['appearance', 'expandAll', 'multiple', 'noAnimation', 'size']
89
+ })
90
+ @Component({
91
+ selector: 'bq-accordion-group',
92
+ changeDetection: ChangeDetectionStrategy.OnPush,
93
+ template: '<ng-content></ng-content>',
94
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
95
+ inputs: ['appearance', 'expandAll', 'multiple', 'noAnimation', 'size'],
96
+ })
97
+ export class BqAccordionGroup {
98
+ protected el: HTMLBqAccordionGroupElement;
99
+ /**
100
+ * The appearance style of accordion to be applied to all accordions
101
+ */
102
+ set appearance(_: Components.BqAccordionGroup['appearance']) {};
103
+ /**
104
+ * If true all accordions are expanded
105
+ */
106
+ set expandAll(_: Components.BqAccordionGroup['expandAll']) {};
107
+ /**
108
+ * Animation is set through JS when the browser does not support CSS calc-size()
109
+ If true, the accordion animation, will be disabled. No animation will be applied.
110
+ */
111
+ set noAnimation(_: Components.BqAccordionGroup['noAnimation']) {};
112
+ /**
113
+ * If true multiple accordions can be expanded at the same time
114
+ */
115
+ set multiple(_: Components.BqAccordionGroup['multiple']) {};
116
+ /**
117
+ * The size of accordion to be applied to all accordions
118
+ */
119
+ set size(_: Components.BqAccordionGroup['size']) {};
120
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
121
+ c.detach();
122
+ this.el = r.nativeElement;
123
+ }
124
+ }
125
+
126
+
127
+ export declare interface BqAccordionGroup extends Components.BqAccordionGroup {}
128
+
129
+
130
+ @ProxyCmp({
131
+ inputs: ['autoDismiss', 'border', 'disableClose', 'hideIcon', 'open', 'sticky', 'time', 'type'],
132
+ methods: ['hide', 'show']
133
+ })
134
+ @Component({
135
+ selector: 'bq-alert',
136
+ changeDetection: ChangeDetectionStrategy.OnPush,
137
+ template: '<ng-content></ng-content>',
138
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
139
+ inputs: ['autoDismiss', 'border', 'disableClose', 'hideIcon', 'open', 'sticky', 'time', 'type'],
140
+ })
141
+ export class BqAlert {
142
+ protected el: HTMLBqAlertElement;
143
+ /**
144
+ * If true, the alert will automatically hide after the specified amount of time
145
+ */
146
+ set autoDismiss(_: Components.BqAlert['autoDismiss']) {};
147
+ /**
148
+ * The corner radius of the alert component
149
+ */
150
+ set border(_: Components.BqAlert['border']) {};
151
+ /**
152
+ * If true, the close button at the top right of the alert won't be shown
153
+ */
154
+ set disableClose(_: Components.BqAlert['disableClose']) {};
155
+ /**
156
+ * If true, the alert icon won't be shown
157
+ */
158
+ set hideIcon(_: Components.BqAlert['hideIcon']) {};
159
+ /**
160
+ * If true, the alert will be shown
161
+ */
162
+ set open(_: Components.BqAlert['open']) {};
163
+ /**
164
+ * The length of time, in milliseconds, after which the alert will close itself. Only valid if `autoDismiss="true"`
165
+ */
166
+ set time(_: Components.BqAlert['time']) {};
167
+ /**
168
+ * Type of Alert
169
+ */
170
+ set type(_: Components.BqAlert['type']) {};
171
+ /**
172
+ * If true, the alert component will remain fixed at the top of the page, occupying the full viewport
173
+ */
174
+ set sticky(_: Components.BqAlert['sticky']) {};
175
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
176
+ c.detach();
177
+ this.el = r.nativeElement;
178
+ proxyOutputs(this, this.el, ['bqHide', 'bqShow', 'bqAfterShow', 'bqAfterHide']);
179
+ }
180
+ }
181
+
182
+
183
+ export declare interface BqAlert extends Components.BqAlert {
184
+ /**
185
+ * Callback handler to be called when the alert is hidden
186
+ */
187
+ bqHide: EventEmitter<CustomEvent<any>>;
188
+ /**
189
+ * Callback handler to be called when the alert is shown
190
+ */
191
+ bqShow: EventEmitter<CustomEvent<any>>;
192
+ /**
193
+ * Callback handler to be called after the alert has been shown
194
+ */
195
+ bqAfterShow: EventEmitter<CustomEvent<any>>;
196
+ /**
197
+ * Callback handler to be called after the alert has been hidden
198
+ */
199
+ bqAfterHide: EventEmitter<CustomEvent<any>>;
200
+ }
201
+
202
+
203
+ @ProxyCmp({
204
+ inputs: ['altText', 'image', 'initials', 'label', 'shape', 'size']
205
+ })
206
+ @Component({
207
+ selector: 'bq-avatar',
208
+ changeDetection: ChangeDetectionStrategy.OnPush,
209
+ template: '<ng-content></ng-content>',
210
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
211
+ inputs: ['altText', 'image', 'initials', 'label', 'shape', 'size'],
212
+ })
213
+ export class BqAvatar {
214
+ protected el: HTMLBqAvatarElement;
215
+ /**
216
+ * Alternate text for the avatar image if the image cannot be displayed
217
+ */
218
+ set altText(_: Components.BqAvatar['altText']) {};
219
+ /**
220
+ * The image source to load on the avatar (this can be also a base64 encoded image)
221
+ */
222
+ set image(_: Components.BqAvatar['image']) {};
223
+ /**
224
+ * A text to use for describing the avatar on assistive devices
225
+ */
226
+ set label(_: Components.BqAvatar['label']) {};
227
+ /**
228
+ * The text to display on avatar
229
+ */
230
+ set initials(_: Components.BqAvatar['initials']) {};
231
+ /**
232
+ * The shape of the avatar
233
+ */
234
+ set shape(_: Components.BqAvatar['shape']) {};
235
+ /**
236
+ * The size of the avatar
237
+ */
238
+ set size(_: Components.BqAvatar['size']) {};
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 BqAvatar extends Components.BqAvatar {}
247
+
248
+
249
+ @ProxyCmp({
250
+ inputs: ['backgroundColor', 'size', 'textColor']
251
+ })
252
+ @Component({
253
+ selector: 'bq-badge',
254
+ changeDetection: ChangeDetectionStrategy.OnPush,
255
+ template: '<ng-content></ng-content>',
256
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
257
+ inputs: ['backgroundColor', 'size', 'textColor'],
258
+ })
259
+ export class BqBadge {
260
+ protected el: HTMLBqBadgeElement;
261
+ /**
262
+ * Badge background color. The value should be a valid value of the palette color
263
+ */
264
+ set backgroundColor(_: Components.BqBadge['backgroundColor']) {};
265
+ /**
266
+ * Badge number color. The value should be a valid value of the palette color
267
+ */
268
+ set textColor(_: Components.BqBadge['textColor']) {};
269
+ /**
270
+ * The size of the badge. Relevant if badge has no content.
271
+ */
272
+ set size(_: Components.BqBadge['size']) {};
273
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
274
+ c.detach();
275
+ this.el = r.nativeElement;
276
+ }
277
+ }
278
+
279
+
280
+ export declare interface BqBadge extends Components.BqBadge {}
281
+
282
+
283
+ @ProxyCmp({
284
+ inputs: ['label']
285
+ })
286
+ @Component({
287
+ selector: 'bq-breadcrumb',
288
+ changeDetection: ChangeDetectionStrategy.OnPush,
289
+ template: '<ng-content></ng-content>',
290
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
291
+ inputs: ['label'],
292
+ })
293
+ export class BqBreadcrumb {
294
+ protected el: HTMLBqBreadcrumbElement;
295
+ /**
296
+ * The `aria-label` attribute to describe the type of navigation
297
+ */
298
+ set label(_: Components.BqBreadcrumb['label']) {};
299
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
300
+ c.detach();
301
+ this.el = r.nativeElement;
302
+ }
303
+ }
304
+
305
+
306
+ export declare interface BqBreadcrumb extends Components.BqBreadcrumb {}
307
+
308
+
309
+ @ProxyCmp({
310
+ inputs: ['href', 'rel', 'target']
311
+ })
312
+ @Component({
313
+ selector: 'bq-breadcrumb-item',
314
+ changeDetection: ChangeDetectionStrategy.OnPush,
315
+ template: '<ng-content></ng-content>',
316
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
317
+ inputs: ['href', 'rel', 'target'],
318
+ })
319
+ export class BqBreadcrumbItem {
320
+ protected el: HTMLBqBreadcrumbItemElement;
321
+ /**
322
+ * If set, the breadcrumb item will be rendered as an `<a>` with this `href`, otherwise, a `<button>` will be rendered.
323
+ */
324
+ set href(_: Components.BqBreadcrumbItem['href']) {};
325
+ /**
326
+ * Where to display the link in the browser context. Relevant only if `href` is set.
327
+ */
328
+ set target(_: Components.BqBreadcrumbItem['target']) {};
329
+ /**
330
+ * Where to display the link in the browser context. Relevant only if `href` is set.
331
+ */
332
+ set rel(_: Components.BqBreadcrumbItem['rel']) {};
333
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
334
+ c.detach();
335
+ this.el = r.nativeElement;
336
+ proxyOutputs(this, this.el, ['bqBlur', 'bqFocus', 'bqClick']);
337
+ }
338
+ }
339
+
340
+
341
+ export declare interface BqBreadcrumbItem extends Components.BqBreadcrumbItem {
342
+ /**
343
+ * Handler to be called when item loses focus
344
+ */
345
+ bqBlur: EventEmitter<CustomEvent<HTMLBqBreadcrumbItemElement>>;
346
+ /**
347
+ * Handler to be called when item is focused
348
+ */
349
+ bqFocus: EventEmitter<CustomEvent<HTMLBqBreadcrumbItemElement>>;
350
+ /**
351
+ * Handler to be called when item is clicked
352
+ */
353
+ bqClick: EventEmitter<CustomEvent<HTMLBqBreadcrumbItemElement>>;
354
+ }
355
+
356
+
357
+ @ProxyCmp({
358
+ inputs: ['appearance', 'block', 'border', 'disabled', 'download', 'href', 'justifyContent', 'loading', 'size', 'target', 'type', 'variant']
359
+ })
360
+ @Component({
361
+ selector: 'bq-button',
362
+ changeDetection: ChangeDetectionStrategy.OnPush,
363
+ template: '<ng-content></ng-content>',
364
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
365
+ inputs: ['appearance', 'block', 'border', 'disabled', 'download', 'href', 'justifyContent', 'loading', 'size', 'target', 'type', 'variant'],
366
+ })
367
+ export class BqButton {
368
+ protected el: HTMLBqButtonElement;
369
+ /**
370
+ * The appearance style to apply to the button
371
+ */
372
+ set appearance(_: Components.BqButton['appearance']) {};
373
+ /**
374
+ * If `true`, it will make the button fit to its parent width.
375
+ */
376
+ set block(_: Components.BqButton['block']) {};
377
+ /**
378
+ * The corner radius of the button
379
+ */
380
+ set border(_: Components.BqButton['border']) {};
381
+ /**
382
+ * If true, the button will be disabled (no interaction allowed)
383
+ */
384
+ set disabled(_: Components.BqButton['disabled']) {};
385
+ /**
386
+ * Tells the browser to treat the linked URL as a download. Only used when `href` is set.
387
+ Details: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
388
+ */
389
+ set download(_: Components.BqButton['download']) {};
390
+ /**
391
+ * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`
392
+ */
393
+ set href(_: Components.BqButton['href']) {};
394
+ /**
395
+ * It determinate how the content should be aligned
396
+ */
397
+ set justifyContent(_: Components.BqButton['justifyContent']) {};
398
+ /**
399
+ * If `true` it will display the button in a loading state
400
+ */
401
+ set loading(_: Components.BqButton['loading']) {};
402
+ /**
403
+ * The size of the button
404
+ */
405
+ set size(_: Components.BqButton['size']) {};
406
+ /**
407
+ * Where to display the linked URL, as the name for a browsing context (a `tab`, `window`, or `<iframe>`)
408
+ Details: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
409
+ */
410
+ set target(_: Components.BqButton['target']) {};
411
+ /**
412
+ * The default behavior of the button
413
+ */
414
+ set type(_: Components.BqButton['type']) {};
415
+ /**
416
+ * The variant of button to apply on top of the appearance (applicable only to `appearance="primary"`)
417
+ */
418
+ set variant(_: Components.BqButton['variant']) {};
419
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
420
+ c.detach();
421
+ this.el = r.nativeElement;
422
+ proxyOutputs(this, this.el, ['bqBlur', 'bqFocus', 'bqClick']);
423
+ }
424
+ }
425
+
426
+
427
+ export declare interface BqButton extends Components.BqButton {
428
+ /**
429
+ * Handler to be called when the button loses focus
430
+ */
431
+ bqBlur: EventEmitter<CustomEvent<HTMLBqButtonElement>>;
432
+ /**
433
+ * Handler to be called when the button is clicked
434
+ */
435
+ bqFocus: EventEmitter<CustomEvent<HTMLBqButtonElement>>;
436
+ /**
437
+ * Handler to be called when button gets focus
438
+ */
439
+ bqClick: EventEmitter<CustomEvent<HTMLBqButtonElement>>;
440
+ }
441
+
442
+
443
+ @ProxyCmp({
444
+ inputs: ['border', 'type']
445
+ })
446
+ @Component({
447
+ selector: 'bq-card',
448
+ changeDetection: ChangeDetectionStrategy.OnPush,
449
+ template: '<ng-content></ng-content>',
450
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
451
+ inputs: ['border', 'type'],
452
+ })
453
+ export class BqCard {
454
+ protected el: HTMLBqCardElement;
455
+ /**
456
+ * Type of card component
457
+ */
458
+ set type(_: Components.BqCard['type']) {};
459
+ /**
460
+ * The corner radius of the card component
461
+ */
462
+ set border(_: Components.BqCard['border']) {};
463
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
464
+ c.detach();
465
+ this.el = r.nativeElement;
466
+ }
467
+ }
468
+
469
+
470
+ export declare interface BqCard extends Components.BqCard {}
471
+
472
+
473
+ @ProxyCmp({
474
+ inputs: ['backgroundOnHover', 'checked', 'disabled', 'formId', 'formValidationMessage', 'indeterminate', 'name', 'required', 'value'],
475
+ methods: ['vClick', 'vFocus', 'vBlur']
476
+ })
477
+ @Component({
478
+ selector: 'bq-checkbox',
479
+ changeDetection: ChangeDetectionStrategy.OnPush,
480
+ template: '<ng-content></ng-content>',
481
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
482
+ inputs: ['backgroundOnHover', 'checked', 'disabled', 'formId', 'formValidationMessage', 'indeterminate', 'name', 'required', 'value'],
483
+ })
484
+ export class BqCheckbox {
485
+ protected el: HTMLBqCheckboxElement;
486
+ /**
487
+ * If true checkbox displays background on hover
488
+ */
489
+ set backgroundOnHover(_: Components.BqCheckbox['backgroundOnHover']) {};
490
+ /**
491
+ * The form ID that the checkbox is associated with
492
+ */
493
+ set formId(_: Components.BqCheckbox['formId']) {};
494
+ /**
495
+ * The native form validation message
496
+ */
497
+ set formValidationMessage(_: Components.BqCheckbox['formValidationMessage']) {};
498
+ /**
499
+ * If true checkbox is checked
500
+ */
501
+ set checked(_: Components.BqCheckbox['checked']) {};
502
+ /**
503
+ * If true checkbox is disabled
504
+ */
505
+ set disabled(_: Components.BqCheckbox['disabled']) {};
506
+ /**
507
+ * A state that is neither checked nor unchecked
508
+ */
509
+ set indeterminate(_: Components.BqCheckbox['indeterminate']) {};
510
+ /**
511
+ * Name of the HTML input form control. Submitted with the form as part of a name/value pair.
512
+ */
513
+ set name(_: Components.BqCheckbox['name']) {};
514
+ /**
515
+ * If `true`, it will indicate that the user must specify a value for the checkbox before the owning form can be submitted
516
+ */
517
+ set required(_: Components.BqCheckbox['required']) {};
518
+ /**
519
+ * A string representing the value of the checkbox. Primarily used to differentiate a list of related checkboxes that have the same name.
520
+ */
521
+ set value(_: Components.BqCheckbox['value']) {};
522
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
523
+ c.detach();
524
+ this.el = r.nativeElement;
525
+ proxyOutputs(this, this.el, ['bqChange', 'bqFocus', 'bqBlur']);
526
+ }
527
+ }
528
+
529
+
530
+ export declare interface BqCheckbox extends Components.BqCheckbox {
531
+ /**
532
+ * Handler to be called when the checkbox state changes
533
+ */
534
+ bqChange: EventEmitter<CustomEvent<{ checked: boolean }>>;
535
+ /**
536
+ * Handler to be called when the checkbox gets focus
537
+ */
538
+ bqFocus: EventEmitter<CustomEvent<HTMLBqCheckboxElement>>;
539
+ /**
540
+ * Handler to be called when the checkbox loses focus
541
+ */
542
+ bqBlur: EventEmitter<CustomEvent<HTMLBqCheckboxElement>>;
543
+ }
544
+
545
+
546
+ @ProxyCmp({
547
+ inputs: ['autofocus', 'clearButtonLabel', 'disableClear', 'disabled', 'distance', 'firstDayOfWeek', 'form', 'formValidationMessage', 'formatOptions', 'isDateDisallowed', 'locale', 'max', 'min', 'months', 'monthsPerView', 'name', 'open', 'panelHeight', 'placeholder', 'placement', 'required', 'showOutsideDays', 'skidding', 'strategy', 'tentative', 'type', 'validationStatus', 'value'],
548
+ methods: ['clear']
549
+ })
550
+ @Component({
551
+ selector: 'bq-date-picker',
552
+ changeDetection: ChangeDetectionStrategy.OnPush,
553
+ template: '<ng-content></ng-content>',
554
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
555
+ inputs: ['autofocus', 'clearButtonLabel', 'disableClear', 'disabled', 'distance', 'firstDayOfWeek', 'form', 'formValidationMessage', 'formatOptions', 'isDateDisallowed', 'locale', 'max', 'min', 'months', 'monthsPerView', 'name', 'open', 'panelHeight', 'placeholder', 'placement', 'required', 'showOutsideDays', 'skidding', 'strategy', 'tentative', 'type', 'validationStatus', 'value'],
556
+ })
557
+ export class BqDatePicker {
558
+ protected el: HTMLBqDatePickerElement;
559
+ /**
560
+ * If `true`, the Date picker input will be focused on component render
561
+ */
562
+ set autofocus(_: Components.BqDatePicker['autofocus']) {};
563
+ /**
564
+ * The clear button aria label
565
+ */
566
+ set clearButtonLabel(_: Components.BqDatePicker['clearButtonLabel']) {};
567
+ /**
568
+ * If `true`, the clear button won't be displayed
569
+ */
570
+ set disableClear(_: Components.BqDatePicker['disableClear']) {};
571
+ /**
572
+ * Indicates whether the Date picker input is disabled or not.
573
+ If `true`, the Date picker is disabled and cannot be interacted with.
574
+ */
575
+ set disabled(_: Components.BqDatePicker['disabled']) {};
576
+ /**
577
+ * Represents the distance (gutter or margin) between the Date picker panel and the input element.
578
+ */
579
+ set distance(_: Components.BqDatePicker['distance']) {};
580
+ /**
581
+ * The first day of the week, where Sunday is 0, Monday is 1, etc
582
+ */
583
+ set firstDayOfWeek(_: Components.BqDatePicker['firstDayOfWeek']) {};
584
+ /**
585
+ * The options to use when formatting the displayed value.
586
+ Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
587
+ */
588
+ set formatOptions(_: Components.BqDatePicker['formatOptions']) {};
589
+ /**
590
+ * The ID of the form that the Date picker input belongs to.
591
+ */
592
+ set form(_: Components.BqDatePicker['form']) {};
593
+ /**
594
+ * The native form validation message (mandatory if `required` is set)
595
+ */
596
+ set formValidationMessage(_: Components.BqDatePicker['formValidationMessage']) {};
597
+ /**
598
+ * A function that takes a date and returns true if the date should not be selectable
599
+ */
600
+ set isDateDisallowed(_: Components.BqDatePicker['isDateDisallowed']) {};
601
+ /**
602
+ * The locale for formatting dates. If not set, will use the browser's locale.
603
+ Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
604
+ */
605
+ set locale(_: Components.BqDatePicker['locale']) {};
606
+ /**
607
+ * The latest date that can be selected
608
+ */
609
+ set max(_: Components.BqDatePicker['max']) {};
610
+ /**
611
+ * The earliest date that can be selected
612
+ */
613
+ set min(_: Components.BqDatePicker['min']) {};
614
+ /**
615
+ * Number of months to show when range is `true`
616
+ */
617
+ set months(_: Components.BqDatePicker['months']) {};
618
+ /**
619
+ * Specifies how the next/previous buttons should navigate the calendar.
620
+ - single: The buttons will navigate by a single month at a time.
621
+ - months: The buttons will navigate by the number of months displayed per view.
622
+ */
623
+ set monthsPerView(_: Components.BqDatePicker['monthsPerView']) {};
624
+ /**
625
+ * The Date picker input name.
626
+ */
627
+ set name(_: Components.BqDatePicker['name']) {};
628
+ /**
629
+ * If `true`, the Date picker panel will be visible.
630
+ */
631
+ set open(_: Components.BqDatePicker['open']) {};
632
+ /**
633
+ * When set, it will override the height of the Date picker panel.
634
+ */
635
+ set panelHeight(_: Components.BqDatePicker['panelHeight']) {};
636
+ /**
637
+ * The Date picker input placeholder text value
638
+ */
639
+ set placeholder(_: Components.BqDatePicker['placeholder']) {};
640
+ /**
641
+ * Position of the Date picker panel
642
+ */
643
+ set placement(_: Components.BqDatePicker['placement']) {};
644
+ /**
645
+ * Indicates whether or not the Date picker input is required to be filled out before submitting the form.
646
+ */
647
+ set required(_: Components.BqDatePicker['required']) {};
648
+ /**
649
+ * Represents the skidding between the Date picker panel and the input element.
650
+ */
651
+ set skidding(_: Components.BqDatePicker['skidding']) {};
652
+ /**
653
+ * Whether to show days outside the month
654
+ */
655
+ set showOutsideDays(_: Components.BqDatePicker['showOutsideDays']) {};
656
+ /**
657
+ * Defines the strategy to position the Date picker panel
658
+ */
659
+ set strategy(_: Components.BqDatePicker['strategy']) {};
660
+ /**
661
+ * The date that is tentatively selected e.g. the start of a range selection
662
+ */
663
+ set tentative(_: Components.BqDatePicker['tentative']) {};
664
+ /**
665
+ * It defines how the calendar will behave, allowing single date selection, range selection, or multiple date selection
666
+ */
667
+ set type(_: Components.BqDatePicker['type']) {};
668
+ /**
669
+ * The validation status of the Select input. @remarks This property is used to indicate the validation status of the select input. It can be set to one of the following values:
670
+ - `'none'`: No validation status is set.
671
+ - `'error'`: The input has a validation error.
672
+ - `'warning'`: The input has a validation warning.
673
+ - `'success'`: The input has passed validation.
674
+ */
675
+ set validationStatus(_: Components.BqDatePicker['validationStatus']) {};
676
+ /**
677
+ * The select input value represents the currently selected date or range and can be used to reset the field to a previous value.
678
+ All dates are expected in ISO-8601 format (YYYY-MM-DD).
679
+ */
680
+ set value(_: Components.BqDatePicker['value']) {};
681
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
682
+ c.detach();
683
+ this.el = r.nativeElement;
684
+ proxyOutputs(this, this.el, ['bqBlur', 'bqChange', 'bqClear', 'bqFocus']);
685
+ }
686
+ }
687
+
688
+
689
+ export declare interface BqDatePicker extends Components.BqDatePicker {
690
+ /**
691
+ * Callback handler emitted when the input loses focus
692
+ */
693
+ bqBlur: EventEmitter<CustomEvent<HTMLBqDatePickerElement>>;
694
+ /**
695
+ * Callback handler emitted when the input value has changed and the input loses focus.
696
+ This handler is called whenever the user finishes typing or pasting text into the input field and then clicks outside of the input field.
697
+ */
698
+ bqChange: EventEmitter<CustomEvent<{ value: string; el: HTMLBqDatePickerElement }>>;
699
+ /**
700
+ * Callback handler emitted when the input value has been cleared
701
+ */
702
+ bqClear: EventEmitter<CustomEvent<HTMLBqDatePickerElement>>;
703
+ /**
704
+ * Callback handler emitted when the input has received focus
705
+ */
706
+ bqFocus: EventEmitter<CustomEvent<HTMLBqDatePickerElement>>;
707
+ }
708
+
709
+
710
+ @ProxyCmp({
711
+ inputs: ['border', 'disableBackdrop', 'disableCloseClickOutside', 'disableCloseEscKeydown', 'footerAppearance', 'hideCloseButton', 'open', 'size'],
712
+ methods: ['show', 'hide', 'cancel']
713
+ })
714
+ @Component({
715
+ selector: 'bq-dialog',
716
+ changeDetection: ChangeDetectionStrategy.OnPush,
717
+ template: '<ng-content></ng-content>',
718
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
719
+ inputs: ['border', 'disableBackdrop', 'disableCloseClickOutside', 'disableCloseEscKeydown', 'footerAppearance', 'hideCloseButton', 'open', 'size'],
720
+ })
721
+ export class BqDialog {
722
+ protected el: HTMLBqDialogElement;
723
+ /**
724
+ * Border radius of the dialog component
725
+ */
726
+ set border(_: Components.BqDialog['border']) {};
727
+ /**
728
+ * If true, the backdrop overlay won't be shown when the dialog opens
729
+ */
730
+ set disableBackdrop(_: Components.BqDialog['disableBackdrop']) {};
731
+ /**
732
+ * If true, the dialog will not close when the [Esc] key is press
733
+ */
734
+ set disableCloseEscKeydown(_: Components.BqDialog['disableCloseEscKeydown']) {};
735
+ /**
736
+ * If true, the dialog will not close when clicking on the backdrop overlay
737
+ */
738
+ set disableCloseClickOutside(_: Components.BqDialog['disableCloseClickOutside']) {};
739
+ /**
740
+ * The appearance of footer
741
+ */
742
+ set footerAppearance(_: Components.BqDialog['footerAppearance']) {};
743
+ /**
744
+ * If true, it hides the close button
745
+ */
746
+ set hideCloseButton(_: Components.BqDialog['hideCloseButton']) {};
747
+ /**
748
+ * If true, the dialog will be shown as open
749
+ */
750
+ set open(_: Components.BqDialog['open']) {};
751
+ /**
752
+ * The size of the dialog
753
+ */
754
+ set size(_: Components.BqDialog['size']) {};
755
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
756
+ c.detach();
757
+ this.el = r.nativeElement;
758
+ proxyOutputs(this, this.el, ['bqCancel', 'bqClose', 'bqOpen', 'bqAfterOpen', 'bqAfterClose']);
759
+ }
760
+ }
761
+
762
+
763
+ export declare interface BqDialog extends Components.BqDialog {
764
+ /**
765
+ * Callback handler emitted when the dialog has been canceled or dismissed
766
+ */
767
+ bqCancel: EventEmitter<CustomEvent<void>>;
768
+ /**
769
+ * Callback handler emitted when the dialog will close
770
+ */
771
+ bqClose: EventEmitter<CustomEvent<void>>;
772
+ /**
773
+ * Callback handler emitted when the dialog will open
774
+ */
775
+ bqOpen: EventEmitter<CustomEvent<void>>;
776
+ /**
777
+ * Callback handler emitted when the dialog finish opening
778
+ */
779
+ bqAfterOpen: EventEmitter<CustomEvent<void>>;
780
+ /**
781
+ * Callback handler emitted when the dialog finish closing
782
+ */
783
+ bqAfterClose: EventEmitter<CustomEvent<void>>;
784
+ }
785
+
786
+
787
+ @ProxyCmp({
788
+ inputs: ['dashed', 'orientation', 'strokeBasis', 'strokeColor', 'strokeDashGap', 'strokeDashWidth', 'strokeLinecap', 'strokeThickness', 'titleAlignment']
789
+ })
790
+ @Component({
791
+ selector: 'bq-divider',
792
+ changeDetection: ChangeDetectionStrategy.OnPush,
793
+ template: '<ng-content></ng-content>',
794
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
795
+ inputs: ['dashed', 'orientation', 'strokeBasis', 'strokeColor', 'strokeDashGap', 'strokeDashWidth', 'strokeLinecap', 'strokeThickness', 'titleAlignment'],
796
+ })
797
+ export class BqDivider {
798
+ protected el: HTMLBqDividerElement;
799
+ /**
800
+ * If true, the divider has a dashed pattern
801
+ */
802
+ set dashed(_: Components.BqDivider['dashed']) {};
803
+ /**
804
+ * The default orientation of the divider
805
+ */
806
+ set orientation(_: Components.BqDivider['orientation']) {};
807
+ /**
808
+ * Set the stroke color of the divider. The value should be a valid value of the palette color
809
+ */
810
+ set strokeColor(_: Components.BqDivider['strokeColor']) {};
811
+ /**
812
+ * Set the alignment of the title on the main axis of the divider (horizontal / vertical)
813
+ */
814
+ set titleAlignment(_: Components.BqDivider['titleAlignment']) {};
815
+ /**
816
+ * Set the width of each dash of the divider's stroke. This is applicable when the stroke is dashed
817
+ */
818
+ set strokeDashWidth(_: Components.BqDivider['strokeDashWidth']) {};
819
+ /**
820
+ * Set the gap of the divider's stroke. This is applicable when the stroke is dashed
821
+ */
822
+ set strokeDashGap(_: Components.BqDivider['strokeDashGap']) {};
823
+ /**
824
+ * Set the thickness of the divider's stroke. Value expressed in px
825
+ */
826
+ set strokeThickness(_: Components.BqDivider['strokeThickness']) {};
827
+ /**
828
+ * Set the min width of the divider's stroke when text is not centered. Value expressed in px
829
+ */
830
+ set strokeBasis(_: Components.BqDivider['strokeBasis']) {};
831
+ /**
832
+ * Set the line of the divider's stroke. This is applicable when the stroke is dashed
833
+ */
834
+ set strokeLinecap(_: Components.BqDivider['strokeLinecap']) {};
835
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
836
+ c.detach();
837
+ this.el = r.nativeElement;
838
+ }
839
+ }
840
+
841
+
842
+ export declare interface BqDivider extends Components.BqDivider {}
843
+
844
+
845
+ @ProxyCmp({
846
+ inputs: ['closeOnClickOutside', 'closeOnEsc', 'enableBackdrop', 'open', 'placement', 'position'],
847
+ methods: ['hide', 'show']
848
+ })
849
+ @Component({
850
+ selector: 'bq-drawer',
851
+ changeDetection: ChangeDetectionStrategy.OnPush,
852
+ template: '<ng-content></ng-content>',
853
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
854
+ inputs: ['closeOnClickOutside', 'closeOnEsc', 'enableBackdrop', 'open', 'placement', 'position'],
855
+ })
856
+ export class BqDrawer {
857
+ protected el: HTMLBqDrawerElement;
858
+ /**
859
+ * If true, the backdrop overlay will be shown when the drawer opens
860
+ */
861
+ set enableBackdrop(_: Components.BqDrawer['enableBackdrop']) {};
862
+ /**
863
+ * If true, the drawer will not close when clicking outside the panel
864
+ */
865
+ set closeOnClickOutside(_: Components.BqDrawer['closeOnClickOutside']) {};
866
+ /**
867
+ * If true, the dialog will not close when the [Esc] key is pressed
868
+ */
869
+ set closeOnEsc(_: Components.BqDrawer['closeOnEsc']) {};
870
+ /**
871
+ * If true, the drawer component will be shown
872
+ */
873
+ set open(_: Components.BqDrawer['open']) {};
874
+ /**
875
+ * @deprecated Defines the position of the drawer
876
+ */
877
+ set placement(_: Components.BqDrawer['placement']) {};
878
+ /**
879
+ * Defines the position of the drawer
880
+ */
881
+ set position(_: Components.BqDrawer['position']) {};
882
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
883
+ c.detach();
884
+ this.el = r.nativeElement;
885
+ proxyOutputs(this, this.el, ['bqClose', 'bqOpen', 'bqAfterOpen', 'bqAfterClose']);
886
+ }
887
+ }
888
+
889
+
890
+ export declare interface BqDrawer extends Components.BqDrawer {
891
+ /**
892
+ * Callback handler to be called when the drawer is closed
893
+ */
894
+ bqClose: EventEmitter<CustomEvent<any>>;
895
+ /**
896
+ * Callback handler to be called when the drawer is opened
897
+ */
898
+ bqOpen: EventEmitter<CustomEvent<any>>;
899
+ /**
900
+ * Callback handler to be called after the drawer has been opened
901
+ */
902
+ bqAfterOpen: EventEmitter<CustomEvent<any>>;
903
+ /**
904
+ * Callback handler to be called after the drawer has been closed
905
+ */
906
+ bqAfterClose: EventEmitter<CustomEvent<any>>;
907
+ }
908
+
909
+
910
+ @ProxyCmp({
911
+ inputs: ['disabled', 'distance', 'keepOpenOnSelect', 'open', 'panelHeight', 'placement', 'sameWidth', 'skidding', 'strategy']
912
+ })
913
+ @Component({
914
+ selector: 'bq-dropdown',
915
+ changeDetection: ChangeDetectionStrategy.OnPush,
916
+ template: '<ng-content></ng-content>',
917
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
918
+ inputs: ['disabled', 'distance', 'keepOpenOnSelect', 'open', 'panelHeight', 'placement', 'sameWidth', 'skidding', 'strategy'],
919
+ })
920
+ export class BqDropdown {
921
+ protected el: HTMLBqDropdownElement;
922
+ /**
923
+ * If true, the dropdown panel will be visible and won't be shown.
924
+ */
925
+ set disabled(_: Components.BqDropdown['disabled']) {};
926
+ /**
927
+ * Represents the distance (gutter or margin) between the panel and the trigger element.
928
+ */
929
+ set distance(_: Components.BqDropdown['distance']) {};
930
+ /**
931
+ * If true, the panel will remain open after a selection is made.
932
+ */
933
+ set keepOpenOnSelect(_: Components.BqDropdown['keepOpenOnSelect']) {};
934
+ /**
935
+ * Position of the panel
936
+ */
937
+ set placement(_: Components.BqDropdown['placement']) {};
938
+ /**
939
+ * If true, the panel will be visible.
940
+ */
941
+ set open(_: Components.BqDropdown['open']) {};
942
+ /**
943
+ * When set, it will override the height of the dropdown panel
944
+ */
945
+ set panelHeight(_: Components.BqDropdown['panelHeight']) {};
946
+ /**
947
+ * Whether the panel should have the same width as the trigger element
948
+ */
949
+ set sameWidth(_: Components.BqDropdown['sameWidth']) {};
950
+ /**
951
+ * Represents the skidding between the panel and the trigger element.
952
+ */
953
+ set skidding(_: Components.BqDropdown['skidding']) {};
954
+ /**
955
+ * Defines the strategy to position the panel
956
+ */
957
+ set strategy(_: Components.BqDropdown['strategy']) {};
958
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
959
+ c.detach();
960
+ this.el = r.nativeElement;
961
+ proxyOutputs(this, this.el, ['bqOpen']);
962
+ }
963
+ }
964
+
965
+
966
+ export declare interface BqDropdown extends Components.BqDropdown {
967
+ /**
968
+ * Callback handler to be called when the dropdown panel is opened or closed.
969
+ */
970
+ bqOpen: EventEmitter<CustomEvent<{ open: boolean }>>;
971
+ }
972
+
973
+
974
+ @ProxyCmp({
975
+ inputs: ['size']
976
+ })
977
+ @Component({
978
+ selector: 'bq-empty-state',
979
+ changeDetection: ChangeDetectionStrategy.OnPush,
980
+ template: '<ng-content></ng-content>',
981
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
982
+ inputs: ['size'],
983
+ })
984
+ export class BqEmptyState {
985
+ protected el: HTMLBqEmptyStateElement;
986
+ /**
987
+ * The size of the empty state component
988
+ */
989
+ set size(_: Components.BqEmptyState['size']) {};
990
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
991
+ c.detach();
992
+ this.el = r.nativeElement;
993
+ }
994
+ }
995
+
996
+
997
+ export declare interface BqEmptyState extends Components.BqEmptyState {}
998
+
999
+
1000
+ @ProxyCmp({
1001
+ inputs: ['color', 'label', 'name', 'size', 'src', 'weight']
1002
+ })
1003
+ @Component({
1004
+ selector: 'bq-icon',
1005
+ changeDetection: ChangeDetectionStrategy.OnPush,
1006
+ template: '<ng-content></ng-content>',
1007
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1008
+ inputs: ['color', 'label', 'name', 'size', 'src', 'weight'],
1009
+ })
1010
+ export class BqIcon {
1011
+ protected el: HTMLBqIconElement;
1012
+ /**
1013
+ * Label for the icon, used for accessibility
1014
+ */
1015
+ set label(_: Components.BqIcon['label']) {};
1016
+ /**
1017
+ * Set the stroke color of the SVG. The value should be a valid value of the palette color
1018
+ */
1019
+ set color(_: Components.BqIcon['color']) {};
1020
+ /**
1021
+ * Icon name to load. Please check all available icons [here](https://phosphoricons.com/)
1022
+ */
1023
+ set name(_: Components.BqIcon['name']) {};
1024
+ /**
1025
+ * Set the size of the SVG
1026
+ */
1027
+ set size(_: Components.BqIcon['size']) {};
1028
+ /**
1029
+ * Set the source of the SVG. If the source is set, the name property will be ignored
1030
+ */
1031
+ set src(_: Components.BqIcon['src']) {};
1032
+ /**
1033
+ * @deprecated It set the icon weight/style
1034
+ */
1035
+ set weight(_: Components.BqIcon['weight']) {};
1036
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1037
+ c.detach();
1038
+ this.el = r.nativeElement;
1039
+ proxyOutputs(this, this.el, ['svgLoaded']);
1040
+ }
1041
+ }
1042
+
1043
+
1044
+ export declare interface BqIcon extends Components.BqIcon {
1045
+ /**
1046
+ * Callback handler to be called when the SVG has loaded
1047
+ */
1048
+ svgLoaded: EventEmitter<CustomEvent<any>>;
1049
+ }
1050
+
1051
+
1052
+ @ProxyCmp({
1053
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearButtonLabel', 'debounceTime', 'disableClear', 'disabled', 'form', 'formValidationMessage', 'inputmode', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'step', 'type', 'validationStatus', 'value']
1054
+ })
1055
+ @Component({
1056
+ selector: 'bq-input',
1057
+ changeDetection: ChangeDetectionStrategy.OnPush,
1058
+ template: '<ng-content></ng-content>',
1059
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1060
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearButtonLabel', 'debounceTime', 'disableClear', 'disabled', 'form', 'formValidationMessage', 'inputmode', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'step', 'type', 'validationStatus', 'value'],
1061
+ })
1062
+ export class BqInput {
1063
+ protected el: HTMLBqInputElement;
1064
+ /**
1065
+ * Controls whether or not the input field should be capitalized and how.
1066
+ Possible values are 'off', 'none', 'on', 'sentences', 'words', and 'characters'.
1067
+ See: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize
1068
+ */
1069
+ set autocapitalize(_: Components.BqInput['autocapitalize']) {};
1070
+ /**
1071
+ * Specifies whether or not the input field should have autocomplete enabled.
1072
+ See: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values
1073
+ */
1074
+ set autocomplete(_: Components.BqInput['autocomplete']) {};
1075
+ /**
1076
+ * Controls whether or not the input field should have autocorrect enabled.
1077
+ Possible values are 'on' and 'off'.
1078
+ */
1079
+ set autocorrect(_: Components.BqInput['autocorrect']) {};
1080
+ /**
1081
+ * If true, the input will be focused on component render
1082
+ */
1083
+ set autofocus(_: Components.BqInput['autofocus']) {};
1084
+ /**
1085
+ * The clear button aria label
1086
+ */
1087
+ set clearButtonLabel(_: Components.BqInput['clearButtonLabel']) {};
1088
+ /**
1089
+ * The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the input value changes.
1090
+ A value of 0 means no debouncing will occur.
1091
+ */
1092
+ set debounceTime(_: Components.BqInput['debounceTime']) {};
1093
+ /**
1094
+ * Indicates whether the input is disabled or not.
1095
+ If `true`, the input is disabled and cannot be interacted with.
1096
+ */
1097
+ set disabled(_: Components.BqInput['disabled']) {};
1098
+ /**
1099
+ * If true, the clear button won't be displayed
1100
+ */
1101
+ set disableClear(_: Components.BqInput['disableClear']) {};
1102
+ /**
1103
+ * The ID of the form that the input field belongs to.
1104
+ */
1105
+ set form(_: Components.BqInput['form']) {};
1106
+ /**
1107
+ * The native form validation message (mandatory if `required` is set)
1108
+ */
1109
+ set formValidationMessage(_: Components.BqInput['formValidationMessage']) {};
1110
+ /**
1111
+ * The inputmode attribute specifies what kind of input mechanism would be most helpful for users entering content into the input field.
1112
+ This allows a browser to display an appropriate virtual keyboard while editing.
1113
+ Possible values are 'none', 'text', 'decimal', 'numeric', 'tel', 'search', 'email', 'url', and 'date'.
1114
+ */
1115
+ set inputmode(_: Components.BqInput['inputmode']) {};
1116
+ /**
1117
+ * The maximum value that the input field can accept.
1118
+ Only applies to date and number input types.
1119
+ */
1120
+ set max(_: Components.BqInput['max']) {};
1121
+ /**
1122
+ * The maximum number of characters that the input field can accept.
1123
+ */
1124
+ set maxlength(_: Components.BqInput['maxlength']) {};
1125
+ /**
1126
+ * The minimum value that the input field can accept.
1127
+ Only applies to date and number input types.
1128
+ */
1129
+ set min(_: Components.BqInput['min']) {};
1130
+ /**
1131
+ * The minimum number of characters that the input field can accept.
1132
+ */
1133
+ set minlength(_: Components.BqInput['minlength']) {};
1134
+ /**
1135
+ * The input field name.
1136
+ */
1137
+ set name(_: Components.BqInput['name']) {};
1138
+ /**
1139
+ * Specifies a regular expression the form control's value should match.
1140
+ See: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern
1141
+ */
1142
+ set pattern(_: Components.BqInput['pattern']) {};
1143
+ /**
1144
+ * The input placeholder text value
1145
+ */
1146
+ set placeholder(_: Components.BqInput['placeholder']) {};
1147
+ /**
1148
+ * If true, the input field cannot be modified.
1149
+ */
1150
+ set readonly(_: Components.BqInput['readonly']) {};
1151
+ /**
1152
+ * Indicates whether or not the input field is required to be filled out before submitting the form.
1153
+ */
1154
+ set required(_: Components.BqInput['required']) {};
1155
+ /**
1156
+ * A number that specifies the granularity that the value must adhere to.
1157
+ Valid for date, month, week, time, datetime-local, number, and range.
1158
+ See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step
1159
+ */
1160
+ set step(_: Components.BqInput['step']) {};
1161
+ /**
1162
+ * The type attribute specifies the type of input field to display.
1163
+ Possible values are 'text', 'password', 'email', 'number', 'tel', 'search', 'url', and more.
1164
+ See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
1165
+ */
1166
+ set type(_: Components.BqInput['type']) {};
1167
+ /**
1168
+ * The validation status of the input. @remarks This property is used to indicate the validation status of the input. It can be set to one of the following values:
1169
+ - `'none'`: No validation status is set.
1170
+ - `'error'`: The input has a validation error.
1171
+ - `'warning'`: The input has a validation warning.
1172
+ - `'success'`: The input has passed validation.
1173
+ */
1174
+ set validationStatus(_: Components.BqInput['validationStatus']) {};
1175
+ /**
1176
+ * The input value, it can be used to reset the input to a previous value
1177
+ */
1178
+ set value(_: Components.BqInput['value']) {};
1179
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1180
+ c.detach();
1181
+ this.el = r.nativeElement;
1182
+ proxyOutputs(this, this.el, ['bqBlur', 'bqChange', 'bqClear', 'bqFocus', 'bqInput']);
1183
+ }
1184
+ }
1185
+
1186
+
1187
+ export declare interface BqInput extends Components.BqInput {
1188
+ /**
1189
+ * Callback handler emitted when the input loses focus
1190
+ */
1191
+ bqBlur: EventEmitter<CustomEvent<HTMLBqInputElement>>;
1192
+ /**
1193
+ * Callback handler emitted when the input value has changed and the input loses focus.
1194
+ This handler is called whenever the user finishes typing or pasting text into the input field and then clicks outside of the input field.
1195
+ */
1196
+ bqChange: EventEmitter<CustomEvent<{ value: string | number | string[]; el: HTMLBqInputElement }>>;
1197
+ /**
1198
+ * Callback handler emitted when the input value has been cleared
1199
+ */
1200
+ bqClear: EventEmitter<CustomEvent<HTMLBqInputElement>>;
1201
+ /**
1202
+ * Callback handler emitted when the input has received focus
1203
+ */
1204
+ bqFocus: EventEmitter<CustomEvent<HTMLBqInputElement>>;
1205
+ /**
1206
+ * Callback handler emitted when the input value changes.
1207
+ This handler is called whenever the user types or pastes text into the input field.
1208
+ */
1209
+ bqInput: EventEmitter<CustomEvent<{ value: string | number | string[]; el: HTMLBqInputElement }>>;
1210
+ }
1211
+
1212
+
1213
+ @ProxyCmp({
1214
+ inputs: ['autoDismiss', 'border', 'disableClose', 'hideIcon', 'open', 'time', 'type'],
1215
+ methods: ['hide', 'show', 'toast']
1216
+ })
1217
+ @Component({
1218
+ selector: 'bq-notification',
1219
+ changeDetection: ChangeDetectionStrategy.OnPush,
1220
+ template: '<ng-content></ng-content>',
1221
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1222
+ inputs: ['autoDismiss', 'border', 'disableClose', 'hideIcon', 'open', 'time', 'type'],
1223
+ })
1224
+ export class BqNotification {
1225
+ protected el: HTMLBqNotificationElement;
1226
+ /**
1227
+ * If true, the notification will automatically hide after the specified amount of time
1228
+ */
1229
+ set autoDismiss(_: Components.BqNotification['autoDismiss']) {};
1230
+ /**
1231
+ * The corder radius of the notification component
1232
+ */
1233
+ set border(_: Components.BqNotification['border']) {};
1234
+ /**
1235
+ * If true, the close button at the top right of the notification won't be shown
1236
+ */
1237
+ set disableClose(_: Components.BqNotification['disableClose']) {};
1238
+ /**
1239
+ * If true, the notification icon won't be shown
1240
+ */
1241
+ set hideIcon(_: Components.BqNotification['hideIcon']) {};
1242
+ /**
1243
+ * If true, the notification will be shown
1244
+ */
1245
+ set open(_: Components.BqNotification['open']) {};
1246
+ /**
1247
+ * The length of time, in milliseconds, after which the notification will close itself. Only valid if `autoDismiss="true"`
1248
+ */
1249
+ set time(_: Components.BqNotification['time']) {};
1250
+ /**
1251
+ * Type of Notification
1252
+ */
1253
+ set type(_: Components.BqNotification['type']) {};
1254
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1255
+ c.detach();
1256
+ this.el = r.nativeElement;
1257
+ proxyOutputs(this, this.el, ['bqHide', 'bqShow', 'bqAfterOpen', 'bqAfterClose']);
1258
+ }
1259
+ }
1260
+
1261
+
1262
+ export declare interface BqNotification extends Components.BqNotification {
1263
+ /**
1264
+ * Callback handler to be called when the notification is hidden
1265
+ */
1266
+ bqHide: EventEmitter<CustomEvent<any>>;
1267
+ /**
1268
+ * Callback handler to be called when the notification is shown
1269
+ */
1270
+ bqShow: EventEmitter<CustomEvent<any>>;
1271
+ /**
1272
+ * Callback handler to be called after the notification has been opened
1273
+ */
1274
+ bqAfterOpen: EventEmitter<CustomEvent<any>>;
1275
+ /**
1276
+ * Callback handler to be called after the notification has been closed
1277
+ */
1278
+ bqAfterClose: EventEmitter<CustomEvent<any>>;
1279
+ }
1280
+
1281
+
1282
+ @ProxyCmp({
1283
+ inputs: ['disabled', 'hidden', 'selected', 'value']
1284
+ })
1285
+ @Component({
1286
+ selector: 'bq-option',
1287
+ changeDetection: ChangeDetectionStrategy.OnPush,
1288
+ template: '<ng-content></ng-content>',
1289
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1290
+ inputs: ['disabled', 'hidden', 'selected', 'value'],
1291
+ })
1292
+ export class BqOption {
1293
+ protected el: HTMLBqOptionElement;
1294
+ /**
1295
+ * If true, the option is hidden.
1296
+ */
1297
+ set hidden(_: Components.BqOption['hidden']) {};
1298
+ /**
1299
+ * If true, the option is disabled.
1300
+ */
1301
+ set disabled(_: Components.BqOption['disabled']) {};
1302
+ /**
1303
+ * A string representing the value of the option. Can be used to identify the item
1304
+ */
1305
+ set value(_: Components.BqOption['value']) {};
1306
+ /**
1307
+ * If true, the option is selected and active.
1308
+ */
1309
+ set selected(_: Components.BqOption['selected']) {};
1310
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1311
+ c.detach();
1312
+ this.el = r.nativeElement;
1313
+ proxyOutputs(this, this.el, ['bqBlur', 'bqFocus', 'bqClick', 'bqEnter']);
1314
+ }
1315
+ }
1316
+
1317
+
1318
+ export declare interface BqOption extends Components.BqOption {
1319
+ /**
1320
+ * Handler to be called when item loses focus
1321
+ */
1322
+ bqBlur: EventEmitter<CustomEvent<HTMLBqOptionElement>>;
1323
+ /**
1324
+ * Handler to be called when item is focused
1325
+ */
1326
+ bqFocus: EventEmitter<CustomEvent<HTMLBqOptionElement>>;
1327
+ /**
1328
+ * Handler to be called when item is clicked
1329
+ */
1330
+ bqClick: EventEmitter<CustomEvent<HTMLBqOptionElement>>;
1331
+ /**
1332
+ * Handler to be called on enter key press
1333
+ */
1334
+ bqEnter: EventEmitter<CustomEvent<HTMLBqOptionElement>>;
1335
+ }
1336
+
1337
+
1338
+ @ProxyCmp({
1339
+ })
1340
+ @Component({
1341
+ selector: 'bq-option-group',
1342
+ changeDetection: ChangeDetectionStrategy.OnPush,
1343
+ template: '<ng-content></ng-content>',
1344
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1345
+ inputs: [],
1346
+ })
1347
+ export class BqOptionGroup {
1348
+ protected el: HTMLBqOptionGroupElement;
1349
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1350
+ c.detach();
1351
+ this.el = r.nativeElement;
1352
+ }
1353
+ }
1354
+
1355
+
1356
+ export declare interface BqOptionGroup extends Components.BqOptionGroup {}
1357
+
1358
+
1359
+ @ProxyCmp({
1360
+ inputs: ['ariaLabel']
1361
+ })
1362
+ @Component({
1363
+ selector: 'bq-option-list',
1364
+ changeDetection: ChangeDetectionStrategy.OnPush,
1365
+ template: '<ng-content></ng-content>',
1366
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1367
+ inputs: ['ariaLabel'],
1368
+ })
1369
+ export class BqOptionList {
1370
+ protected el: HTMLBqOptionListElement;
1371
+ /**
1372
+ * Aria label for the list.
1373
+ */
1374
+ set ariaLabel(_: Components.BqOptionList['ariaLabel']) {};
1375
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1376
+ c.detach();
1377
+ this.el = r.nativeElement;
1378
+ proxyOutputs(this, this.el, ['bqSelect']);
1379
+ }
1380
+ }
1381
+
1382
+
1383
+ export declare interface BqOptionList extends Components.BqOptionList {
1384
+ /**
1385
+ * Handler to be called when `bq-option` is selected (on click/enter press).
1386
+ */
1387
+ bqSelect: EventEmitter<CustomEvent<{ value: string; item: HTMLBqOptionElement }>>;
1388
+ }
1389
+
1390
+
1391
+ @ProxyCmp({
1392
+ })
1393
+ @Component({
1394
+ selector: 'bq-page-title',
1395
+ changeDetection: ChangeDetectionStrategy.OnPush,
1396
+ template: '<ng-content></ng-content>',
1397
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1398
+ inputs: [],
1399
+ })
1400
+ export class BqPageTitle {
1401
+ protected el: HTMLBqPageTitleElement;
1402
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1403
+ c.detach();
1404
+ this.el = r.nativeElement;
1405
+ }
1406
+ }
1407
+
1408
+
1409
+ export declare interface BqPageTitle extends Components.BqPageTitle {}
1410
+
1411
+
1412
+ @ProxyCmp({
1413
+ inputs: ['distance', 'open', 'placement', 'sameWidth', 'skidding', 'strategy']
1414
+ })
1415
+ @Component({
1416
+ selector: 'bq-panel',
1417
+ changeDetection: ChangeDetectionStrategy.OnPush,
1418
+ template: '<ng-content></ng-content>',
1419
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1420
+ inputs: ['distance', 'open', 'placement', 'sameWidth', 'skidding', 'strategy'],
1421
+ })
1422
+ export class BqPanel {
1423
+ protected el: HTMLBqPanelElement;
1424
+ /**
1425
+ * Represents the distance (gutter or margin) between the panel and the trigger element.
1426
+ */
1427
+ set distance(_: Components.BqPanel['distance']) {};
1428
+ /**
1429
+ * Position of the panel
1430
+ */
1431
+ set placement(_: Components.BqPanel['placement']) {};
1432
+ /**
1433
+ * If true, the panel will be visible.
1434
+ */
1435
+ set open(_: Components.BqPanel['open']) {};
1436
+ /**
1437
+ * Whether the panel should have the same width as the trigger element
1438
+ */
1439
+ set sameWidth(_: Components.BqPanel['sameWidth']) {};
1440
+ /**
1441
+ * Represents the skidding between the panel and the trigger element.
1442
+ */
1443
+ set skidding(_: Components.BqPanel['skidding']) {};
1444
+ /**
1445
+ * Defines the strategy to position the panel
1446
+ */
1447
+ set strategy(_: Components.BqPanel['strategy']) {};
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 BqPanel extends Components.BqPanel {}
1456
+
1457
+
1458
+ @ProxyCmp({
1459
+ inputs: ['borderShape', 'enableTooltip', 'indeterminate', 'label', 'thickness', 'type', 'value']
1460
+ })
1461
+ @Component({
1462
+ selector: 'bq-progress',
1463
+ changeDetection: ChangeDetectionStrategy.OnPush,
1464
+ template: '<ng-content></ng-content>',
1465
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1466
+ inputs: ['borderShape', 'enableTooltip', 'indeterminate', 'label', 'thickness', 'type', 'value'],
1467
+ })
1468
+ export class BqProgress {
1469
+ protected el: HTMLBqProgressElement;
1470
+ /**
1471
+ * It will set the border style of the progress bar
1472
+ */
1473
+ set borderShape(_: Components.BqProgress['borderShape']) {};
1474
+ /**
1475
+ * If `true`, a tooltip will be shown displaying the progress value
1476
+ */
1477
+ set enableTooltip(_: Components.BqProgress['enableTooltip']) {};
1478
+ /**
1479
+ * If `true` the indeterminate state of progress bar is enabled
1480
+ */
1481
+ set indeterminate(_: Components.BqProgress['indeterminate']) {};
1482
+ /**
1483
+ * If `true, a label text showing the value (in percentage) will be shown
1484
+ */
1485
+ set label(_: Components.BqProgress['label']) {};
1486
+ /**
1487
+ * Progress bar thickness
1488
+ */
1489
+ set thickness(_: Components.BqProgress['thickness']) {};
1490
+ /**
1491
+ * Progress type
1492
+ */
1493
+ set type(_: Components.BqProgress['type']) {};
1494
+ /**
1495
+ * A number representing the current value of the progress bar
1496
+ */
1497
+ set value(_: Components.BqProgress['value']) {};
1498
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1499
+ c.detach();
1500
+ this.el = r.nativeElement;
1501
+ }
1502
+ }
1503
+
1504
+
1505
+ export declare interface BqProgress extends Components.BqProgress {}
1506
+
1507
+
1508
+ @ProxyCmp({
1509
+ inputs: ['backgroundOnHover', 'checked', 'disabled', 'formId', 'name', 'required', 'value'],
1510
+ methods: ['vClick', 'vFocus', 'vBlur', 'getNativeInput']
1511
+ })
1512
+ @Component({
1513
+ selector: 'bq-radio',
1514
+ changeDetection: ChangeDetectionStrategy.OnPush,
1515
+ template: '<ng-content></ng-content>',
1516
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1517
+ inputs: ['backgroundOnHover', 'checked', 'disabled', 'formId', 'name', 'required', 'value'],
1518
+ })
1519
+ export class BqRadio {
1520
+ protected el: HTMLBqRadioElement;
1521
+ /**
1522
+ * If true radio input is checked
1523
+ */
1524
+ set checked(_: Components.BqRadio['checked']) {};
1525
+ /**
1526
+ * If true radio input is disabled
1527
+ */
1528
+ set disabled(_: Components.BqRadio['disabled']) {};
1529
+ /**
1530
+ * If true radio displays background on hover
1531
+ */
1532
+ set backgroundOnHover(_: Components.BqRadio['backgroundOnHover']) {};
1533
+ /**
1534
+ * The form ID that the radio input is associated with
1535
+ */
1536
+ set formId(_: Components.BqRadio['formId']) {};
1537
+ /**
1538
+ * Name of the HTML input form control. Submitted with the form as part of a name/value pair.
1539
+ */
1540
+ set name(_: Components.BqRadio['name']) {};
1541
+ /**
1542
+ * If `true`, it will indicate that the user must specify a value for the radio before the owning form can be submitted
1543
+ */
1544
+ set required(_: Components.BqRadio['required']) {};
1545
+ /**
1546
+ * A string representing the value of the radio.
1547
+ */
1548
+ set value(_: Components.BqRadio['value']) {};
1549
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1550
+ c.detach();
1551
+ this.el = r.nativeElement;
1552
+ proxyOutputs(this, this.el, ['bqClick', 'bqFocus', 'bqBlur', 'bqKeyDown']);
1553
+ }
1554
+ }
1555
+
1556
+
1557
+ export declare interface BqRadio extends Components.BqRadio {
1558
+ /**
1559
+ * Handler to be called when the radio state changes
1560
+ */
1561
+ bqClick: EventEmitter<CustomEvent<HTMLBqRadioElement>>;
1562
+ /**
1563
+ * Handler to be called when the radio gets focus
1564
+ */
1565
+ bqFocus: EventEmitter<CustomEvent<HTMLBqRadioElement>>;
1566
+ /**
1567
+ * Handler to be called when the radio loses focus
1568
+ */
1569
+ bqBlur: EventEmitter<CustomEvent<HTMLBqRadioElement>>;
1570
+ /**
1571
+ * Handler to be called when the radio key is pressed
1572
+ */
1573
+ bqKeyDown: EventEmitter<CustomEvent<KeyboardEvent>>;
1574
+ }
1575
+
1576
+
1577
+ @ProxyCmp({
1578
+ inputs: ['backgroundOnHover', 'debounceTime', 'disabled', 'fieldset', 'name', 'orientation', 'required', 'requiredValidationMessage', 'value']
1579
+ })
1580
+ @Component({
1581
+ selector: 'bq-radio-group',
1582
+ changeDetection: ChangeDetectionStrategy.OnPush,
1583
+ template: '<ng-content></ng-content>',
1584
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1585
+ inputs: ['backgroundOnHover', 'debounceTime', 'disabled', 'fieldset', 'name', 'orientation', 'required', 'requiredValidationMessage', 'value'],
1586
+ })
1587
+ export class BqRadioGroup {
1588
+ protected el: HTMLBqRadioGroupElement;
1589
+ /**
1590
+ * If true, all radio inputs in the group will display a background on hover
1591
+ */
1592
+ set backgroundOnHover(_: Components.BqRadioGroup['backgroundOnHover']) {};
1593
+ /**
1594
+ * A number representing the delay time (in milliseconds) that `bqChange` event handler gets triggered once the value change
1595
+ */
1596
+ set debounceTime(_: Components.BqRadioGroup['debounceTime']) {};
1597
+ /**
1598
+ * If true radio inputs are disabled
1599
+ */
1600
+ set disabled(_: Components.BqRadioGroup['disabled']) {};
1601
+ /**
1602
+ * If true displays fieldset
1603
+ */
1604
+ set fieldset(_: Components.BqRadioGroup['fieldset']) {};
1605
+ /**
1606
+ * Name of the HTML input form control. Submitted with the form as part of a name/value pair.
1607
+ */
1608
+ set name(_: Components.BqRadioGroup['name']) {};
1609
+ /**
1610
+ * The display orientation of the radio inputs
1611
+ */
1612
+ set orientation(_: Components.BqRadioGroup['orientation']) {};
1613
+ /**
1614
+ * If true, the radio group is required
1615
+ */
1616
+ set required(_: Components.BqRadioGroup['required']) {};
1617
+ /**
1618
+ * The native form validation message when the radio group is required
1619
+ */
1620
+ set requiredValidationMessage(_: Components.BqRadioGroup['requiredValidationMessage']) {};
1621
+ /**
1622
+ * A string representing the value of the radio.
1623
+ */
1624
+ set value(_: Components.BqRadioGroup['value']) {};
1625
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1626
+ c.detach();
1627
+ this.el = r.nativeElement;
1628
+ proxyOutputs(this, this.el, ['bqChange']);
1629
+ }
1630
+ }
1631
+
1632
+
1633
+ export declare interface BqRadioGroup extends Components.BqRadioGroup {
1634
+ /**
1635
+ * Handler to be called when the radio state changes
1636
+ */
1637
+ bqChange: EventEmitter<CustomEvent<{ value: string; target: HTMLBqRadioElement }>>;
1638
+ }
1639
+
1640
+
1641
+ @ProxyCmp({
1642
+ inputs: ['autofocus', 'clearButtonLabel', 'debounceTime', 'disableClear', 'disabled', 'distance', 'form', 'keepOpenOnSelect', 'maxTagsVisible', 'multiple', 'name', 'open', 'panelHeight', 'placeholder', 'placement', 'readonly', 'required', 'sameWidth', 'skidding', 'strategy', 'validationStatus', 'value'],
1643
+ methods: ['clear']
1644
+ })
1645
+ @Component({
1646
+ selector: 'bq-select',
1647
+ changeDetection: ChangeDetectionStrategy.OnPush,
1648
+ template: '<ng-content></ng-content>',
1649
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1650
+ inputs: ['autofocus', 'clearButtonLabel', 'debounceTime', 'disableClear', 'disabled', 'distance', 'form', 'keepOpenOnSelect', 'maxTagsVisible', 'multiple', 'name', 'open', 'panelHeight', 'placeholder', 'placement', 'readonly', 'required', 'sameWidth', 'skidding', 'strategy', 'validationStatus', 'value'],
1651
+ })
1652
+ export class BqSelect {
1653
+ protected el: HTMLBqSelectElement;
1654
+ /**
1655
+ * If true, the Select input will be focused on component render
1656
+ */
1657
+ set autofocus(_: Components.BqSelect['autofocus']) {};
1658
+ /**
1659
+ * The clear button aria label
1660
+ */
1661
+ set clearButtonLabel(_: Components.BqSelect['clearButtonLabel']) {};
1662
+ /**
1663
+ * The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the input value changes.
1664
+ A value of 0 means no debouncing will occur.
1665
+ */
1666
+ set debounceTime(_: Components.BqSelect['debounceTime']) {};
1667
+ /**
1668
+ * Indicates whether the Select input is disabled or not.
1669
+ If `true`, the Select is disabled and cannot be interacted with.
1670
+ */
1671
+ set disabled(_: Components.BqSelect['disabled']) {};
1672
+ /**
1673
+ * If true, the clear button won't be displayed
1674
+ */
1675
+ set disableClear(_: Components.BqSelect['disableClear']) {};
1676
+ /**
1677
+ * Represents the distance (gutter or margin) between the Select panel and the input element.
1678
+ */
1679
+ set distance(_: Components.BqSelect['distance']) {};
1680
+ /**
1681
+ * The ID of the form that the Select input belongs to.
1682
+ */
1683
+ set form(_: Components.BqSelect['form']) {};
1684
+ /**
1685
+ * If true, the Select panel will remain open after a selection is made.
1686
+ */
1687
+ set keepOpenOnSelect(_: Components.BqSelect['keepOpenOnSelect']) {};
1688
+ /**
1689
+ * The Select input name.
1690
+ */
1691
+ set name(_: Components.BqSelect['name']) {};
1692
+ /**
1693
+ * The maximum number of tags to display when multiple selection is enabled
1694
+ */
1695
+ set maxTagsVisible(_: Components.BqSelect['maxTagsVisible']) {};
1696
+ /**
1697
+ * If true, the Select input will allow multiple selections.
1698
+ */
1699
+ set multiple(_: Components.BqSelect['multiple']) {};
1700
+ /**
1701
+ * If true, the Select panel will be visible.
1702
+ */
1703
+ set open(_: Components.BqSelect['open']) {};
1704
+ /**
1705
+ * When set, it will override the height of the Select panel.
1706
+ */
1707
+ set panelHeight(_: Components.BqSelect['panelHeight']) {};
1708
+ /**
1709
+ * The Select input placeholder text value
1710
+ */
1711
+ set placeholder(_: Components.BqSelect['placeholder']) {};
1712
+ /**
1713
+ * Position of the Select panel
1714
+ */
1715
+ set placement(_: Components.BqSelect['placement']) {};
1716
+ /**
1717
+ * If true, the list of options cannot be filtered (searching won't be available)
1718
+ */
1719
+ set readonly(_: Components.BqSelect['readonly']) {};
1720
+ /**
1721
+ * Indicates whether or not the Select input is required to be filled out before submitting the form.
1722
+ */
1723
+ set required(_: Components.BqSelect['required']) {};
1724
+ /**
1725
+ * Whether the panel should have the Select same width as the input element
1726
+ */
1727
+ set sameWidth(_: Components.BqSelect['sameWidth']) {};
1728
+ /**
1729
+ * Represents the skidding between the Select panel and the input element.
1730
+ */
1731
+ set skidding(_: Components.BqSelect['skidding']) {};
1732
+ /**
1733
+ * Defines the strategy to position the Select panel
1734
+ */
1735
+ set strategy(_: Components.BqSelect['strategy']) {};
1736
+ /**
1737
+ * The validation status of the Select input. @remarks This property is used to indicate the validation status of the select input. It can be set to one of the following values:
1738
+ - `'none'`: No validation status is set.
1739
+ - `'error'`: The input has a validation error.
1740
+ - `'warning'`: The input has a validation warning.
1741
+ - `'success'`: The input has passed validation.
1742
+ */
1743
+ set validationStatus(_: Components.BqSelect['validationStatus']) {};
1744
+ /**
1745
+ * The select input value, it can be used to reset the field to a previous value
1746
+ */
1747
+ set value(_: Components.BqSelect['value']) {};
1748
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1749
+ c.detach();
1750
+ this.el = r.nativeElement;
1751
+ proxyOutputs(this, this.el, ['bqBlur', 'bqClear', 'bqFocus', 'bqSelect']);
1752
+ }
1753
+ }
1754
+
1755
+
1756
+ export declare interface BqSelect extends Components.BqSelect {
1757
+ /**
1758
+ * Callback handler emitted when the Select input loses focus
1759
+ */
1760
+ bqBlur: EventEmitter<CustomEvent<HTMLBqSelectElement>>;
1761
+ /**
1762
+ * Callback handler emitted when the selected value has been cleared
1763
+ */
1764
+ bqClear: EventEmitter<CustomEvent<HTMLBqSelectElement>>;
1765
+ /**
1766
+ * Callback handler emitted when the Select input has received focus
1767
+ */
1768
+ bqFocus: EventEmitter<CustomEvent<HTMLBqSelectElement>>;
1769
+ /**
1770
+ * Callback handler emitted when the selected value has changed
1771
+ */
1772
+ bqSelect: EventEmitter<CustomEvent<{ value: string | number | string[]; item: HTMLBqOptionElement }>>;
1773
+ }
1774
+
1775
+
1776
+ @ProxyCmp({
1777
+ inputs: ['appearance', 'collapse', 'size'],
1778
+ methods: ['toggleCollapse']
1779
+ })
1780
+ @Component({
1781
+ selector: 'bq-side-menu',
1782
+ changeDetection: ChangeDetectionStrategy.OnPush,
1783
+ template: '<ng-content></ng-content>',
1784
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1785
+ inputs: ['appearance', 'collapse', 'size'],
1786
+ })
1787
+ export class BqSideMenu {
1788
+ protected el: HTMLBqSideMenuElement;
1789
+ /**
1790
+ * It sets a predefined appearance of the side menu
1791
+ */
1792
+ set appearance(_: Components.BqSideMenu['appearance']) {};
1793
+ /**
1794
+ * If true, the container will reduce its width
1795
+ */
1796
+ set collapse(_: Components.BqSideMenu['collapse']) {};
1797
+ /**
1798
+ * It sets the size of the navigation menu items
1799
+ */
1800
+ set size(_: Components.BqSideMenu['size']) {};
1801
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1802
+ c.detach();
1803
+ this.el = r.nativeElement;
1804
+ proxyOutputs(this, this.el, ['bqCollapse', 'bqSelect']);
1805
+ }
1806
+ }
1807
+
1808
+
1809
+ export declare interface BqSideMenu extends Components.BqSideMenu {
1810
+ /**
1811
+ * Callback handler to be called when the Side menu changes its width from expanded to collapse and vice versa
1812
+ */
1813
+ bqCollapse: EventEmitter<CustomEvent<{ collapse: boolean }>>;
1814
+ /**
1815
+ * Callback handler to be called when the active/selected menu item changes
1816
+ */
1817
+ bqSelect: EventEmitter<CustomEvent<HTMLBqSideMenuItemElement>>;
1818
+ }
1819
+
1820
+
1821
+ @ProxyCmp({
1822
+ inputs: ['active', 'collapse', 'disabled']
1823
+ })
1824
+ @Component({
1825
+ selector: 'bq-side-menu-item',
1826
+ changeDetection: ChangeDetectionStrategy.OnPush,
1827
+ template: '<ng-content></ng-content>',
1828
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1829
+ inputs: ['active', 'collapse', 'disabled'],
1830
+ })
1831
+ export class BqSideMenuItem {
1832
+ protected el: HTMLBqSideMenuItemElement;
1833
+ /**
1834
+ * If true, the menu item will be shown as active/selected.
1835
+ */
1836
+ set active(_: Components.BqSideMenuItem['active']) {};
1837
+ /**
1838
+ * If true, the item label and suffix will be hidden and the with will be reduce according to its parent
1839
+ */
1840
+ set collapse(_: Components.BqSideMenuItem['collapse']) {};
1841
+ /**
1842
+ * If true, the menu item will be disabled (no interaction allowed)
1843
+ */
1844
+ set disabled(_: Components.BqSideMenuItem['disabled']) {};
1845
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1846
+ c.detach();
1847
+ this.el = r.nativeElement;
1848
+ proxyOutputs(this, this.el, ['bqBlur', 'bqFocus', 'bqClick']);
1849
+ }
1850
+ }
1851
+
1852
+
1853
+ export declare interface BqSideMenuItem extends Components.BqSideMenuItem {
1854
+ /**
1855
+ * Handler to be called when the button loses focus
1856
+ */
1857
+ bqBlur: EventEmitter<CustomEvent<HTMLBqSideMenuItemElement>>;
1858
+ /**
1859
+ * Handler to be called when the button is clicked
1860
+ */
1861
+ bqFocus: EventEmitter<CustomEvent<HTMLBqSideMenuItemElement>>;
1862
+ /**
1863
+ * Handler to be called when button gets focus
1864
+ */
1865
+ bqClick: EventEmitter<CustomEvent<HTMLBqSideMenuItemElement>>;
1866
+ }
1867
+
1868
+
1869
+ @ProxyCmp({
1870
+ inputs: ['debounceTime', 'disabled', 'enableTooltip', 'enableValueIndicator', 'gap', 'max', 'min', 'name', 'step', 'tooltipAlwaysVisible', 'type', 'value']
1871
+ })
1872
+ @Component({
1873
+ selector: 'bq-slider',
1874
+ changeDetection: ChangeDetectionStrategy.OnPush,
1875
+ template: '<ng-content></ng-content>',
1876
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1877
+ inputs: ['debounceTime', 'disabled', 'enableTooltip', 'enableValueIndicator', 'gap', 'max', 'min', 'name', 'step', 'tooltipAlwaysVisible', 'type', 'value'],
1878
+ })
1879
+ export class BqSlider {
1880
+ protected el: HTMLBqSliderElement;
1881
+ /**
1882
+ * The amount of time, in milliseconds, to wait to trigger the `bqChange` event after each value change.
1883
+ */
1884
+ set debounceTime(_: Components.BqSlider['debounceTime']) {};
1885
+ /**
1886
+ * If `true` the slider is disabled.
1887
+ */
1888
+ set disabled(_: Components.BqSlider['disabled']) {};
1889
+ /**
1890
+ * If `true` it will show the value label on a side of the slider track area
1891
+ */
1892
+ set enableValueIndicator(_: Components.BqSlider['enableValueIndicator']) {};
1893
+ /**
1894
+ * A number representing the amount to remain between the minimum and maximum values (only for range type).
1895
+ */
1896
+ set gap(_: Components.BqSlider['gap']) {};
1897
+ /**
1898
+ * A number representing the max value of the slider.
1899
+ */
1900
+ set max(_: Components.BqSlider['max']) {};
1901
+ /**
1902
+ * A number representing the min value of the slider.
1903
+ */
1904
+ set min(_: Components.BqSlider['min']) {};
1905
+ /**
1906
+ * Name of the form control. Submitted with the form as part of a name/value pair
1907
+ */
1908
+ set name(_: Components.BqSlider['name']) {};
1909
+ /**
1910
+ * A number representing the step of the slider.
1911
+ ⚠️ Please notice that the value (or list of values if the slider type is `range`) will be rounded to the nearest multiple of `step`.
1912
+ */
1913
+ set step(_: Components.BqSlider['step']) {};
1914
+ /**
1915
+ * It defines the type of slider to display
1916
+ */
1917
+ set type(_: Components.BqSlider['type']) {};
1918
+ /**
1919
+ * The value of the slider.
1920
+ - If the slider type is `single`, the value is a number.
1921
+ - If the slider type is `range`, the value is an array of two numbers (the first number represents the `min` value and the second number represents the `max` value).
1922
+ */
1923
+ set value(_: Components.BqSlider['value']) {};
1924
+ /**
1925
+ * If `true`, a tooltip will be shown displaying the progress value
1926
+ */
1927
+ set enableTooltip(_: Components.BqSlider['enableTooltip']) {};
1928
+ /**
1929
+ * If `true`, a tooltip will always display the progress value.
1930
+ It relies on enableTooltip and if enableTooltip is false, tooltipAlwaysVisible cannot be true.
1931
+ */
1932
+ set tooltipAlwaysVisible(_: Components.BqSlider['tooltipAlwaysVisible']) {};
1933
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1934
+ c.detach();
1935
+ this.el = r.nativeElement;
1936
+ proxyOutputs(this, this.el, ['bqChange', 'bqBlur', 'bqFocus']);
1937
+ }
1938
+ }
1939
+
1940
+
1941
+ import type { TSliderValue as IBqSliderTSliderValue } from '@beeq/core';
1942
+
1943
+ export declare interface BqSlider extends Components.BqSlider {
1944
+ /**
1945
+ * Handler to be called when change the value on range inputs
1946
+ */
1947
+ bqChange: EventEmitter<CustomEvent<{ value: Exclude<IBqSliderTSliderValue, string>; el: HTMLBqSliderElement }>>;
1948
+ /**
1949
+ * Handler to be called when the slider loses focus
1950
+ */
1951
+ bqBlur: EventEmitter<CustomEvent<HTMLBqSliderElement>>;
1952
+ /**
1953
+ * Handler to be called when the slider gets focused
1954
+ */
1955
+ bqFocus: EventEmitter<CustomEvent<HTMLBqSliderElement>>;
1956
+ }
1957
+
1958
+
1959
+ @ProxyCmp({
1960
+ inputs: ['animation', 'size', 'textPosition']
1961
+ })
1962
+ @Component({
1963
+ selector: 'bq-spinner',
1964
+ changeDetection: ChangeDetectionStrategy.OnPush,
1965
+ template: '<ng-content></ng-content>',
1966
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1967
+ inputs: ['animation', 'size', 'textPosition'],
1968
+ })
1969
+ export class BqSpinner {
1970
+ protected el: HTMLBqSpinnerElement;
1971
+ /**
1972
+ * If `false`, the animation on the icon element will be stopped
1973
+ */
1974
+ set animation(_: Components.BqSpinner['animation']) {};
1975
+ /**
1976
+ * It defines the position of the label text
1977
+ */
1978
+ set textPosition(_: Components.BqSpinner['textPosition']) {};
1979
+ /**
1980
+ * It defines the size of the icon element displayed
1981
+ */
1982
+ set size(_: Components.BqSpinner['size']) {};
1983
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1984
+ c.detach();
1985
+ this.el = r.nativeElement;
1986
+ }
1987
+ }
1988
+
1989
+
1990
+ export declare interface BqSpinner extends Components.BqSpinner {}
1991
+
1992
+
1993
+ @ProxyCmp({
1994
+ inputs: ['type']
1995
+ })
1996
+ @Component({
1997
+ selector: 'bq-status',
1998
+ changeDetection: ChangeDetectionStrategy.OnPush,
1999
+ template: '<ng-content></ng-content>',
2000
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2001
+ inputs: ['type'],
2002
+ })
2003
+ export class BqStatus {
2004
+ protected el: HTMLBqStatusElement;
2005
+ /**
2006
+ * It defines the type of status to display
2007
+ */
2008
+ set type(_: Components.BqStatus['type']) {};
2009
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2010
+ c.detach();
2011
+ this.el = r.nativeElement;
2012
+ }
2013
+ }
2014
+
2015
+
2016
+ export declare interface BqStatus extends Components.BqStatus {}
2017
+
2018
+
2019
+ @ProxyCmp({
2020
+ inputs: ['size', 'status', 'type']
2021
+ })
2022
+ @Component({
2023
+ selector: 'bq-step-item',
2024
+ changeDetection: ChangeDetectionStrategy.OnPush,
2025
+ template: '<ng-content></ng-content>',
2026
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2027
+ inputs: ['size', 'status', 'type'],
2028
+ })
2029
+ export class BqStepItem {
2030
+ protected el: HTMLBqStepItemElement;
2031
+ /**
2032
+ * It defines prefix size
2033
+ */
2034
+ set size(_: Components.BqStepItem['size']) {};
2035
+ /**
2036
+ * It defines step item appearance based on its status
2037
+ */
2038
+ set status(_: Components.BqStepItem['status']) {};
2039
+ /**
2040
+ * It defines the step item type used
2041
+ */
2042
+ set type(_: Components.BqStepItem['type']) {};
2043
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2044
+ c.detach();
2045
+ this.el = r.nativeElement;
2046
+ proxyOutputs(this, this.el, ['bqClick']);
2047
+ }
2048
+ }
2049
+
2050
+
2051
+ export declare interface BqStepItem extends Components.BqStepItem {
2052
+ /**
2053
+ * Callback handler emitted when the step item is clicked
2054
+ */
2055
+ bqClick: EventEmitter<CustomEvent<{ target: HTMLBqStepItemElement; value: string }>>;
2056
+ }
2057
+
2058
+
2059
+ @ProxyCmp({
2060
+ inputs: ['dividerColor', 'size', 'type']
2061
+ })
2062
+ @Component({
2063
+ selector: 'bq-steps',
2064
+ changeDetection: ChangeDetectionStrategy.OnPush,
2065
+ template: '<ng-content></ng-content>',
2066
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2067
+ inputs: ['dividerColor', 'size', 'type'],
2068
+ })
2069
+ export class BqSteps {
2070
+ protected el: HTMLBqStepsElement;
2071
+ /**
2072
+ * The color of the line that connects the steps. It should be a valid declarative color token.
2073
+ */
2074
+ set dividerColor(_: Components.BqSteps['dividerColor']) {};
2075
+ /**
2076
+ * The size of the steps
2077
+ */
2078
+ set size(_: Components.BqSteps['size']) {};
2079
+ /**
2080
+ * The type of prefix element to use on the step items
2081
+ */
2082
+ set type(_: Components.BqSteps['type']) {};
2083
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2084
+ c.detach();
2085
+ this.el = r.nativeElement;
2086
+ }
2087
+ }
2088
+
2089
+
2090
+ export declare interface BqSteps extends Components.BqSteps {}
2091
+
2092
+
2093
+ @ProxyCmp({
2094
+ inputs: ['backgroundOnHover', 'checked', 'disabled', 'formValidationMessage', 'fullWidth', 'innerLabel', 'justifyContent', 'name', 'required', 'reverseOrder', 'value'],
2095
+ methods: ['vClick', 'vFocus', 'vBlur']
2096
+ })
2097
+ @Component({
2098
+ selector: 'bq-switch',
2099
+ changeDetection: ChangeDetectionStrategy.OnPush,
2100
+ template: '<ng-content></ng-content>',
2101
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2102
+ inputs: ['backgroundOnHover', 'checked', 'disabled', 'formValidationMessage', 'fullWidth', 'innerLabel', 'justifyContent', 'name', 'required', 'reverseOrder', 'value'],
2103
+ })
2104
+ export class BqSwitch {
2105
+ protected el: HTMLBqSwitchElement;
2106
+ /**
2107
+ * If true, a background will be displayed on hover
2108
+ */
2109
+ set backgroundOnHover(_: Components.BqSwitch['backgroundOnHover']) {};
2110
+ /**
2111
+ * It indicates whether if the switch is `ON` by default (when the page loads)
2112
+ */
2113
+ set checked(_: Components.BqSwitch['checked']) {};
2114
+ /**
2115
+ * If true, the switch control will be disabled and no interaction will be allowed
2116
+ */
2117
+ set disabled(_: Components.BqSwitch['disabled']) {};
2118
+ /**
2119
+ * The native form validation message
2120
+ */
2121
+ set formValidationMessage(_: Components.BqSwitch['formValidationMessage']) {};
2122
+ /**
2123
+ * If true, the component will take the full width space available on the parent container
2124
+ */
2125
+ set fullWidth(_: Components.BqSwitch['fullWidth']) {};
2126
+ /**
2127
+ * It indicates how to to display the on/off marks inside the control, with icons or none (default)
2128
+ */
2129
+ set innerLabel(_: Components.BqSwitch['innerLabel']) {};
2130
+ /**
2131
+ * It defines how to distribute the space between and around the control and the label text
2132
+ (https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content)
2133
+ */
2134
+ set justifyContent(_: Components.BqSwitch['justifyContent']) {};
2135
+ /**
2136
+ * Name of the form control. Submitted with the form as part of a name/value pair
2137
+ */
2138
+ set name(_: Components.BqSwitch['name']) {};
2139
+ /**
2140
+ * If `true`, it will indicate that the user must switch `ON` the element before the owning form can be submitted
2141
+ */
2142
+ set required(_: Components.BqSwitch['required']) {};
2143
+ /**
2144
+ * If true, the order of the control and the label text will be changed
2145
+ */
2146
+ set reverseOrder(_: Components.BqSwitch['reverseOrder']) {};
2147
+ /**
2148
+ * The input control's value, submitted as a name/value pair with form data.
2149
+ */
2150
+ set value(_: Components.BqSwitch['value']) {};
2151
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2152
+ c.detach();
2153
+ this.el = r.nativeElement;
2154
+ proxyOutputs(this, this.el, ['bqChange', 'bqFocus', 'bqBlur']);
2155
+ }
2156
+ }
2157
+
2158
+
2159
+ export declare interface BqSwitch extends Components.BqSwitch {
2160
+ /**
2161
+ * Handler to be called when the switch state changes
2162
+ */
2163
+ bqChange: EventEmitter<CustomEvent<{ checked: boolean }>>;
2164
+ /**
2165
+ * Handler to be called when the switch gets focus
2166
+ */
2167
+ bqFocus: EventEmitter<CustomEvent<HTMLBqSwitchElement>>;
2168
+ /**
2169
+ * Handler to be called when the switch loses focus
2170
+ */
2171
+ bqBlur: EventEmitter<CustomEvent<HTMLBqSwitchElement>>;
2172
+ }
2173
+
2174
+
2175
+ @ProxyCmp({
2176
+ inputs: ['active', 'controls', 'disabled', 'orientation', 'placement', 'size', 'tabId'],
2177
+ methods: ['vClick', 'vFocus', 'vBlur']
2178
+ })
2179
+ @Component({
2180
+ selector: 'bq-tab',
2181
+ changeDetection: ChangeDetectionStrategy.OnPush,
2182
+ template: '<ng-content></ng-content>',
2183
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2184
+ inputs: ['active', 'controls', 'disabled', 'orientation', 'placement', 'size', 'tabId'],
2185
+ })
2186
+ export class BqTab {
2187
+ protected el: HTMLBqTabElement;
2188
+ /**
2189
+ * If true tab is active
2190
+ */
2191
+ set active(_: Components.BqTab['active']) {};
2192
+ /**
2193
+ * The tab panel id that the tab controls
2194
+ */
2195
+ set controls(_: Components.BqTab['controls']) {};
2196
+ /**
2197
+ * If true tab is disabled
2198
+ */
2199
+ set disabled(_: Components.BqTab['disabled']) {};
2200
+ /**
2201
+ * The direction that tab should be render
2202
+ */
2203
+ set orientation(_: Components.BqTab['orientation']) {};
2204
+ /**
2205
+ * The placement that tab should be render
2206
+ */
2207
+ set placement(_: Components.BqTab['placement']) {};
2208
+ /**
2209
+ * The size of the tab
2210
+ */
2211
+ set size(_: Components.BqTab['size']) {};
2212
+ /**
2213
+ * The id of the tab
2214
+ */
2215
+ set tabId(_: Components.BqTab['tabId']) {};
2216
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2217
+ c.detach();
2218
+ this.el = r.nativeElement;
2219
+ proxyOutputs(this, this.el, ['bqClick', 'bqFocus', 'bqBlur', 'bqKeyDown']);
2220
+ }
2221
+ }
2222
+
2223
+
2224
+ export declare interface BqTab extends Components.BqTab {
2225
+ /**
2226
+ * Handler to be called when the tab state changes
2227
+ */
2228
+ bqClick: EventEmitter<CustomEvent<HTMLBqTabElement>>;
2229
+ /**
2230
+ * Handler to be called when the tab gets focus
2231
+ */
2232
+ bqFocus: EventEmitter<CustomEvent<HTMLBqTabElement>>;
2233
+ /**
2234
+ * Handler to be called when the tab loses focus
2235
+ */
2236
+ bqBlur: EventEmitter<CustomEvent<HTMLBqTabElement>>;
2237
+ /**
2238
+ * Handler to be called when the tab key is pressed
2239
+ */
2240
+ bqKeyDown: EventEmitter<CustomEvent<KeyboardEvent>>;
2241
+ }
2242
+
2243
+
2244
+ @ProxyCmp({
2245
+ inputs: ['debounceTime', 'disableDivider', 'orientation', 'placement', 'size', 'value']
2246
+ })
2247
+ @Component({
2248
+ selector: 'bq-tab-group',
2249
+ changeDetection: ChangeDetectionStrategy.OnPush,
2250
+ template: '<ng-content></ng-content>',
2251
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2252
+ inputs: ['debounceTime', 'disableDivider', 'orientation', 'placement', 'size', 'value'],
2253
+ })
2254
+ export class BqTabGroup {
2255
+ protected el: HTMLBqTabGroupElement;
2256
+ /**
2257
+ * A number representing the delay value applied to bqChange event handler
2258
+ */
2259
+ set debounceTime(_: Components.BqTabGroup['debounceTime']) {};
2260
+ /**
2261
+ * If true, the underline divider below the tabs won't be shown
2262
+ */
2263
+ set disableDivider(_: Components.BqTabGroup['disableDivider']) {};
2264
+ /**
2265
+ * The direction that tab should be render
2266
+ */
2267
+ set orientation(_: Components.BqTabGroup['orientation']) {};
2268
+ /**
2269
+ * The placement that tab should be render
2270
+ */
2271
+ set placement(_: Components.BqTabGroup['placement']) {};
2272
+ /**
2273
+ * The size of the tab
2274
+ */
2275
+ set size(_: Components.BqTabGroup['size']) {};
2276
+ /**
2277
+ * A string representing the id of the selected tab.
2278
+ */
2279
+ set value(_: Components.BqTabGroup['value']) {};
2280
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2281
+ c.detach();
2282
+ this.el = r.nativeElement;
2283
+ proxyOutputs(this, this.el, ['bqChange']);
2284
+ }
2285
+ }
2286
+
2287
+
2288
+ export declare interface BqTabGroup extends Components.BqTabGroup {
2289
+ /**
2290
+ * Handler to be called when the tab value changes
2291
+ */
2292
+ bqChange: EventEmitter<CustomEvent<{ target: HTMLBqTabElement; value: string }>>;
2293
+ }
2294
+
2295
+
2296
+ @ProxyCmp({
2297
+ inputs: ['border', 'clickable', 'color', 'disabled', 'hidden', 'removable', 'selected', 'size', 'variant'],
2298
+ methods: ['hide', 'show']
2299
+ })
2300
+ @Component({
2301
+ selector: 'bq-tag',
2302
+ changeDetection: ChangeDetectionStrategy.OnPush,
2303
+ template: '<ng-content></ng-content>',
2304
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2305
+ inputs: ['border', 'clickable', 'color', 'disabled', 'hidden', 'removable', 'selected', 'size', 'variant'],
2306
+ })
2307
+ export class BqTag {
2308
+ protected el: HTMLBqTagElement;
2309
+ /**
2310
+ * The corner radius of the Tag (will override size's predefined border)
2311
+ */
2312
+ set border(_: Components.BqTag['border']) {};
2313
+ /**
2314
+ * If true, the Tag can be clickable
2315
+ */
2316
+ set clickable(_: Components.BqTag['clickable']) {};
2317
+ /**
2318
+ * The color style of the Tag
2319
+ */
2320
+ set color(_: Components.BqTag['color']) {};
2321
+ /**
2322
+ * If true, the Tag will be disabled (only if clickable = `true`, no interaction allowed)
2323
+ */
2324
+ set disabled(_: Components.BqTag['disabled']) {};
2325
+ /**
2326
+ * If true, the Tag component will hidden (only if removable = `true`)
2327
+ */
2328
+ set hidden(_: Components.BqTag['hidden']) {};
2329
+ /**
2330
+ * If true, the Tag component can be removed
2331
+ */
2332
+ set removable(_: Components.BqTag['removable']) {};
2333
+ /**
2334
+ * If true, the Tag is selected (only if clickable = `true`)
2335
+ */
2336
+ set selected(_: Components.BqTag['selected']) {};
2337
+ /**
2338
+ * The size of the Tag component
2339
+ */
2340
+ set size(_: Components.BqTag['size']) {};
2341
+ /**
2342
+ * The variant of Tag to apply on top of the variant
2343
+ */
2344
+ set variant(_: Components.BqTag['variant']) {};
2345
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2346
+ c.detach();
2347
+ this.el = r.nativeElement;
2348
+ proxyOutputs(this, this.el, ['bqClose', 'bqOpen', 'bqBlur', 'bqClick', 'bqFocus']);
2349
+ }
2350
+ }
2351
+
2352
+
2353
+ export declare interface BqTag extends Components.BqTag {
2354
+ /**
2355
+ * Callback handler to be called when the tag is close/hidden
2356
+ */
2357
+ bqClose: EventEmitter<CustomEvent<any>>;
2358
+ /**
2359
+ * Callback handler to be called when the tag is not open/shown
2360
+ */
2361
+ bqOpen: EventEmitter<CustomEvent<any>>;
2362
+ /**
2363
+ * Handler to be called when tag loses focus
2364
+ */
2365
+ bqBlur: EventEmitter<CustomEvent<HTMLBqTagElement>>;
2366
+ /**
2367
+ * Handler to be called when tag is clicked
2368
+ */
2369
+ bqClick: EventEmitter<CustomEvent<HTMLBqTagElement>>;
2370
+ /**
2371
+ * Handler to be called when tag is focused
2372
+ */
2373
+ bqFocus: EventEmitter<CustomEvent<HTMLBqTagElement>>;
2374
+ }
2375
+
2376
+
2377
+ @ProxyCmp({
2378
+ inputs: ['autoGrow', 'autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'debounceTime', 'disableResize', 'disabled', 'form', 'formValidationMessage', 'maxlength', 'name', 'placeholder', 'readonly', 'required', 'rows', 'spellcheck', 'validationStatus', 'value', 'wrap']
2379
+ })
2380
+ @Component({
2381
+ selector: 'bq-textarea',
2382
+ changeDetection: ChangeDetectionStrategy.OnPush,
2383
+ template: '<ng-content></ng-content>',
2384
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2385
+ inputs: ['autoGrow', 'autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'debounceTime', 'disableResize', 'disabled', 'form', 'formValidationMessage', 'maxlength', 'name', 'placeholder', 'readonly', 'required', 'rows', 'spellcheck', 'validationStatus', 'value', 'wrap'],
2386
+ })
2387
+ export class BqTextarea {
2388
+ protected el: HTMLBqTextareaElement;
2389
+ /**
2390
+ * Controls whether or not the textarea field should be capitalized and how.
2391
+ Possible values are 'off', 'none', 'on', 'sentences', 'words', and 'characters'.
2392
+ See: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize
2393
+ */
2394
+ set autocapitalize(_: Components.BqTextarea['autocapitalize']) {};
2395
+ /**
2396
+ * Specifies whether or not the textarea field should have autocomplete enabled.
2397
+ See: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values
2398
+ */
2399
+ set autocomplete(_: Components.BqTextarea['autocomplete']) {};
2400
+ /**
2401
+ * Controls whether or not the textarea field should have autocorrect enabled.
2402
+ Possible values are 'on' and 'off'.
2403
+ */
2404
+ set autocorrect(_: Components.BqTextarea['autocorrect']) {};
2405
+ /**
2406
+ * If true, the textarea will be focused on component render
2407
+ */
2408
+ set autofocus(_: Components.BqTextarea['autofocus']) {};
2409
+ /**
2410
+ * If `true`, the textarea will automatically grow and shrink to fit its contents.
2411
+ If `false`, the textarea will have a fixed height specified by the `rows` property.
2412
+ */
2413
+ set autoGrow(_: Components.BqTextarea['autoGrow']) {};
2414
+ /**
2415
+ * The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the textarea value changes.
2416
+ A value of 0 means no debouncing will occur.
2417
+ */
2418
+ set debounceTime(_: Components.BqTextarea['debounceTime']) {};
2419
+ /**
2420
+ * If `true`, the user cannot interact with the textarea.
2421
+ */
2422
+ set disabled(_: Components.BqTextarea['disabled']) {};
2423
+ /**
2424
+ * If `true`, it will block the user's ability to resize the textarea.
2425
+ */
2426
+ set disableResize(_: Components.BqTextarea['disableResize']) {};
2427
+ /**
2428
+ * The ID of the form that the textarea field belongs to.
2429
+ */
2430
+ set form(_: Components.BqTextarea['form']) {};
2431
+ /**
2432
+ * The native form validation message
2433
+ */
2434
+ set formValidationMessage(_: Components.BqTextarea['formValidationMessage']) {};
2435
+ /**
2436
+ * The maximum number of characters that can be entered into the textarea (`0`: no limit).
2437
+ When enabled, a character counter will be shown underneath the textarea.
2438
+ */
2439
+ set maxlength(_: Components.BqTextarea['maxlength']) {};
2440
+ /**
2441
+ * The name of the textarea element.
2442
+ */
2443
+ set name(_: Components.BqTextarea['name']) {};
2444
+ /**
2445
+ * The placeholder text to show when there is no value.
2446
+ */
2447
+ set placeholder(_: Components.BqTextarea['placeholder']) {};
2448
+ /**
2449
+ * If true, the textarea field cannot be modified.
2450
+ */
2451
+ set readonly(_: Components.BqTextarea['readonly']) {};
2452
+ /**
2453
+ * Indicates whether or not the textarea field is required to be filled out before submitting the form.
2454
+ */
2455
+ set required(_: Components.BqTextarea['required']) {};
2456
+ /**
2457
+ * The number of visible text lines for the control. It must be a positive integer.
2458
+ */
2459
+ set rows(_: Components.BqTextarea['rows']) {};
2460
+ /**
2461
+ * If true, the textarea content may be checked for spelling errors.
2462
+ */
2463
+ set spellcheck(_: Components.BqTextarea['spellcheck']) {};
2464
+ /**
2465
+ * The validation status of the textarea. @remarks This property is used to indicate the validation status of the textarea. It can be set to one of the following values:
2466
+ - `'none'`: No validation status is set.
2467
+ - `'error'`: The textarea has a validation error.
2468
+ - `'warning'`: The textarea has a validation warning.
2469
+ - `'success'`: The textarea has passed validation.
2470
+ */
2471
+ set validationStatus(_: Components.BqTextarea['validationStatus']) {};
2472
+ /**
2473
+ * The value of the textarea. It can be used to reset the textarea to a previous value.
2474
+ */
2475
+ set value(_: Components.BqTextarea['value']) {};
2476
+ /**
2477
+ * Specifies how the text in a text area is to be wrapped when submitted in a form
2478
+ */
2479
+ set wrap(_: Components.BqTextarea['wrap']) {};
2480
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2481
+ c.detach();
2482
+ this.el = r.nativeElement;
2483
+ proxyOutputs(this, this.el, ['bqBlur', 'bqChange', 'bqClear', 'bqFocus', 'bqInput']);
2484
+ }
2485
+ }
2486
+
2487
+
2488
+ export declare interface BqTextarea extends Components.BqTextarea {
2489
+ /**
2490
+ * Callback handler emitted when the textarea loses focus
2491
+ */
2492
+ bqBlur: EventEmitter<CustomEvent<HTMLBqTextareaElement>>;
2493
+ /**
2494
+ * Callback handler emitted when the textarea value has changed and the textarea loses focus.
2495
+ This handler is called whenever the user finishes typing or pasting text into the textarea field and then clicks outside of the textarea field.
2496
+ */
2497
+ bqChange: EventEmitter<CustomEvent<{ value: string; el: HTMLBqTextareaElement }>>;
2498
+ /**
2499
+ * Callback handler emitted when the textarea value has been cleared
2500
+ */
2501
+ bqClear: EventEmitter<CustomEvent<HTMLBqTextareaElement>>;
2502
+ /**
2503
+ * Callback handler emitted when the textarea has received focus
2504
+ */
2505
+ bqFocus: EventEmitter<CustomEvent<HTMLBqTextareaElement>>;
2506
+ /**
2507
+ * Callback handler emitted when the textarea value changes.
2508
+ This handler is called whenever the user types or pastes text into the textarea field.
2509
+ */
2510
+ bqInput: EventEmitter<CustomEvent<{ value: string; el: HTMLBqTextareaElement }>>;
2511
+ }
2512
+
2513
+
2514
+ @ProxyCmp({
2515
+ inputs: ['border', 'hideIcon', 'open', 'placement', 'time', 'type'],
2516
+ methods: ['show', 'hide', 'toast']
2517
+ })
2518
+ @Component({
2519
+ selector: 'bq-toast',
2520
+ changeDetection: ChangeDetectionStrategy.OnPush,
2521
+ template: '<ng-content></ng-content>',
2522
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2523
+ inputs: ['border', 'hideIcon', 'open', 'placement', 'time', 'type'],
2524
+ })
2525
+ export class BqToast {
2526
+ protected el: HTMLBqToastElement;
2527
+ /**
2528
+ * The corder radius of the toast component
2529
+ */
2530
+ set border(_: Components.BqToast['border']) {};
2531
+ /**
2532
+ * Type of toast
2533
+ */
2534
+ set type(_: Components.BqToast['type']) {};
2535
+ /**
2536
+ * Placement of toast
2537
+ */
2538
+ set placement(_: Components.BqToast['placement']) {};
2539
+ /**
2540
+ * If true will hide toast icon
2541
+ */
2542
+ set hideIcon(_: Components.BqToast['hideIcon']) {};
2543
+ /**
2544
+ * If true, the toast will be shown
2545
+ */
2546
+ set open(_: Components.BqToast['open']) {};
2547
+ /**
2548
+ * The length of time, in milliseconds, after which the toast will close itself
2549
+ */
2550
+ set time(_: Components.BqToast['time']) {};
2551
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2552
+ c.detach();
2553
+ this.el = r.nativeElement;
2554
+ proxyOutputs(this, this.el, ['bqHide', 'bqShow']);
2555
+ }
2556
+ }
2557
+
2558
+
2559
+ export declare interface BqToast extends Components.BqToast {
2560
+ /**
2561
+ * Callback handler to be called when the notification is hidden
2562
+ */
2563
+ bqHide: EventEmitter<CustomEvent<HTMLBqToastElement>>;
2564
+ /**
2565
+ * Callback handler to be called when the notification is shown
2566
+ */
2567
+ bqShow: EventEmitter<CustomEvent<HTMLBqToastElement>>;
2568
+ }
2569
+
2570
+
2571
+ @ProxyCmp({
2572
+ inputs: ['alwaysVisible', 'displayOn', 'distance', 'hideArrow', 'placement', 'sameWidth', 'visible'],
2573
+ methods: ['show', 'hide']
2574
+ })
2575
+ @Component({
2576
+ selector: 'bq-tooltip',
2577
+ changeDetection: ChangeDetectionStrategy.OnPush,
2578
+ template: '<ng-content></ng-content>',
2579
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2580
+ inputs: ['alwaysVisible', 'displayOn', 'distance', 'hideArrow', 'placement', 'sameWidth', 'visible'],
2581
+ })
2582
+ export class BqTooltip {
2583
+ protected el: HTMLBqTooltipElement;
2584
+ /**
2585
+ * If true, the tooltip will always be visible
2586
+ */
2587
+ set alwaysVisible(_: Components.BqTooltip['alwaysVisible']) {};
2588
+ /**
2589
+ * Distance between trigger element and tooltip
2590
+ */
2591
+ set distance(_: Components.BqTooltip['distance']) {};
2592
+ /**
2593
+ * If true, the arrow on the tooltip content won't be shown
2594
+ */
2595
+ set hideArrow(_: Components.BqTooltip['hideArrow']) {};
2596
+
2597
+ set placement(_: Components.BqTooltip['placement']) {};
2598
+ /**
2599
+ * Whether the tooltip should have the same width as the trigger element
2600
+ (applicable only for content shorter than the trigger element)
2601
+ */
2602
+ set sameWidth(_: Components.BqTooltip['sameWidth']) {};
2603
+ /**
2604
+ * Set the action when the tooltip should be displayed, on hover (default) or click
2605
+ */
2606
+ set displayOn(_: Components.BqTooltip['displayOn']) {};
2607
+ /**
2608
+ * Indicates whether or not the tooltip is visible when the component is first rendered,
2609
+ and when interacting with the trigger
2610
+ */
2611
+ set visible(_: Components.BqTooltip['visible']) {};
2612
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
2613
+ c.detach();
2614
+ this.el = r.nativeElement;
2615
+ }
2616
+ }
2617
+
2618
+
2619
+ export declare interface BqTooltip extends Components.BqTooltip {}
2620
+
2621
+