@stemy/ngx-utils 12.2.7 → 12.2.8
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/bundles/stemy-ngx-utils.umd.js +7 -7
- package/bundles/stemy-ngx-utils.umd.js.map +1 -1
- package/esm2015/ngx-utils/directives/async-method.base.js +7 -4
- package/esm2015/ngx-utils/directives/async-method.directive.js +2 -9
- package/esm2015/ngx-utils/ngx-utils.module.js +3 -1
- package/fesm2015/stemy-ngx-utils.js +6 -9
- package/fesm2015/stemy-ngx-utils.js.map +1 -1
- package/ngx-utils/directives/async-method.base.d.ts +2 -2
- package/ngx-utils/directives/async-method.directive.d.ts +1 -2
- package/ngx-utils/ngx-utils.module.d.ts +2 -2
- package/package.json +1 -1
- package/stemy-ngx-utils.metadata.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { AsyncMethod, IAsyncMessage, IToasterService } from "../common-types";
|
|
3
3
|
export declare class AsyncMethodBase {
|
|
4
|
-
|
|
4
|
+
readonly toaster: IToasterService;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
context: any;
|
|
7
7
|
onSuccess: EventEmitter<IAsyncMessage>;
|
|
@@ -9,7 +9,7 @@ export declare class AsyncMethodBase {
|
|
|
9
9
|
protected loading: boolean;
|
|
10
10
|
get isDisabled(): boolean;
|
|
11
11
|
get isLoading(): boolean;
|
|
12
|
-
|
|
12
|
+
constructor(toaster: IToasterService);
|
|
13
13
|
protected getMethod(): AsyncMethod;
|
|
14
14
|
click(): void;
|
|
15
15
|
callMethod(): boolean;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { AsyncMethod
|
|
1
|
+
import { AsyncMethod } from "../common-types";
|
|
2
2
|
import { AsyncMethodBase } from "./async-method.base";
|
|
3
3
|
export declare class AsyncMethodDirective extends AsyncMethodBase {
|
|
4
4
|
method: AsyncMethod;
|
|
5
|
-
constructor(toaster: IToasterService);
|
|
6
5
|
protected getMethod(): AsyncMethod;
|
|
7
6
|
}
|
|
@@ -23,7 +23,7 @@ import { TranslatedUrlSerializer } from "./services/translated-url.serializer";
|
|
|
23
23
|
import { UniversalService } from "./services/universal.service";
|
|
24
24
|
import { ResizeEventPlugin } from "./plugins/resize-event.plugin";
|
|
25
25
|
import { ScrollEventPlugin } from "./plugins/scroll-event.plugin";
|
|
26
|
-
import {
|
|
26
|
+
import { AsyncMethodBase } from "./directives/async-method.base";
|
|
27
27
|
import { BackgroundDirective } from "./directives/background.directive";
|
|
28
28
|
import { DynamicTableTemplateDirective } from "./directives/dynamic-table-template.directive";
|
|
29
29
|
import { GlobalTemplateDirective } from "./directives/global-template.directive";
|
|
@@ -47,7 +47,7 @@ import { DynamicTableComponent } from "./components/dynamic-table/dynamic-table.
|
|
|
47
47
|
import { PaginationMenuComponent } from "./components/pagination-menu/pagination-menu.component";
|
|
48
48
|
import { UnorderedListComponent } from "./components/unordered-list/unordered-list.component";
|
|
49
49
|
export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
|
|
50
|
-
export declare const directives: (typeof
|
|
50
|
+
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)[];
|
|
51
51
|
export declare const components: (typeof UnorderedListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent)[];
|
|
52
52
|
export declare const providers: (typeof UniversalService | typeof StateService | typeof AuthGuard | typeof AclService | typeof BaseHttpClient | typeof StorageService | typeof BaseHttpService | 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 | {
|
|
53
53
|
provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").ɵangular_packages_platform_browser_platform_browser_g[]>;
|