@angular-wave/angular.ts 0.9.1 → 0.9.2
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/@types/angular.d.ts +150 -0
- package/@types/animations/animate-cache.d.ts +50 -0
- package/@types/animations/animate-children-directive.d.ts +10 -0
- package/@types/animations/animate-css-driver.d.ts +18 -0
- package/@types/animations/animate-css.d.ts +18 -0
- package/@types/animations/animate-js-driver.d.ts +14 -0
- package/@types/animations/animate-js.d.ts +23 -0
- package/@types/animations/animate-queue.d.ts +28 -0
- package/@types/animations/animate-runner.d.ts +31 -0
- package/@types/animations/animate-swap.d.ts +9 -0
- package/@types/animations/animate.d.ts +450 -0
- package/@types/animations/animation.d.ts +14 -0
- package/@types/animations/interface.d.ts +17 -0
- package/@types/animations/raf-scheduler.d.ts +37 -0
- package/@types/animations/shared.d.ts +74 -0
- package/@types/core/compile/compile.d.ts +201 -0
- package/@types/core/controller/controller.d.ts +54 -0
- package/@types/core/di/injector.d.ts +22 -0
- package/@types/core/filter/filter.d.ts +23 -0
- package/@types/core/interpolate/interpolate.d.ts +38 -0
- package/@types/core/parse/ast/ast-node.d.ts +56 -0
- package/@types/core/parse/ast/ast.d.ts +164 -0
- package/@types/core/parse/lexer/lexer.d.ts +119 -0
- package/@types/core/parse/lexer/token.d.ts +17 -0
- package/@types/core/parse/parse.d.ts +33 -0
- package/@types/core/parse/parser/parser.d.ts +41 -0
- package/@types/core/sanitize/sanitize-uri.d.ts +40 -0
- package/@types/directive/aria/aria.d.ts +104 -0
- package/@types/directive/attrs/attrs.d.ts +8 -0
- package/@types/directive/bind/bind.d.ts +18 -0
- package/@types/directive/channel/channel.d.ts +10 -0
- package/@types/directive/class/class.d.ts +3 -0
- package/@types/directive/cloak/cloak.d.ts +4 -0
- package/@types/directive/controller/controller.d.ts +4 -0
- package/@types/directive/events/events.d.ts +21 -0
- package/@types/directive/form/form.d.ts +264 -0
- package/@types/directive/http/http.d.ts +46 -0
- package/@types/directive/if/if.d.ts +10 -0
- package/@types/directive/include/include.d.ts +28 -0
- package/@types/directive/init/init.d.ts +4 -0
- package/@types/directive/input/input.d.ts +70 -0
- package/@types/directive/messages/messages.d.ts +63 -0
- package/@types/directive/model/model.d.ts +515 -0
- package/@types/directive/model-options/model-options.d.ts +56 -0
- package/@types/directive/non-bindable/non-bindable.d.ts +4 -0
- package/@types/directive/observe/observe.d.ts +9 -0
- package/@types/directive/options/options.d.ts +13 -0
- package/@types/directive/ref/ref.d.ts +11 -0
- package/@types/directive/repeat/repeat.d.ts +11 -0
- package/@types/directive/script/script.d.ts +10 -0
- package/@types/directive/select/select.d.ts +15 -0
- package/@types/directive/setter/setter.d.ts +12 -0
- package/@types/directive/show-hide/show-hide.d.ts +19 -0
- package/@types/directive/style/style.d.ts +4 -0
- package/@types/directive/switch/switch.d.ts +18 -0
- package/@types/directive/transclude/transclude.d.ts +10 -0
- package/@types/directive/validators/validators.d.ts +149 -0
- package/@types/filters/filter.d.ts +4 -0
- package/@types/filters/filters.d.ts +38 -0
- package/@types/filters/limit-to.d.ts +4 -0
- package/@types/filters/order-by.d.ts +7 -0
- package/@types/index.d.ts +2 -0
- package/@types/interface.d.ts +1 -0
- package/@types/ng.d.ts +8 -0
- package/@types/router/common/trace.d.ts +66 -0
- package/@types/router/directives/state-directives.d.ts +46 -0
- package/@types/router/directives/view-directive.d.ts +138 -0
- package/@types/router/glob/glob.d.ts +81 -0
- package/@types/router/hooks/core-resolvables.d.ts +2 -0
- package/@types/router/hooks/ignored-transition.d.ts +1 -0
- package/@types/router/hooks/invalid-transition.d.ts +1 -0
- package/@types/router/hooks/lazy-load.d.ts +42 -0
- package/@types/router/hooks/on-enter-exit-retain.d.ts +3 -0
- package/@types/router/hooks/redirect-to.d.ts +4 -0
- package/@types/router/hooks/resolve.d.ts +4 -0
- package/@types/router/hooks/update-globals.d.ts +1 -0
- package/@types/router/hooks/url.d.ts +5 -0
- package/@types/router/hooks/views.d.ts +5 -0
- package/@types/router/params/interface.d.ts +606 -0
- package/@types/router/params/param-factory.d.ts +16 -0
- package/@types/router/params/param-type.d.ts +59 -0
- package/@types/router/params/param.d.ts +71 -0
- package/@types/router/params/state-params.d.ts +12 -0
- package/@types/router/path/path-node.d.ts +38 -0
- package/@types/router/path/path-utils.d.ts +88 -0
- package/@types/router/resolve/interface.d.ts +200 -0
- package/@types/router/resolve/resolvable.d.ts +50 -0
- package/@types/router/resolve/resolve-context.d.ts +93 -0
- package/@types/router/router.d.ts +47 -0
- package/@types/router/state/interface.d.ts +983 -0
- package/@types/router/state/state-builder.d.ts +95 -0
- package/@types/router/state/state-matcher.d.ts +7 -0
- package/@types/router/state/state-object.d.ts +83 -0
- package/@types/router/state/state-queue-manager.d.ts +29 -0
- package/@types/router/state/state-registry.d.ts +133 -0
- package/@types/router/state/state-service.d.ts +425 -0
- package/@types/router/state/target-state.d.ts +102 -0
- package/@types/router/state/views.d.ts +58 -0
- package/@types/router/state-filters.d.ts +39 -0
- package/@types/router/template-factory.d.ts +117 -0
- package/@types/router/transition/hook-builder.d.ts +45 -0
- package/@types/router/transition/hook-registry.d.ts +102 -0
- package/@types/router/transition/interface.d.ts +880 -0
- package/@types/router/transition/reject-factory.d.ts +43 -0
- package/@types/router/transition/transition-event-type.d.ts +24 -0
- package/@types/router/transition/transition-hook.d.ts +86 -0
- package/@types/router/transition/transition-service.d.ts +116 -0
- package/@types/router/transition/transition.d.ts +331 -0
- package/@types/router/url/url-config.d.ts +99 -0
- package/@types/router/url/url-matcher.d.ts +174 -0
- package/@types/router/url/url-rule.d.ts +161 -0
- package/@types/router/url/url-rules.d.ts +249 -0
- package/@types/router/url/url-service.d.ts +254 -0
- package/@types/router/view/interface.d.ts +44 -0
- package/@types/router/view/view.d.ts +149 -0
- package/@types/router/view-scroll.d.ts +10 -0
- package/@types/services/anchor-scroll.d.ts +25 -0
- package/@types/services/cookie-reader.d.ts +4 -0
- package/@types/services/http/http.d.ts +134 -0
- package/@types/services/http-backend/http-backend.d.ts +58 -0
- package/@types/services/sce/sce.d.ts +238 -0
- package/@types/services/template-request.d.ts +55 -0
- package/@types/shared/common.d.ts +197 -0
- package/@types/shared/hof.d.ts +108 -0
- package/@types/shared/predicates.d.ts +17 -0
- package/@types/shared/queue.d.ts +64 -0
- package/@types/shared/strings.d.ts +58 -0
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/dist/angular-ts.umd.min.js +1 -1
- package/docs/layouts/shortcodes/version.html +1 -1
- package/package.json +1 -1
- package/src/interface.ts +1 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration option for AngularTS bootstrap process.
|
|
3
|
+
*
|
|
4
|
+
* @typedef {Object} AngularBootstrapConfig
|
|
5
|
+
* @property {boolean} [strictDi] - Disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code. Defaults to `false`.
|
|
6
|
+
*/
|
|
7
|
+
export class Angular {
|
|
8
|
+
$cache: Map<number, import("./interface.ts").ExpandoStore>;
|
|
9
|
+
/** @type {import('./services/pubsub/pubsub.js').PubSub} */
|
|
10
|
+
$eventBus: import("./services/pubsub/pubsub.js").PubSub;
|
|
11
|
+
/**
|
|
12
|
+
* @type {string} `version` from `package.json`
|
|
13
|
+
*/
|
|
14
|
+
version: string;
|
|
15
|
+
/** @type {!Array<string|any>} */
|
|
16
|
+
bootsrappedModules: Array<string | any>;
|
|
17
|
+
getController: typeof getController;
|
|
18
|
+
getInjector: typeof getInjector;
|
|
19
|
+
getScope: typeof getScope;
|
|
20
|
+
errorHandlingConfig: typeof errorHandlingConfig;
|
|
21
|
+
$t: Readonly<Record<string, string>>;
|
|
22
|
+
/**
|
|
23
|
+
* Use this function to manually start up AngularTS application.
|
|
24
|
+
*
|
|
25
|
+
* AngularTS will detect if it has been loaded into the browser more than once and only allow the
|
|
26
|
+
* first loaded script to be bootstrapped and will report a warning to the browser console for
|
|
27
|
+
* each of the subsequent scripts. This prevents strange results in applications, where otherwise
|
|
28
|
+
* multiple instances of AngularTS try to work on the DOM.
|
|
29
|
+
* *
|
|
30
|
+
* <div class="alert alert-warning">
|
|
31
|
+
* **Note:** Do not bootstrap the app on an element with a directive that uses {@link ng.$compile#transclusion transclusion},
|
|
32
|
+
* such as {@link ng.ngIf `ngIf`}, {@link ng.ngInclude `ngInclude`} and {@link ngRoute.ngView `ngView`}.
|
|
33
|
+
* Doing this misplaces the app {@link ng.$rootElement `$rootElement`} and the app's {@link auto.$injector injector},
|
|
34
|
+
* causing animations to stop working and making the injector inaccessible from outside the app.
|
|
35
|
+
* </div>
|
|
36
|
+
*
|
|
37
|
+
* ```html
|
|
38
|
+
* <!doctype html>
|
|
39
|
+
* <html>
|
|
40
|
+
* <body>
|
|
41
|
+
* <div ng-controller="WelcomeController">
|
|
42
|
+
* {{greeting}}
|
|
43
|
+
* </div>
|
|
44
|
+
*
|
|
45
|
+
* <script src="angular.js"></script>
|
|
46
|
+
* <script>
|
|
47
|
+
* let app = angular.module('demo', [])
|
|
48
|
+
* .controller('WelcomeController', function($scope) {
|
|
49
|
+
* $scope.greeting = 'Welcome!';
|
|
50
|
+
* });
|
|
51
|
+
* angular.bootstrap(document, ['demo']);
|
|
52
|
+
* </script>
|
|
53
|
+
* </body>
|
|
54
|
+
* </html>
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param {string | Element | Document} element DOM element which is the root of AngularTS application.
|
|
58
|
+
* @param {Array<String|any>} [modules] an array of modules to load into the application.
|
|
59
|
+
* Each item in the array should be the name of a predefined module or a (DI annotated)
|
|
60
|
+
* function that will be invoked by the injector as a `config` block.
|
|
61
|
+
* See: {@link angular.module modules}
|
|
62
|
+
* @param {AngularBootstrapConfig} [config]
|
|
63
|
+
* @returns {import('./core/di/internal-injector.js').InjectorService} The created injector instance for this application.
|
|
64
|
+
*/
|
|
65
|
+
bootstrap(
|
|
66
|
+
element: string | Element | Document,
|
|
67
|
+
modules?: Array<string | any>,
|
|
68
|
+
config?: AngularBootstrapConfig,
|
|
69
|
+
): import("./core/di/internal-injector.js").InjectorService;
|
|
70
|
+
$injector: import("./core/di/internal-injector.js").InjectorService;
|
|
71
|
+
/**
|
|
72
|
+
* @param {any[]} modules
|
|
73
|
+
* @param {boolean?} strictDi
|
|
74
|
+
* @returns {import("./core/di/internal-injector.js").InjectorService}
|
|
75
|
+
*/
|
|
76
|
+
injector(
|
|
77
|
+
modules: any[],
|
|
78
|
+
strictDi: boolean | null,
|
|
79
|
+
): import("./core/di/internal-injector.js").InjectorService;
|
|
80
|
+
/**
|
|
81
|
+
* @param {Element|Document} element
|
|
82
|
+
*/
|
|
83
|
+
init(element: Element | Document): void;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* The `angular.module` is a global place for creating, registering and retrieving AngularTS
|
|
87
|
+
* modules.
|
|
88
|
+
* All modules (AngularTS core or 3rd party) that should be available to an application must be
|
|
89
|
+
* registered using this mechanism.
|
|
90
|
+
*
|
|
91
|
+
* Passing one argument retrieves an existing {@link import('./interface.ts').Module},
|
|
92
|
+
* whereas passing more than one argument creates a new {@link import('./interface.ts').Module}
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* # Module
|
|
96
|
+
*
|
|
97
|
+
* A module is a collection of services, directives, controllers, filters, and configuration information.
|
|
98
|
+
* `angular.module` is used to configure the {@link auto.$injector $injector}.
|
|
99
|
+
*
|
|
100
|
+
* ```js
|
|
101
|
+
* // Create a new module
|
|
102
|
+
* let myModule = angular.module('myModule', []);
|
|
103
|
+
*
|
|
104
|
+
* // register a new service
|
|
105
|
+
* myModule.value('appName', 'MyCoolApp');
|
|
106
|
+
*
|
|
107
|
+
* // configure existing services inside initialization blocks.
|
|
108
|
+
* myModule.config(['$locationProvider', function($locationProvider) {
|
|
109
|
+
* // Configure existing providers
|
|
110
|
+
* $locationProvider.hashPrefix('!');
|
|
111
|
+
* }]);
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* Then you can create an injector and load your modules like this:
|
|
115
|
+
*
|
|
116
|
+
* ```js
|
|
117
|
+
* let injector = angular.injector(['ng', 'myModule'])
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* However it's more likely that you'll just use
|
|
121
|
+
* {@link ng.directive:ngApp ngApp} or
|
|
122
|
+
* {@link angular.bootstrap} to simplify this process for you.
|
|
123
|
+
*
|
|
124
|
+
* @param {string} name The name of the module to create or retrieve.
|
|
125
|
+
* @param {Array.<string>} [requires] If specified then new module is being created. If
|
|
126
|
+
* unspecified then the module is being retrieved for further configuration.
|
|
127
|
+
* @param {import("./interface.js").Injectable} [configFn] Optional configuration function for the module that gets
|
|
128
|
+
* passed to {@link NgModule.config NgModule.config()}.
|
|
129
|
+
* @returns {NgModule} A newly registered module.
|
|
130
|
+
*/
|
|
131
|
+
module(
|
|
132
|
+
name: string,
|
|
133
|
+
requires?: Array<string>,
|
|
134
|
+
configFn?: import("./interface.js").Injectable,
|
|
135
|
+
): NgModule;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Configuration option for AngularTS bootstrap process.
|
|
139
|
+
*/
|
|
140
|
+
export type AngularBootstrapConfig = {
|
|
141
|
+
/**
|
|
142
|
+
* - Disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code. Defaults to `false`.
|
|
143
|
+
*/
|
|
144
|
+
strictDi?: boolean;
|
|
145
|
+
};
|
|
146
|
+
import { getController } from "./shared/dom.js";
|
|
147
|
+
import { getInjector } from "./shared/dom.js";
|
|
148
|
+
import { getScope } from "./shared/dom.js";
|
|
149
|
+
import { errorHandlingConfig } from "./shared/utils.js";
|
|
150
|
+
import { NgModule } from "./core/di/ng-module.js";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export function animateCache(): {
|
|
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(
|
|
11
|
+
node: HTMLElement,
|
|
12
|
+
method: string,
|
|
13
|
+
addClass?: string,
|
|
14
|
+
removeClass?: string,
|
|
15
|
+
): string;
|
|
16
|
+
/**
|
|
17
|
+
* Checks if a cached animation without a duration exists.
|
|
18
|
+
* @param {string} key - The cache key to check.
|
|
19
|
+
* @returns {boolean} - True if an invalid animation is cached, false otherwise.
|
|
20
|
+
*/
|
|
21
|
+
containsCachedAnimationWithoutDuration(key: string): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Clears the cache.
|
|
24
|
+
* @returns {void}
|
|
25
|
+
*/
|
|
26
|
+
flush(): void;
|
|
27
|
+
/**
|
|
28
|
+
* Gets the count of a specific cache entry.
|
|
29
|
+
* @param {string} key - The cache key to count.
|
|
30
|
+
* @returns {number} - The count of the cache entry.
|
|
31
|
+
*/
|
|
32
|
+
count(key: string): number;
|
|
33
|
+
/**
|
|
34
|
+
* Retrieves a value associated with a specific cache key.
|
|
35
|
+
* @param {string} key - The cache key to retrieve.
|
|
36
|
+
* @returns {any} - The value associated with the cache key.
|
|
37
|
+
*/
|
|
38
|
+
get(key: string): any;
|
|
39
|
+
/**
|
|
40
|
+
* Adds or updates a cache entry.
|
|
41
|
+
* @param {string} key - The cache key to add or update.
|
|
42
|
+
* @param {any} value - The value to store.
|
|
43
|
+
* @param {boolean} isValid - Whether the cache entry is valid.
|
|
44
|
+
*/
|
|
45
|
+
put(key: string, value: any, isValid: boolean): void;
|
|
46
|
+
};
|
|
47
|
+
export function AnimateCacheProvider(): void;
|
|
48
|
+
export class AnimateCacheProvider {
|
|
49
|
+
$get: (typeof animateCache)[];
|
|
50
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {*} $interpolate
|
|
3
|
+
* @returns {import("../interface.ts").Directive}
|
|
4
|
+
*/
|
|
5
|
+
export function $$AnimateChildrenDirective(
|
|
6
|
+
$interpolate: any,
|
|
7
|
+
): import("../interface.ts").Directive;
|
|
8
|
+
export namespace $$AnimateChildrenDirective {
|
|
9
|
+
let $inject: string[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export function AnimateCssDriverProvider($$animationProvider: any): void;
|
|
2
|
+
export class AnimateCssDriverProvider {
|
|
3
|
+
constructor($$animationProvider: any);
|
|
4
|
+
/**
|
|
5
|
+
* @returns {Function}
|
|
6
|
+
*/
|
|
7
|
+
$get: (
|
|
8
|
+
| string
|
|
9
|
+
| ((
|
|
10
|
+
$animateCss: any,
|
|
11
|
+
$$AnimateRunner: typeof import("./animate-runner.js").AnimateRunner,
|
|
12
|
+
$rootElement: Element,
|
|
13
|
+
) => (animationDetails: any) => any)
|
|
14
|
+
)[];
|
|
15
|
+
}
|
|
16
|
+
export namespace AnimateCssDriverProvider {
|
|
17
|
+
let $inject: string[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export function AnimateCssProvider(): void;
|
|
2
|
+
export class AnimateCssProvider {
|
|
3
|
+
$get: (
|
|
4
|
+
| string
|
|
5
|
+
| ((
|
|
6
|
+
$$AnimateRunner: any,
|
|
7
|
+
$$animateCache: any,
|
|
8
|
+
$$rAFScheduler: any,
|
|
9
|
+
) => (
|
|
10
|
+
element: any,
|
|
11
|
+
initialOptions: any,
|
|
12
|
+
) => {
|
|
13
|
+
$$willAnimate: boolean;
|
|
14
|
+
start(): any;
|
|
15
|
+
end: () => void;
|
|
16
|
+
})
|
|
17
|
+
)[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export function AnimateJsDriverProvider($$animationProvider: any): void;
|
|
2
|
+
export class AnimateJsDriverProvider {
|
|
3
|
+
constructor($$animationProvider: any);
|
|
4
|
+
$get: (
|
|
5
|
+
| string
|
|
6
|
+
| ((
|
|
7
|
+
$$animateJs: any,
|
|
8
|
+
$$AnimateRunner: any,
|
|
9
|
+
) => (animationDetails: any) => any)
|
|
10
|
+
)[];
|
|
11
|
+
}
|
|
12
|
+
export namespace AnimateJsDriverProvider {
|
|
13
|
+
let $inject: string[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export function AnimateJsProvider($animateProvider: any): void;
|
|
2
|
+
export class AnimateJsProvider {
|
|
3
|
+
constructor($animateProvider: any);
|
|
4
|
+
$get: (
|
|
5
|
+
| string
|
|
6
|
+
| ((
|
|
7
|
+
$injector: any,
|
|
8
|
+
$$AnimateRunner: any,
|
|
9
|
+
) => (
|
|
10
|
+
element: any,
|
|
11
|
+
event: any,
|
|
12
|
+
classes: any,
|
|
13
|
+
options: any,
|
|
14
|
+
) => {
|
|
15
|
+
$$willAnimate: boolean;
|
|
16
|
+
end(): any;
|
|
17
|
+
start(): any;
|
|
18
|
+
})
|
|
19
|
+
)[];
|
|
20
|
+
}
|
|
21
|
+
export namespace AnimateJsProvider {
|
|
22
|
+
let $inject: string[];
|
|
23
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export function AnimateQueueProvider($animateProvider: any): void;
|
|
2
|
+
export class AnimateQueueProvider {
|
|
3
|
+
constructor($animateProvider: any);
|
|
4
|
+
rules: {
|
|
5
|
+
skip: any[];
|
|
6
|
+
cancel: any[];
|
|
7
|
+
join: any[];
|
|
8
|
+
};
|
|
9
|
+
$get: (
|
|
10
|
+
| string
|
|
11
|
+
| ((
|
|
12
|
+
$rootScope: import("../core/scope/scope.js").Scope,
|
|
13
|
+
$injector: import("../core/di/internal-injector.js").InjectorService,
|
|
14
|
+
$$animation: any,
|
|
15
|
+
$$AnimateRunner: any,
|
|
16
|
+
$templateRequest: any,
|
|
17
|
+
) => {
|
|
18
|
+
on(event: any, container: any, callback: any): void;
|
|
19
|
+
off(event: any, container: any, callback: any, ...args: any[]): void;
|
|
20
|
+
pin(element: any, parentElement: any): void;
|
|
21
|
+
push(element: any, event: any, options: any, domOperation: any): any;
|
|
22
|
+
enabled(element: any, bool: any, ...args: any[]): any;
|
|
23
|
+
})
|
|
24
|
+
)[];
|
|
25
|
+
}
|
|
26
|
+
export namespace AnimateQueueProvider {
|
|
27
|
+
let $inject: string[];
|
|
28
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export function AnimateAsyncRunFactoryProvider(): void;
|
|
2
|
+
export class AnimateAsyncRunFactoryProvider {
|
|
3
|
+
$get: (() => () => (callback: any) => void)[];
|
|
4
|
+
}
|
|
5
|
+
export function AnimateRunnerFactoryProvider(): void;
|
|
6
|
+
export class AnimateRunnerFactoryProvider {
|
|
7
|
+
$get: (string | ((animateAsyncRun: any) => typeof AnimateRunner))[];
|
|
8
|
+
}
|
|
9
|
+
export class AnimateRunner {
|
|
10
|
+
static chain(chain: any, callback: any): void;
|
|
11
|
+
static all(runners: any, callback: any): void;
|
|
12
|
+
constructor(host: any);
|
|
13
|
+
_doneCallbacks: any[];
|
|
14
|
+
_tick: (fn: any) => void;
|
|
15
|
+
_state: number;
|
|
16
|
+
setHost(host: any): void;
|
|
17
|
+
host: any;
|
|
18
|
+
done(fn: any): void;
|
|
19
|
+
progress(): void;
|
|
20
|
+
getPromise(): Promise<any>;
|
|
21
|
+
promise: Promise<any>;
|
|
22
|
+
then(resolveHandler: any, rejectHandler: any): Promise<any>;
|
|
23
|
+
catch(handler: any): Promise<any>;
|
|
24
|
+
finally(handler: any): Promise<any>;
|
|
25
|
+
pause(): void;
|
|
26
|
+
resume(): void;
|
|
27
|
+
end(): void;
|
|
28
|
+
cancel(): void;
|
|
29
|
+
complete(response: any): void;
|
|
30
|
+
_resolve(response: any): void;
|
|
31
|
+
}
|