@angular/animations 17.0.0-next.8 → 17.0.0-rc.0

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/index.d.ts CHANGED
@@ -1,10 +1,13 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.8
2
+ * @license Angular v17.0.0-rc.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
 
8
+ import * as i0 from '@angular/core';
9
+ import { RendererFactory2 } from '@angular/core';
10
+
8
11
  /**
9
12
  * Defines an animation step that combines styling information with timing information.
10
13
  *
@@ -278,6 +281,8 @@ export declare abstract class AnimationBuilder {
278
281
  * @see {@link animate}
279
282
  */
280
283
  abstract build(animation: AnimationMetadata | AnimationMetadata[]): AnimationFactory;
284
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnimationBuilder, never>;
285
+ static ɵprov: i0.ɵɵInjectableDeclaration<AnimationBuilder>;
281
286
  }
282
287
 
283
288
 
@@ -1608,9 +1613,64 @@ export declare class ɵAnimationGroupPlayer implements AnimationPlayer {
1608
1613
  beforeDestroy(): void;
1609
1614
  }
1610
1615
 
1616
+ export declare class ɵBrowserAnimationBuilder extends AnimationBuilder {
1617
+ private animationModuleType;
1618
+ private _nextAnimationId;
1619
+ private _renderer;
1620
+ constructor(rootRenderer: RendererFactory2, doc: Document);
1621
+ build(animation: AnimationMetadata | AnimationMetadata[]): AnimationFactory;
1622
+ static ɵfac: i0.ɵɵFactoryDeclaration<ɵBrowserAnimationBuilder, never>;
1623
+ static ɵprov: i0.ɵɵInjectableDeclaration<ɵBrowserAnimationBuilder>;
1624
+ }
1625
+
1611
1626
  export declare const ɵPRE_STYLE = "!";
1612
1627
 
1613
1628
 
1629
+ /**
1630
+ * The list of error codes used in runtime code of the `animations` package.
1631
+ * Reserved error code range: 3000-3999.
1632
+ */
1633
+ export declare const enum ɵRuntimeErrorCode {
1634
+ INVALID_TIMING_VALUE = 3000,
1635
+ INVALID_STYLE_PARAMS = 3001,
1636
+ INVALID_STYLE_VALUE = 3002,
1637
+ INVALID_PARAM_VALUE = 3003,
1638
+ INVALID_NODE_TYPE = 3004,
1639
+ INVALID_CSS_UNIT_VALUE = 3005,
1640
+ INVALID_TRIGGER = 3006,
1641
+ INVALID_DEFINITION = 3007,
1642
+ INVALID_STATE = 3008,
1643
+ INVALID_PROPERTY = 3009,
1644
+ INVALID_PARALLEL_ANIMATION = 3010,
1645
+ INVALID_KEYFRAMES = 3011,
1646
+ INVALID_OFFSET = 3012,
1647
+ INVALID_STAGGER = 3013,
1648
+ INVALID_QUERY = 3014,
1649
+ INVALID_EXPRESSION = 3015,
1650
+ INVALID_TRANSITION_ALIAS = 3016,
1651
+ NEGATIVE_STEP_VALUE = 3100,
1652
+ NEGATIVE_DELAY_VALUE = 3101,
1653
+ KEYFRAME_OFFSETS_OUT_OF_ORDER = 3200,
1654
+ KEYFRAMES_MISSING_OFFSETS = 3202,
1655
+ MISSING_OR_DESTROYED_ANIMATION = 3300,
1656
+ MISSING_PLAYER = 3301,
1657
+ MISSING_TRIGGER = 3302,
1658
+ MISSING_EVENT = 3303,
1659
+ UNSUPPORTED_TRIGGER_EVENT = 3400,
1660
+ UNREGISTERED_TRIGGER = 3401,
1661
+ TRIGGER_TRANSITIONS_FAILED = 3402,
1662
+ TRIGGER_PARSING_FAILED = 3403,
1663
+ TRIGGER_BUILD_FAILED = 3404,
1664
+ VALIDATION_FAILED = 3500,
1665
+ BUILDING_FAILED = 3501,
1666
+ ANIMATION_FAILED = 3502,
1667
+ REGISTRATION_FAILED = 3503,
1668
+ CREATE_ANIMATION_FAILED = 3504,
1669
+ TRANSITION_FAILED = 3505,
1670
+ BROWSER_ANIMATION_BUILDER_INJECTED_WITHOUT_ANIMATIONS = 3600
1671
+ }
1672
+
1673
+
1614
1674
  /**
1615
1675
  * Represents a set of CSS styles for use in an animation style as a generic.
1616
1676
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/animations",
3
- "version": "17.0.0-next.8",
3
+ "version": "17.0.0-rc.0",
4
4
  "description": "Angular - animations integration with web-animations",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  "tslib": "^2.3.0"
12
12
  },
13
13
  "peerDependencies": {
14
- "@angular/core": "17.0.0-next.8"
14
+ "@angular/core": "17.0.0-rc.0"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- export {};
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5pbWF0aW9ucy9icm93c2VyL3NyYy9lcnJvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogVGhlIGxpc3Qgb2YgZXJyb3IgY29kZXMgdXNlZCBpbiBydW50aW1lIGNvZGUgb2YgdGhlIGBhbmltYXRpb25zYCBwYWNrYWdlLlxuICogUmVzZXJ2ZWQgZXJyb3IgY29kZSByY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