simpo-component-library 1.8.8 → 1.8.91

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,10 +22,10 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
22
22
  constructor(_eventService: EventsService);
23
23
  ngOnInit(): void;
24
24
  get stylesLayout(): LayOutModel;
25
- get getBlurValue(): "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | "NONE" | undefined;
25
+ get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
26
26
  get getBackgroundColor(): BackgroundModel;
27
- get getBackgroundOpacity(): "0.7" | "0.5" | "0.3" | "0.2" | "0";
28
- opacityValue(value: OverlayValue): "0.7" | "0.5" | "0.3" | "0.2" | "0";
27
+ get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
29
29
  editSection(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
31
31
  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; }; }, {}, never, never, true, never>;
@@ -24,7 +24,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
24
24
  get canMergeNavbar(): boolean | undefined;
25
25
  get isBorderlessImage(): boolean | undefined;
26
26
  get getPositionLayout(): PositionLayoutModal;
27
- opacityValue(value: OverlayValue): "0.7" | "0.5" | "0.3" | "0.2" | "0";
27
+ opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
28
  editSection(): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
30
30
  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; }; }, {}, never, never, true, never>;
@@ -17,8 +17,8 @@ export declare class ImageSectionComponent extends BaseSection {
17
17
  constructor(_eventService: EventsService);
18
18
  ngOnInit(): void;
19
19
  get canMergeNavbar(): boolean | undefined;
20
- get getBackgroundOpacity(): "0.7" | "0.5" | "0.3" | "0.2" | "1";
21
- opacityValue(value: OverlayValue): "0.7" | "0.5" | "0.3" | "0.2" | "1";
20
+ get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
21
+ opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
22
22
  editSection(): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
24
24
  static ɵcmp: i0.ɵɵComponentDeclaration<ImageSectionComponent, "simpo-image-section", 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; }; }, {}, never, never, true, never>;
@@ -0,0 +1,32 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { TestimonialVideoContentModel, TestimonialVideoItemModel, TestimonialVideoSectionModel, TestimonialVideoStylesModel } from './testimonial-video.model';
3
+ import { EventsService } from './../../services/events.service';
4
+ import BaseSection from '../BaseSection';
5
+ import { SPACING } from '../../styles/index';
6
+ import * as i0 from "@angular/core";
7
+ export declare class TestimonialVideoComponent extends BaseSection {
8
+ private _eventService;
9
+ videoPlayer: ElementRef<HTMLVideoElement>;
10
+ data?: TestimonialVideoSectionModel;
11
+ index?: number;
12
+ edit?: boolean;
13
+ delete?: boolean;
14
+ content?: TestimonialVideoContentModel;
15
+ style?: TestimonialVideoStylesModel;
16
+ constructor(_eventService: EventsService);
17
+ ngOnInit(): void;
18
+ screenWidth: number;
19
+ getScreenSize(event?: number): void;
20
+ getPrevImage(index: number): {
21
+ url: string;
22
+ } | undefined;
23
+ getNextImage(index: number): {
24
+ url: string;
25
+ } | undefined;
26
+ get headingSpace(): SPACING;
27
+ onVideoStart(event: HTMLVideoElement): void;
28
+ onVideoEnd(video: HTMLVideoElement): void;
29
+ redirectTo(content: TestimonialVideoItemModel): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<TestimonialVideoComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestimonialVideoComponent, "simpo-testimonial-video", 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>;
32
+ }
@@ -0,0 +1,24 @@
1
+ import { Corners } from './../../styles/index';
2
+ import { Button, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
3
+ export interface TestimonialVideoSectionModel {
4
+ id: string;
5
+ sectionType: string;
6
+ sectionName: string;
7
+ content: TestimonialVideoContentModel;
8
+ styles: TestimonialVideoStylesModel;
9
+ }
10
+ export interface TestimonialVideoContentModel {
11
+ inputText: InputTextModel[];
12
+ listItem: ListItemModal<TestimonialVideoItemModel>;
13
+ }
14
+ export interface TestimonialVideoStylesModel extends StylesModel {
15
+ corners: Corners;
16
+ fullWidth: boolean;
17
+ }
18
+ export interface TestimonialVideoItemModel {
19
+ videoLink: {
20
+ url: string;
21
+ };
22
+ inputText: InputTextModel[];
23
+ button: Button;
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.8.8",
3
+ "version": "1.8.91",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -30,6 +30,7 @@ export * from './lib/sections/logo-showcase/logo-showcase.component';
30
30
  export * from './lib/sections/banner-carousel/banner-carousel.component';
31
31
  export * from './lib/sections/carousel-banner/carousel-banner.component';
32
32
  export * from './lib/sections/appointment-form/appointment-form.component';
33
+ export * from './lib/sections/testimonial-video/testimonial-video.component';
33
34
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
34
35
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
35
36
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
Binary file