simpo-component-library 2.1.63 → 2.1.64

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/esm2022/lib/elements/index.mjs +2 -2
  2. package/esm2022/lib/elements/property/property.component.mjs +8 -6
  3. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +2 -2
  4. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
  5. package/esm2022/lib/sections/banner-section/banner-section.model.mjs +1 -1
  6. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +4 -4
  7. package/esm2022/lib/sections/property-component/property-component.component.mjs +23 -0
  8. package/esm2022/lib/sections/property-component/property-component.modal.mjs +2 -0
  9. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  10. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +28 -0
  11. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +2 -0
  12. package/esm2022/public-api.mjs +3 -1
  13. package/fesm2022/simpo-component-library.mjs +58 -14
  14. package/fesm2022/simpo-component-library.mjs.map +1 -1
  15. package/lib/directive/background-directive.d.ts +1 -1
  16. package/lib/directive/button-directive.directive.d.ts +1 -1
  17. package/lib/directive/color.directive.d.ts +1 -1
  18. package/lib/elements/property/property.component.d.ts +3 -1
  19. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  20. package/lib/sections/banner-section/banner-section.model.d.ts +6 -0
  21. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  22. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  23. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  24. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  25. package/lib/sections/property-component/property-component.component.d.ts +10 -0
  26. package/lib/sections/property-component/property-component.modal.d.ts +28 -0
  27. package/lib/sections/usp-video-section/usp-video-section.component.d.ts +12 -0
  28. package/lib/sections/usp-video-section/usp-video-section.model.d.ts +22 -0
  29. package/package.json +1 -1
  30. package/public-api.d.ts +2 -0
  31. package/simpo-component-library-2.1.64.tgz +0 -0
  32. package/simpo-component-library-2.1.63.tgz +0 -0
@@ -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): "#ffffff" | "#000000" | "#ffffff;";
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): "#ffffff" | "#000000" | "#ffffff;";
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(): "#ffffff" | "#000000" | "#ffffff;";
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
  }
@@ -1,6 +1,8 @@
1
+ import { Property } from '@simpo-ui/sections/property-component/property-component.modal';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class PropertyComponent {
4
+ element?: Property;
3
5
  obj: any;
4
6
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponent, "simpo-property", never, {}, {}, never, never, true, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponent, "simpo-property", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
6
8
  }
@@ -25,8 +25,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
25
25
  get stylesLayout(): LayOutModel;
26
26
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
27
27
  get getBackgroundColor(): BackgroundModel;
28
- get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
29
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
29
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
30
30
  editSection(): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
32
32
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -20,4 +20,10 @@ export interface BannerContentModel {
20
20
  }
21
21
  export interface BannerListItem {
22
22
  inputText: InputTextModel[];
23
+ icon: IconModel;
24
+ }
25
+ export interface IconModel {
26
+ url: string;
27
+ color: string;
28
+ altText: string;
23
29
  }
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
25
25
  get canMergeNavbar(): boolean | undefined;
26
26
  get isBorderlessImage(): boolean | undefined;
27
27
  get getPositionLayout(): PositionLayoutModal;
28
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
29
29
  editSection(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
31
31
  static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -20,8 +20,8 @@ export declare class ImageSectionComponent extends BaseSection {
20
20
  constructor(_eventService: EventsService);
21
21
  ngOnInit(): void;
22
22
  get canMergeNavbar(): boolean | undefined;
23
- get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
24
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
23
+ get getBackgroundOpacity(): "1" | "0.2" | "0.3" | "0.5" | "0.7";
24
+ opacityValue(value: OverlayValue): "1" | "0.2" | "0.3" | "0.5" | "0.7";
25
25
  editSection(): void;
26
26
  redirectTo(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -23,7 +23,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
25
  get animationDuration(): logoSpeed;
26
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
26
+ get animationDirection(): "reverse" | "normal" | logoDirection.Left;
27
27
  screenWidth: number;
28
28
  getScreenSize(event?: number): void;
29
29
  editSection(): void;
@@ -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(): "#ffffff" | "#000000";
20
+ getTextColor(): "#000000" | "#ffffff";
21
21
  get headingSpace(): SPACING;
22
22
  editSection(): void;
23
23
  redirectTo(): void;
@@ -0,0 +1,10 @@
1
+ import { PropertyContentModel, PropertySectionModel } from './property-component.modal';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PropertyComponentComponent {
4
+ data?: PropertySectionModel;
5
+ content?: PropertyContentModel;
6
+ index?: number;
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyComponentComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponentComponent, "simpo-property-component", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,28 @@
1
+ import { InputTextModel, ListItemModal } from './../../styles/style.model';
2
+ export interface PropertySectionModel {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ content: PropertyContentModel;
7
+ }
8
+ export interface PropertyContentModel {
9
+ inputText: InputTextModel[];
10
+ listItem: ListItemModal<Property>;
11
+ }
12
+ export interface Location {
13
+ city: string;
14
+ state: string;
15
+ }
16
+ export interface Feature {
17
+ key: string;
18
+ value: string;
19
+ }
20
+ export interface Property {
21
+ heading: string;
22
+ location: Location;
23
+ latitude: string;
24
+ longitude: string;
25
+ minInvestment: string;
26
+ features: Feature[];
27
+ backgroundImageUrl: string;
28
+ }
@@ -0,0 +1,12 @@
1
+ import { UspStyleModel, UspVideoModel } from './usp-video-section.model';
2
+ import { LayOutModel } from '../../styles/style.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class UspVideoSectionComponent {
5
+ data?: UspVideoModel;
6
+ style?: UspStyleModel;
7
+ ngOnInit(): void;
8
+ get stylesLayout(): LayOutModel;
9
+ index: number;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<UspVideoSectionComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<UspVideoSectionComponent, "simpo-usp-video-section", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "2.1.63",
3
+ "version": "2.1.64",
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,8 @@ 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';
36
38
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
37
39
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
38
40
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
Binary file