@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
|
@@ -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
|
*/
|
|
@@ -661,232 +661,305 @@
|
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
663
|
|
|
664
|
-
/*! *****************************************************************************
|
|
665
|
-
Copyright (c) Microsoft Corporation.
|
|
666
|
-
|
|
667
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
668
|
-
purpose with or without fee is hereby granted.
|
|
669
|
-
|
|
670
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
671
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
672
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
673
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
674
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
675
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
676
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
677
|
-
***************************************************************************** */
|
|
678
|
-
/* global Reflect, Promise */
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
function __extends(d, b) {
|
|
688
|
-
extendStatics(d, b);
|
|
689
|
-
function __() { this.constructor = d; }
|
|
690
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
function __rest(s, e) {
|
|
705
|
-
var t = {};
|
|
706
|
-
for (var p in s)
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
function __decorate(decorators, target, key, desc) {
|
|
717
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
718
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
return
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
function
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
function
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
664
|
+
/*! *****************************************************************************
|
|
665
|
+
Copyright (c) Microsoft Corporation.
|
|
666
|
+
|
|
667
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
668
|
+
purpose with or without fee is hereby granted.
|
|
669
|
+
|
|
670
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
671
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
672
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
673
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
674
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
675
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
676
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
677
|
+
***************************************************************************** */
|
|
678
|
+
/* global Reflect, Promise */
|
|
679
|
+
var extendStatics = function (d, b) {
|
|
680
|
+
extendStatics = Object.setPrototypeOf ||
|
|
681
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
682
|
+
function (d, b) { for (var p in b)
|
|
683
|
+
if (b.hasOwnProperty(p))
|
|
684
|
+
d[p] = b[p]; };
|
|
685
|
+
return extendStatics(d, b);
|
|
686
|
+
};
|
|
687
|
+
function __extends(d, b) {
|
|
688
|
+
extendStatics(d, b);
|
|
689
|
+
function __() { this.constructor = d; }
|
|
690
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
691
|
+
}
|
|
692
|
+
var __assign = function () {
|
|
693
|
+
__assign = Object.assign || function __assign(t) {
|
|
694
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
695
|
+
s = arguments[i];
|
|
696
|
+
for (var p in s)
|
|
697
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
698
|
+
t[p] = s[p];
|
|
699
|
+
}
|
|
700
|
+
return t;
|
|
701
|
+
};
|
|
702
|
+
return __assign.apply(this, arguments);
|
|
703
|
+
};
|
|
704
|
+
function __rest(s, e) {
|
|
705
|
+
var t = {};
|
|
706
|
+
for (var p in s)
|
|
707
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
708
|
+
t[p] = s[p];
|
|
709
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
710
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
711
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
712
|
+
t[p[i]] = s[p[i]];
|
|
713
|
+
}
|
|
714
|
+
return t;
|
|
715
|
+
}
|
|
716
|
+
function __decorate(decorators, target, key, desc) {
|
|
717
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
718
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
719
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
720
|
+
else
|
|
721
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
722
|
+
if (d = decorators[i])
|
|
723
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
724
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
725
|
+
}
|
|
726
|
+
function __param(paramIndex, decorator) {
|
|
727
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
728
|
+
}
|
|
729
|
+
function __metadata(metadataKey, metadataValue) {
|
|
730
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
731
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
732
|
+
}
|
|
733
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
734
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
735
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
736
|
+
function fulfilled(value) { try {
|
|
737
|
+
step(generator.next(value));
|
|
738
|
+
}
|
|
739
|
+
catch (e) {
|
|
740
|
+
reject(e);
|
|
741
|
+
} }
|
|
742
|
+
function rejected(value) { try {
|
|
743
|
+
step(generator["throw"](value));
|
|
744
|
+
}
|
|
745
|
+
catch (e) {
|
|
746
|
+
reject(e);
|
|
747
|
+
} }
|
|
748
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
749
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
function __generator(thisArg, body) {
|
|
753
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
754
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
755
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
756
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
757
|
+
function step(op) {
|
|
758
|
+
if (f)
|
|
759
|
+
throw new TypeError("Generator is already executing.");
|
|
760
|
+
while (_)
|
|
761
|
+
try {
|
|
762
|
+
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)
|
|
763
|
+
return t;
|
|
764
|
+
if (y = 0, t)
|
|
765
|
+
op = [op[0] & 2, t.value];
|
|
766
|
+
switch (op[0]) {
|
|
767
|
+
case 0:
|
|
768
|
+
case 1:
|
|
769
|
+
t = op;
|
|
770
|
+
break;
|
|
771
|
+
case 4:
|
|
772
|
+
_.label++;
|
|
773
|
+
return { value: op[1], done: false };
|
|
774
|
+
case 5:
|
|
775
|
+
_.label++;
|
|
776
|
+
y = op[1];
|
|
777
|
+
op = [0];
|
|
778
|
+
continue;
|
|
779
|
+
case 7:
|
|
780
|
+
op = _.ops.pop();
|
|
781
|
+
_.trys.pop();
|
|
782
|
+
continue;
|
|
783
|
+
default:
|
|
784
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
785
|
+
_ = 0;
|
|
786
|
+
continue;
|
|
787
|
+
}
|
|
788
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
789
|
+
_.label = op[1];
|
|
790
|
+
break;
|
|
791
|
+
}
|
|
792
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
793
|
+
_.label = t[1];
|
|
794
|
+
t = op;
|
|
795
|
+
break;
|
|
796
|
+
}
|
|
797
|
+
if (t && _.label < t[2]) {
|
|
798
|
+
_.label = t[2];
|
|
799
|
+
_.ops.push(op);
|
|
800
|
+
break;
|
|
801
|
+
}
|
|
802
|
+
if (t[2])
|
|
803
|
+
_.ops.pop();
|
|
804
|
+
_.trys.pop();
|
|
805
|
+
continue;
|
|
806
|
+
}
|
|
807
|
+
op = body.call(thisArg, _);
|
|
808
|
+
}
|
|
809
|
+
catch (e) {
|
|
810
|
+
op = [6, e];
|
|
811
|
+
y = 0;
|
|
812
|
+
}
|
|
813
|
+
finally {
|
|
814
|
+
f = t = 0;
|
|
815
|
+
}
|
|
816
|
+
if (op[0] & 5)
|
|
817
|
+
throw op[1];
|
|
818
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
822
|
+
if (k2 === undefined)
|
|
823
|
+
k2 = k;
|
|
824
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
825
|
+
}) : (function (o, m, k, k2) {
|
|
826
|
+
if (k2 === undefined)
|
|
827
|
+
k2 = k;
|
|
828
|
+
o[k2] = m[k];
|
|
829
|
+
});
|
|
830
|
+
function __exportStar(m, exports) {
|
|
831
|
+
for (var p in m)
|
|
832
|
+
if (p !== "default" && !exports.hasOwnProperty(p))
|
|
833
|
+
__createBinding(exports, m, p);
|
|
834
|
+
}
|
|
835
|
+
function __values(o) {
|
|
836
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
837
|
+
if (m)
|
|
838
|
+
return m.call(o);
|
|
839
|
+
if (o && typeof o.length === "number")
|
|
840
|
+
return {
|
|
841
|
+
next: function () {
|
|
842
|
+
if (o && i >= o.length)
|
|
843
|
+
o = void 0;
|
|
844
|
+
return { value: o && o[i++], done: !o };
|
|
845
|
+
}
|
|
846
|
+
};
|
|
847
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
848
|
+
}
|
|
849
|
+
function __read(o, n) {
|
|
850
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
851
|
+
if (!m)
|
|
852
|
+
return o;
|
|
853
|
+
var i = m.call(o), r, ar = [], e;
|
|
854
|
+
try {
|
|
855
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
856
|
+
ar.push(r.value);
|
|
857
|
+
}
|
|
858
|
+
catch (error) {
|
|
859
|
+
e = { error: error };
|
|
860
|
+
}
|
|
861
|
+
finally {
|
|
862
|
+
try {
|
|
863
|
+
if (r && !r.done && (m = i["return"]))
|
|
864
|
+
m.call(i);
|
|
865
|
+
}
|
|
866
|
+
finally {
|
|
867
|
+
if (e)
|
|
868
|
+
throw e.error;
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
return ar;
|
|
872
|
+
}
|
|
873
|
+
function __spread() {
|
|
874
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
875
|
+
ar = ar.concat(__read(arguments[i]));
|
|
876
|
+
return ar;
|
|
877
|
+
}
|
|
878
|
+
function __spreadArrays() {
|
|
879
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
880
|
+
s += arguments[i].length;
|
|
881
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
882
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
883
|
+
r[k] = a[j];
|
|
884
|
+
return r;
|
|
885
|
+
}
|
|
886
|
+
;
|
|
887
|
+
function __await(v) {
|
|
888
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
889
|
+
}
|
|
890
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
891
|
+
if (!Symbol.asyncIterator)
|
|
892
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
893
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
894
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
895
|
+
function verb(n) { if (g[n])
|
|
896
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
897
|
+
function resume(n, v) { try {
|
|
898
|
+
step(g[n](v));
|
|
899
|
+
}
|
|
900
|
+
catch (e) {
|
|
901
|
+
settle(q[0][3], e);
|
|
902
|
+
} }
|
|
903
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
904
|
+
function fulfill(value) { resume("next", value); }
|
|
905
|
+
function reject(value) { resume("throw", value); }
|
|
906
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
907
|
+
resume(q[0][0], q[0][1]); }
|
|
908
|
+
}
|
|
909
|
+
function __asyncDelegator(o) {
|
|
910
|
+
var i, p;
|
|
911
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
912
|
+
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; }
|
|
913
|
+
}
|
|
914
|
+
function __asyncValues(o) {
|
|
915
|
+
if (!Symbol.asyncIterator)
|
|
916
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
917
|
+
var m = o[Symbol.asyncIterator], i;
|
|
918
|
+
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);
|
|
919
|
+
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); }); }; }
|
|
920
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
921
|
+
}
|
|
922
|
+
function __makeTemplateObject(cooked, raw) {
|
|
923
|
+
if (Object.defineProperty) {
|
|
924
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
925
|
+
}
|
|
926
|
+
else {
|
|
927
|
+
cooked.raw = raw;
|
|
928
|
+
}
|
|
929
|
+
return cooked;
|
|
930
|
+
}
|
|
931
|
+
;
|
|
932
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
933
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
934
|
+
}) : function (o, v) {
|
|
935
|
+
o["default"] = v;
|
|
936
|
+
};
|
|
937
|
+
function __importStar(mod) {
|
|
938
|
+
if (mod && mod.__esModule)
|
|
939
|
+
return mod;
|
|
940
|
+
var result = {};
|
|
941
|
+
if (mod != null)
|
|
942
|
+
for (var k in mod)
|
|
943
|
+
if (Object.hasOwnProperty.call(mod, k))
|
|
944
|
+
__createBinding(result, mod, k);
|
|
945
|
+
__setModuleDefault(result, mod);
|
|
946
|
+
return result;
|
|
947
|
+
}
|
|
948
|
+
function __importDefault(mod) {
|
|
949
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
950
|
+
}
|
|
951
|
+
function __classPrivateFieldGet(receiver, privateMap) {
|
|
952
|
+
if (!privateMap.has(receiver)) {
|
|
953
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
954
|
+
}
|
|
955
|
+
return privateMap.get(receiver);
|
|
956
|
+
}
|
|
957
|
+
function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
958
|
+
if (!privateMap.has(receiver)) {
|
|
959
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
960
|
+
}
|
|
961
|
+
privateMap.set(receiver, value);
|
|
962
|
+
return value;
|
|
890
963
|
}
|
|
891
964
|
|
|
892
965
|
/**
|
|
@@ -1160,13 +1233,6 @@
|
|
|
1160
1233
|
return props;
|
|
1161
1234
|
}
|
|
1162
1235
|
|
|
1163
|
-
/**
|
|
1164
|
-
* @license
|
|
1165
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1166
|
-
*
|
|
1167
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1168
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1169
|
-
*/
|
|
1170
1236
|
var reflection = new core.ɵReflectionCapabilities();
|
|
1171
1237
|
/**
|
|
1172
1238
|
* Allows to override ivy metadata for tests (via the `TestBed`).
|
|
@@ -1284,13 +1350,6 @@
|
|
|
1284
1350
|
return NgModuleResolver;
|
|
1285
1351
|
}(OverrideResolver));
|
|
1286
1352
|
|
|
1287
|
-
/**
|
|
1288
|
-
* @license
|
|
1289
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1290
|
-
*
|
|
1291
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1292
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1293
|
-
*/
|
|
1294
1353
|
var TestingModuleOverride;
|
|
1295
1354
|
(function (TestingModuleOverride) {
|
|
1296
1355
|
TestingModuleOverride[TestingModuleOverride["DECLARATION"] = 0] = "DECLARATION";
|
|
@@ -2005,7 +2064,7 @@
|
|
|
2005
2064
|
// Treat all overridden providers as `{multi: false}` (even if it's a multi-provider) to
|
|
2006
2065
|
// make sure that provided override takes highest precedence and is not combined with
|
|
2007
2066
|
// other instances of the same multi provider.
|
|
2008
|
-
final.unshift(
|
|
2067
|
+
final.unshift(Object.assign(Object.assign({}, provider), { multi: false }));
|
|
2009
2068
|
}
|
|
2010
2069
|
}
|
|
2011
2070
|
else {
|
|
@@ -2473,13 +2532,6 @@
|
|
|
2473
2532
|
return testBed = testBed || new TestBedRender3();
|
|
2474
2533
|
}
|
|
2475
2534
|
|
|
2476
|
-
/**
|
|
2477
|
-
* @license
|
|
2478
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2479
|
-
*
|
|
2480
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2481
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2482
|
-
*/
|
|
2483
2535
|
function unimplemented() {
|
|
2484
2536
|
throw Error('unimplemented');
|
|
2485
2537
|
}
|
|
@@ -2534,11 +2586,11 @@
|
|
|
2534
2586
|
TestingCompiler.prototype.getComponentFromError = function (error) {
|
|
2535
2587
|
throw unimplemented();
|
|
2536
2588
|
};
|
|
2537
|
-
TestingCompiler.decorators = [
|
|
2538
|
-
{ type: core.Injectable }
|
|
2539
|
-
];
|
|
2540
2589
|
return TestingCompiler;
|
|
2541
2590
|
}(core.Compiler));
|
|
2591
|
+
TestingCompiler.decorators = [
|
|
2592
|
+
{ type: core.Injectable }
|
|
2593
|
+
];
|
|
2542
2594
|
/**
|
|
2543
2595
|
* A factory for creating a Compiler
|
|
2544
2596
|
*
|
|
@@ -2550,13 +2602,6 @@
|
|
|
2550
2602
|
return TestingCompilerFactory;
|
|
2551
2603
|
}());
|
|
2552
2604
|
|
|
2553
|
-
/**
|
|
2554
|
-
* @license
|
|
2555
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2556
|
-
*
|
|
2557
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2558
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2559
|
-
*/
|
|
2560
2605
|
var _nextRootElementId$1 = 0;
|
|
2561
2606
|
/**
|
|
2562
2607
|
* @description
|
|
@@ -2844,14 +2889,14 @@
|
|
|
2844
2889
|
var RootScopeModule = /** @class */ (function () {
|
|
2845
2890
|
function RootScopeModule() {
|
|
2846
2891
|
}
|
|
2847
|
-
RootScopeModule.decorators = [
|
|
2848
|
-
{ type: core.NgModule, args: [{
|
|
2849
|
-
providers: __spread(rootProviderOverrides),
|
|
2850
|
-
jit: true,
|
|
2851
|
-
},] }
|
|
2852
|
-
];
|
|
2853
2892
|
return RootScopeModule;
|
|
2854
2893
|
}());
|
|
2894
|
+
RootScopeModule.decorators = [
|
|
2895
|
+
{ type: core.NgModule, args: [{
|
|
2896
|
+
providers: __spread(rootProviderOverrides),
|
|
2897
|
+
jit: true,
|
|
2898
|
+
},] }
|
|
2899
|
+
];
|
|
2855
2900
|
rootScopeImports.push(RootScopeModule);
|
|
2856
2901
|
}
|
|
2857
2902
|
providers.push({ provide: core.ɵINJECTOR_SCOPE, useValue: this._isRoot ? 'root' : null });
|
|
@@ -2860,11 +2905,11 @@
|
|
|
2860
2905
|
var DynamicTestModule = /** @class */ (function () {
|
|
2861
2906
|
function DynamicTestModule() {
|
|
2862
2907
|
}
|
|
2863
|
-
DynamicTestModule.decorators = [
|
|
2864
|
-
{ type: core.NgModule, args: [{ providers: providers, declarations: declarations, imports: imports, schemas: schemas, jit: true },] }
|
|
2865
|
-
];
|
|
2866
2908
|
return DynamicTestModule;
|
|
2867
2909
|
}());
|
|
2910
|
+
DynamicTestModule.decorators = [
|
|
2911
|
+
{ type: core.NgModule, args: [{ providers: providers, declarations: declarations, imports: imports, schemas: schemas, jit: true },] }
|
|
2912
|
+
];
|
|
2868
2913
|
var compilerFactory = this.platform.injector.get(TestingCompilerFactory);
|
|
2869
2914
|
this._compiler = compilerFactory.createTestingCompiler(this._compilerOptions);
|
|
2870
2915
|
try {
|
|
@@ -2984,11 +3029,11 @@
|
|
|
2984
3029
|
var OverrideComponent = /** @class */ (function () {
|
|
2985
3030
|
function OverrideComponent() {
|
|
2986
3031
|
}
|
|
2987
|
-
OverrideComponent.decorators = [
|
|
2988
|
-
{ type: core.Component, args: [{ selector: 'empty', template: template, jit: true },] }
|
|
2989
|
-
];
|
|
2990
3032
|
return OverrideComponent;
|
|
2991
3033
|
}());
|
|
3034
|
+
OverrideComponent.decorators = [
|
|
3035
|
+
{ type: core.Component, args: [{ selector: 'empty', template: template, jit: true },] }
|
|
3036
|
+
];
|
|
2992
3037
|
this._templateOverrides.push({ component: component, templateOf: OverrideComponent });
|
|
2993
3038
|
};
|
|
2994
3039
|
TestBedViewEngine.prototype.createComponent = function (component) {
|