simpo-component-library 2.1.2 → 2.1.8

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.
Files changed (98) hide show
  1. package/esm2022/lib/components/document/document.component.mjs +34 -0
  2. package/esm2022/lib/components/index.mjs +6 -5
  3. package/esm2022/lib/components/input-fields/input-fields.component.mjs +26 -8
  4. package/esm2022/lib/components/payment-details/payment-details.component.mjs +25 -5
  5. package/esm2022/lib/directive/spacing-around.directive.mjs +73 -0
  6. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +9 -4
  7. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +2 -2
  8. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +2 -2
  9. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +2 -2
  10. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +2 -2
  11. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +2 -2
  12. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +2 -2
  13. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  14. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  15. package/esm2022/lib/elements/index.mjs +6 -5
  16. package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
  17. package/esm2022/lib/elements/property/property.component.mjs +41 -0
  18. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  19. package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +5 -3
  20. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  21. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +16 -6
  22. package/esm2022/lib/sections/banner-section/banner-section.model.mjs +1 -1
  23. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +9 -4
  24. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +3 -3
  25. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +9 -4
  26. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  27. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +6 -3
  28. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +5 -5
  29. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +12 -8
  30. package/esm2022/lib/sections/footer-section/footer-section.modal.mjs +1 -1
  31. package/esm2022/lib/sections/image-section/image-section.component.mjs +9 -3
  32. package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +34 -9
  33. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  34. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +9 -4
  35. package/esm2022/lib/sections/navbar-section/navbar-section.model.mjs +1 -1
  36. package/esm2022/lib/sections/property-component/property-component.component.mjs +23 -0
  37. package/esm2022/lib/sections/property-component/property-component.modal.mjs +2 -0
  38. package/esm2022/lib/sections/property-list/property-list.component.mjs +116 -0
  39. package/esm2022/lib/sections/property-list/property-list.modal.mjs +2 -0
  40. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +9 -4
  41. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  42. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +205 -27
  43. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +2 -0
  44. package/esm2022/lib/sections/service-section/service-section.component.mjs +14 -6
  45. package/esm2022/lib/sections/text-section/text-section.component.mjs +8 -5
  46. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +68 -0
  47. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +2 -0
  48. package/esm2022/lib/services/image-upload-service.service.mjs +39 -0
  49. package/esm2022/lib/services/rest.service.mjs +19 -9
  50. package/esm2022/lib/styles/style.model.mjs +1 -1
  51. package/esm2022/lib/styles/types.mjs +1 -1
  52. package/esm2022/public-api.mjs +5 -1
  53. package/fesm2022/simpo-component-library.mjs +882 -255
  54. package/fesm2022/simpo-component-library.mjs.map +1 -1
  55. package/lib/components/document/document.component.d.ts +8 -0
  56. package/lib/components/index.d.ts +2 -1
  57. package/lib/components/input-fields/input-fields.component.d.ts +5 -2
  58. package/lib/components/payment-details/payment-details.component.d.ts +3 -1
  59. package/lib/directive/background-directive.d.ts +1 -1
  60. package/lib/directive/button-directive.directive.d.ts +1 -1
  61. package/lib/directive/color.directive.d.ts +1 -1
  62. package/lib/directive/spacing-around.directive.d.ts +18 -0
  63. package/lib/directive/spacing-horizontal.directive.d.ts +2 -1
  64. package/lib/elements/index.d.ts +2 -1
  65. package/lib/elements/property/property.component.d.ts +8 -0
  66. package/lib/elements/socia-icons/socia-icons.component.d.ts +2 -1
  67. package/lib/sections/banner-section/banner-section.component.d.ts +2 -0
  68. package/lib/sections/banner-section/banner-section.model.d.ts +6 -0
  69. package/lib/sections/blog-list/blog-list.component.d.ts +2 -1
  70. package/lib/sections/choose-us-section/choose-us-section.component.d.ts +2 -1
  71. package/lib/sections/choose-us-section/choose-us-section.model.d.ts +2 -1
  72. package/lib/sections/footer-section/footer-section.component.d.ts +2 -1
  73. package/lib/sections/footer-section/footer-section.modal.d.ts +9 -0
  74. package/lib/sections/image-section/image-section.component.d.ts +3 -1
  75. package/lib/sections/logo-gallery/logo-gallery.component.d.ts +10 -2
  76. package/lib/sections/navbar-section/navbar-section.component.d.ts +2 -1
  77. package/lib/sections/navbar-section/navbar-section.model.d.ts +1 -1
  78. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  79. package/lib/sections/property-component/property-component.component.d.ts +10 -0
  80. package/lib/sections/property-component/property-component.modal.d.ts +28 -0
  81. package/lib/sections/property-list/property-list.component.d.ts +22 -0
  82. package/lib/sections/property-list/property-list.modal.d.ts +14 -0
  83. package/lib/sections/recent-blog-post-section/recent-blog-post-section.component.d.ts +2 -1
  84. package/lib/sections/recent-blog-post-section/recent-blog-post-section.model.d.ts +2 -1
  85. package/lib/sections/registration-form/registration-form.component.d.ts +24 -6
  86. package/lib/sections/registration-form/registrationForm.model.d.ts +8 -0
  87. package/lib/sections/service-section/service-section.component.d.ts +4 -2
  88. package/lib/sections/text-section/text-section.component.d.ts +2 -1
  89. package/lib/sections/usp-video-section/usp-video-section.component.d.ts +22 -0
  90. package/lib/sections/usp-video-section/usp-video-section.model.d.ts +22 -0
  91. package/lib/services/image-upload-service.service.d.ts +7 -0
  92. package/lib/services/rest.service.d.ts +4 -0
  93. package/lib/styles/style.model.d.ts +4 -0
  94. package/lib/styles/types.d.ts +1 -1
  95. package/package.json +1 -1
  96. package/public-api.d.ts +4 -0
  97. package/simpo-component-library-2.1.8.tgz +0 -0
  98. package/simpo-component-library-2.1.2.tgz +0 -0
@@ -0,0 +1,22 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { UspStyleModel, UspVideoModel } from './usp-video-section.model';
3
+ import { LayOutModel } from '../../styles/style.model';
4
+ import { EventsService } from './../../services/events.service';
5
+ import BaseSection from '../BaseSection';
6
+ import * as i0 from "@angular/core";
7
+ export declare class UspVideoSectionComponent extends BaseSection implements OnInit {
8
+ private _eventService;
9
+ data?: UspVideoModel;
10
+ index?: number;
11
+ edit?: boolean;
12
+ delete?: boolean;
13
+ style?: UspStyleModel;
14
+ constructor(_eventService: EventsService);
15
+ ngOnInit(): void;
16
+ get stylesLayout(): LayOutModel;
17
+ editSection(): void;
18
+ screenWidth: any;
19
+ getScreenSize(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<UspVideoSectionComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<UspVideoSectionComponent, "simpo-usp-video-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
22
+ }
@@ -0,0 +1,22 @@
1
+ import { InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
2
+ export interface UspVideoModel {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ content: UspContentModel;
7
+ styles: UspStyleModel;
8
+ }
9
+ export interface UspContentModel {
10
+ inputText: InputTextModel[];
11
+ listItem: ListItemModal<USPVideoItemModel>;
12
+ videoLink: UspVideo;
13
+ }
14
+ export interface USPVideoItemModel {
15
+ inputText: InputTextModel[];
16
+ }
17
+ export interface UspVideo {
18
+ display: boolean;
19
+ url: string;
20
+ }
21
+ export interface UspStyleModel extends StylesModel {
22
+ }
@@ -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
+ }
@@ -11,6 +11,7 @@ export declare class RestService implements OnDestroy {
11
11
  private readonly eventService;
12
12
  private BASE_URL;
13
13
  private ECOMMERCE_URL;
14
+ private CMIS_URL;
14
15
  private environmentTypeSubscriber;
15
16
  constructor(http: HttpClient, eventService: EventsService);
16
17
  ngOnDestroy(): void;
@@ -75,6 +76,9 @@ export declare class RestService implements OnDestroy {
75
76
  createRegistrationForPayment(payload: any): Observable<Object>;
76
77
  getSubscriptionForFeeStructure(gradeId: any): Observable<Object>;
77
78
  getFeeStructure(payload: any): Observable<Object>;
79
+ getAllDocument(payload: any): Observable<Object>;
80
+ getLeadById(leadId: any): Observable<Object>;
81
+ getRegistrationList(payload: any): Observable<Object>;
78
82
  getFieldsToDisplay(fieldsList: any[]): any;
79
83
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
80
84
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
@@ -26,6 +26,7 @@ export interface LayOutModel {
26
26
  headingSpacing?: SPACING;
27
27
  spacing: SpacingModel;
28
28
  spacingHorizontal?: SPACING_TYPE;
29
+ spacingAround?: SPACING_TYPE;
29
30
  }
30
31
  export interface BannerLayOutModel {
31
32
  layoutAlignment: PositionLayoutModal;
@@ -76,6 +77,8 @@ export interface DisplaySection {
76
77
  showContent: boolean;
77
78
  showImage: boolean;
78
79
  showLink: boolean;
80
+ showCard: boolean;
81
+ showIcon: boolean;
79
82
  linkType: LINK_TYPE;
80
83
  }
81
84
  export interface Button {
@@ -141,6 +144,7 @@ export interface InputTextModel {
141
144
  label: string;
142
145
  value: string;
143
146
  isRTE: boolean;
147
+ image?: string;
144
148
  }
145
149
  export interface Image {
146
150
  id: string;
@@ -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.2",
3
+ "version": "2.1.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -33,6 +33,9 @@ export * from './lib/sections/appointment-form/appointment-form.component';
33
33
  export * from './lib/sections/testimonial-video/testimonial-video.component';
34
34
  export * from './lib/sections/logo-gallery/logo-gallery.component';
35
35
  export * from './lib/sections/registration-form/registration-form.component';
36
+ export * from './lib/sections/property-component/property-component.component';
37
+ export * from './lib/sections/usp-video-section/usp-video-section.component';
38
+ export * from './lib/sections/property-list/property-list.component';
36
39
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
37
40
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
38
41
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
@@ -73,6 +76,7 @@ export * from './lib/directive/image-position.directive';
73
76
  export * from './lib/directive/container-alignment.directive';
74
77
  export * from './lib/directive/sticky-directive';
75
78
  export * from './lib/directive/removeCarousel-directive';
79
+ export * from './lib/directive/spacing-around.directive';
76
80
  export * from './lib/styles/index';
77
81
  export * from './lib/styles/style.model';
78
82
  export * from './lib/styles/types';
Binary file