@nettyapps/ntybase 21.0.21 → 21.0.22
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": "@nettyapps/ntybase",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.22",
|
|
4
4
|
"description": "This library provides foundational services and components for NettyApps Angular applications.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"ag-grid-angular": ">= 35.0.0",
|
|
15
15
|
"ag-grid-enterprise": ">= 35.0.0",
|
|
16
16
|
"@nettyapps/ntycontract": ">= 21.0.3",
|
|
17
|
-
"@nettyapps/ntyui": ">= 21.0.
|
|
17
|
+
"@nettyapps/ntyui": ">= 21.0.9"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.3.0"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, DoCheck, SimpleChanges,
|
|
2
|
+
import { OnDestroy, OnInit, DoCheck, SimpleChanges, InjectionToken } from '@angular/core';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent, IFilterParams, IDoesFilterPassParams } from 'ag-grid-community';
|
|
@@ -261,9 +261,41 @@ declare class SysfunctionProxy {
|
|
|
261
261
|
static ɵprov: i0.ɵɵInjectableDeclaration<SysfunctionProxy>;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
+
declare abstract class NettyAppsBase implements OnDestroy {
|
|
265
|
+
/**
|
|
266
|
+
* Download the given base64Encoded data as file
|
|
267
|
+
*
|
|
268
|
+
* @param base64Data: base64 encoded data
|
|
269
|
+
* @param fileName: filename to download
|
|
270
|
+
*/
|
|
271
|
+
protected downloadFile(base64Data: string | null, fileName: string | null): void;
|
|
272
|
+
/** Download the given base64Endoced data as text file
|
|
273
|
+
*
|
|
274
|
+
* @param base64EncodedFileData
|
|
275
|
+
* @param fileName
|
|
276
|
+
*/
|
|
277
|
+
protected downloadTextFile(base64EncodedFileData: string | null, fileName: string | null): void;
|
|
278
|
+
/** Save the given text as a text file
|
|
279
|
+
*
|
|
280
|
+
* @param fileData
|
|
281
|
+
* @param fileName
|
|
282
|
+
*/
|
|
283
|
+
protected downloadTextFileNotEncoded(fileData: string | null, fileName: string | null): void;
|
|
284
|
+
/**
|
|
285
|
+
* Download file where the data is provided as blob
|
|
286
|
+
* @param data - Array Buffer data
|
|
287
|
+
* @param type - type of the document.
|
|
288
|
+
*/
|
|
289
|
+
protected downloadBlobFile(data: any, type: string, fileName: string): void;
|
|
290
|
+
protected onDestroy$: Subject<void>;
|
|
291
|
+
ngOnDestroy(): void;
|
|
292
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NettyAppsBase, never>;
|
|
293
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NettyAppsBase, "ntybase-netty-apps-base", never, {}, {}, never, never, true, never>;
|
|
294
|
+
}
|
|
295
|
+
|
|
264
296
|
declare abstract class NettyAgGridBase<T extends {
|
|
265
297
|
[key: string]: any;
|
|
266
|
-
}> implements OnInit {
|
|
298
|
+
}> extends NettyAppsBase implements OnInit {
|
|
267
299
|
readOnly: i0.InputSignal<boolean>;
|
|
268
300
|
popupFilterValid: i0.InputSignal<boolean>;
|
|
269
301
|
popupValid: i0.InputSignal<boolean>;
|
|
@@ -386,7 +418,7 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
386
418
|
}
|
|
387
419
|
|
|
388
420
|
type UserViewMode = 'fullscreen' | 'sidenav' | 'dialog';
|
|
389
|
-
declare abstract class NettyAgGridSaveBase<T> implements DoCheck {
|
|
421
|
+
declare abstract class NettyAgGridSaveBase<T> extends NettyAppsBase implements DoCheck {
|
|
390
422
|
protected router: Router;
|
|
391
423
|
protected route: ActivatedRoute;
|
|
392
424
|
protected commonService: CommonService;
|
|
@@ -899,5 +931,5 @@ declare class NettyMenuService {
|
|
|
899
931
|
static ɵprov: i0.ɵɵInjectableDeclaration<NettyMenuService>;
|
|
900
932
|
}
|
|
901
933
|
|
|
902
|
-
export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridSaveBase, NettyAgGridService, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService };
|
|
934
|
+
export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService };
|
|
903
935
|
export type { CanComponentDeactivate, Credentials, EnvironmentConfig, LoginContext, MFACodeContext, UserViewMode };
|