@stemy/ngx-utils 17.0.0 → 17.0.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.
|
@@ -50,7 +50,7 @@ import { UnorderedListComponent } from "./components/unordered-list/unordered-li
|
|
|
50
50
|
export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
|
|
51
51
|
export declare const directives: (typeof AsyncMethodBase | typeof BackgroundDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
|
|
52
52
|
export declare const components: (typeof UnorderedListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent)[];
|
|
53
|
-
export declare const providers: (typeof
|
|
53
|
+
export declare const providers: (typeof StateService | typeof UniversalService | typeof AuthGuard | typeof BaseHttpClient | typeof StorageService | typeof BaseHttpService | typeof WasmService | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof ConsoleToasterService | typeof TranslatedUrlSerializer | typeof PromiseService | typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof DeviceDetectorService | {
|
|
54
54
|
provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
|
|
55
55
|
useClass: typeof ResizeEventPlugin;
|
|
56
56
|
multi: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Injector, NgZone } from "@angular/core";
|
|
2
|
-
import { ActivatedRouteSnapshot, ChildrenOutletContexts, Data,
|
|
3
|
-
import { BehaviorSubject, Subscription } from "rxjs";
|
|
2
|
+
import { ActivatedRouteSnapshot, ChildrenOutletContexts, Data, NavigationEnd, NavigationExtras, Params, Route, Router, UrlSegment, UrlTree } from "@angular/router";
|
|
3
|
+
import { BehaviorSubject, Observer, Subscription } from "rxjs";
|
|
4
4
|
import { IRoute, NavigationUrlParam } from "../common-types";
|
|
5
5
|
import { UniversalService } from "./universal.service";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -14,16 +14,16 @@ export interface IStateInfo {
|
|
|
14
14
|
segments: UrlSegment[];
|
|
15
15
|
components: any[];
|
|
16
16
|
}
|
|
17
|
-
export declare class StateService
|
|
17
|
+
export declare class StateService {
|
|
18
18
|
readonly injector: Injector;
|
|
19
19
|
readonly zone: NgZone;
|
|
20
20
|
readonly universal: UniversalService;
|
|
21
21
|
readonly router: Router;
|
|
22
22
|
readonly contexts: ChildrenOutletContexts;
|
|
23
23
|
readonly globalExtras: NavigationExtras;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
protected shot: BehaviorSubject<ActivatedRouteSnapshot>;
|
|
25
|
+
protected comp: any;
|
|
26
|
+
protected stateInfo: IStateInfo;
|
|
27
27
|
static toPath(route: Route, params: any): string;
|
|
28
28
|
get component(): any;
|
|
29
29
|
get snapshot(): ActivatedRouteSnapshot;
|
|
@@ -40,10 +40,11 @@ export declare class StateService extends BehaviorSubject<any> {
|
|
|
40
40
|
navigateByUrl(url: string | UrlTree, navigationExtras?: NavigationExtras): Promise<boolean>;
|
|
41
41
|
navigate(url: NavigationUrlParam, navigationExtras?: NavigationExtras): Promise<boolean>;
|
|
42
42
|
open(url: NavigationUrlParam, target?: string, navigationExtras?: NavigationExtras): Promise<boolean>;
|
|
43
|
-
subscribeImmediately(next?: (value: ActivatedRouteSnapshot) => void, error?: (error: any) => void
|
|
43
|
+
subscribeImmediately(next?: (value: ActivatedRouteSnapshot) => void, error?: (error: any) => void): Subscription;
|
|
44
|
+
subscribe(osOrNext?: Partial<Observer<ActivatedRouteSnapshot>> | ((value: ActivatedRouteSnapshot) => void)): Subscription;
|
|
44
45
|
protected openInNewWindow(tree: UrlTree, target: string): boolean;
|
|
45
46
|
protected createUrlTree(url: NavigationUrlParam, extras?: NavigationExtras): [UrlTree, NavigationExtras];
|
|
46
|
-
protected handleRouterEvent: (event:
|
|
47
|
+
protected handleRouterEvent: (event: NavigationEnd) => void;
|
|
47
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<StateService, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
48
49
|
static ɵprov: i0.ɵɵInjectableDeclaration<StateService>;
|
|
49
50
|
}
|