@techextensor/tab-core-utility 2.2.11 → 2.2.13
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/index.mjs +65 -65
- package/esm2022/lib/tab-core-utility/app/constants/api-constants.mjs +35 -0
- package/esm2022/lib/tab-core-utility/app/constants/common.mjs +33 -0
- package/esm2022/lib/tab-core-utility/app/constants/error-messages.mjs +13 -0
- package/esm2022/lib/tab-core-utility/app/constants/storage-constants.mjs +16 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-delete.service.mjs +145 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-formio.service.mjs +40 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-get.service.mjs +131 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-insert.service.mjs +77 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-update.service.mjs +105 -0
- package/esm2022/lib/tab-core-utility/app/crud/tab-workflow.service.mjs +43 -0
- package/esm2022/lib/tab-core-utility/app/enums/controllers.enum.mjs +26 -0
- package/esm2022/lib/tab-core-utility/app/enums/dsq.enum.mjs +48 -0
- package/esm2022/lib/tab-core-utility/app/enums/permission.enum.mjs +20 -0
- package/esm2022/lib/tab-core-utility/app/enums/query.enum.mjs +14 -0
- package/esm2022/lib/tab-core-utility/app/enums/workflow.enum.mjs +37 -0
- package/esm2022/lib/tab-core-utility/app/helpers/common/app.helpers.mjs +84 -0
- package/esm2022/lib/tab-core-utility/app/helpers/common/dsq.helpers.mjs +70 -0
- package/esm2022/lib/tab-core-utility/app/helpers/common/req-res.helpers.mjs +64 -0
- package/esm2022/lib/tab-core-utility/app/helpers/common/template.helpers.mjs +58 -0
- package/esm2022/lib/tab-core-utility/app/helpers/common/where-clause.helpers.mjs +208 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/forms.helpers.mjs +38 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/grid-column-data.helpers.mjs +78 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/grid.helpers.mjs +112 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/media-upload.helpers.mjs +77 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/plugin.helpers.mjs +55 -0
- package/esm2022/lib/tab-core-utility/app/helpers/screen/screen.helpers.mjs +26 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/grid.interface.mjs +3 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/orgInfo.interface.mjs +2 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/schema.interface.mjs +2 -0
- package/esm2022/lib/tab-core-utility/app/models/api-query.class.mjs +47 -0
- package/esm2022/lib/tab-core-utility/app/models/app-object.class.mjs +30 -0
- package/esm2022/lib/tab-core-utility/app/models/common.class.mjs +12 -0
- package/esm2022/lib/tab-core-utility/app/models/data-source-queries.class.mjs +31 -0
- package/esm2022/lib/tab-core-utility/app/utils/filter.util.mjs +75 -0
- package/esm2022/lib/tab-core-utility/app/utils/form-builder.util.mjs +39 -0
- package/esm2022/lib/tab-core-utility/app/utils/json.util.mjs +138 -0
- package/esm2022/lib/tab-core-utility/app/utils/operators.util.mjs +129 -0
- package/esm2022/lib/tab-core-utility/app/utils/req-res.util.mjs +168 -0
- package/esm2022/lib/tab-core-utility/app/utils/tab-app.util.mjs +99 -0
- package/esm2022/lib/tab-core-utility/auth/idb-storage.service.mjs +69 -0
- package/esm2022/lib/tab-core-utility/auth/session-storage.service.mjs +52 -0
- package/esm2022/lib/tab-core-utility/core/error-handler/error-handler-interceptor.service.mjs +26 -0
- package/esm2022/lib/tab-core-utility/core/error-handler/error-handler.store.mjs +21 -0
- package/esm2022/lib/tab-core-utility/core/error-handler/models/error-handler.state.mjs +5 -0
- package/esm2022/lib/tab-core-utility/core/util/auth.utils.mjs +21 -0
- package/esm2022/lib/tab-core-utility/store/auth.store.mjs +43 -0
- package/esm2022/lib/tab-core-utility/store/orginfo.store.mjs +42 -0
- package/index.d.ts +53 -0
- package/lib/tab-core-utility/app/constants/api-constants.d.ts +32 -0
- package/lib/tab-core-utility/app/constants/common.d.ts +8 -0
- package/lib/tab-core-utility/app/constants/error-messages.d.ts +6 -0
- package/lib/tab-core-utility/app/constants/storage-constants.d.ts +15 -0
- package/lib/tab-core-utility/app/crud/tab-delete.service.d.ts +51 -0
- package/lib/tab-core-utility/app/crud/tab-formio.service.d.ts +17 -0
- package/lib/tab-core-utility/app/crud/tab-get.service.d.ts +58 -0
- package/lib/tab-core-utility/app/crud/tab-insert.service.d.ts +37 -0
- package/lib/tab-core-utility/app/crud/tab-update.service.d.ts +14 -0
- package/lib/tab-core-utility/app/crud/tab-workflow.service.d.ts +20 -0
- package/lib/tab-core-utility/app/enums/controllers.enum.d.ts +24 -0
- package/lib/tab-core-utility/app/enums/dsq.enum.d.ts +42 -0
- package/lib/tab-core-utility/app/enums/permission.enum.d.ts +16 -0
- package/lib/tab-core-utility/app/enums/query.enum.d.ts +11 -0
- package/lib/tab-core-utility/app/enums/workflow.enum.d.ts +30 -0
- package/lib/tab-core-utility/app/helpers/common/app.helpers.d.ts +33 -0
- package/lib/tab-core-utility/app/helpers/common/dsq.helpers.d.ts +32 -0
- package/lib/tab-core-utility/app/helpers/common/req-res.helpers.d.ts +62 -0
- package/lib/tab-core-utility/app/helpers/common/template.helpers.d.ts +25 -0
- package/lib/tab-core-utility/app/helpers/common/where-clause.helpers.d.ts +82 -0
- package/lib/tab-core-utility/app/helpers/screen/forms.helpers.d.ts +11 -0
- package/lib/tab-core-utility/app/helpers/screen/grid-column-data.helpers.d.ts +33 -0
- package/lib/tab-core-utility/app/helpers/screen/grid.helpers.d.ts +63 -0
- package/lib/tab-core-utility/app/helpers/screen/media-upload.helpers.d.ts +38 -0
- package/lib/tab-core-utility/app/helpers/screen/plugin.helpers.d.ts +25 -0
- package/lib/tab-core-utility/app/helpers/screen/screen.helpers.d.ts +11 -0
- package/lib/tab-core-utility/app/interfaces/grid.interface.d.ts +110 -0
- package/lib/tab-core-utility/app/interfaces/orgInfo.interface.d.ts +31 -0
- package/lib/tab-core-utility/app/interfaces/schema.interface.d.ts +11 -0
- package/lib/tab-core-utility/app/models/api-query.class.d.ts +69 -0
- package/lib/tab-core-utility/app/models/app-object.class.d.ts +74 -0
- package/lib/tab-core-utility/app/models/common.class.d.ts +24 -0
- package/lib/tab-core-utility/app/models/data-source-queries.class.d.ts +95 -0
- package/lib/tab-core-utility/app/utils/filter.util.d.ts +30 -0
- package/lib/tab-core-utility/app/utils/form-builder.util.d.ts +13 -0
- package/lib/tab-core-utility/app/utils/json.util.d.ts +25 -0
- package/lib/tab-core-utility/app/utils/operators.util.d.ts +21 -0
- package/lib/tab-core-utility/app/utils/req-res.util.d.ts +61 -0
- package/lib/tab-core-utility/app/utils/tab-app.util.d.ts +48 -0
- package/lib/tab-core-utility/auth/idb-storage.service.d.ts +14 -0
- package/lib/tab-core-utility/auth/session-storage.service.d.ts +22 -0
- package/lib/tab-core-utility/core/error-handler/error-handler-interceptor.service.d.ts +3 -0
- package/lib/tab-core-utility/core/error-handler/error-handler.store.d.ts +10 -0
- package/lib/tab-core-utility/core/error-handler/models/error-handler.state.d.ts +5 -0
- package/lib/tab-core-utility/core/util/auth.utils.d.ts +9 -0
- package/lib/tab-core-utility/store/auth.store.d.ts +19 -0
- package/lib/tab-core-utility/store/orginfo.store.d.ts +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SessionStorageService {
|
|
3
|
+
/**
|
|
4
|
+
* Set data in session storage
|
|
5
|
+
* @param key - Key to store the data
|
|
6
|
+
* @param data - Data to be stored
|
|
7
|
+
*/
|
|
8
|
+
setSessionStorage: (key: string, data: any) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Get data from session storage
|
|
11
|
+
* @param key - Key to retrieve the data
|
|
12
|
+
* @returns The data stored in session storage
|
|
13
|
+
*/
|
|
14
|
+
getSessionStorage: (key: string) => any;
|
|
15
|
+
/**
|
|
16
|
+
* Remove data from session storage
|
|
17
|
+
* @param key - Key of the data to be removed
|
|
18
|
+
*/
|
|
19
|
+
removeSessionStorage: (key: string) => void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionStorageService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageService>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
export declare const ErrorHandlerStore: import("@angular/core").Type<{
|
|
3
|
+
code: import("@angular/core").Signal<number>;
|
|
4
|
+
message: import("@angular/core").Signal<string | undefined>;
|
|
5
|
+
handleError401: (error: HttpErrorResponse) => void;
|
|
6
|
+
handleError404: (error: HttpErrorResponse) => void;
|
|
7
|
+
} & import("@ngrx/signals").StateSignal<{
|
|
8
|
+
code: number;
|
|
9
|
+
message: string | undefined;
|
|
10
|
+
}>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { LoginUserRequest } from "../app/interfaces/auth.interface";
|
|
3
|
+
export declare const authStore: import("@angular/core").Type<{
|
|
4
|
+
name: import("@angular/core").Signal<string>;
|
|
5
|
+
token: import("@angular/core").Signal<string>;
|
|
6
|
+
id: import("@angular/core").Signal<any>;
|
|
7
|
+
email: import("@angular/core").Signal<string>;
|
|
8
|
+
avatar: import("@angular/core").Signal<string>;
|
|
9
|
+
status: import("@angular/core").Signal<string>;
|
|
10
|
+
checkUserlogin: () => boolean;
|
|
11
|
+
login: (API_URL: string, credentials: LoginUserRequest) => Observable<any>;
|
|
12
|
+
} & import("@ngrx/signals").StateSignal<{
|
|
13
|
+
name: string;
|
|
14
|
+
token: string;
|
|
15
|
+
id: any;
|
|
16
|
+
email: string;
|
|
17
|
+
avatar: string;
|
|
18
|
+
status: string;
|
|
19
|
+
}>>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const OrgInfoStore: import("@angular/core").Type<{
|
|
2
|
+
FavIcon: import("@angular/core").Signal<string>;
|
|
3
|
+
Org_Brand_Color: import("@angular/core").Signal<string>;
|
|
4
|
+
Org_Logo: import("@angular/core").Signal<string>;
|
|
5
|
+
Org_Menu_Logo: import("@angular/core").Signal<string>;
|
|
6
|
+
ShowSignUp: import("@angular/core").Signal<string>;
|
|
7
|
+
TagLine: import("@angular/core").Signal<string>;
|
|
8
|
+
profileScreenID: import("@angular/core").Signal<string>;
|
|
9
|
+
workFlowName: import("@angular/core").Signal<string>;
|
|
10
|
+
OrganizationName: import("@angular/core").Signal<string>;
|
|
11
|
+
getOrganizationInformation: (orgInfoData: any) => void;
|
|
12
|
+
} & import("@ngrx/signals").StateSignal<{
|
|
13
|
+
FavIcon: string;
|
|
14
|
+
Org_Brand_Color: string;
|
|
15
|
+
Org_Logo: string;
|
|
16
|
+
Org_Menu_Logo: string;
|
|
17
|
+
ShowSignUp: string;
|
|
18
|
+
TagLine: string;
|
|
19
|
+
profileScreenID: string;
|
|
20
|
+
workFlowName: string;
|
|
21
|
+
OrganizationName: string;
|
|
22
|
+
}>>;
|