mirror of https://github.com/abpframework/abp.git
610 changed files with 53783 additions and 79292 deletions
@ -1 +1 @@ |
|||
# @abp/ng.account.config |
|||
# @abp/ng.account.config |
|||
@ -1,132 +1 @@ |
|||
{ |
|||
"__symbolic": "module", |
|||
"version": 4, |
|||
"metadata": { |
|||
"AccountConfigService": { |
|||
"__symbolic": "class", |
|||
"decorators": [ |
|||
{ |
|||
"__symbolic": "call", |
|||
"expression": { |
|||
"__symbolic": "reference", |
|||
"module": "@angular/core", |
|||
"name": "Injectable", |
|||
"line": 4, |
|||
"character": 1 |
|||
}, |
|||
"arguments": [{ "providedIn": "root" }] |
|||
} |
|||
], |
|||
"members": { |
|||
"__ctor__": [ |
|||
{ |
|||
"__symbolic": "constructor", |
|||
"parameters": [ |
|||
{ "__symbolic": "reference", "module": "@angular/router", "name": "Router", "line": 8, "character": 30 }, |
|||
{ "__symbolic": "reference", "module": "@abp/ng.core", "name": "RestService", "line": 8, "character": 59 } |
|||
] |
|||
} |
|||
] |
|||
}, |
|||
"statics": { "ngInjectableDef": {} } |
|||
}, |
|||
"AccountConfigOptions": { "__symbolic": "interface" }, |
|||
"accountOptionsFactory": { "__symbolic": "function", "parameters": ["options"], "value": { "redirectUrl": "/" } }, |
|||
"ACCOUNT_OPTIONS": { |
|||
"__symbolic": "new", |
|||
"expression": { |
|||
"__symbolic": "reference", |
|||
"module": "@angular/core", |
|||
"name": "InjectionToken", |
|||
"line": 16, |
|||
"character": 35 |
|||
}, |
|||
"arguments": ["ACCOUNT_OPTIONS"] |
|||
}, |
|||
"AccountConfigModule": { |
|||
"__symbolic": "class", |
|||
"decorators": [ |
|||
{ |
|||
"__symbolic": "call", |
|||
"expression": { |
|||
"__symbolic": "reference", |
|||
"module": "@angular/core", |
|||
"name": "NgModule", |
|||
"line": 18, |
|||
"character": 1 |
|||
}, |
|||
"arguments": [ |
|||
{ |
|||
"imports": [ |
|||
{ |
|||
"__symbolic": "reference", |
|||
"module": "@abp/ng.core", |
|||
"name": "CoreModule", |
|||
"line": 19, |
|||
"character": 12 |
|||
}, |
|||
{ |
|||
"__symbolic": "reference", |
|||
"module": "@abp/ng.theme.shared", |
|||
"name": "ThemeSharedModule", |
|||
"line": 19, |
|||
"character": 24 |
|||
} |
|||
], |
|||
"providers": [ |
|||
{ |
|||
"provide": { |
|||
"__symbolic": "reference", |
|||
"module": "@angular/core", |
|||
"name": "APP_INITIALIZER", |
|||
"line": 20, |
|||
"character": 25 |
|||
}, |
|||
"multi": true, |
|||
"deps": [{ "__symbolic": "reference", "name": "AccountConfigService" }], |
|||
"useFactory": { |
|||
"__symbolic": "reference", |
|||
"module": "@abp/ng.core", |
|||
"name": "noop", |
|||
"line": 20, |
|||
"character": 97 |
|||
} |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|||
], |
|||
"members": {}, |
|||
"statics": { |
|||
"forRoot": { |
|||
"__symbolic": "function", |
|||
"parameters": ["options"], |
|||
"defaults": [{}], |
|||
"value": { |
|||
"ngModule": { "__symbolic": "reference", "name": "AccountConfigModule" }, |
|||
"providers": [ |
|||
{ |
|||
"provide": { "__symbolic": "reference", "name": "ACCOUNT_OPTIONS" }, |
|||
"useValue": { "__symbolic": "reference", "name": "options" } |
|||
}, |
|||
{ |
|||
"provide": "ACCOUNT_OPTIONS", |
|||
"useFactory": { "__symbolic": "reference", "name": "accountOptionsFactory" }, |
|||
"deps": [{ "__symbolic": "reference", "name": "ACCOUNT_OPTIONS" }] |
|||
} |
|||
] |
|||
} |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
"origins": { |
|||
"AccountConfigService": "./lib/services/account-config.service", |
|||
"AccountConfigOptions": "./lib/account-config.module", |
|||
"accountOptionsFactory": "./lib/account-config.module", |
|||
"ACCOUNT_OPTIONS": "./lib/account-config.module", |
|||
"AccountConfigModule": "./lib/account-config.module" |
|||
}, |
|||
"importAs": "@abp/ng.account.config" |
|||
} |
|||
{"__symbolic":"module","version":4,"metadata":{"AccountConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":8,"character":30},{"__symbolic":"reference","module":"@abp/ng.core","name":"RestService","line":8,"character":59}]}]},"statics":{"ngInjectableDef":{}}},"AccountConfigOptions":{"__symbolic":"interface"},"accountOptionsFactory":{"__symbolic":"function","parameters":["options"],"value":{"redirectUrl":"/"}},"ACCOUNT_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":35},"arguments":["ACCOUNT_OPTIONS"]},"AccountConfigModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":18,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":19,"character":12},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":19,"character":24}],"providers":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":20,"character":25},"multi":true,"deps":[{"__symbolic":"reference","name":"AccountConfigService"}],"useFactory":{"__symbolic":"reference","module":"@abp/ng.core","name":"noop","line":20,"character":97}}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"AccountConfigModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ACCOUNT_OPTIONS"},"useValue":{"__symbolic":"reference","name":"options"}},{"provide":"ACCOUNT_OPTIONS","useFactory":{"__symbolic":"reference","name":"accountOptionsFactory"},"deps":[{"__symbolic":"reference","name":"ACCOUNT_OPTIONS"}]}]}}}}},"origins":{"AccountConfigService":"./lib/services/account-config.service","AccountConfigOptions":"./lib/account-config.module","accountOptionsFactory":"./lib/account-config.module","ACCOUNT_OPTIONS":"./lib/account-config.module","AccountConfigModule":"./lib/account-config.module"},"importAs":"@abp/ng.account.config"} |
|||
@ -1,13 +1,11 @@ |
|||
import { InjectionToken, ModuleWithProviders } from '@angular/core'; |
|||
export interface AccountConfigOptions { |
|||
redirectUrl?: string; |
|||
redirectUrl?: string; |
|||
} |
|||
export declare function accountOptionsFactory( |
|||
options: AccountConfigOptions, |
|||
): { |
|||
redirectUrl: string; |
|||
export declare function accountOptionsFactory(options: AccountConfigOptions): { |
|||
redirectUrl: string; |
|||
}; |
|||
export declare const ACCOUNT_OPTIONS: InjectionToken<unknown>; |
|||
export declare class AccountConfigModule { |
|||
static forRoot(options?: AccountConfigOptions): ModuleWithProviders; |
|||
static forRoot(options?: AccountConfigOptions): ModuleWithProviders; |
|||
} |
|||
|
|||
@ -1,7 +1,7 @@ |
|||
import { RestService } from '@abp/ng.core'; |
|||
import { Router } from '@angular/router'; |
|||
export declare class AccountConfigService { |
|||
private router; |
|||
private restService; |
|||
constructor(router: Router, restService: RestService); |
|||
private router; |
|||
private restService; |
|||
constructor(router: Router, restService: RestService); |
|||
} |
|||
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue