@nettyapps/ntybase 21.1.3 → 21.1.5
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/fesm2022/{nettyapps-ntybase-en-USbase-D7pL5P5F.mjs → nettyapps-ntybase-en-USbase-DV4K7MNJ.mjs} +4 -1
- package/fesm2022/{nettyapps-ntybase-en-USbase-D7pL5P5F.mjs.map → nettyapps-ntybase-en-USbase-DV4K7MNJ.mjs.map} +1 -1
- package/fesm2022/{nettyapps-ntybase-tr-TRbase-qP6vLxd4.mjs → nettyapps-ntybase-tr-TRbase-Dvw5DW_f.mjs} +4 -1
- package/fesm2022/{nettyapps-ntybase-tr-TRbase-qP6vLxd4.mjs.map → nettyapps-ntybase-tr-TRbase-Dvw5DW_f.mjs.map} +1 -1
- package/fesm2022/nettyapps-ntybase.mjs +57 -24
- package/fesm2022/nettyapps-ntybase.mjs.map +1 -1
- package/package.json +1 -1
- package/translations/en-USbase.json +3 -0
- package/translations/tr-TRbase.json +3 -0
- package/types/nettyapps-ntybase.d.ts +16 -2
package/package.json
CHANGED
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
"@btnCancel": "Cancel",
|
|
5
5
|
"@btnOK": "OK",
|
|
6
6
|
"@btnSave": "Save",
|
|
7
|
+
"@calculate": "Calculate",
|
|
7
8
|
"@changeCompany": "Change Company",
|
|
8
9
|
"@choose_Color": "Choose Color",
|
|
9
10
|
"@choose_Custom_Color": "Please choose custom color",
|
|
10
11
|
"@close": "Close",
|
|
11
12
|
"@color_Palette": "Color Palette",
|
|
12
13
|
"@confirmation": "Confirmation",
|
|
14
|
+
"@confirmCalculation": "Are you sure you want to start calculation?",
|
|
13
15
|
"@confirmDeleteSelectedRecords": "Are you sure you want to delete the selected records?",
|
|
14
16
|
"@connectionError": "Connection problem. Please check your network.",
|
|
15
17
|
"@copiedToClipboard": "Copied",
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
"@standard_Colors": "Standard Colors",
|
|
69
71
|
"@statusActive": "Active",
|
|
70
72
|
"@statusInactive": "Inactive",
|
|
73
|
+
"@success": "Success",
|
|
71
74
|
"@tokenCount": "Token valid for",
|
|
72
75
|
"@unsavedChangesConfirm": "You have unsaved changes. Are you sure you want to leave?",
|
|
73
76
|
"@updateFailed": "Update failed",
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
"@btnCancel": "İptal",
|
|
5
5
|
"@btnOK": "Tamam",
|
|
6
6
|
"@btnSave": "Kaydet",
|
|
7
|
+
"@calculate": "Hesapla",
|
|
7
8
|
"@changeCompany": "Şirket Değiştir",
|
|
8
9
|
"@choose_Color": "Renk Seçin",
|
|
9
10
|
"@choose_Custom_Color": "Lütfen özel renk seçin",
|
|
10
11
|
"@close": "Kapat",
|
|
11
12
|
"@color_Palette": "Renk Paleti",
|
|
12
13
|
"@confirmation": "Onay",
|
|
14
|
+
"@confirmCalculation": "Hesaplamayı başlatmak istediğinize emin misiniz?",
|
|
13
15
|
"@confirmDeleteSelectedRecords": "Seçili kayıtları silmek istediğinize emin misiniz?",
|
|
14
16
|
"@connectionError": "Bağlantı hatası. Lütfen internet bağlantınızı kontrol edin.",
|
|
15
17
|
"@copiedToClipboard": "Kopyalandı",
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
"@standard_Colors": "Standart Renkler",
|
|
69
71
|
"@statusActive": "Aktif",
|
|
70
72
|
"@statusInactive": "Pasif",
|
|
73
|
+
"@success": "Başarılı",
|
|
71
74
|
"@tokenCount": "Token geçerlilik süresi",
|
|
72
75
|
"@unsavedChangesConfirm": "Kaydedilmemiş değişiklikler var. Ayrılmak istediğinize emin misiniz?",
|
|
73
76
|
"@updateFailed": "Güncelleme başarısız oldu",
|
|
@@ -7,9 +7,11 @@ 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';
|
|
10
11
|
import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
|
|
11
12
|
import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent } from 'ag-grid-enterprise';
|
|
12
13
|
import { Router, ActivatedRoute, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanDeactivate } from '@angular/router';
|
|
14
|
+
import { Title } from '@angular/platform-browser';
|
|
13
15
|
import { NgForm, FormGroup } from '@angular/forms';
|
|
14
16
|
import * as XLSX from 'xlsx';
|
|
15
17
|
import { ICellRendererAngularComp, IFilterAngularComp } from 'ag-grid-angular';
|
|
@@ -35,7 +37,8 @@ declare class AlertService {
|
|
|
35
37
|
showWarning(message: string, action?: string, duration?: number): void;
|
|
36
38
|
showConfirm(message: string): Promise<boolean>;
|
|
37
39
|
showSuccess(message: string, duration?: number): void;
|
|
38
|
-
showError(error: any, duration?: number): Promise<void>;
|
|
40
|
+
showError(error: any, customComponent?: ComponentType<any>, duration?: number, width?: string, height?: string): Promise<void>;
|
|
41
|
+
private getErrorMessage;
|
|
39
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
|
|
40
43
|
static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
|
|
41
44
|
}
|
|
@@ -323,6 +326,7 @@ declare abstract class NettyAgGridBase<T extends NettyEntityBaseInterface<T>> ex
|
|
|
323
326
|
protected searchValueName: i0.WritableSignal<string>;
|
|
324
327
|
protected preferenceType: i0.WritableSignal<string>;
|
|
325
328
|
searchValue: i0.WritableSignal<string>;
|
|
329
|
+
pageName: i0.WritableSignal<string>;
|
|
326
330
|
protected parameterGUID: any;
|
|
327
331
|
protected parameterType: any;
|
|
328
332
|
protected nettyAgGridService: NettyAgGridService;
|
|
@@ -418,10 +422,19 @@ interface NettyEntityInterface<T> extends NettyEntityBaseInterface<T> {
|
|
|
418
422
|
compare(other: T): T;
|
|
419
423
|
}
|
|
420
424
|
|
|
425
|
+
declare class PageTitle {
|
|
426
|
+
title: i0.WritableSignal<string>;
|
|
427
|
+
setTitle(newTitle: string): void;
|
|
428
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageTitle, never>;
|
|
429
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PageTitle>;
|
|
430
|
+
}
|
|
431
|
+
|
|
421
432
|
declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> extends NettyAgGridBase<T> implements OnInit {
|
|
422
433
|
protected router: Router;
|
|
423
434
|
protected routerActive: ActivatedRoute;
|
|
424
435
|
protected dialog: MatDialog;
|
|
436
|
+
protected titleService: Title;
|
|
437
|
+
protected pageTitleService: PageTitle;
|
|
425
438
|
protected queryParameterGUID: i0.Signal<any>;
|
|
426
439
|
protected queryParameterType: i0.Signal<any>;
|
|
427
440
|
protected openInPopup: i0.WritableSignal<boolean>;
|
|
@@ -453,6 +466,7 @@ declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> ex
|
|
|
453
466
|
refreshData(): Promise<void>;
|
|
454
467
|
deleteSelected(): Promise<void>;
|
|
455
468
|
protected deleteRows(rows: T[]): void;
|
|
469
|
+
currentPageTitle: i0.Signal<string>;
|
|
456
470
|
logInputs(message: string): void;
|
|
457
471
|
static ɵfac: i0.ɵɵFactoryDeclaration<NettyAgGridListBase<any>, never>;
|
|
458
472
|
static ɵcmp: i0.ɵɵComponentDeclaration<NettyAgGridListBase<any>, "ntybase-ag-grid-list-base", never, {}, {}, never, never, true, never>;
|
|
@@ -1067,5 +1081,5 @@ declare abstract class NettyAppsFilterBase<Trecord, Tfilter> extends NettyAppsBa
|
|
|
1067
1081
|
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"; }, never, never, true, never>;
|
|
1068
1082
|
}
|
|
1069
1083
|
|
|
1070
|
-
export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridListBase, NettyAgGridListFilterBase, NettyAgGridLogBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyAppsFilterBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyLoadingComponent, NtyLoadingInterceptor, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor };
|
|
1084
|
+
export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NettyAgGridBase, NettyAgGridListBase, NettyAgGridListFilterBase, NettyAgGridLogBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyAppsFilterBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyLoadingComponent, NtyLoadingInterceptor, Ntybase, NtybaseModule, PageTitle, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor };
|
|
1071
1085
|
export type { AgGridSelectionModeType, CanComponentDeactivate, Credentials, EnvironmentConfig, LoginContext, MFACodeContext, NettyEntityInterface, NettyEntityLogInterface, UserViewMode };
|