mirror of https://github.com/abpframework/abp.git
534 changed files with 71780 additions and 46468 deletions
File diff suppressed because one or more lines are too long
@ -1,2 +1,120 @@ |
|||||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@abp/ng.core"),require("@angular/core"),require("@angular/router"),require("@abp/ng.theme.shared")):"function"==typeof define&&define.amd?define("@abp/ng.account.config",["exports","@abp/ng.core","@angular/core","@angular/router","@abp/ng.theme.shared"],r):r(((e=e||self).abp=e.abp||{},e.abp.ng=e.abp.ng||{},e.abp.ng.account=e.abp.ng.account||{},e.abp.ng.account.config={}),e.ng_core,e.ng.core,e.ng.router,e.ng_theme_shared)}(this,function(e,r,n,o,t){"use strict";var c=function(){return(c=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++)for(var t in r=arguments[n])Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e}).apply(this,arguments)};var a=function(){function e(e,n){this.router=e,this.restService=n,r.addAbpRoutes({name:"AbpAccount::Menu:Account",path:"account",invisible:!0,layout:"application",children:[{path:"login",name:"AbpAccount::Login",order:1},{path:"register",name:"AbpAccount::Register",order:2},{path:"manage-profile",name:"AbpAccount::ManageYourProfile",order:3}]})}return e.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:o.Router},{type:r.RestService}]},e.ngInjectableDef=n.ɵɵdefineInjectable({factory:function(){return new e(n.ɵɵinject(o.Router),n.ɵɵinject(r.RestService))},token:e,providedIn:"root"}),e}();function u(e){return c({redirectUrl:"/"},e)}var i=new n.InjectionToken("ACCOUNT_OPTIONS"),p=r.noop,d=function(){function e(){}return e.forRoot=function(r){return void 0===r&&(r={}),{ngModule:e,providers:[{provide:i,useValue:r},{provide:"ACCOUNT_OPTIONS",useFactory:u,deps:[i]}]}},e.decorators=[{type:n.NgModule,args:[{imports:[r.CoreModule,t.ThemeSharedModule],providers:[{provide:n.APP_INITIALIZER,multi:!0,deps:[a],useFactory:p}]}]}],e}();e.ACCOUNT_OPTIONS=i,e.AccountConfigModule=d,e.AccountConfigService=a,e.accountOptionsFactory=u,Object.defineProperty(e,"__esModule",{value:!0})}); |
!(function(e, r) { |
||||
//# sourceMappingURL=abp-ng.account.config.umd.min.js.map
|
'object' == typeof exports && 'undefined' != typeof module |
||||
|
? r( |
||||
|
exports, |
||||
|
require('@abp/ng.core'), |
||||
|
require('@angular/core'), |
||||
|
require('@angular/router'), |
||||
|
require('@abp/ng.theme.shared'), |
||||
|
) |
||||
|
: 'function' == typeof define && define.amd |
||||
|
? define('@abp/ng.account.config', [ |
||||
|
'exports', |
||||
|
'@abp/ng.core', |
||||
|
'@angular/core', |
||||
|
'@angular/router', |
||||
|
'@abp/ng.theme.shared', |
||||
|
], r) |
||||
|
: r( |
||||
|
(((e = e || self).abp = e.abp || {}), |
||||
|
(e.abp.ng = e.abp.ng || {}), |
||||
|
(e.abp.ng.account = e.abp.ng.account || {}), |
||||
|
(e.abp.ng.account.config = {})), |
||||
|
e.ng_core, |
||||
|
e.ng.core, |
||||
|
e.ng.router, |
||||
|
e.ng_theme_shared, |
||||
|
); |
||||
|
})(this, function(e, r, n, o, t) { |
||||
|
'use strict'; |
||||
|
/*! ***************************************************************************** |
||||
|
Copyright (c) Microsoft Corporation. All rights reserved. |
||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use |
||||
|
this file except in compliance with the License. You may obtain a copy of the |
||||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
|
||||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
||||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED |
||||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, |
||||
|
MERCHANTABLITY OR NON-INFRINGEMENT. |
||||
|
|
||||
|
See the Apache Version 2.0 License for specific language governing permissions |
||||
|
and limitations under the License. |
||||
|
***************************************************************************** */ var c = function() { |
||||
|
return (c = |
||||
|
Object.assign || |
||||
|
function(e) { |
||||
|
for (var r, n = 1, o = arguments.length; n < o; n++) |
||||
|
for (var t in (r = arguments[n])) Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]); |
||||
|
return e; |
||||
|
}).apply(this, arguments); |
||||
|
}; |
||||
|
var a = (function() { |
||||
|
function e(e, n) { |
||||
|
(this.router = e), |
||||
|
(this.restService = n), |
||||
|
r.addAbpRoutes({ |
||||
|
name: 'AbpAccount::Menu:Account', |
||||
|
path: 'account', |
||||
|
invisible: !0, |
||||
|
layout: 'application', |
||||
|
children: [ |
||||
|
{ path: 'login', name: 'AbpAccount::Login', order: 1 }, |
||||
|
{ path: 'register', name: 'AbpAccount::Register', order: 2 }, |
||||
|
{ path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 }, |
||||
|
], |
||||
|
}); |
||||
|
} |
||||
|
return ( |
||||
|
(e.decorators = [{ type: n.Injectable, args: [{ providedIn: 'root' }] }]), |
||||
|
(e.ctorParameters = function() { |
||||
|
return [{ type: o.Router }, { type: r.RestService }]; |
||||
|
}), |
||||
|
(e.ngInjectableDef = n.ɵɵdefineInjectable({ |
||||
|
factory: function() { |
||||
|
return new e(n.ɵɵinject(o.Router), n.ɵɵinject(r.RestService)); |
||||
|
}, |
||||
|
token: e, |
||||
|
providedIn: 'root', |
||||
|
})), |
||||
|
e |
||||
|
); |
||||
|
})(); |
||||
|
function u(e) { |
||||
|
return c({ redirectUrl: '/' }, e); |
||||
|
} |
||||
|
var i = new n.InjectionToken('ACCOUNT_OPTIONS'), |
||||
|
p = r.noop, |
||||
|
d = (function() { |
||||
|
function e() {} |
||||
|
return ( |
||||
|
(e.forRoot = function(r) { |
||||
|
return ( |
||||
|
void 0 === r && (r = {}), |
||||
|
{ |
||||
|
ngModule: e, |
||||
|
providers: [{ provide: i, useValue: r }, { provide: 'ACCOUNT_OPTIONS', useFactory: u, deps: [i] }], |
||||
|
} |
||||
|
); |
||||
|
}), |
||||
|
(e.decorators = [ |
||||
|
{ |
||||
|
type: n.NgModule, |
||||
|
args: [ |
||||
|
{ |
||||
|
imports: [r.CoreModule, t.ThemeSharedModule], |
||||
|
providers: [{ provide: n.APP_INITIALIZER, multi: !0, deps: [a], useFactory: p }], |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
]), |
||||
|
e |
||||
|
); |
||||
|
})(); |
||||
|
(e.ACCOUNT_OPTIONS = i), |
||||
|
(e.AccountConfigModule = d), |
||||
|
(e.AccountConfigService = a), |
||||
|
(e.accountOptionsFactory = u), |
||||
|
Object.defineProperty(e, '__esModule', { value: !0 }); |
||||
|
}); |
||||
|
//# sourceMappingURL=abp-ng.account.config.umd.min.js.map
|
||||
|
|||||
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
|||||
{"version":3,"file":"abp-ng.account.config.js","sources":["ng://@abp/ng.account.config/lib/services/account-config.service.ts","ng://@abp/ng.account.config/lib/account-config.module.ts"],"sourcesContent":["import { eLayoutType, RestService, addAbpRoutes } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes({\r\n name: 'AbpAccount::Menu:Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [\r\n { path: 'login', name: 'AbpAccount::Login', order: 1 },\r\n { path: 'register', name: 'AbpAccount::Register', order: 2 },\r\n { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 },\r\n ],\r\n });\r\n }\r\n}\r\n","import { CoreModule, noop } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER, InjectionToken, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { AccountConfigService } from './services/account-config.service';\r\n\r\nexport interface AccountConfigOptions {\r\n redirectUrl?: string;\r\n}\r\n\r\nexport function accountOptionsFactory(options: AccountConfigOptions) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n\r\n@NgModule({\r\n imports: [CoreModule, ThemeSharedModule],\r\n providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: noop }],\r\n})\r\nexport class AccountConfigModule {\r\n static forRoot(options = {} as AccountConfigOptions): ModuleWithProviders {\r\n return {\r\n ngModule: AccountConfigModule,\r\n providers: [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS',\r\n useFactory: accountOptionsFactory,\r\n deps: [ACCOUNT_OPTIONS],\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;AAAA,MAOa,oBAAoB;;;;;IAC/B,YAAoB,MAAc,EAAU,WAAwB;QAAhD,WAAM,GAAN,MAAM,CAAQ;QAAU,gBAAW,GAAX,WAAW,CAAa;QAClE,YAAY,CAAC;YACX,IAAI,EAAE,0BAA0B;YAChC,IAAI,EAAE,SAAS;YACf,SAAS,EAAE,IAAI;YACf,MAAM;YACN,QAAQ,EAAE;gBACR,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,CAAC,EAAE;gBACtD,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,CAAC,EAAE;gBAC5D,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,+BAA+B,EAAE,KAAK,EAAE,CAAC,EAAE;aAC5E;SACF,CAAC,CAAC;KACJ;;;YAhBF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;YAJQ,MAAM;YAFO,WAAW;;;;;;;;IAQnB,sCAAsB;;;;;IAAE,2CAAgC;;;;;;;ACRtE;;;AAKA,mCAEC;;;IADC,2CAAqB;;;;;;AAGvB,SAAgB,qBAAqB,CAAC,OAA6B;IACjE,uBACE,WAAW,EAAE,GAAG,IACb,OAAO,EACV;CACH;;AAED,MAAa,eAAe,GAAG,IAAI,cAAc,CAAC,iBAAiB,CAAC;WAI6B,IAAI;AAErG,MAAa,mBAAmB;;;;;IAC9B,OAAO,OAAO,CAAC,OAAO,sBAAG,EAAE,EAAwB;QACjD,OAAO;YACL,QAAQ,EAAE,mBAAmB;YAC7B,SAAS,EAAE;gBACT,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE;gBAC/C;oBACE,OAAO,EAAE,iBAAiB;oBAC1B,UAAU,EAAE,qBAAqB;oBACjC,IAAI,EAAE,CAAC,eAAe,CAAC;iBACxB;aACF;SACF,CAAC;KACH;;;YAjBF,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;gBACxC,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,oBAAoB,CAAC,EAAE,UAAU,IAAM,EAAE,CAAC;aACvG;;;;;;;;;;;;;;;"} |
{"version":3,"file":"abp-ng.account.config.js","sources":["ng://@abp/ng.account.config/lib/services/account-config.service.ts","ng://@abp/ng.account.config/lib/account-config.module.ts"],"sourcesContent":["import { eLayoutType, RestService, addAbpRoutes } from '@abp/ng.core';\nimport { Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AccountConfigService {\n constructor(private router: Router, private restService: RestService) {\n addAbpRoutes({\n name: 'AbpAccount::Menu:Account',\n path: 'account',\n invisible: true,\n layout: eLayoutType.application,\n children: [\n { path: 'login', name: 'AbpAccount::Login', order: 1 },\n { path: 'register', name: 'AbpAccount::Register', order: 2 },\n { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 },\n ],\n });\n }\n}\n","import { CoreModule, noop } from '@abp/ng.core';\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\nimport { APP_INITIALIZER, InjectionToken, ModuleWithProviders, NgModule } from '@angular/core';\nimport { AccountConfigService } from './services/account-config.service';\n\nexport interface AccountConfigOptions {\n redirectUrl?: string;\n}\n\nexport function accountOptionsFactory(options: AccountConfigOptions) {\n return {\n redirectUrl: '/',\n ...options,\n };\n}\n\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\n\n@NgModule({\n imports: [CoreModule, ThemeSharedModule],\n providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: noop }],\n})\nexport class AccountConfigModule {\n static forRoot(options = {} as AccountConfigOptions): ModuleWithProviders {\n return {\n ngModule: AccountConfigModule,\n providers: [\n { provide: ACCOUNT_OPTIONS, useValue: options },\n {\n provide: 'ACCOUNT_OPTIONS',\n useFactory: accountOptionsFactory,\n deps: [ACCOUNT_OPTIONS],\n },\n ],\n };\n }\n}\n"],"names":[],"mappings":";;;;;;;;;AAAA,MAOa,oBAAoB;;;;;IAC/B,YAAoB,MAAc,EAAU,WAAwB;QAAhD,WAAM,GAAN,MAAM,CAAQ;QAAU,gBAAW,GAAX,WAAW,CAAa;QAClE,YAAY,CAAC;YACX,IAAI,EAAE,0BAA0B;YAChC,IAAI,EAAE,SAAS;YACf,SAAS,EAAE,IAAI;YACf,MAAM;YACN,QAAQ,EAAE;gBACR,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,CAAC,EAAE;gBACtD,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,CAAC,EAAE;gBAC5D,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,+BAA+B,EAAE,KAAK,EAAE,CAAC,EAAE;aAC5E;SACF,CAAC,CAAC;KACJ;;;YAhBF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;YAJQ,MAAM;YAFO,WAAW;;;;;;;;IAQnB,sCAAsB;;;;;IAAE,2CAAgC;;;;;;;ACRtE;;;AAKA,mCAEC;;;IADC,2CAAqB;;;;;;AAGvB,SAAgB,qBAAqB,CAAC,OAA6B;IACjE,uBACE,WAAW,EAAE,GAAG,IACb,OAAO,EACV;CACH;;AAED,MAAa,eAAe,GAAG,IAAI,cAAc,CAAC,iBAAiB,CAAC;WAI6B,IAAI;AAErG,MAAa,mBAAmB;;;;;IAC9B,OAAO,OAAO,CAAC,OAAO,sBAAG,EAAE,EAAwB;QACjD,OAAO;YACL,QAAQ,EAAE,mBAAmB;YAC7B,SAAS,EAAE;gBACT,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE;gBAC/C;oBACE,OAAO,EAAE,iBAAiB;oBAC1B,UAAU,EAAE,qBAAqB;oBACjC,IAAI,EAAE,CAAC,eAAe,CAAC;iBACxB;aACF;SACF,CAAC;KACH;;;YAjBF,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;gBACxC,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,oBAAoB,CAAC,EAAE,UAAU,IAAM,EAAE,CAAC;aACvG;;;;;;;;;;;;;;;"} |
||||
@ -1 +1 @@ |
|||||
{"version":3,"file":"abp-ng.account.config.js","sources":["ng://@abp/ng.account.config/lib/services/account-config.service.ts","ng://@abp/ng.account.config/lib/account-config.module.ts"],"sourcesContent":["import { eLayoutType, RestService, addAbpRoutes } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes({\r\n name: 'AbpAccount::Menu:Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [\r\n { path: 'login', name: 'AbpAccount::Login', order: 1 },\r\n { path: 'register', name: 'AbpAccount::Register', order: 2 },\r\n { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 },\r\n ],\r\n });\r\n }\r\n}\r\n","import { CoreModule, noop } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER, InjectionToken, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { AccountConfigService } from './services/account-config.service';\r\n\r\nexport interface AccountConfigOptions {\r\n redirectUrl?: string;\r\n}\r\n\r\nexport function accountOptionsFactory(options: AccountConfigOptions) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n\r\n@NgModule({\r\n imports: [CoreModule, ThemeSharedModule],\r\n providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: noop }],\r\n})\r\nexport class AccountConfigModule {\r\n static forRoot(options = {} as AccountConfigOptions): ModuleWithProviders {\r\n return {\r\n ngModule: AccountConfigModule,\r\n providers: [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS',\r\n useFactory: accountOptionsFactory,\r\n deps: [ACCOUNT_OPTIONS],\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;AAAA;IAQE,8BAAoB,MAAc,EAAU,WAAwB;QAAhD,WAAM,GAAN,MAAM,CAAQ;QAAU,gBAAW,GAAX,WAAW,CAAa;QAClE,YAAY,CAAC;YACX,IAAI,EAAE,0BAA0B;YAChC,IAAI,EAAE,SAAS;YACf,SAAS,EAAE,IAAI;YACf,MAAM;YACN,QAAQ,EAAE;gBACR,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,CAAC,EAAE;gBACtD,EAA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@abp/ng.account.config/lib/account-config.module.ts"],"sourcesContent":["import { eLayoutType, RestService, addAbpRoutes } from '@abp/ng.core';\nimport { Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AccountConfigService {\n constructor(private router: Router, private restService: RestService) {\n addAbpRoutes({\n name: 'AbpAccount::Menu:Account',\n path: 'account',\n invisible: true,\n layout: eLayoutType.application,\n children: [\n { path: 'login', name: 'AbpAccount::Login', order: 1 },\n { path: 'register', name: 'AbpAccount::Register', order: 2 },\n { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 },\n ],\n });\n }\n}\n","import { CoreModule, noop } from '@abp/ng.core';\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\nimport { APP_INITIALIZER, InjectionToken, ModuleWithProviders, NgModule } from '@angular/core';\nimport { AccountConfigService } from './services/account-config.service';\n\nexport interface AccountConfigOptions {\n redirectUrl?: string;\n}\n\nexport function accountOptionsFactory(options: AccountConfigOptions) {\n return {\n redirectUrl: '/',\n ...options,\n };\n}\n\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\n\n@NgModule({\n imports: [CoreModule, ThemeSharedModule],\n providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: noop }],\n})\nexport class AccountConfigModule {\n static forRoot(options = {} as AccountConfigOptions): ModuleWithProviders {\n return {\n ngModule: AccountConfigModule,\n providers: [\n { provide: ACCOUNT_OPTIONS, useValue: options },\n {\n provide: 'ACCOUNT_OPTIONS',\n useFactory: accountOptionsFactory,\n deps: [ACCOUNT_OPTIONS],\n },\n ],\n };\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA;IAQE,8BAAoB,MAAc,EAAU,WAAwB;QAAhD,WAAM,GAAN,MAAM,CAAQ;QAAU,gBAAW,GAAX,WAAW,CAAa;QAClE,YAAY,CAAC;YACX,IAAI,EAAE,0BAA0B;YAChC,IAAI,EAAE,SAAS;YAC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AAE,UAAU,IAAM,EAAE,CAAC;iBACvG;;IAeD,0BAAC;CAlBD;;;;;;;;;;;;;;"} |
||||
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
@ -0,0 +1,29 @@ |
|||||
|
/** |
||||
|
* @fileoverview added by tsickle |
||||
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc |
||||
|
*/ |
||||
|
import { Component, Input, TemplateRef } from '@angular/core'; |
||||
|
export class AuthWrapperComponent {} |
||||
|
AuthWrapperComponent.decorators = [ |
||||
|
{ |
||||
|
type: Component, |
||||
|
args: [ |
||||
|
{ |
||||
|
selector: 'abp-auth-wrapper', |
||||
|
template: |
||||
|
'<div class="row">\n <div class="mx-auto col col-md-5">\n <abp-tenant-box></abp-tenant-box>\n\n <div class="abp-account-container">\n <div class="card mt-3 shadow-sm rounded">\n <div class="card-body p-5">\n <ng-content *ngTemplateOutlet="mainContentRef"></ng-content>\n </div>\n <ng-content *ngTemplateOutlet="cancelContentRef"></ng-content>\n </div>\n </div>\n </div>\n</div>\n', |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
]; |
||||
|
AuthWrapperComponent.propDecorators = { |
||||
|
mainContentRef: [{ type: Input }], |
||||
|
cancelContentRef: [{ type: Input }], |
||||
|
}; |
||||
|
if (false) { |
||||
|
/** @type {?} */ |
||||
|
AuthWrapperComponent.prototype.mainContentRef; |
||||
|
/** @type {?} */ |
||||
|
AuthWrapperComponent.prototype.cancelContentRef; |
||||
|
} |
||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC13cmFwcGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2F1dGgtd3JhcHBlci9hdXRoLXdyYXBwZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFNOUQsTUFBTSxPQUFPLG9CQUFvQjs7O1lBSmhDLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsa0JBQWtCO2dCQUM1Qix1Y0FBNEM7YUFDN0M7Ozs2QkFFRSxLQUFLOytCQUdMLEtBQUs7Ozs7SUFITiw4Q0FDaUM7O0lBRWpDLGdEQUNtQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQsIFRlbXBsYXRlUmVmIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2FicC1hdXRoLXdyYXBwZXInLFxuICB0ZW1wbGF0ZVVybDogJy4vYXV0aC13cmFwcGVyLmNvbXBvbmVudC5odG1sJyxcbn0pXG5leHBvcnQgY2xhc3MgQXV0aFdyYXBwZXJDb21wb25lbnQge1xuICBASW5wdXQoKVxuICBtYWluQ29udGVudFJlZjogVGVtcGxhdGVSZWY8YW55PjtcblxuICBASW5wdXQoKVxuICBjYW5jZWxDb250ZW50UmVmOiBUZW1wbGF0ZVJlZjxhbnk+O1xufVxuIl19
|
||||
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
@ -0,0 +1,33 @@ |
|||||
|
/** |
||||
|
* @fileoverview added by tsickle |
||||
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc |
||||
|
*/ |
||||
|
import { Component, Input, TemplateRef } from '@angular/core'; |
||||
|
var AuthWrapperComponent = /** @class */ (function() { |
||||
|
function AuthWrapperComponent() {} |
||||
|
AuthWrapperComponent.decorators = [ |
||||
|
{ |
||||
|
type: Component, |
||||
|
args: [ |
||||
|
{ |
||||
|
selector: 'abp-auth-wrapper', |
||||
|
template: |
||||
|
'<div class="row">\n <div class="mx-auto col col-md-5">\n <abp-tenant-box></abp-tenant-box>\n\n <div class="abp-account-container">\n <div class="card mt-3 shadow-sm rounded">\n <div class="card-body p-5">\n <ng-content *ngTemplateOutlet="mainContentRef"></ng-content>\n </div>\n <ng-content *ngTemplateOutlet="cancelContentRef"></ng-content>\n </div>\n </div>\n </div>\n</div>\n', |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
]; |
||||
|
AuthWrapperComponent.propDecorators = { |
||||
|
mainContentRef: [{ type: Input }], |
||||
|
cancelContentRef: [{ type: Input }], |
||||
|
}; |
||||
|
return AuthWrapperComponent; |
||||
|
})(); |
||||
|
export { AuthWrapperComponent }; |
||||
|
if (false) { |
||||
|
/** @type {?} */ |
||||
|
AuthWrapperComponent.prototype.mainContentRef; |
||||
|
/** @type {?} */ |
||||
|
AuthWrapperComponent.prototype.cancelContentRef; |
||||
|
} |
||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC13cmFwcGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2F1dGgtd3JhcHBlci9hdXRoLXdyYXBwZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFOUQ7SUFBQTtJQVVBLENBQUM7O2dCQVZBLFNBQVMsU0FBQztvQkFDVCxRQUFRLEVBQUUsa0JBQWtCO29CQUM1Qix1Y0FBNEM7aUJBQzdDOzs7aUNBRUUsS0FBSzttQ0FHTCxLQUFLOztJQUVSLDJCQUFDO0NBQUEsQUFWRCxJQVVDO1NBTlksb0JBQW9COzs7SUFDL0IsOENBQ2lDOztJQUVqQyxnREFDbUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0LCBUZW1wbGF0ZVJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdhYnAtYXV0aC13cmFwcGVyJyxcbiAgdGVtcGxhdGVVcmw6ICcuL2F1dGgtd3JhcHBlci5jb21wb25lbnQuaHRtbCcsXG59KVxuZXhwb3J0IGNsYXNzIEF1dGhXcmFwcGVyQ29tcG9uZW50IHtcbiAgQElucHV0KClcbiAgbWFpbkNvbnRlbnRSZWY6IFRlbXBsYXRlUmVmPGFueT47XG5cbiAgQElucHV0KClcbiAgY2FuY2VsQ29udGVudFJlZjogVGVtcGxhdGVSZWY8YW55Pjtcbn1cbiJdfQ==
|
||||
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 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
@ -0,0 +1,5 @@ |
|||||
|
import { TemplateRef } from '@angular/core'; |
||||
|
export declare class AuthWrapperComponent { |
||||
|
mainContentRef: TemplateRef<any>; |
||||
|
cancelContentRef: TemplateRef<any>; |
||||
|
} |
||||
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
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue