Build ng packages

pull/2211/head
İsmail ÇAGDAŞ 6 years ago
parent dce97779e5
commit 2f588b6700

File diff suppressed because one or more lines are too long

@ -1,8 +1,8 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('@ng-bootstrap/ng-bootstrap'), require('@ngx-validate/core'), require('primeng/table'), require('@angular/router'), require('@angular/forms'), require('@ngxs/router-plugin'), require('@ngxs/store'), require('angular-oauth2-oidc'), require('rxjs'), require('rxjs/operators'), require('snq'), require('@angular/animations')) :
typeof define === 'function' && define.amd ? define('@abp/ng.account', ['exports', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', '@ng-bootstrap/ng-bootstrap', '@ngx-validate/core', 'primeng/table', '@angular/router', '@angular/forms', '@ngxs/router-plugin', '@ngxs/store', 'angular-oauth2-oidc', 'rxjs', 'rxjs/operators', 'snq', '@angular/animations'], factory) :
(global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.account = {}), global.ng_core, global.ng_theme_shared, global.ng.core, global.ngBootstrap, global.core$1, global.table, global.ng.router, global.ng.forms, global.routerPlugin, global.store, global.angularOauth2Oidc, global.rxjs, global.rxjs.operators, global.snq, global.ng.animations));
}(this, (function (exports, ng_core, ng_theme_shared, core, ngBootstrap, core$1, table, router, forms, routerPlugin, store, angularOauth2Oidc, rxjs, operators, snq, animations) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('@ng-bootstrap/ng-bootstrap'), require('@ngx-validate/core'), require('primeng/table'), require('@angular/router'), require('@angular/forms'), require('@ngxs/router-plugin'), require('@ngxs/store'), require('angular-oauth2-oidc'), require('rxjs'), require('rxjs/operators'), require('snq'), require('@angular/common/http'), require('@angular/animations')) :
typeof define === 'function' && define.amd ? define('@abp/ng.account', ['exports', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', '@ng-bootstrap/ng-bootstrap', '@ngx-validate/core', 'primeng/table', '@angular/router', '@angular/forms', '@ngxs/router-plugin', '@ngxs/store', 'angular-oauth2-oidc', 'rxjs', 'rxjs/operators', 'snq', '@angular/common/http', '@angular/animations'], factory) :
(global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.account = {}), global.ng_core, global.ng_theme_shared, global.ng.core, global.ngBootstrap, global.core$1, global.table, global.ng.router, global.ng.forms, global.routerPlugin, global.store, global.angularOauth2Oidc, global.rxjs, global.rxjs.operators, global.snq, global.ng.common.http, global.ng.animations));
}(this, (function (exports, ng_core, ng_theme_shared, core, ngBootstrap, core$1, table, router, forms, routerPlugin, store, angularOauth2Oidc, rxjs, operators, snq, http, animations) { 'use strict';
snq = snq && snq.hasOwnProperty('default') ? snq['default'] : snq;
@ -236,7 +236,9 @@
return;
// this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage);
this.inProgress = true;
rxjs.from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value))
/** @type {?} */
var tenant = this.store.selectSnapshot(ng_core.SessionState.getTenant);
rxjs.from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value, new http.HttpHeaders(__assign({}, (tenant && tenant.id && { __tenant: tenant.id })))))
.pipe(operators.switchMap((/**
* @return {?}
*/

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

@ -1,4 +1,4 @@
import { ConfigState, GetAppConfiguration, RestService, DynamicLayoutComponent, ChangePassword, GetProfile, UpdateProfile, ProfileState, SessionState, SetTenant, CoreModule } from '@abp/ng.core';
import { ConfigState, SessionState, GetAppConfiguration, RestService, DynamicLayoutComponent, ChangePassword, GetProfile, UpdateProfile, ProfileState, SetTenant, CoreModule } from '@abp/ng.core';
import { ToasterService, fadeIn, ThemeSharedModule } from '@abp/ng.theme.shared';
import { Component, Optional, Inject, Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, InjectionToken, Input } from '@angular/core';
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
@ -12,6 +12,7 @@ import { OAuthService } from 'angular-oauth2-oidc';
import { from, throwError, Observable } from 'rxjs';
import { switchMap, tap, catchError, finalize, take, withLatestFrom } from 'rxjs/operators';
import snq from 'snq';
import { HttpHeaders } from '@angular/common/http';
import { trigger, transition, useAnimation } from '@angular/animations';
import { __decorate, __metadata } from 'tslib';
@ -51,7 +52,9 @@ class LoginComponent {
return;
// this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage);
this.inProgress = true;
from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value))
/** @type {?} */
const tenant = this.store.selectSnapshot(SessionState.getTenant);
from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value, new HttpHeaders(Object.assign({}, (tenant && tenant.id && { __tenant: tenant.id })))))
.pipe(switchMap((/**
* @return {?}
*/

File diff suppressed because one or more lines are too long

@ -1,10 +1,11 @@
import { ConfigState, GetAppConfiguration, RestService, DynamicLayoutComponent, ChangePassword, GetProfile, UpdateProfile, ProfileState, SessionState, SetTenant, CoreModule } from '@abp/ng.core';
import { ConfigState, SessionState, GetAppConfiguration, RestService, DynamicLayoutComponent, ChangePassword, GetProfile, UpdateProfile, ProfileState, SetTenant, CoreModule } from '@abp/ng.core';
import { ToasterService, fadeIn, ThemeSharedModule } from '@abp/ng.theme.shared';
import { Component, Optional, Inject, Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, InjectionToken, Input } from '@angular/core';
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
import { validatePassword, comparePasswords, NgxValidateCoreModule } from '@ngx-validate/core';
import { TableModule } from 'primeng/table';
import { RouterModule } from '@angular/router';
import { __assign, __read, __decorate, __metadata } from 'tslib';
import { Validators, FormBuilder } from '@angular/forms';
import { Navigate } from '@ngxs/router-plugin';
import { Store, Select } from '@ngxs/store';
@ -12,8 +13,8 @@ import { OAuthService } from 'angular-oauth2-oidc';
import { from, throwError, Observable } from 'rxjs';
import { switchMap, tap, catchError, finalize, take, withLatestFrom } from 'rxjs/operators';
import snq from 'snq';
import { HttpHeaders } from '@angular/common/http';
import { trigger, transition, useAnimation } from '@angular/animations';
import { __read, __decorate, __metadata, __assign } from 'tslib';
/**
* @fileoverview added by tsickle
@ -48,7 +49,9 @@ var LoginComponent = /** @class */ (function () {
return;
// this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage);
this.inProgress = true;
from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value))
/** @type {?} */
var tenant = this.store.selectSnapshot(SessionState.getTenant);
from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value, new HttpHeaders(__assign({}, (tenant && tenant.id && { __tenant: tenant.id })))))
.pipe(switchMap((/**
* @return {?}
*/

File diff suppressed because one or more lines are too long

@ -2,8 +2,8 @@
"name": "@abp/ng.account",
"version": "1.0.3",
"dependencies": {
"@abp/ng.account.config": "^1.0.3",
"@abp/ng.theme.shared": "^1.0.3",
"@abp/ng.account.config": "^1.0.3",
"tslib": "^1.9.0"
},
"publishConfig": {

@ -6,18 +6,11 @@
"@ngxs/storage-plugin": "^3.5.1",
"@ngxs/store": "^3.5.1",
"angular-oauth2-oidc": "^8.0.4",
"just-clone": "3.1.0",
"just-compare": "^1.3.0",
"just-clone": "3.1.0",
"snq": "^1.0.3",
"tslib": "^1.9.0"
},
"peerDependencies": {
"@angular/common": ">=8.0.0 <9.0.0",
"@angular/core": ">=8.0.0 <9.0.0",
"@angular/forms": ">=8.0.0 <9.0.0",
"@angular/router": ">=8.0.0 <9.0.0",
"rxjs": "~6.4.0"
},
"publishConfig": {
"access": "public"
},

@ -2,9 +2,9 @@
"name": "@abp/ng.identity",
"version": "1.0.3",
"dependencies": {
"@abp/ng.identity.config": "^1.0.3",
"@abp/ng.permission-management": "^1.0.3",
"@abp/ng.theme.shared": "^1.0.3",
"@abp/ng.permission-management": "^1.0.3",
"@abp/ng.identity.config": "^1.0.3",
"tslib": "^1.9.0"
},
"publishConfig": {

@ -2,8 +2,8 @@
"name": "@abp/ng.setting-management",
"version": "1.0.3",
"dependencies": {
"@abp/ng.setting-management.config": "^1.0.3",
"@abp/ng.theme.shared": "^1.0.3",
"@abp/ng.setting-management.config": "^1.0.3",
"tslib": "^1.9.0"
},
"publishConfig": {

@ -2,9 +2,9 @@
"name": "@abp/ng.tenant-management",
"version": "1.0.3",
"dependencies": {
"@abp/ng.theme.shared": "^1.0.3",
"@abp/ng.feature-management": "^1.0.3",
"@abp/ng.tenant-management.config": "^1.0.3",
"@abp/ng.theme.shared": "^1.0.3",
"tslib": "^1.9.0"
},
"publishConfig": {

Loading…
Cancel
Save