google-closure-compiler 20260720.0.0 → 20260730.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contrib/externs/angular-1.6-mocks.js +64 -1
- package/contrib/externs/maps/google_maps_api_v3_65.js +58 -17
- package/contrib/externs/maps/google_maps_api_v3_exp.js +58 -17
- package/externs/browser/es6_typed_array.js +984 -0
- package/externs/browser/url.js +122 -0
- package/externs/browser/w3c_navigation.js +384 -28
- package/externs/browser/w3c_screen_orientation.js +9 -1
- package/externs/browser/w3c_speech.js +62 -2
- package/externs/browser/web_animations.js +112 -0
- package/externs/browser/webassembly.js +161 -29
- package/externs/browser/wicg_scheduler.js +86 -2
- package/externs/es3.js +1 -0
- package/externs/es6.js +30 -962
- package/externs/es6_collections.js +192 -11
- package/package.json +6 -6
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
* TODO: Remaining Mocks:
|
|
22
22
|
* $browser
|
|
23
|
-
* $log
|
|
24
23
|
* angular.mock.TzDate
|
|
25
24
|
* angular.mock.dump
|
|
26
25
|
* $RAFDecorator
|
|
@@ -280,3 +279,67 @@ angular.mock.$exceptionHandlerProvider = function() {};
|
|
|
280
279
|
|
|
281
280
|
/** @param {string} mode */
|
|
282
281
|
angular.mock.$exceptionHandlerProvider.prototype.mode = function(mode) {};
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @interface
|
|
286
|
+
* @extends {angular.$log}
|
|
287
|
+
*/
|
|
288
|
+
angular.mock.$log = function() {};
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
/** @return {void} */
|
|
292
|
+
angular.mock.$log.prototype.assertEmpty = function() {};
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
/** @return {void} */
|
|
296
|
+
angular.mock.$log.prototype.reset = function() {};
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @param {...*} var_args
|
|
300
|
+
* @return {void}
|
|
301
|
+
*/
|
|
302
|
+
angular.mock.$log.prototype.debug = function(var_args) {};
|
|
303
|
+
|
|
304
|
+
/** @type {!Array<*>} */
|
|
305
|
+
angular.mock.$log.prototype.debug.logs;
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @param {...*} var_args
|
|
310
|
+
* @return {void}
|
|
311
|
+
*/
|
|
312
|
+
angular.mock.$log.prototype.error = function(var_args) {};
|
|
313
|
+
|
|
314
|
+
/** @type {!Array<*>} */
|
|
315
|
+
angular.mock.$log.prototype.error.logs;
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @param {...*} var_args
|
|
320
|
+
* @return {void}
|
|
321
|
+
*/
|
|
322
|
+
angular.mock.$log.prototype.info = function(var_args) {};
|
|
323
|
+
|
|
324
|
+
/** @type {!Array<*>} */
|
|
325
|
+
angular.mock.$log.prototype.info.logs;
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* @param {...*} var_args
|
|
330
|
+
* @return {void}
|
|
331
|
+
*/
|
|
332
|
+
angular.mock.$log.prototype.log = function(var_args) {};
|
|
333
|
+
|
|
334
|
+
/** @type {!Array<*>} */
|
|
335
|
+
angular.mock.$log.prototype.log.logs;
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @param {...*} var_args
|
|
340
|
+
* @return {void}
|
|
341
|
+
*/
|
|
342
|
+
angular.mock.$log.prototype.warn = function(var_args) {};
|
|
343
|
+
|
|
344
|
+
/** @type {!Array<*>} */
|
|
345
|
+
angular.mock.$log.prototype.warn.logs;
|
|
@@ -1171,7 +1171,7 @@ google.maps.Data.DataOptions.prototype.style;
|
|
|
1171
1171
|
*
|
|
1172
1172
|
* Access by calling `const {Data} = await google.maps.importLibrary("maps");`.
|
|
1173
1173
|
* See https://developers.google.com/maps/documentation/javascript/libraries.
|
|
1174
|
-
* @param {
|
|
1174
|
+
* @param {!google.maps.Data.FeatureOptions|null=} options
|
|
1175
1175
|
* @constructor
|
|
1176
1176
|
*/
|
|
1177
1177
|
google.maps.Data.Feature = function(options) {};
|
|
@@ -1186,7 +1186,7 @@ google.maps.Data.Feature.prototype.forEachProperty = function(callback) {};
|
|
|
1186
1186
|
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Returns the feature's geometry.
|
|
1189
|
-
* @return {
|
|
1189
|
+
* @return {!google.maps.Data.Geometry|null}
|
|
1190
1190
|
*/
|
|
1191
1191
|
google.maps.Data.Feature.prototype.getGeometry = function() {};
|
|
1192
1192
|
|
|
@@ -1213,7 +1213,7 @@ google.maps.Data.Feature.prototype.removeProperty = function(name) {};
|
|
|
1213
1213
|
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Sets the feature's geometry.
|
|
1216
|
-
* @param {google.maps.Data.Geometry
|
|
1216
|
+
* @param {!google.maps.Data.Geometry|!google.maps.LatLng|!google.maps.LatLngLiteral|null}
|
|
1217
1217
|
* newGeometry
|
|
1218
1218
|
* @return {undefined}
|
|
1219
1219
|
*/
|
|
@@ -5118,9 +5118,9 @@ google.maps.LatLngAltitudeLiteral.prototype.lng;
|
|
|
5118
5118
|
* Access by calling `const {LatLngBounds} = await
|
|
5119
5119
|
* google.maps.importLibrary("core");`. See
|
|
5120
5120
|
* https://developers.google.com/maps/documentation/javascript/libraries.
|
|
5121
|
-
* @param {google.maps.LatLng
|
|
5121
|
+
* @param {!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngBounds|!google.maps.LatLngBoundsLiteral|null=}
|
|
5122
5122
|
* swOrLatLngBounds
|
|
5123
|
-
* @param {google.maps.LatLng
|
|
5123
|
+
* @param {!google.maps.LatLng|!google.maps.LatLngLiteral|null=} ne
|
|
5124
5124
|
* @constructor
|
|
5125
5125
|
*/
|
|
5126
5126
|
google.maps.LatLngBounds = function(swOrLatLngBounds, ne) {};
|
|
@@ -5135,7 +5135,8 @@ google.maps.LatLngBounds.prototype.contains = function(latLng) {};
|
|
|
5135
5135
|
/**
|
|
5136
5136
|
* Returns <code>true</code> if this bounds approximately equals the given
|
|
5137
5137
|
* bounds.
|
|
5138
|
-
* @param {google.maps.LatLngBounds
|
|
5138
|
+
* @param {!google.maps.LatLngBounds|!google.maps.LatLngBoundsLiteral|null}
|
|
5139
|
+
* other
|
|
5139
5140
|
* @return {boolean}
|
|
5140
5141
|
*/
|
|
5141
5142
|
google.maps.LatLngBounds.prototype.equals = function(other) {};
|
|
@@ -10747,8 +10748,10 @@ google.maps.StrokePosition = {
|
|
|
10747
10748
|
* Access by calling `const {StyledMapType} = await
|
|
10748
10749
|
* google.maps.importLibrary("maps");`. See
|
|
10749
10750
|
* https://developers.google.com/maps/documentation/javascript/libraries.
|
|
10750
|
-
* @param {
|
|
10751
|
-
*
|
|
10751
|
+
* @param {!Array<!google.maps.MapTypeStyle|null>|null} styles The styles to
|
|
10752
|
+
* apply.
|
|
10753
|
+
* @param {!google.maps.StyledMapTypeOptions|null=} options The styled map type
|
|
10754
|
+
* options.
|
|
10752
10755
|
* @implements {google.maps.MapType}
|
|
10753
10756
|
* @extends {google.maps.MVCObject}
|
|
10754
10757
|
* @constructor
|
|
@@ -10776,7 +10779,7 @@ google.maps.StyledMapType.prototype.minZoom;
|
|
|
10776
10779
|
google.maps.StyledMapType.prototype.name;
|
|
10777
10780
|
|
|
10778
10781
|
/**
|
|
10779
|
-
* @type {
|
|
10782
|
+
* @type {!google.maps.Projection|null}
|
|
10780
10783
|
*/
|
|
10781
10784
|
google.maps.StyledMapType.prototype.projection;
|
|
10782
10785
|
|
|
@@ -10786,24 +10789,22 @@ google.maps.StyledMapType.prototype.projection;
|
|
|
10786
10789
|
google.maps.StyledMapType.prototype.radius;
|
|
10787
10790
|
|
|
10788
10791
|
/**
|
|
10789
|
-
* @type {
|
|
10792
|
+
* @type {!google.maps.Size|null}
|
|
10790
10793
|
*/
|
|
10791
10794
|
google.maps.StyledMapType.prototype.tileSize;
|
|
10792
10795
|
|
|
10793
10796
|
/**
|
|
10794
|
-
* @param {
|
|
10797
|
+
* @param {!google.maps.Point|null} tileCoord Tile coordinates.
|
|
10795
10798
|
* @param {number} zoom Tile zoom.
|
|
10796
|
-
* @param {
|
|
10797
|
-
* @return {
|
|
10798
|
-
* @override
|
|
10799
|
+
* @param {!Document|null} ownerDocument The document which owns this tile.
|
|
10800
|
+
* @return {!Element|null} Resulting tile.
|
|
10799
10801
|
*/
|
|
10800
10802
|
google.maps.StyledMapType.prototype.getTile = function(
|
|
10801
10803
|
tileCoord, zoom, ownerDocument) {};
|
|
10802
10804
|
|
|
10803
10805
|
/**
|
|
10804
|
-
* @param {
|
|
10805
|
-
* @return {
|
|
10806
|
-
* @override
|
|
10806
|
+
* @param {!Element|null} tile Tile to release.
|
|
10807
|
+
* @return {void}
|
|
10807
10808
|
*/
|
|
10808
10809
|
google.maps.StyledMapType.prototype.releaseTile = function(tile) {};
|
|
10809
10810
|
|
|
@@ -26581,6 +26582,33 @@ google.maps.routes.ComputeRoutesRequest.prototype.travelMode;
|
|
|
26581
26582
|
*/
|
|
26582
26583
|
google.maps.routes.ComputeRoutesRequest.prototype.units;
|
|
26583
26584
|
|
|
26585
|
+
/**
|
|
26586
|
+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
|
|
26587
|
+
*
|
|
26588
|
+
* Options for creating waypoint markers.
|
|
26589
|
+
* @template T
|
|
26590
|
+
* @record
|
|
26591
|
+
*/
|
|
26592
|
+
google.maps.routes.CreateWaypointMarkersOptions = function() {};
|
|
26593
|
+
|
|
26594
|
+
/**
|
|
26595
|
+
* A custom function to mutate the created elements. The default forEach
|
|
26596
|
+
* function appends pins with A-Z glyphs to each marker. For different behavior,
|
|
26597
|
+
* override this function.
|
|
26598
|
+
* @type {(function(T): void)|null|undefined}
|
|
26599
|
+
*/
|
|
26600
|
+
google.maps.routes.CreateWaypointMarkersOptions.prototype.forEach;
|
|
26601
|
+
|
|
26602
|
+
/**
|
|
26603
|
+
* The constructor of the element to create. Supported types include: <ul>
|
|
26604
|
+
* <li>{@link google.maps.maps3d.Marker3DElement}</li> <li>{@link
|
|
26605
|
+
* google.maps.maps3d.Marker3DInteractiveElement}</li> <li>{@link
|
|
26606
|
+
* google.maps.maps3d.MarkerElement}</li> <li>{@link
|
|
26607
|
+
* google.maps.maps3d.MarkerInteractiveElement}</li> </ul>
|
|
26608
|
+
* @type {(function(new:T))|null|undefined}
|
|
26609
|
+
*/
|
|
26610
|
+
google.maps.routes.CreateWaypointMarkersOptions.prototype.markerClass;
|
|
26611
|
+
|
|
26584
26612
|
/**
|
|
26585
26613
|
* Encapsulates a geographic point and an optional heading.
|
|
26586
26614
|
*
|
|
@@ -27212,6 +27240,19 @@ google.maps.routes.Route.prototype.createPopover = function() {};
|
|
|
27212
27240
|
google.maps.routes.Route.prototype.createWaypointAdvancedMarkers = function(
|
|
27213
27241
|
options) {};
|
|
27214
27242
|
|
|
27243
|
+
/**
|
|
27244
|
+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
|
|
27245
|
+
* Creates markers for the route's origin and destination. Markers have
|
|
27246
|
+
* default styling applied unless a customOverride function is specified.
|
|
27247
|
+
* Intermediate waypoints are not currently supported. <br><br> Created markers
|
|
27248
|
+
* have their {@link google.maps.CollisionBehavior} set to {@link
|
|
27249
|
+
* google.maps.CollisionBehavior.REQUIRED_AND_HIDES_OPTIONAL} by default.
|
|
27250
|
+
* @template T
|
|
27251
|
+
* @param {!google.maps.routes.CreateWaypointMarkersOptions<T>=} options
|
|
27252
|
+
* @return {!Promise<!Array<T>>}
|
|
27253
|
+
*/
|
|
27254
|
+
google.maps.routes.Route.prototype.createWaypointMarkers = function(options) {};
|
|
27255
|
+
|
|
27215
27256
|
/**
|
|
27216
27257
|
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
|
|
27217
27258
|
*
|
|
@@ -1171,7 +1171,7 @@ google.maps.Data.DataOptions.prototype.style;
|
|
|
1171
1171
|
*
|
|
1172
1172
|
* Access by calling `const {Data} = await google.maps.importLibrary("maps");`.
|
|
1173
1173
|
* See https://developers.google.com/maps/documentation/javascript/libraries.
|
|
1174
|
-
* @param {
|
|
1174
|
+
* @param {!google.maps.Data.FeatureOptions|null=} options
|
|
1175
1175
|
* @constructor
|
|
1176
1176
|
*/
|
|
1177
1177
|
google.maps.Data.Feature = function(options) {};
|
|
@@ -1186,7 +1186,7 @@ google.maps.Data.Feature.prototype.forEachProperty = function(callback) {};
|
|
|
1186
1186
|
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Returns the feature's geometry.
|
|
1189
|
-
* @return {
|
|
1189
|
+
* @return {!google.maps.Data.Geometry|null}
|
|
1190
1190
|
*/
|
|
1191
1191
|
google.maps.Data.Feature.prototype.getGeometry = function() {};
|
|
1192
1192
|
|
|
@@ -1213,7 +1213,7 @@ google.maps.Data.Feature.prototype.removeProperty = function(name) {};
|
|
|
1213
1213
|
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Sets the feature's geometry.
|
|
1216
|
-
* @param {google.maps.Data.Geometry
|
|
1216
|
+
* @param {!google.maps.Data.Geometry|!google.maps.LatLng|!google.maps.LatLngLiteral|null}
|
|
1217
1217
|
* newGeometry
|
|
1218
1218
|
* @return {undefined}
|
|
1219
1219
|
*/
|
|
@@ -5118,9 +5118,9 @@ google.maps.LatLngAltitudeLiteral.prototype.lng;
|
|
|
5118
5118
|
* Access by calling `const {LatLngBounds} = await
|
|
5119
5119
|
* google.maps.importLibrary("core");`. See
|
|
5120
5120
|
* https://developers.google.com/maps/documentation/javascript/libraries.
|
|
5121
|
-
* @param {google.maps.LatLng
|
|
5121
|
+
* @param {!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngBounds|!google.maps.LatLngBoundsLiteral|null=}
|
|
5122
5122
|
* swOrLatLngBounds
|
|
5123
|
-
* @param {google.maps.LatLng
|
|
5123
|
+
* @param {!google.maps.LatLng|!google.maps.LatLngLiteral|null=} ne
|
|
5124
5124
|
* @constructor
|
|
5125
5125
|
*/
|
|
5126
5126
|
google.maps.LatLngBounds = function(swOrLatLngBounds, ne) {};
|
|
@@ -5135,7 +5135,8 @@ google.maps.LatLngBounds.prototype.contains = function(latLng) {};
|
|
|
5135
5135
|
/**
|
|
5136
5136
|
* Returns <code>true</code> if this bounds approximately equals the given
|
|
5137
5137
|
* bounds.
|
|
5138
|
-
* @param {google.maps.LatLngBounds
|
|
5138
|
+
* @param {!google.maps.LatLngBounds|!google.maps.LatLngBoundsLiteral|null}
|
|
5139
|
+
* other
|
|
5139
5140
|
* @return {boolean}
|
|
5140
5141
|
*/
|
|
5141
5142
|
google.maps.LatLngBounds.prototype.equals = function(other) {};
|
|
@@ -10747,8 +10748,10 @@ google.maps.StrokePosition = {
|
|
|
10747
10748
|
* Access by calling `const {StyledMapType} = await
|
|
10748
10749
|
* google.maps.importLibrary("maps");`. See
|
|
10749
10750
|
* https://developers.google.com/maps/documentation/javascript/libraries.
|
|
10750
|
-
* @param {
|
|
10751
|
-
*
|
|
10751
|
+
* @param {!Array<!google.maps.MapTypeStyle|null>|null} styles The styles to
|
|
10752
|
+
* apply.
|
|
10753
|
+
* @param {!google.maps.StyledMapTypeOptions|null=} options The styled map type
|
|
10754
|
+
* options.
|
|
10752
10755
|
* @implements {google.maps.MapType}
|
|
10753
10756
|
* @extends {google.maps.MVCObject}
|
|
10754
10757
|
* @constructor
|
|
@@ -10776,7 +10779,7 @@ google.maps.StyledMapType.prototype.minZoom;
|
|
|
10776
10779
|
google.maps.StyledMapType.prototype.name;
|
|
10777
10780
|
|
|
10778
10781
|
/**
|
|
10779
|
-
* @type {
|
|
10782
|
+
* @type {!google.maps.Projection|null}
|
|
10780
10783
|
*/
|
|
10781
10784
|
google.maps.StyledMapType.prototype.projection;
|
|
10782
10785
|
|
|
@@ -10786,24 +10789,22 @@ google.maps.StyledMapType.prototype.projection;
|
|
|
10786
10789
|
google.maps.StyledMapType.prototype.radius;
|
|
10787
10790
|
|
|
10788
10791
|
/**
|
|
10789
|
-
* @type {
|
|
10792
|
+
* @type {!google.maps.Size|null}
|
|
10790
10793
|
*/
|
|
10791
10794
|
google.maps.StyledMapType.prototype.tileSize;
|
|
10792
10795
|
|
|
10793
10796
|
/**
|
|
10794
|
-
* @param {
|
|
10797
|
+
* @param {!google.maps.Point|null} tileCoord Tile coordinates.
|
|
10795
10798
|
* @param {number} zoom Tile zoom.
|
|
10796
|
-
* @param {
|
|
10797
|
-
* @return {
|
|
10798
|
-
* @override
|
|
10799
|
+
* @param {!Document|null} ownerDocument The document which owns this tile.
|
|
10800
|
+
* @return {!Element|null} Resulting tile.
|
|
10799
10801
|
*/
|
|
10800
10802
|
google.maps.StyledMapType.prototype.getTile = function(
|
|
10801
10803
|
tileCoord, zoom, ownerDocument) {};
|
|
10802
10804
|
|
|
10803
10805
|
/**
|
|
10804
|
-
* @param {
|
|
10805
|
-
* @return {
|
|
10806
|
-
* @override
|
|
10806
|
+
* @param {!Element|null} tile Tile to release.
|
|
10807
|
+
* @return {void}
|
|
10807
10808
|
*/
|
|
10808
10809
|
google.maps.StyledMapType.prototype.releaseTile = function(tile) {};
|
|
10809
10810
|
|
|
@@ -26581,6 +26582,33 @@ google.maps.routes.ComputeRoutesRequest.prototype.travelMode;
|
|
|
26581
26582
|
*/
|
|
26582
26583
|
google.maps.routes.ComputeRoutesRequest.prototype.units;
|
|
26583
26584
|
|
|
26585
|
+
/**
|
|
26586
|
+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
|
|
26587
|
+
*
|
|
26588
|
+
* Options for creating waypoint markers.
|
|
26589
|
+
* @template T
|
|
26590
|
+
* @record
|
|
26591
|
+
*/
|
|
26592
|
+
google.maps.routes.CreateWaypointMarkersOptions = function() {};
|
|
26593
|
+
|
|
26594
|
+
/**
|
|
26595
|
+
* A custom function to mutate the created elements. The default forEach
|
|
26596
|
+
* function appends pins with A-Z glyphs to each marker. For different behavior,
|
|
26597
|
+
* override this function.
|
|
26598
|
+
* @type {(function(T): void)|null|undefined}
|
|
26599
|
+
*/
|
|
26600
|
+
google.maps.routes.CreateWaypointMarkersOptions.prototype.forEach;
|
|
26601
|
+
|
|
26602
|
+
/**
|
|
26603
|
+
* The constructor of the element to create. Supported types include: <ul>
|
|
26604
|
+
* <li>{@link google.maps.maps3d.Marker3DElement}</li> <li>{@link
|
|
26605
|
+
* google.maps.maps3d.Marker3DInteractiveElement}</li> <li>{@link
|
|
26606
|
+
* google.maps.maps3d.MarkerElement}</li> <li>{@link
|
|
26607
|
+
* google.maps.maps3d.MarkerInteractiveElement}</li> </ul>
|
|
26608
|
+
* @type {(function(new:T))|null|undefined}
|
|
26609
|
+
*/
|
|
26610
|
+
google.maps.routes.CreateWaypointMarkersOptions.prototype.markerClass;
|
|
26611
|
+
|
|
26584
26612
|
/**
|
|
26585
26613
|
* Encapsulates a geographic point and an optional heading.
|
|
26586
26614
|
*
|
|
@@ -27212,6 +27240,19 @@ google.maps.routes.Route.prototype.createPopover = function() {};
|
|
|
27212
27240
|
google.maps.routes.Route.prototype.createWaypointAdvancedMarkers = function(
|
|
27213
27241
|
options) {};
|
|
27214
27242
|
|
|
27243
|
+
/**
|
|
27244
|
+
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
|
|
27245
|
+
* Creates markers for the route's origin and destination. Markers have
|
|
27246
|
+
* default styling applied unless a customOverride function is specified.
|
|
27247
|
+
* Intermediate waypoints are not currently supported. <br><br> Created markers
|
|
27248
|
+
* have their {@link google.maps.CollisionBehavior} set to {@link
|
|
27249
|
+
* google.maps.CollisionBehavior.REQUIRED_AND_HIDES_OPTIONAL} by default.
|
|
27250
|
+
* @template T
|
|
27251
|
+
* @param {!google.maps.routes.CreateWaypointMarkersOptions<T>=} options
|
|
27252
|
+
* @return {!Promise<!Array<T>>}
|
|
27253
|
+
*/
|
|
27254
|
+
google.maps.routes.Route.prototype.createWaypointMarkers = function(options) {};
|
|
27255
|
+
|
|
27215
27256
|
/**
|
|
27216
27257
|
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
|
|
27217
27258
|
*
|