@abp/ng.core 7.1.0 → 7.1.1
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/esm2020/lib/core.module.mjs +6 -1
- package/esm2020/lib/pipes/index.mjs +2 -1
- package/esm2020/lib/pipes/safe-html.pipe.mjs +23 -0
- package/esm2020/lib/services/config-state.service.mjs +16 -9
- package/fesm2015/abp-ng.core.mjs +49 -17
- package/fesm2015/abp-ng.core.mjs.map +1 -1
- package/fesm2020/abp-ng.core.mjs +39 -9
- package/fesm2020/abp-ng.core.mjs.map +1 -1
- package/lib/core.module.d.ts +13 -12
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/safe-html.pipe.d.ts +9 -0
- package/lib/services/config-state.service.d.ts +6 -4
- package/package.json +2 -2
package/lib/core.module.d.ts
CHANGED
|
@@ -14,16 +14,17 @@ import * as i9 from "./components/replaceable-route-container.component";
|
|
|
14
14
|
import * as i10 from "./directives/replaceable-template.directive";
|
|
15
15
|
import * as i11 from "./components/router-outlet.component";
|
|
16
16
|
import * as i12 from "./pipes/sort.pipe";
|
|
17
|
-
import * as i13 from "./
|
|
18
|
-
import * as i14 from "./
|
|
19
|
-
import * as i15 from "./pipes/
|
|
20
|
-
import * as i16 from "./pipes/short-time.pipe";
|
|
21
|
-
import * as i17 from "./pipes/short-
|
|
22
|
-
import * as i18 from "
|
|
23
|
-
import * as i19 from "@angular/common
|
|
24
|
-
import * as i20 from "@angular/
|
|
25
|
-
import * as i21 from "@angular/
|
|
26
|
-
import * as i22 from "
|
|
17
|
+
import * as i13 from "./pipes/safe-html.pipe";
|
|
18
|
+
import * as i14 from "./directives/stop-propagation.directive";
|
|
19
|
+
import * as i15 from "./pipes/to-injector.pipe";
|
|
20
|
+
import * as i16 from "./pipes/short-date-time.pipe";
|
|
21
|
+
import * as i17 from "./pipes/short-time.pipe";
|
|
22
|
+
import * as i18 from "./pipes/short-date.pipe";
|
|
23
|
+
import * as i19 from "@angular/common";
|
|
24
|
+
import * as i20 from "@angular/common/http";
|
|
25
|
+
import * as i21 from "@angular/forms";
|
|
26
|
+
import * as i22 from "@angular/router";
|
|
27
|
+
import * as i23 from "./localization.module";
|
|
27
28
|
/**
|
|
28
29
|
* BaseCoreModule is the module that holds
|
|
29
30
|
* all imports, declarations, exports, and entryComponents
|
|
@@ -32,7 +33,7 @@ import * as i22 from "./localization.module";
|
|
|
32
33
|
*/
|
|
33
34
|
export declare class BaseCoreModule {
|
|
34
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseCoreModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseCoreModule, [typeof i1.AbstractNgModelComponent, typeof i2.AutofocusDirective, typeof i3.DynamicLayoutComponent, typeof i4.ForDirective, typeof i5.FormSubmitDirective, typeof i6.InitDirective, typeof i7.InputEventDebounceDirective, typeof i8.PermissionDirective, typeof i9.ReplaceableRouteContainerComponent, typeof i10.ReplaceableTemplateDirective, typeof i11.RouterOutletComponent, typeof i12.SortPipe, typeof i13.
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseCoreModule, [typeof i1.AbstractNgModelComponent, typeof i2.AutofocusDirective, typeof i3.DynamicLayoutComponent, typeof i4.ForDirective, typeof i5.FormSubmitDirective, typeof i6.InitDirective, typeof i7.InputEventDebounceDirective, typeof i8.PermissionDirective, typeof i9.ReplaceableRouteContainerComponent, typeof i10.ReplaceableTemplateDirective, typeof i11.RouterOutletComponent, typeof i12.SortPipe, typeof i13.SafeHtmlPipe, typeof i14.StopPropagationDirective, typeof i15.ToInjectorPipe, typeof i16.ShortDateTimePipe, typeof i17.ShortTimePipe, typeof i18.ShortDatePipe], [typeof i19.CommonModule, typeof i20.HttpClientModule, typeof i21.FormsModule, typeof i21.ReactiveFormsModule, typeof i22.RouterModule, typeof i23.LocalizationModule], [typeof i19.CommonModule, typeof i20.HttpClientModule, typeof i21.FormsModule, typeof i21.ReactiveFormsModule, typeof i22.RouterModule, typeof i23.LocalizationModule, typeof i1.AbstractNgModelComponent, typeof i2.AutofocusDirective, typeof i3.DynamicLayoutComponent, typeof i4.ForDirective, typeof i5.FormSubmitDirective, typeof i6.InitDirective, typeof i7.InputEventDebounceDirective, typeof i8.PermissionDirective, typeof i9.ReplaceableRouteContainerComponent, typeof i10.ReplaceableTemplateDirective, typeof i11.RouterOutletComponent, typeof i12.SortPipe, typeof i13.SafeHtmlPipe, typeof i14.StopPropagationDirective, typeof i15.ToInjectorPipe, typeof i16.ShortDateTimePipe, typeof i17.ShortTimePipe, typeof i18.ShortDatePipe]>;
|
|
36
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<BaseCoreModule>;
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
@@ -41,7 +42,7 @@ export declare class BaseCoreModule {
|
|
|
41
42
|
*/
|
|
42
43
|
export declare class RootCoreModule {
|
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<RootCoreModule, never>;
|
|
44
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RootCoreModule, never, [typeof BaseCoreModule, typeof
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RootCoreModule, never, [typeof BaseCoreModule, typeof i23.LocalizationModule, typeof i20.HttpClientXsrfModule], [typeof BaseCoreModule, typeof i23.LocalizationModule]>;
|
|
45
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<RootCoreModule>;
|
|
46
47
|
}
|
|
47
48
|
/**
|
package/lib/pipes/index.d.ts
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SafeHtmlPipe implements PipeTransform {
|
|
4
|
+
private readonly sanitizer;
|
|
5
|
+
transform(value: string): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "abpSafeHtml", false>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SafeHtmlPipe>;
|
|
9
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import { AbpApplicationConfigurationService } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service';
|
|
3
|
+
import { AbpApplicationLocalizationService } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service';
|
|
2
4
|
import { ApplicationConfigurationDto, ApplicationGlobalFeatureConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare class ConfigStateService {
|
|
5
|
-
private readonly store;
|
|
6
|
-
private readonly includeLocalizationResources;
|
|
7
7
|
private abpConfigService;
|
|
8
8
|
private abpApplicationLocalizationService;
|
|
9
|
+
private readonly includeLocalizationResources;
|
|
10
|
+
private readonly store;
|
|
9
11
|
get createOnUpdateStream(): <Slice>(selector: (state: {
|
|
10
12
|
localization?: {
|
|
11
13
|
values?: {
|
|
@@ -176,7 +178,7 @@ export declare class ConfigStateService {
|
|
|
176
178
|
};
|
|
177
179
|
}) => Slice, filterFn?: (x: Slice) => boolean) => Observable<Slice>;
|
|
178
180
|
private updateSubject;
|
|
179
|
-
constructor();
|
|
181
|
+
constructor(abpConfigService: AbpApplicationConfigurationService, abpApplicationLocalizationService: AbpApplicationLocalizationService, includeLocalizationResources: boolean | null);
|
|
180
182
|
private initUpdateStream;
|
|
181
183
|
private getLocalizationAndCombineWithAppState;
|
|
182
184
|
private getlocalizationResource;
|
|
@@ -371,6 +373,6 @@ export declare class ConfigStateService {
|
|
|
371
373
|
private isGlobalFeatureEnabled;
|
|
372
374
|
getGlobalFeatureIsEnabled(key: string): boolean;
|
|
373
375
|
getGlobalFeatureIsEnabled$(key: string): Observable<boolean>;
|
|
374
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigStateService,
|
|
376
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigStateService, [null, null, { optional: true; }]>;
|
|
375
377
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigStateService>;
|
|
376
378
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.core",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/abpframework/abp.git"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@abp/utils": "~7.1.
|
|
10
|
+
"@abp/utils": "~7.1.1",
|
|
11
11
|
"angular-oauth2-oidc": "^15.0.1",
|
|
12
12
|
"just-clone": "^6.1.1",
|
|
13
13
|
"just-compare": "^2.3.0",
|