simpo-component-library 3.6.558 → 3.6.559

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.
@@ -1,25 +1,41 @@
1
- import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
2
  import { AnimationModel } from '../styles/style.model';
3
3
  import { EventsService } from '../services/events.service';
4
+ import { ANIMATION_SPEED } from '../styles/types';
4
5
  import * as i0 from "@angular/core";
5
- export declare class AnimationDirective implements OnInit, OnChanges, OnDestroy {
6
+ export declare class AnimationDirective implements OnChanges, OnInit, OnDestroy {
6
7
  private el;
7
8
  private renderer;
8
9
  private eventService;
9
10
  animationData?: AnimationModel;
10
- private observer?;
11
- private eventServiceSubscription;
12
- private previousType?;
13
- private previousSpeed?;
14
- constructor(el: ElementRef<HTMLElement>, renderer: Renderer2, eventService: EventsService);
15
- ngOnInit(): void;
16
- ngOnChanges(_changes: SimpleChanges): void;
11
+ eventServiceSubscription: any;
12
+ private observer;
13
+ animationSpeed: {
14
+ type: {
15
+ top: string;
16
+ bottom: string;
17
+ left: string;
18
+ right: string;
19
+ fadeIn: string;
20
+ zoom: string;
21
+ none: string;
22
+ };
23
+ speed: {
24
+ slow: string;
25
+ medium: string;
26
+ fast: string;
27
+ };
28
+ };
29
+ constructor(el: ElementRef, renderer: Renderer2, eventService: EventsService);
17
30
  ngOnDestroy(): void;
31
+ ngOnInit(): void;
32
+ ngOnChanges(): void;
18
33
  private createObserver;
34
+ getAnimationName(): "none" | "animateleft" | "animateright" | "animatetop" | "animatebottom" | "opac" | "animatezoom" | null;
35
+ name: any;
19
36
  private applyAnimation;
20
- private restartAnimation;
21
- private getAnimationName;
22
- private getAnimationSpeed;
37
+ getAnimationSpeed(speed: ANIMATION_SPEED): string;
38
+ animationTypes: any;
23
39
  static ɵfac: i0.ɵɵFactoryDeclaration<AnimationDirective, never>;
24
40
  static ɵdir: i0.ɵɵDirectiveDeclaration<AnimationDirective, "[simpoAnimation]", never, { "animationData": { "alias": "simpoAnimation"; "required": false; }; }, {}, never, never, true, never>;
25
41
  }
@@ -72,7 +72,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
72
72
  validateNumber(event: KeyboardEvent): void;
73
73
  validateOTP(event: KeyboardEvent): void;
74
74
  checkStrength(): void;
75
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
75
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
76
76
  emailDebounceTimer: any;
77
77
  onEmailChange(): void;
78
78
  emailCheck: boolean;
@@ -117,7 +117,7 @@ export declare class ProductDescComponent extends BaseSection {
117
117
  getTextColor(color: any): "#000000" | "#ffffff";
118
118
  languages: string[];
119
119
  selectedLang: string;
120
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
120
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
121
121
  onFindInStore(id: string): void;
122
122
  onBookAppointment(): void;
123
123
  isDetails: boolean;
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
21
21
  get stylesLayout(): LayOutModel;
22
22
  get spacingLayout(): SpacingModel;
23
23
  getParentClass(): "" | "overflow-scroll flex-nowrap";
24
- getClass(index: number): "col-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
24
+ getClass(index: number): "col-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
25
25
  showSchemeDetails(scheme: any): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
@@ -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" | "0.2" | "0.3" | "0.5" | "0.7";
29
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
30
30
  editSection(): void;
31
31
  getScreenSize(): number;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
@@ -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" | "0.2" | "0.3" | "0.5" | "0.7";
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>;
@@ -29,7 +29,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
29
29
  canShowContactField(field: any): any;
30
30
  getCardStyle(): {};
31
31
  getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
32
- getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
32
+ getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
34
34
  static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", 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>;
35
35
  }
@@ -23,7 +23,7 @@ export declare class FaqSectionComponent extends BaseSection {
23
23
  toggleContent(idx: number): void;
24
24
  editSection(): void;
25
25
  getScreenSize(): void;
26
- getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
26
+ getLayout(): "justify-content-start" | "justify-content-end" | "justify-content-center";
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<FaqSectionComponent, never>;
28
28
  static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
29
29
  }
@@ -20,9 +20,9 @@ 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";
23
+ get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
25
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
26
26
  editSection(): void;
27
27
  redirectTo(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -23,8 +23,8 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
25
  get stylesLayout(): LayOutModel;
26
- get animationDuration(): "3s" | "4s" | logoSpeed.Normal | "6s" | "5s";
27
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
26
+ get animationDuration(): "3s" | "6s" | "5s" | "4s" | logoSpeed.Normal;
27
+ get animationDirection(): "reverse" | "normal" | logoDirection.Left;
28
28
  get isMobile(): boolean;
29
29
  get getPositionLayout(): PositionLayoutModal;
30
30
  screenWidth: number;
@@ -24,7 +24,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
24
24
  idx: number;
25
25
  getImageData(): import("../../styles/style.model").Image | undefined;
26
26
  getImageUrl(): string | undefined;
27
- getImageType(): "Image" | "Video";
27
+ getImageType(): "Video" | "Image";
28
28
  getLength(): number;
29
29
  editSection(): void;
30
30
  stopPropagation(event: any): void;
@@ -23,8 +23,8 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(data: any): void;
26
- getClass(): "col-4" | "col-12" | "col-6" | "col-3";
27
- getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
26
+ getClass(): "col-6" | "col-4" | "col-3" | "col-12";
27
+ getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
29
29
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.558",
3
+ "version": "3.6.559",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file