@agorapulse/ui-animations 1.0.0-SNAPSHOT

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/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@agorapulse/ui-animations",
3
+ "description": "Agorapulse UI Animations Components Library",
4
+ "version": "1.0.0-SNAPSHOT",
5
+ "author": "Benoit Hediard",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/agorapulse/design.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/agorapulse/design/issues"
12
+ },
13
+ "homepage": "https://github.com/agorapulse/design",
14
+ "peerDependencies": {
15
+ "@agorapulse/ui-theme": "18.0.0-beta.6",
16
+ "@angular/common": "18.2.9",
17
+ "@angular/core": "18.2.9",
18
+ "@angular/material": "18.2.9",
19
+ "lottie-web": "5.9.6",
20
+ "ngx-lottie": "12.0.0"
21
+ },
22
+ "module": "fesm2022/agorapulse-ui-animations.mjs",
23
+ "typings": "index.d.ts",
24
+ "exports": {
25
+ "./package.json": {
26
+ "default": "./package.json"
27
+ },
28
+ ".": {
29
+ "types": "./index.d.ts",
30
+ "esm2022": "./esm2022/agorapulse-ui-animations.mjs",
31
+ "esm": "./esm2022/agorapulse-ui-animations.mjs",
32
+ "default": "./fesm2022/agorapulse-ui-animations.mjs"
33
+ }
34
+ },
35
+ "sideEffects": false,
36
+ "dependencies": {
37
+ "tslib": "^2.3.0"
38
+ }
39
+ }
@@ -0,0 +1,7 @@
1
+ import { AnimationOptions } from 'ngx-lottie';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LetteringLoaderComponent {
4
+ options: AnimationOptions;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<LetteringLoaderComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<LetteringLoaderComponent, "ap-lettering-loader", never, {}, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalculateLoaderStrokeDashXPipe implements PipeTransform {
4
+ /**
5
+ * The rule is 2 * r * Pi
6
+ * @param radius of the circle
7
+ */
8
+ transform(radius: number): number;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalculateLoaderStrokeDashXPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalculateLoaderStrokeDashXPipe, "calculateLoaderStrokeDashX", true>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalculateRadiusPipe implements PipeTransform {
4
+ /**
5
+ * Calculate radius
6
+ * @param diameter of the circle
7
+ * @param thickness of the circle
8
+ */
9
+ transform(diameter: number, thickness: number): number;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalculateRadiusPipe, never>;
11
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalculateRadiusPipe, "calculateRadius", true>;
12
+ }
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ export type ClassicLoaderColor = 'blue' | 'orange' | 'white';
3
+ export type NetworkLoaderColor = 'facebook' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'instagram' | 'microsoft' | 'googleMyBusiness' | 'google' | 'pinterest' | 'X';
4
+ export type LoaderColor = ClassicLoaderColor | NetworkLoaderColor;
5
+ interface Thickness {
6
+ [key: number]: number;
7
+ }
8
+ export type LoaderDiameter = 12 | 16 | 18 | 24 | 30 | 48 | 60 | 100 | 120;
9
+ export declare class LoaderComponent {
10
+ color: LoaderColor;
11
+ diameter: LoaderDiameter;
12
+ selectThickness: Thickness;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "ap-loader", never, { "color": { "alias": "color"; "required": false; }; "diameter": { "alias": "diameter"; "required": true; }; }, {}, never, never, true, never>;
15
+ static ngAcceptInputType_diameter: LoaderDiameter | `${LoaderDiameter}`;
16
+ }
17
+ export {};
@@ -0,0 +1 @@
1
+ export declare const lottieOptions: import("@angular/core").Provider[];
@@ -0,0 +1,16 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { AnimationOptions } from 'ngx-lottie';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * @deprecated As Lottie is heavy, we should use ap-loader instead
6
+ */
7
+ export declare class SpinnerComponent implements OnInit {
8
+ color: 'white' | 'orange' | 'grey' | 'grey5' | 'grey10' | 'translucent-orange' | 'translucent-white';
9
+ size: '' | 'mini' | 'small' | 'medium' | 'large' | 'manual';
10
+ rounded: boolean;
11
+ loaderPaths: string[];
12
+ options: AnimationOptions;
13
+ ngOnInit(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "ap-spinner", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; }, {}, never, never, true, never>;
16
+ }