simpo-component-library 2.1.25 → 2.1.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  }
@@ -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,21 +5,25 @@ 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';
9
+ import { DomSanitizer } from '@angular/platform-browser';
10
+ import { ImageUplaodService } from '../../services/image-upload-service.service';
11
+ import { RegistrationFormContentModel, RegistrationFormModel } from './registrationForm.model';
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;
16
- data?: TextSectionModel;
18
+ ds: DomSanitizer;
19
+ imageUploadService: ImageUplaodService;
20
+ data?: RegistrationFormModel;
17
21
  index?: number;
18
22
  edit?: boolean;
19
23
  nextComponentColor?: BackgroundModel;
20
- content: TextContentModel | undefined;
24
+ content: RegistrationFormContentModel | 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,22 +31,35 @@ export declare class RegistrationFormComponent extends BaseSection implements On
27
31
  businessId: any;
28
32
  selectedGradeId: any;
29
33
  selectedAcademicYear: any;
34
+ documentList: any[];
35
+ formStatus: string;
36
+ studentLiveWith: any;
37
+ backupDocFile?: File;
30
38
  ngOnInit(): void;
31
39
  ngOnDestroy(): void;
40
+ getFormdata(admissionId: string): void;
41
+ updateGrade(gradeList: any[], gradeName: any): void;
42
+ formatCheckBoxValue(field: any): void;
32
43
  getAllFields(): void;
44
+ getALLDocumentList(): void;
33
45
  formFieldChangeSubscription?: Subscription;
34
46
  formFieldChanged(): void;
35
- submitForm(): void;
47
+ submitForm(): Promise<void>;
36
48
  registrationSubscription?: Subscription;
37
49
  createRegistration(): void;
38
- createAdmission(): void;
50
+ createAdmission(): Promise<void>;
39
51
  convertToListOfFields(): any[];
52
+ getCheckBoxValue(field: any): any[];
53
+ fileData?: File;
40
54
  updateAdmissionImage(ev: any): void;
55
+ deleteImg(): void;
41
56
  redirectToPayment(): void;
42
57
  continueAdmission(): void;
43
58
  subscriptionsData: any[];
44
59
  getFeeStructure(): void;
45
60
  inputFieldChange(item: any, field: any): void;
61
+ masterDropdownValueChange(item: any, field: any): void;
62
+ uploadBackUpDocument(ev: any): void;
46
63
  arrangeSubscriptionForAdmission(subscriptionList: any[]): any;
47
64
  arrangeFeeConfig(feeConfigList: any[]): any;
48
65
  static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationFormComponent, never>;
@@ -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
+ }
@@ -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
+ getLeadById(leadId: 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>;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "2.1.25",
3
+ "version": "2.1.27",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file