@bravobit/bb-foundation 0.50.8 → 0.51.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.
- package/fesm2022/bravobit-bb-foundation-auth.mjs +19 -19
- package/fesm2022/bravobit-bb-foundation-collections.mjs +43 -43
- package/fesm2022/bravobit-bb-foundation-combobox.mjs +15 -15
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs +25 -25
- package/fesm2022/bravobit-bb-foundation-dialog.mjs +34 -34
- package/fesm2022/bravobit-bb-foundation-elements.mjs +98 -98
- package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-http.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-localize.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation-masking.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation-notifications.mjs +20 -25
- package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-permissions.mjs +16 -20
- package/fesm2022/bravobit-bb-foundation-permissions.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +21 -37
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-select.mjs +34 -42
- package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-storage.mjs +10 -16
- package/fesm2022/bravobit-bb-foundation-storage.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-table.mjs +25 -25
- package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-utils.mjs +34 -48
- package/fesm2022/bravobit-bb-foundation-utils.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation.mjs +47 -85
- package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
- package/lib/core/services/exif.service.d.ts +2 -5
- package/lib/core/services/image-converter.service.d.ts +3 -7
- package/lib/core/services/languages.service.d.ts +3 -3
- package/lib/core/services/network.service.d.ts +5 -6
- package/lib/core/services/patch.service.d.ts +4 -6
- package/localize/lib/transforms/interpolate.transform.d.ts +1 -1
- package/localize/lib/transforms/plural.transform.d.ts +1 -1
- package/localize/lib/transforms/reference.transform.d.ts +1 -1
- package/notifications/lib/notifications-item/notifications-item.component.d.ts +4 -6
- package/package.json +16 -16
- package/permissions/lib/directives/permission.directive.d.ts +4 -6
- package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +10 -14
- package/select/lib/select-label.directive.d.ts +0 -1
- package/select/lib/select-multi-label.directive.d.ts +0 -1
- package/select/lib/select-option-group.directive.d.ts +0 -1
- package/select/lib/select-option.directive.d.ts +0 -1
- package/storage/lib/storage.service.d.ts +4 -5
- package/styles/theme.scss +6 -1
- package/utils/lib/directives/autosize.directive.d.ts +3 -4
- package/utils/lib/directives/focus-trap.directive.d.ts +2 -5
- package/utils/lib/directives/focus.directive.d.ts +4 -6
- package/utils/lib/directives/template.directive.d.ts +3 -4
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { Platform } from '@angular/cdk/platform';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class Network {
|
|
5
|
-
private _platform;
|
|
6
|
-
private _window?;
|
|
7
|
-
private _navigator?;
|
|
4
|
+
private readonly _platform;
|
|
5
|
+
private readonly _window?;
|
|
6
|
+
private readonly _navigator?;
|
|
8
7
|
private _online$;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor();
|
|
10
9
|
online(): Observable<boolean>;
|
|
11
10
|
private getOnlineObservable;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Network,
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Network, never>;
|
|
13
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<Network>;
|
|
14
13
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Platform } from '@angular/cdk/platform';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class Patch implements OnDestroy {
|
|
5
|
-
private _platform;
|
|
6
|
-
private _window?;
|
|
7
|
-
private _document?;
|
|
4
|
+
private readonly _platform;
|
|
5
|
+
private readonly _window?;
|
|
6
|
+
private readonly _document?;
|
|
8
7
|
private _hasPatchedMobileVerticalHeight;
|
|
9
8
|
private _subscription;
|
|
10
|
-
constructor(_platform: Platform, _window?: Window, _document?: Document);
|
|
11
9
|
mobileVerticalHeight(): void;
|
|
12
10
|
ngOnDestroy(): void;
|
|
13
11
|
private periodicallySetDocumentVerticalProperty;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Patch,
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Patch, never>;
|
|
15
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<Patch>;
|
|
16
14
|
}
|
|
@@ -6,7 +6,7 @@ import { Localize } from '../localize.service';
|
|
|
6
6
|
export declare class LocalizeInterpolateTransform extends LocalizeTransform {
|
|
7
7
|
protected readonly config?: LocalizeConfig;
|
|
8
8
|
protected readonly functions?: LocalizeFunction[];
|
|
9
|
-
protected readonly substitutions: [string, string];
|
|
9
|
+
protected readonly substitutions: [leftSubstitution: string, rightSubstitution: string];
|
|
10
10
|
protected readonly functionsMap: LocalizeFunctionMap;
|
|
11
11
|
execute(value: string, data: LocalizeParams['data'], localize: Localize): string;
|
|
12
12
|
protected parseInterpolationToken(value: string, data: LocalizeParams['data'], localize: Localize): string;
|
|
@@ -4,7 +4,7 @@ import { LocalizeTransform } from './abstract.transform';
|
|
|
4
4
|
import { Localize } from '../localize.service';
|
|
5
5
|
export declare class LocalizePluralTransform extends LocalizeTransform {
|
|
6
6
|
protected readonly config?: LocalizeConfig;
|
|
7
|
-
protected readonly substitutions: [string, string];
|
|
7
|
+
protected readonly substitutions: [leftSubstitution: string, rightSubstitution: string];
|
|
8
8
|
protected readonly defaultAmount = "default";
|
|
9
9
|
protected readonly multiItemRegex: RegExp;
|
|
10
10
|
protected readonly singleItemRegex: RegExp;
|
|
@@ -4,6 +4,6 @@ import { LocalizeTransform } from './abstract.transform';
|
|
|
4
4
|
import { Localize } from '../localize.service';
|
|
5
5
|
export declare class LocalizeReferenceTransform extends LocalizeTransform {
|
|
6
6
|
protected readonly config?: LocalizeConfig;
|
|
7
|
-
protected readonly substitutions: [string, string];
|
|
7
|
+
protected readonly substitutions: [leftSubstitution: string, rightSubstitution: string];
|
|
8
8
|
execute(value: string, _: LocalizeParams['data'], localize: Localize): string;
|
|
9
9
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Notification, NotificationAction } from '../notifications.interfaces';
|
|
3
|
-
import { Platform } from '@angular/cdk/platform';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BbNotificationsItem implements OnInit, OnDestroy {
|
|
6
|
-
private _zone;
|
|
7
|
-
private _platform;
|
|
8
|
-
private _changeDetection;
|
|
5
|
+
private readonly _zone;
|
|
6
|
+
private readonly _platform;
|
|
7
|
+
private readonly _changeDetection;
|
|
9
8
|
private readonly _config?;
|
|
10
9
|
private readonly _window?;
|
|
11
10
|
readonly dismissText: string;
|
|
@@ -21,7 +20,6 @@ export declare class BbNotificationsItem implements OnInit, OnDestroy {
|
|
|
21
20
|
private readonly _radius;
|
|
22
21
|
private readonly _circumference;
|
|
23
22
|
get getClass(): string;
|
|
24
|
-
constructor(_zone: NgZone, _platform: Platform, _changeDetection: ChangeDetectorRef);
|
|
25
23
|
get progressStrokeArray(): string;
|
|
26
24
|
get progressStrokeOffset(): number;
|
|
27
25
|
ngOnInit(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bravobit/bb-foundation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.51.0",
|
|
4
4
|
"description": "The Angular core foundation of the Bravobit team.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Stan van Heumen",
|
|
@@ -40,6 +40,14 @@
|
|
|
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"
|
|
50
|
+
},
|
|
43
51
|
"./dashboard": {
|
|
44
52
|
"types": "./dashboard/index.d.ts",
|
|
45
53
|
"default": "./fesm2022/bravobit-bb-foundation-dashboard.mjs"
|
|
@@ -48,22 +56,14 @@
|
|
|
48
56
|
"types": "./elements/index.d.ts",
|
|
49
57
|
"default": "./fesm2022/bravobit-bb-foundation-elements.mjs"
|
|
50
58
|
},
|
|
51
|
-
"./
|
|
52
|
-
"types": "./
|
|
53
|
-
"default": "./fesm2022/bravobit-bb-foundation-
|
|
59
|
+
"./dialog": {
|
|
60
|
+
"types": "./dialog/index.d.ts",
|
|
61
|
+
"default": "./fesm2022/bravobit-bb-foundation-dialog.mjs"
|
|
54
62
|
},
|
|
55
63
|
"./http": {
|
|
56
64
|
"types": "./http/index.d.ts",
|
|
57
65
|
"default": "./fesm2022/bravobit-bb-foundation-http.mjs"
|
|
58
66
|
},
|
|
59
|
-
"./collections": {
|
|
60
|
-
"types": "./collections/index.d.ts",
|
|
61
|
-
"default": "./fesm2022/bravobit-bb-foundation-collections.mjs"
|
|
62
|
-
},
|
|
63
|
-
"./dialog": {
|
|
64
|
-
"types": "./dialog/index.d.ts",
|
|
65
|
-
"default": "./fesm2022/bravobit-bb-foundation-dialog.mjs"
|
|
66
|
-
},
|
|
67
67
|
"./localize": {
|
|
68
68
|
"types": "./localize/index.d.ts",
|
|
69
69
|
"default": "./fesm2022/bravobit-bb-foundation-localize.mjs"
|
|
@@ -96,14 +96,14 @@
|
|
|
96
96
|
"types": "./storage/index.d.ts",
|
|
97
97
|
"default": "./fesm2022/bravobit-bb-foundation-storage.mjs"
|
|
98
98
|
},
|
|
99
|
-
"./tooltip": {
|
|
100
|
-
"types": "./tooltip/index.d.ts",
|
|
101
|
-
"default": "./fesm2022/bravobit-bb-foundation-tooltip.mjs"
|
|
102
|
-
},
|
|
103
99
|
"./table": {
|
|
104
100
|
"types": "./table/index.d.ts",
|
|
105
101
|
"default": "./fesm2022/bravobit-bb-foundation-table.mjs"
|
|
106
102
|
},
|
|
103
|
+
"./tooltip": {
|
|
104
|
+
"types": "./tooltip/index.d.ts",
|
|
105
|
+
"default": "./fesm2022/bravobit-bb-foundation-tooltip.mjs"
|
|
106
|
+
},
|
|
107
107
|
"./utils": {
|
|
108
108
|
"types": "./utils/index.d.ts",
|
|
109
109
|
"default": "./fesm2022/bravobit-bb-foundation-utils.mjs"
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { OnDestroy, OnInit, TemplateRef
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { PermissionsMode } from '../permissions.interface';
|
|
3
|
-
import { Permissions } from '../permissions.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BbPermission implements OnInit, OnDestroy {
|
|
6
|
-
private _permissions;
|
|
7
|
-
private _templateRef;
|
|
8
|
-
private _viewContainerRef;
|
|
5
|
+
private readonly _permissions;
|
|
6
|
+
private readonly _templateRef;
|
|
7
|
+
private readonly _viewContainerRef;
|
|
9
8
|
private _elseTemplateRef;
|
|
10
9
|
private _thenViewRef;
|
|
11
10
|
private _elseViewRef;
|
|
@@ -16,7 +15,6 @@ export declare class BbPermission implements OnInit, OnDestroy {
|
|
|
16
15
|
set bbPermissionElse(templateRef: TemplateRef<any>);
|
|
17
16
|
set bbPermissionMode(mode: PermissionsMode);
|
|
18
17
|
private _subscription;
|
|
19
|
-
constructor(_permissions: Permissions, _templateRef: TemplateRef<any>, _viewContainerRef: ViewContainerRef);
|
|
20
18
|
ngOnInit(): void;
|
|
21
19
|
ngOnDestroy(): void;
|
|
22
20
|
private updateView;
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
2
|
-
import { RecaptchaConfig } from '../recaptcha.interface';
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { RecaptchaLoader } from '../recaptcha-loader.service';
|
|
5
|
-
import { Platform } from '@angular/cdk/platform';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
3
|
import * as i0 from "@angular/core";
|
|
8
4
|
export declare class RecaptchaComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
9
|
-
private _zone;
|
|
10
|
-
private _platform;
|
|
11
|
-
private _renderer;
|
|
12
|
-
private _elementRef;
|
|
13
|
-
private _loader;
|
|
14
|
-
private _localizeId;
|
|
15
|
-
private _config?;
|
|
5
|
+
private readonly _zone;
|
|
6
|
+
private readonly _platform;
|
|
7
|
+
private readonly _renderer;
|
|
8
|
+
private readonly _elementRef;
|
|
9
|
+
private readonly _loader;
|
|
10
|
+
private readonly _localizeId;
|
|
11
|
+
private readonly _config?;
|
|
16
12
|
id: string;
|
|
17
13
|
siteKey: string | null;
|
|
18
14
|
tabIndex: number | null;
|
|
@@ -30,7 +26,7 @@ export declare class RecaptchaComponent implements ControlValueAccessor, AfterVi
|
|
|
30
26
|
private _onChange;
|
|
31
27
|
private _onTouched;
|
|
32
28
|
private _subscriptions;
|
|
33
|
-
constructor(
|
|
29
|
+
constructor();
|
|
34
30
|
ngAfterViewInit(): void;
|
|
35
31
|
ngOnDestroy(): void;
|
|
36
32
|
execute(): void;
|
|
@@ -45,7 +41,7 @@ export declare class RecaptchaComponent implements ControlValueAccessor, AfterVi
|
|
|
45
41
|
private handleOnLoad;
|
|
46
42
|
private handleLocaleChanges;
|
|
47
43
|
private onLocaleChanged;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaComponent,
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaComponent, never>;
|
|
49
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "bb-recaptcha", ["bbRecaptcha"], { "id": { "alias": "id"; "required": false; }; "siteKey": { "alias": "siteKey"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "errorMode": { "alias": "errorMode"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; }, { "resolved": "resolved"; "error": "error"; }, never, never, true, never>;
|
|
50
46
|
static ngAcceptInputType_grouped: unknown;
|
|
51
47
|
}
|
|
@@ -2,7 +2,6 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BbSelectLabel {
|
|
4
4
|
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectLabel, never>;
|
|
7
6
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectLabel, "ng-template[bbSelectLabel]", never, {}, {}, never, never, true, never>;
|
|
8
7
|
}
|
|
@@ -2,7 +2,6 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BbSelectMultiLabel {
|
|
4
4
|
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectMultiLabel, never>;
|
|
7
6
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectMultiLabel, "ng-template[bbSelectMultiLabel]", never, {}, {}, never, never, true, never>;
|
|
8
7
|
}
|
|
@@ -2,7 +2,6 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BbSelectOptionGroup {
|
|
4
4
|
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectOptionGroup, never>;
|
|
7
6
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectOptionGroup, "ng-template[bbSelectOptionGroup]", never, {}, {}, never, never, true, never>;
|
|
8
7
|
}
|
|
@@ -2,7 +2,6 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BbSelectOption {
|
|
4
4
|
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectOption, never>;
|
|
7
6
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectOption, "ng-template[bbSelectOption]", never, {}, {}, never, never, true, never>;
|
|
8
7
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { StorageOption, StorageStrategy } from './interfaces/strategy.interface';
|
|
2
2
|
import { StorageAttributes } from './interfaces/attributes.interface';
|
|
3
|
-
import { Platform } from '@angular/cdk/platform';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class Storage implements StorageStrategy {
|
|
6
|
-
private _platform;
|
|
7
|
-
private _cookieString?;
|
|
5
|
+
private readonly _platform;
|
|
6
|
+
private readonly _cookieString?;
|
|
8
7
|
private readonly _strategies;
|
|
9
8
|
private readonly _current;
|
|
10
|
-
constructor(
|
|
9
|
+
constructor();
|
|
11
10
|
select(option: StorageOption | StorageOption[]): StorageStrategy;
|
|
12
11
|
get local(): StorageStrategy;
|
|
13
12
|
get cookie(): StorageStrategy;
|
|
@@ -21,6 +20,6 @@ export declare class Storage implements StorageStrategy {
|
|
|
21
20
|
private findBestStorageStrategy;
|
|
22
21
|
private getLocalStorage;
|
|
23
22
|
private getSessionStorage;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Storage,
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Storage, never>;
|
|
25
24
|
static ɵprov: i0.ɵɵInjectableDeclaration<Storage>;
|
|
26
25
|
}
|
package/styles/theme.scss
CHANGED
|
@@ -54,6 +54,11 @@
|
|
|
54
54
|
// Controls.
|
|
55
55
|
--bb-control-border-color: hsla(213, 8%, 74%, 1);
|
|
56
56
|
--bb-control-focus-border-color: hsla(213, 8%, 50%, 1);
|
|
57
|
+
--bb-control-error-color: hsl(0, 80%, 25%);
|
|
58
|
+
--bb-control-error-placeholder-color: hsl(0, 80%, 70%);
|
|
59
|
+
--bb-control-error-border-color: hsl(0, 80%, 30%);
|
|
60
|
+
--bb-control-error-background-color: hsl(0, 80%, 90%);
|
|
61
|
+
--bb-control-error-box-shadow: 0 0.375rem 0.375rem -0.375rem hsla(0, 0%, 0%, 0.1), 0 0 0 0.1875rem hsl(0, 80%, 90%);
|
|
57
62
|
|
|
58
63
|
// Checkbox.
|
|
59
64
|
--bb-checkbox-border-radius: 0.25rem;
|
|
@@ -107,7 +112,7 @@
|
|
|
107
112
|
|
|
108
113
|
// Collections table label.
|
|
109
114
|
--bb-collections-table-label-color: var(--bb-primary-color-550);
|
|
110
|
-
--bb-collections-table-loader-color: var(--bb-primary-color-500);
|
|
115
|
+
--bb-collections-table-loader-color: red; //var(--bb-primary-color-500);
|
|
111
116
|
|
|
112
117
|
// Spinner.
|
|
113
118
|
--bb-spinner-color: var(--bb-primary-color-500);
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { AfterViewInit
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BbAutosize implements AfterViewInit {
|
|
4
|
-
private _renderer;
|
|
5
|
-
private _elementRef;
|
|
4
|
+
private readonly _renderer;
|
|
5
|
+
private readonly _elementRef;
|
|
6
6
|
minHeight: string | null;
|
|
7
7
|
maxHeight: string | null;
|
|
8
8
|
rows: number;
|
|
9
|
-
constructor(_renderer: Renderer2, _elementRef: ElementRef);
|
|
10
9
|
get element(): HTMLTextAreaElement;
|
|
11
10
|
ngAfterViewInit(): void;
|
|
12
11
|
onWindowResize(): void;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { Platform } from '@angular/cdk/platform';
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
export declare class BbFocusTrap {
|
|
5
|
-
private _platform;
|
|
6
|
-
private _elementRef;
|
|
3
|
+
private readonly _platform;
|
|
4
|
+
private readonly _elementRef;
|
|
7
5
|
private readonly _focusableElements;
|
|
8
|
-
constructor(_platform: Platform, _elementRef: ElementRef);
|
|
9
6
|
onKeydown(event: KeyboardEvent): void;
|
|
10
7
|
trapFocus(event: KeyboardEvent): void;
|
|
11
8
|
private get element();
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { AfterViewInit
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
2
|
import { FocusMode } from '@bravobit/bb-foundation';
|
|
3
|
-
import { Platform } from '@angular/cdk/platform';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BbFocus implements AfterViewInit {
|
|
6
|
-
private _zone;
|
|
7
|
-
private _platform;
|
|
8
|
-
private _elementRef;
|
|
5
|
+
private readonly _zone;
|
|
6
|
+
private readonly _platform;
|
|
7
|
+
private readonly _elementRef;
|
|
9
8
|
private readonly _globalFocusMode;
|
|
10
9
|
bbFocusMode: FocusMode | null;
|
|
11
|
-
constructor(_zone: NgZone, _platform: Platform, _elementRef: ElementRef);
|
|
12
10
|
private get nativeElement();
|
|
13
11
|
ngAfterViewInit(): void;
|
|
14
12
|
private isMobile;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { TemplateRef
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BbTemplate {
|
|
4
|
-
private _templateRef;
|
|
5
|
-
private _viewContainerRef;
|
|
4
|
+
private readonly _templateRef;
|
|
5
|
+
private readonly _viewContainerRef;
|
|
6
6
|
set bbTemplate(content: string | TemplateRef<any>);
|
|
7
|
-
constructor(_templateRef: TemplateRef<any>, _viewContainerRef: ViewContainerRef);
|
|
8
7
|
static ngAcceptInputType_bbTemplate: string | TemplateRef<any>;
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTemplate, never>;
|
|
10
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTemplate, "[bbTemplate]", never, { "bbTemplate": { "alias": "bbTemplate"; "required": false; }; }, {}, never, never, true, never>;
|