animation_ast.js
8.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
* @abstract
*/
export var AnimationAst = (function () {
function AnimationAst() {
this.startTime = 0;
this.playTime = 0;
}
/**
* @abstract
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationAst.prototype.visit = function (visitor, context) { };
return AnimationAst;
}());
function AnimationAst_tsickle_Closure_declarations() {
/** @type {?} */
AnimationAst.prototype.startTime;
/** @type {?} */
AnimationAst.prototype.playTime;
}
/**
* @abstract
*/
export var AnimationStateAst = (function (_super) {
__extends(AnimationStateAst, _super);
function AnimationStateAst() {
_super.apply(this, arguments);
}
/**
* @abstract
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationStateAst.prototype.visit = function (visitor, context) { };
return AnimationStateAst;
}(AnimationAst));
export var AnimationEntryAst = (function (_super) {
__extends(AnimationEntryAst, _super);
/**
* @param {?} name
* @param {?} stateDeclarations
* @param {?} stateTransitions
*/
function AnimationEntryAst(name, stateDeclarations, stateTransitions) {
_super.call(this);
this.name = name;
this.stateDeclarations = stateDeclarations;
this.stateTransitions = stateTransitions;
}
/**
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationEntryAst.prototype.visit = function (visitor, context) {
return visitor.visitAnimationEntry(this, context);
};
return AnimationEntryAst;
}(AnimationAst));
function AnimationEntryAst_tsickle_Closure_declarations() {
/** @type {?} */
AnimationEntryAst.prototype.name;
/** @type {?} */
AnimationEntryAst.prototype.stateDeclarations;
/** @type {?} */
AnimationEntryAst.prototype.stateTransitions;
}
export var AnimationStateDeclarationAst = (function (_super) {
__extends(AnimationStateDeclarationAst, _super);
/**
* @param {?} stateName
* @param {?} styles
*/
function AnimationStateDeclarationAst(stateName, styles) {
_super.call(this);
this.stateName = stateName;
this.styles = styles;
}
/**
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationStateDeclarationAst.prototype.visit = function (visitor, context) {
return visitor.visitAnimationStateDeclaration(this, context);
};
return AnimationStateDeclarationAst;
}(AnimationStateAst));
function AnimationStateDeclarationAst_tsickle_Closure_declarations() {
/** @type {?} */
AnimationStateDeclarationAst.prototype.stateName;
/** @type {?} */
AnimationStateDeclarationAst.prototype.styles;
}
export var AnimationStateTransitionExpression = (function () {
/**
* @param {?} fromState
* @param {?} toState
*/
function AnimationStateTransitionExpression(fromState, toState) {
this.fromState = fromState;
this.toState = toState;
}
return AnimationStateTransitionExpression;
}());
function AnimationStateTransitionExpression_tsickle_Closure_declarations() {
/** @type {?} */
AnimationStateTransitionExpression.prototype.fromState;
/** @type {?} */
AnimationStateTransitionExpression.prototype.toState;
}
export var AnimationStateTransitionAst = (function (_super) {
__extends(AnimationStateTransitionAst, _super);
/**
* @param {?} stateChanges
* @param {?} animation
*/
function AnimationStateTransitionAst(stateChanges, animation) {
_super.call(this);
this.stateChanges = stateChanges;
this.animation = animation;
}
/**
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationStateTransitionAst.prototype.visit = function (visitor, context) {
return visitor.visitAnimationStateTransition(this, context);
};
return AnimationStateTransitionAst;
}(AnimationStateAst));
function AnimationStateTransitionAst_tsickle_Closure_declarations() {
/** @type {?} */
AnimationStateTransitionAst.prototype.stateChanges;
/** @type {?} */
AnimationStateTransitionAst.prototype.animation;
}
export var AnimationStepAst = (function (_super) {
__extends(AnimationStepAst, _super);
/**
* @param {?} startingStyles
* @param {?} keyframes
* @param {?} duration
* @param {?} delay
* @param {?} easing
*/
function AnimationStepAst(startingStyles, keyframes, duration, delay, easing) {
_super.call(this);
this.startingStyles = startingStyles;
this.keyframes = keyframes;
this.duration = duration;
this.delay = delay;
this.easing = easing;
}
/**
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationStepAst.prototype.visit = function (visitor, context) {
return visitor.visitAnimationStep(this, context);
};
return AnimationStepAst;
}(AnimationAst));
function AnimationStepAst_tsickle_Closure_declarations() {
/** @type {?} */
AnimationStepAst.prototype.startingStyles;
/** @type {?} */
AnimationStepAst.prototype.keyframes;
/** @type {?} */
AnimationStepAst.prototype.duration;
/** @type {?} */
AnimationStepAst.prototype.delay;
/** @type {?} */
AnimationStepAst.prototype.easing;
}
export var AnimationStylesAst = (function (_super) {
__extends(AnimationStylesAst, _super);
/**
* @param {?} styles
*/
function AnimationStylesAst(styles) {
_super.call(this);
this.styles = styles;
}
/**
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationStylesAst.prototype.visit = function (visitor, context) {
return visitor.visitAnimationStyles(this, context);
};
return AnimationStylesAst;
}(AnimationAst));
function AnimationStylesAst_tsickle_Closure_declarations() {
/** @type {?} */
AnimationStylesAst.prototype.styles;
}
export var AnimationKeyframeAst = (function (_super) {
__extends(AnimationKeyframeAst, _super);
/**
* @param {?} offset
* @param {?} styles
*/
function AnimationKeyframeAst(offset, styles) {
_super.call(this);
this.offset = offset;
this.styles = styles;
}
/**
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationKeyframeAst.prototype.visit = function (visitor, context) {
return visitor.visitAnimationKeyframe(this, context);
};
return AnimationKeyframeAst;
}(AnimationAst));
function AnimationKeyframeAst_tsickle_Closure_declarations() {
/** @type {?} */
AnimationKeyframeAst.prototype.offset;
/** @type {?} */
AnimationKeyframeAst.prototype.styles;
}
/**
* @abstract
*/
export var AnimationWithStepsAst = (function (_super) {
__extends(AnimationWithStepsAst, _super);
/**
* @param {?} steps
*/
function AnimationWithStepsAst(steps) {
_super.call(this);
this.steps = steps;
}
return AnimationWithStepsAst;
}(AnimationAst));
function AnimationWithStepsAst_tsickle_Closure_declarations() {
/** @type {?} */
AnimationWithStepsAst.prototype.steps;
}
export var AnimationGroupAst = (function (_super) {
__extends(AnimationGroupAst, _super);
/**
* @param {?} steps
*/
function AnimationGroupAst(steps) {
_super.call(this, steps);
}
/**
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationGroupAst.prototype.visit = function (visitor, context) {
return visitor.visitAnimationGroup(this, context);
};
return AnimationGroupAst;
}(AnimationWithStepsAst));
export var AnimationSequenceAst = (function (_super) {
__extends(AnimationSequenceAst, _super);
/**
* @param {?} steps
*/
function AnimationSequenceAst(steps) {
_super.call(this, steps);
}
/**
* @param {?} visitor
* @param {?} context
* @return {?}
*/
AnimationSequenceAst.prototype.visit = function (visitor, context) {
return visitor.visitAnimationSequence(this, context);
};
return AnimationSequenceAst;
}(AnimationWithStepsAst));
//# sourceMappingURL=animation_ast.js.map