simpo-component-library 3.6.517 → 3.6.519

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,41 +1,23 @@
1
- import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2 } from '@angular/core';
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } 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';
5
4
  import * as i0 from "@angular/core";
6
- export declare class AnimationDirective implements OnChanges, OnInit, OnDestroy {
5
+ export declare class AnimationDirective implements OnInit, OnChanges, OnDestroy {
7
6
  private el;
8
7
  private renderer;
9
8
  private eventService;
10
9
  animationData?: AnimationModel;
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);
30
- ngOnDestroy(): void;
10
+ private observer?;
11
+ private eventServiceSubscription;
12
+ constructor(el: ElementRef<HTMLElement>, renderer: Renderer2, eventService: EventsService);
31
13
  ngOnInit(): void;
32
- ngOnChanges(): void;
14
+ ngOnChanges(_changes: SimpleChanges): void;
15
+ ngOnDestroy(): void;
33
16
  private createObserver;
34
- getAnimationName(): "none" | "animateleft" | "animateright" | "animatetop" | "animatebottom" | "opac" | "animatezoom" | null;
35
- name: any;
36
17
  private applyAnimation;
37
- getAnimationSpeed(speed: ANIMATION_SPEED): string;
38
- animationTypes: any;
18
+ private restartAnimation;
19
+ private getAnimationName;
20
+ private getAnimationSpeed;
39
21
  static ɵfac: i0.ɵɵFactoryDeclaration<AnimationDirective, never>;
40
22
  static ɵdir: i0.ɵɵDirectiveDeclaration<AnimationDirective, "[simpoAnimation]", never, { "animationData": { "alias": "simpoAnimation"; "required": false; }; }, {}, never, never, true, never>;
41
23
  }
@@ -23,7 +23,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
25
  get stylesLayout(): LayOutModel;
26
- get getBlurValue(): "STRONG" | "NONE" | "LIGHT" | "MODERATE" | "VERY_STRONG" | undefined;
26
+ get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
27
27
  get getBackgroundColor(): BackgroundModel;
28
28
  get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
29
29
  opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.517",
3
+ "version": "3.6.519",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file