@bravobit/bb-foundation 0.57.1 → 0.57.2

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.
@@ -448,26 +448,26 @@ type BbMultiFileControlOpenEvent = {
448
448
  };
449
449
  declare class BbMultiFileControl implements ControlValueAccessor {
450
450
  private readonly _files;
451
- private readonly _changeDetectorRef;
452
451
  readonly labelId: string;
453
- fileInput: ElementRef<HTMLInputElement>;
454
- label: string | TemplateRef<any> | null;
455
- hint: string | TemplateRef<any> | null;
456
- accept: string;
457
- maxFileSize: number;
458
- maxTotalFileSize: number;
459
- grouped: boolean;
460
- required: boolean;
461
- disabled: boolean;
462
- hideErrors: boolean;
463
- items: BbMultiFileControlItem[];
452
+ readonly fileInputRef: i0.Signal<ElementRef<HTMLInputElement>>;
453
+ readonly appearance: i0.InputSignal<"multiple" | "single">;
454
+ readonly label: i0.InputSignal<string | TemplateRef<any>>;
455
+ readonly hint: i0.InputSignal<string | TemplateRef<any>>;
456
+ readonly accept: i0.InputSignal<string>;
457
+ readonly maxFileSize: i0.InputSignalWithTransform<number, unknown>;
458
+ readonly maxTotalFileSize: i0.InputSignalWithTransform<number, unknown>;
459
+ readonly grouped: i0.InputSignalWithTransform<boolean, unknown>;
460
+ readonly required: i0.InputSignalWithTransform<boolean, unknown>;
461
+ readonly hideErrors: i0.InputSignalWithTransform<boolean, unknown>;
462
+ readonly disabled: i0.ModelSignal<boolean>;
463
+ readonly items: i0.InputSignal<BbMultiFileControlItem[]>;
464
464
  delete: EventEmitter<BbMultiFileControlItem>;
465
465
  open: EventEmitter<BbMultiFileControlOpenEvent>;
466
- value: File[];
467
- error: boolean;
466
+ readonly value: i0.WritableSignal<File[]>;
467
+ readonly error: i0.WritableSignal<boolean>;
468
+ readonly showList: i0.Signal<boolean>;
468
469
  onTouchedCallback: () => void;
469
470
  onChangeCallback: (_: File[] | null) => void;
470
- get showList(): boolean;
471
471
  openItem(event: Event, item: BbMultiFileControlItem): void;
472
472
  downloadFile(event: Event, file: File): void;
473
473
  openFileDialog(): void;
@@ -501,13 +501,7 @@ declare class BbMultiFileControl implements ControlValueAccessor {
501
501
  };
502
502
  addFiles(files: File[]): void;
503
503
  static ɵfac: i0.ɵɵFactoryDeclaration<BbMultiFileControl, never>;
504
- 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"; "open": "open"; }, never, never, true, never>;
505
- static ngAcceptInputType_maxFileSize: unknown;
506
- static ngAcceptInputType_maxTotalFileSize: unknown;
507
- static ngAcceptInputType_grouped: unknown;
508
- static ngAcceptInputType_required: unknown;
509
- static ngAcceptInputType_disabled: unknown;
510
- static ngAcceptInputType_hideErrors: unknown;
504
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbMultiFileControl, "bb-multi-file-control", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; "isSignal": true; }; "maxTotalFileSize": { "alias": "maxTotalFileSize"; "required": false; "isSignal": true; }; "grouped": { "alias": "grouped"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "hideErrors": { "alias": "hideErrors"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "delete": "delete"; "open": "open"; }, never, never, true, never>;
511
505
  }
512
506
 
513
507
  declare class BbFilePicker implements ControlValueAccessor {
@@ -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.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' });
537
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: Auth, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
538
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: Auth, providedIn: 'root' });
539
539
  }
540
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Auth, decorators: [{
540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", 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.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 });
603
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: BbAuthenticated, deps: [], target: i0.ɵɵFactoryTarget.Directive });
604
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.2", type: BbAuthenticated, isStandalone: true, selector: "ng-template[bbAuthenticated]", inputs: { bbAuthenticatedElse: "bbAuthenticatedElse" }, ngImport: i0 });
605
605
  }
606
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: BbAuthenticated, decorators: [{
606
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", 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.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 });
671
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: BbAnonymous, deps: [], target: i0.ɵɵFactoryTarget.Directive });
672
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.2", type: BbAnonymous, isStandalone: true, selector: "ng-template[bbAnonymous]", inputs: { bbAnonymousElse: "bbAnonymousElse" }, ngImport: i0 });
673
673
  }
674
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: BbAnonymous, decorators: [{
674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", 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.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' });
759
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: Acting, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
760
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: Acting, providedIn: 'root' });
761
761
  }
762
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Acting, decorators: [{
762
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", 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.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 });
784
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ActingInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
785
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ActingInterceptor });
786
786
  }
787
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ActingInterceptor, decorators: [{
787
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", 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.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 });
870
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
871
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AuthInterceptor });
872
872
  }
873
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthInterceptor, decorators: [{
873
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", 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.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 });
898
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
899
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.2", ngImport: i0, type: AuthModule, imports: [BbAuthenticated], exports: [BbAuthenticated] });
900
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AuthModule });
901
901
  }
902
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthModule, decorators: [{
902
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: AuthModule, decorators: [{
903
903
  type: NgModule,
904
904
  args: [{
905
905
  imports: [BbAuthenticated],