jconsumer-shared 1.0.0 → 1.0.2
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 +4 -4
- package/esm2022/lib/auth-service.mjs +4 -4
- package/esm2022/lib/booking-service.mjs +4 -4
- package/esm2022/lib/calendar/date-time/datetime-processor.service.mjs +4 -4
- package/esm2022/lib/common.service.mjs +4 -4
- package/esm2022/lib/confirm/confirm-box.component.mjs +5 -5
- package/esm2022/lib/confirm/confirm-box.module.mjs +5 -5
- package/esm2022/lib/consumer-service.mjs +4 -4
- package/esm2022/lib/environment.service.mjs +4 -4
- package/esm2022/lib/error-message.module.mjs +5 -5
- package/esm2022/lib/file-service.mjs +4 -4
- package/esm2022/lib/form-message/field-error-display/field-error-display.component.mjs +4 -4
- package/esm2022/lib/form-message/form-message-display.module.mjs +5 -5
- package/esm2022/lib/form-message/form-message-display.service.mjs +4 -4
- package/esm2022/lib/form-message/form-success-display/form-success-display.component.mjs +4 -4
- package/esm2022/lib/group-storage.service.mjs +4 -4
- package/esm2022/lib/i8n.module.mjs +5 -5
- package/esm2022/lib/local-storage.service.mjs +4 -4
- package/esm2022/lib/media-service.mjs +4 -4
- package/esm2022/lib/order.service.mjs +4 -4
- package/esm2022/lib/payment/modes/payment-modes.component.mjs +4 -4
- package/esm2022/lib/payment/modes/payment-modes.module.mjs +5 -5
- package/esm2022/lib/payment/payment.module.mjs +5 -5
- package/esm2022/lib/paytm.service.mjs +4 -4
- package/esm2022/lib/phone-input/phone-input.component.mjs +4 -4
- package/esm2022/lib/phone-input/phone-input.module.mjs +5 -5
- package/esm2022/lib/pipes/autolink/autolink.module.mjs +5 -5
- package/esm2022/lib/pipes/autolink/autolink.pipe.mjs +4 -4
- package/esm2022/lib/pipes/capitalize/capitalize.module.mjs +5 -5
- package/esm2022/lib/pipes/capitalize/capitalize.pipe.mjs +4 -4
- package/esm2022/lib/pipes/date-format/date-format.module.mjs +5 -5
- package/esm2022/lib/pipes/date-format/date-format.pipe.mjs +4 -4
- package/esm2022/lib/pipes/filter/filter.pipe.mjs +4 -4
- package/esm2022/lib/pipes/limit-to/limitTo.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-html/safehtml.module.mjs +5 -5
- package/esm2022/lib/pipes/safe-html/safehtml.pipe.mjs +4 -4
- package/esm2022/lib/questionaire/edit/questionnaire.component.mjs +58 -73
- package/esm2022/lib/questionaire/edit/questionnaire.module.mjs +12 -12
- package/esm2022/lib/questionaire/questionaire-service.mjs +4 -4
- package/esm2022/lib/razorpay.service.mjs +4 -4
- package/esm2022/lib/request-dialog/request-dialog.component.mjs +4 -4
- package/esm2022/lib/request-dialog/request-dialog.module.mjs +5 -5
- package/esm2022/lib/service-meta.mjs +4 -4
- package/esm2022/lib/session-storage.service.mjs +4 -4
- package/esm2022/lib/shared-account.guard.mjs +4 -4
- package/esm2022/lib/shared-account.resolver.mjs +4 -4
- package/esm2022/lib/shared.service.mjs +4 -4
- package/esm2022/lib/showuploadfile/showuploadfile.component.mjs +5 -5
- package/esm2022/lib/showuploadfile/showuploadfile.module.mjs +5 -5
- package/esm2022/lib/skeleton/skeleton-loading.component.mjs +4 -4
- package/esm2022/lib/skeleton/skeleton-loading.module.mjs +5 -5
- package/esm2022/lib/spinner/loading-spinner.component.mjs +4 -4
- package/esm2022/lib/spinner/loading-spinner.module.mjs +5 -5
- package/esm2022/lib/storage.service.mjs +4 -4
- package/esm2022/lib/subscription.service.mjs +4 -4
- package/esm2022/lib/theme.service.mjs +11 -6
- package/esm2022/lib/timezone-converter.mjs +4 -4
- package/esm2022/lib/toast.service.mjs +4 -4
- package/esm2022/lib/twilio-service.mjs +4 -4
- package/esm2022/lib/utility/remote-loader.mjs +16 -0
- package/esm2022/lib/word-processor.service.mjs +4 -4
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/jconsumer-shared.mjs +280 -273
- package/fesm2022/jconsumer-shared.mjs.map +1 -1
- package/jconsumer-shared-1.0.2.tgz +0 -0
- package/lib/questionaire/edit/questionnaire.component.d.ts +5 -9
- package/lib/questionaire/edit/questionnaire.module.d.ts +10 -10
- package/lib/theme.service.d.ts +3 -2
- package/lib/utility/remote-loader.d.ts +7 -0
- package/package.json +4 -4
- package/public-api.d.ts +1 -0
- package/jconsumer-shared-1.0.0.tgz +0 -0
|
Binary file
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { ElementRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
3
3
|
import { ActivatedRoute } from '@angular/router';
|
|
4
|
-
import { ButtonsConfig, Image, ModalGalleryService } from '@ks89/angular-modal-gallery';
|
|
5
4
|
import { MatDialog } from '@angular/material/dialog';
|
|
6
5
|
import { Subscription } from 'rxjs';
|
|
7
6
|
import { QuestionaireService } from '../questionaire-service';
|
|
@@ -25,7 +24,6 @@ export declare class QuestionnaireComponent implements OnInit, OnChanges {
|
|
|
25
24
|
private questionaireService;
|
|
26
25
|
private errorService;
|
|
27
26
|
private toastService;
|
|
28
|
-
private modalGalleryService;
|
|
29
27
|
private sharedService;
|
|
30
28
|
private location;
|
|
31
29
|
questionnaireList: any;
|
|
@@ -63,8 +61,7 @@ export declare class QuestionnaireComponent implements OnInit, OnChanges {
|
|
|
63
61
|
uploadedImages: any;
|
|
64
62
|
bookingDetails: any;
|
|
65
63
|
file2: ElementRef;
|
|
66
|
-
|
|
67
|
-
image_list_popup: Image[];
|
|
64
|
+
image_list_popup: any;
|
|
68
65
|
questionnaire_heading: string;
|
|
69
66
|
customer_label: string;
|
|
70
67
|
editQuestionnaire: boolean;
|
|
@@ -98,7 +95,8 @@ export declare class QuestionnaireComponent implements OnInit, OnChanges {
|
|
|
98
95
|
serviceTotalPrice: number;
|
|
99
96
|
editableItem: any;
|
|
100
97
|
cdnPath: string;
|
|
101
|
-
|
|
98
|
+
lightGalleryContainer: ElementRef;
|
|
99
|
+
constructor(activated_route: ActivatedRoute, wordProcessor: WordProcessor, lStorageService: LocalStorageService, dateProcessor: DateTimeProcessor, dialog: MatDialog, fileService: FileService, commonService: CommonService, questionaireService: QuestionaireService, errorService: ErrorMessagingService, toastService: ToastService, sharedService: SharedService, location: Location);
|
|
102
100
|
ngOnDestroy(): void;
|
|
103
101
|
ngOnChanges(): void;
|
|
104
102
|
ngOnInit(): void;
|
|
@@ -122,11 +120,7 @@ export declare class QuestionnaireComponent implements OnInit, OnChanges {
|
|
|
122
120
|
getQuestion(question: any): any;
|
|
123
121
|
validateQuestionnaire(src?: any): void;
|
|
124
122
|
getImg(question: any, document: any): any;
|
|
125
|
-
onButtonBeforeHook(event: any): void;
|
|
126
123
|
openAttachmentGallery(question: any, document: any): void;
|
|
127
|
-
openImageModalRow(image: Image): void;
|
|
128
|
-
private getCurrentIndexCustomLayout;
|
|
129
|
-
openModal(id: number, imageIndex: number, buttonsConfig: ButtonsConfig): void;
|
|
130
124
|
showAudioVideoFile(file: any): void;
|
|
131
125
|
editQnr(): void;
|
|
132
126
|
getDocuments(question: any): any;
|
|
@@ -149,6 +143,8 @@ export declare class QuestionnaireComponent implements OnInit, OnChanges {
|
|
|
149
143
|
getItemQuantity(item: any): any;
|
|
150
144
|
decrement(removingItem: any): void;
|
|
151
145
|
disableInput(): boolean;
|
|
146
|
+
private getCurrentIndexCustomLayout;
|
|
147
|
+
openGallery(image: any): void;
|
|
152
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireComponent, never>;
|
|
153
149
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionnaireComponent, "app-questionnaire", never, { "questionnaireList": { "alias": "questionnaireList"; "required": false; }; "source": { "alias": "source"; "required": false; }; "accountId": { "alias": "accountId"; "required": false; }; "questionAnswers": { "alias": "questionAnswers"; "required": false; }; "customerDetails": { "alias": "customerDetails"; "required": false; }; "uuid": { "alias": "uuid"; "required": false; }; "type": { "alias": "type"; "required": false; }; "waitlistStatus": { "alias": "waitlistStatus"; "required": false; }; "orderStatus": { "alias": "orderStatus"; "required": false; }; "donationDetails": { "alias": "donationDetails"; "required": false; }; "service": { "alias": "service"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "tempType": { "alias": "tempType"; "required": false; }; "bookingType": { "alias": "bookingType"; "required": false; }; }, { "fileChanged": "fileChanged"; "returnAnswers": "returnAnswers"; }, never, never, false, never>;
|
|
154
150
|
}
|
|
@@ -4,17 +4,17 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "../../spinner/loading-spinner.module";
|
|
6
6
|
import * as i5 from "../../pipes/capitalize/capitalize.module";
|
|
7
|
-
import * as i6 from "@
|
|
8
|
-
import * as i7 from "@angular/material/
|
|
9
|
-
import * as i8 from "@angular/material/
|
|
10
|
-
import * as i9 from "@angular/material/
|
|
11
|
-
import * as i10 from "@angular/material/
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "../../
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
7
|
+
import * as i6 from "@angular/material/datepicker";
|
|
8
|
+
import * as i7 from "@angular/material/checkbox";
|
|
9
|
+
import * as i8 from "@angular/material/slide-toggle";
|
|
10
|
+
import * as i9 from "@angular/material/core";
|
|
11
|
+
import * as i10 from "@angular/material/select";
|
|
12
|
+
import * as i11 from "../../pipes/safe-html/safehtml.module";
|
|
13
|
+
import * as i12 from "../../error-message.module";
|
|
14
|
+
import * as i13 from "@angular/material/icon";
|
|
15
|
+
import * as i14 from "lightgallery/angular";
|
|
16
16
|
export declare class QuestionnaireModule {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QuestionnaireModule, [typeof i1.QuestionnaireComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.LoadingSpinnerModule, typeof i5.CapitalizeFirstPipeModule, typeof i6.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QuestionnaireModule, [typeof i1.QuestionnaireComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.LoadingSpinnerModule, typeof i5.CapitalizeFirstPipeModule, typeof i6.MatDatepickerModule, typeof i7.MatCheckboxModule, typeof i8.MatSlideToggleModule, typeof i9.MatOptionModule, typeof i10.MatSelectModule, typeof i11.SafeHtmlModule, typeof i12.ErrrorMessageModule, typeof i13.MatIconModule, typeof i14.LightgalleryModule], [typeof i1.QuestionnaireComponent]>;
|
|
19
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<QuestionnaireModule>;
|
|
20
20
|
}
|
package/lib/theme.service.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { RendererFactory2 } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, RendererFactory2 } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ThemeService {
|
|
4
|
+
private cdr;
|
|
4
5
|
private renderer;
|
|
5
6
|
private themeLinkElement;
|
|
6
|
-
constructor(rendererFactory: RendererFactory2);
|
|
7
|
+
constructor(rendererFactory: RendererFactory2, cdr: ChangeDetectorRef);
|
|
7
8
|
loadTheme(themeName: string): void;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
9
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
package/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jconsumer-shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^18.2.0",
|
|
6
6
|
"@angular/core": "^18.2.0"
|
|
7
7
|
},
|
|
8
|
-
"dependencies": {
|
|
9
|
-
"tslib": "^2.3.0"
|
|
10
|
-
},
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"module": "fesm2022/jconsumer-shared.mjs",
|
|
13
10
|
"typings": "index.d.ts",
|
|
@@ -21,5 +18,8 @@
|
|
|
21
18
|
"esm": "./esm2022/jconsumer-shared.mjs",
|
|
22
19
|
"default": "./fesm2022/jconsumer-shared.mjs"
|
|
23
20
|
}
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"tslib": "^2.3.0"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/public-api.d.ts
CHANGED
|
Binary file
|