@techextensor/tab-sdk 0.0.32 → 0.0.34
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/README.md +24 -24
- package/esm2022/lib/app/analytics.service.mjs +1 -1
- package/esm2022/lib/app/app.service.mjs +1 -1
- package/esm2022/lib/app/file.service.mjs +1 -1
- package/esm2022/lib/app/release.service.mjs +1 -1
- package/esm2022/lib/app/report.service.mjs +1 -1
- package/esm2022/lib/app/translator.service.mjs +1 -1
- package/esm2022/lib/auth/auth.service.mjs +1 -1
- package/esm2022/lib/crud/crud.service.mjs +1 -1
- package/esm2022/lib/enum/store.enum.mjs +1 -1
- package/esm2022/lib/enum/ui.enum.mjs +1 -1
- package/esm2022/lib/http/http.service.mjs +1 -1
- package/esm2022/lib/interface/http.interface.mjs +1 -1
- package/esm2022/lib/interface/ui.interface.mjs +1 -1
- package/esm2022/lib/store/store.service.mjs +83 -1
- package/esm2022/lib/tab-sdk.service.mjs +1 -1
- package/esm2022/lib/ui/form.service.mjs +1 -1
- package/esm2022/lib/ui/ui.service.mjs +1 -1
- package/esm2022/lib/util/util.service.mjs +1 -1
- package/esm2022/lib/workflow/transition.service.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/techextensor-tab-sdk.mjs +82 -0
- package/fesm2022/techextensor-tab-sdk.mjs.map +1 -1
- package/lib/store/store.service.d.ts +30 -0
- package/lib/ui/ui.service.d.ts +5 -5
- package/package.json +2 -2
|
@@ -413,6 +413,36 @@ export declare class StoreService {
|
|
|
413
413
|
* @param storage The type of storage to clear (local or session).
|
|
414
414
|
*/
|
|
415
415
|
private clearStorage;
|
|
416
|
+
/**
|
|
417
|
+
* Adds a screen context with the given key and data.
|
|
418
|
+
*
|
|
419
|
+
* The screen context is a collection of key-value pairs that are stored in session storage.
|
|
420
|
+
* The key is used to identify the screen context and the data is the value associated with the key.
|
|
421
|
+
*
|
|
422
|
+
* @param key The key for the screen context.
|
|
423
|
+
* @param data The data to store in the screen context.
|
|
424
|
+
*/
|
|
425
|
+
addScreenContext(key: string, data: any): void;
|
|
426
|
+
/**
|
|
427
|
+
* Retrieves the latest screen context data associated with the given key.
|
|
428
|
+
*
|
|
429
|
+
* The screen context is a collection of key-value pairs that are stored in session storage.
|
|
430
|
+
* The key is used to identify the screen context and the data is the value associated with the key.
|
|
431
|
+
*
|
|
432
|
+
* @param key The key for the screen context.
|
|
433
|
+
* @returns The latest screen context data associated with the key, or null if the key is not found.
|
|
434
|
+
*/
|
|
435
|
+
getScreenContext(key: string): any | null;
|
|
436
|
+
/**
|
|
437
|
+
* Removes the latest screen context data associated with the given key from session storage.
|
|
438
|
+
*
|
|
439
|
+
* The screen context is a collection of key-value pairs that are stored in session storage.
|
|
440
|
+
* The key is used to identify the screen context and the data is the value associated with the key.
|
|
441
|
+
*
|
|
442
|
+
* @param key The key for the screen context.
|
|
443
|
+
* @returns The removed screen context data, or null if the key is not found or the data is not present.
|
|
444
|
+
*/
|
|
445
|
+
cleanScreenContext(key: string): any | null;
|
|
416
446
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoreService, never>;
|
|
417
447
|
static ɵprov: i0.ɵɵInjectableDeclaration<StoreService>;
|
|
418
448
|
}
|
package/lib/ui/ui.service.d.ts
CHANGED
|
@@ -68,31 +68,31 @@ export declare class UiService {
|
|
|
68
68
|
*
|
|
69
69
|
* @param options The options for the notification.
|
|
70
70
|
*/
|
|
71
|
-
notify(options: NotificationOptions): any
|
|
71
|
+
notify(options: NotificationOptions): import("ngx-toastr").ActiveToast<any>;
|
|
72
72
|
/**
|
|
73
73
|
* Displays a success notification to the user.
|
|
74
74
|
*
|
|
75
75
|
* @param options - The options for the notification, including message, title, and configuration.
|
|
76
76
|
*/
|
|
77
|
-
showSuccess(options: BaseNotificationOptions): any
|
|
77
|
+
showSuccess(options: BaseNotificationOptions): import("ngx-toastr").ActiveToast<any>;
|
|
78
78
|
/**
|
|
79
79
|
* Displays a warning notification to the user.
|
|
80
80
|
*
|
|
81
81
|
* @param options - The options for the notification, including message, title, and configuration.
|
|
82
82
|
*/
|
|
83
|
-
showWarning(options: BaseNotificationOptions): any
|
|
83
|
+
showWarning(options: BaseNotificationOptions): import("ngx-toastr").ActiveToast<any>;
|
|
84
84
|
/**
|
|
85
85
|
* Displays an info notification to the user.
|
|
86
86
|
*
|
|
87
87
|
* @param options - The options for the notification, including message, title, and configuration.
|
|
88
88
|
*/
|
|
89
|
-
showInfo(options: BaseNotificationOptions): any
|
|
89
|
+
showInfo(options: BaseNotificationOptions): import("ngx-toastr").ActiveToast<any>;
|
|
90
90
|
/**
|
|
91
91
|
* Displays an error notification to the user.
|
|
92
92
|
*
|
|
93
93
|
* @param options - The options for the notification, including message, title, and configuration.
|
|
94
94
|
*/
|
|
95
|
-
showError(options: BaseNotificationOptions): any
|
|
95
|
+
showError(options: BaseNotificationOptions): import("ngx-toastr").ActiveToast<any>;
|
|
96
96
|
/**
|
|
97
97
|
* Clears a notification by ID.
|
|
98
98
|
*
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techextensor/tab-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^17.3.0",
|
|
6
6
|
"@angular/core": "^17.3.0",
|
|
7
|
-
"@techextensor/tab-core-utility": "^2.2.
|
|
7
|
+
"@techextensor/tab-core-utility": "^2.2.173"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.3.0"
|