@c10t/nice-component-library 0.0.3-beta → 0.0.4-beta

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c10t/nice-component-library",
3
- "version": "0.0.3-beta",
3
+ "version": "0.0.4-beta",
4
4
  "main": "lib/bundles/ncl-nice-component-library.umd.js",
5
5
  "module": "fesm2022/c10t-nice-component-library.mjs",
6
6
  "es2015": "lib/fesm2015/ncl-nice-component-library.js",
@@ -8,14 +8,26 @@ import { SelectModel } from '../models/components/select.model';
8
8
  import { FlatTreeModel } from '../models/components/flat-tree.model';
9
9
  import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
10
10
  import { CvaCustomDialogComponent } from '../components/cva-custom-dialog.component';
11
- import { CustomDialogDataConfigModel } from "../models/components/custom-dialog-data-config.model";
12
- import { Observable } from "rxjs";
11
+ import { CustomDialogDataConfigModel } from '../models/components/custom-dialog-data-config.model';
12
+ import { Observable } from 'rxjs';
13
13
  import * as i0 from "@angular/core";
14
14
  export declare class UtilsService {
15
15
  private dialog;
16
16
  private transService;
17
17
  private toastr;
18
18
  constructor(dialog: MatDialog, transService: TranslateService, toastr: ToastrService);
19
+ static getEnumValue<T>(o: T, value: string): {
20
+ [P in keyof T]: T[P];
21
+ }[keyof T];
22
+ static calcPosition(e: any, results: MatTableDataSource<BaseModel>, paging: TablePagingRequestModel): number;
23
+ static reduceEntityAttributeForFormControl(formGroup: FormGroup, e: any, dateRangeConfigList?: {
24
+ dateRangeControlName: string;
25
+ fromDateControlName: string;
26
+ toDateControlName: string;
27
+ }[]): any;
28
+ static cloneAbstractControl<T extends AbstractControl>(control: T): T | undefined;
29
+ static isNgControl(control: any): control is NgControl;
30
+ static convertTreeDataToAutocompleteData(treeFields: FlatTreeModel, symbol: string, hasChildFn: (_: number, node: any) => boolean, nodes: BaseModel[], prefixDisplayValue: string | null): SelectModel[];
19
31
  strFormat(str: string, replacement?: string[]): any;
20
32
  onSuccessFunc: (onSuccessMessage?: string) => void;
21
33
  showWarningToarst(msgKey: string, replacement?: string[]): void;
@@ -30,18 +42,6 @@ export declare class UtilsService {
30
42
  [P in keyof T]: T[P];
31
43
  }[keyof T];
32
44
  toBlobJon(obj: any): Blob;
33
- static getEnumValue<T>(o: T, value: string): {
34
- [P in keyof T]: T[P];
35
- }[keyof T];
36
- static calcPosition(e: any, results: MatTableDataSource<BaseModel>, paging: TablePagingRequestModel): number;
37
- static reduceEntityAttributeForFormControl(formGroup: FormGroup, e: any, dateRangeConfigList?: {
38
- dateRangeControlName: string;
39
- fromDateControlName: string;
40
- toDateControlName: string;
41
- }[]): any;
42
- static cloneAbstractControl<T extends AbstractControl>(control: T): T | undefined;
43
- static isNgControl(control: any): control is NgControl;
44
- static convertTreeDataToAutocompleteData(treeFields: FlatTreeModel, symbol: string, hasChildFn: (_: number, node: any) => boolean, nodes: BaseModel[], prefixDisplayValue: string | null): SelectModel[];
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
46
46
  static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
47
47
  }