simpo-component-library 2.1.18 → 2.1.19
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/document/document.component.mjs +34 -0
- package/esm2022/lib/components/index.mjs +6 -5
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/sections/registration-form/registration-form.component.mjs +163 -26
- package/esm2022/lib/services/image-upload-service.service.mjs +39 -0
- package/esm2022/lib/services/rest.service.mjs +13 -4
- package/fesm2022/simpo-component-library.mjs +349 -142
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/document/document.component.d.ts +8 -0
- package/lib/components/index.d.ts +2 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/sections/registration-form/registration-form.component.d.ts +14 -3
- package/lib/services/image-upload-service.service.d.ts +7 -0
- package/lib/services/rest.service.d.ts +3 -0
- package/package.json +1 -1
- package/simpo-component-library-2.1.19.tgz +0 -0
- package/simpo-component-library-2.1.18.tgz +0 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class DocumentComponent {
|
3
|
+
documentList: any[];
|
4
|
+
constructor();
|
5
|
+
uploadDocument(ev: any, file: any): void;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentComponent, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentComponent, "simpo-document", never, { "documentList": { "alias": "documentList"; "required": false; }; }, {}, never, never, true, never>;
|
8
|
+
}
|
@@ -4,8 +4,9 @@ import * as i2 from "./delete-hover-element/delete-hover-element.component";
|
|
4
4
|
import * as i3 from "./input-fields/input-fields.component";
|
5
5
|
import * as i4 from "ngx-skeleton-loader";
|
6
6
|
import * as i5 from "./payment-details/payment-details.component";
|
7
|
+
import * as i6 from "./document/document.component";
|
7
8
|
export declare class SimpoComponentModule {
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoComponentModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpoComponentModule, never, [typeof i1.HoverElementsComponent, typeof i2.DeleteHoverElementComponent, typeof i3.InputFieldsComponent, typeof i4.NgxSkeletonLoaderModule, typeof i5.PaymentDetailsComponent], [typeof i1.HoverElementsComponent, typeof i2.DeleteHoverElementComponent, typeof i3.InputFieldsComponent, typeof i4.NgxSkeletonLoaderModule, typeof i5.PaymentDetailsComponent]>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpoComponentModule, never, [typeof i1.HoverElementsComponent, typeof i2.DeleteHoverElementComponent, typeof i3.InputFieldsComponent, typeof i4.NgxSkeletonLoaderModule, typeof i5.PaymentDetailsComponent, typeof i6.DocumentComponent], [typeof i1.HoverElementsComponent, typeof i2.DeleteHoverElementComponent, typeof i3.InputFieldsComponent, typeof i4.NgxSkeletonLoaderModule, typeof i5.PaymentDetailsComponent, typeof i6.DocumentComponent]>;
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<SimpoComponentModule>;
|
11
12
|
}
|
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
14
|
-
getTextColor(bgColor: string): "#
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
17
17
|
}
|
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
15
15
|
applyButtonStyleChanges(): void;
|
16
16
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
17
17
|
applyButtonShape(style: ButtonStyleModel): void;
|
18
|
-
getTextColor(bgColor: string): "#
|
18
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
19
19
|
buttonStyleSubscription?: Subscription;
|
20
20
|
buttonStyleChangeCheck(): void;
|
21
21
|
changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
applyColor(): void;
|
14
14
|
bgColorChangeCheck(): void;
|
15
|
-
getTextColor(): "#
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
18
18
|
}
|
@@ -17,7 +17,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
17
17
|
style?: PricingSectionStylesModel;
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
|
-
getTextColor(): "#
|
20
|
+
getTextColor(): "#000000" | "#ffffff";
|
21
21
|
get headingSpace(): SPACING;
|
22
22
|
editSection(): void;
|
23
23
|
redirectTo(): void;
|
@@ -7,19 +7,23 @@ import { EventsService } from './../../services/events.service';
|
|
7
7
|
import BaseSection from '../BaseSection';
|
8
8
|
import { TextContentModel, TextSectionModel } from '../text-section/text-section.model';
|
9
9
|
import { ActivatedRoute } from '@angular/router';
|
10
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
11
|
+
import { ImageUplaodService } from '../../services/image-upload-service.service';
|
10
12
|
import * as i0 from "@angular/core";
|
11
13
|
export declare class RegistrationFormComponent extends BaseSection implements OnInit, OnDestroy {
|
12
14
|
private restService;
|
13
15
|
private snackBar;
|
14
16
|
private _eventService;
|
15
17
|
private router;
|
18
|
+
ds: DomSanitizer;
|
19
|
+
imageUploadService: ImageUplaodService;
|
16
20
|
data?: TextSectionModel;
|
17
21
|
index?: number;
|
18
22
|
edit?: boolean;
|
19
23
|
nextComponentColor?: BackgroundModel;
|
20
24
|
content: TextContentModel | undefined;
|
21
25
|
styles: StylesModel | undefined;
|
22
|
-
constructor(restService: RestService, snackBar: MatSnackBar, _eventService: EventsService, router: ActivatedRoute);
|
26
|
+
constructor(restService: RestService, snackBar: MatSnackBar, _eventService: EventsService, router: ActivatedRoute, ds: DomSanitizer, imageUploadService: ImageUplaodService);
|
23
27
|
Object: ObjectConstructor;
|
24
28
|
payload: any;
|
25
29
|
selectedKey: any;
|
@@ -27,17 +31,24 @@ export declare class RegistrationFormComponent extends BaseSection implements On
|
|
27
31
|
businessId: any;
|
28
32
|
selectedGradeId: any;
|
29
33
|
selectedAcademicYear: any;
|
34
|
+
documentList: any[];
|
30
35
|
ngOnInit(): void;
|
31
36
|
ngOnDestroy(): void;
|
37
|
+
updateGrade(gradeList: any[], gradeName: any): void;
|
38
|
+
formatCheckBoxValue(field: any): void;
|
32
39
|
getAllFields(): void;
|
40
|
+
getALLDocumentList(): void;
|
33
41
|
formFieldChangeSubscription?: Subscription;
|
34
42
|
formFieldChanged(): void;
|
35
|
-
submitForm(): void
|
43
|
+
submitForm(): Promise<void>;
|
36
44
|
registrationSubscription?: Subscription;
|
37
45
|
createRegistration(): void;
|
38
|
-
createAdmission(): void
|
46
|
+
createAdmission(): Promise<void>;
|
39
47
|
convertToListOfFields(): any[];
|
48
|
+
getCheckBoxValue(field: any): any[];
|
49
|
+
fileData?: File;
|
40
50
|
updateAdmissionImage(ev: any): void;
|
51
|
+
deleteImg(): void;
|
41
52
|
redirectToPayment(): void;
|
42
53
|
continueAdmission(): void;
|
43
54
|
subscriptionsData: any[];
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class ImageUplaodService {
|
3
|
+
cmisFileUpload: any;
|
4
|
+
uploadFileInAzure(file: File, folderName?: string): Promise<import("@azure/storage-blob").BlockBlobClient | null>;
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageUplaodService, never>;
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ImageUplaodService>;
|
7
|
+
}
|
@@ -75,6 +75,9 @@ export declare class RestService implements OnDestroy {
|
|
75
75
|
createRegistrationForPayment(payload: any): Observable<Object>;
|
76
76
|
getSubscriptionForFeeStructure(gradeId: any): Observable<Object>;
|
77
77
|
getFeeStructure(payload: any): Observable<Object>;
|
78
|
+
getAllDocument(payload: any): Observable<Object>;
|
79
|
+
getAdmissionDataById(id: any): Observable<Object>;
|
80
|
+
getRegistrationList(payload: any): Observable<Object>;
|
78
81
|
getFieldsToDisplay(fieldsList: any[]): any;
|
79
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
80
83
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|