@angular-wave/angular.ts 0.0.51 → 0.0.53

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.
Files changed (42) hide show
  1. package/dist/angular-ts.esm.js +2 -2
  2. package/dist/angular-ts.umd.js +2 -2
  3. package/package.json +1 -1
  4. package/src/animations/animate-children-directive.js +19 -99
  5. package/src/animations/animate-children-directive.md +80 -0
  6. package/src/animations/animate-css-driver.js +250 -256
  7. package/src/animations/animate-css.js +646 -875
  8. package/src/animations/animate-css.md +263 -0
  9. package/src/animations/animate-js-driver.js +54 -56
  10. package/src/animations/animate-js.js +303 -306
  11. package/src/animations/animate-queue.js +707 -716
  12. package/src/animations/animate-swap.js +30 -119
  13. package/src/animations/animate-swap.md +88 -0
  14. package/src/animations/animation.js +3 -3
  15. package/src/core/animate/animate-css.js +21 -6
  16. package/src/core/animate/animate-runner.js +147 -145
  17. package/src/core/animate/animate.js +572 -585
  18. package/src/core/animate/animate.spec.js +194 -286
  19. package/src/core/animate/anomate.md +13 -0
  20. package/src/core/animate/helpers.js +10 -0
  21. package/src/core/compile/compile.spec.js +5 -6
  22. package/src/core/core.html +0 -1
  23. package/src/directive/select/select.js +301 -305
  24. package/src/public.js +0 -1
  25. package/src/router/directives/state-directives.js +256 -574
  26. package/src/router/directives/state-directives.md +435 -0
  27. package/src/router/directives/view-directive.js +3 -3
  28. package/src/router/index.js +7 -7
  29. package/types/animations/animate-children-directive.d.ts +5 -80
  30. package/types/animations/animate-css-driver.d.ts +11 -0
  31. package/types/animations/animate-css.d.ts +8 -0
  32. package/types/animations/animate-js-driver.d.ts +8 -0
  33. package/types/animations/animate-js.d.ts +12 -0
  34. package/types/animations/animate-queue.d.ts +19 -0
  35. package/types/animations/animate-swap.d.ts +5 -89
  36. package/types/core/animate/animate-css.d.ts +1 -1
  37. package/types/core/animate/animate-runner.d.ts +32 -0
  38. package/types/core/animate/animate.d.ts +509 -0
  39. package/types/core/animate/helpers.d.ts +8 -0
  40. package/types/directive/select/select.d.ts +79 -0
  41. package/types/router/directives/state-directives.d.ts +31 -0
  42. package/src/core/document.spec.js +0 -52
@@ -0,0 +1,435 @@
1
+ /\*\*
2
+
3
+ - `ng-sref`: A directive for linking to a state
4
+ -
5
+ - A directive which links to a state (and optionally, parameters).
6
+ - When clicked, this directive activates the linked state with the supplied parameter values.
7
+ -
8
+ - ### Linked State
9
+ - The attribute value of the `ng-sref` is the name of the state to link to.
10
+ -
11
+ - #### Example:
12
+ - This will activate the `home` state when the link is clicked.
13
+ - ```html
14
+
15
+ ```
16
+
17
+ - <a ng-sref="home">Home</a>
18
+ - ```
19
+
20
+ ```
21
+
22
+ -
23
+ - ### Relative Links
24
+ - You can also use relative state paths within `ng-sref`, just like a relative path passed to `$state.go()` ([[StateService.go]]).
25
+ - You just need to be aware that the path is relative to the state that _created_ the link.
26
+ - This allows a state to create a relative `ng-sref` which always targets the same destination.
27
+ -
28
+ - #### Example:
29
+ - Both these links are relative to the parent state, even when a child state is currently active.
30
+ - ```html
31
+
32
+ ```
33
+
34
+ - <a ng-sref=".child1">child 1 state</a>
35
+ - <a ng-sref=".child2">child 2 state</a>
36
+ - ```
37
+
38
+ ```
39
+
40
+ -
41
+ - This link activates the parent state.
42
+ - ```html
43
+
44
+ ```
45
+
46
+ - <a ng-sref="^">Return</a>
47
+ - ```
48
+
49
+ ```
50
+
51
+ -
52
+ - ### hrefs
53
+ - If the linked state has a URL, the directive will automatically generate and
54
+ - update the `href` attribute (using the [[StateService.href]] method).
55
+ -
56
+ - #### Example:
57
+ - Assuming the `users` state has a url of `/users/`
58
+ - ```html
59
+
60
+ ```
61
+
62
+ - <a ng-sref="users" href="/users/">Users</a>
63
+ - ```
64
+
65
+ ```
66
+
67
+ -
68
+ - ### Parameter Values
69
+ - In addition to the state name, a `ng-sref` can include parameter values which are applied when activating the state.
70
+ - Param values can be provided in the `ng-sref` value after the state name, enclosed by parentheses.
71
+ - The content inside the parentheses is an expression, evaluated to the parameter values.
72
+ -
73
+ - #### Example:
74
+ - This example renders a list of links to users.
75
+ - The state's `userId` parameter value comes from each user's `user.id` property.
76
+ - ```html
77
+
78
+ ```
79
+
80
+ - <li ng-repeat="user in users">
81
+ - <a ng-sref="users.detail({ userId: user.id })">{{ user.displayName }}</a>
82
+ - </li>
83
+ - ```
84
+
85
+ ```
86
+
87
+ -
88
+ - Note:
89
+ - The parameter values expression is `$watch`ed for updates.
90
+ -
91
+ - ### Transition Options
92
+ - You can specify [[TransitionOptions]] to pass to [[StateService.go]] by using the `ng-sref-opts` attribute.
93
+ - Options are restricted to `location`, `inherit`, and `reload`.
94
+ -
95
+ - #### Example:
96
+ - ```html
97
+
98
+ ```
99
+
100
+ - <a ng-sref="home" ng-sref-opts="{ reload: true }">Home</a>
101
+ - ```
102
+
103
+ ```
104
+
105
+ -
106
+ - ### Other DOM Events
107
+ -
108
+ - You can also customize which DOM events to respond to (instead of `click`) by
109
+ - providing an `events` array in the `ng-sref-opts` attribute.
110
+ -
111
+ - #### Example:
112
+ - ```html
113
+
114
+ ```
115
+
116
+ - <input type="text" ng-sref="contacts" ng-sref-opts="{ events: ['change', 'blur'] }">
117
+ - ```
118
+
119
+ ```
120
+
121
+ -
122
+ - ### Highlighting the active link
123
+ - This directive can be used in conjunction with [[ngSrefActive]] to highlight the active link.
124
+ -
125
+ - ### Examples
126
+ - If you have the following template:
127
+ -
128
+ - ```html
129
+
130
+ ```
131
+
132
+ - <a ng-sref="home">Home</a>
133
+ - <a ng-sref="about">About</a>
134
+ - <a ng-sref="{page: 2}">Next page</a>
135
+ -
136
+ - <ul>
137
+ - <li ng-repeat="contact in contacts">
138
+ - <a ng-sref="contacts.detail({ id: contact.id })">{{ contact.name }}</a>
139
+ - </li>
140
+ - </ul>
141
+ - ```
142
+
143
+ ```
144
+
145
+ -
146
+ - Then (assuming the current state is `contacts`) the rendered html including hrefs would be:
147
+ -
148
+ - ```html
149
+
150
+ ```
151
+
152
+ - <a href="#/home" ng-sref="home">Home</a>
153
+ - <a href="#/about" ng-sref="about">About</a>
154
+ - <a href="#/contacts?page=2" ng-sref="{page: 2}">Next page</a>
155
+ -
156
+ - <ul>
157
+ - <li ng-repeat="contact in contacts">
158
+ - <a href="#/contacts/1" ng-sref="contacts.detail({ id: contact.id })">Joe</a>
159
+ - </li>
160
+ - <li ng-repeat="contact in contacts">
161
+ - <a href="#/contacts/2" ng-sref="contacts.detail({ id: contact.id })">Alice</a>
162
+ - </li>
163
+ - <li ng-repeat="contact in contacts">
164
+ - <a href="#/contacts/3" ng-sref="contacts.detail({ id: contact.id })">Bob</a>
165
+ - </li>
166
+ - </ul>
167
+ -
168
+ - <a href="#/home" ng-sref="home" ng-sref-opts="{reload: true}">Home</a>
169
+ - ```
170
+
171
+ ```
172
+
173
+ -
174
+ - ### Notes
175
+ -
176
+ - - You can use `ng-sref` to change **only the parameter values** by omitting the state name and parentheses.
177
+ - #### Example:
178
+ - Sets the `lang` parameter to `en` and remains on the same state.
179
+ -
180
+ - ```html
181
+
182
+ ```
183
+
184
+ - <a ng-sref="{ lang: 'en' }">English</a>
185
+ - ```
186
+
187
+ ```
188
+
189
+ -
190
+ - - A middle-click, right-click, or ctrl-click is handled (natively) by the browser to open the href in a new window, for example.
191
+ -
192
+ - - Unlike the parameter values expression, the state name is not `$watch`ed (for performance reasons).
193
+ - If you need to dynamically update the state being linked to, use the fully dynamic [[ngState]] directive.
194
+ \*/
195
+
196
+ /\*\*
197
+
198
+ - `ng-state`: A fully dynamic directive for linking to a state
199
+ -
200
+ - A directive which links to a state (and optionally, parameters).
201
+ - When clicked, this directive activates the linked state with the supplied parameter values.
202
+ -
203
+ - **This directive is very similar to [[ngSref]], but it `$observe`s and `$watch`es/evaluates all its inputs.**
204
+ -
205
+ - A directive which links to a state (and optionally, parameters).
206
+ - When clicked, this directive activates the linked state with the supplied parameter values.
207
+ -
208
+ - ### Linked State
209
+ - The attribute value of `ng-state` is an expression which is `$watch`ed and evaluated as the state to link to.
210
+ - **This is in contrast with `ui-sref`, which takes a state name as a string literal.**
211
+ -
212
+ - #### Example:
213
+ - Create a list of links.
214
+ - ```html
215
+
216
+ ```
217
+
218
+ - <li ng-repeat="link in navlinks">
219
+ - <a ng-state="link.state">{{ link.displayName }}</a>
220
+ - </li>
221
+ - ```
222
+
223
+ ```
224
+
225
+ -
226
+ - ### Relative Links
227
+ - If the expression evaluates to a relative path, it is processed like [[ngSref]].
228
+ - You just need to be aware that the path is relative to the state that _created_ the link.
229
+ - This allows a state to create relative `ng-state` which always targets the same destination.
230
+ -
231
+ - ### hrefs
232
+ - If the linked state has a URL, the directive will automatically generate and
233
+ - update the `href` attribute (using the [[StateService.href]] method).
234
+ -
235
+ - ### Parameter Values
236
+ - In addition to the state name expression, a `ng-state` can include parameter values which are applied when activating the state.
237
+ - Param values should be provided using the `ng-state-params` attribute.
238
+ - The `ng-state-params` attribute value is `$watch`ed and evaluated as an expression.
239
+ -
240
+ - #### Example:
241
+ - This example renders a list of links with param values.
242
+ - The state's `userId` parameter value comes from each user's `user.id` property.
243
+ - ```html
244
+
245
+ ```
246
+
247
+ - <li ng-repeat="link in navlinks">
248
+ - <a ng-state="link.state" ng-state-params="link.params">{{ link.displayName }}</a>
249
+ - </li>
250
+ - ```
251
+
252
+ ```
253
+
254
+ -
255
+ - ### Transition Options
256
+ - You can specify [[TransitionOptions]] to pass to [[StateService.go]] by using the `ng-state-opts` attribute.
257
+ - Options are restricted to `location`, `inherit`, and `reload`.
258
+ - The value of the `ng-state-opts` is `$watch`ed and evaluated as an expression.
259
+ -
260
+ - #### Example:
261
+ - ```html
262
+
263
+ ```
264
+
265
+ - <a ng-state="returnto.state" ng-state-opts="{ reload: true }">Home</a>
266
+ - ```
267
+
268
+ ```
269
+
270
+ -
271
+ - ### Other DOM Events
272
+ -
273
+ - You can also customize which DOM events to respond to (instead of `click`) by
274
+ - providing an `events` array in the `ng-state-opts` attribute.
275
+ -
276
+ - #### Example:
277
+ - ```html
278
+
279
+ ```
280
+
281
+ - <input type="text" ng-state="contacts" ng-state-opts="{ events: ['change', 'blur'] }">
282
+ - ```
283
+
284
+ ```
285
+
286
+ -
287
+ - ### Highlighting the active link
288
+ - This directive can be used in conjunction with [[ngSrefActive]] to highlight the active link.
289
+ -
290
+ - ### Notes
291
+ -
292
+ - - You can use `ui-params` to change **only the parameter values** by omitting the state name and supplying only `ng-state-params`.
293
+ - However, it might be simpler to use [[ngSref]] parameter-only links.
294
+ -
295
+ - #### Example:
296
+ - Sets the `lang` parameter to `en` and remains on the same state.
297
+ -
298
+ - ```html
299
+
300
+ ```
301
+
302
+ - <a ng-state="" ng-state-params="{ lang: 'en' }">English</a>
303
+ - ```
304
+
305
+ ```
306
+
307
+ -
308
+ - - A middle-click, right-click, or ctrl-click is handled (natively) by the browser to open the href in a new window, for example.
309
+ - ```
310
+ */
311
+ ```
312
+
313
+ /\*\*
314
+
315
+ - `ui-sref-active` and `ui-sref-active-eq`: A directive that adds a CSS class when a `ui-sref` is active
316
+ -
317
+ - A directive working alongside [[ngSref]] and [[ngState]] to add classes to an element when the
318
+ - related directive's state is active (and remove them when it is inactive).
319
+ -
320
+ - The primary use-case is to highlight the active link in navigation menus,
321
+ - distinguishing it from the inactive menu items.
322
+ -
323
+ - ### Linking to a `ui-sref` or `ng-state`
324
+ - `ui-sref-active` can live on the same element as `ui-sref`/`ng-state`, or it can be on a parent element.
325
+ - If a `ui-sref-active` is a parent to more than one `ui-sref`/`ng-state`, it will apply the CSS class when **any of the links are active**.
326
+ -
327
+ - ### Matching
328
+ -
329
+ - The `ui-sref-active` directive applies the CSS class when the `ui-sref`/`ng-state`'s target state **or any child state is active**.
330
+ - This is a "fuzzy match" which uses [[StateService.includes]].
331
+ -
332
+ - The `ui-sref-active-eq` directive applies the CSS class when the `ui-sref`/`ng-state`'s target state is directly active (not when child states are active).
333
+ - This is an "exact match" which uses [[StateService.is]].
334
+ -
335
+ - ### Parameter values
336
+ - If the `ui-sref`/`ng-state` includes parameter values, the current parameter values must match the link's values for the link to be highlighted.
337
+ - This allows a list of links to the same state with different parameters to be rendered, and the correct one highlighted.
338
+ -
339
+ - #### Example:
340
+ - ```html
341
+
342
+ ```
343
+
344
+ - <li ng-repeat="user in users" ui-sref-active="active">
345
+ - <a ui-sref="user.details({ userId: user.id })">{{ user.lastName }}</a>
346
+ - </li>
347
+ - ```
348
+
349
+ ```
350
+
351
+ -
352
+ - ### Examples
353
+ -
354
+ - Given the following template:
355
+ - #### Example:
356
+ - ```html
357
+
358
+ ```
359
+
360
+ - <ul>
361
+ - <li ui-sref-active="active" class="item">
362
+ - <a href ui-sref="app.user({user: 'bilbobaggins'})">@bilbobaggins</a>
363
+ - </li>
364
+ - </ul>
365
+ - ```
366
+
367
+ ```
368
+
369
+ -
370
+ - When the app state is `app.user` (or any child state),
371
+ - and contains the state parameter "user" with value "bilbobaggins",
372
+ - the resulting HTML will appear as (note the 'active' class):
373
+ -
374
+ - ```html
375
+
376
+ ```
377
+
378
+ - <ul>
379
+ - <li ui-sref-active="active" class="item active">
380
+ - <a ui-sref="app.user({user: 'bilbobaggins'})" href="/users/bilbobaggins">@bilbobaggins</a>
381
+ - </li>
382
+ - </ul>
383
+ - ```
384
+
385
+ ```
386
+
387
+ -
388
+ - ### Glob mode
389
+ -
390
+ - It is possible to pass `ui-sref-active` an expression that evaluates to an object.
391
+ - The objects keys represent active class names and values represent the respective state names/globs.
392
+ - `ui-sref-active` will match if the current active state **includes** any of
393
+ - the specified state names/globs, even the abstract ones.
394
+ -
395
+ - #### Example:
396
+ - Given the following template, with "admin" being an abstract state:
397
+ - ```html
398
+
399
+ ```
400
+
401
+ - <div ui-sref-active="{'active': 'admin.**'}">
402
+ - <a ui-sref-active="active" ui-sref="admin.roles">Roles</a>
403
+ - </div>
404
+ - ```
405
+
406
+ ```
407
+
408
+ -
409
+ - Arrays are also supported as values in the `ngClass`-like interface.
410
+ - This allows multiple states to add `active` class.
411
+ -
412
+ - #### Example:
413
+ - Given the following template, with "admin.roles" being the current state, the class will be added too:
414
+ - ```html
415
+
416
+ ```
417
+
418
+ - <div ui-sref-active="{'active': ['owner.**', 'admin.**']}">
419
+ - <a ui-sref-active="active" ui-sref="admin.roles">Roles</a>
420
+ - </div>
421
+ - ```
422
+
423
+ ```
424
+
425
+ -
426
+ - When the current state is "admin.roles" the "active" class will be applied to both the `<div>` and `<a>` elements.
427
+ - It is important to note that the state names/globs passed to `ui-sref-active` override any state provided by a linked `ui-sref`.
428
+ -
429
+ - ### Notes:
430
+ -
431
+ - - The class name is interpolated **once** during the directives link time (any further changes to the
432
+ - interpolated value are ignored).
433
+ -
434
+ - - Multiple classes may be specified in a space-separated format: `ui-sref-active='class1 class2 class3'`
435
+ \*/
@@ -399,10 +399,10 @@ export function $ViewDirectiveFill(
399
399
  },
400
400
  };
401
401
  }
402
- /** @hidden */
403
- /** @hidden incrementing id */
402
+ /** @ignore */
403
+ /** @ignore incrementing id */
404
404
  let _uiCanExitId = 0;
405
- /** @hidden TODO: move these callbacks to $view and/or `/hooks/components.ts` or something */
405
+ /** @ignore TODO: move these callbacks to $view and/or `/hooks/components.ts` or something */
406
406
  function registerControllerCallbacks(
407
407
  $q,
408
408
  $transitions,
@@ -4,9 +4,9 @@ import { trace } from "./common/trace";
4
4
  import { $ViewScrollProvider } from "./view-scroll";
5
5
  import { $IsStateFilter, $IncludedByStateFilter } from "./state-filters";
6
6
  import {
7
- ngSrefActiveDirective,
8
- ngStateDirective,
9
- ngSrefDirective,
7
+ $StateRefDirective,
8
+ $StateRefDynamicDirective,
9
+ $StateRefActiveDirective,
10
10
  } from "./directives/state-directives";
11
11
  import { ngView, $ViewDirectiveFill } from "./directives/view-directive";
12
12
  import { UrlConfigProvider } from "./url/url-config";
@@ -42,10 +42,10 @@ export function initRouter() {
42
42
  .value("$trace", trace)
43
43
  .filter("isState", $IsStateFilter)
44
44
  .filter("includedByState", $IncludedByStateFilter)
45
- .directive("ngSref", ngSrefDirective)
46
- .directive("ngSrefActive", ngSrefActiveDirective)
47
- .directive("ngSrefActiveEq", ngSrefActiveDirective)
48
- .directive("ngState", ngStateDirective)
45
+ .directive("ngSref", $StateRefDirective)
46
+ .directive("ngSrefActive", $StateRefActiveDirective)
47
+ .directive("ngSrefActiveEq", $StateRefActiveDirective)
48
+ .directive("ngState", $StateRefDynamicDirective)
49
49
  .directive("ngView", ngView)
50
50
  .directive("ngView", $ViewDirectiveFill)
51
51
 
@@ -1,81 +1,6 @@
1
- /**
2
- * @ngdoc directive
3
- * @name ngAnimateChildren
4
- * @restrict AE
5
- * @element ANY
6
- *
7
- * @description
8
- *
9
- * ngAnimateChildren allows you to specify that children of this element should animate even if any
10
- * of the children's parents are currently animating. By default, when an element has an active `enter`, `leave`, or `move`
11
- * (structural) animation, child elements that also have an active structural animation are not animated.
12
- *
13
- * Note that even if `ngAnimateChildren` is set, no child animations will run when the parent element is removed from the DOM (`leave` animation).
14
- *
15
- *
16
- * @param {string} ngAnimateChildren If the value is empty, `true` or `on`,
17
- * then child animations are allowed. If the value is `false`, child animations are not allowed.
18
- *
19
- * @example
20
- * <example module="ngAnimateChildren" name="ngAnimateChildren" deps="angular-animate.js" animations="true">
21
- <file name="index.html">
22
- <div ng-controller="MainController as main">
23
- <label>Show container? <input type="checkbox" ng-model="main.enterElement" /></label>
24
- <label>Animate children? <input type="checkbox" ng-model="main.animateChildren" /></label>
25
- <hr>
26
- <div ng-animate-children="{{main.animateChildren}}">
27
- <div ng-if="main.enterElement" class="container">
28
- List of items:
29
- <div ng-repeat="item in [0, 1, 2, 3]" class="item">Item {{item}}</div>
30
- </div>
31
- </div>
32
- </div>
33
- </file>
34
- <file name="animations.css">
35
-
36
- .container.ng-enter,
37
- .container.ng-leave {
38
- transition: all ease 1.5s;
39
- }
40
-
41
- .container.ng-enter,
42
- .container.ng-leave-active {
43
- opacity: 0;
44
- }
45
-
46
- .container.ng-leave,
47
- .container.ng-enter-active {
48
- opacity: 1;
49
- }
50
-
51
- .item {
52
- background: firebrick;
53
- color: #FFF;
54
- margin-bottom: 10px;
55
- }
56
-
57
- .item.ng-enter,
58
- .item.ng-leave {
59
- transition: transform 1.5s ease;
60
- }
61
-
62
- .item.ng-enter {
63
- transform: translateX(50px);
64
- }
65
-
66
- .item.ng-enter-active {
67
- transform: translateX(0);
68
- }
69
- </file>
70
- <file name="script.js">
71
- angular.module('ngAnimateChildren', ['ngAnimate'])
72
- .controller('MainController', function MainController() {
73
- this.animateChildren = false;
74
- this.enterElement = false;
75
- });
76
- </file>
77
- </example>
78
- */
79
- export const $$AnimateChildrenDirective: (string | (($interpolate: any) => {
1
+ export function $$AnimateChildrenDirective($interpolate: any): {
80
2
  link(scope: any, element: any, attrs: any): void;
81
- }))[];
3
+ };
4
+ export namespace $$AnimateChildrenDirective {
5
+ let $inject: string[];
6
+ }
@@ -0,0 +1,11 @@
1
+ export function $$AnimateCssDriverProvider($$animationProvider: any): void;
2
+ export class $$AnimateCssDriverProvider {
3
+ constructor($$animationProvider: any);
4
+ /**
5
+ * @returns {Function}
6
+ */
7
+ $get: (string | (($animateCss: any, $$AnimateRunner: any, $rootElement: any, $document: any) => (animationDetails: any) => any))[];
8
+ }
9
+ export namespace $$AnimateCssDriverProvider {
10
+ let $inject: string[];
11
+ }
@@ -0,0 +1,8 @@
1
+ export function $AnimateCssProvider(): void;
2
+ export class $AnimateCssProvider {
3
+ $get: (string | (($$AnimateRunner: any, $timeout: any, $$animateCache: any, $$rAFScheduler: any, $$animateQueue: any) => (element: any, initialOptions: any) => {
4
+ $$willAnimate: boolean;
5
+ start(): any;
6
+ end: () => void;
7
+ }))[];
8
+ }
@@ -0,0 +1,8 @@
1
+ export function $$AnimateJsDriverProvider($$animationProvider: any): void;
2
+ export class $$AnimateJsDriverProvider {
3
+ constructor($$animationProvider: any);
4
+ $get: (string | (($$animateJs: any, $$AnimateRunner: any) => (animationDetails: any) => any))[];
5
+ }
6
+ export namespace $$AnimateJsDriverProvider {
7
+ let $inject: string[];
8
+ }
@@ -0,0 +1,12 @@
1
+ export function $$AnimateJsProvider($animateProvider: any): void;
2
+ export class $$AnimateJsProvider {
3
+ constructor($animateProvider: any);
4
+ $get: (string | (($injector: any, $$AnimateRunner: any) => (element: any, event: any, classes: any, options: any, ...args: any[]) => {
5
+ $$willAnimate: boolean;
6
+ end(): any;
7
+ start(): any;
8
+ }))[];
9
+ }
10
+ export namespace $$AnimateJsProvider {
11
+ let $inject: string[];
12
+ }
@@ -0,0 +1,19 @@
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: (string | (($rootScope: any, $rootElement: any, $document: any, $$animation: any, $$AnimateRunner: any, $templateRequest: any) => {
10
+ on(event: any, container: any, callback: any): void;
11
+ off(event: any, container: any, callback: any, ...args: any[]): void;
12
+ pin(element: any, parentElement: any): void;
13
+ push(element: any, event: any, options: any, domOperation: any): any;
14
+ enabled(element: any, bool: any, ...args: any[]): any;
15
+ }))[];
16
+ }
17
+ export namespace $$AnimateQueueProvider {
18
+ let $inject: string[];
19
+ }