google-closure-compiler 20260726.0.0 → 20260802.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 +51 -11
- package/contrib/externs/maps/google_maps_api_v3_exp.js +51 -11
- 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/webgl.js +82 -5
- package/externs/browser/webgl2.js +32 -32
- package/externs/browser/wicg_scheduler.js +86 -2
- 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;
|
|
@@ -10748,8 +10748,10 @@ google.maps.StrokePosition = {
|
|
|
10748
10748
|
* Access by calling `const {StyledMapType} = await
|
|
10749
10749
|
* google.maps.importLibrary("maps");`. See
|
|
10750
10750
|
* https://developers.google.com/maps/documentation/javascript/libraries.
|
|
10751
|
-
* @param {
|
|
10752
|
-
*
|
|
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.
|
|
10753
10755
|
* @implements {google.maps.MapType}
|
|
10754
10756
|
* @extends {google.maps.MVCObject}
|
|
10755
10757
|
* @constructor
|
|
@@ -10777,7 +10779,7 @@ google.maps.StyledMapType.prototype.minZoom;
|
|
|
10777
10779
|
google.maps.StyledMapType.prototype.name;
|
|
10778
10780
|
|
|
10779
10781
|
/**
|
|
10780
|
-
* @type {
|
|
10782
|
+
* @type {!google.maps.Projection|null}
|
|
10781
10783
|
*/
|
|
10782
10784
|
google.maps.StyledMapType.prototype.projection;
|
|
10783
10785
|
|
|
@@ -10787,24 +10789,22 @@ google.maps.StyledMapType.prototype.projection;
|
|
|
10787
10789
|
google.maps.StyledMapType.prototype.radius;
|
|
10788
10790
|
|
|
10789
10791
|
/**
|
|
10790
|
-
* @type {
|
|
10792
|
+
* @type {!google.maps.Size|null}
|
|
10791
10793
|
*/
|
|
10792
10794
|
google.maps.StyledMapType.prototype.tileSize;
|
|
10793
10795
|
|
|
10794
10796
|
/**
|
|
10795
|
-
* @param {
|
|
10797
|
+
* @param {!google.maps.Point|null} tileCoord Tile coordinates.
|
|
10796
10798
|
* @param {number} zoom Tile zoom.
|
|
10797
|
-
* @param {
|
|
10798
|
-
* @return {
|
|
10799
|
-
* @override
|
|
10799
|
+
* @param {!Document|null} ownerDocument The document which owns this tile.
|
|
10800
|
+
* @return {!Element|null} Resulting tile.
|
|
10800
10801
|
*/
|
|
10801
10802
|
google.maps.StyledMapType.prototype.getTile = function(
|
|
10802
10803
|
tileCoord, zoom, ownerDocument) {};
|
|
10803
10804
|
|
|
10804
10805
|
/**
|
|
10805
|
-
* @param {
|
|
10806
|
-
* @return {
|
|
10807
|
-
* @override
|
|
10806
|
+
* @param {!Element|null} tile Tile to release.
|
|
10807
|
+
* @return {void}
|
|
10808
10808
|
*/
|
|
10809
10809
|
google.maps.StyledMapType.prototype.releaseTile = function(tile) {};
|
|
10810
10810
|
|
|
@@ -26582,6 +26582,33 @@ google.maps.routes.ComputeRoutesRequest.prototype.travelMode;
|
|
|
26582
26582
|
*/
|
|
26583
26583
|
google.maps.routes.ComputeRoutesRequest.prototype.units;
|
|
26584
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
|
+
|
|
26585
26612
|
/**
|
|
26586
26613
|
* Encapsulates a geographic point and an optional heading.
|
|
26587
26614
|
*
|
|
@@ -27213,6 +27240,19 @@ google.maps.routes.Route.prototype.createPopover = function() {};
|
|
|
27213
27240
|
google.maps.routes.Route.prototype.createWaypointAdvancedMarkers = function(
|
|
27214
27241
|
options) {};
|
|
27215
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
|
+
|
|
27216
27256
|
/**
|
|
27217
27257
|
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
|
|
27218
27258
|
*
|
|
@@ -10748,8 +10748,10 @@ google.maps.StrokePosition = {
|
|
|
10748
10748
|
* Access by calling `const {StyledMapType} = await
|
|
10749
10749
|
* google.maps.importLibrary("maps");`. See
|
|
10750
10750
|
* https://developers.google.com/maps/documentation/javascript/libraries.
|
|
10751
|
-
* @param {
|
|
10752
|
-
*
|
|
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.
|
|
10753
10755
|
* @implements {google.maps.MapType}
|
|
10754
10756
|
* @extends {google.maps.MVCObject}
|
|
10755
10757
|
* @constructor
|
|
@@ -10777,7 +10779,7 @@ google.maps.StyledMapType.prototype.minZoom;
|
|
|
10777
10779
|
google.maps.StyledMapType.prototype.name;
|
|
10778
10780
|
|
|
10779
10781
|
/**
|
|
10780
|
-
* @type {
|
|
10782
|
+
* @type {!google.maps.Projection|null}
|
|
10781
10783
|
*/
|
|
10782
10784
|
google.maps.StyledMapType.prototype.projection;
|
|
10783
10785
|
|
|
@@ -10787,24 +10789,22 @@ google.maps.StyledMapType.prototype.projection;
|
|
|
10787
10789
|
google.maps.StyledMapType.prototype.radius;
|
|
10788
10790
|
|
|
10789
10791
|
/**
|
|
10790
|
-
* @type {
|
|
10792
|
+
* @type {!google.maps.Size|null}
|
|
10791
10793
|
*/
|
|
10792
10794
|
google.maps.StyledMapType.prototype.tileSize;
|
|
10793
10795
|
|
|
10794
10796
|
/**
|
|
10795
|
-
* @param {
|
|
10797
|
+
* @param {!google.maps.Point|null} tileCoord Tile coordinates.
|
|
10796
10798
|
* @param {number} zoom Tile zoom.
|
|
10797
|
-
* @param {
|
|
10798
|
-
* @return {
|
|
10799
|
-
* @override
|
|
10799
|
+
* @param {!Document|null} ownerDocument The document which owns this tile.
|
|
10800
|
+
* @return {!Element|null} Resulting tile.
|
|
10800
10801
|
*/
|
|
10801
10802
|
google.maps.StyledMapType.prototype.getTile = function(
|
|
10802
10803
|
tileCoord, zoom, ownerDocument) {};
|
|
10803
10804
|
|
|
10804
10805
|
/**
|
|
10805
|
-
* @param {
|
|
10806
|
-
* @return {
|
|
10807
|
-
* @override
|
|
10806
|
+
* @param {!Element|null} tile Tile to release.
|
|
10807
|
+
* @return {void}
|
|
10808
10808
|
*/
|
|
10809
10809
|
google.maps.StyledMapType.prototype.releaseTile = function(tile) {};
|
|
10810
10810
|
|
|
@@ -26582,6 +26582,33 @@ google.maps.routes.ComputeRoutesRequest.prototype.travelMode;
|
|
|
26582
26582
|
*/
|
|
26583
26583
|
google.maps.routes.ComputeRoutesRequest.prototype.units;
|
|
26584
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
|
+
|
|
26585
26612
|
/**
|
|
26586
26613
|
* Encapsulates a geographic point and an optional heading.
|
|
26587
26614
|
*
|
|
@@ -27213,6 +27240,19 @@ google.maps.routes.Route.prototype.createPopover = function() {};
|
|
|
27213
27240
|
google.maps.routes.Route.prototype.createWaypointAdvancedMarkers = function(
|
|
27214
27241
|
options) {};
|
|
27215
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
|
+
|
|
27216
27256
|
/**
|
|
27217
27257
|
* Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
|
|
27218
27258
|
*
|