@c10t/nice-component-library 0.0.1-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/components/base/base-add-edit.component.d.ts +28 -0
- package/components/base/base-search.component.d.ts +62 -0
- package/components/base/base-table.component.d.ts +16 -0
- package/components/cva-breadcrumb.component.d.ts +14 -0
- package/components/cva-counter-input.component.d.ts +42 -0
- package/components/cva-custom-dialog.component.d.ts +30 -0
- package/components/cva-input.component.d.ts +60 -0
- package/components/cva-loader.component.d.ts +9 -0
- package/components/cva-multi-select-autocomplete.d.ts +64 -0
- package/components/cva-quill-editor.component.d.ts +66 -0
- package/components/cva-radiobutton.component.d.ts +32 -0
- package/components/cva-tree.component.d.ts +38 -0
- package/components/datepicker/cva-date-picker.component.d.ts +43 -0
- package/components/datepicker/cva-range-date-picker.component.d.ts +64 -0
- package/components/table/cva-header-expand-button.component.d.ts +22 -0
- package/components/table/cva-smart-table.component.d.ts +72 -0
- package/components/table/cva-table.component.d.ts +62 -0
- package/components/tree/cva-flat-tree-node-left.component.d.ts +22 -0
- package/components/tree/cva-flat-tree-node-right.component.d.ts +18 -0
- package/components/tree/cva-flat-tree.component.d.ts +96 -0
- package/components/upload/cva-dialog-import-file.component.d.ts +30 -0
- package/components/upload/cva-multi-upload-img.component.d.ts +24 -0
- package/components/upload/cva-multi-upload.component.d.ts +30 -0
- package/components/upload/cva-upload-file.component.d.ts +70 -0
- package/directives/drag-drop.directive.d.ts +12 -0
- package/directives/format-datepicker.d.ts +8 -0
- package/directives/format-input.directive.d.ts +29 -0
- package/directives/multi-language-table-paginator.d.ts +12 -0
- package/directives/pattern.directive.d.ts +16 -0
- package/directives/style-paginator.directive.d.ts +31 -0
- package/enums/action-type.enum.d.ts +5 -0
- package/enums/align.enum.d.ts +5 -0
- package/enums/column-type.enum.d.ts +14 -0
- package/enums/dialog-type.enum.d.ts +5 -0
- package/enums/file-type.enum.d.ts +13 -0
- package/enums/icon-type.enum.d.ts +4 -0
- package/fesm2022/c10t-nice-component-library.mjs +9024 -0
- package/fesm2022/c10t-nice-component-library.mjs.map +1 -0
- package/index.d.ts +75 -0
- package/models/base.model.d.ts +5 -0
- package/models/button-click.event.d.ts +6 -0
- package/models/components/bread-crumb.model.d.ts +5 -0
- package/models/components/button.model.d.ts +16 -0
- package/models/components/checkbox.model.d.ts +7 -0
- package/models/components/column.model.d.ts +37 -0
- package/models/components/custom-dialog-data-config.model.d.ts +16 -0
- package/models/components/dialog-import-file-config.model.d.ts +9 -0
- package/models/components/flat-tree-config.model.d.ts +5 -0
- package/models/components/flat-tree-node.model.d.ts +16 -0
- package/models/components/flat-tree.model.d.ts +7 -0
- package/models/components/range-date-picker.model.d.ts +7 -0
- package/models/components/select.model.d.ts +7 -0
- package/models/components/table-footer.model.d.ts +10 -0
- package/models/components/table-paging-request.model.d.ts +6 -0
- package/models/components/table-paging-response.model.d.ts +6 -0
- package/models/components/upload.model.d.ts +11 -0
- package/models/menu.model.d.ts +10 -0
- package/models/navigator.model.d.ts +10 -0
- package/models/nice-component-library.config.d.ts +13 -0
- package/models/oauth/authority.d.ts +3 -0
- package/models/oauth/oAuth2AuthenticationDto.d.ts +7 -0
- package/models/oauth/principal.d.ts +10 -0
- package/models/oauth/user.authentication.d.ts +4 -0
- package/models/permission.model.d.ts +7 -0
- package/models/role.model.d.ts +12 -0
- package/models/ui.state.d.ts +5 -0
- package/modules/angular-material.module.d.ts +45 -0
- package/modules/nice-component-library.module.d.ts +46 -0
- package/package.json +59 -0
- package/pipes/secure.pipe.d.ts +13 -0
- package/services/MultiTranslateHttpLoader.d.ts +13 -0
- package/services/api.service.d.ts +42 -0
- package/services/authorities.resolver.service.d.ts +18 -0
- package/services/authorities.service.d.ts +12 -0
- package/services/date-util.service.d.ts +23 -0
- package/services/flat.tree.service.d.ts +7 -0
- package/services/form-state.service.d.ts +9 -0
- package/services/jsog.http.interceptor.d.ts +11 -0
- package/services/loader.interceptor.d.ts +13 -0
- package/services/loader.service.d.ts +7 -0
- package/services/ns-validator.service.d.ts +48 -0
- package/services/singleton.translate.service.d.ts +8 -0
- package/services/table.service.d.ts +24 -0
- package/services/utils.service.d.ts +47 -0
- package/src/styles/base.theme.scss +3112 -0
- package/src/styles/components/cva-breadcrumb.scss +38 -0
- package/src/styles/components/cva-counter-input.scss +45 -0
- package/src/styles/components/cva-custom-dialog.scss +7 -0
- package/src/styles/components/cva-date-picker.scss +16 -0
- package/src/styles/components/cva-date-range-picker.scss +22 -0
- package/src/styles/components/cva-flat-tree.scss +171 -0
- package/src/styles/components/cva-input.scss +120 -0
- package/src/styles/components/cva-loader.scss +36 -0
- package/src/styles/components/cva-multi-select-autocomplete.scss +128 -0
- package/src/styles/components/cva-multi-upload.scss +145 -0
- package/src/styles/components/cva-radio-button.scss +58 -0
- package/src/styles/components/cva-smart-table.scss +129 -0
- package/src/styles/components/cva-table.scss +98 -0
- package/src/styles/components/cva-tree.scss +76 -0
- package/src/styles/fonts/Comfortaa-Medium.ttf +0 -0
- package/src/styles/fonts/Exo-Regular.ttf +0 -0
- package/src/styles/fonts/Mali-Medium.ttf +0 -0
- package/src/styles/fonts/VarelaRound-Regular.ttf +0 -0
- package/src/styles/fonts/fa-brands-400.eot +0 -0
- package/src/styles/fonts/fa-brands-400.svg +3570 -0
- package/src/styles/fonts/fa-brands-400.ttf +0 -0
- package/src/styles/fonts/fa-brands-400.woff +0 -0
- package/src/styles/fonts/fa-brands-400.woff2 +0 -0
- package/src/styles/fonts/fa-duotone-900.eot +0 -0
- package/src/styles/fonts/fa-duotone-900.svg +15055 -0
- package/src/styles/fonts/fa-duotone-900.ttf +0 -0
- package/src/styles/fonts/fa-duotone-900.woff +0 -0
- package/src/styles/fonts/fa-duotone-900.woff2 +0 -0
- package/src/styles/fonts/fa-light-300.eot +0 -0
- package/src/styles/fonts/fa-light-300.svg +12330 -0
- package/src/styles/fonts/fa-light-300.ttf +0 -0
- package/src/styles/fonts/fa-light-300.woff +0 -0
- package/src/styles/fonts/fa-light-300.woff2 +0 -0
- package/src/styles/fonts/fa-regular-400.eot +0 -0
- package/src/styles/fonts/fa-regular-400.svg +11256 -0
- package/src/styles/fonts/fa-regular-400.ttf +0 -0
- package/src/styles/fonts/fa-regular-400.woff +0 -0
- package/src/styles/fonts/fa-regular-400.woff2 +0 -0
- package/src/styles/fonts/fa-solid-900.eot +0 -0
- package/src/styles/fonts/fa-solid-900.svg +9588 -0
- package/src/styles/fonts/fa-solid-900.ttf +0 -0
- package/src/styles/fonts/fa-solid-900.woff +0 -0
- package/src/styles/fonts/fa-solid-900.woff2 +0 -0
- package/src/styles/fonts/fontawesome-webfont.eot +0 -0
- package/src/styles/fonts/fontawesome-webfont.svg +2671 -0
- package/src/styles/fonts/fontawesome-webfont.ttf +0 -0
- package/src/styles/fonts/fontawesome-webfont.woff +0 -0
- package/src/styles/fonts/fontawesome-webfont.woff2 +0 -0
- package/src/styles/fonts/glyphter.eot +0 -0
- package/src/styles/fonts/glyphter.svg +1 -0
- package/src/styles/fonts/glyphter.ttf +0 -0
- package/src/styles/fonts/glyphter.woff +0 -0
- package/src/styles/themes/athena.theme.scss +1684 -0
- package/src/styles/themes/button-default.style.scss +961 -0
- package/src/styles/themes/default.theme.scss +939 -0
- package/src/styles/themes/fonts-awesome.scss +12756 -0
- package/src/styles/themes/glyphter.scss +27 -0
- package/src/styles/themes/hera.theme.scss +1600 -0
- package/src/styles/themes/poseidon.theme.scss +1639 -0
- package/src/styles/themes/zeus.theme.scss +1655 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OAuth2AuthenticationDto } from '../models/oauth/oAuth2AuthenticationDto';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AuthoritiesService {
|
|
5
|
+
me: OAuth2AuthenticationDto | null;
|
|
6
|
+
stateMe: BehaviorSubject<OAuth2AuthenticationDto>;
|
|
7
|
+
me$: Observable<OAuth2AuthenticationDto>;
|
|
8
|
+
hasAuthorities(authorities: string[]): boolean;
|
|
9
|
+
hasAuthority(authority: string): boolean;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthoritiesService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthoritiesService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { DatePipe } from '@angular/common';
|
|
3
|
+
import { NiceComponentLibraryConfig } from '../models/nice-component-library.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DateUtilService {
|
|
6
|
+
private datePipe;
|
|
7
|
+
private injector;
|
|
8
|
+
config: NiceComponentLibraryConfig;
|
|
9
|
+
DIS_DATE_TIME_FORMAT_DEFAULT: string;
|
|
10
|
+
constructor(datePipe: DatePipe, injector: Injector);
|
|
11
|
+
getDateNow(): Date;
|
|
12
|
+
addDays(date: Date, days: number): Date;
|
|
13
|
+
convertToStartOfDate(dateString: string): Date;
|
|
14
|
+
convertDateToStringCurrentGMT(date: Date): string | null;
|
|
15
|
+
convertDateToStringGMT0(date: Date | string): string | null;
|
|
16
|
+
convertDateToDisplayGMT0(date: string): string | null;
|
|
17
|
+
convertDateToDisplayServerTime(date: string): string | null;
|
|
18
|
+
convertDateTimeToDisplay(date: string): string | null;
|
|
19
|
+
convertToDateIgnoreTimeZone(dateStr: string | undefined): Date | null;
|
|
20
|
+
convertStringToDate(date: string): Date;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateUtilService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateUtilService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FlatTreeConfigModel } from "../models/components/flat-tree-config.model";
|
|
2
|
+
import { FlatTreeNodeModel } from "../models/components/flat-tree-node.model";
|
|
3
|
+
export declare class FlatTreeService {
|
|
4
|
+
static hasChild(_nodeData: FlatTreeNodeModel): boolean;
|
|
5
|
+
static convertTreeToFlatTree(inputData: FlatTreeNodeModel[], config: FlatTreeConfigModel): FlatTreeNodeModel[];
|
|
6
|
+
private static setRequiredFlatNoteProperty;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormStateService {
|
|
4
|
+
private subject;
|
|
5
|
+
uiState$: import("rxjs").Observable<Map<string, FormGroup<any>>>;
|
|
6
|
+
setMapState(mapState: Map<string, FormGroup>): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormStateService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormStateService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { JsogService } from 'jsog-typescript';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class JsogHttpInterceptor implements HttpInterceptor {
|
|
6
|
+
private jSog;
|
|
7
|
+
constructor(jSog: JsogService);
|
|
8
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JsogHttpInterceptor, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JsogHttpInterceptor>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { LoaderService } from './loader.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LoaderInterceptor implements HttpInterceptor {
|
|
6
|
+
loaderService: LoaderService;
|
|
7
|
+
private requests;
|
|
8
|
+
constructor(loaderService: LoaderService);
|
|
9
|
+
removeRequest(req: HttpRequest<any>): void;
|
|
10
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderInterceptor, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderInterceptor>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LoaderService {
|
|
4
|
+
isLoading: BehaviorSubject<boolean>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
|
+
import { ColumnModel } from '../models/components/column.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NsValidator {
|
|
5
|
+
static invalid(control: AbstractControl | undefined): boolean;
|
|
6
|
+
static getErrorMessage(control: AbstractControl | undefined, errorMessages: Map<string, (e?: any) => string>): string;
|
|
7
|
+
static getErrorMessageV1(control?: AbstractControl, errorMessages?: Map<string, (e?: any) => string>): any;
|
|
8
|
+
static generateNsMultiSelectValidators(conditions: {
|
|
9
|
+
required?: boolean | (() => boolean);
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
}): ValidatorFn[];
|
|
12
|
+
static generateNsInputValidators(conditions: {
|
|
13
|
+
required: boolean | (() => boolean);
|
|
14
|
+
minLength: number | undefined;
|
|
15
|
+
maxLength: number | undefined;
|
|
16
|
+
pattern: string | undefined;
|
|
17
|
+
}): ValidatorFn[];
|
|
18
|
+
static getMinMaxDynamic(minOrMax: (() => number) | number | null): number;
|
|
19
|
+
static generateNsCounterInputValidators(conditions: {
|
|
20
|
+
required?: boolean | (() => boolean);
|
|
21
|
+
min: (() => number) | number | null;
|
|
22
|
+
max: (() => number) | number | null;
|
|
23
|
+
isDecimal?: boolean | null;
|
|
24
|
+
}): ValidatorFn[];
|
|
25
|
+
static generateNsDatePickerValidators(conditions: {
|
|
26
|
+
required?: boolean | (() => boolean);
|
|
27
|
+
min: Date | null;
|
|
28
|
+
max: Date | null;
|
|
29
|
+
}): ValidatorFn[];
|
|
30
|
+
static getRequiredDynamic(isRequired?: boolean | (() => boolean)): boolean;
|
|
31
|
+
static generateNsDateRangePickerValidators(conditions: {
|
|
32
|
+
requiredFromDate: boolean | (() => boolean);
|
|
33
|
+
requiredToDate: boolean | (() => boolean);
|
|
34
|
+
}): ValidatorFn[];
|
|
35
|
+
static customMinDateValidatorControl(value: string | any, minDate: Date | null): ValidationErrors | null;
|
|
36
|
+
static customMaxDateValidatorControl(value: string | any, maxDate: Date | null): ValidationErrors | null;
|
|
37
|
+
static getRequired(column: ColumnModel): boolean;
|
|
38
|
+
static getIsDecimal(column: ColumnModel): boolean;
|
|
39
|
+
static customMinValueNsCounterInput(value: number | any, min: number | null): ValidationErrors | null;
|
|
40
|
+
static customMaxValueNsCounterInput(value: number | any, max: number | null): ValidationErrors | null;
|
|
41
|
+
static generateNsSmartTableValidators(conditions: {
|
|
42
|
+
columns: ColumnModel[];
|
|
43
|
+
minRow: number;
|
|
44
|
+
maxRow: number;
|
|
45
|
+
}): ValidatorFn;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NsValidator, never>;
|
|
47
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NsValidator>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SingletonTranslateService {
|
|
4
|
+
currentLanguage: BehaviorSubject<string>;
|
|
5
|
+
currentLanguage$: import("rxjs").Observable<string>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SingletonTranslateService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SingletonTranslateService>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ButtonModel } from "../models/components/button.model";
|
|
2
|
+
import { ColumnModel } from "../models/components/column.model";
|
|
3
|
+
import { ColumnTypeEnum } from "../enums/column-type.enum";
|
|
4
|
+
import { AlignEnum } from "../enums/align.enum";
|
|
5
|
+
import { TableFooterModel } from "../models/components/table-footer.model";
|
|
6
|
+
import { IconTypeEnum } from "../enums/icon-type.enum";
|
|
7
|
+
export declare class TableService {
|
|
8
|
+
static DEFAULT_NO_IMAGE_AVAILABLE: string;
|
|
9
|
+
static displayHeaderName(column: ColumnModel, moduleName: string): string;
|
|
10
|
+
static onDisplayButtonHeaderCell(buttons: ButtonModel[], button: ButtonModel, header: any, index: number): boolean;
|
|
11
|
+
static getColumnType(col: ColumnModel, row: any): ColumnTypeEnum;
|
|
12
|
+
static getHeaderButtonColspan(buttons: ButtonModel[], data: any[]): number;
|
|
13
|
+
static onDisplayButtonCell(button: ButtonModel, cell: any): boolean;
|
|
14
|
+
static onDisplayCell(column: ColumnModel, cell: any): boolean;
|
|
15
|
+
static alignCellContent(column: ColumnModel): AlignEnum;
|
|
16
|
+
static getColspan(footer: TableFooterModel, data: any[]): number;
|
|
17
|
+
static getColumnClassName(col: ColumnModel | TableFooterModel, data?: any): string;
|
|
18
|
+
static getColumnHeaderClassName(col: ColumnModel): string;
|
|
19
|
+
static getIconType(button: ButtonModel): IconTypeEnum;
|
|
20
|
+
static onErrorImgEvent(img: HTMLImageElement, noImageConfigBase64?: string): void;
|
|
21
|
+
static isButtonHeader(button: ButtonModel): boolean;
|
|
22
|
+
static getButtonHeader(button: ButtonModel): ButtonModel | null;
|
|
23
|
+
static getButtonHeaderString(button: ButtonModel): string | null;
|
|
24
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ToastrService } from 'ngx-toastr';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
+
import { TablePagingRequestModel } from '../models/components/table-paging-request.model';
|
|
5
|
+
import { BaseModel } from '../models/base.model';
|
|
6
|
+
import { AbstractControl, FormGroup, NgControl } from '@angular/forms';
|
|
7
|
+
import { SelectModel } from '../models/components/select.model';
|
|
8
|
+
import { FlatTreeModel } from '../models/components/flat-tree.model';
|
|
9
|
+
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
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";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class UtilsService {
|
|
15
|
+
private dialog;
|
|
16
|
+
private transService;
|
|
17
|
+
private toastr;
|
|
18
|
+
constructor(dialog: MatDialog, transService: TranslateService, toastr: ToastrService);
|
|
19
|
+
strFormat(str: string, replacement?: string[]): any;
|
|
20
|
+
onSuccessFunc: (onSuccessMessage?: string) => void;
|
|
21
|
+
showWarningToarst(msgKey: string, replacement?: string[]): void;
|
|
22
|
+
showErrorToarst(msgKey: string, replacement?: string[]): void;
|
|
23
|
+
showError: (err: string) => void;
|
|
24
|
+
execute3(apiCall: any, onSuccessFunc: (this: void, data: any, onSuccessMessage?: string) => void, onSuccessMessage: string, onErrorFunc?: (err: any) => void): void;
|
|
25
|
+
execute(apiCall: any, onSuccessFunc: (this: void, d: any, onSuccessMessage?: string) => void, onSuccessMessage: string, confirmMsgTitle: string, confirmMsgTitleParamsFormat?: string[], confirmMsgDetail?: string, confirmMsgDetailParamsFormat?: string[], confirmDialogConfig?: MatDialogConfig<CustomDialogDataConfigModel> | undefined, confirmDialogButtonOk?: string, confirmDialogButtonCancel?: string): void;
|
|
26
|
+
executeWithErrorHandle(method: () => Observable<any>, onSuccessFunc: (this: void, d: any, onSuccessMessage?: string) => void, onSuccessMessage: string, confirmMsgTitle: string, confirmMsgParamsFormat: string[], confirmMsgDetail: string, confirmMsgDetailParamsFormat: string[], onErrorFunc: ((err: any) => void) | undefined, dialogConfig?: MatDialogConfig<CustomDialogDataConfigModel>, confirmDialogButtonOk?: string, confirmDialogButtonCancel?: string): void;
|
|
27
|
+
showConfirmDialog(strTitle: string, replacementTitle: string[], strDetailMsg?: string, replacementDetail?: string[], confirmDialogConfig?: MatDialogConfig<CustomDialogDataConfigModel> | undefined, strOkText?: string, strCancelTex?: string, strCustomClass?: string): import("@angular/material/dialog").MatDialogRef<CvaCustomDialogComponent, any>;
|
|
28
|
+
showConfirmInputDialog(str1: string, replacement: string[], confirmInputDialogConfig?: MatDialogConfig<CustomDialogDataConfigModel> | undefined, strOkText?: string, strCancelTex?: string, strCustomClass?: string): import("@angular/material/dialog").MatDialogRef<CvaCustomDialogComponent, any>;
|
|
29
|
+
getEnumValueTranslated<T>(o: T, value: string): {
|
|
30
|
+
[P in keyof T]: T[P];
|
|
31
|
+
}[keyof T];
|
|
32
|
+
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
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
47
|
+
}
|