@nettyapps/ntybase 21.1.15 → 21.1.16
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
|
@@ -7,7 +7,6 @@ import { Subject, Observable } from 'rxjs';
|
|
|
7
7
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
8
8
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
9
9
|
import { TranslateService } from '@ngx-translate/core';
|
|
10
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
11
10
|
import { Title } from '@angular/platform-browser';
|
|
12
11
|
import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
|
|
13
12
|
import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent } from 'ag-grid-enterprise';
|
|
@@ -37,7 +36,7 @@ declare class AlertService {
|
|
|
37
36
|
showWarning(message: string, action?: string, duration?: number): void;
|
|
38
37
|
showConfirm(message: string): Promise<boolean>;
|
|
39
38
|
showSuccess(message: string, duration?: number): void;
|
|
40
|
-
showError(error: any, customComponent?:
|
|
39
|
+
showError(error: any, customComponent?: any, duration?: number, width?: string, height?: string): Promise<void>;
|
|
41
40
|
private getErrorMessage;
|
|
42
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
|
|
43
42
|
static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
|
|
@@ -732,6 +731,13 @@ declare class ConfirmDialog {
|
|
|
732
731
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialog, "ntybase-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
733
732
|
}
|
|
734
733
|
|
|
734
|
+
declare class ErrorAlert {
|
|
735
|
+
dialogRef: MatDialogRef<any, any>;
|
|
736
|
+
data: any;
|
|
737
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorAlert, never>;
|
|
738
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorAlert, "ntybase-error-alert", never, {}, {}, never, never, true, never>;
|
|
739
|
+
}
|
|
740
|
+
|
|
735
741
|
declare class AuthenticationGuard implements CanActivate {
|
|
736
742
|
private router;
|
|
737
743
|
private credentialsService;
|
|
@@ -1126,5 +1132,5 @@ declare abstract class NettyAppsFilterBase<Trecord, Tfilter> extends NettyAppsBa
|
|
|
1126
1132
|
static ɵcmp: i0.ɵɵComponentDeclaration<NettyAppsFilterBase<any, any>, "ntybase-netty-apps-base", never, { "isFilterExpanded": { "alias": "isFilterExpanded"; "required": false; "isSignal": true; }; "refresh": { "alias": "refresh"; "required": false; "isSignal": true; }; "fileName": { "alias": "fileName"; "required": false; "isSignal": true; }; }, { "isFilterExpanded": "isFilterExpandedChange"; "filteredRecords": "filteredRecords"; "filterSelectionChanged": "filterSelectionChanged"; }, never, never, true, never>;
|
|
1127
1133
|
}
|
|
1128
1134
|
|
|
1129
|
-
export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Guid, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridListBase, NettyAgGridListFilterBase, NettyAgGridLogBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyAppsFilterBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyLoadingComponent, NtyLoadingInterceptor, NtyLoadingService, Ntybase, NtybaseModule, PageTitle, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor };
|
|
1135
|
+
export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ErrorAlert, ExcelImportBase, ForgotPassword, Guid, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridListBase, NettyAgGridListFilterBase, NettyAgGridLogBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyAppsFilterBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyLoadingComponent, NtyLoadingInterceptor, NtyLoadingService, Ntybase, NtybaseModule, PageTitle, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor };
|
|
1130
1136
|
export type { AgGridSelectionModeType, CanComponentDeactivate, Credentials, EnvironmentConfig, LoginContext, MFACodeContext, NettyEntityInterface, NettyEntityLogInterface, UserViewMode };
|