simpo-component-library 3.6.559 → 3.6.560
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.
- package/esm2022/lib/directive/animation-directive.mjs +60 -101
- package/fesm2022/simpo-component-library.mjs +59 -100
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/animation-directive.d.ts +10 -28
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.560.tgz +0 -0
- package/simpo-component-library-3.6.559.tgz +0 -0
|
@@ -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
|
|
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
|
-
|
|
12
|
-
private
|
|
13
|
-
|
|
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
|
-
|
|
38
|
-
|
|
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 LogoShowcaseComponent extends BaseSection implements OnInit
|
|
|
23
23
|
constructor(_eventService: EventsService);
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
get stylesLayout(): LayOutModel;
|
|
26
|
-
get animationDuration(): "
|
|
26
|
+
get animationDuration(): "6s" | "5s" | "4s" | "3s" | logoSpeed.Normal;
|
|
27
27
|
get animationDirection(): "reverse" | "normal" | logoDirection.Left;
|
|
28
28
|
get isMobile(): boolean;
|
|
29
29
|
get getPositionLayout(): PositionLayoutModal;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|