@abp/ng.core 9.2.1 → 9.3.0-rc.2
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/fesm2022/abp-ng.core.mjs +428 -438
- package/fesm2022/abp-ng.core.mjs.map +1 -1
- package/lib/abstracts/ng-model.component.d.ts +1 -1
- package/lib/components/dynamic-layout.component.d.ts +1 -1
- package/lib/components/replaceable-route-container.component.d.ts +1 -1
- package/lib/components/router-outlet.component.d.ts +1 -1
- package/lib/core.module.d.ts +27 -25
- package/lib/localization.module.d.ts +5 -1
- package/lib/pipes/localization.pipe.d.ts +1 -1
- package/lib/pipes/safe-html.pipe.d.ts +1 -1
- package/lib/pipes/short-date-time.pipe.d.ts +1 -1
- package/lib/pipes/short-date.pipe.d.ts +1 -1
- package/lib/pipes/short-time.pipe.d.ts +1 -1
- package/lib/pipes/sort.pipe.d.ts +1 -1
- package/lib/pipes/to-injector.pipe.d.ts +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -19,5 +19,5 @@ export declare class AbstractNgModelComponent<T = any, U = T> implements Control
|
|
|
19
19
|
registerOnTouched(fn: any): void;
|
|
20
20
|
setDisabledState(isDisabled: boolean): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNgModelComponent<any, any>, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractNgModelComponent<any, any>, "ng-component", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valueFn": { "alias": "valueFn"; "required": false; }; "valueLimitFn": { "alias": "valueLimitFn"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never,
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractNgModelComponent<any, any>, "ng-component", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valueFn": { "alias": "valueFn"; "required": false; }; "valueLimitFn": { "alias": "valueLimitFn"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
@@ -30,5 +30,5 @@ export declare class DynamicLayoutComponent implements OnInit {
|
|
|
30
30
|
private listenToLanguageChange;
|
|
31
31
|
private getComponent;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutComponent, [{ optional: true; skipSelf: true; }]>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutComponent, "abp-dynamic-layout", never, {}, {}, never, never,
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutComponent, "abp-dynamic-layout", never, {}, {}, never, never, true, never>;
|
|
34
34
|
}
|
|
@@ -13,5 +13,5 @@ export declare class ReplaceableRouteContainerComponent implements OnInit {
|
|
|
13
13
|
constructor(route: ActivatedRoute, replaceableComponents: ReplaceableComponentsService, subscription: SubscriptionService);
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceableRouteContainerComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReplaceableRouteContainerComponent, "abp-replaceable-route-container", never, {}, {}, never, never,
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReplaceableRouteContainerComponent, "abp-replaceable-route-container", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class RouterOutletComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<RouterOutletComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RouterOutletComponent, "abp-router-outlet", never, {}, {}, never, never,
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RouterOutletComponent, "abp-router-outlet", never, {}, {}, never, never, true, never>;
|
|
5
5
|
}
|
package/lib/core.module.d.ts
CHANGED
|
@@ -2,29 +2,31 @@ import { ModuleWithProviders } from '@angular/core';
|
|
|
2
2
|
import { ABP } from './models/common';
|
|
3
3
|
import './utils/date-extensions';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
6
|
-
import * as i2 from "
|
|
7
|
-
import * as i3 from "
|
|
8
|
-
import * as i4 from "
|
|
9
|
-
import * as i5 from "./
|
|
10
|
-
import * as i6 from "./
|
|
11
|
-
import * as i7 from "./
|
|
12
|
-
import * as i8 from "./
|
|
13
|
-
import * as i9 from "./
|
|
14
|
-
import * as i10 from "./
|
|
15
|
-
import * as i11 from "
|
|
16
|
-
import * as i12 from "
|
|
17
|
-
import * as i13 from "
|
|
18
|
-
import * as i14 from "./
|
|
19
|
-
import * as i15 from "./pipes/
|
|
20
|
-
import * as i16 from "./
|
|
21
|
-
import * as i17 from "./
|
|
22
|
-
import * as i18 from "./
|
|
23
|
-
import * as i19 from "./
|
|
24
|
-
import * as i20 from "./
|
|
25
|
-
import * as i21 from "./
|
|
26
|
-
import * as i22 from "./
|
|
27
|
-
import * as i23 from "./
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "@angular/router";
|
|
8
|
+
import * as i4 from "@ngx-validate/core";
|
|
9
|
+
import * as i5 from "./directives/autofocus.directive";
|
|
10
|
+
import * as i6 from "./directives/debounce.directive";
|
|
11
|
+
import * as i7 from "./directives/for.directive";
|
|
12
|
+
import * as i8 from "./directives/form-submit.directive";
|
|
13
|
+
import * as i9 from "./directives/init.directive";
|
|
14
|
+
import * as i10 from "./directives/permission.directive";
|
|
15
|
+
import * as i11 from "./directives/replaceable-template.directive";
|
|
16
|
+
import * as i12 from "./directives/stop-propagation.directive";
|
|
17
|
+
import * as i13 from "./pipes/localization.pipe";
|
|
18
|
+
import * as i14 from "./pipes/sort.pipe";
|
|
19
|
+
import * as i15 from "./pipes/safe-html.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 "./pipes/to-injector.pipe";
|
|
24
|
+
import * as i20 from "./pipes/utc-to-local.pipe";
|
|
25
|
+
import * as i21 from "./pipes/lazy-localization.pipe";
|
|
26
|
+
import * as i22 from "./components/dynamic-layout.component";
|
|
27
|
+
import * as i23 from "./components/replaceable-route-container.component";
|
|
28
|
+
import * as i24 from "./components/router-outlet.component";
|
|
29
|
+
import * as i25 from "./abstracts/ng-model.component";
|
|
28
30
|
/**
|
|
29
31
|
* BaseCoreModule is the module that holds
|
|
30
32
|
* all imports, declarations, exports, and entryComponents
|
|
@@ -33,7 +35,7 @@ import * as i23 from "./directives/stop-propagation.directive";
|
|
|
33
35
|
*/
|
|
34
36
|
export declare class BaseCoreModule {
|
|
35
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseCoreModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseCoreModule, [typeof i1.
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseCoreModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.RouterModule, typeof i4.NgxValidateCoreModule, typeof i5.AutofocusDirective, typeof i6.InputEventDebounceDirective, typeof i7.ForDirective, typeof i8.FormSubmitDirective, typeof i9.InitDirective, typeof i10.PermissionDirective, typeof i11.ReplaceableTemplateDirective, typeof i12.StopPropagationDirective, typeof i13.LocalizationPipe, typeof i14.SortPipe, typeof i15.SafeHtmlPipe, typeof i16.ShortDateTimePipe, typeof i17.ShortTimePipe, typeof i18.ShortDatePipe, typeof i19.ToInjectorPipe, typeof i20.UtcToLocalPipe, typeof i21.LazyLocalizationPipe, typeof i22.DynamicLayoutComponent, typeof i23.ReplaceableRouteContainerComponent, typeof i24.RouterOutletComponent, typeof i25.AbstractNgModelComponent], [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.RouterModule, typeof i4.NgxValidateCoreModule, typeof i5.AutofocusDirective, typeof i6.InputEventDebounceDirective, typeof i7.ForDirective, typeof i8.FormSubmitDirective, typeof i9.InitDirective, typeof i10.PermissionDirective, typeof i11.ReplaceableTemplateDirective, typeof i12.StopPropagationDirective, typeof i13.LocalizationPipe, typeof i14.SortPipe, typeof i15.SafeHtmlPipe, typeof i16.ShortDateTimePipe, typeof i17.ShortTimePipe, typeof i18.ShortDatePipe, typeof i19.ToInjectorPipe, typeof i20.UtcToLocalPipe, typeof i21.LazyLocalizationPipe, typeof i22.DynamicLayoutComponent, typeof i23.ReplaceableRouteContainerComponent, typeof i24.RouterOutletComponent, typeof i25.AbstractNgModelComponent]>;
|
|
37
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<BaseCoreModule>;
|
|
38
40
|
}
|
|
39
41
|
/**
|
|
@@ -42,7 +44,7 @@ export declare class BaseCoreModule {
|
|
|
42
44
|
*/
|
|
43
45
|
export declare class RootCoreModule {
|
|
44
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<RootCoreModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RootCoreModule, never, [typeof BaseCoreModule
|
|
47
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RootCoreModule, never, [typeof BaseCoreModule], [typeof BaseCoreModule]>;
|
|
46
48
|
static ɵinj: i0.ɵɵInjectorDeclaration<RootCoreModule>;
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./pipes/localization.pipe";
|
|
3
3
|
import * as i2 from "./pipes/lazy-localization.pipe";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use `LocalizationPipe` and `LazyLocalizationPipe` directly as a standalone pipe.
|
|
6
|
+
* This module is no longer necessary for using the `LocalizationPipe` and `LazyLocalizationPipe` pipes.
|
|
7
|
+
*/
|
|
4
8
|
export declare class LocalizationModule {
|
|
5
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationModule, [typeof i1.LocalizationPipe
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationModule, never, [typeof i1.LocalizationPipe, typeof i2.LazyLocalizationPipe], [typeof i1.LocalizationPipe, typeof i2.LazyLocalizationPipe]>;
|
|
7
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<LocalizationModule>;
|
|
8
12
|
}
|
|
@@ -7,6 +7,6 @@ export declare class LocalizationPipe implements PipeTransform {
|
|
|
7
7
|
constructor(localization: LocalizationService);
|
|
8
8
|
transform(value?: string | LocalizationWithDefault, ...interpolateParams: (string | string[] | undefined)[]): string;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizationPipe, "abpLocalization",
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizationPipe, "abpLocalization", true>;
|
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationPipe>;
|
|
12
12
|
}
|
|
@@ -4,6 +4,6 @@ export declare class SafeHtmlPipe implements PipeTransform {
|
|
|
4
4
|
private readonly sanitizer;
|
|
5
5
|
transform(value: string): string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "abpSafeHtml",
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "abpSafeHtml", true>;
|
|
8
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<SafeHtmlPipe>;
|
|
9
9
|
}
|
|
@@ -8,5 +8,5 @@ export declare class ShortDateTimePipe extends DatePipe implements PipeTransform
|
|
|
8
8
|
transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
|
|
9
9
|
transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShortDateTimePipe, [null, null, { optional: true; }]>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ShortDateTimePipe, "shortDateTime",
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShortDateTimePipe, "shortDateTime", true>;
|
|
12
12
|
}
|
|
@@ -8,5 +8,5 @@ export declare class ShortDatePipe extends DatePipe implements PipeTransform {
|
|
|
8
8
|
transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
|
|
9
9
|
transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShortDatePipe, [null, null, { optional: true; }]>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ShortDatePipe, "shortDate",
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShortDatePipe, "shortDate", true>;
|
|
12
12
|
}
|
|
@@ -8,5 +8,5 @@ export declare class ShortTimePipe extends DatePipe implements PipeTransform {
|
|
|
8
8
|
transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null;
|
|
9
9
|
transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShortTimePipe, [null, null, { optional: true; }]>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ShortTimePipe, "shortTime",
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShortTimePipe, "shortTime", true>;
|
|
12
12
|
}
|
package/lib/pipes/sort.pipe.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export type SortOrder = 'asc' | 'desc';
|
|
|
4
4
|
export declare class SortPipe implements PipeTransform {
|
|
5
5
|
transform(value: any[], sortOrder?: SortOrder | string, sortKey?: string): any;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SortPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "abpSort",
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "abpSort", true>;
|
|
8
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<SortPipe>;
|
|
9
9
|
}
|
|
@@ -6,5 +6,5 @@ export declare class ToInjectorPipe implements PipeTransform {
|
|
|
6
6
|
constructor(injector: Injector);
|
|
7
7
|
transform(value: any, token?: InjectionToken<any>, name?: string): Injector;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToInjectorPipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ToInjectorPipe, "toInjector",
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToInjectorPipe, "toInjector", true>;
|
|
10
10
|
}
|
package/lib/utils/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.core",
|
|
3
|
-
"version": "9.2
|
|
3
|
+
"version": "9.3.0-rc.2",
|
|
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": "~9.2
|
|
10
|
+
"@abp/utils": "~9.3.0-rc.2",
|
|
11
11
|
"just-clone": "^6.0.0",
|
|
12
12
|
"just-compare": "^2.0.0",
|
|
13
13
|
"ts-toolbelt": "^9.0.0",
|