@frontegg/angular 4.5.2 → 4.5.3-alpha.1663934600
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/bundles/frontegg-angular.umd.js +33 -50
- package/bundles/frontegg-angular.umd.js.map +1 -1
- package/bundles/frontegg-angular.umd.min.js +1 -1
- package/bundles/frontegg-angular.umd.min.js.map +1 -1
- package/esm2015/lib/frontegg-app.service.js +4 -13
- package/esm2015/lib/guards/frontegg-auth.guard.js +2 -2
- package/esm2015/lib/guards/frontegg-load.guard.js +4 -9
- package/fesm2015/frontegg-angular.js +29 -41
- package/fesm2015/frontegg-angular.js.map +1 -1
- package/frontegg-angular.metadata.json +1 -1
- package/lib/frontegg-app.service.d.ts.map +1 -1
- package/lib/guards/frontegg-load.guard.d.ts +3 -5
- package/lib/guards/frontegg-load.guard.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"ɵa":{"__symbolic":"class","members":{}},"FronteggAppService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":69,"character":15},"arguments":[{"__symbolic":"reference","name":"ɵa"}]}],null],"parameters":[{"__symbolic":"reference","module":"@frontegg/types","name":"FronteggAppOptions","line":69,"character":63},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":69,"character":99}]}],"showAdminPortal":[{"__symbolic":"method"}],"hideAdminPortal":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"FronteggAuthService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":102,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FronteggAppService"}]}],"dispatchAction":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"FronteggComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"frontegg","template":""}]}],"members":{}},"FronteggAppModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":12},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":12,"character":26}],"declarations":[{"__symbolic":"reference","name":"FronteggComponent"},{"__symbolic":"reference","name":"AuthorizedContentDirective"}],"exports":[{"__symbolic":"reference","name":"FronteggComponent"},{"__symbolic":"reference","name":"AuthorizedContentDirective"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"ngModule":{"__symbolic":"reference","name":"FronteggAppModule"},"providers":[{"__symbolic":"reference","name":"FronteggAppService"},{"__symbolic":"reference","name":"FronteggAuthGuard"},{"__symbolic":"reference","name":"FronteggLoadGuard"},{"__symbolic":"reference","name":"FronteggAuthService"},{"provide":{"__symbolic":"reference","name":"ɵa"},"useValue":{"__symbolic":"reference","name":"config"}}]}}}},"AuthorizedContentDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":9,"character":3},"arguments":[{"selector":"[authorizedContent]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":17,"character":29},{"__symbolic":"reference","name":"FronteggAuthService"}]}],"authorizedContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":5}}]}],"ngAfterContentInit":[{"__symbolic":"method"}]}},"FronteggAuthGuard":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵb"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FronteggAppService"},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":8,"character":82}]}],"canActivate":[{"__symbolic":"method"}]}},"FronteggLoadGuard":{"__symbolic":"class","
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"ɵa":{"__symbolic":"class","members":{}},"FronteggAppService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":69,"character":15},"arguments":[{"__symbolic":"reference","name":"ɵa"}]}],null],"parameters":[{"__symbolic":"reference","module":"@frontegg/types","name":"FronteggAppOptions","line":69,"character":63},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":69,"character":99}]}],"showAdminPortal":[{"__symbolic":"method"}],"hideAdminPortal":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"FronteggAuthService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":102,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FronteggAppService"}]}],"dispatchAction":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"FronteggComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"frontegg","template":""}]}],"members":{}},"FronteggAppModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":12},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":12,"character":26}],"declarations":[{"__symbolic":"reference","name":"FronteggComponent"},{"__symbolic":"reference","name":"AuthorizedContentDirective"}],"exports":[{"__symbolic":"reference","name":"FronteggComponent"},{"__symbolic":"reference","name":"AuthorizedContentDirective"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"ngModule":{"__symbolic":"reference","name":"FronteggAppModule"},"providers":[{"__symbolic":"reference","name":"FronteggAppService"},{"__symbolic":"reference","name":"FronteggAuthGuard"},{"__symbolic":"reference","name":"FronteggLoadGuard"},{"__symbolic":"reference","name":"FronteggAuthService"},{"provide":{"__symbolic":"reference","name":"ɵa"},"useValue":{"__symbolic":"reference","name":"config"}}]}}}},"AuthorizedContentDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":9,"character":3},"arguments":[{"selector":"[authorizedContent]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":17,"character":29},{"__symbolic":"reference","name":"FronteggAuthService"}]}],"authorizedContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":5}}]}],"ngAfterContentInit":[{"__symbolic":"method"}]}},"FronteggAuthGuard":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵb"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FronteggAppService"},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":8,"character":82}]}],"canActivate":[{"__symbolic":"method"}]}},"FronteggLoadGuard":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FronteggAppService"}]}],"canActivate":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","members":{"canActivate":[{"__symbolic":"method"}],"parse":[{"__symbolic":"method"}],"serialize":[{"__symbolic":"method"}]}}},"origins":{"ɵa":"./lib/frontegg-app.service","FronteggAppService":"./lib/frontegg-app.service","FronteggAuthService":"./lib/frontegg-auth.service","FronteggComponent":"./lib/frontegg.component","FronteggAppModule":"./lib/frontegg-app.module","AuthorizedContentDirective":"./lib/directives/authorized-content.directive","FronteggAuthGuard":"./lib/guards/frontegg-auth.guard","FronteggLoadGuard":"./lib/guards/frontegg-load.guard","ɵb":"./lib/guards/frontegg-base-guard"},"importAs":"@frontegg/angular"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontegg-app.service.d.ts","sourceRoot":"","sources":["../../../../projects/frontegg-app/src/lib/frontegg-app.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,KAAK,EAAE,MAAM,EAAoB,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,aAAa,EAAc,MAAM,wBAAwB,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AAKnD,aAAK,WAAW,GAAG,mBAAmB,GAAG;IACvC,eAAe,IAAI,IAAI,CAAC;IACxB,eAAe,IAAI,IAAI,CAAC;CACzB,CAAC;AAEF,qBAAa,uBAAwB,YAAW,kBAAkB;IAChE,cAAc,EAAE,kBAAkB,CAAC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BAEoD,MAAM,EAAE,kBAAkB,EAAU,MAAM,EAAE,MAAM;IA0DvG,IAAI,iBAAiB,IAAI,KAAK,EAAE,CAQ/B;IAED,IAAI,UAAU,IAAI,cAAc,CAE/B;IAGM,eAAe,IAAI,IAAI;IAKvB,eAAe,IAAI,IAAI;CAG/B"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot,
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot } from '@angular/router';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { FronteggBaseGuard } from './frontegg-base-guard';
|
|
4
3
|
import { FronteggAppService } from '../frontegg-app.service';
|
|
5
|
-
export declare class FronteggLoadGuard
|
|
4
|
+
export declare class FronteggLoadGuard implements CanActivate {
|
|
6
5
|
protected fronteggAppService: FronteggAppService;
|
|
7
|
-
|
|
8
|
-
constructor(fronteggAppService: FronteggAppService, router: Router);
|
|
6
|
+
constructor(fronteggAppService: FronteggAppService);
|
|
9
7
|
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
|
10
8
|
}
|
|
11
9
|
//# sourceMappingURL=frontegg-load.guard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontegg-load.guard.d.ts","sourceRoot":"","sources":["../../../../../projects/frontegg-app/src/lib/guards/frontegg-load.guard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"frontegg-load.guard.d.ts","sourceRoot":"","sources":["../../../../../projects/frontegg-app/src/lib/guards/frontegg-load.guard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAU,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,qBACa,iBAAkB,YAAW,WAAW;IACvC,SAAS,CAAC,kBAAkB,EAAE,kBAAkB;gBAAtC,kBAAkB,EAAE,kBAAkB;IAG5D,WAAW,CAAC,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,mBAAmB,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO;CASzH"}
|