simpo-component-library 2.1.29 → 2.1.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. package/README.md +24 -24
  2. package/esm2022/lib/components/delete-hover-element/delete-hover-element.component.mjs +3 -3
  3. package/esm2022/lib/components/image-loading/image-loading.component.mjs +3 -3
  4. package/esm2022/lib/components/index.mjs +5 -6
  5. package/esm2022/lib/components/input-fields/input-fields.component.mjs +8 -18
  6. package/esm2022/lib/components/payment-details/payment-details.component.mjs +5 -25
  7. package/esm2022/lib/constants/business.constant.mjs +1 -1
  8. package/esm2022/lib/directive/blur-content.directive.mjs +1 -1
  9. package/esm2022/lib/directive/borderlessImage.directive.mjs +1 -1
  10. package/esm2022/lib/directive/button-directive.directive.mjs +1 -1
  11. package/esm2022/lib/directive/color.directive.mjs +1 -1
  12. package/esm2022/lib/directive/column-directive.directive.mjs +1 -1
  13. package/esm2022/lib/directive/container-alignment.directive.mjs +1 -1
  14. package/esm2022/lib/directive/container-fir.directive.mjs +1 -1
  15. package/esm2022/lib/directive/content-title-spacing.directive.mjs +1 -1
  16. package/esm2022/lib/directive/corner-directive.mjs +1 -1
  17. package/esm2022/lib/directive/hoverborder.directive.mjs +1 -1
  18. package/esm2022/lib/directive/image-container.directive.mjs +1 -1
  19. package/esm2022/lib/directive/image-directive.directive.mjs +1 -1
  20. package/esm2022/lib/directive/image-position.directive.mjs +1 -1
  21. package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
  22. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +1 -1
  23. package/esm2022/lib/directive/sticky-directive.mjs +1 -1
  24. package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
  25. package/esm2022/lib/directive/text-size.directive.mjs +1 -1
  26. package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
  27. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  28. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  29. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +3 -3
  30. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
  31. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  32. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  33. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  34. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  35. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  36. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  37. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
  38. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  39. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  40. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  41. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  42. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  43. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
  44. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  45. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
  46. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
  47. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  48. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
  49. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  50. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  51. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  52. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  53. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  54. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
  55. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  56. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
  57. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  58. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  59. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  60. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  61. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  62. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  63. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  64. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  65. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  66. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  67. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  68. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  69. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  70. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  71. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  72. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  73. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
  74. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  75. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  76. package/esm2022/lib/elements/index.mjs +1 -1
  77. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  78. package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +3 -3
  79. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  80. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  81. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  82. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  83. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  84. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  85. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +3 -3
  86. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  87. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  88. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  89. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  90. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
  91. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  92. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  93. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  94. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
  95. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  96. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  97. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  98. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  99. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +9 -4
  100. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  101. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  102. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  103. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  104. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  105. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  106. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  107. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  108. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  109. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  110. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  111. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  112. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +9 -4
  113. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  114. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  115. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  116. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  117. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  118. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  119. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  120. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  121. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +27 -205
  122. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  123. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  124. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  125. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  126. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  127. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  128. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  129. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  130. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  131. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
  132. package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
  133. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  134. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  135. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  136. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
  137. package/esm2022/lib/services/cart.service.mjs +1 -1
  138. package/esm2022/lib/services/endUser.service.mjs +1 -1
  139. package/esm2022/lib/services/rest.service.mjs +4 -13
  140. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  141. package/esm2022/lib/services/storage.service.mjs +1 -1
  142. package/esm2022/lib/styles/index.mjs +1 -1
  143. package/esm2022/lib/styles/style.model.mjs +1 -1
  144. package/esm2022/lib/styles/types.mjs +1 -1
  145. package/esm2022/public-api.mjs +1 -1
  146. package/fesm2022/simpo-component-library.mjs +234 -495
  147. package/fesm2022/simpo-component-library.mjs.map +1 -1
  148. package/lib/components/index.d.ts +1 -2
  149. package/lib/components/input-fields/input-fields.component.d.ts +2 -4
  150. package/lib/components/payment-details/payment-details.component.d.ts +1 -3
  151. package/lib/sections/footer-section/footer-section.component.d.ts +2 -1
  152. package/lib/sections/navbar-section/navbar-section.component.d.ts +2 -1
  153. package/lib/sections/registration-form/registration-form.component.d.ts +6 -24
  154. package/lib/services/rest.service.d.ts +0 -3
  155. package/lib/styles/types.d.ts +1 -1
  156. package/package.json +1 -1
  157. package/simpo-component-library-2.1.50.tgz +0 -0
  158. package/src/lib/styles/global-styles.css +86 -86
  159. package/esm2022/lib/components/document/document.component.mjs +0 -34
  160. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +0 -2
  161. package/esm2022/lib/services/image-upload-service.service.mjs +0 -39
  162. package/lib/components/document/document.component.d.ts +0 -8
  163. package/lib/sections/registration-form/registrationForm.model.d.ts +0 -8
  164. package/lib/services/image-upload-service.service.d.ts +0 -7
  165. package/simpo-component-library-2.1.29.tgz +0 -0
@@ -4,9 +4,8 @@ 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";
8
7
  export declare class SimpoComponentModule {
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpoComponentModule, never>;
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]>;
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]>;
11
10
  static ɵinj: i0.ɵɵInjectorDeclaration<SimpoComponentModule>;
12
11
  }
@@ -1,7 +1,6 @@
1
- import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class InputFieldsComponent implements OnChanges {
4
- private elementRef;
5
4
  feild: any;
6
5
  opacity: number | undefined;
7
6
  bgColor?: string;
@@ -10,7 +9,7 @@ export declare class InputFieldsComponent implements OnChanges {
10
9
  colorCode: string;
11
10
  selectedDropdown: string | null;
12
11
  enteredValue: string | null;
13
- constructor(elementRef: ElementRef);
12
+ constructor();
14
13
  ngOnChanges(changes: SimpleChanges): void;
15
14
  handleMoneyInput(event: any): void;
16
15
  get getTextColor(): "#FFF" | "#000";
@@ -18,7 +17,6 @@ export declare class InputFieldsComponent implements OnChanges {
18
17
  padZero(str: string, length: number): string;
19
18
  generateColorBasedOnNumber(number: number): string;
20
19
  selectDropdown(value: string): void;
21
- handleOutsideClick(event: MouseEvent): void;
22
20
  static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldsComponent, never>;
23
21
  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>;
24
22
  }
@@ -2,7 +2,6 @@ import * as i0 from "@angular/core";
2
2
  export declare class PaymentDetailsComponent {
3
3
  admissionData: any;
4
4
  subscriptionsData: any[];
5
- termPaymentList: any[];
6
5
  Object: ObjectConstructor;
7
6
  constructor();
8
7
  feeStructure: any;
@@ -12,9 +11,8 @@ export declare class PaymentDetailsComponent {
12
11
  subscriptions: any;
13
12
  toggleSelection(subscription: any, frequency: string): void;
14
13
  calculateTotalAmount(): void;
15
- changeAnnualPaymentTerm(payentType: any): void;
16
14
  arrangeSubscriptionForAdmission(subscriptionList: any[]): any;
17
15
  arrangeFeeConfig(feeConfigList: any[]): any;
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentDetailsComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<PaymentDetailsComponent, "simpo-payment-details", never, { "admissionData": { "alias": "admissionData"; "required": false; }; "subscriptionsData": { "alias": "subscriptionsData"; "required": false; }; "termPaymentList": { "alias": "termPaymentList"; "required": false; }; }, {}, never, never, true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaymentDetailsComponent, "simpo-payment-details", never, { "admissionData": { "alias": "admissionData"; "required": false; }; "subscriptionsData": { "alias": "subscriptionsData"; "required": false; }; }, {}, never, never, true, never>;
20
18
  }
@@ -3,7 +3,7 @@ import { FooterContentModel, FooterSectionModel, FooterStylesModel } from './foo
3
3
  import { FooterTypes } from '../../styles/index';
4
4
  import { EventsService } from './../../services/events.service';
5
5
  import BaseSection from '../BaseSection';
6
- import { BackgroundModel } from '../../styles/style.model';
6
+ import { BackgroundModel, LayOutModel } from '../../styles/style.model';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class FooterSectionComponent extends BaseSection implements OnInit {
9
9
  private _eventService;
@@ -19,6 +19,7 @@ export declare class FooterSectionComponent extends BaseSection implements OnIni
19
19
  footerTypes: typeof FooterTypes;
20
20
  constructor(_eventService: EventsService);
21
21
  ngOnInit(): void;
22
+ get stylesLayout(): LayOutModel;
22
23
  editSection(): void;
23
24
  changePage(pageData?: any): void;
24
25
  get checkFooter(): boolean;
@@ -1,7 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { HeaderContentModel, HeaderSectionModel, HeaderStyleModel } from './navbar-section.model';
3
3
  import { EventsService } from './../../services/events.service';
4
- import { ActionModel } from '../../styles/style.model';
4
+ import { ActionModel, LayOutModel } from '../../styles/style.model';
5
5
  import { ActivatedRoute, Router } from '@angular/router';
6
6
  import { MatDialog } from '@angular/material/dialog';
7
7
  import { CookieService } from 'ngx-cookie-service';
@@ -36,6 +36,7 @@ export declare class NavbarSectionComponent implements OnInit {
36
36
  constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService, restService: RestService);
37
37
  searchProducts(): void;
38
38
  goToFav(): void;
39
+ get stylesLayout(): LayOutModel;
39
40
  goToAccount(): void;
40
41
  goToWishlist(): void;
41
42
  goToCart(): void;
@@ -5,25 +5,21 @@ 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';
8
9
  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';
12
10
  import * as i0 from "@angular/core";
13
11
  export declare class RegistrationFormComponent extends BaseSection implements OnInit, OnDestroy {
14
12
  private restService;
15
13
  private snackBar;
16
14
  private _eventService;
17
15
  private router;
18
- ds: DomSanitizer;
19
- imageUploadService: ImageUplaodService;
20
- data?: RegistrationFormModel;
16
+ data?: TextSectionModel;
21
17
  index?: number;
22
18
  edit?: boolean;
23
19
  nextComponentColor?: BackgroundModel;
24
- content: RegistrationFormContentModel | undefined;
20
+ content: TextContentModel | undefined;
25
21
  styles: StylesModel | undefined;
26
- constructor(restService: RestService, snackBar: MatSnackBar, _eventService: EventsService, router: ActivatedRoute, ds: DomSanitizer, imageUploadService: ImageUplaodService);
22
+ constructor(restService: RestService, snackBar: MatSnackBar, _eventService: EventsService, router: ActivatedRoute);
27
23
  Object: ObjectConstructor;
28
24
  payload: any;
29
25
  selectedKey: any;
@@ -31,36 +27,22 @@ export declare class RegistrationFormComponent extends BaseSection implements On
31
27
  businessId: any;
32
28
  selectedGradeId: any;
33
29
  selectedAcademicYear: any;
34
- documentList: any[];
35
- formStatus: string;
36
- studentLiveWith: any;
37
- backupDocFile?: File;
38
30
  ngOnInit(): void;
39
31
  ngOnDestroy(): void;
40
- getFormdata(admissionId: string): void;
41
- updateGrade(gradeList: any[], gradeName: any): void;
42
- formatCheckBoxValue(field: any): void;
43
32
  getAllFields(): void;
44
- getALLDocumentList(): void;
45
33
  formFieldChangeSubscription?: Subscription;
46
34
  formFieldChanged(): void;
47
- submitForm(): Promise<void>;
35
+ submitForm(): void;
48
36
  registrationSubscription?: Subscription;
49
37
  createRegistration(): void;
50
- createAdmission(): Promise<void>;
38
+ createAdmission(): void;
51
39
  convertToListOfFields(): any[];
52
- getCheckBoxValue(field: any): any[];
53
- fileData?: File;
54
40
  updateAdmissionImage(ev: any): void;
55
- deleteImg(): void;
56
41
  redirectToPayment(): void;
57
42
  continueAdmission(): void;
58
43
  subscriptionsData: any[];
59
- termPaymentList: any[];
60
44
  getFeeStructure(): void;
61
45
  inputFieldChange(item: any, field: any): void;
62
- masterDropdownValueChange(item: any, field: any): void;
63
- uploadBackUpDocument(ev: any): void;
64
46
  arrangeSubscriptionForAdmission(subscriptionList: any[]): any;
65
47
  arrangeFeeConfig(feeConfigList: any[]): any;
66
48
  static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationFormComponent, never>;
@@ -75,9 +75,6 @@ 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>;
81
78
  getFieldsToDisplay(fieldsList: any[]): any;
82
79
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
83
80
  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" | "radioButton";
18
+ export type INPUT_FIELDS_TYPE = "text" | "number" | "desc" | "password" | "checkbox" | "option" | "money" | "rating" | "dropdown" | "address" | "email" | "date";
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.29",
3
+ "version": "2.1.50",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
@@ -1,86 +1,86 @@
1
- @media screen and (min-width: 1280px) {
2
- .content-side {
3
- h1 {
4
- font-size: 72px!important;
5
- line-height: 80px!important;
6
- }
7
- h2 {
8
- font-size: 48px!important;
9
- line-height: 56px!important;
10
- }
11
- h3 {
12
- font-size: 32px!important;
13
- line-height: 40px!important;
14
- }
15
- h4 {
16
- font-size: 24px!important;
17
- line-height: 36px!important;
18
- }
19
- h5 {
20
- font-size: 18px!important;
21
- line-height: 28px!important;
22
- }
23
- p{
24
- font-size: 16px!important;
25
- line-height: 21px!important;
26
- }
27
- }
28
-
29
- }
30
-
31
- @media screen and (min-width: 768px) {
32
- .content-side {
33
- h1 {
34
- font-size: 46px;
35
- line-height: 54px;
36
- }
37
- h2 {
38
- font-size: 35px;
39
- line-height: 42px;
40
- }
41
- h3 {
42
- font-size: 28px;
43
- line-height: 36px;
44
- }
45
- h4 {
46
- font-size: 18px;
47
- line-height: 26px;
48
- }
49
- h5 {
50
- font-size: 16px;
51
- line-height: 24px;
52
- }
53
- p{
54
- font-size: 14px;
55
- line-height: 21px;
56
- }
57
- }
58
-
59
- }
60
-
61
- .content-side {
62
- h1 {
63
- font-size: 36px;
64
- line-height: 42px;
65
- }
66
- h2 {
67
- font-size: 30px;
68
- line-height: 36px;
69
- }
70
- h3 {
71
- font-size: 24px;
72
- line-height: 32px;
73
- }
74
- h4 {
75
- font-size: 18px;
76
- line-height: 26px;
77
- }
78
- h5 {
79
- font-size: 16px;
80
- line-height: 24px;
81
- }
82
- p{
83
- font-size: 14px;
84
- line-height: 21px;
85
- }
86
- }
1
+ @media screen and (min-width: 1280px) {
2
+ .content-side {
3
+ h1 {
4
+ font-size: 72px!important;
5
+ line-height: 80px!important;
6
+ }
7
+ h2 {
8
+ font-size: 48px!important;
9
+ line-height: 56px!important;
10
+ }
11
+ h3 {
12
+ font-size: 32px!important;
13
+ line-height: 40px!important;
14
+ }
15
+ h4 {
16
+ font-size: 24px!important;
17
+ line-height: 36px!important;
18
+ }
19
+ h5 {
20
+ font-size: 18px!important;
21
+ line-height: 28px!important;
22
+ }
23
+ p{
24
+ font-size: 16px!important;
25
+ line-height: 21px!important;
26
+ }
27
+ }
28
+
29
+ }
30
+
31
+ @media screen and (min-width: 768px) {
32
+ .content-side {
33
+ h1 {
34
+ font-size: 46px;
35
+ line-height: 54px;
36
+ }
37
+ h2 {
38
+ font-size: 35px;
39
+ line-height: 42px;
40
+ }
41
+ h3 {
42
+ font-size: 28px;
43
+ line-height: 36px;
44
+ }
45
+ h4 {
46
+ font-size: 18px;
47
+ line-height: 26px;
48
+ }
49
+ h5 {
50
+ font-size: 16px;
51
+ line-height: 24px;
52
+ }
53
+ p{
54
+ font-size: 14px;
55
+ line-height: 21px;
56
+ }
57
+ }
58
+
59
+ }
60
+
61
+ .content-side {
62
+ h1 {
63
+ font-size: 36px;
64
+ line-height: 42px;
65
+ }
66
+ h2 {
67
+ font-size: 30px;
68
+ line-height: 36px;
69
+ }
70
+ h3 {
71
+ font-size: 24px;
72
+ line-height: 32px;
73
+ }
74
+ h4 {
75
+ font-size: 18px;
76
+ line-height: 26px;
77
+ }
78
+ h5 {
79
+ font-size: 16px;
80
+ line-height: 24px;
81
+ }
82
+ p{
83
+ font-size: 14px;
84
+ line-height: 21px;
85
+ }
86
+ }
@@ -1,34 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, Input } from '@angular/core';
3
- import { FormsModule } from '@angular/forms';
4
- import { MatIconModule } from '@angular/material/icon';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/material/icon";
7
- import * as i2 from "@angular/common";
8
- export class DocumentComponent {
9
- constructor() {
10
- this.documentList = [];
11
- }
12
- uploadDocument(ev, file) {
13
- file.file = ev.srcElement.files[0];
14
- if (file?.file?.type?.includes('video')) {
15
- file.type = 'VIDEO';
16
- }
17
- else if (file?.file?.type?.includes('image')) {
18
- file.type = 'IMAGE';
19
- }
20
- else {
21
- file.type = 'FILE';
22
- }
23
- console.log(file);
24
- }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: DocumentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: DocumentComponent, isStandalone: true, selector: "simpo-document", inputs: { documentList: "documentList" }, ngImport: i0, template: "<section class=\"main-section p-2\">\r\n <div class=\"list_tabs heading d-flex align-items-center\">\r\n Required Document\r\n </div>\r\n\r\n <div class=\"document-section\">\r\n <div class=\"document\" *ngFor=\"let document of documentList\">\r\n <div class=\"left-side\">\r\n <img src=\"https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/183907c1734627971492pdf.png\" alt=\"\">\r\n <p>{{document.displayText}}</p>\r\n </div>\r\n <div class=\"right-side\" (click)=\"fileInput.click()\" *ngIf=\"!(document.file || document.url)\">\r\n <div>Upload</div>\r\n </div>\r\n <div class=\"right-side\" *ngIf=\"document.file || document.url\">\r\n <mat-icon>delete</mat-icon>\r\n </div>\r\n\r\n <input id=\"vendorImage\" type=\"file\" name=\"myfile\" hidden\r\n accept=\".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,image/x-png,image/jpeg,image/jpg,.pdf, video/mp4,video/x-matroska,video/x-msvideo,video/quicktime\"\r\n (change)=\"uploadDocument($event, document)\" class=\"pc-btn\"\r\n id=\"browse_contact_image\" #fileInput />\r\n </div>\r\n </div>\r\n</section>\r\n", styles: [".list_tabs{border:1px solid #0000001A;background-color:#ffffffe5;padding:10px;border-radius:6px;gap:10px;height:50px}.heading{font-size:18px;font-weight:500}.align-items-center{align-items:center}.p-2{padding:2rem!important}.document-section{padding-right:2rem;margin-top:2rem;padding-left:2rem;display:flex;flex-direction:column;gap:10px}.document{display:flex;justify-content:space-between;background:#eeecec;padding:1.5rem;border-radius:10px}.left-side{display:flex;align-items:center;gap:20px}.left-side p{margin-bottom:0}.right-side{background:#fff;height:35px;padding-left:30px;padding-right:30px;display:flex;align-items:center;border-radius:8px;font-weight:500}@media screen and (max-width: 475px){.p-2{padding:1rem}.document-section{padding-left:0rem;padding-right:0rem}}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }] }); }
27
- }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: DocumentComponent, decorators: [{
29
- type: Component,
30
- args: [{ selector: 'simpo-document', standalone: true, imports: [MatIconModule, CommonModule, FormsModule], template: "<section class=\"main-section p-2\">\r\n <div class=\"list_tabs heading d-flex align-items-center\">\r\n Required Document\r\n </div>\r\n\r\n <div class=\"document-section\">\r\n <div class=\"document\" *ngFor=\"let document of documentList\">\r\n <div class=\"left-side\">\r\n <img src=\"https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/183907c1734627971492pdf.png\" alt=\"\">\r\n <p>{{document.displayText}}</p>\r\n </div>\r\n <div class=\"right-side\" (click)=\"fileInput.click()\" *ngIf=\"!(document.file || document.url)\">\r\n <div>Upload</div>\r\n </div>\r\n <div class=\"right-side\" *ngIf=\"document.file || document.url\">\r\n <mat-icon>delete</mat-icon>\r\n </div>\r\n\r\n <input id=\"vendorImage\" type=\"file\" name=\"myfile\" hidden\r\n accept=\".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,image/x-png,image/jpeg,image/jpg,.pdf, video/mp4,video/x-matroska,video/x-msvideo,video/quicktime\"\r\n (change)=\"uploadDocument($event, document)\" class=\"pc-btn\"\r\n id=\"browse_contact_image\" #fileInput />\r\n </div>\r\n </div>\r\n</section>\r\n", styles: [".list_tabs{border:1px solid #0000001A;background-color:#ffffffe5;padding:10px;border-radius:6px;gap:10px;height:50px}.heading{font-size:18px;font-weight:500}.align-items-center{align-items:center}.p-2{padding:2rem!important}.document-section{padding-right:2rem;margin-top:2rem;padding-left:2rem;display:flex;flex-direction:column;gap:10px}.document{display:flex;justify-content:space-between;background:#eeecec;padding:1.5rem;border-radius:10px}.left-side{display:flex;align-items:center;gap:20px}.left-side p{margin-bottom:0}.right-side{background:#fff;height:35px;padding-left:30px;padding-right:30px;display:flex;align-items:center;border-radius:8px;font-weight:500}@media screen and (max-width: 475px){.p-2{padding:1rem}.document-section{padding-left:0rem;padding-right:0rem}}\n"] }]
31
- }], ctorParameters: () => [], propDecorators: { documentList: [{
32
- type: Input
33
- }] } });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9jb21wb25lbnRzL2RvY3VtZW50L2RvY3VtZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvY29tcG9uZW50cy9kb2N1bWVudC9kb2N1bWVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0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RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW1hZ2VNb2RlbCB9IGZyb20gJy4uL2Jhbm5lci1zZWN0aW9uL2Jhbm5lci1zZWN0aW9uLm1vZGVsJztcclxuaW1wb3J0IHsgVGV4dENvbnRlbnRNb2RlbCwgVGV4dFNlY3Rpb25Nb2RlbCB9IGZyb20gJy4uL3RleHQtc2VjdGlvbi90ZXh0LXNlY3Rpb24ubW9kZWwnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBSZWdpc3RyYXRpb25Gb3JtTW9kZWwgZXh0ZW5kcyBUZXh0U2VjdGlvbk1vZGVse1xyXG4gIGNvbnRlbnQ6IFJlZ2lzdHJhdGlvbkZvcm1Db250ZW50TW9kZWw7XHJcbn1cclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgUmVnaXN0cmF0aW9uRm9ybUNvbnRlbnRNb2RlbCBleHRlbmRzIFRleHRDb250ZW50TW9kZWx7XHJcbiAgaW1hZ2U6IEltYWdlTW9kZWw7XHJcbn1cclxuIl19
@@ -1,39 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class ImageUplaodService {
4
- constructor() {
5
- this.cmisFileUpload = {
6
- sasToken: 'sv=2022-11-02&ss=bfqt&srt=sco&sp=rwdlacupiytfx&se=2029-12-31T23:45:03Z&st=2024-12-18T15:45:03Z&spr=https,http&sig=Qjj5Xe5KiMxvETm6rP%2FZP31i3xDS9t1QuyuKgcY%2FPC8%3D',
7
- accountName: 'cmisprod',
8
- containerName: 'prod-cmis'
9
- };
10
- }
11
- async uploadFileInAzure(file, folderName = 'cmis') {
12
- if (typeof window !== 'undefined') {
13
- const { BlobServiceClient } = await import('@azure/storage-blob');
14
- const sasToken = this.cmisFileUpload.sasToken.startsWith('?')
15
- ? this.cmisFileUpload.sasToken
16
- : `?${this.cmisFileUpload.sasToken}`;
17
- const accountName = this.cmisFileUpload.accountName;
18
- const containerName = this.cmisFileUpload.containerName;
19
- const blobServiceClient = new BlobServiceClient(`https://${accountName}.blob.core.windows.net${sasToken}`);
20
- const containerClient = blobServiceClient.getContainerClient(containerName);
21
- const blobName = `${folderName}/${file.name}`;
22
- const blockBlobClient = containerClient.getBlockBlobClient(blobName);
23
- await blockBlobClient.uploadData(file, {
24
- blobHTTPHeaders: { blobContentType: file.type },
25
- });
26
- return blockBlobClient;
27
- }
28
- return null;
29
- }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ImageUplaodService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
31
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ImageUplaodService, providedIn: 'root' }); }
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ImageUplaodService, decorators: [{
34
- type: Injectable,
35
- args: [{
36
- providedIn: 'root'
37
- }]
38
- }] });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtdXBsb2FkLXNlcnZpY2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvc2VydmljZXMvaW1hZ2UtdXBsb2FkLXNlcnZpY2Uuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU0zQyxNQUFNLE9BQU8sa0JBQWtCO0lBSi9CO1FBS0UsbUJBQWMsR0FBUTtZQUNwQixRQUFRLEVBQUUsc0tBQXNLO1lBQ2hMLFdBQVcsRUFBRSxVQUFVO1lBQ3ZCLGFBQWEsRUF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gIH1cclxuICAgIHJldHVybiBudWxsO1xyXG4gIH1cclxuXHJcbn1cclxuIl19
@@ -1,8 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
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
- }
Binary file