@bravobit/bb-foundation 0.55.6 → 0.57.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/dialog/index.d.ts +5 -4
- package/elements/index.d.ts +19 -20
- package/fesm2022/bravobit-bb-foundation-auth.mjs +22 -22
- package/fesm2022/bravobit-bb-foundation-collections.mjs +43 -43
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs +25 -25
- package/fesm2022/bravobit-bb-foundation-dialog.mjs +36 -32
- package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-elements.mjs +117 -127
- 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 +16 -29
- package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
- 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 +30 -27
- package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -1
- 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 +21 -21
- package/package.json +9 -13
- package/combobox/index.d.ts +0 -58
- package/fesm2022/bravobit-bb-foundation-combobox.mjs +0 -325
- package/fesm2022/bravobit-bb-foundation-combobox.mjs.map +0 -1
package/dialog/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, OnInit, OnDestroy, EventEmitter,
|
|
4
|
+
import { InjectionToken, OnInit, OnDestroy, EventEmitter, TemplateRef, Type, EnvironmentProviders, ViewContainerRef, ComponentRef, ModuleWithProviders } from '@angular/core';
|
|
5
5
|
|
|
6
6
|
declare class BbDialogRef<T = any> {
|
|
7
7
|
private readonly _afterClosed$;
|
|
@@ -83,15 +83,16 @@ declare class BbDialogActions {
|
|
|
83
83
|
|
|
84
84
|
declare class BbConfirm {
|
|
85
85
|
private _dialog;
|
|
86
|
-
bbConfirmTitle: string
|
|
87
|
-
bbConfirmDescription: string
|
|
86
|
+
bbConfirmTitle: string | TemplateRef<any>;
|
|
87
|
+
bbConfirmDescription: string | TemplateRef<any>;
|
|
88
88
|
bbConfirmIconName: string | null;
|
|
89
89
|
bbConfirmButtonText: string | null;
|
|
90
|
+
bbConfirmWidth: string | null;
|
|
90
91
|
bbCancelButtonText: string | null;
|
|
91
92
|
confirm: EventEmitter<MouseEvent>;
|
|
92
93
|
onClick(event: MouseEvent): Promise<void>;
|
|
93
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbConfirm, never>;
|
|
94
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbConfirm, "[bbConfirm]", never, { "bbConfirmTitle": { "alias": "bbConfirmTitle"; "required": false; }; "bbConfirmDescription": { "alias": "bbConfirmDescription"; "required": false; }; "bbConfirmIconName": { "alias": "bbConfirmIconName"; "required": false; }; "bbConfirmButtonText": { "alias": "bbConfirmButtonText"; "required": false; }; "bbCancelButtonText": { "alias": "bbCancelButtonText"; "required": false; }; }, { "confirm": "bbConfirm"; }, never, never, true, never>;
|
|
95
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbConfirm, "[bbConfirm]", never, { "bbConfirmTitle": { "alias": "bbConfirmTitle"; "required": false; }; "bbConfirmDescription": { "alias": "bbConfirmDescription"; "required": false; }; "bbConfirmIconName": { "alias": "bbConfirmIconName"; "required": false; }; "bbConfirmButtonText": { "alias": "bbConfirmButtonText"; "required": false; }; "bbConfirmWidth": { "alias": "bbConfirmWidth"; "required": false; }; "bbCancelButtonText": { "alias": "bbCancelButtonText"; "required": false; }; }, { "confirm": "bbConfirm"; }, never, never, true, never>;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
declare class Dialog {
|
package/elements/index.d.ts
CHANGED
|
@@ -433,6 +433,19 @@ declare class BbAvatar {
|
|
|
433
433
|
static ɵcmp: i0.ɵɵComponentDeclaration<BbAvatar, "bb-avatar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
+
interface BbMultiFileControlItem {
|
|
437
|
+
id: number;
|
|
438
|
+
label: string;
|
|
439
|
+
url: string;
|
|
440
|
+
description?: string;
|
|
441
|
+
}
|
|
442
|
+
type BbMultiFileControlOpenEvent = {
|
|
443
|
+
type: 'item';
|
|
444
|
+
item: BbMultiFileControlItem;
|
|
445
|
+
} | {
|
|
446
|
+
type: 'file';
|
|
447
|
+
file: File;
|
|
448
|
+
};
|
|
436
449
|
declare class BbMultiFileControl implements ControlValueAccessor {
|
|
437
450
|
private readonly _files;
|
|
438
451
|
private readonly _changeDetectorRef;
|
|
@@ -447,30 +460,16 @@ declare class BbMultiFileControl implements ControlValueAccessor {
|
|
|
447
460
|
required: boolean;
|
|
448
461
|
disabled: boolean;
|
|
449
462
|
hideErrors: boolean;
|
|
450
|
-
items:
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
url: string;
|
|
454
|
-
description?: string;
|
|
455
|
-
}[];
|
|
456
|
-
delete: EventEmitter<{
|
|
457
|
-
id: number;
|
|
458
|
-
label: string;
|
|
459
|
-
url: string;
|
|
460
|
-
description?: string;
|
|
461
|
-
}>;
|
|
462
|
-
open: EventEmitter<{
|
|
463
|
-
id: number;
|
|
464
|
-
label: string;
|
|
465
|
-
url: string;
|
|
466
|
-
description?: string;
|
|
467
|
-
}>;
|
|
463
|
+
items: BbMultiFileControlItem[];
|
|
464
|
+
delete: EventEmitter<BbMultiFileControlItem>;
|
|
465
|
+
open: EventEmitter<BbMultiFileControlOpenEvent>;
|
|
468
466
|
value: File[];
|
|
469
467
|
error: boolean;
|
|
470
468
|
onTouchedCallback: () => void;
|
|
471
469
|
onChangeCallback: (_: File[] | null) => void;
|
|
472
470
|
get showList(): boolean;
|
|
473
|
-
|
|
471
|
+
openItem(event: Event, item: BbMultiFileControlItem): void;
|
|
472
|
+
downloadFile(event: Event, file: File): void;
|
|
474
473
|
openFileDialog(): void;
|
|
475
474
|
onFileChange(event: Event): void;
|
|
476
475
|
deleteFile(index: number): void;
|
|
@@ -834,4 +833,4 @@ declare class ElementsModule {
|
|
|
834
833
|
}
|
|
835
834
|
|
|
836
835
|
export { BbAnchor, BbAvatar, BbButton, BbCheckbox, BbCheckboxGroup, BbColorPicker, BbColorSlider, BbDate, BbDatePicker, BbExtraErrorControls, BbFileDataUrl, BbFileDrop, BbFileImage, BbFilePicker, BbFileSize, BbFormControl, BbFormError, BbFormGroup, BbFormSubmit, BbFormSubmitter, BbIcon, BbImageControl, BbImagePicker, BbImageUpload, BbInput, BbMultiFileControl, BbPincodeControl, BbRadioButton, BbRadioGroup, BbRelativeTime, BbSpinner, ColorPickerDirective, ELEMENTS_CONFIG, ELEMENTS_ERRORS, ELEMENTS_ICONS, ElementsModule, avatarColorAlgorithm, injectAcceptString, injectMaxFileSize, injectMaxTotalFileSize, provideElementsConfig };
|
|
837
|
-
export type { ElementsAvatarColorAlgorithm, ElementsConfig, ElementsDisplayUnit, ElementsError, ElementsIcon, ElementsIconFont, ElementsIconImage, ElementsIconUnknown, ElementsIconUrl };
|
|
836
|
+
export type { BbMultiFileControlItem, BbMultiFileControlOpenEvent, ElementsAvatarColorAlgorithm, ElementsConfig, ElementsDisplayUnit, ElementsError, ElementsIcon, ElementsIconFont, ElementsIconImage, ElementsIconUnknown, ElementsIconUrl };
|
|
@@ -534,10 +534,10 @@ class Auth {
|
|
|
534
534
|
.filter(item => !!item)
|
|
535
535
|
.join('/');
|
|
536
536
|
}
|
|
537
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
538
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
537
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Auth, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
538
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Auth, providedIn: 'root' });
|
|
539
539
|
}
|
|
540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Auth, decorators: [{
|
|
541
541
|
type: Injectable,
|
|
542
542
|
args: [{
|
|
543
543
|
providedIn: 'root'
|
|
@@ -600,10 +600,10 @@ class BbAuthenticated {
|
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
static ngAcceptInputType_bbAuthenticatedElse;
|
|
603
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
604
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
603
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: BbAuthenticated, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
604
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: BbAuthenticated, isStandalone: true, selector: "ng-template[bbAuthenticated]", inputs: { bbAuthenticatedElse: "bbAuthenticatedElse" }, ngImport: i0 });
|
|
605
605
|
}
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: BbAuthenticated, decorators: [{
|
|
607
607
|
type: Directive,
|
|
608
608
|
args: [{
|
|
609
609
|
selector: 'ng-template[bbAuthenticated]'
|
|
@@ -668,10 +668,10 @@ class BbAnonymous {
|
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
670
|
static ngAcceptInputType_bbAnonymousElse;
|
|
671
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
672
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
671
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: BbAnonymous, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
672
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: BbAnonymous, isStandalone: true, selector: "ng-template[bbAnonymous]", inputs: { bbAnonymousElse: "bbAnonymousElse" }, ngImport: i0 });
|
|
673
673
|
}
|
|
674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: BbAnonymous, decorators: [{
|
|
675
675
|
type: Directive,
|
|
676
676
|
args: [{
|
|
677
677
|
selector: 'ng-template[bbAnonymous]'
|
|
@@ -756,10 +756,10 @@ class Acting {
|
|
|
756
756
|
const active$ = this._userId$.pipe(map(item => !!item), distinctUntilChanged());
|
|
757
757
|
return combineLatestMap({ active: active$, user: this._auth.user });
|
|
758
758
|
}
|
|
759
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
760
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
759
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Acting, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
760
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Acting, providedIn: 'root' });
|
|
761
761
|
}
|
|
762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Acting, decorators: [{
|
|
763
763
|
type: Injectable,
|
|
764
764
|
args: [{
|
|
765
765
|
providedIn: 'root'
|
|
@@ -781,10 +781,10 @@ class ActingInterceptor {
|
|
|
781
781
|
});
|
|
782
782
|
return next.handle(modified);
|
|
783
783
|
}
|
|
784
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
785
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
784
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ActingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
785
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ActingInterceptor });
|
|
786
786
|
}
|
|
787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ActingInterceptor, decorators: [{
|
|
788
788
|
type: Injectable
|
|
789
789
|
}] });
|
|
790
790
|
|
|
@@ -867,10 +867,10 @@ class AuthInterceptor {
|
|
|
867
867
|
// Return the default access token.
|
|
868
868
|
return this._auth.session.accessToken;
|
|
869
869
|
}
|
|
870
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
871
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
870
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
871
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthInterceptor });
|
|
872
872
|
}
|
|
873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthInterceptor, decorators: [{
|
|
874
874
|
type: Injectable
|
|
875
875
|
}] });
|
|
876
876
|
|
|
@@ -895,11 +895,11 @@ class AuthModule {
|
|
|
895
895
|
]
|
|
896
896
|
};
|
|
897
897
|
}
|
|
898
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
899
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
900
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
898
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
899
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: i0, type: AuthModule, imports: [BbAuthenticated], exports: [BbAuthenticated] });
|
|
900
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthModule });
|
|
901
901
|
}
|
|
902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthModule, decorators: [{
|
|
903
903
|
type: NgModule,
|
|
904
904
|
args: [{
|
|
905
905
|
imports: [BbAuthenticated],
|