@stemy/ngx-utils 17.1.2 → 17.1.4

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.
@@ -1,8 +1,9 @@
1
- import { EventEmitter } from "@angular/core";
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges } from "@angular/core";
2
2
  import { AsyncMethod, IAsyncMessage, IToasterService } from "../common-types";
3
3
  import * as i0 from "@angular/core";
4
- export declare class AsyncMethodBase {
4
+ export declare class AsyncMethodBase implements OnChanges {
5
5
  protected toaster: IToasterService;
6
+ protected cdr: ChangeDetectorRef;
6
7
  disabled: boolean;
7
8
  context: any;
8
9
  onSuccess: EventEmitter<IAsyncMessage>;
@@ -10,8 +11,9 @@ export declare class AsyncMethodBase {
10
11
  protected loading: boolean;
11
12
  get isDisabled(): boolean;
12
13
  get isLoading(): boolean;
13
- constructor(toaster: IToasterService);
14
+ constructor(toaster: IToasterService, cdr: ChangeDetectorRef);
14
15
  protected getMethod(): AsyncMethod;
16
+ ngOnChanges(): void;
15
17
  click(ev: Event): void;
16
18
  callMethod(): boolean;
17
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AsyncMethodBase, never>;
@@ -37,6 +37,7 @@ import { StickyDirective } from "./directives/sticky.directive";
37
37
  import { StickyClassDirective } from "./directives/sticky-class.directive";
38
38
  import { UnorderedListItemDirective } from "./directives/unordered-list-item.directive";
39
39
  import { UnorderedListTemplateDirective } from "./directives/unordered-list-template.directive";
40
+ import { FilterPipe } from "./pipes/filter.pipe";
40
41
  import { FormatNumberPipe } from "./pipes/format-number.pipe";
41
42
  import { GlobalTemplatePipe } from "./pipes/global-template.pipe";
42
43
  import { ReducePipe } from "./pipes/reduce.pipe";
@@ -46,10 +47,10 @@ import { TranslatePipe } from "./pipes/translate.pipe";
46
47
  import { DynamicTableComponent } from "./components/dynamic-table/dynamic-table.component";
47
48
  import { PaginationMenuComponent } from "./components/pagination-menu/pagination-menu.component";
48
49
  import { UnorderedListComponent } from "./components/unordered-list/unordered-list.component";
49
- export declare const pipes: (typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
50
+ export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
50
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)[];
51
- export declare const components: (typeof DynamicTableComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent)[];
52
- export declare const providers: (typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof BaseHttpClient | typeof BaseHttpService | typeof AuthGuard | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof PromiseService | typeof StateService | typeof StorageService | typeof ConsoleToasterService | typeof TranslatedUrlSerializer | typeof UniversalService | typeof WasmService | typeof DeviceDetectorService | {
52
+ export declare const components: (typeof UnorderedListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent)[];
53
+ export declare const providers: (typeof UniversalService | typeof StateService | 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 | {
53
54
  provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
54
55
  useClass: typeof ResizeEventPlugin;
55
56
  multi: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "17.1.2",
3
+ "version": "17.1.4",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",