@nettyapps/ntybase 21.1.4 → 21.1.6

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.1.4",
3
+ "version": "21.1.6",
4
4
  "description": "This library provides foundational services and components for NettyApps Angular applications.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -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",
@@ -11,6 +11,7 @@ import { ComponentType } from '@angular/cdk/portal';
11
11
  import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
12
12
  import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent } from 'ag-grid-enterprise';
13
13
  import { Router, ActivatedRoute, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanDeactivate } from '@angular/router';
14
+ import { Title } from '@angular/platform-browser';
14
15
  import { NgForm, FormGroup } from '@angular/forms';
15
16
  import * as XLSX from 'xlsx';
16
17
  import { ICellRendererAngularComp, IFilterAngularComp } from 'ag-grid-angular';
@@ -325,6 +326,7 @@ declare abstract class NettyAgGridBase<T extends NettyEntityBaseInterface<T>> ex
325
326
  protected searchValueName: i0.WritableSignal<string>;
326
327
  protected preferenceType: i0.WritableSignal<string>;
327
328
  searchValue: i0.WritableSignal<string>;
329
+ pageName: i0.WritableSignal<string>;
328
330
  protected parameterGUID: any;
329
331
  protected parameterType: any;
330
332
  protected nettyAgGridService: NettyAgGridService;
@@ -420,10 +422,19 @@ interface NettyEntityInterface<T> extends NettyEntityBaseInterface<T> {
420
422
  compare(other: T): T;
421
423
  }
422
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
+
423
432
  declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> extends NettyAgGridBase<T> implements OnInit {
424
433
  protected router: Router;
425
434
  protected routerActive: ActivatedRoute;
426
435
  protected dialog: MatDialog;
436
+ protected titleService: Title;
437
+ protected pageTitleService: PageTitle;
427
438
  protected queryParameterGUID: i0.Signal<any>;
428
439
  protected queryParameterType: i0.Signal<any>;
429
440
  protected openInPopup: i0.WritableSignal<boolean>;
@@ -455,6 +466,7 @@ declare abstract class NettyAgGridListBase<T extends NettyEntityInterface<T>> ex
455
466
  refreshData(): Promise<void>;
456
467
  deleteSelected(): Promise<void>;
457
468
  protected deleteRows(rows: T[]): void;
469
+ currentPageTitle: i0.Signal<string>;
458
470
  logInputs(message: string): void;
459
471
  static ɵfac: i0.ɵɵFactoryDeclaration<NettyAgGridListBase<any>, never>;
460
472
  static ɵcmp: i0.ɵɵComponentDeclaration<NettyAgGridListBase<any>, "ntybase-ag-grid-list-base", never, {}, {}, never, never, true, never>;
@@ -1069,5 +1081,5 @@ declare abstract class NettyAppsFilterBase<Trecord, Tfilter> extends NettyAppsBa
1069
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>;
1070
1082
  }
1071
1083
 
1072
- 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 };
1073
1085
  export type { AgGridSelectionModeType, CanComponentDeactivate, Credentials, EnvironmentConfig, LoginContext, MFACodeContext, NettyEntityInterface, NettyEntityLogInterface, UserViewMode };