@techextensor/tab-sdk 0.0.4 → 0.0.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/esm2022/lib/app/analytics.service.mjs +51 -0
- package/esm2022/lib/app/app.service.mjs +145 -0
- package/esm2022/lib/app/file.service.mjs +41 -0
- package/esm2022/lib/app/release.service.mjs +38 -0
- package/esm2022/lib/app/report.service.mjs +48 -0
- package/esm2022/lib/app/translator.service.mjs +77 -0
- package/esm2022/lib/crud/crud.service.mjs +161 -0
- package/esm2022/lib/enum/store.enum.mjs +6 -0
- package/esm2022/lib/enum/ui.enum.mjs +13 -0
- package/esm2022/lib/http/http.service.mjs +58 -0
- package/esm2022/lib/interface/http.interface.mjs +2 -0
- package/esm2022/lib/interface/ui.interface.mjs +2 -0
- package/esm2022/lib/store/store.service.mjs +719 -0
- package/esm2022/lib/tab-sdk.service.mjs +53 -5
- package/esm2022/lib/ui/form.service.mjs +79 -0
- package/esm2022/lib/ui/ui.service.mjs +176 -19
- package/esm2022/lib/util/util.service.mjs +53 -0
- package/esm2022/lib/workflow/transition.service.mjs +40 -0
- package/fesm2022/techextensor-tab-sdk.mjs +1687 -30
- package/fesm2022/techextensor-tab-sdk.mjs.map +1 -1
- package/lib/app/analytics.service.d.ts +28 -0
- package/lib/app/app.service.d.ts +81 -0
- package/lib/app/file.service.d.ts +22 -0
- package/lib/app/release.service.d.ts +23 -0
- package/lib/app/report.service.d.ts +28 -0
- package/lib/app/translator.service.d.ts +49 -0
- package/lib/crud/crud.service.d.ts +88 -0
- package/lib/enum/store.enum.d.ts +4 -0
- package/lib/enum/ui.enum.d.ts +10 -0
- package/lib/http/http.service.d.ts +35 -0
- package/lib/interface/http.interface.d.ts +8 -0
- package/lib/interface/ui.interface.d.ts +24 -0
- package/lib/store/store.service.d.ts +406 -0
- package/lib/tab-sdk.service.d.ts +23 -1
- package/lib/ui/form.service.d.ts +47 -0
- package/lib/ui/ui.service.d.ts +79 -5
- package/lib/util/util.service.d.ts +14 -0
- package/lib/workflow/transition.service.d.ts +21 -0
- package/package.json +2 -2
- package/esm2022/lib/enums/ui.enum.mjs +0 -16
- package/esm2022/lib/interfaces/ui.interface.mjs +0 -2
- package/lib/enums/ui.enum.d.ts +0 -13
- package/lib/interfaces/ui.interface.d.ts +0 -56
package/lib/ui/ui.service.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ScreenOpenOptions,
|
|
1
|
+
import { ScreenOpenOptions, NavigationOptions, BaseScreenOptions, NavigateToSubdomainOptions } from '../interface/ui.interface';
|
|
2
|
+
import { BaseNotificationOptions, ConfirmationOptions, NotificationOptions } from '@techextensor/tab-core-utility';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class UiService {
|
|
4
|
-
private readonly
|
|
5
|
-
private readonly
|
|
6
|
-
private readonly _confirmationDialogService;
|
|
5
|
+
private readonly _notificationService;
|
|
6
|
+
private readonly _confirmationService;
|
|
7
7
|
/**
|
|
8
8
|
* Open a screen with the given options. The mode determines how the screen is
|
|
9
9
|
* displayed.
|
|
@@ -47,6 +47,12 @@ export declare class UiService {
|
|
|
47
47
|
* @param options - The options for navigation, including subDomain, appCode, and url.
|
|
48
48
|
*/
|
|
49
49
|
navigateToSubdomain(options: NavigateToSubdomainOptions): void;
|
|
50
|
+
/**
|
|
51
|
+
* Retrieves the active screen ID from the current URL.
|
|
52
|
+
*
|
|
53
|
+
* @returns The screen ID if present in the URL, otherwise undefined.
|
|
54
|
+
*/
|
|
55
|
+
getActiveUrlScreenId(): string | undefined;
|
|
50
56
|
/**
|
|
51
57
|
* Show a notification to the user.
|
|
52
58
|
*
|
|
@@ -65,6 +71,12 @@ export declare class UiService {
|
|
|
65
71
|
* @param options - The options for the notification, including message, title, and configuration.
|
|
66
72
|
*/
|
|
67
73
|
showWarning(options: BaseNotificationOptions): void;
|
|
74
|
+
/**
|
|
75
|
+
* Displays an info notification to the user.
|
|
76
|
+
*
|
|
77
|
+
* @param options - The options for the notification, including message, title, and configuration.
|
|
78
|
+
*/
|
|
79
|
+
showInfo(options: BaseNotificationOptions): void;
|
|
68
80
|
/**
|
|
69
81
|
* Displays an error notification to the user.
|
|
70
82
|
*
|
|
@@ -79,7 +91,69 @@ export declare class UiService {
|
|
|
79
91
|
* confirmText, cancelText, and visibility of buttons.
|
|
80
92
|
* @returns A promise that resolves to true if the user confirms, false otherwise.
|
|
81
93
|
*/
|
|
82
|
-
confirm(options
|
|
94
|
+
confirm(options?: ConfirmationOptions): Promise<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* Displays a confirmation dialog to the user with a title and message that indicates
|
|
97
|
+
* the user is about to delete an item. The confirmation dialog has a "Delete" and "Cancel"
|
|
98
|
+
* button.
|
|
99
|
+
*
|
|
100
|
+
* @param options - The options for the confirmation dialog, including the item name and
|
|
101
|
+
* optional message.
|
|
102
|
+
* @returns A promise that resolves to true if the user confirms, false otherwise.
|
|
103
|
+
*/
|
|
104
|
+
confirmDelete(options?: ConfirmationOptions): Promise<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* Displays a confirmation dialog to the user with a title and message that indicates
|
|
107
|
+
* the user is about to discard changes to an item. The confirmation dialog has a "Discard"
|
|
108
|
+
* and "Cancel" button.
|
|
109
|
+
*
|
|
110
|
+
* @param options - The options for the confirmation dialog, including the item name and
|
|
111
|
+
* optional message.
|
|
112
|
+
* @returns A promise that resolves to true if the user confirms, false otherwise.
|
|
113
|
+
*/
|
|
114
|
+
confirmDiscard(options?: ConfirmationOptions): Promise<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Closes the confirmation dialog.
|
|
117
|
+
*
|
|
118
|
+
* This method can be used to manually close the confirmation dialog.
|
|
119
|
+
*/
|
|
120
|
+
closeConfirmationDialog(): void;
|
|
121
|
+
/**
|
|
122
|
+
* Retrieves the confirmation emitter from the confirmation service.
|
|
123
|
+
*
|
|
124
|
+
* @returns The confirmation emitter used for emitting confirmation events.
|
|
125
|
+
*/
|
|
126
|
+
getConformationEmitter(): import("@angular/core").EventEmitter<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* Retrieves the dialog emitter from the confirmation service.
|
|
129
|
+
*
|
|
130
|
+
* The dialog emitter is an RxJS Subject that emits whenever a confirmation dialog is
|
|
131
|
+
* opened or closed. The value emitted is a boolean indicating whether a dialog is
|
|
132
|
+
* currently open.
|
|
133
|
+
*
|
|
134
|
+
* @returns The dialog emitter used for emitting confirmation dialog events.
|
|
135
|
+
*/
|
|
136
|
+
getDialogEmitter(): import("@angular/core").EventEmitter<ConfirmationOptions>;
|
|
137
|
+
/**
|
|
138
|
+
* Retrieves the remove emitter from the confirmation service.
|
|
139
|
+
*
|
|
140
|
+
* The remove emitter is an RxJS Subject that emits whenever a removal confirmation
|
|
141
|
+
* dialog is opened or closed. The value emitted is a boolean indicating whether a
|
|
142
|
+
* removal dialog is currently open.
|
|
143
|
+
*
|
|
144
|
+
* @returns The remove emitter used for emitting removal confirmation dialog events.
|
|
145
|
+
*/
|
|
146
|
+
getRemoveEmitter(): import("@angular/core").EventEmitter<boolean>;
|
|
147
|
+
/**
|
|
148
|
+
* Copies the provided text to the clipboard and displays a success notification.
|
|
149
|
+
*
|
|
150
|
+
* @param text - The text to be copied to the clipboard.
|
|
151
|
+
*/
|
|
152
|
+
copyToClipboard(text: string): void;
|
|
153
|
+
/**
|
|
154
|
+
* Copies the current URL to the clipboard and displays a success notification.
|
|
155
|
+
*/
|
|
156
|
+
copyCurrentUrlToClipboard(): void;
|
|
83
157
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiService, never>;
|
|
84
158
|
static ɵprov: i0.ɵɵInjectableDeclaration<UiService>;
|
|
85
159
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class UtilService {
|
|
3
|
+
private _context;
|
|
4
|
+
private _initialized;
|
|
5
|
+
/**
|
|
6
|
+
* Initializes the UtilService with context that contains service references
|
|
7
|
+
*
|
|
8
|
+
* @param context The context object containing service references
|
|
9
|
+
* @returns A proxy that intercepts and delegates method calls to the appropriate service
|
|
10
|
+
*/
|
|
11
|
+
init(context: any): any;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CommonApiResponse, NextStatusPayload, UpdateStatusPayload } from '@techextensor/tab-core-utility';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TransitionService {
|
|
4
|
+
private readonly _tabBlueprintService;
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves the next status based on the provided payload.
|
|
7
|
+
*
|
|
8
|
+
* @param payload - The payload containing information to determine the next status.
|
|
9
|
+
* @returns A promise that resolves to the common API response.
|
|
10
|
+
*/
|
|
11
|
+
getNextStatus(payload: NextStatusPayload): Promise<CommonApiResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Updates the status of an entity based on the provided payload.
|
|
14
|
+
*
|
|
15
|
+
* @param payload - The payload containing information to update the status.
|
|
16
|
+
* @returns A promise that resolves to the common API response.
|
|
17
|
+
*/
|
|
18
|
+
updateStatus(payload: UpdateStatusPayload): Promise<any>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransitionService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TransitionService>;
|
|
21
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techextensor/tab-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
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.149"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.3.0"
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export var ScreenDisplayMode;
|
|
2
|
-
(function (ScreenDisplayMode) {
|
|
3
|
-
ScreenDisplayMode["Sidebar"] = "sidebar";
|
|
4
|
-
ScreenDisplayMode["Popup"] = "popup";
|
|
5
|
-
ScreenDisplayMode["SameTab"] = "sameTab";
|
|
6
|
-
ScreenDisplayMode["NewTab"] = "newTab";
|
|
7
|
-
ScreenDisplayMode["NavigationInSameTab"] = "navigationInSameTab";
|
|
8
|
-
ScreenDisplayMode["NavigationInNewTab"] = "navigationInNewTab";
|
|
9
|
-
})(ScreenDisplayMode || (ScreenDisplayMode = {}));
|
|
10
|
-
export var NotificationType;
|
|
11
|
-
(function (NotificationType) {
|
|
12
|
-
NotificationType["Success"] = "success";
|
|
13
|
-
NotificationType["Warning"] = "warning";
|
|
14
|
-
NotificationType["Error"] = "error";
|
|
15
|
-
})(NotificationType || (NotificationType = {}));
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWkuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RhYi1zZGsvc3JjL2xpYi9lbnVtcy91aS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGlCQU9YO0FBUEQsV0FBWSxpQkFBaUI7SUFDekIsd0NBQW1CLENBQUE7SUFDbkIsb0NBQWUsQ0FBQTtJQUNmLHdDQUFtQixDQUFBO0lBQ25CLHNDQUFpQixDQUFBO0lBQ2pCLGdFQUEyQyxDQUFBO0lBQzNDLDhEQUF5QyxDQUFBO0FBQzdDLENBQUMsRUFQVyxpQkFBaUIsS0FBakIsaUJBQWlCLFFBTzVCO0FBRUQsTUFBTSxDQUFOLEl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FydGlhbDx7XG4gICAgdGltZU91dDogbnVtYmVyO1xuICAgIGNsb3NlQnV0dG9uOiBib29sZWFuO1xuICAgIHByb2dyZXNzQmFyOiBib29sZWFuO1xuICAgIHBvc2l0aW9uQ2xhc3M6IHN0cmluZztcbiAgICBlbmFibGVIdG1sOiBib29sZWFuO1xuICAgIHRhcFRvRGlzbWlzczogYm9vbGVhbjtcbiAgfT47XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgTm90aWZpY2F0aW9uT3B0aW9ucyBleHRlbmRzIEJhc2VOb3RpZmljYXRpb25PcHRpb25zIHtcbiAgdHlwZTogTm90aWZpY2F0aW9uVHlwZTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBDb25maXJtYXRpb25EaWFsb2dPcHRpb25zIHtcbiAgdGl0bGU6IHN0cmluZztcbiAgbWVzc2FnZTogc3RyaW5nO1xuICBwcmltYXJ5T3B0aW9uPzogc3RyaW5nO1xuICBzZWNvbmRhcnlPcHRpb24/OiBzdHJpbmc7XG4gIGRpc3BsYXlIZWFkZXI/OiBib29sZWFuO1xuICBkaXNwbGF5Rm9vdGVyPzogYm9vbGVhbjtcbiAgZGlzcGxheUJvZHk/OiBib29sZWFuO1xuICBkaXNwbGF5UHJpbWFyeUJ1dHRvbj86IGJvb2xlYW47XG4gIGRpc3BsYXlTZWNvbmRhcnlCdXR0b24/OiBib29sZWFuO1xuICBkaXNwbGF5Q2xvc2VCdXR0b24/OiBib29sZWFuO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIENvbmZpcm1PcHRpb25zIHtcbiAgdGl0bGU6IHN0cmluZztcbiAgbWVzc2FnZT86IHN0cmluZztcbn0iXX0=
|
package/lib/enums/ui.enum.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum ScreenDisplayMode {
|
|
2
|
-
Sidebar = "sidebar",
|
|
3
|
-
Popup = "popup",
|
|
4
|
-
SameTab = "sameTab",
|
|
5
|
-
NewTab = "newTab",
|
|
6
|
-
NavigationInSameTab = "navigationInSameTab",
|
|
7
|
-
NavigationInNewTab = "navigationInNewTab"
|
|
8
|
-
}
|
|
9
|
-
export declare enum NotificationType {
|
|
10
|
-
Success = "success",
|
|
11
|
-
Warning = "warning",
|
|
12
|
-
Error = "error"
|
|
13
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { NotificationType, ScreenDisplayMode } from "../enums/ui.enum";
|
|
2
|
-
export type NotificationPosition = 'topRight' | 'topLeft' | 'bottomRight' | 'bottomLeft' | 'topCenter' | 'bottomCenter';
|
|
3
|
-
export interface BaseScreenOptions {
|
|
4
|
-
screenId: string;
|
|
5
|
-
reqtokens?: any;
|
|
6
|
-
submission?: any;
|
|
7
|
-
title?: string;
|
|
8
|
-
width?: string | number;
|
|
9
|
-
height?: string | number;
|
|
10
|
-
customClass?: string;
|
|
11
|
-
refresher?: () => void;
|
|
12
|
-
closer?: () => void;
|
|
13
|
-
}
|
|
14
|
-
export interface ScreenOpenOptions extends BaseScreenOptions {
|
|
15
|
-
mode: ScreenDisplayMode;
|
|
16
|
-
}
|
|
17
|
-
export interface NavigationOptions {
|
|
18
|
-
screenId: string;
|
|
19
|
-
reqtokens?: Record<string, any>;
|
|
20
|
-
}
|
|
21
|
-
export interface NavigateToSubdomainOptions {
|
|
22
|
-
subDomain: string;
|
|
23
|
-
appCode: string;
|
|
24
|
-
url: string;
|
|
25
|
-
}
|
|
26
|
-
export interface BaseNotificationOptions {
|
|
27
|
-
message: string;
|
|
28
|
-
title?: string;
|
|
29
|
-
configuration?: Partial<{
|
|
30
|
-
timeOut: number;
|
|
31
|
-
closeButton: boolean;
|
|
32
|
-
progressBar: boolean;
|
|
33
|
-
positionClass: string;
|
|
34
|
-
enableHtml: boolean;
|
|
35
|
-
tapToDismiss: boolean;
|
|
36
|
-
}>;
|
|
37
|
-
}
|
|
38
|
-
export interface NotificationOptions extends BaseNotificationOptions {
|
|
39
|
-
type: NotificationType;
|
|
40
|
-
}
|
|
41
|
-
export interface ConfirmationDialogOptions {
|
|
42
|
-
title: string;
|
|
43
|
-
message: string;
|
|
44
|
-
primaryOption?: string;
|
|
45
|
-
secondaryOption?: string;
|
|
46
|
-
displayHeader?: boolean;
|
|
47
|
-
displayFooter?: boolean;
|
|
48
|
-
displayBody?: boolean;
|
|
49
|
-
displayPrimaryButton?: boolean;
|
|
50
|
-
displaySecondaryButton?: boolean;
|
|
51
|
-
displayCloseButton?: boolean;
|
|
52
|
-
}
|
|
53
|
-
export interface ConfirmOptions {
|
|
54
|
-
title: string;
|
|
55
|
-
message?: string;
|
|
56
|
-
}
|