@bravobit/bb-foundation 0.52.9 → 0.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/elements/lib/elements.inject.d.ts +3 -0
- package/elements/lib/elements.interfaces.d.ts +2 -0
- package/elements/lib/elements.module.d.ts +2 -1
- package/elements/lib/file-picker/file-picker.component.d.ts +13 -3
- package/elements/lib/multi-file-control/multi-file-control.component.d.ts +23 -4
- package/elements/lib/pincode-control/pincode-control.component.d.ts +65 -0
- package/elements/lib/pipes/file-size.pipe.d.ts +0 -1
- package/elements/public_api.d.ts +2 -0
- package/fesm2022/bravobit-bb-foundation-auth.mjs +22 -22
- 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 +31 -31
- package/fesm2022/bravobit-bb-foundation-elements.mjs +367 -146
- 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 +37 -33
- package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-masking.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation-notifications.mjs +13 -13
- package/fesm2022/bravobit-bb-foundation-permissions.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-select.mjs +19 -19
- package/fesm2022/bravobit-bb-foundation-storage.mjs +3 -3
- package/fesm2022/bravobit-bb-foundation-table.mjs +22 -22
- package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-utils.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation.mjs +35 -33
- package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
- package/lib/core/functions/format.utils.d.ts +1 -0
- package/localize/lib/localizations/dutch.localization.d.ts +1 -0
- package/localize/lib/localizations/english.localization.d.ts +1 -0
- package/localize/lib/localizations/papiamento.localization.d.ts +1 -0
- package/localize/lib/localizations/spanish.localization.d.ts +1 -0
- package/package.json +6 -6
- package/public_api.d.ts +1 -0
|
@@ -30,9 +30,10 @@ import * as i26 from "./date-picker/date-picker.component";
|
|
|
30
30
|
import * as i27 from "./color-slider/color-slider.component";
|
|
31
31
|
import * as i28 from "./color-picker/color-picker.component";
|
|
32
32
|
import * as i29 from "./image-control/image-control.component";
|
|
33
|
+
import * as i30 from "./pincode-control/pincode-control.component";
|
|
33
34
|
export declare class ElementsModule {
|
|
34
35
|
static forRoot(config?: ElementsConfig): ModuleWithProviders<ElementsModule>;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElementsModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementsModule, never, [typeof i1.BbFormError, typeof i2.BbFormSubmit, typeof i3.BbFormSubmitter, typeof i4.BbInput, typeof i5.BbImageUpload, typeof i6.BbExtraErrorControls, typeof i7.BbFileDrop, typeof i8.ColorPickerDirective, typeof i9.BbFileSize, typeof i10.BbFileImage, typeof i11.BbRelativeTime, typeof i12.BbDate, typeof i13.BbButton, typeof i13.BbAnchor, typeof i14.BbSpinner, typeof i15.BbIcon, typeof i16.BbFormControl, typeof i17.BbFormGroup, typeof i18.BbCheckbox, typeof i19.BbCheckboxGroup, typeof i20.BbRadioGroup, typeof i21.BbRadioButton, typeof i22.BbAvatar, typeof i23.BbMultiFileControl, typeof i24.BbFilePicker, typeof i25.BbImagePicker, typeof i26.BbDatePicker, typeof i27.BbColorSlider, typeof i28.BbColorPicker, typeof i29.BbImageControl], [typeof i1.BbFormError, typeof i2.BbFormSubmit, typeof i3.BbFormSubmitter, typeof i4.BbInput, typeof i5.BbImageUpload, typeof i6.BbExtraErrorControls, typeof i7.BbFileDrop, typeof i8.ColorPickerDirective, typeof i9.BbFileSize, typeof i10.BbFileImage, typeof i11.BbRelativeTime, typeof i12.BbDate, typeof i13.BbButton, typeof i13.BbAnchor, typeof i14.BbSpinner, typeof i15.BbIcon, typeof i16.BbFormControl, typeof i17.BbFormGroup, typeof i18.BbCheckbox, typeof i19.BbCheckboxGroup, typeof i20.BbRadioGroup, typeof i21.BbRadioButton, typeof i22.BbAvatar, typeof i23.BbMultiFileControl, typeof i24.BbFilePicker, typeof i25.BbImagePicker, typeof i26.BbDatePicker, typeof i27.BbColorSlider, typeof i28.BbColorPicker, typeof i29.BbImageControl]>;
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementsModule, never, [typeof i1.BbFormError, typeof i2.BbFormSubmit, typeof i3.BbFormSubmitter, typeof i4.BbInput, typeof i5.BbImageUpload, typeof i6.BbExtraErrorControls, typeof i7.BbFileDrop, typeof i8.ColorPickerDirective, typeof i9.BbFileSize, typeof i10.BbFileImage, typeof i11.BbRelativeTime, typeof i12.BbDate, typeof i13.BbButton, typeof i13.BbAnchor, typeof i14.BbSpinner, typeof i15.BbIcon, typeof i16.BbFormControl, typeof i17.BbFormGroup, typeof i18.BbCheckbox, typeof i19.BbCheckboxGroup, typeof i20.BbRadioGroup, typeof i21.BbRadioButton, typeof i22.BbAvatar, typeof i23.BbMultiFileControl, typeof i24.BbFilePicker, typeof i25.BbImagePicker, typeof i26.BbDatePicker, typeof i27.BbColorSlider, typeof i28.BbColorPicker, typeof i29.BbImageControl, typeof i30.BbPincodeControl], [typeof i1.BbFormError, typeof i2.BbFormSubmit, typeof i3.BbFormSubmitter, typeof i4.BbInput, typeof i5.BbImageUpload, typeof i6.BbExtraErrorControls, typeof i7.BbFileDrop, typeof i8.ColorPickerDirective, typeof i9.BbFileSize, typeof i10.BbFileImage, typeof i11.BbRelativeTime, typeof i12.BbDate, typeof i13.BbButton, typeof i13.BbAnchor, typeof i14.BbSpinner, typeof i15.BbIcon, typeof i16.BbFormControl, typeof i17.BbFormGroup, typeof i18.BbCheckbox, typeof i19.BbCheckboxGroup, typeof i20.BbRadioGroup, typeof i21.BbRadioButton, typeof i22.BbAvatar, typeof i23.BbMultiFileControl, typeof i24.BbFilePicker, typeof i25.BbImagePicker, typeof i26.BbDatePicker, typeof i27.BbColorSlider, typeof i28.BbColorPicker, typeof i29.BbImageControl, typeof i30.BbPincodeControl]>;
|
|
37
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<ElementsModule>;
|
|
38
39
|
}
|
|
@@ -3,13 +3,13 @@ import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BbFilePicker implements ControlValueAccessor {
|
|
6
|
-
private readonly _config?;
|
|
7
6
|
readonly labelId: string;
|
|
8
7
|
fileInput: ElementRef<HTMLInputElement>;
|
|
9
8
|
extraTemplate: TemplateRef<any>;
|
|
10
9
|
label: string | TemplateRef<any> | null;
|
|
11
10
|
hint: string | TemplateRef<any> | null;
|
|
12
11
|
accept: string;
|
|
12
|
+
maxFileSize: number;
|
|
13
13
|
showImages: boolean;
|
|
14
14
|
grouped: boolean;
|
|
15
15
|
required: boolean;
|
|
@@ -37,12 +37,22 @@ export declare class BbFilePicker implements ControlValueAccessor {
|
|
|
37
37
|
} | null): void;
|
|
38
38
|
validate({ value }: FormControl<File>): {
|
|
39
39
|
invalidFileType: boolean;
|
|
40
|
+
maxFileSize?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
maxFileSize: {
|
|
43
|
+
maxSize: string;
|
|
44
|
+
};
|
|
45
|
+
invalidFileType?: undefined;
|
|
40
46
|
};
|
|
41
47
|
saveFile(files: File[]): void;
|
|
42
48
|
private getFilesFromEvent;
|
|
43
|
-
private
|
|
49
|
+
private isValidFileType;
|
|
50
|
+
private isValidFileSize;
|
|
51
|
+
private isFileLike;
|
|
44
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbFilePicker, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbFilePicker, "bb-file-picker", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "showImages": { "alias": "showImages"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["extraTemplate"], never, true, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbFilePicker, "bb-file-picker", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "showImages": { "alias": "showImages"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["extraTemplate"], never, true, never>;
|
|
54
|
+
static ngAcceptInputType_maxFileSize: unknown;
|
|
55
|
+
static ngAcceptInputType_showImages: unknown;
|
|
46
56
|
static ngAcceptInputType_grouped: unknown;
|
|
47
57
|
static ngAcceptInputType_required: unknown;
|
|
48
58
|
static ngAcceptInputType_disabled: unknown;
|
|
@@ -4,12 +4,13 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class BbMultiFileControl implements ControlValueAccessor {
|
|
5
5
|
private readonly _files;
|
|
6
6
|
private readonly _changeDetectorRef;
|
|
7
|
-
private readonly _config?;
|
|
8
7
|
readonly labelId: string;
|
|
9
8
|
fileInput: ElementRef<HTMLInputElement>;
|
|
10
9
|
label: string | TemplateRef<any> | null;
|
|
11
10
|
hint: string | TemplateRef<any> | null;
|
|
12
11
|
accept: string;
|
|
12
|
+
maxFileSize: number;
|
|
13
|
+
maxTotalFileSize: number;
|
|
13
14
|
grouped: boolean;
|
|
14
15
|
required: boolean;
|
|
15
16
|
disabled: boolean;
|
|
@@ -41,14 +42,32 @@ export declare class BbMultiFileControl implements ControlValueAccessor {
|
|
|
41
42
|
token: string;
|
|
42
43
|
data?: any;
|
|
43
44
|
} | null): void;
|
|
44
|
-
validate(
|
|
45
|
+
validate(control: FormControl<File[]>): {
|
|
45
46
|
invalidFiles: Record<number, boolean>;
|
|
47
|
+
maxFileSize?: undefined;
|
|
48
|
+
maxTotalFileSize?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
maxFileSize: {
|
|
51
|
+
maxSize: string;
|
|
52
|
+
};
|
|
53
|
+
invalidFiles?: undefined;
|
|
54
|
+
maxTotalFileSize?: undefined;
|
|
55
|
+
} | {
|
|
56
|
+
maxTotalFileSize: {
|
|
57
|
+
max: string;
|
|
58
|
+
current: string;
|
|
59
|
+
};
|
|
60
|
+
invalidFiles?: undefined;
|
|
61
|
+
maxFileSize?: undefined;
|
|
46
62
|
};
|
|
47
63
|
addFiles(files: File[]): void;
|
|
64
|
+
private isValidFileSize;
|
|
65
|
+
private isValidFileType;
|
|
48
66
|
private isFileLike;
|
|
49
|
-
private getAcceptString;
|
|
50
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbMultiFileControl, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbMultiFileControl, "bb-multi-file-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "delete": "delete"; }, never, never, true, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbMultiFileControl, "bb-multi-file-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "maxTotalFileSize": { "alias": "maxTotalFileSize"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "delete": "delete"; }, never, never, true, never>;
|
|
69
|
+
static ngAcceptInputType_maxFileSize: unknown;
|
|
70
|
+
static ngAcceptInputType_maxTotalFileSize: unknown;
|
|
52
71
|
static ngAcceptInputType_grouped: unknown;
|
|
53
72
|
static ngAcceptInputType_required: unknown;
|
|
54
73
|
static ngAcceptInputType_disabled: unknown;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormControl, Validator } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BbPincodeControl implements OnInit, OnDestroy, ControlValueAccessor, Validator {
|
|
6
|
+
private readonly _platform;
|
|
7
|
+
private readonly _changeDetectorRef;
|
|
8
|
+
htmlInputElementRef: ElementRef<HTMLInputElement>;
|
|
9
|
+
label: string | TemplateRef<any> | null;
|
|
10
|
+
hint: string | TemplateRef<any> | null;
|
|
11
|
+
placeholder: string | null;
|
|
12
|
+
autoFocus: boolean;
|
|
13
|
+
required: boolean;
|
|
14
|
+
readonly: boolean;
|
|
15
|
+
grouped: boolean;
|
|
16
|
+
digits: number;
|
|
17
|
+
get value(): string | null;
|
|
18
|
+
valueChange: EventEmitter<string>;
|
|
19
|
+
set value(value: string | null);
|
|
20
|
+
data$: Observable<{
|
|
21
|
+
items?: {
|
|
22
|
+
index: number;
|
|
23
|
+
value: string;
|
|
24
|
+
active: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
}>;
|
|
27
|
+
control: FormControl<string>;
|
|
28
|
+
error: boolean;
|
|
29
|
+
onTouchedCallback: () => void;
|
|
30
|
+
onChangeCallback: (_: string | null) => void;
|
|
31
|
+
private _subscription;
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
writeValue(value: string | null): void;
|
|
35
|
+
registerOnChange(method: (_: string | null) => void): void;
|
|
36
|
+
registerOnTouched(method: () => void): void;
|
|
37
|
+
setDisabledState(isDisabled: boolean): void;
|
|
38
|
+
onErrorChange(error: {
|
|
39
|
+
token: string;
|
|
40
|
+
data?: any;
|
|
41
|
+
} | null): void;
|
|
42
|
+
validate(control: FormControl): {
|
|
43
|
+
maxlength: {
|
|
44
|
+
actualLength: any;
|
|
45
|
+
requiredLength: number;
|
|
46
|
+
};
|
|
47
|
+
minlength?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
minlength: {
|
|
50
|
+
actualLength: any;
|
|
51
|
+
requiredLength: number;
|
|
52
|
+
};
|
|
53
|
+
maxlength?: undefined;
|
|
54
|
+
};
|
|
55
|
+
private setData;
|
|
56
|
+
private handleValueChanges;
|
|
57
|
+
private handleAutoFocus;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbPincodeControl, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbPincodeControl, "bb-pincode-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "digits": { "alias": "digits"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
60
|
+
static ngAcceptInputType_autoFocus: unknown;
|
|
61
|
+
static ngAcceptInputType_required: unknown;
|
|
62
|
+
static ngAcceptInputType_readonly: unknown;
|
|
63
|
+
static ngAcceptInputType_grouped: unknown;
|
|
64
|
+
static ngAcceptInputType_digits: unknown;
|
|
65
|
+
}
|
|
@@ -2,7 +2,6 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BbFileSize implements PipeTransform {
|
|
4
4
|
transform(value: number): string;
|
|
5
|
-
private format;
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbFileSize, never>;
|
|
7
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<BbFileSize, "bbFileSize", true>;
|
|
8
7
|
}
|
package/elements/public_api.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export * from './lib/date-picker/date-picker.component';
|
|
|
28
28
|
export * from './lib/color-slider/color-slider.component';
|
|
29
29
|
export * from './lib/color-picker/color-picker.component';
|
|
30
30
|
export * from './lib/image-control/image-control.component';
|
|
31
|
+
export * from './lib/pincode-control/pincode-control.component';
|
|
32
|
+
export * from './lib/elements.inject';
|
|
31
33
|
export * from './lib/elements.interfaces';
|
|
32
34
|
export * from './lib/elements.config';
|
|
33
35
|
export * from './lib/elements.module';
|
|
@@ -526,10 +526,10 @@ class Auth {
|
|
|
526
526
|
.filter(item => !!item)
|
|
527
527
|
.join('/');
|
|
528
528
|
}
|
|
529
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
530
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
529
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: Auth, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
530
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: Auth, providedIn: 'root' });
|
|
531
531
|
}
|
|
532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: Auth, decorators: [{
|
|
533
533
|
type: Injectable,
|
|
534
534
|
args: [{
|
|
535
535
|
providedIn: 'root'
|
|
@@ -592,10 +592,10 @@ class BbAuthenticated {
|
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
static ngAcceptInputType_bbAuthenticatedElse;
|
|
595
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
596
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.
|
|
595
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbAuthenticated, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
596
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: BbAuthenticated, isStandalone: true, selector: "ng-template[bbAuthenticated]", inputs: { bbAuthenticatedElse: "bbAuthenticatedElse" }, ngImport: i0 });
|
|
597
597
|
}
|
|
598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbAuthenticated, decorators: [{
|
|
599
599
|
type: Directive,
|
|
600
600
|
args: [{
|
|
601
601
|
selector: 'ng-template[bbAuthenticated]'
|
|
@@ -660,10 +660,10 @@ class BbAnonymous {
|
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
static ngAcceptInputType_bbAnonymousElse;
|
|
663
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
664
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.
|
|
663
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbAnonymous, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
664
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: BbAnonymous, isStandalone: true, selector: "ng-template[bbAnonymous]", inputs: { bbAnonymousElse: "bbAnonymousElse" }, ngImport: i0 });
|
|
665
665
|
}
|
|
666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: BbAnonymous, decorators: [{
|
|
667
667
|
type: Directive,
|
|
668
668
|
args: [{
|
|
669
669
|
selector: 'ng-template[bbAnonymous]'
|
|
@@ -748,10 +748,10 @@ class Acting {
|
|
|
748
748
|
const active$ = this._userId$.pipe(map(item => !!item), distinctUntilChanged());
|
|
749
749
|
return combineLatestMap({ active: active$, user: this._auth.user });
|
|
750
750
|
}
|
|
751
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
752
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
751
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: Acting, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
752
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: Acting, providedIn: 'root' });
|
|
753
753
|
}
|
|
754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: Acting, decorators: [{
|
|
755
755
|
type: Injectable,
|
|
756
756
|
args: [{
|
|
757
757
|
providedIn: 'root'
|
|
@@ -773,10 +773,10 @@ class ActingInterceptor {
|
|
|
773
773
|
});
|
|
774
774
|
return next.handle(modified);
|
|
775
775
|
}
|
|
776
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
777
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
776
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ActingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
777
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ActingInterceptor });
|
|
778
778
|
}
|
|
779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
779
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ActingInterceptor, decorators: [{
|
|
780
780
|
type: Injectable
|
|
781
781
|
}] });
|
|
782
782
|
|
|
@@ -859,10 +859,10 @@ class AuthInterceptor {
|
|
|
859
859
|
// Return the default access token.
|
|
860
860
|
return this._auth.session.accessToken;
|
|
861
861
|
}
|
|
862
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
863
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
|
862
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: AuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
863
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: AuthInterceptor });
|
|
864
864
|
}
|
|
865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: AuthInterceptor, decorators: [{
|
|
866
866
|
type: Injectable
|
|
867
867
|
}] });
|
|
868
868
|
|
|
@@ -890,11 +890,11 @@ class AuthModule {
|
|
|
890
890
|
]
|
|
891
891
|
};
|
|
892
892
|
}
|
|
893
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
|
894
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.
|
|
895
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.
|
|
893
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: AuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
894
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: AuthModule, imports: [BbAuthenticated], exports: [BbAuthenticated] });
|
|
895
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: AuthModule });
|
|
896
896
|
}
|
|
897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
|
897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: AuthModule, decorators: [{
|
|
898
898
|
type: NgModule,
|
|
899
899
|
args: [{
|
|
900
900
|
imports: [BbAuthenticated],
|