@bravobit/bb-foundation 0.55.6 → 0.56.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.
@@ -18,10 +18,10 @@ class BbTemplate {
18
18
  }
19
19
  // Required so that the template type checker can infer the type of the coerced inputs.
20
20
  static ngAcceptInputType_bbTemplate;
21
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: BbTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
22
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.1", type: BbTemplate, isStandalone: true, selector: "[bbTemplate]", inputs: { bbTemplate: "bbTemplate" }, ngImport: i0 });
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BbTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
22
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.4", type: BbTemplate, isStandalone: true, selector: "[bbTemplate]", inputs: { bbTemplate: "bbTemplate" }, ngImport: i0 });
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: BbTemplate, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BbTemplate, decorators: [{
25
25
  type: Directive,
26
26
  args: [{
27
27
  selector: '[bbTemplate]'
@@ -74,10 +74,10 @@ class BbAutosize {
74
74
  }
75
75
  return setTimeout(() => this.updateStyles(), 0);
76
76
  }
77
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: BbAutosize, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.1", type: BbAutosize, isStandalone: true, selector: "textarea[bbAutosize]", inputs: { minHeight: "minHeight", maxHeight: "maxHeight", rows: ["rows", "rows", numberAttribute] }, host: { listeners: { "window:resize": "onWindowResize()", "input": "onInputReceived()" }, properties: { "style.min-height": "this.minHeight", "style.max-height": "this.maxHeight", "rows": "this.rows" } }, ngImport: i0 });
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BbAutosize, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.4", type: BbAutosize, isStandalone: true, selector: "textarea[bbAutosize]", inputs: { minHeight: "minHeight", maxHeight: "maxHeight", rows: ["rows", "rows", numberAttribute] }, host: { listeners: { "window:resize": "onWindowResize()", "input": "onInputReceived()" }, properties: { "style.min-height": "this.minHeight", "style.max-height": "this.maxHeight", "rows": "this.rows" } }, ngImport: i0 });
79
79
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: BbAutosize, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BbAutosize, decorators: [{
81
81
  type: Directive,
82
82
  args: [{
83
83
  selector: 'textarea[bbAutosize]'
@@ -141,10 +141,10 @@ class BbFocus {
141
141
  // Execute the focus method in a timeout.
142
142
  setTimeout(() => this.nativeElement.focus(), 0);
143
143
  }
144
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: BbFocus, deps: [], target: i0.ɵɵFactoryTarget.Directive });
145
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.1", type: BbFocus, isStandalone: true, selector: "[bbFocus]", inputs: { bbFocusMode: "bbFocusMode" }, ngImport: i0 });
144
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BbFocus, deps: [], target: i0.ɵɵFactoryTarget.Directive });
145
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.4", type: BbFocus, isStandalone: true, selector: "[bbFocus]", inputs: { bbFocusMode: "bbFocusMode" }, ngImport: i0 });
146
146
  }
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: BbFocus, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BbFocus, decorators: [{
148
148
  type: Directive,
149
149
  args: [{
150
150
  selector: '[bbFocus]'
@@ -213,10 +213,10 @@ class BbFocusTrap {
213
213
  isTabEvent = (event) => {
214
214
  return event?.key === 'Tab' || event?.keyCode === 9;
215
215
  };
216
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: BbFocusTrap, deps: [], target: i0.ɵɵFactoryTarget.Directive });
217
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.1", type: BbFocusTrap, isStandalone: true, selector: "[bbFocusTrap]", host: { listeners: { "keydown": "onKeydown($event)" } }, ngImport: i0 });
216
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BbFocusTrap, deps: [], target: i0.ɵɵFactoryTarget.Directive });
217
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.4", type: BbFocusTrap, isStandalone: true, selector: "[bbFocusTrap]", host: { listeners: { "keydown": "onKeydown($event)" } }, ngImport: i0 });
218
218
  }
219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: BbFocusTrap, decorators: [{
219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: BbFocusTrap, decorators: [{
220
220
  type: Directive,
221
221
  args: [{
222
222
  selector: '[bbFocusTrap]'
@@ -227,17 +227,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImpor
227
227
  }] } });
228
228
 
229
229
  class UtilsModule {
230
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: UtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
231
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.1", ngImport: i0, type: UtilsModule, imports: [BbTemplate,
230
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
231
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: UtilsModule, imports: [BbTemplate,
232
232
  BbAutosize,
233
233
  BbFocus,
234
234
  BbFocusTrap], exports: [BbTemplate,
235
235
  BbAutosize,
236
236
  BbFocus,
237
237
  BbFocusTrap] });
238
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: UtilsModule });
238
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UtilsModule });
239
239
  }
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: UtilsModule, decorators: [{
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UtilsModule, decorators: [{
241
241
  type: NgModule,
242
242
  args: [{
243
243
  imports: [
@@ -78,10 +78,10 @@ class FileLoader {
78
78
  anyBlob.name = fileName;
79
79
  return anyBlob;
80
80
  };
81
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: FileLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
82
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: FileLoader, providedIn: 'root' });
81
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
82
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileLoader, providedIn: 'root' });
83
83
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: FileLoader, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FileLoader, decorators: [{
85
85
  type: Injectable,
86
86
  args: [{
87
87
  providedIn: 'root'
@@ -236,10 +236,10 @@ class Exif {
236
236
  }
237
237
  return -1;
238
238
  };
239
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Exif, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
240
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Exif, providedIn: 'root' });
239
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Exif, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
240
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Exif, providedIn: 'root' });
241
241
  }
242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Exif, decorators: [{
242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Exif, decorators: [{
243
243
  type: Injectable,
244
244
  args: [{
245
245
  providedIn: 'root'
@@ -353,10 +353,10 @@ class ImageConverter {
353
353
  }
354
354
  return { xOffset, yOffset, width, height };
355
355
  };
356
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ImageConverter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
357
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ImageConverter, providedIn: 'root' });
356
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ImageConverter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
357
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ImageConverter, providedIn: 'root' });
358
358
  }
359
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: ImageConverter, decorators: [{
359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ImageConverter, decorators: [{
360
360
  type: Injectable,
361
361
  args: [{
362
362
  providedIn: 'root'
@@ -437,10 +437,10 @@ class Files {
437
437
  anchor.click();
438
438
  }
439
439
  }
440
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Files, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
441
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Files, providedIn: 'root' });
440
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Files, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
441
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Files, providedIn: 'root' });
442
442
  }
443
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Files, decorators: [{
443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Files, decorators: [{
444
444
  type: Injectable,
445
445
  args: [{
446
446
  providedIn: 'root'
@@ -511,10 +511,10 @@ class Languages {
511
511
  .filter(item => !!item)
512
512
  .sort((a, b) => b.quality - a.quality);
513
513
  }
514
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Languages, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
515
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Languages, providedIn: 'root' });
514
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Languages, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
515
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Languages, providedIn: 'root' });
516
516
  }
517
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Languages, decorators: [{
517
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Languages, decorators: [{
518
518
  type: Injectable,
519
519
  args: [{
520
520
  providedIn: 'root'
@@ -550,10 +550,10 @@ class Network {
550
550
  // a user is online/offline.
551
551
  this._online$ = merge(now$, online$, offline$).pipe(distinctUntilChanged(), shareReplay({ refCount: true, bufferSize: 1 }));
552
552
  }
553
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Network, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
554
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Network, providedIn: 'root' });
553
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Network, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
554
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Network, providedIn: 'root' });
555
555
  }
556
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Network, decorators: [{
556
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Network, decorators: [{
557
557
  type: Injectable,
558
558
  args: [{
559
559
  providedIn: 'root'
@@ -596,10 +596,10 @@ class Patch {
596
596
  // Save the subscription so we can destroy it later.
597
597
  this._subscription.add(subscription);
598
598
  }
599
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Patch, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
600
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Patch, providedIn: 'root' });
599
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Patch, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
600
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Patch, providedIn: 'root' });
601
601
  }
602
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.1", ngImport: i0, type: Patch, decorators: [{
602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: Patch, decorators: [{
603
603
  type: Injectable,
604
604
  args: [{
605
605
  providedIn: 'root'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bravobit/bb-foundation",
3
- "version": "0.55.6",
3
+ "version": "0.56.0",
4
4
  "description": "The Angular core foundation of the Bravobit team.",
5
5
  "author": {
6
6
  "name": "Stan van Heumen",
@@ -8,9 +8,9 @@
8
8
  "url": "https://bravobit.nl"
9
9
  },
10
10
  "peerDependencies": {
11
- "@angular/common": "^20.0.0",
12
- "@angular/core": "^20.0.0",
13
- "@angular/cdk": "^20.0.0"
11
+ "@angular/common": "^20.2.0",
12
+ "@angular/core": "^20.2.0",
13
+ "@angular/cdk": "^20.2.0"
14
14
  },
15
15
  "dependencies": {
16
16
  "tslib": "^2.8.1",
@@ -40,34 +40,26 @@
40
40
  "types": "./auth/index.d.ts",
41
41
  "default": "./fesm2022/bravobit-bb-foundation-auth.mjs"
42
42
  },
43
- "./collections": {
44
- "types": "./collections/index.d.ts",
45
- "default": "./fesm2022/bravobit-bb-foundation-collections.mjs"
46
- },
47
- "./combobox": {
48
- "types": "./combobox/index.d.ts",
49
- "default": "./fesm2022/bravobit-bb-foundation-combobox.mjs"
43
+ "./dashboard": {
44
+ "types": "./dashboard/index.d.ts",
45
+ "default": "./fesm2022/bravobit-bb-foundation-dashboard.mjs"
50
46
  },
51
47
  "./dialog": {
52
48
  "types": "./dialog/index.d.ts",
53
49
  "default": "./fesm2022/bravobit-bb-foundation-dialog.mjs"
54
50
  },
55
- "./dashboard": {
56
- "types": "./dashboard/index.d.ts",
57
- "default": "./fesm2022/bravobit-bb-foundation-dashboard.mjs"
58
- },
59
51
  "./elements": {
60
52
  "types": "./elements/index.d.ts",
61
53
  "default": "./fesm2022/bravobit-bb-foundation-elements.mjs"
62
54
  },
55
+ "./collections": {
56
+ "types": "./collections/index.d.ts",
57
+ "default": "./fesm2022/bravobit-bb-foundation-collections.mjs"
58
+ },
63
59
  "./http": {
64
60
  "types": "./http/index.d.ts",
65
61
  "default": "./fesm2022/bravobit-bb-foundation-http.mjs"
66
62
  },
67
- "./localize": {
68
- "types": "./localize/index.d.ts",
69
- "default": "./fesm2022/bravobit-bb-foundation-localize.mjs"
70
- },
71
63
  "./masking": {
72
64
  "types": "./masking/index.d.ts",
73
65
  "default": "./fesm2022/bravobit-bb-foundation-masking.mjs"
@@ -76,18 +68,18 @@
76
68
  "types": "./notifications/index.d.ts",
77
69
  "default": "./fesm2022/bravobit-bb-foundation-notifications.mjs"
78
70
  },
79
- "./permissions": {
80
- "types": "./permissions/index.d.ts",
81
- "default": "./fesm2022/bravobit-bb-foundation-permissions.mjs"
82
- },
83
- "./recaptcha": {
84
- "types": "./recaptcha/index.d.ts",
85
- "default": "./fesm2022/bravobit-bb-foundation-recaptcha.mjs"
71
+ "./localize": {
72
+ "types": "./localize/index.d.ts",
73
+ "default": "./fesm2022/bravobit-bb-foundation-localize.mjs"
86
74
  },
87
75
  "./rxjs": {
88
76
  "types": "./rxjs/index.d.ts",
89
77
  "default": "./fesm2022/bravobit-bb-foundation-rxjs.mjs"
90
78
  },
79
+ "./recaptcha": {
80
+ "types": "./recaptcha/index.d.ts",
81
+ "default": "./fesm2022/bravobit-bb-foundation-recaptcha.mjs"
82
+ },
91
83
  "./select": {
92
84
  "types": "./select/index.d.ts",
93
85
  "default": "./fesm2022/bravobit-bb-foundation-select.mjs"
@@ -100,13 +92,17 @@
100
92
  "types": "./table/index.d.ts",
101
93
  "default": "./fesm2022/bravobit-bb-foundation-table.mjs"
102
94
  },
103
- "./tooltip": {
104
- "types": "./tooltip/index.d.ts",
105
- "default": "./fesm2022/bravobit-bb-foundation-tooltip.mjs"
106
- },
107
95
  "./utils": {
108
96
  "types": "./utils/index.d.ts",
109
97
  "default": "./fesm2022/bravobit-bb-foundation-utils.mjs"
98
+ },
99
+ "./permissions": {
100
+ "types": "./permissions/index.d.ts",
101
+ "default": "./fesm2022/bravobit-bb-foundation-permissions.mjs"
102
+ },
103
+ "./tooltip": {
104
+ "types": "./tooltip/index.d.ts",
105
+ "default": "./fesm2022/bravobit-bb-foundation-tooltip.mjs"
110
106
  }
111
107
  }
112
108
  }
@@ -1,58 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, OnDestroy, TemplateRef, EventEmitter } from '@angular/core';
3
- import { Observable } from 'rxjs';
4
-
5
- interface ComboboxItem<T> {
6
- label: any;
7
- value: any;
8
- data: T;
9
- }
10
- interface ComboboxOptionContext {
11
- item: ComboboxItem<unknown>;
12
- }
13
-
14
- declare class BbComboboxLabel {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<BbComboboxLabel, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbComboboxLabel, "[bbComboboxLabel]", never, {}, {}, never, never, true, never>;
17
- }
18
-
19
- declare class BbCombobox<T = unknown> implements OnInit, OnDestroy {
20
- labelComponent?: TemplateRef<BbComboboxLabel>;
21
- optionTemplate?: TemplateRef<ComboboxOptionContext>;
22
- value: T | null;
23
- bindLabel: string | null;
24
- bindValue: string | null;
25
- disabled: boolean;
26
- set data(items: T[] | Observable<T[]>);
27
- get data(): T[] | Observable<T[]>;
28
- valueChange: EventEmitter<T>;
29
- items$: Observable<ComboboxItem<T>[]>;
30
- onChange: (newValue: T) => void;
31
- onTouched: () => void;
32
- private _cache$;
33
- private _dataSubscription;
34
- ngOnInit(): void;
35
- ngOnDestroy(): void;
36
- registerOnChange(fn: (newValue: T) => void): void;
37
- registerOnTouched(fn: () => void): void;
38
- setDisabledState(isDisabled: boolean): void;
39
- writeValue(newValue: T): void;
40
- select(value: T): void;
41
- private setItems;
42
- private createComboboxItem;
43
- private setCache;
44
- private handleData;
45
- private handleDataObservable;
46
- private emitChangeEvent;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<BbCombobox<any>, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<BbCombobox<any>, "bb-combobox", never, { "value": { "alias": "value"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "valueChange": "valueChange"; }, ["labelComponent", "optionTemplate"], never, true, never>;
49
- static ngAcceptInputType_disabled: unknown;
50
- }
51
-
52
- declare class BbComboboxOption {
53
- static ngTemplateContextGuard(directive: BbComboboxOption, context: unknown): context is ComboboxOptionContext;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<BbComboboxOption, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbComboboxOption, "ng-template[bbComboboxOption]", never, {}, {}, never, never, true, never>;
56
- }
57
-
58
- export { BbCombobox, BbComboboxLabel, BbComboboxOption };