jconsumer-shared 0.0.2 → 0.0.3
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/account-service.mjs +21 -0
- package/esm2022/lib/auth-service.mjs +155 -0
- package/esm2022/lib/calendar/date-time/datetime-processor.service.mjs +448 -0
- package/esm2022/lib/common.service.mjs +38 -0
- package/esm2022/lib/error-message.service.mjs +22 -0
- package/esm2022/lib/file-service.mjs +229 -0
- package/esm2022/lib/group-storage.service.mjs +66 -0
- package/esm2022/lib/i8n.module.mjs +43 -0
- package/esm2022/lib/local-storage.service.mjs +77 -0
- package/esm2022/lib/phone-input/phone-input.component.mjs +127 -0
- package/esm2022/lib/phone-input/phone-input.module.mjs +24 -0
- package/esm2022/lib/pipes/autolink/autolink.pipe.mjs +22 -0
- package/esm2022/lib/pipes/capitalize/capitalize.module.mjs +20 -0
- package/esm2022/lib/pipes/capitalize/capitalize.pipe.mjs +18 -0
- package/esm2022/lib/pipes/filter/filter.pipe.mjs +24 -0
- package/esm2022/lib/pipes/limit-to/limitTo.pipe.mjs +18 -0
- package/esm2022/lib/pipes/safe-html/safehtml.module.mjs +20 -0
- package/esm2022/lib/pipes/safe-html/safehtml.pipe.mjs +19 -0
- package/esm2022/lib/project-messages.mjs +146 -0
- package/esm2022/lib/questionaire/edit/questionnaire.component.mjs +1422 -0
- package/esm2022/lib/questionaire/edit/questionnaire.module.mjs +77 -0
- package/esm2022/lib/questionaire/questionaire-service.mjs +92 -0
- package/esm2022/lib/session-storage.service.mjs +57 -0
- package/esm2022/lib/shared.service.mjs +24 -2
- package/esm2022/lib/showuploadfile/showuploadfile.component.mjs +61 -0
- package/esm2022/lib/showuploadfile/showuploadfile.module.mjs +28 -0
- package/esm2022/lib/spinner/loading-spinner.component.mjs +22 -0
- package/esm2022/lib/spinner/loading-spinner.module.mjs +28 -0
- package/esm2022/lib/storage.service.mjs +75 -0
- package/esm2022/lib/word-processor.service.mjs +181 -0
- package/esm2022/public-api.mjs +27 -1
- package/fesm2022/jconsumer-shared.mjs +3522 -26
- package/fesm2022/jconsumer-shared.mjs.map +1 -1
- package/jconsumer-shared-0.0.3.tgz +0 -0
- package/lib/account-service.d.ts +9 -0
- package/lib/auth-service.d.ts +43 -0
- package/lib/calendar/date-time/datetime-processor.service.d.ts +120 -0
- package/lib/common.service.d.ts +9 -0
- package/lib/error-message.service.d.ts +5 -0
- package/lib/file-service.d.ts +26 -0
- package/lib/group-storage.service.d.ts +14 -0
- package/lib/i8n.module.d.ts +12 -0
- package/lib/local-storage.service.d.ts +34 -0
- package/lib/phone-input/phone-input.component.d.ts +25 -0
- package/lib/phone-input/phone-input.module.d.ts +9 -0
- package/lib/pipes/autolink/autolink.pipe.d.ts +7 -0
- package/lib/pipes/capitalize/capitalize.module.d.ts +8 -0
- package/lib/pipes/capitalize/capitalize.pipe.d.ts +7 -0
- package/lib/pipes/filter/filter.pipe.d.ts +7 -0
- package/lib/pipes/limit-to/limitTo.pipe.d.ts +7 -0
- package/lib/pipes/safe-html/safehtml.module.d.ts +8 -0
- package/lib/pipes/safe-html/safehtml.pipe.d.ts +10 -0
- package/lib/project-messages.d.ts +1 -0
- package/lib/questionaire/edit/questionnaire.component.d.ts +151 -0
- package/lib/questionaire/edit/questionnaire.module.d.ts +19 -0
- package/lib/questionaire/questionaire-service.d.ts +28 -0
- package/lib/session-storage.service.d.ts +26 -0
- package/lib/shared.service.d.ts +12 -3
- package/lib/showuploadfile/showuploadfile.component.d.ts +21 -0
- package/lib/showuploadfile/showuploadfile.module.d.ts +9 -0
- package/lib/spinner/loading-spinner.component.d.ts +11 -0
- package/lib/spinner/loading-spinner.module.d.ts +9 -0
- package/lib/storage.service.d.ts +16 -0
- package/lib/word-processor.service.d.ts +80 -0
- package/package.json +1 -1
- package/public-api.d.ts +26 -0
- package/jconsumer-shared-0.0.2.tgz +0 -0
package/lib/shared.service.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class SharedService {
|
|
3
|
+
environment: any;
|
|
3
4
|
accountID: string;
|
|
4
5
|
customID: string;
|
|
5
6
|
templateJSON: any;
|
|
@@ -8,23 +9,31 @@ export declare class SharedService {
|
|
|
8
9
|
apiEndPoint: string | undefined;
|
|
9
10
|
S3EndPoint: string | undefined;
|
|
10
11
|
SAPath: string | undefined;
|
|
12
|
+
routeID: string;
|
|
13
|
+
dateFormat: string;
|
|
11
14
|
constructor();
|
|
12
15
|
setUniqueID(uniqueId: string): void;
|
|
13
16
|
getUniqueID(): string;
|
|
17
|
+
getI8nPath(): any;
|
|
18
|
+
setI8nPath(path: any): void;
|
|
14
19
|
setTemplateID(templateID: string): void;
|
|
15
20
|
getTemplateID(): string;
|
|
21
|
+
getDateFormat(): string;
|
|
22
|
+
setDateFormat(dateFormat: string): void;
|
|
16
23
|
setTemplateJSON(templateJSON: any): void;
|
|
17
24
|
setAccountID(accountID: string): void;
|
|
18
25
|
getAccountID(): string;
|
|
19
26
|
setCustomID(customID: string): void;
|
|
20
27
|
getCustomID(): string;
|
|
21
28
|
getTemplateJSON(): any;
|
|
22
|
-
getConfigPath(): string
|
|
29
|
+
getConfigPath(): string;
|
|
23
30
|
setSAPath(SAPath: string): void;
|
|
24
|
-
getSAPath(): string
|
|
31
|
+
getSAPath(): string;
|
|
25
32
|
setConfigPath(s3EndPoint: string): void;
|
|
26
33
|
setAPIEndPoint(apiEndPoint: string): void;
|
|
27
|
-
getAPIEndPoint(): string
|
|
34
|
+
getAPIEndPoint(): string;
|
|
35
|
+
setRouteID(routeID: string): void;
|
|
36
|
+
getRouteID(): string;
|
|
28
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, never>;
|
|
29
38
|
static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
|
|
30
39
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { CommonService } from '../common.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShowuploadfileComponent implements OnInit {
|
|
6
|
+
private dialogRef;
|
|
7
|
+
private commonService;
|
|
8
|
+
data: any;
|
|
9
|
+
details: any;
|
|
10
|
+
locationImg: any;
|
|
11
|
+
cacheavoider: string;
|
|
12
|
+
title: string;
|
|
13
|
+
type: any;
|
|
14
|
+
theme: any;
|
|
15
|
+
constructor(dialogRef: MatDialogRef<ShowuploadfileComponent>, commonService: CommonService, data: any);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
showimg(imgurl: any): any;
|
|
18
|
+
closeDialog(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowuploadfileComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowuploadfileComponent, "app-showuploadfile", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./showuploadfile.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/dialog";
|
|
5
|
+
export declare class ShowuploadfileModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowuploadfileModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ShowuploadfileModule, [typeof i1.ShowuploadfileComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule], [typeof i1.ShowuploadfileComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ShowuploadfileModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LoadingSpinnerComponent implements OnInit {
|
|
4
|
+
spinnerParams: any;
|
|
5
|
+
diameter: any;
|
|
6
|
+
stroke: any;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingSpinnerComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingSpinnerComponent, "app-common-innerloading-spinner", never, { "spinnerParams": { "alias": "spinnerParams"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./loading-spinner.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/progress-spinner";
|
|
5
|
+
export declare class LoadingSpinnerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingSpinnerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LoadingSpinnerModule, [typeof i1.LoadingSpinnerComponent], [typeof i2.CommonModule, typeof i3.MatProgressSpinnerModule], [typeof i1.LoadingSpinnerComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LoadingSpinnerModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ServiceMeta } from './service-meta';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class StorageService {
|
|
4
|
+
private servicemeta;
|
|
5
|
+
private storage;
|
|
6
|
+
constructor(servicemeta: ServiceMeta);
|
|
7
|
+
clear(): void;
|
|
8
|
+
set(key: string, value: any): void;
|
|
9
|
+
get(key: string): any;
|
|
10
|
+
getSPConsumer(): import("rxjs").Observable<ArrayBuffer>;
|
|
11
|
+
getProviderConsumer(): Promise<unknown>;
|
|
12
|
+
getSalutationsRest(): import("rxjs").Observable<ArrayBuffer>;
|
|
13
|
+
getSalutations(): Promise<unknown>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class WordProcessor {
|
|
3
|
+
TIMEOUT_DELAY_LARGE10: number;
|
|
4
|
+
terminologies: any;
|
|
5
|
+
spterminologies: any;
|
|
6
|
+
constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Method to set the terminlogies for Jaldee
|
|
9
|
+
* @param terminologies
|
|
10
|
+
*/
|
|
11
|
+
setTerminologies(terminologies: any): void;
|
|
12
|
+
/**
|
|
13
|
+
* Method to get the terminologies
|
|
14
|
+
*/
|
|
15
|
+
getTerminologies(): any;
|
|
16
|
+
/**
|
|
17
|
+
* Method to set the sp terminlogies for Jaldee
|
|
18
|
+
* @param terminology
|
|
19
|
+
*/
|
|
20
|
+
setSPTerminologies(terminology: any): void;
|
|
21
|
+
/**
|
|
22
|
+
* Method to get the sp terminologies
|
|
23
|
+
*/
|
|
24
|
+
getSPTerminologies(): any;
|
|
25
|
+
/**
|
|
26
|
+
* Method returns the CamelCase
|
|
27
|
+
* @param str text to convert
|
|
28
|
+
*/
|
|
29
|
+
toCamelCase(str: any): any;
|
|
30
|
+
/**
|
|
31
|
+
* Convert the first letter to Uppercase
|
|
32
|
+
* @param str
|
|
33
|
+
*/
|
|
34
|
+
firstToUpper(str: any): any;
|
|
35
|
+
/**
|
|
36
|
+
* Show/Hide Success or Error Messages
|
|
37
|
+
* @param ob Object to put the message
|
|
38
|
+
* @param message Message to show
|
|
39
|
+
*/
|
|
40
|
+
apiSuccessAutoHide(ob: any, message: any): void;
|
|
41
|
+
/**
|
|
42
|
+
* Show error and hide it automatically
|
|
43
|
+
* @param ob Object holds the message
|
|
44
|
+
* @param error Message to be shown
|
|
45
|
+
*/
|
|
46
|
+
apiErrorAutoHide(ob: any, error: any): void;
|
|
47
|
+
/**
|
|
48
|
+
* Get the terminology from terminologies
|
|
49
|
+
* @param term
|
|
50
|
+
*/
|
|
51
|
+
getTerminologyTerm(term: any, terminologies?: any): any;
|
|
52
|
+
/**
|
|
53
|
+
* Replace the term within the full message
|
|
54
|
+
* @param term term to be replaced
|
|
55
|
+
* @param full_message full message
|
|
56
|
+
*/
|
|
57
|
+
removeTerminologyTerm(term: any, full_message: any): any;
|
|
58
|
+
/**
|
|
59
|
+
* Find the terminology
|
|
60
|
+
* @param message
|
|
61
|
+
*/
|
|
62
|
+
findTerminologyTerm(message: any): any;
|
|
63
|
+
/**
|
|
64
|
+
* get the message from the messages list
|
|
65
|
+
* @param key identifier for the message
|
|
66
|
+
*/
|
|
67
|
+
getProjectMesssages(key: any): any;
|
|
68
|
+
/**
|
|
69
|
+
* Extract error message from the error object
|
|
70
|
+
* @param error error message to shown
|
|
71
|
+
*/
|
|
72
|
+
getProjectErrorMesssages(message: any, terminologies?: any): any;
|
|
73
|
+
/**
|
|
74
|
+
* Get the terminology from terminologies
|
|
75
|
+
* @param term
|
|
76
|
+
*/
|
|
77
|
+
getSPTerminologyTerm(term: any): any;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WordProcessor, never>;
|
|
79
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WordProcessor>;
|
|
80
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -2,6 +2,32 @@ export * from './lib/service-meta';
|
|
|
2
2
|
export * from './lib/subscription.service';
|
|
3
3
|
export * from './lib/toast.service';
|
|
4
4
|
export * from './lib/shared.service';
|
|
5
|
+
export * from './lib/i8n.module';
|
|
5
6
|
export * from './lib/order.service';
|
|
7
|
+
export * from './lib/account-service';
|
|
8
|
+
export * from './lib/auth-service';
|
|
9
|
+
export * from './lib/file-service';
|
|
10
|
+
export * from './lib/common.service';
|
|
11
|
+
export * from './lib/storage.service';
|
|
12
|
+
export * from './lib/group-storage.service';
|
|
13
|
+
export * from './lib/local-storage.service';
|
|
14
|
+
export * from './lib/error-message.service';
|
|
15
|
+
export * from './lib/session-storage.service';
|
|
16
|
+
export * from './lib/word-processor.service';
|
|
17
|
+
export * from './lib/project-messages';
|
|
18
|
+
export * from './lib/pipes/safe-html/safehtml.pipe';
|
|
19
|
+
export * from './lib/pipes/limit-to/limitTo.pipe';
|
|
20
|
+
export * from './lib/pipes/filter/filter.pipe';
|
|
21
|
+
export * from './lib/pipes/capitalize/capitalize.pipe';
|
|
22
|
+
export * from './lib/pipes/autolink/autolink.pipe';
|
|
6
23
|
export * from './lib/skeleton/skeleton-loading.component';
|
|
7
24
|
export * from './lib/skeleton/skeleton-loading.module';
|
|
25
|
+
export * from './lib/spinner/loading-spinner.component';
|
|
26
|
+
export * from './lib/spinner/loading-spinner.module';
|
|
27
|
+
export * from './lib/questionaire/questionaire-service';
|
|
28
|
+
export * from './lib/questionaire/edit/questionnaire.component';
|
|
29
|
+
export * from './lib/questionaire/edit/questionnaire.module';
|
|
30
|
+
export * from './lib/showuploadfile/showuploadfile.component';
|
|
31
|
+
export * from './lib/showuploadfile/showuploadfile.module';
|
|
32
|
+
export * from './lib/phone-input/phone-input.component';
|
|
33
|
+
export * from './lib/phone-input/phone-input.module';
|
|
Binary file
|