@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.
Files changed (52) 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/angular.spec.js +0 -8
  5. package/src/animations/animate-cache.js +48 -23
  6. package/src/animations/animate-children-directive.js +5 -0
  7. package/src/animations/animate-css-driver.js +28 -27
  8. package/src/animations/animate-css.html +40 -0
  9. package/src/animations/animate-css.js +14 -20
  10. package/src/animations/animate-queue.js +2 -4
  11. package/src/animations/animate.md +933 -0
  12. package/src/animations/animation.js +3 -3
  13. package/src/animations/module.js +0 -754
  14. package/src/animations/shared.js +5 -0
  15. package/src/binding.spec.js +0 -2
  16. package/src/core/animate/animate-runner.js +1 -1
  17. package/src/core/animate/animate.spec.js +0 -1
  18. package/src/core/compile/compile.spec.js +3 -5
  19. package/src/core/location/location.spec.js +7 -7
  20. package/src/core/url-utils/url-utils.spec.js +1 -3
  21. package/src/directive/options/options.js +2 -3
  22. package/src/directive/repeat/repeat.spec.js +1 -1
  23. package/src/exts/messages/messages.js +1 -2
  24. package/src/loader.js +0 -1
  25. package/src/public.js +0 -7
  26. package/src/router/params/param-type.js +0 -1
  27. package/src/router/params/param-types.js +1 -1
  28. package/src/router/params/param.js +6 -3
  29. package/src/router/resolve/resolve-context.js +0 -1
  30. package/src/router/state/state.spec.js +0 -3
  31. package/src/router/transition/transition-event-type.js +0 -1
  32. package/src/router/transition/transition.js +0 -1
  33. package/src/router/url/url-matcher.js +0 -2
  34. package/src/services/cookie-reader.js +2 -6
  35. package/src/services/http-backend/http-backend.js +0 -1
  36. package/src/shared/common.js +1 -12
  37. package/src/shared/hof.js +0 -1
  38. package/src/shared/utils.js +1 -89
  39. package/types/animations/animate-cache.d.ts +38 -5
  40. package/types/animations/animate-children-directive.d.ts +5 -3
  41. package/types/animations/animate-css-driver.d.ts +1 -1
  42. package/types/animations/animate-queue.d.ts +1 -1
  43. package/types/animations/module.d.ts +0 -749
  44. package/types/animations/shared.d.ts +6 -1
  45. package/types/core/animate/animate-runner.d.ts +1 -2
  46. package/types/directive/options/options.d.ts +1 -1
  47. package/types/services/cookie-reader.d.ts +1 -6
  48. package/types/services/http-backend/http-backend.d.ts +0 -1
  49. package/types/shared/common.d.ts +0 -1
  50. package/types/shared/utils.d.ts +1 -89
  51. package/src/services/document.js +0 -67
  52. package/types/services/document.d.ts +0 -41
@@ -196,7 +196,7 @@ export function $$AnimationProvider() {
196
196
 
197
197
  $rootScope.$$postDigest(() => {
198
198
  const animations = [];
199
- forEach(animationQueue, (entry) => {
199
+ animationQueue.forEach((entry) => {
200
200
  // the element was destroyed early on which removed the runner
201
201
  // form its storage. This means we can't animate this element
202
202
  // at all and it already has been closed due to destruction.
@@ -213,7 +213,7 @@ export function $$AnimationProvider() {
213
213
  const groupedAnimations = groupAnimations(animations);
214
214
  const toBeSortedAnimations = [];
215
215
 
216
- forEach(groupedAnimations, (animationEntry) => {
216
+ groupedAnimations.forEach((animationEntry) => {
217
217
  const element = animationEntry.from
218
218
  ? animationEntry.from.element
219
219
  : animationEntry.element;
@@ -342,7 +342,7 @@ export function $$AnimationProvider() {
342
342
  if (anchorNodes.length) {
343
343
  const direction = enterOrMove ? "to" : "from";
344
344
 
345
- forEach(anchorNodes, (anchor) => {
345
+ anchorNodes.forEach((anchor) => {
346
346
  const key = anchor.getAttribute(NG_ANIMATE_REF_ATTR);
347
347
  refLookup[key] = refLookup[key] || {};
348
348
  refLookup[key][direction] = {