@angular-wave/angular.ts 0.0.53 → 0.0.55
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/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/angular.spec.js +0 -8
- package/src/animations/animate-cache.js +48 -23
- package/src/animations/animate-children-directive.js +5 -0
- package/src/animations/animate-css-driver.js +28 -27
- package/src/animations/animate-css.html +40 -0
- package/src/animations/animate-css.js +14 -20
- package/src/animations/animate-queue.js +2 -4
- package/src/animations/animate.md +933 -0
- package/src/animations/animation.js +3 -3
- package/src/animations/module.js +0 -754
- package/src/animations/shared.js +5 -0
- package/src/binding.spec.js +0 -2
- package/src/core/animate/animate-runner.js +1 -1
- package/src/core/animate/animate.spec.js +0 -1
- package/src/core/compile/compile.spec.js +3 -5
- package/src/core/location/location.spec.js +7 -7
- package/src/core/url-utils/url-utils.spec.js +1 -3
- package/src/directive/options/options.js +2 -3
- package/src/directive/repeat/repeat.spec.js +1 -1
- package/src/exts/messages/messages.js +1 -2
- package/src/loader.js +0 -1
- package/src/public.js +0 -7
- package/src/router/params/param-type.js +0 -1
- package/src/router/params/param-types.js +1 -1
- package/src/router/params/param.js +6 -3
- package/src/router/resolve/resolve-context.js +0 -1
- package/src/router/state/state.spec.js +0 -3
- package/src/router/transition/transition-event-type.js +0 -1
- package/src/router/transition/transition.js +0 -1
- package/src/router/url/url-matcher.js +0 -2
- package/src/services/cookie-reader.js +2 -6
- package/src/services/http-backend/http-backend.js +0 -1
- package/src/shared/common.js +1 -12
- package/src/shared/hof.js +0 -1
- package/src/shared/utils.js +1 -89
- package/types/animations/animate-cache.d.ts +38 -5
- package/types/animations/animate-children-directive.d.ts +5 -3
- package/types/animations/animate-css-driver.d.ts +1 -1
- package/types/animations/animate-queue.d.ts +1 -1
- package/types/animations/module.d.ts +0 -749
- package/types/animations/shared.d.ts +6 -1
- package/types/core/animate/animate-runner.d.ts +1 -2
- package/types/directive/options/options.d.ts +1 -1
- package/types/services/cookie-reader.d.ts +1 -6
- package/types/services/http-backend/http-backend.d.ts +0 -1
- package/types/shared/common.d.ts +0 -1
- package/types/shared/utils.d.ts +1 -89
- package/src/services/document.js +0 -67
- package/types/services/document.d.ts +0 -41
|
@@ -1,10 +1,43 @@
|
|
|
1
1
|
export function animateCache(): {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Generates a unique cache key based on the node's parent and other parameters.
|
|
4
|
+
* @param {HTMLElement} node - The DOM node to generate the cache key for.
|
|
5
|
+
* @param {string} method - The animation method being applied.
|
|
6
|
+
* @param {string} [addClass] - Class to add during the animation.
|
|
7
|
+
* @param {string} [removeClass] - Class to remove during the animation.
|
|
8
|
+
* @returns {string} - The generated cache key.
|
|
9
|
+
*/
|
|
10
|
+
cacheKey(node: HTMLElement, method: string, addClass?: string, removeClass?: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* Checks if a cached animation without a duration exists.
|
|
13
|
+
* @param {string} key - The cache key to check.
|
|
14
|
+
* @returns {boolean} - True if an invalid animation is cached, false otherwise.
|
|
15
|
+
*/
|
|
16
|
+
containsCachedAnimationWithoutDuration(key: string): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Clears the cache.
|
|
19
|
+
* @returns {void}
|
|
20
|
+
*/
|
|
4
21
|
flush(): void;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Gets the count of a specific cache entry.
|
|
24
|
+
* @param {string} key - The cache key to count.
|
|
25
|
+
* @returns {number} - The count of the cache entry.
|
|
26
|
+
*/
|
|
27
|
+
count(key: string): number;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves a value associated with a specific cache key.
|
|
30
|
+
* @param {string} key - The cache key to retrieve.
|
|
31
|
+
* @returns {any} - The value associated with the cache key.
|
|
32
|
+
*/
|
|
33
|
+
get(key: string): any;
|
|
34
|
+
/**
|
|
35
|
+
* Adds or updates a cache entry.
|
|
36
|
+
* @param {string} key - The cache key to add or update.
|
|
37
|
+
* @param {any} value - The value to store.
|
|
38
|
+
* @param {boolean} isValid - Whether the cache entry is valid.
|
|
39
|
+
*/
|
|
40
|
+
put(key: string, value: any, isValid: boolean): void;
|
|
8
41
|
};
|
|
9
42
|
export function $$AnimateCacheProvider(): void;
|
|
10
43
|
export class $$AnimateCacheProvider {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @param {*} $interpolate
|
|
3
|
+
* @returns {import("../types").Directive}
|
|
4
|
+
*/
|
|
5
|
+
export function $$AnimateChildrenDirective($interpolate: any): import("../types").Directive;
|
|
4
6
|
export namespace $$AnimateChildrenDirective {
|
|
5
7
|
let $inject: string[];
|
|
6
8
|
}
|
|
@@ -4,7 +4,7 @@ export class $$AnimateCssDriverProvider {
|
|
|
4
4
|
/**
|
|
5
5
|
* @returns {Function}
|
|
6
6
|
*/
|
|
7
|
-
$get: (string | (($animateCss: any, $$AnimateRunner:
|
|
7
|
+
$get: (string | (($animateCss: any, $$AnimateRunner: typeof import("../core/animate/animate-runner").AnimateRunner, $rootElement: any) => (animationDetails: any) => any))[];
|
|
8
8
|
}
|
|
9
9
|
export namespace $$AnimateCssDriverProvider {
|
|
10
10
|
let $inject: string[];
|
|
@@ -6,7 +6,7 @@ export class $$AnimateQueueProvider {
|
|
|
6
6
|
cancel: any[];
|
|
7
7
|
join: any[];
|
|
8
8
|
};
|
|
9
|
-
$get: (string | (($rootScope: any, $rootElement: any,
|
|
9
|
+
$get: (string | (($rootScope: any, $rootElement: any, $$animation: any, $$AnimateRunner: any, $templateRequest: any) => {
|
|
10
10
|
on(event: any, container: any, callback: any): void;
|
|
11
11
|
off(event: any, container: any, callback: any, ...args: any[]): void;
|
|
12
12
|
pin(element: any, parentElement: any): void;
|