@nettyapps/ntybase 21.0.15 → 21.0.18
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-BVtoVBU3.mjs → nettyapps-ntybase-en-USbase-BiAVQmCh.mjs} +4 -2
- package/fesm2022/{nettyapps-ntybase-en-USbase-BVtoVBU3.mjs.map → nettyapps-ntybase-en-USbase-BiAVQmCh.mjs.map} +1 -1
- package/fesm2022/{nettyapps-ntybase-tr-TRbase-BPeaVYNs.mjs → nettyapps-ntybase-tr-TRbase-DsdNRueU.mjs} +4 -2
- package/fesm2022/{nettyapps-ntybase-tr-TRbase-BPeaVYNs.mjs.map → nettyapps-ntybase-tr-TRbase-DsdNRueU.mjs.map} +1 -1
- package/fesm2022/nettyapps-ntybase.mjs +39 -2
- package/fesm2022/nettyapps-ntybase.mjs.map +1 -1
- package/package.json +6 -3
- package/translations/en-USbase.json +3 -1
- package/translations/tr-TRbase.json +3 -1
- package/types/nettyapps-ntybase.d.ts +6 -0
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nettyapps/ntybase",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.18",
|
|
4
|
+
"description": "This library provides foundational services and components for NettyApps Angular applications.",
|
|
4
5
|
"publishConfig": {
|
|
5
6
|
"access": "public"
|
|
6
7
|
},
|
|
7
8
|
"peerDependencies": {
|
|
8
|
-
"@angular/common": "
|
|
9
|
-
"@angular/core": "
|
|
9
|
+
"@angular/common": ">= 21.0.0",
|
|
10
|
+
"@angular/core": ">= 21.0.0",
|
|
11
|
+
"@nettyapps/ntycontract": ">= 21.0.3",
|
|
12
|
+
"@nettyapps/ntyui": ">= 21.0.7"
|
|
10
13
|
},
|
|
11
14
|
"dependencies": {
|
|
12
15
|
"tslib": "^2.3.0"
|
|
@@ -257,5 +257,7 @@
|
|
|
257
257
|
"@defaultFilterActive": "Default Filter Active - Switch to Custom",
|
|
258
258
|
"@customFilterModeEnabled": "Custom Filter Mode Enabled",
|
|
259
259
|
"@defaultFilterModeEnabled": "Default Filter Mode Enabled",
|
|
260
|
-
"@invalidFormat": "Invalid Format"
|
|
260
|
+
"@invalidFormat": "Invalid Format",
|
|
261
|
+
"@openInPopup": "Records open as pop-ups now",
|
|
262
|
+
"@openInSidenav": "Records will now open in the sidenav"
|
|
261
263
|
}
|
|
@@ -257,5 +257,7 @@
|
|
|
257
257
|
"@defaultFilterActive": "Varsayılan Filtre Aktif - Özele Geç",
|
|
258
258
|
"@customFilterModeEnabled": "Özel Filtre Modu Aktif",
|
|
259
259
|
"@defaultFilterModeEnabled": "Varsayılan Filtre Modu Aktif",
|
|
260
|
-
"@invalidFormat": "Geçersiz Format"
|
|
260
|
+
"@invalidFormat": "Geçersiz Format",
|
|
261
|
+
"@openInPopup": "Kayıtlar artık açılır pencerede görüntülenecek",
|
|
262
|
+
"@openInSidenav": "Kayıtlar artık yan panelde görüntülenecek"
|
|
261
263
|
}
|
|
@@ -272,6 +272,8 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
272
272
|
componantParameterType: i0.InputSignal<string>;
|
|
273
273
|
onElementSelect: i0.OutputEmitterRef<T[]>;
|
|
274
274
|
protected customFilters: i0.WritableSignal<boolean>;
|
|
275
|
+
protected isFilterValid: i0.WritableSignal<boolean>;
|
|
276
|
+
protected isFilterExpanded: i0.WritableSignal<boolean>;
|
|
275
277
|
protected authenticationList: Array<NettySecurity>;
|
|
276
278
|
protected accessRightsProcessed: i0.WritableSignal<boolean>;
|
|
277
279
|
allowAdd: i0.WritableSignal<boolean>;
|
|
@@ -300,6 +302,7 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
300
302
|
protected searchValueName: i0.WritableSignal<string>;
|
|
301
303
|
protected preferenceType: i0.WritableSignal<string>;
|
|
302
304
|
searchValue: i0.WritableSignal<string>;
|
|
305
|
+
protected openInPopup: i0.WritableSignal<boolean>;
|
|
303
306
|
protected nettyAgGridService: NettyAgGridService;
|
|
304
307
|
protected translateService: TranslateService;
|
|
305
308
|
protected commonService: CommonService;
|
|
@@ -342,6 +345,7 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
342
345
|
backClicked(): void;
|
|
343
346
|
gotoURL(routePrefix: string[], rightSidenav: string[] | undefined, parameters: string, type?: string, dialogComponent?: any, isNewTab?: boolean, isPopup?: boolean): void;
|
|
344
347
|
popupGotoURL(urlSegments: string[]): void;
|
|
348
|
+
toggleOpenMode(): void;
|
|
345
349
|
/**
|
|
346
350
|
* Listens for update events from CommonService and refreshes the grid accordingly.
|
|
347
351
|
* - For 'add' or 'update' actions: Updates the relevant row
|
|
@@ -351,6 +355,7 @@ declare abstract class NettyAgGridBase<T extends {
|
|
|
351
355
|
* - The update type doesn't match
|
|
352
356
|
*/
|
|
353
357
|
constructor();
|
|
358
|
+
protected onReverseIsFilterValid(): void;
|
|
354
359
|
/**
|
|
355
360
|
* Validates if the given value is equal to null,undefined or ''
|
|
356
361
|
* @param value
|
|
@@ -406,6 +411,7 @@ declare abstract class NettyAgGridSaveBase<T> implements DoCheck {
|
|
|
406
411
|
* Determine view mode based on current route
|
|
407
412
|
*/
|
|
408
413
|
protected determineViewMode(): void;
|
|
414
|
+
ngOnInit(): void;
|
|
409
415
|
/**
|
|
410
416
|
* Set data to the form while preserving any unsaved changes
|
|
411
417
|
* @param item - Data object of type T to populate the form
|