@angular/core 10.0.3 → 10.0.4
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/bundles/core-testing.umd.js +316 -271
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +11 -25
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +504 -672
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +126 -280
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +2 -2
- package/core.metadata.json +1 -1
- package/esm2015/src/interface/type.js +2 -2
- package/esm2015/src/util/ng_dev_mode.js +2 -2
- package/esm2015/src/version.js +1 -1
- package/fesm2015/core.js +4 -4
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm2015/testing.js.map +1 -1
- package/package.json +1 -1
- package/src/r3_symbols.d.ts +2 -2
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
- package/esm2015/src/util/WrappedValue.js +0 -48
package/bundles/core.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v10.0.
|
|
2
|
+
* @license Angular v10.0.4
|
|
3
3
|
* (c) 2010-2020 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -10,232 +10,305 @@
|
|
|
10
10
|
(global = global || self, factory((global.ng = global.ng || {}, global.ng.core = {}), global.rxjs, global.rxjs.operators));
|
|
11
11
|
}(this, (function (exports, rxjs, operators) { 'use strict';
|
|
12
12
|
|
|
13
|
-
/*! *****************************************************************************
|
|
14
|
-
Copyright (c) Microsoft Corporation.
|
|
15
|
-
|
|
16
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
17
|
-
purpose with or without fee is hereby granted.
|
|
18
|
-
|
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
20
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
21
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
22
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
23
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
24
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
25
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
26
|
-
***************************************************************************** */
|
|
27
|
-
/* global Reflect, Promise */
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
function __extends(d, b) {
|
|
37
|
-
extendStatics(d, b);
|
|
38
|
-
function __() { this.constructor = d; }
|
|
39
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
function __rest(s, e) {
|
|
54
|
-
var t = {};
|
|
55
|
-
for (var p in s)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
function __decorate(decorators, target, key, desc) {
|
|
66
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
67
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
return
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
function
|
|
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
|
-
function
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
13
|
+
/*! *****************************************************************************
|
|
14
|
+
Copyright (c) Microsoft Corporation.
|
|
15
|
+
|
|
16
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
17
|
+
purpose with or without fee is hereby granted.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
20
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
21
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
22
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
23
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
24
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
25
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
26
|
+
***************************************************************************** */
|
|
27
|
+
/* global Reflect, Promise */
|
|
28
|
+
var extendStatics = function (d, b) {
|
|
29
|
+
extendStatics = Object.setPrototypeOf ||
|
|
30
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
31
|
+
function (d, b) { for (var p in b)
|
|
32
|
+
if (b.hasOwnProperty(p))
|
|
33
|
+
d[p] = b[p]; };
|
|
34
|
+
return extendStatics(d, b);
|
|
35
|
+
};
|
|
36
|
+
function __extends(d, b) {
|
|
37
|
+
extendStatics(d, b);
|
|
38
|
+
function __() { this.constructor = d; }
|
|
39
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40
|
+
}
|
|
41
|
+
var __assign = function () {
|
|
42
|
+
__assign = Object.assign || function __assign(t) {
|
|
43
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
44
|
+
s = arguments[i];
|
|
45
|
+
for (var p in s)
|
|
46
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
47
|
+
t[p] = s[p];
|
|
48
|
+
}
|
|
49
|
+
return t;
|
|
50
|
+
};
|
|
51
|
+
return __assign.apply(this, arguments);
|
|
52
|
+
};
|
|
53
|
+
function __rest(s, e) {
|
|
54
|
+
var t = {};
|
|
55
|
+
for (var p in s)
|
|
56
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
57
|
+
t[p] = s[p];
|
|
58
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
59
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
60
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
61
|
+
t[p[i]] = s[p[i]];
|
|
62
|
+
}
|
|
63
|
+
return t;
|
|
64
|
+
}
|
|
65
|
+
function __decorate(decorators, target, key, desc) {
|
|
66
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
67
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
68
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
69
|
+
else
|
|
70
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
71
|
+
if (d = decorators[i])
|
|
72
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
73
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
74
|
+
}
|
|
75
|
+
function __param(paramIndex, decorator) {
|
|
76
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
77
|
+
}
|
|
78
|
+
function __metadata(metadataKey, metadataValue) {
|
|
79
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
80
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
81
|
+
}
|
|
82
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
83
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
84
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
85
|
+
function fulfilled(value) { try {
|
|
86
|
+
step(generator.next(value));
|
|
87
|
+
}
|
|
88
|
+
catch (e) {
|
|
89
|
+
reject(e);
|
|
90
|
+
} }
|
|
91
|
+
function rejected(value) { try {
|
|
92
|
+
step(generator["throw"](value));
|
|
93
|
+
}
|
|
94
|
+
catch (e) {
|
|
95
|
+
reject(e);
|
|
96
|
+
} }
|
|
97
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
98
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
function __generator(thisArg, body) {
|
|
102
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
103
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
104
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
105
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
106
|
+
function step(op) {
|
|
107
|
+
if (f)
|
|
108
|
+
throw new TypeError("Generator is already executing.");
|
|
109
|
+
while (_)
|
|
110
|
+
try {
|
|
111
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
112
|
+
return t;
|
|
113
|
+
if (y = 0, t)
|
|
114
|
+
op = [op[0] & 2, t.value];
|
|
115
|
+
switch (op[0]) {
|
|
116
|
+
case 0:
|
|
117
|
+
case 1:
|
|
118
|
+
t = op;
|
|
119
|
+
break;
|
|
120
|
+
case 4:
|
|
121
|
+
_.label++;
|
|
122
|
+
return { value: op[1], done: false };
|
|
123
|
+
case 5:
|
|
124
|
+
_.label++;
|
|
125
|
+
y = op[1];
|
|
126
|
+
op = [0];
|
|
127
|
+
continue;
|
|
128
|
+
case 7:
|
|
129
|
+
op = _.ops.pop();
|
|
130
|
+
_.trys.pop();
|
|
131
|
+
continue;
|
|
132
|
+
default:
|
|
133
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
134
|
+
_ = 0;
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
138
|
+
_.label = op[1];
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
142
|
+
_.label = t[1];
|
|
143
|
+
t = op;
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
if (t && _.label < t[2]) {
|
|
147
|
+
_.label = t[2];
|
|
148
|
+
_.ops.push(op);
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
if (t[2])
|
|
152
|
+
_.ops.pop();
|
|
153
|
+
_.trys.pop();
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
op = body.call(thisArg, _);
|
|
157
|
+
}
|
|
158
|
+
catch (e) {
|
|
159
|
+
op = [6, e];
|
|
160
|
+
y = 0;
|
|
161
|
+
}
|
|
162
|
+
finally {
|
|
163
|
+
f = t = 0;
|
|
164
|
+
}
|
|
165
|
+
if (op[0] & 5)
|
|
166
|
+
throw op[1];
|
|
167
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
171
|
+
if (k2 === undefined)
|
|
172
|
+
k2 = k;
|
|
173
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
174
|
+
}) : (function (o, m, k, k2) {
|
|
175
|
+
if (k2 === undefined)
|
|
176
|
+
k2 = k;
|
|
177
|
+
o[k2] = m[k];
|
|
178
|
+
});
|
|
179
|
+
function __exportStar(m, exports) {
|
|
180
|
+
for (var p in m)
|
|
181
|
+
if (p !== "default" && !exports.hasOwnProperty(p))
|
|
182
|
+
__createBinding(exports, m, p);
|
|
183
|
+
}
|
|
184
|
+
function __values(o) {
|
|
185
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
186
|
+
if (m)
|
|
187
|
+
return m.call(o);
|
|
188
|
+
if (o && typeof o.length === "number")
|
|
189
|
+
return {
|
|
190
|
+
next: function () {
|
|
191
|
+
if (o && i >= o.length)
|
|
192
|
+
o = void 0;
|
|
193
|
+
return { value: o && o[i++], done: !o };
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
197
|
+
}
|
|
198
|
+
function __read(o, n) {
|
|
199
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
200
|
+
if (!m)
|
|
201
|
+
return o;
|
|
202
|
+
var i = m.call(o), r, ar = [], e;
|
|
203
|
+
try {
|
|
204
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
205
|
+
ar.push(r.value);
|
|
206
|
+
}
|
|
207
|
+
catch (error) {
|
|
208
|
+
e = { error: error };
|
|
209
|
+
}
|
|
210
|
+
finally {
|
|
211
|
+
try {
|
|
212
|
+
if (r && !r.done && (m = i["return"]))
|
|
213
|
+
m.call(i);
|
|
214
|
+
}
|
|
215
|
+
finally {
|
|
216
|
+
if (e)
|
|
217
|
+
throw e.error;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
return ar;
|
|
221
|
+
}
|
|
222
|
+
function __spread() {
|
|
223
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
224
|
+
ar = ar.concat(__read(arguments[i]));
|
|
225
|
+
return ar;
|
|
226
|
+
}
|
|
227
|
+
function __spreadArrays() {
|
|
228
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
229
|
+
s += arguments[i].length;
|
|
230
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
231
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
232
|
+
r[k] = a[j];
|
|
233
|
+
return r;
|
|
234
|
+
}
|
|
235
|
+
;
|
|
236
|
+
function __await(v) {
|
|
237
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
238
|
+
}
|
|
239
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
240
|
+
if (!Symbol.asyncIterator)
|
|
241
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
242
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
243
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
244
|
+
function verb(n) { if (g[n])
|
|
245
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
246
|
+
function resume(n, v) { try {
|
|
247
|
+
step(g[n](v));
|
|
248
|
+
}
|
|
249
|
+
catch (e) {
|
|
250
|
+
settle(q[0][3], e);
|
|
251
|
+
} }
|
|
252
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
253
|
+
function fulfill(value) { resume("next", value); }
|
|
254
|
+
function reject(value) { resume("throw", value); }
|
|
255
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
256
|
+
resume(q[0][0], q[0][1]); }
|
|
257
|
+
}
|
|
258
|
+
function __asyncDelegator(o) {
|
|
259
|
+
var i, p;
|
|
260
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
261
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
262
|
+
}
|
|
263
|
+
function __asyncValues(o) {
|
|
264
|
+
if (!Symbol.asyncIterator)
|
|
265
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
266
|
+
var m = o[Symbol.asyncIterator], i;
|
|
267
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
268
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
269
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
270
|
+
}
|
|
271
|
+
function __makeTemplateObject(cooked, raw) {
|
|
272
|
+
if (Object.defineProperty) {
|
|
273
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
274
|
+
}
|
|
275
|
+
else {
|
|
276
|
+
cooked.raw = raw;
|
|
277
|
+
}
|
|
278
|
+
return cooked;
|
|
279
|
+
}
|
|
280
|
+
;
|
|
281
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
282
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
283
|
+
}) : function (o, v) {
|
|
284
|
+
o["default"] = v;
|
|
285
|
+
};
|
|
286
|
+
function __importStar(mod) {
|
|
287
|
+
if (mod && mod.__esModule)
|
|
288
|
+
return mod;
|
|
289
|
+
var result = {};
|
|
290
|
+
if (mod != null)
|
|
291
|
+
for (var k in mod)
|
|
292
|
+
if (Object.hasOwnProperty.call(mod, k))
|
|
293
|
+
__createBinding(result, mod, k);
|
|
294
|
+
__setModuleDefault(result, mod);
|
|
295
|
+
return result;
|
|
296
|
+
}
|
|
297
|
+
function __importDefault(mod) {
|
|
298
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
299
|
+
}
|
|
300
|
+
function __classPrivateFieldGet(receiver, privateMap) {
|
|
301
|
+
if (!privateMap.has(receiver)) {
|
|
302
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
303
|
+
}
|
|
304
|
+
return privateMap.get(receiver);
|
|
305
|
+
}
|
|
306
|
+
function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
307
|
+
if (!privateMap.has(receiver)) {
|
|
308
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
309
|
+
}
|
|
310
|
+
privateMap.set(receiver, value);
|
|
311
|
+
return value;
|
|
239
312
|
}
|
|
240
313
|
|
|
241
314
|
/**
|
|
@@ -258,13 +331,6 @@
|
|
|
258
331
|
return { toString: fn }.toString();
|
|
259
332
|
}
|
|
260
333
|
|
|
261
|
-
/**
|
|
262
|
-
* @license
|
|
263
|
-
* Copyright Google LLC All Rights Reserved.
|
|
264
|
-
*
|
|
265
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
266
|
-
* found in the LICENSE file at https://angular.io/license
|
|
267
|
-
*/
|
|
268
334
|
var ANNOTATIONS = '__annotations__';
|
|
269
335
|
var PARAMETERS = '__parameters__';
|
|
270
336
|
var PROP_METADATA = '__prop__metadata__';
|
|
@@ -275,7 +341,6 @@
|
|
|
275
341
|
return noSideEffects(function () {
|
|
276
342
|
var metaCtor = makeMetadataCtor(props);
|
|
277
343
|
function DecoratorFactory() {
|
|
278
|
-
var _a;
|
|
279
344
|
var args = [];
|
|
280
345
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
281
346
|
args[_i] = arguments[_i];
|
|
@@ -284,7 +349,7 @@
|
|
|
284
349
|
metaCtor.call.apply(metaCtor, __spread([this], args));
|
|
285
350
|
return this;
|
|
286
351
|
}
|
|
287
|
-
var annotationInstance = new (
|
|
352
|
+
var annotationInstance = new (DecoratorFactory.bind.apply(DecoratorFactory, __spread([void 0], args)))();
|
|
288
353
|
return function TypeDecorator(cls) {
|
|
289
354
|
if (typeFn)
|
|
290
355
|
typeFn.apply(void 0, __spread([cls], args));
|
|
@@ -325,7 +390,6 @@
|
|
|
325
390
|
return noSideEffects(function () {
|
|
326
391
|
var metaCtor = makeMetadataCtor(props);
|
|
327
392
|
function ParamDecoratorFactory() {
|
|
328
|
-
var _a;
|
|
329
393
|
var args = [];
|
|
330
394
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
331
395
|
args[_i] = arguments[_i];
|
|
@@ -334,7 +398,7 @@
|
|
|
334
398
|
metaCtor.apply(this, args);
|
|
335
399
|
return this;
|
|
336
400
|
}
|
|
337
|
-
var annotationInstance = new (
|
|
401
|
+
var annotationInstance = new (ParamDecoratorFactory.bind.apply(ParamDecoratorFactory, __spread([void 0], args)))();
|
|
338
402
|
ParamDecorator.annotation = annotationInstance;
|
|
339
403
|
return ParamDecorator;
|
|
340
404
|
function ParamDecorator(cls, unusedKey, index) {
|
|
@@ -364,7 +428,6 @@
|
|
|
364
428
|
return noSideEffects(function () {
|
|
365
429
|
var metaCtor = makeMetadataCtor(props);
|
|
366
430
|
function PropDecoratorFactory() {
|
|
367
|
-
var _a;
|
|
368
431
|
var args = [];
|
|
369
432
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
370
433
|
args[_i] = arguments[_i];
|
|
@@ -373,7 +436,7 @@
|
|
|
373
436
|
metaCtor.apply(this, args);
|
|
374
437
|
return this;
|
|
375
438
|
}
|
|
376
|
-
var decoratorInstance = new (
|
|
439
|
+
var decoratorInstance = new (PropDecoratorFactory.bind.apply(PropDecoratorFactory, __spread([void 0], args)))();
|
|
377
440
|
function PropDecorator(target, name) {
|
|
378
441
|
var constructor = target.constructor;
|
|
379
442
|
// Use of Object.defineProperty is important because it creates a non-enumerable property
|
|
@@ -882,7 +945,7 @@
|
|
|
882
945
|
* (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode
|
|
883
946
|
* is defined for the entire instruction set.
|
|
884
947
|
*
|
|
885
|
-
* When
|
|
948
|
+
* When checking `ngDevMode` on toplevel, always init it before referencing it
|
|
886
949
|
* (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can
|
|
887
950
|
* get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.
|
|
888
951
|
*
|
|
@@ -2084,49 +2147,6 @@
|
|
|
2084
2147
|
return type[NG_LOC_ID_DEF] || null;
|
|
2085
2148
|
}
|
|
2086
2149
|
|
|
2087
|
-
/**
|
|
2088
|
-
* @license
|
|
2089
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2090
|
-
*
|
|
2091
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2092
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2093
|
-
*/
|
|
2094
|
-
// Below are constants for LView indices to help us look up LView members
|
|
2095
|
-
// without having to remember the specific indices.
|
|
2096
|
-
// Uglify will inline these when minifying so there shouldn't be a cost.
|
|
2097
|
-
var HOST = 0;
|
|
2098
|
-
var TVIEW = 1;
|
|
2099
|
-
var FLAGS = 2;
|
|
2100
|
-
var PARENT = 3;
|
|
2101
|
-
var NEXT = 4;
|
|
2102
|
-
var TRANSPLANTED_VIEWS_TO_REFRESH = 5;
|
|
2103
|
-
var T_HOST = 6;
|
|
2104
|
-
var CLEANUP = 7;
|
|
2105
|
-
var CONTEXT = 8;
|
|
2106
|
-
var INJECTOR$1 = 9;
|
|
2107
|
-
var RENDERER_FACTORY = 10;
|
|
2108
|
-
var RENDERER = 11;
|
|
2109
|
-
var SANITIZER = 12;
|
|
2110
|
-
var CHILD_HEAD = 13;
|
|
2111
|
-
var CHILD_TAIL = 14;
|
|
2112
|
-
var DECLARATION_VIEW = 15;
|
|
2113
|
-
var DECLARATION_COMPONENT_VIEW = 16;
|
|
2114
|
-
var DECLARATION_LCONTAINER = 17;
|
|
2115
|
-
var PREORDER_HOOK_FLAGS = 18;
|
|
2116
|
-
var QUERIES = 19;
|
|
2117
|
-
/** Size of LView's header. Necessary to adjust for it when setting slots. */
|
|
2118
|
-
var HEADER_OFFSET = 20;
|
|
2119
|
-
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
2120
|
-
// failure based on types.
|
|
2121
|
-
var unusedValueExportToPlacateAjd = 1;
|
|
2122
|
-
|
|
2123
|
-
/**
|
|
2124
|
-
* @license
|
|
2125
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2126
|
-
*
|
|
2127
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2128
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2129
|
-
*/
|
|
2130
2150
|
/**
|
|
2131
2151
|
* Special location which allows easy identification of type. If we have an array which was
|
|
2132
2152
|
* retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is
|
|
@@ -2163,6 +2183,42 @@
|
|
|
2163
2183
|
var CONTAINER_HEADER_OFFSET = 10;
|
|
2164
2184
|
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
2165
2185
|
// failure based on types.
|
|
2186
|
+
var unusedValueExportToPlacateAjd = 1;
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* @license
|
|
2190
|
+
* Copyright Google LLC All Rights Reserved.
|
|
2191
|
+
*
|
|
2192
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
2193
|
+
* found in the LICENSE file at https://angular.io/license
|
|
2194
|
+
*/
|
|
2195
|
+
// Below are constants for LView indices to help us look up LView members
|
|
2196
|
+
// without having to remember the specific indices.
|
|
2197
|
+
// Uglify will inline these when minifying so there shouldn't be a cost.
|
|
2198
|
+
var HOST = 0;
|
|
2199
|
+
var TVIEW = 1;
|
|
2200
|
+
var FLAGS = 2;
|
|
2201
|
+
var PARENT = 3;
|
|
2202
|
+
var NEXT = 4;
|
|
2203
|
+
var TRANSPLANTED_VIEWS_TO_REFRESH = 5;
|
|
2204
|
+
var T_HOST = 6;
|
|
2205
|
+
var CLEANUP = 7;
|
|
2206
|
+
var CONTEXT = 8;
|
|
2207
|
+
var INJECTOR$1 = 9;
|
|
2208
|
+
var RENDERER_FACTORY = 10;
|
|
2209
|
+
var RENDERER = 11;
|
|
2210
|
+
var SANITIZER = 12;
|
|
2211
|
+
var CHILD_HEAD = 13;
|
|
2212
|
+
var CHILD_TAIL = 14;
|
|
2213
|
+
var DECLARATION_VIEW = 15;
|
|
2214
|
+
var DECLARATION_COMPONENT_VIEW = 16;
|
|
2215
|
+
var DECLARATION_LCONTAINER = 17;
|
|
2216
|
+
var PREORDER_HOOK_FLAGS = 18;
|
|
2217
|
+
var QUERIES = 19;
|
|
2218
|
+
/** Size of LView's header. Necessary to adjust for it when setting slots. */
|
|
2219
|
+
var HEADER_OFFSET = 20;
|
|
2220
|
+
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
2221
|
+
// failure based on types.
|
|
2166
2222
|
var unusedValueExportToPlacateAjd$1 = 1;
|
|
2167
2223
|
|
|
2168
2224
|
/**
|
|
@@ -4291,13 +4347,6 @@
|
|
|
4291
4347
|
return error;
|
|
4292
4348
|
}
|
|
4293
4349
|
|
|
4294
|
-
/**
|
|
4295
|
-
* @license
|
|
4296
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4297
|
-
*
|
|
4298
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
4299
|
-
* found in the LICENSE file at https://angular.io/license
|
|
4300
|
-
*/
|
|
4301
4350
|
function getType(error) {
|
|
4302
4351
|
return error[ERROR_TYPE];
|
|
4303
4352
|
}
|
|
@@ -4782,13 +4831,6 @@
|
|
|
4782
4831
|
return srcset.split(',').map(function (srcset) { return _sanitizeUrl(srcset.trim()); }).join(', ');
|
|
4783
4832
|
}
|
|
4784
4833
|
|
|
4785
|
-
/**
|
|
4786
|
-
* @license
|
|
4787
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4788
|
-
*
|
|
4789
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
4790
|
-
* found in the LICENSE file at https://angular.io/license
|
|
4791
|
-
*/
|
|
4792
4834
|
function tagSet(tags) {
|
|
4793
4835
|
var e_1, _a;
|
|
4794
4836
|
var res = {};
|
|
@@ -5044,9 +5086,9 @@
|
|
|
5044
5086
|
finally {
|
|
5045
5087
|
// In case anything goes wrong, clear out inertElement to reset the entire DOM structure.
|
|
5046
5088
|
if (inertBodyElement) {
|
|
5047
|
-
var
|
|
5048
|
-
while (
|
|
5049
|
-
|
|
5089
|
+
var parent = getTemplateContent(inertBodyElement) || inertBodyElement;
|
|
5090
|
+
while (parent.firstChild) {
|
|
5091
|
+
parent.removeChild(parent.firstChild);
|
|
5050
5092
|
}
|
|
5051
5093
|
}
|
|
5052
5094
|
}
|
|
@@ -5409,9 +5451,9 @@
|
|
|
5409
5451
|
ngDevMode && assertDomNode(rElement);
|
|
5410
5452
|
// if the context is not found then we need to traverse upwards up the DOM
|
|
5411
5453
|
// to find the nearest element that has already been monkey patched with data
|
|
5412
|
-
var
|
|
5413
|
-
while (
|
|
5414
|
-
var parentContext = readPatchedData(
|
|
5454
|
+
var parent = rElement;
|
|
5455
|
+
while (parent = parent.parentNode) {
|
|
5456
|
+
var parentContext = readPatchedData(parent);
|
|
5415
5457
|
if (parentContext) {
|
|
5416
5458
|
var lView = void 0;
|
|
5417
5459
|
if (Array.isArray(parentContext)) {
|
|
@@ -5782,9 +5824,9 @@
|
|
|
5782
5824
|
return foundIndex;
|
|
5783
5825
|
if (foundIndex === 0 || className.charCodeAt(foundIndex - 1) <= 32 /* SPACE */) {
|
|
5784
5826
|
// Ensure that it has leading whitespace
|
|
5785
|
-
var
|
|
5786
|
-
if (foundIndex +
|
|
5787
|
-
className.charCodeAt(foundIndex +
|
|
5827
|
+
var length = classToSearch.length;
|
|
5828
|
+
if (foundIndex + length === end ||
|
|
5829
|
+
className.charCodeAt(foundIndex + length) <= 32 /* SPACE */) {
|
|
5788
5830
|
// Ensure that it has trailing whitespace
|
|
5789
5831
|
return foundIndex;
|
|
5790
5832
|
}
|
|
@@ -8898,13 +8940,13 @@
|
|
|
8898
8940
|
function markViewDirty(lView) {
|
|
8899
8941
|
while (lView) {
|
|
8900
8942
|
lView[FLAGS] |= 64 /* Dirty */;
|
|
8901
|
-
var
|
|
8943
|
+
var parent = getLViewParent(lView);
|
|
8902
8944
|
// Stop traversing up as soon as you find a root view that wasn't attached to any container
|
|
8903
|
-
if (isRootView(lView) && !
|
|
8945
|
+
if (isRootView(lView) && !parent) {
|
|
8904
8946
|
return lView;
|
|
8905
8947
|
}
|
|
8906
8948
|
// continue otherwise
|
|
8907
|
-
lView =
|
|
8949
|
+
lView = parent;
|
|
8908
8950
|
}
|
|
8909
8951
|
return null;
|
|
8910
8952
|
}
|
|
@@ -9125,7 +9167,7 @@
|
|
|
9125
9167
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9126
9168
|
* found in the LICENSE file at https://angular.io/license
|
|
9127
9169
|
*/
|
|
9128
|
-
var unusedValueToPlacateAjd$1 = unusedValueExportToPlacateAjd
|
|
9170
|
+
var unusedValueToPlacateAjd$1 = unusedValueExportToPlacateAjd + unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd$2 + unusedValueExportToPlacateAjd$1;
|
|
9129
9171
|
function getLContainer(tNode, embeddedView) {
|
|
9130
9172
|
ngDevMode && assertLView(embeddedView);
|
|
9131
9173
|
var container = embeddedView[PARENT];
|
|
@@ -10090,13 +10132,6 @@
|
|
|
10090
10132
|
return parentTNode;
|
|
10091
10133
|
}
|
|
10092
10134
|
|
|
10093
|
-
/**
|
|
10094
|
-
* @license
|
|
10095
|
-
* Copyright Google LLC All Rights Reserved.
|
|
10096
|
-
*
|
|
10097
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
10098
|
-
* found in the LICENSE file at https://angular.io/license
|
|
10099
|
-
*/
|
|
10100
10135
|
var ViewRef = /** @class */ (function () {
|
|
10101
10136
|
function ViewRef(
|
|
10102
10137
|
/**
|
|
@@ -10440,13 +10475,6 @@
|
|
|
10440
10475
|
return result;
|
|
10441
10476
|
}
|
|
10442
10477
|
|
|
10443
|
-
/**
|
|
10444
|
-
* @license
|
|
10445
|
-
* Copyright Google LLC All Rights Reserved.
|
|
10446
|
-
*
|
|
10447
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
10448
|
-
* found in the LICENSE file at https://angular.io/license
|
|
10449
|
-
*/
|
|
10450
10478
|
/**
|
|
10451
10479
|
* Creates an ElementRef from the most recent node.
|
|
10452
10480
|
*
|
|
@@ -10848,13 +10876,13 @@
|
|
|
10848
10876
|
var ChangeDetectorRef = /** @class */ (function () {
|
|
10849
10877
|
function ChangeDetectorRef() {
|
|
10850
10878
|
}
|
|
10851
|
-
/**
|
|
10852
|
-
* @internal
|
|
10853
|
-
* @nocollapse
|
|
10854
|
-
*/
|
|
10855
|
-
ChangeDetectorRef.__NG_ELEMENT_ID__ = function () { return SWITCH_CHANGE_DETECTOR_REF_FACTORY(); };
|
|
10856
10879
|
return ChangeDetectorRef;
|
|
10857
10880
|
}());
|
|
10881
|
+
/**
|
|
10882
|
+
* @internal
|
|
10883
|
+
* @nocollapse
|
|
10884
|
+
*/
|
|
10885
|
+
ChangeDetectorRef.__NG_ELEMENT_ID__ = function () { return SWITCH_CHANGE_DETECTOR_REF_FACTORY(); };
|
|
10858
10886
|
var SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__ = injectChangeDetectorRef;
|
|
10859
10887
|
var SWITCH_CHANGE_DETECTOR_REF_FACTORY__PRE_R3__ = function () {
|
|
10860
10888
|
var args = [];
|
|
@@ -10877,7 +10905,7 @@
|
|
|
10877
10905
|
*
|
|
10878
10906
|
* Represents a type that a Component or other object is instances of.
|
|
10879
10907
|
*
|
|
10880
|
-
* An example of a `Type` is `MyCustomComponent` class, which in JavaScript is
|
|
10908
|
+
* An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by
|
|
10881
10909
|
* the `MyCustomComponent` constructor function.
|
|
10882
10910
|
*
|
|
10883
10911
|
* @publicApi
|
|
@@ -10887,13 +10915,6 @@
|
|
|
10887
10915
|
return typeof v === 'function';
|
|
10888
10916
|
}
|
|
10889
10917
|
|
|
10890
|
-
/**
|
|
10891
|
-
* @license
|
|
10892
|
-
* Copyright Google LLC All Rights Reserved.
|
|
10893
|
-
*
|
|
10894
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
10895
|
-
* found in the LICENSE file at https://angular.io/license
|
|
10896
|
-
*/
|
|
10897
10918
|
/**
|
|
10898
10919
|
* Attention: These regex has to hold even if the code is minified!
|
|
10899
10920
|
*/
|
|
@@ -10980,9 +11001,7 @@
|
|
|
10980
11001
|
// Retain the non-function case for compatibility with older tsickle
|
|
10981
11002
|
var ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;
|
|
10982
11003
|
var paramTypes_1 = ctorParameters.map(function (ctorParam) { return ctorParam && ctorParam.type; });
|
|
10983
|
-
var paramAnnotations_1 = ctorParameters.map(function (ctorParam) {
|
|
10984
|
-
return ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators);
|
|
10985
|
-
});
|
|
11004
|
+
var paramAnnotations_1 = ctorParameters.map(function (ctorParam) { return ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators); });
|
|
10986
11005
|
return this._zipTypesAndAnnotations(paramTypes_1, paramAnnotations_1);
|
|
10987
11006
|
}
|
|
10988
11007
|
// API for metadata created by invoking the decorators.
|
|
@@ -11334,13 +11353,6 @@
|
|
|
11334
11353
|
return compilerMeta;
|
|
11335
11354
|
}
|
|
11336
11355
|
|
|
11337
|
-
/**
|
|
11338
|
-
* @license
|
|
11339
|
-
* Copyright Google LLC All Rights Reserved.
|
|
11340
|
-
*
|
|
11341
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
11342
|
-
* found in the LICENSE file at https://angular.io/license
|
|
11343
|
-
*/
|
|
11344
11356
|
var ɵ0$7 = getClosureSafeProperty;
|
|
11345
11357
|
var USE_VALUE$2 = getClosureSafeProperty({ provide: String, useValue: ɵ0$7 });
|
|
11346
11358
|
var EMPTY_ARRAY$1 = [];
|
|
@@ -11430,13 +11442,6 @@
|
|
|
11430
11442
|
*/
|
|
11431
11443
|
var INJECTOR_SCOPE = new InjectionToken('Set Injector scope.');
|
|
11432
11444
|
|
|
11433
|
-
/**
|
|
11434
|
-
* @license
|
|
11435
|
-
* Copyright Google LLC All Rights Reserved.
|
|
11436
|
-
*
|
|
11437
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
11438
|
-
* found in the LICENSE file at https://angular.io/license
|
|
11439
|
-
*/
|
|
11440
11445
|
/**
|
|
11441
11446
|
* Marker which indicates that a value has not yet been created from the factory function.
|
|
11442
11447
|
*/
|
|
@@ -11905,13 +11910,6 @@
|
|
|
11905
11910
|
(typeof value === 'object' && value instanceof InjectionToken);
|
|
11906
11911
|
}
|
|
11907
11912
|
|
|
11908
|
-
/**
|
|
11909
|
-
* @license
|
|
11910
|
-
* Copyright Google LLC All Rights Reserved.
|
|
11911
|
-
*
|
|
11912
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
11913
|
-
* found in the LICENSE file at https://angular.io/license
|
|
11914
|
-
*/
|
|
11915
11913
|
function INJECTOR_IMPL__PRE_R3__(providers, parent, name) {
|
|
11916
11914
|
return new StaticInjector(providers, parent, name);
|
|
11917
11915
|
}
|
|
@@ -11954,21 +11952,21 @@
|
|
|
11954
11952
|
return INJECTOR_IMPL(options.providers, options.parent, options.name || '');
|
|
11955
11953
|
}
|
|
11956
11954
|
};
|
|
11957
|
-
Injector.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;
|
|
11958
|
-
Injector.NULL = new NullInjector();
|
|
11959
|
-
/** @nocollapse */
|
|
11960
|
-
Injector.ɵprov = ɵɵdefineInjectable({
|
|
11961
|
-
token: Injector,
|
|
11962
|
-
providedIn: 'any',
|
|
11963
|
-
factory: function () { return ɵɵinject(INJECTOR); },
|
|
11964
|
-
});
|
|
11965
|
-
/**
|
|
11966
|
-
* @internal
|
|
11967
|
-
* @nocollapse
|
|
11968
|
-
*/
|
|
11969
|
-
Injector.__NG_ELEMENT_ID__ = -1;
|
|
11970
11955
|
return Injector;
|
|
11971
11956
|
}());
|
|
11957
|
+
Injector.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;
|
|
11958
|
+
Injector.NULL = new NullInjector();
|
|
11959
|
+
/** @nocollapse */
|
|
11960
|
+
Injector.ɵprov = ɵɵdefineInjectable({
|
|
11961
|
+
token: Injector,
|
|
11962
|
+
providedIn: 'any',
|
|
11963
|
+
factory: function () { return ɵɵinject(INJECTOR); },
|
|
11964
|
+
});
|
|
11965
|
+
/**
|
|
11966
|
+
* @internal
|
|
11967
|
+
* @nocollapse
|
|
11968
|
+
*/
|
|
11969
|
+
Injector.__NG_ELEMENT_ID__ = -1;
|
|
11972
11970
|
var IDENT = function (value) {
|
|
11973
11971
|
return value;
|
|
11974
11972
|
};
|
|
@@ -12134,7 +12132,6 @@
|
|
|
12134
12132
|
}
|
|
12135
12133
|
}
|
|
12136
12134
|
function resolveToken(token, record, records, parent, notFoundValue, flags) {
|
|
12137
|
-
var _a;
|
|
12138
12135
|
var value;
|
|
12139
12136
|
if (record && !(flags & exports.InjectFlags.SkipSelf)) {
|
|
12140
12137
|
// If we don't have a record, this implies that we don't own the provider hence don't know how
|
|
@@ -12169,7 +12166,7 @@
|
|
|
12169
12166
|
!childRecord && !(options & 4 /* CheckParent */) ? Injector.NULL : parent, options & 1 /* Optional */ ? null : Injector.THROW_IF_NOT_FOUND, exports.InjectFlags.Default));
|
|
12170
12167
|
}
|
|
12171
12168
|
}
|
|
12172
|
-
record.value = value = useNew ? new (
|
|
12169
|
+
record.value = value = useNew ? new (fn.bind.apply(fn, __spread([void 0], deps)))() : fn.apply(obj, deps);
|
|
12173
12170
|
}
|
|
12174
12171
|
}
|
|
12175
12172
|
else if (!(flags & exports.InjectFlags.Self)) {
|
|
@@ -12798,13 +12795,6 @@
|
|
|
12798
12795
|
return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);
|
|
12799
12796
|
}
|
|
12800
12797
|
|
|
12801
|
-
/**
|
|
12802
|
-
* @license
|
|
12803
|
-
* Copyright Google LLC All Rights Reserved.
|
|
12804
|
-
*
|
|
12805
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
12806
|
-
* found in the LICENSE file at https://angular.io/license
|
|
12807
|
-
*/
|
|
12808
12798
|
// Threshold for the dynamic version
|
|
12809
12799
|
var UNDEFINED = {};
|
|
12810
12800
|
/**
|
|
@@ -13099,9 +13089,9 @@
|
|
|
13099
13089
|
ReflectiveInjector_.prototype.toString = function () {
|
|
13100
13090
|
return this.displayName;
|
|
13101
13091
|
};
|
|
13102
|
-
ReflectiveInjector_.INJECTOR_KEY = ReflectiveKey.get(Injector);
|
|
13103
13092
|
return ReflectiveInjector_;
|
|
13104
13093
|
}());
|
|
13094
|
+
ReflectiveInjector_.INJECTOR_KEY = ReflectiveKey.get(Injector);
|
|
13105
13095
|
function _mapProviders(injector, fn) {
|
|
13106
13096
|
var res = [];
|
|
13107
13097
|
for (var i = 0; i < injector._providers.length; ++i) {
|
|
@@ -13188,7 +13178,7 @@
|
|
|
13188
13178
|
}());
|
|
13189
13179
|
var ɵ0$a = function (selector, data) {
|
|
13190
13180
|
if (data === void 0) { data = {}; }
|
|
13191
|
-
return (
|
|
13181
|
+
return (Object.assign({ selector: selector, first: false, isViewQuery: false, descendants: false }, data));
|
|
13192
13182
|
};
|
|
13193
13183
|
/**
|
|
13194
13184
|
* ContentChildren decorator and metadata.
|
|
@@ -13200,7 +13190,7 @@
|
|
|
13200
13190
|
var ContentChildren = makePropDecorator('ContentChildren', ɵ0$a, Query);
|
|
13201
13191
|
var ɵ1$2 = function (selector, data) {
|
|
13202
13192
|
if (data === void 0) { data = {}; }
|
|
13203
|
-
return (
|
|
13193
|
+
return (Object.assign({ selector: selector, first: true, isViewQuery: false, descendants: true }, data));
|
|
13204
13194
|
};
|
|
13205
13195
|
/**
|
|
13206
13196
|
* ContentChild decorator and metadata.
|
|
@@ -13213,7 +13203,7 @@
|
|
|
13213
13203
|
var ContentChild = makePropDecorator('ContentChild', ɵ1$2, Query);
|
|
13214
13204
|
var ɵ2 = function (selector, data) {
|
|
13215
13205
|
if (data === void 0) { data = {}; }
|
|
13216
|
-
return (
|
|
13206
|
+
return (Object.assign({ selector: selector, first: false, isViewQuery: true, descendants: true }, data));
|
|
13217
13207
|
};
|
|
13218
13208
|
/**
|
|
13219
13209
|
* ViewChildren decorator and metadata.
|
|
@@ -13222,9 +13212,7 @@
|
|
|
13222
13212
|
* @publicApi
|
|
13223
13213
|
*/
|
|
13224
13214
|
var ViewChildren = makePropDecorator('ViewChildren', ɵ2, Query);
|
|
13225
|
-
var ɵ3 = function (selector, data) {
|
|
13226
|
-
return (__assign({ selector: selector, first: true, isViewQuery: true, descendants: true }, data));
|
|
13227
|
-
};
|
|
13215
|
+
var ɵ3 = function (selector, data) { return (Object.assign({ selector: selector, first: true, isViewQuery: true, descendants: true }, data)); };
|
|
13228
13216
|
/**
|
|
13229
13217
|
* ViewChild decorator and metadata.
|
|
13230
13218
|
*
|
|
@@ -13401,9 +13389,9 @@
|
|
|
13401
13389
|
var _symbolIterator = null;
|
|
13402
13390
|
function getSymbolIterator() {
|
|
13403
13391
|
if (!_symbolIterator) {
|
|
13404
|
-
var
|
|
13405
|
-
if (
|
|
13406
|
-
_symbolIterator =
|
|
13392
|
+
var Symbol = _global['Symbol'];
|
|
13393
|
+
if (Symbol && Symbol.iterator) {
|
|
13394
|
+
_symbolIterator = Symbol.iterator;
|
|
13407
13395
|
}
|
|
13408
13396
|
else {
|
|
13409
13397
|
// es6-shim specific logic
|
|
@@ -14144,8 +14132,7 @@
|
|
|
14144
14132
|
for (var i = 2; i < values.length; i += 2) {
|
|
14145
14133
|
interpolationInBetween.push(values[i]);
|
|
14146
14134
|
}
|
|
14147
|
-
storePropertyBindingMetadata.apply(void 0, __spread([getTView().data, tNode, 'attr.' + attrName,
|
|
14148
|
-
getBindingIndex() - interpolationInBetween.length + 1], interpolationInBetween));
|
|
14135
|
+
storePropertyBindingMetadata.apply(void 0, __spread([getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - interpolationInBetween.length + 1], interpolationInBetween));
|
|
14149
14136
|
}
|
|
14150
14137
|
}
|
|
14151
14138
|
return ɵɵattributeInterpolateV;
|
|
@@ -18389,13 +18376,6 @@
|
|
|
18389
18376
|
* found in the LICENSE file at https://angular.io/license
|
|
18390
18377
|
*/
|
|
18391
18378
|
|
|
18392
|
-
/**
|
|
18393
|
-
* @license
|
|
18394
|
-
* Copyright Google LLC All Rights Reserved.
|
|
18395
|
-
*
|
|
18396
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
18397
|
-
* found in the LICENSE file at https://angular.io/license
|
|
18398
|
-
*/
|
|
18399
18379
|
/**
|
|
18400
18380
|
* Retrieves the component instance associated with a given DOM element.
|
|
18401
18381
|
*
|
|
@@ -18670,7 +18650,7 @@
|
|
|
18670
18650
|
var firstParam = tCleanup[i++];
|
|
18671
18651
|
var secondParam = tCleanup[i++];
|
|
18672
18652
|
if (typeof firstParam === 'string') {
|
|
18673
|
-
var
|
|
18653
|
+
var name = firstParam;
|
|
18674
18654
|
var listenerElement = unwrapRNode(lView[secondParam]);
|
|
18675
18655
|
var callback = lCleanup[tCleanup[i++]];
|
|
18676
18656
|
var useCaptureOrIndx = tCleanup[i++];
|
|
@@ -18680,7 +18660,7 @@
|
|
|
18680
18660
|
var type = (typeof useCaptureOrIndx === 'boolean' || useCaptureOrIndx >= 0) ? 'dom' : 'output';
|
|
18681
18661
|
var useCapture = typeof useCaptureOrIndx === 'boolean' ? useCaptureOrIndx : false;
|
|
18682
18662
|
if (element == listenerElement) {
|
|
18683
|
-
listeners.push({ element: element, name:
|
|
18663
|
+
listeners.push({ element: element, name: name, callback: callback, useCapture: useCapture, type: type });
|
|
18684
18664
|
}
|
|
18685
18665
|
}
|
|
18686
18666
|
}
|
|
@@ -19179,13 +19159,6 @@
|
|
|
19179
19159
|
}
|
|
19180
19160
|
}
|
|
19181
19161
|
|
|
19182
|
-
/**
|
|
19183
|
-
* @license
|
|
19184
|
-
* Copyright Google LLC All Rights Reserved.
|
|
19185
|
-
*
|
|
19186
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
19187
|
-
* found in the LICENSE file at https://angular.io/license
|
|
19188
|
-
*/
|
|
19189
19162
|
/**
|
|
19190
19163
|
* Fields which exist on either directive or component definitions, and need to be copied from
|
|
19191
19164
|
* parent to child classes by the `ɵɵCopyDefinitionFeature`.
|
|
@@ -19710,13 +19683,6 @@
|
|
|
19710
19683
|
return ComponentFactory;
|
|
19711
19684
|
}());
|
|
19712
19685
|
|
|
19713
|
-
/**
|
|
19714
|
-
* @license
|
|
19715
|
-
* Copyright Google LLC All Rights Reserved.
|
|
19716
|
-
*
|
|
19717
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
19718
|
-
* found in the LICENSE file at https://angular.io/license
|
|
19719
|
-
*/
|
|
19720
19686
|
function noComponentFactoryError(component) {
|
|
19721
19687
|
var error = Error("No component factory found for " + stringify(component) + ". Did you add it to @NgModule.entryComponents?");
|
|
19722
19688
|
error[ERROR_COMPONENT] = component;
|
|
@@ -19746,9 +19712,9 @@
|
|
|
19746
19712
|
var ComponentFactoryResolver = /** @class */ (function () {
|
|
19747
19713
|
function ComponentFactoryResolver() {
|
|
19748
19714
|
}
|
|
19749
|
-
ComponentFactoryResolver.NULL = new _NullComponentFactoryResolver();
|
|
19750
19715
|
return ComponentFactoryResolver;
|
|
19751
19716
|
}());
|
|
19717
|
+
ComponentFactoryResolver.NULL = new _NullComponentFactoryResolver();
|
|
19752
19718
|
var CodegenComponentFactoryResolver = /** @class */ (function () {
|
|
19753
19719
|
function CodegenComponentFactoryResolver(factories, _parent, _ngModule) {
|
|
19754
19720
|
this._parent = _parent;
|
|
@@ -19831,13 +19797,13 @@
|
|
|
19831
19797
|
function ElementRef(nativeElement) {
|
|
19832
19798
|
this.nativeElement = nativeElement;
|
|
19833
19799
|
}
|
|
19834
|
-
/**
|
|
19835
|
-
* @internal
|
|
19836
|
-
* @nocollapse
|
|
19837
|
-
*/
|
|
19838
|
-
ElementRef.__NG_ELEMENT_ID__ = function () { return SWITCH_ELEMENT_REF_FACTORY(ElementRef); };
|
|
19839
19800
|
return ElementRef;
|
|
19840
19801
|
}());
|
|
19802
|
+
/**
|
|
19803
|
+
* @internal
|
|
19804
|
+
* @nocollapse
|
|
19805
|
+
*/
|
|
19806
|
+
ElementRef.__NG_ELEMENT_ID__ = function () { return SWITCH_ELEMENT_REF_FACTORY(ElementRef); };
|
|
19841
19807
|
var SWITCH_ELEMENT_REF_FACTORY__POST_R3__ = injectElementRef;
|
|
19842
19808
|
var SWITCH_ELEMENT_REF_FACTORY__PRE_R3__ = noop;
|
|
19843
19809
|
var SWITCH_ELEMENT_REF_FACTORY = SWITCH_ELEMENT_REF_FACTORY__PRE_R3__;
|
|
@@ -19891,13 +19857,13 @@
|
|
|
19891
19857
|
var Renderer2 = /** @class */ (function () {
|
|
19892
19858
|
function Renderer2() {
|
|
19893
19859
|
}
|
|
19894
|
-
/**
|
|
19895
|
-
* @internal
|
|
19896
|
-
* @nocollapse
|
|
19897
|
-
*/
|
|
19898
|
-
Renderer2.__NG_ELEMENT_ID__ = function () { return SWITCH_RENDERER2_FACTORY(); };
|
|
19899
19860
|
return Renderer2;
|
|
19900
19861
|
}());
|
|
19862
|
+
/**
|
|
19863
|
+
* @internal
|
|
19864
|
+
* @nocollapse
|
|
19865
|
+
*/
|
|
19866
|
+
Renderer2.__NG_ELEMENT_ID__ = function () { return SWITCH_RENDERER2_FACTORY(); };
|
|
19901
19867
|
var SWITCH_RENDERER2_FACTORY__POST_R3__ = injectRenderer2;
|
|
19902
19868
|
var SWITCH_RENDERER2_FACTORY__PRE_R3__ = noop;
|
|
19903
19869
|
var SWITCH_RENDERER2_FACTORY = SWITCH_RENDERER2_FACTORY__PRE_R3__;
|
|
@@ -19917,14 +19883,14 @@
|
|
|
19917
19883
|
var Sanitizer = /** @class */ (function () {
|
|
19918
19884
|
function Sanitizer() {
|
|
19919
19885
|
}
|
|
19920
|
-
/** @nocollapse */
|
|
19921
|
-
Sanitizer.ɵprov = ɵɵdefineInjectable({
|
|
19922
|
-
token: Sanitizer,
|
|
19923
|
-
providedIn: 'root',
|
|
19924
|
-
factory: function () { return null; },
|
|
19925
|
-
});
|
|
19926
19886
|
return Sanitizer;
|
|
19927
19887
|
}());
|
|
19888
|
+
/** @nocollapse */
|
|
19889
|
+
Sanitizer.ɵprov = ɵɵdefineInjectable({
|
|
19890
|
+
token: Sanitizer,
|
|
19891
|
+
providedIn: 'root',
|
|
19892
|
+
factory: function () { return null; },
|
|
19893
|
+
});
|
|
19928
19894
|
|
|
19929
19895
|
/**
|
|
19930
19896
|
* @license
|
|
@@ -19950,7 +19916,7 @@
|
|
|
19950
19916
|
/**
|
|
19951
19917
|
* @publicApi
|
|
19952
19918
|
*/
|
|
19953
|
-
var VERSION = new Version('10.0.
|
|
19919
|
+
var VERSION = new Version('10.0.4');
|
|
19954
19920
|
|
|
19955
19921
|
/**
|
|
19956
19922
|
* @license
|
|
@@ -20961,14 +20927,14 @@
|
|
|
20961
20927
|
throw new Error("Cannot find a differ supporting object '" + iterable + "' of type '" + getTypeNameForDebugging(iterable) + "'");
|
|
20962
20928
|
}
|
|
20963
20929
|
};
|
|
20964
|
-
/** @nocollapse */
|
|
20965
|
-
IterableDiffers.ɵprov = ɵɵdefineInjectable({
|
|
20966
|
-
token: IterableDiffers,
|
|
20967
|
-
providedIn: 'root',
|
|
20968
|
-
factory: function () { return new IterableDiffers([new DefaultIterableDifferFactory()]); }
|
|
20969
|
-
});
|
|
20970
20930
|
return IterableDiffers;
|
|
20971
20931
|
}());
|
|
20932
|
+
/** @nocollapse */
|
|
20933
|
+
IterableDiffers.ɵprov = ɵɵdefineInjectable({
|
|
20934
|
+
token: IterableDiffers,
|
|
20935
|
+
providedIn: 'root',
|
|
20936
|
+
factory: function () { return new IterableDiffers([new DefaultIterableDifferFactory()]); }
|
|
20937
|
+
});
|
|
20972
20938
|
function getTypeNameForDebugging(type) {
|
|
20973
20939
|
return type['name'] || typeof type;
|
|
20974
20940
|
}
|
|
@@ -21038,14 +21004,14 @@
|
|
|
21038
21004
|
}
|
|
21039
21005
|
throw new Error("Cannot find a differ supporting object '" + kv + "'");
|
|
21040
21006
|
};
|
|
21041
|
-
/** @nocollapse */
|
|
21042
|
-
KeyValueDiffers.ɵprov = ɵɵdefineInjectable({
|
|
21043
|
-
token: KeyValueDiffers,
|
|
21044
|
-
providedIn: 'root',
|
|
21045
|
-
factory: function () { return new KeyValueDiffers([new DefaultKeyValueDifferFactory()]); }
|
|
21046
|
-
});
|
|
21047
21007
|
return KeyValueDiffers;
|
|
21048
21008
|
}());
|
|
21009
|
+
/** @nocollapse */
|
|
21010
|
+
KeyValueDiffers.ɵprov = ɵɵdefineInjectable({
|
|
21011
|
+
token: KeyValueDiffers,
|
|
21012
|
+
providedIn: 'root',
|
|
21013
|
+
factory: function () { return new KeyValueDiffers([new DefaultKeyValueDifferFactory()]); }
|
|
21014
|
+
});
|
|
21049
21015
|
|
|
21050
21016
|
/**
|
|
21051
21017
|
* @license
|
|
@@ -21093,13 +21059,13 @@
|
|
|
21093
21059
|
var TemplateRef = /** @class */ (function () {
|
|
21094
21060
|
function TemplateRef() {
|
|
21095
21061
|
}
|
|
21096
|
-
/**
|
|
21097
|
-
* @internal
|
|
21098
|
-
* @nocollapse
|
|
21099
|
-
*/
|
|
21100
|
-
TemplateRef.__NG_ELEMENT_ID__ = function () { return SWITCH_TEMPLATE_REF_FACTORY(TemplateRef, ElementRef); };
|
|
21101
21062
|
return TemplateRef;
|
|
21102
21063
|
}());
|
|
21064
|
+
/**
|
|
21065
|
+
* @internal
|
|
21066
|
+
* @nocollapse
|
|
21067
|
+
*/
|
|
21068
|
+
TemplateRef.__NG_ELEMENT_ID__ = function () { return SWITCH_TEMPLATE_REF_FACTORY(TemplateRef, ElementRef); };
|
|
21103
21069
|
var SWITCH_TEMPLATE_REF_FACTORY__POST_R3__ = injectTemplateRef;
|
|
21104
21070
|
var SWITCH_TEMPLATE_REF_FACTORY__PRE_R3__ = noop;
|
|
21105
21071
|
var SWITCH_TEMPLATE_REF_FACTORY = SWITCH_TEMPLATE_REF_FACTORY__PRE_R3__;
|
|
@@ -21129,13 +21095,13 @@
|
|
|
21129
21095
|
var ViewContainerRef = /** @class */ (function () {
|
|
21130
21096
|
function ViewContainerRef() {
|
|
21131
21097
|
}
|
|
21132
|
-
/**
|
|
21133
|
-
* @internal
|
|
21134
|
-
* @nocollapse
|
|
21135
|
-
*/
|
|
21136
|
-
ViewContainerRef.__NG_ELEMENT_ID__ = function () { return SWITCH_VIEW_CONTAINER_REF_FACTORY(ViewContainerRef, ElementRef); };
|
|
21137
21098
|
return ViewContainerRef;
|
|
21138
21099
|
}());
|
|
21100
|
+
/**
|
|
21101
|
+
* @internal
|
|
21102
|
+
* @nocollapse
|
|
21103
|
+
*/
|
|
21104
|
+
ViewContainerRef.__NG_ELEMENT_ID__ = function () { return SWITCH_VIEW_CONTAINER_REF_FACTORY(ViewContainerRef, ElementRef); };
|
|
21139
21105
|
var SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__ = injectViewContainerRef;
|
|
21140
21106
|
var SWITCH_VIEW_CONTAINER_REF_FACTORY__PRE_R3__ = noop;
|
|
21141
21107
|
var SWITCH_VIEW_CONTAINER_REF_FACTORY = SWITCH_VIEW_CONTAINER_REF_FACTORY__PRE_R3__;
|
|
@@ -21295,13 +21261,6 @@
|
|
|
21295
21261
|
dirtyParentQueries: undefined,
|
|
21296
21262
|
};
|
|
21297
21263
|
|
|
21298
|
-
/**
|
|
21299
|
-
* @license
|
|
21300
|
-
* Copyright Google LLC All Rights Reserved.
|
|
21301
|
-
*
|
|
21302
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
21303
|
-
* found in the LICENSE file at https://angular.io/license
|
|
21304
|
-
*/
|
|
21305
21264
|
var NOOP = function () { };
|
|
21306
21265
|
var _tokenKeyCache = new Map();
|
|
21307
21266
|
function tokenKey(token) {
|
|
@@ -21665,13 +21624,6 @@
|
|
|
21665
21624
|
var EMPTY_ARRAY$4 = [];
|
|
21666
21625
|
var EMPTY_MAP = {};
|
|
21667
21626
|
|
|
21668
|
-
/**
|
|
21669
|
-
* @license
|
|
21670
|
-
* Copyright Google LLC All Rights Reserved.
|
|
21671
|
-
*
|
|
21672
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
21673
|
-
* found in the LICENSE file at https://angular.io/license
|
|
21674
|
-
*/
|
|
21675
21627
|
var UNDEFINED_VALUE = {};
|
|
21676
21628
|
var InjectorRefTokenKey = tokenKey(Injector);
|
|
21677
21629
|
var INJECTORRefTokenKey = tokenKey(INJECTOR);
|
|
@@ -21982,13 +21934,6 @@
|
|
|
21982
21934
|
visitRootRenderNodes(view, 3 /* RemoveChild */, null, null, undefined);
|
|
21983
21935
|
}
|
|
21984
21936
|
|
|
21985
|
-
/**
|
|
21986
|
-
* @license
|
|
21987
|
-
* Copyright Google LLC All Rights Reserved.
|
|
21988
|
-
*
|
|
21989
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
21990
|
-
* found in the LICENSE file at https://angular.io/license
|
|
21991
|
-
*/
|
|
21992
21937
|
var EMPTY_CONTEXT = {};
|
|
21993
21938
|
// Attention: this function is called as top level function.
|
|
21994
21939
|
// Putting any logic in here will destroy closure tree shaking!
|
|
@@ -22405,13 +22350,6 @@
|
|
|
22405
22350
|
return NgModuleRef_;
|
|
22406
22351
|
}());
|
|
22407
22352
|
|
|
22408
|
-
/**
|
|
22409
|
-
* @license
|
|
22410
|
-
* Copyright Google LLC All Rights Reserved.
|
|
22411
|
-
*
|
|
22412
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
22413
|
-
* found in the LICENSE file at https://angular.io/license
|
|
22414
|
-
*/
|
|
22415
22353
|
var Renderer2TokenKey = tokenKey(Renderer2);
|
|
22416
22354
|
var ElementRefTokenKey = tokenKey(ElementRef);
|
|
22417
22355
|
var ViewContainerRefTokenKey = tokenKey(ViewContainerRef);
|
|
@@ -22843,8 +22781,8 @@
|
|
|
22843
22781
|
var initIndex = 0;
|
|
22844
22782
|
for (var i = 0; i < nodes.length; i++) {
|
|
22845
22783
|
var nodeDef = nodes[i];
|
|
22846
|
-
var
|
|
22847
|
-
if (!
|
|
22784
|
+
var parent = nodeDef.parent;
|
|
22785
|
+
if (!parent && nodeDef.flags & lifecycles) {
|
|
22848
22786
|
// matching root node (e.g. a pipe)
|
|
22849
22787
|
callProviderLifecycles(view, i, nodeDef.flags & lifecycles, initIndex++);
|
|
22850
22788
|
}
|
|
@@ -22852,13 +22790,13 @@
|
|
|
22852
22790
|
// no child matches one of the lifecycles
|
|
22853
22791
|
i += nodeDef.childCount;
|
|
22854
22792
|
}
|
|
22855
|
-
while (
|
|
22856
|
-
i ===
|
|
22793
|
+
while (parent && (parent.flags & 1 /* TypeElement */) &&
|
|
22794
|
+
i === parent.nodeIndex + parent.childCount) {
|
|
22857
22795
|
// last child of an element
|
|
22858
|
-
if (
|
|
22859
|
-
initIndex = callElementProvidersLifecycles(view,
|
|
22796
|
+
if (parent.directChildFlags & lifecycles) {
|
|
22797
|
+
initIndex = callElementProvidersLifecycles(view, parent, lifecycles, initIndex);
|
|
22860
22798
|
}
|
|
22861
|
-
|
|
22799
|
+
parent = parent.parent;
|
|
22862
22800
|
}
|
|
22863
22801
|
}
|
|
22864
22802
|
}
|
|
@@ -22902,13 +22840,6 @@
|
|
|
22902
22840
|
}
|
|
22903
22841
|
}
|
|
22904
22842
|
|
|
22905
|
-
/**
|
|
22906
|
-
* @license
|
|
22907
|
-
* Copyright Google LLC All Rights Reserved.
|
|
22908
|
-
*
|
|
22909
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
22910
|
-
* found in the LICENSE file at https://angular.io/license
|
|
22911
|
-
*/
|
|
22912
22843
|
var ComponentFactoryResolver$1 = /** @class */ (function (_super) {
|
|
22913
22844
|
__extends(ComponentFactoryResolver, _super);
|
|
22914
22845
|
/**
|
|
@@ -24556,13 +24487,6 @@
|
|
|
24556
24487
|
return LOCALE_ID;
|
|
24557
24488
|
}
|
|
24558
24489
|
|
|
24559
|
-
/**
|
|
24560
|
-
* @license
|
|
24561
|
-
* Copyright Google LLC All Rights Reserved.
|
|
24562
|
-
*
|
|
24563
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
24564
|
-
* found in the LICENSE file at https://angular.io/license
|
|
24565
|
-
*/
|
|
24566
24490
|
/**
|
|
24567
24491
|
* Adds decorator, constructor, and property metadata to a given type via static metadata fields
|
|
24568
24492
|
* on the type.
|
|
@@ -24606,7 +24530,7 @@
|
|
|
24606
24530
|
if (clazz.propDecorators !== undefined &&
|
|
24607
24531
|
(!parentConstructor ||
|
|
24608
24532
|
parentConstructor.propDecorators !== clazz.propDecorators)) {
|
|
24609
|
-
clazz.propDecorators =
|
|
24533
|
+
clazz.propDecorators = Object.assign(Object.assign({}, clazz.propDecorators), propDecorators);
|
|
24610
24534
|
}
|
|
24611
24535
|
else {
|
|
24612
24536
|
clazz.propDecorators = propDecorators;
|
|
@@ -24664,13 +24588,6 @@
|
|
|
24664
24588
|
return modules.get(id) || autoRegisterModuleById[id];
|
|
24665
24589
|
}
|
|
24666
24590
|
|
|
24667
|
-
/**
|
|
24668
|
-
* @license
|
|
24669
|
-
* Copyright Google LLC All Rights Reserved.
|
|
24670
|
-
*
|
|
24671
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
24672
|
-
* found in the LICENSE file at https://angular.io/license
|
|
24673
|
-
*/
|
|
24674
24591
|
var NgModuleRef$1 = /** @class */ (function (_super) {
|
|
24675
24592
|
__extends(NgModuleRef$1, _super);
|
|
24676
24593
|
function NgModuleRef$1(ngModuleType, _parent) {
|
|
@@ -25295,13 +25212,6 @@
|
|
|
25295
25212
|
return newValue;
|
|
25296
25213
|
}
|
|
25297
25214
|
|
|
25298
|
-
/**
|
|
25299
|
-
* @license
|
|
25300
|
-
* Copyright Google LLC All Rights Reserved.
|
|
25301
|
-
*
|
|
25302
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
25303
|
-
* found in the LICENSE file at https://angular.io/license
|
|
25304
|
-
*/
|
|
25305
25215
|
var EventEmitter_ = /** @class */ (function (_super) {
|
|
25306
25216
|
__extends(EventEmitter_, _super);
|
|
25307
25217
|
function EventEmitter_(isAsync) {
|
|
@@ -25695,7 +25605,7 @@
|
|
|
25695
25605
|
TQuery_.prototype.isApplyingToNode = function (tNode) {
|
|
25696
25606
|
if (this._appliesToNextNode && this.metadata.descendants === false) {
|
|
25697
25607
|
var declarationNodeIdx = this._declarationNodeIndex;
|
|
25698
|
-
var
|
|
25608
|
+
var parent = tNode.parent;
|
|
25699
25609
|
// Determine if a given TNode is a "direct" child of a node on which a content query was
|
|
25700
25610
|
// declared (only direct children of query's host node can match with the descendants: false
|
|
25701
25611
|
// option). There are 3 main use-case / conditions to consider here:
|
|
@@ -25706,11 +25616,11 @@
|
|
|
25706
25616
|
// - <needs-target><ng-container><i #target></i></ng-container></needs-target>: here we need
|
|
25707
25617
|
// to go past `<ng-container>` to determine <i #target> parent node (but we shouldn't traverse
|
|
25708
25618
|
// up past the query's host node!).
|
|
25709
|
-
while (
|
|
25710
|
-
|
|
25711
|
-
|
|
25619
|
+
while (parent !== null && parent.type === 4 /* ElementContainer */ &&
|
|
25620
|
+
parent.index !== declarationNodeIdx) {
|
|
25621
|
+
parent = parent.parent;
|
|
25712
25622
|
}
|
|
25713
|
-
return declarationNodeIdx === (
|
|
25623
|
+
return declarationNodeIdx === (parent !== null ? parent.index : -1);
|
|
25714
25624
|
}
|
|
25715
25625
|
return this._appliesToNextNode;
|
|
25716
25626
|
};
|
|
@@ -26256,13 +26166,6 @@
|
|
|
26256
26166
|
jitOptions = null;
|
|
26257
26167
|
}
|
|
26258
26168
|
|
|
26259
|
-
/**
|
|
26260
|
-
* @license
|
|
26261
|
-
* Copyright Google LLC All Rights Reserved.
|
|
26262
|
-
*
|
|
26263
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
26264
|
-
* found in the LICENSE file at https://angular.io/license
|
|
26265
|
-
*/
|
|
26266
26169
|
var EMPTY_ARRAY$5 = [];
|
|
26267
26170
|
var moduleQueue = [];
|
|
26268
26171
|
/**
|
|
@@ -26599,14 +26502,10 @@
|
|
|
26599
26502
|
* a given module.
|
|
26600
26503
|
*/
|
|
26601
26504
|
function patchComponentDefWithScope(componentDef, transitiveScopes) {
|
|
26602
|
-
componentDef.directiveDefs = function () {
|
|
26603
|
-
return
|
|
26604
|
-
|
|
26605
|
-
|
|
26606
|
-
};
|
|
26607
|
-
componentDef.pipeDefs = function () {
|
|
26608
|
-
return Array.from(transitiveScopes.compilation.pipes).map(function (pipe) { return getPipeDef(pipe); });
|
|
26609
|
-
};
|
|
26505
|
+
componentDef.directiveDefs = function () { return Array.from(transitiveScopes.compilation.directives)
|
|
26506
|
+
.map(function (dir) { return dir.hasOwnProperty(NG_COMP_DEF) ? getComponentDef(dir) : getDirectiveDef(dir); })
|
|
26507
|
+
.filter(function (def) { return !!def; }); };
|
|
26508
|
+
componentDef.pipeDefs = function () { return Array.from(transitiveScopes.compilation.pipes).map(function (pipe) { return getPipeDef(pipe); }); };
|
|
26610
26509
|
componentDef.schemas = transitiveScopes.schemas;
|
|
26611
26510
|
// Since we avoid Components/Directives/Pipes recompiling in case there are no overrides, we
|
|
26612
26511
|
// may face a problem where previously compiled defs available to a given Component/Directive
|
|
@@ -26771,7 +26670,7 @@
|
|
|
26771
26670
|
}
|
|
26772
26671
|
}
|
|
26773
26672
|
var templateUrl = metadata.templateUrl || "ng:///" + type.name + "/template.html";
|
|
26774
|
-
var meta =
|
|
26673
|
+
var meta = Object.assign(Object.assign({}, directiveMetadata(type, metadata)), { typeSourceSpan: compiler.createParseSourceSpan('Component', type.name, templateUrl), template: metadata.template || '', preserveWhitespaces: preserveWhitespaces, styles: metadata.styles || EMPTY_ARRAY, animations: metadata.animations, directives: [], changeDetection: metadata.changeDetection, pipes: new Map(), encapsulation: encapsulation, interpolation: metadata.interpolation, viewProviders: metadata.viewProviders || null });
|
|
26775
26674
|
if (meta.usesInheritance) {
|
|
26776
26675
|
addDirectiveDefToUndecoratedParents(type);
|
|
26777
26676
|
}
|
|
@@ -26844,7 +26743,7 @@
|
|
|
26844
26743
|
if (ngFactoryDef === null) {
|
|
26845
26744
|
var meta = getDirectiveMetadata(type, metadata);
|
|
26846
26745
|
var compiler = getCompilerFacade();
|
|
26847
|
-
ngFactoryDef = compiler.compileFactory(angularCoreEnv, "ng:///" + type.name + "/\u0275fac.js",
|
|
26746
|
+
ngFactoryDef = compiler.compileFactory(angularCoreEnv, "ng:///" + type.name + "/\u0275fac.js", Object.assign(Object.assign({}, meta.metadata), { injectFn: 'directiveInject', target: compiler.R3FactoryTarget.Directive }));
|
|
26848
26747
|
}
|
|
26849
26748
|
return ngFactoryDef;
|
|
26850
26749
|
},
|
|
@@ -26993,7 +26892,7 @@
|
|
|
26993
26892
|
if (ngFactoryDef === null) {
|
|
26994
26893
|
var metadata = getPipeMetadata(type, meta);
|
|
26995
26894
|
var compiler = getCompilerFacade();
|
|
26996
|
-
ngFactoryDef = compiler.compileFactory(angularCoreEnv, "ng:///" + metadata.name + "/\u0275fac.js",
|
|
26895
|
+
ngFactoryDef = compiler.compileFactory(angularCoreEnv, "ng:///" + metadata.name + "/\u0275fac.js", Object.assign(Object.assign({}, metadata), { injectFn: 'directiveInject', target: compiler.R3FactoryTarget.Pipe }));
|
|
26997
26896
|
}
|
|
26998
26897
|
return ngFactoryDef;
|
|
26999
26898
|
},
|
|
@@ -27042,7 +26941,7 @@
|
|
|
27042
26941
|
var Directive = makeDecorator('Directive', ɵ0$e, undefined, undefined, ɵ1$3);
|
|
27043
26942
|
var ɵ2$1 = function (c) {
|
|
27044
26943
|
if (c === void 0) { c = {}; }
|
|
27045
|
-
return (
|
|
26944
|
+
return (Object.assign({ changeDetection: exports.ChangeDetectionStrategy.Default }, c));
|
|
27046
26945
|
}, ɵ3$1 = function (type, meta) { return SWITCH_COMPILE_COMPONENT(type, meta); };
|
|
27047
26946
|
/**
|
|
27048
26947
|
* Component decorator and metadata.
|
|
@@ -27051,7 +26950,7 @@
|
|
|
27051
26950
|
* @publicApi
|
|
27052
26951
|
*/
|
|
27053
26952
|
var Component = makeDecorator('Component', ɵ2$1, Directive, undefined, ɵ3$1);
|
|
27054
|
-
var ɵ4 = function (p) { return (
|
|
26953
|
+
var ɵ4 = function (p) { return (Object.assign({ pure: true }, p)); }, ɵ5 = function (type, meta) { return SWITCH_COMPILE_PIPE(type, meta); };
|
|
27055
26954
|
/**
|
|
27056
26955
|
* @Annotation
|
|
27057
26956
|
* @publicApi
|
|
@@ -27143,13 +27042,6 @@
|
|
|
27143
27042
|
var SWITCH_COMPILE_DIRECTIVE = SWITCH_COMPILE_DIRECTIVE__PRE_R3__;
|
|
27144
27043
|
var SWITCH_COMPILE_PIPE = SWITCH_COMPILE_PIPE__PRE_R3__;
|
|
27145
27044
|
|
|
27146
|
-
/**
|
|
27147
|
-
* @license
|
|
27148
|
-
* Copyright Google LLC All Rights Reserved.
|
|
27149
|
-
*
|
|
27150
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
27151
|
-
* found in the LICENSE file at https://angular.io/license
|
|
27152
|
-
*/
|
|
27153
27045
|
var ɵ0$f = function (ngModule) { return ngModule; }, ɵ1$4 =
|
|
27154
27046
|
/**
|
|
27155
27047
|
* Decorator that marks the following class as an NgModule, and supplies
|
|
@@ -27271,14 +27163,14 @@
|
|
|
27271
27163
|
}
|
|
27272
27164
|
this.initialized = true;
|
|
27273
27165
|
};
|
|
27274
|
-
ApplicationInitStatus.decorators = [
|
|
27275
|
-
{ type: Injectable }
|
|
27276
|
-
];
|
|
27277
|
-
ApplicationInitStatus.ctorParameters = function () { return [
|
|
27278
|
-
{ type: Array, decorators: [{ type: Inject, args: [APP_INITIALIZER,] }, { type: Optional }] }
|
|
27279
|
-
]; };
|
|
27280
27166
|
return ApplicationInitStatus;
|
|
27281
27167
|
}());
|
|
27168
|
+
ApplicationInitStatus.decorators = [
|
|
27169
|
+
{ type: Injectable }
|
|
27170
|
+
];
|
|
27171
|
+
ApplicationInitStatus.ctorParameters = function () { return [
|
|
27172
|
+
{ type: Array, decorators: [{ type: Inject, args: [APP_INITIALIZER,] }, { type: Optional }] }
|
|
27173
|
+
]; };
|
|
27282
27174
|
|
|
27283
27175
|
/**
|
|
27284
27176
|
* @license
|
|
@@ -27361,11 +27253,11 @@
|
|
|
27361
27253
|
// tslint:disable-next-line:no-console
|
|
27362
27254
|
console.warn(message);
|
|
27363
27255
|
};
|
|
27364
|
-
Console.decorators = [
|
|
27365
|
-
{ type: Injectable }
|
|
27366
|
-
];
|
|
27367
27256
|
return Console;
|
|
27368
27257
|
}());
|
|
27258
|
+
Console.decorators = [
|
|
27259
|
+
{ type: Injectable }
|
|
27260
|
+
];
|
|
27369
27261
|
|
|
27370
27262
|
/**
|
|
27371
27263
|
* @license
|
|
@@ -27595,11 +27487,11 @@
|
|
|
27595
27487
|
Compiler.prototype.getModuleId = function (moduleType) {
|
|
27596
27488
|
return undefined;
|
|
27597
27489
|
};
|
|
27598
|
-
Compiler.decorators = [
|
|
27599
|
-
{ type: Injectable }
|
|
27600
|
-
];
|
|
27601
27490
|
return Compiler;
|
|
27602
27491
|
}());
|
|
27492
|
+
Compiler.decorators = [
|
|
27493
|
+
{ type: Injectable }
|
|
27494
|
+
];
|
|
27603
27495
|
/**
|
|
27604
27496
|
* Token to provide CompilerOptions in the platform injector.
|
|
27605
27497
|
*
|
|
@@ -28186,14 +28078,14 @@
|
|
|
28186
28078
|
// TODO(juliemr): implement.
|
|
28187
28079
|
return [];
|
|
28188
28080
|
};
|
|
28189
|
-
Testability.decorators = [
|
|
28190
|
-
{ type: Injectable }
|
|
28191
|
-
];
|
|
28192
|
-
Testability.ctorParameters = function () { return [
|
|
28193
|
-
{ type: NgZone }
|
|
28194
|
-
]; };
|
|
28195
28081
|
return Testability;
|
|
28196
28082
|
}());
|
|
28083
|
+
Testability.decorators = [
|
|
28084
|
+
{ type: Injectable }
|
|
28085
|
+
];
|
|
28086
|
+
Testability.ctorParameters = function () { return [
|
|
28087
|
+
{ type: NgZone }
|
|
28088
|
+
]; };
|
|
28197
28089
|
/**
|
|
28198
28090
|
* A global registry of {@link Testability} instances for specific elements.
|
|
28199
28091
|
* @publicApi
|
|
@@ -28254,12 +28146,12 @@
|
|
|
28254
28146
|
if (findInAncestors === void 0) { findInAncestors = true; }
|
|
28255
28147
|
return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors);
|
|
28256
28148
|
};
|
|
28257
|
-
TestabilityRegistry.decorators = [
|
|
28258
|
-
{ type: Injectable }
|
|
28259
|
-
];
|
|
28260
|
-
TestabilityRegistry.ctorParameters = function () { return []; };
|
|
28261
28149
|
return TestabilityRegistry;
|
|
28262
28150
|
}());
|
|
28151
|
+
TestabilityRegistry.decorators = [
|
|
28152
|
+
{ type: Injectable }
|
|
28153
|
+
];
|
|
28154
|
+
TestabilityRegistry.ctorParameters = function () { return []; };
|
|
28263
28155
|
var _NoopGetTestability = /** @class */ (function () {
|
|
28264
28156
|
function _NoopGetTestability() {
|
|
28265
28157
|
}
|
|
@@ -28278,13 +28170,6 @@
|
|
|
28278
28170
|
}
|
|
28279
28171
|
var _testabilityGetter = new _NoopGetTestability();
|
|
28280
28172
|
|
|
28281
|
-
/**
|
|
28282
|
-
* @license
|
|
28283
|
-
* Copyright Google LLC All Rights Reserved.
|
|
28284
|
-
*
|
|
28285
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
28286
|
-
* found in the LICENSE file at https://angular.io/license
|
|
28287
|
-
*/
|
|
28288
28173
|
var _platform;
|
|
28289
28174
|
var compileNgModuleFactory = compileNgModuleFactory__PRE_R3__;
|
|
28290
28175
|
function compileNgModuleFactory__PRE_R3__(injector, options, moduleType) {
|
|
@@ -28592,14 +28477,14 @@
|
|
|
28592
28477
|
enumerable: false,
|
|
28593
28478
|
configurable: true
|
|
28594
28479
|
});
|
|
28595
|
-
PlatformRef.decorators = [
|
|
28596
|
-
{ type: Injectable }
|
|
28597
|
-
];
|
|
28598
|
-
PlatformRef.ctorParameters = function () { return [
|
|
28599
|
-
{ type: Injector }
|
|
28600
|
-
]; };
|
|
28601
28480
|
return PlatformRef;
|
|
28602
28481
|
}());
|
|
28482
|
+
PlatformRef.decorators = [
|
|
28483
|
+
{ type: Injectable }
|
|
28484
|
+
];
|
|
28485
|
+
PlatformRef.ctorParameters = function () { return [
|
|
28486
|
+
{ type: Injector }
|
|
28487
|
+
]; };
|
|
28603
28488
|
function getNgZone(ngZoneOption, ngZoneEventCoalescing) {
|
|
28604
28489
|
var ngZone;
|
|
28605
28490
|
if (ngZoneOption === 'noop') {
|
|
@@ -28636,7 +28521,7 @@
|
|
|
28636
28521
|
dst = objs.reduce(optionsReducer, dst);
|
|
28637
28522
|
}
|
|
28638
28523
|
else {
|
|
28639
|
-
dst =
|
|
28524
|
+
dst = Object.assign(Object.assign({}, dst), objs);
|
|
28640
28525
|
}
|
|
28641
28526
|
return dst;
|
|
28642
28527
|
}
|
|
@@ -28957,19 +28842,19 @@
|
|
|
28957
28842
|
enumerable: false,
|
|
28958
28843
|
configurable: true
|
|
28959
28844
|
});
|
|
28960
|
-
ApplicationRef.decorators = [
|
|
28961
|
-
{ type: Injectable }
|
|
28962
|
-
];
|
|
28963
|
-
ApplicationRef.ctorParameters = function () { return [
|
|
28964
|
-
{ type: NgZone },
|
|
28965
|
-
{ type: Console },
|
|
28966
|
-
{ type: Injector },
|
|
28967
|
-
{ type: ErrorHandler },
|
|
28968
|
-
{ type: ComponentFactoryResolver },
|
|
28969
|
-
{ type: ApplicationInitStatus }
|
|
28970
|
-
]; };
|
|
28971
28845
|
return ApplicationRef;
|
|
28972
28846
|
}());
|
|
28847
|
+
ApplicationRef.decorators = [
|
|
28848
|
+
{ type: Injectable }
|
|
28849
|
+
];
|
|
28850
|
+
ApplicationRef.ctorParameters = function () { return [
|
|
28851
|
+
{ type: NgZone },
|
|
28852
|
+
{ type: Console },
|
|
28853
|
+
{ type: Injector },
|
|
28854
|
+
{ type: ErrorHandler },
|
|
28855
|
+
{ type: ComponentFactoryResolver },
|
|
28856
|
+
{ type: ApplicationInitStatus }
|
|
28857
|
+
]; };
|
|
28973
28858
|
function remove(list, el) {
|
|
28974
28859
|
var index = list.indexOf(el);
|
|
28975
28860
|
if (index > -1) {
|
|
@@ -29048,13 +28933,6 @@
|
|
|
29048
28933
|
return new Error("No module with ID " + id + " loaded");
|
|
29049
28934
|
}
|
|
29050
28935
|
|
|
29051
|
-
/**
|
|
29052
|
-
* @license
|
|
29053
|
-
* Copyright Google LLC All Rights Reserved.
|
|
29054
|
-
*
|
|
29055
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
29056
|
-
* found in the LICENSE file at https://angular.io/license
|
|
29057
|
-
*/
|
|
29058
28936
|
var _SEPARATOR = '#';
|
|
29059
28937
|
var FACTORY_CLASS_SUFFIX = 'NgFactory';
|
|
29060
28938
|
/**
|
|
@@ -29111,15 +28989,15 @@
|
|
|
29111
28989
|
.then(function (module) { return module[exportName + factoryClassSuffix]; })
|
|
29112
28990
|
.then(function (factory) { return checkNotEmpty(factory, module, exportName); });
|
|
29113
28991
|
};
|
|
29114
|
-
SystemJsNgModuleLoader.decorators = [
|
|
29115
|
-
{ type: Injectable }
|
|
29116
|
-
];
|
|
29117
|
-
SystemJsNgModuleLoader.ctorParameters = function () { return [
|
|
29118
|
-
{ type: Compiler },
|
|
29119
|
-
{ type: SystemJsNgModuleLoaderConfig, decorators: [{ type: Optional }] }
|
|
29120
|
-
]; };
|
|
29121
28992
|
return SystemJsNgModuleLoader;
|
|
29122
28993
|
}());
|
|
28994
|
+
SystemJsNgModuleLoader.decorators = [
|
|
28995
|
+
{ type: Injectable }
|
|
28996
|
+
];
|
|
28997
|
+
SystemJsNgModuleLoader.ctorParameters = function () { return [
|
|
28998
|
+
{ type: Compiler },
|
|
28999
|
+
{ type: SystemJsNgModuleLoaderConfig, decorators: [{ type: Optional }] }
|
|
29000
|
+
]; };
|
|
29123
29001
|
function checkNotEmpty(value, modulePath, exportName) {
|
|
29124
29002
|
if (!value) {
|
|
29125
29003
|
throw new Error("Cannot find '" + exportName + "' in '" + modulePath + "'");
|
|
@@ -29127,13 +29005,6 @@
|
|
|
29127
29005
|
return value;
|
|
29128
29006
|
}
|
|
29129
29007
|
|
|
29130
|
-
/**
|
|
29131
|
-
* @license
|
|
29132
|
-
* Copyright Google LLC All Rights Reserved.
|
|
29133
|
-
*
|
|
29134
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
29135
|
-
* found in the LICENSE file at https://angular.io/license
|
|
29136
|
-
*/
|
|
29137
29008
|
/**
|
|
29138
29009
|
* Represents an Angular [view](guide/glossary#view "Definition").
|
|
29139
29010
|
*
|
|
@@ -29217,13 +29088,6 @@
|
|
|
29217
29088
|
* found in the LICENSE file at https://angular.io/license
|
|
29218
29089
|
*/
|
|
29219
29090
|
|
|
29220
|
-
/**
|
|
29221
|
-
* @license
|
|
29222
|
-
* Copyright Google LLC All Rights Reserved.
|
|
29223
|
-
*
|
|
29224
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
29225
|
-
* found in the LICENSE file at https://angular.io/license
|
|
29226
|
-
*/
|
|
29227
29091
|
/**
|
|
29228
29092
|
* @publicApi
|
|
29229
29093
|
*/
|
|
@@ -30081,22 +29945,15 @@
|
|
|
30081
29945
|
// Inject ApplicationRef to make it eager...
|
|
30082
29946
|
function ApplicationModule(appRef) {
|
|
30083
29947
|
}
|
|
30084
|
-
ApplicationModule.decorators = [
|
|
30085
|
-
{ type: NgModule, args: [{ providers: APPLICATION_MODULE_PROVIDERS },] }
|
|
30086
|
-
];
|
|
30087
|
-
ApplicationModule.ctorParameters = function () { return [
|
|
30088
|
-
{ type: ApplicationRef }
|
|
30089
|
-
]; };
|
|
30090
29948
|
return ApplicationModule;
|
|
30091
29949
|
}());
|
|
29950
|
+
ApplicationModule.decorators = [
|
|
29951
|
+
{ type: NgModule, args: [{ providers: APPLICATION_MODULE_PROVIDERS },] }
|
|
29952
|
+
];
|
|
29953
|
+
ApplicationModule.ctorParameters = function () { return [
|
|
29954
|
+
{ type: ApplicationRef }
|
|
29955
|
+
]; };
|
|
30092
29956
|
|
|
30093
|
-
/**
|
|
30094
|
-
* @license
|
|
30095
|
-
* Copyright Google LLC All Rights Reserved.
|
|
30096
|
-
*
|
|
30097
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
30098
|
-
* found in the LICENSE file at https://angular.io/license
|
|
30099
|
-
*/
|
|
30100
29957
|
function anchorDef(flags, matchedQueriesDsl, ngContentIndex, childCount, handleEvent, templateFactory) {
|
|
30101
29958
|
flags |= 1 /* TypeElement */;
|
|
30102
29959
|
var _a = splitMatchedQueriesDsl(matchedQueriesDsl), matchedQueries = _a.matchedQueries, references = _a.references, matchedQueryIds = _a.matchedQueryIds;
|
|
@@ -30254,8 +30111,8 @@
|
|
|
30254
30111
|
}
|
|
30255
30112
|
if (elDef.attrs) {
|
|
30256
30113
|
for (var i = 0; i < elDef.attrs.length; i++) {
|
|
30257
|
-
var _a = __read(elDef.attrs[i], 3), ns = _a[0],
|
|
30258
|
-
renderer.setAttribute(el,
|
|
30114
|
+
var _a = __read(elDef.attrs[i], 3), ns = _a[0], name = _a[1], value = _a[2];
|
|
30115
|
+
renderer.setAttribute(el, name, value, ns);
|
|
30259
30116
|
}
|
|
30260
30117
|
}
|
|
30261
30118
|
return el;
|
|
@@ -30607,13 +30464,6 @@
|
|
|
30607
30464
|
visitProjectedRenderNodes(view, ngContentIndex, 1 /* AppendChild */, parentEl, null, undefined);
|
|
30608
30465
|
}
|
|
30609
30466
|
|
|
30610
|
-
/**
|
|
30611
|
-
* @license
|
|
30612
|
-
* Copyright Google LLC All Rights Reserved.
|
|
30613
|
-
*
|
|
30614
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
30615
|
-
* found in the LICENSE file at https://angular.io/license
|
|
30616
|
-
*/
|
|
30617
30467
|
function purePipeDef(checkIndex, argCount) {
|
|
30618
30468
|
// argCount + 1 to include the pipe as first arg
|
|
30619
30469
|
return _pureExpressionDef(128 /* TypePurePipe */, checkIndex, newArray(argCount + 1));
|
|
@@ -31070,9 +30920,7 @@
|
|
|
31070
30920
|
}
|
|
31071
30921
|
}
|
|
31072
30922
|
}
|
|
31073
|
-
var handleEvent = function (view, nodeIndex, eventName, event) {
|
|
31074
|
-
return nodes[nodeIndex].element.handleEvent(view, eventName, event);
|
|
31075
|
-
};
|
|
30923
|
+
var handleEvent = function (view, nodeIndex, eventName, event) { return nodes[nodeIndex].element.handleEvent(view, eventName, event); };
|
|
31076
30924
|
return {
|
|
31077
30925
|
// Will be filled later...
|
|
31078
30926
|
factory: null,
|
|
@@ -31577,13 +31425,6 @@
|
|
|
31577
31425
|
}
|
|
31578
31426
|
}
|
|
31579
31427
|
|
|
31580
|
-
/**
|
|
31581
|
-
* @license
|
|
31582
|
-
* Copyright Google LLC All Rights Reserved.
|
|
31583
|
-
*
|
|
31584
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
31585
|
-
* found in the LICENSE file at https://angular.io/license
|
|
31586
|
-
*/
|
|
31587
31428
|
var initialized = false;
|
|
31588
31429
|
function initServicesIfNeeded() {
|
|
31589
31430
|
if (initialized) {
|
|
@@ -31623,9 +31464,7 @@
|
|
|
31623
31464
|
checkNoChangesView: checkNoChangesView,
|
|
31624
31465
|
destroyView: destroyView,
|
|
31625
31466
|
createDebugContext: function (view, nodeIndex) { return new DebugContext_(view, nodeIndex); },
|
|
31626
|
-
handleEvent: function (view, nodeIndex, eventName, event) {
|
|
31627
|
-
return view.def.handleEvent(view, nodeIndex, eventName, event);
|
|
31628
|
-
},
|
|
31467
|
+
handleEvent: function (view, nodeIndex, eventName, event) { return view.def.handleEvent(view, nodeIndex, eventName, event); },
|
|
31629
31468
|
updateDirectives: function (view, checkType) { return view.def.updateDirectives(checkType === 0 /* CheckAndUpdate */ ? prodCheckAndUpdateNode : prodCheckNoChangesNode, view); },
|
|
31630
31469
|
updateRenderer: function (view, checkType) { return view.def.updateRenderer(checkType === 0 /* CheckAndUpdate */ ? prodCheckAndUpdateNode : prodCheckNoChangesNode, view); },
|
|
31631
31470
|
};
|
|
@@ -32360,13 +32199,6 @@
|
|
|
32360
32199
|
return DebugRenderer2;
|
|
32361
32200
|
}());
|
|
32362
32201
|
|
|
32363
|
-
/**
|
|
32364
|
-
* @license
|
|
32365
|
-
* Copyright Google LLC All Rights Reserved.
|
|
32366
|
-
*
|
|
32367
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
32368
|
-
* found in the LICENSE file at https://angular.io/license
|
|
32369
|
-
*/
|
|
32370
32202
|
function overrideProvider(override) {
|
|
32371
32203
|
initServicesIfNeeded();
|
|
32372
32204
|
return Services.overrideProvider(override);
|