simpo-component-library 2.1.19 → 2.1.21
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/components/document/document.component.mjs +3 -3
- package/esm2022/lib/components/input-fields/input-fields.component.mjs +18 -8
- package/esm2022/lib/components/payment-details/payment-details.component.mjs +3 -3
- package/esm2022/lib/sections/registration-form/registration-form.component.mjs +58 -47
- package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +2 -0
- package/esm2022/lib/services/rest.service.mjs +3 -3
- package/esm2022/lib/styles/types.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +78 -58
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/input-fields/input-fields.component.d.ts +4 -2
- package/lib/sections/registration-form/registration-form.component.d.ts +5 -3
- package/lib/sections/registration-form/registrationForm.model.d.ts +8 -0
- package/lib/services/rest.service.d.ts +1 -1
- package/lib/styles/types.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-2.1.21.tgz +0 -0
- package/simpo-component-library-2.1.19.tgz +0 -0
@@ -1,6 +1,7 @@
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
1
|
+
import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class InputFieldsComponent implements OnChanges {
|
4
|
+
private elementRef;
|
4
5
|
feild: any;
|
5
6
|
opacity: number | undefined;
|
6
7
|
bgColor?: string;
|
@@ -9,7 +10,7 @@ export declare class InputFieldsComponent implements OnChanges {
|
|
9
10
|
colorCode: string;
|
10
11
|
selectedDropdown: string | null;
|
11
12
|
enteredValue: string | null;
|
12
|
-
constructor();
|
13
|
+
constructor(elementRef: ElementRef);
|
13
14
|
ngOnChanges(changes: SimpleChanges): void;
|
14
15
|
handleMoneyInput(event: any): void;
|
15
16
|
get getTextColor(): "#FFF" | "#000";
|
@@ -17,6 +18,7 @@ export declare class InputFieldsComponent implements OnChanges {
|
|
17
18
|
padZero(str: string, length: number): string;
|
18
19
|
generateColorBasedOnNumber(number: number): string;
|
19
20
|
selectDropdown(value: string): void;
|
21
|
+
handleOutsideClick(event: MouseEvent): void;
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldsComponent, never>;
|
21
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputFieldsComponent, "simpo-input-fields", never, { "feild": { "alias": "feild"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; }, {}, never, never, true, never>;
|
22
24
|
}
|
@@ -5,10 +5,10 @@ import { OnDestroy, OnInit } from '@angular/core';
|
|
5
5
|
import { BackgroundModel, StylesModel } from '../../styles/style.model';
|
6
6
|
import { EventsService } from './../../services/events.service';
|
7
7
|
import BaseSection from '../BaseSection';
|
8
|
-
import { TextContentModel, TextSectionModel } from '../text-section/text-section.model';
|
9
8
|
import { ActivatedRoute } from '@angular/router';
|
10
9
|
import { DomSanitizer } from '@angular/platform-browser';
|
11
10
|
import { ImageUplaodService } from '../../services/image-upload-service.service';
|
11
|
+
import { RegistrationFormContentModel, RegistrationFormModel } from './registrationForm.model';
|
12
12
|
import * as i0 from "@angular/core";
|
13
13
|
export declare class RegistrationFormComponent extends BaseSection implements OnInit, OnDestroy {
|
14
14
|
private restService;
|
@@ -17,11 +17,11 @@ export declare class RegistrationFormComponent extends BaseSection implements On
|
|
17
17
|
private router;
|
18
18
|
ds: DomSanitizer;
|
19
19
|
imageUploadService: ImageUplaodService;
|
20
|
-
data?:
|
20
|
+
data?: RegistrationFormModel;
|
21
21
|
index?: number;
|
22
22
|
edit?: boolean;
|
23
23
|
nextComponentColor?: BackgroundModel;
|
24
|
-
content:
|
24
|
+
content: RegistrationFormContentModel | undefined;
|
25
25
|
styles: StylesModel | undefined;
|
26
26
|
constructor(restService: RestService, snackBar: MatSnackBar, _eventService: EventsService, router: ActivatedRoute, ds: DomSanitizer, imageUploadService: ImageUplaodService);
|
27
27
|
Object: ObjectConstructor;
|
@@ -32,8 +32,10 @@ export declare class RegistrationFormComponent extends BaseSection implements On
|
|
32
32
|
selectedGradeId: any;
|
33
33
|
selectedAcademicYear: any;
|
34
34
|
documentList: any[];
|
35
|
+
formStatus: string;
|
35
36
|
ngOnInit(): void;
|
36
37
|
ngOnDestroy(): void;
|
38
|
+
getFormdata(admissionId: string): void;
|
37
39
|
updateGrade(gradeList: any[], gradeName: any): void;
|
38
40
|
formatCheckBoxValue(field: any): void;
|
39
41
|
getAllFields(): void;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ImageModel } from '../banner-section/banner-section.model';
|
2
|
+
import { TextContentModel, TextSectionModel } from '../text-section/text-section.model';
|
3
|
+
export interface RegistrationFormModel extends TextSectionModel {
|
4
|
+
content: RegistrationFormContentModel;
|
5
|
+
}
|
6
|
+
export interface RegistrationFormContentModel extends TextContentModel {
|
7
|
+
image: ImageModel;
|
8
|
+
}
|
@@ -76,7 +76,7 @@ export declare class RestService implements OnDestroy {
|
|
76
76
|
getSubscriptionForFeeStructure(gradeId: any): Observable<Object>;
|
77
77
|
getFeeStructure(payload: any): Observable<Object>;
|
78
78
|
getAllDocument(payload: any): Observable<Object>;
|
79
|
-
|
79
|
+
getLeadById(leadId: any): Observable<Object>;
|
80
80
|
getRegistrationList(payload: any): Observable<Object>;
|
81
81
|
getFieldsToDisplay(fieldsList: any[]): any;
|
82
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
package/lib/styles/types.d.ts
CHANGED
@@ -15,6 +15,6 @@ export type SOCIAL_ICON_SIZE = 'large' | 'medium' | 'small';
|
|
15
15
|
export type SOCIAL_ICON_SHAPE = 'circle' | 'square' | 'rounded';
|
16
16
|
export type SOCIAL_ICON_TYPE = 'solid' | 'outline';
|
17
17
|
export type SITE_NAME_LOGo = 'custom' | 'same as header';
|
18
|
-
export type INPUT_FIELDS_TYPE = "text" | "number" | "desc" | "password" | "checkbox" | "option" | "money" | "rating" | "dropdown" | "address" | "email" | "date";
|
18
|
+
export type INPUT_FIELDS_TYPE = "text" | "number" | "desc" | "password" | "checkbox" | "option" | "money" | "rating" | "dropdown" | "address" | "email" | "date" | "radioButton";
|
19
19
|
export type MAP_STYLE = 'Streets' | 'Outdoors' | 'Light' | 'Dark' | 'Satellite' | 'Satellite_street' | 'navigation_day' | 'navigation_night';
|
20
20
|
export type BANNER_TRANSITION = 'Horizontal' | 'Animated';
|
package/package.json
CHANGED
Binary file
|
Binary file
|