@nettyapps/ntybase 21.0.22 → 21.0.23
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
|
@@ -5,9 +5,9 @@ import { Observable, Subject } from 'rxjs';
|
|
|
5
5
|
import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent, IFilterParams, IDoesFilterPassParams } from 'ag-grid-community';
|
|
6
6
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
7
7
|
import { Router, ActivatedRoute, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanDeactivate } from '@angular/router';
|
|
8
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
9
8
|
import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
10
9
|
import { EnvironmentProxy } from '@nettyapps/ntycontract';
|
|
10
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
11
11
|
import { NgForm, FormGroup } from '@angular/forms';
|
|
12
12
|
import * as XLSX from 'xlsx';
|
|
13
13
|
import { ICellRendererAngularComp, IFilterAngularComp } from 'ag-grid-angular';
|
|
@@ -224,20 +224,6 @@ declare class CommonService {
|
|
|
224
224
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
declare class AlertService {
|
|
228
|
-
private snackBar;
|
|
229
|
-
private dialog;
|
|
230
|
-
private translate;
|
|
231
|
-
constructor(snackBar: MatSnackBar, dialog: MatDialog, translate: TranslateService);
|
|
232
|
-
showAlert(message: string, action?: string, duration?: number): void;
|
|
233
|
-
showWarning(message: string, action?: string, duration?: number): void;
|
|
234
|
-
showConfirm(message: string): Promise<boolean>;
|
|
235
|
-
showSuccess(message: string, duration?: number): void;
|
|
236
|
-
showError(error: any, duration?: number): void;
|
|
237
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
|
|
238
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
227
|
declare class NettySecurity {
|
|
242
228
|
coid: any;
|
|
243
229
|
userGUID: any;
|
|
@@ -261,7 +247,22 @@ declare class SysfunctionProxy {
|
|
|
261
247
|
static ɵprov: i0.ɵɵInjectableDeclaration<SysfunctionProxy>;
|
|
262
248
|
}
|
|
263
249
|
|
|
250
|
+
declare class AlertService {
|
|
251
|
+
private snackBar;
|
|
252
|
+
private dialog;
|
|
253
|
+
private translate;
|
|
254
|
+
constructor(snackBar: MatSnackBar, dialog: MatDialog, translate: TranslateService);
|
|
255
|
+
showAlert(message: string, action?: string, duration?: number): void;
|
|
256
|
+
showWarning(message: string, action?: string, duration?: number): void;
|
|
257
|
+
showConfirm(message: string): Promise<boolean>;
|
|
258
|
+
showSuccess(message: string, duration?: number): void;
|
|
259
|
+
showError(error: any, duration?: number): void;
|
|
260
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
|
|
261
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
264
|
declare abstract class NettyAppsBase implements OnDestroy {
|
|
265
|
+
protected alertService: AlertService;
|
|
265
266
|
/**
|
|
266
267
|
* Download the given base64Encoded data as file
|
|
267
268
|
*
|
|
@@ -340,7 +341,6 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
340
341
|
protected commonService: CommonService;
|
|
341
342
|
protected router: Router;
|
|
342
343
|
protected routerActive: ActivatedRoute;
|
|
343
|
-
protected alertService: AlertService;
|
|
344
344
|
protected dialog: MatDialog;
|
|
345
345
|
protected sysFunctionProxy: SysfunctionProxy;
|
|
346
346
|
protected environment: EnvironmentProxy;
|
|
@@ -422,7 +422,6 @@ declare abstract class NettyAgGridSaveBase<T> extends NettyAppsBase implements D
|
|
|
422
422
|
protected router: Router;
|
|
423
423
|
protected route: ActivatedRoute;
|
|
424
424
|
protected commonService: CommonService;
|
|
425
|
-
protected alertService: AlertService;
|
|
426
425
|
protected environment: EnvironmentProxy;
|
|
427
426
|
protected dialog: MatDialog;
|
|
428
427
|
viewMode: i0.WritableSignal<UserViewMode>;
|