mirror of https://github.com/abpframework/abp
Merge branch 'dev' of https://github.com/abpframework/abp into dev
commit
8b4cd2b2aa
@ -0,0 +1,3 @@
|
||||
{
|
||||
"AppSettingKey1": "AppSettingValue1"
|
||||
}
|
||||
@ -1,6 +1,8 @@
|
||||
export * from './application-configuration.service';
|
||||
export * from './config.service';
|
||||
export * from './config-state.service';
|
||||
export * from './lazy-load.service';
|
||||
export * from './localization.service';
|
||||
export * from './profile.service';
|
||||
export * from './rest.service';
|
||||
export * from './profile-state.service';
|
||||
export * from './session-state.service';
|
||||
|
||||
@ -0,0 +1,14 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Store } from '@ngxs/store';
|
||||
import { ProfileState } from '../states';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class ProfileStateService {
|
||||
constructor(private store: Store) {}
|
||||
|
||||
getProfile() {
|
||||
return this.store.selectSnapshot(ProfileState.getProfile);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Store } from '@ngxs/store';
|
||||
import { SessionState } from '../states';
|
||||
|
||||
@Injectable()
|
||||
export class SessionStateService {
|
||||
constructor(private store: Store) {}
|
||||
|
||||
getLanguage() {
|
||||
return this.store.selectSnapshot(SessionState.getLanguage);
|
||||
}
|
||||
|
||||
getTenant() {
|
||||
return this.store.selectSnapshot(SessionState.getTenant);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Store } from '@ngxs/store';
|
||||
import { FeatureManagementState } from '../states';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class FeatureManagementStateService {
|
||||
constructor(private store: Store) {}
|
||||
|
||||
getFeatures() {
|
||||
return this.store.selectSnapshot(FeatureManagementState.getFeatures);
|
||||
}
|
||||
}
|
||||
@ -1 +1,2 @@
|
||||
export * from './feature-management.service';
|
||||
export * from './feature-management-state.service';
|
||||
|
||||
@ -0,0 +1,23 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Store } from '@ngxs/store';
|
||||
import { IdentityState } from '../states/identity.state';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class IdentityStateService {
|
||||
constructor(private store: Store) {}
|
||||
|
||||
getRoles() {
|
||||
return this.store.selectSnapshot(IdentityState.getRoles);
|
||||
}
|
||||
getRolesTotalCount() {
|
||||
return this.store.selectSnapshot(IdentityState.getRolesTotalCount);
|
||||
}
|
||||
getUsers() {
|
||||
return this.store.selectSnapshot(IdentityState.getUsers);
|
||||
}
|
||||
getUsersTotalCount() {
|
||||
return this.store.selectSnapshot(IdentityState.getUsersTotalCount);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
export * from './identity.service';
|
||||
export * from './identity-state.service';
|
||||
@ -1 +1,2 @@
|
||||
export * from './permission-management.service';
|
||||
export * from './permission-management-state.service';
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Store } from '@ngxs/store';
|
||||
import { PermissionManagementState } from '../states/permission-management.state';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class PermissionManagementStateService {
|
||||
constructor(private store: Store) {}
|
||||
|
||||
getPermissionGroups() {
|
||||
return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups);
|
||||
}
|
||||
getEntityDisplayName() {
|
||||
return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups);
|
||||
}
|
||||
}
|
||||
@ -1 +1,2 @@
|
||||
export * from './tenant-management.service';
|
||||
export * from './tenant-management-state.service';
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Store } from '@ngxs/store';
|
||||
import { TenantManagementState } from '../states/tenant-management.state';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class TenantManagementStateService {
|
||||
constructor(private store: Store) {}
|
||||
|
||||
getTenants() {
|
||||
return this.store.selectSnapshot(TenantManagementState.get);
|
||||
}
|
||||
|
||||
getTenantsTotalCount() {
|
||||
return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
export * from './initial.service';
|
||||
export * from './layout-state.service';
|
||||
@ -0,0 +1,12 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Store } from '@ngxs/store';
|
||||
import { LayoutState } from '../states/layout.state';
|
||||
|
||||
@Injectable()
|
||||
export class LayoutStateService {
|
||||
constructor(private store: Store) {}
|
||||
|
||||
getNavigationElements() {
|
||||
return this.store.selectSnapshot(LayoutState.getNavigationElements);
|
||||
}
|
||||
}
|
||||
@ -1,11 +1,11 @@
|
||||
{
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.2",
|
||||
"name": "@abp/aspnetcore.mvc.ui.theme.basic",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@abp/aspnetcore.mvc.ui.theme.shared": "^0.9.0"
|
||||
"@abp/aspnetcore.mvc.ui.theme.shared": "^0.9.2"
|
||||
},
|
||||
"gitHead": "4d6791834b7723d8ad78ba4d23ae3425f170fdeb"
|
||||
}
|
||||
|
||||
@ -1,24 +1,24 @@
|
||||
{
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.2",
|
||||
"name": "@abp/aspnetcore.mvc.ui.theme.shared",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@abp/aspnetcore.mvc.ui": "^0.9.0",
|
||||
"@abp/bootstrap": "^0.9.0",
|
||||
"@abp/datatables.net-bs4": "^0.9.0",
|
||||
"@abp/font-awesome": "^0.9.0",
|
||||
"@abp/jquery-form": "^0.9.0",
|
||||
"@abp/jquery-validation-unobtrusive": "^0.9.0",
|
||||
"@abp/lodash": "^0.9.0",
|
||||
"@abp/luxon": "^0.9.0",
|
||||
"@abp/malihu-custom-scrollbar-plugin": "^0.9.0",
|
||||
"@abp/select2": "^0.9.0",
|
||||
"@abp/sweetalert": "^0.9.0",
|
||||
"@abp/timeago": "^0.9.0",
|
||||
"@abp/toastr": "^0.9.0",
|
||||
"@abp/bootstrap-datepicker": "^0.9.0"
|
||||
"@abp/aspnetcore.mvc.ui": "^0.9.2",
|
||||
"@abp/bootstrap": "^0.9.2",
|
||||
"@abp/bootstrap-datepicker": "^0.9.2",
|
||||
"@abp/datatables.net-bs4": "^0.9.2",
|
||||
"@abp/font-awesome": "^0.9.2",
|
||||
"@abp/jquery-form": "^0.9.2",
|
||||
"@abp/jquery-validation-unobtrusive": "^0.9.2",
|
||||
"@abp/lodash": "^0.9.2",
|
||||
"@abp/luxon": "^0.9.2",
|
||||
"@abp/malihu-custom-scrollbar-plugin": "^0.9.2",
|
||||
"@abp/select2": "^0.9.2",
|
||||
"@abp/sweetalert": "^0.9.2",
|
||||
"@abp/timeago": "^0.9.2",
|
||||
"@abp/toastr": "^0.9.2"
|
||||
},
|
||||
"gitHead": "4d6791834b7723d8ad78ba4d23ae3425f170fdeb"
|
||||
}
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
{
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.2",
|
||||
"name": "@abp/blogging",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@abp/aspnetcore.mvc.ui.theme.shared": "^0.9.0",
|
||||
"@abp/owl.carousel": "^0.9.0",
|
||||
"@abp/tui-editor": "^0.9.0"
|
||||
"@abp/aspnetcore.mvc.ui.theme.shared": "^0.9.2",
|
||||
"@abp/owl.carousel": "^0.9.2",
|
||||
"@abp/tui-editor": "^0.9.2"
|
||||
},
|
||||
"gitHead": "4d6791834b7723d8ad78ba4d23ae3425f170fdeb"
|
||||
}
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.2",
|
||||
"name": "@abp/docs",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@abp/anchor-js": "^0.9.0",
|
||||
"@abp/clipboard": "^0.9.0",
|
||||
"@abp/malihu-custom-scrollbar-plugin": "^0.9.0",
|
||||
"@abp/popper.js": "^0.9.0",
|
||||
"@abp/prismjs": "^0.9.0"
|
||||
"@abp/anchor-js": "^0.9.2",
|
||||
"@abp/clipboard": "^0.9.2",
|
||||
"@abp/malihu-custom-scrollbar-plugin": "^0.9.2",
|
||||
"@abp/popper.js": "^0.9.2",
|
||||
"@abp/prismjs": "^0.9.2"
|
||||
},
|
||||
"gitHead": "4d6791834b7723d8ad78ba4d23ae3425f170fdeb"
|
||||
}
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
{
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.2",
|
||||
"name": "@abp/highlight.js",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@abp/core": "^0.9.0"
|
||||
"@abp/core": "^0.9.2"
|
||||
},
|
||||
"gitHead": "4d6791834b7723d8ad78ba4d23ae3425f170fdeb"
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue