diff --git a/docs/404.html b/docs/404.html index 5103cf02..40e09dbf 100644 --- a/docs/404.html +++ b/docs/404.html @@ -7,11 +7,11 @@ - +

404

How did we get here?
Take me home.
- + diff --git a/docs/api/Layers/canvaslayer.html b/docs/api/Layers/canvaslayer.html index d397865d..64c1fa42 100644 --- a/docs/api/Layers/canvaslayer.html +++ b/docs/api/Layers/canvaslayer.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/Layers/geojsonlayer.html b/docs/api/Layers/geojsonlayer.html index b542c4d1..0cdef4eb 100644 --- a/docs/api/Layers/geojsonlayer.html +++ b/docs/api/Layers/geojsonlayer.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/Layers/imagelayer.html b/docs/api/Layers/imagelayer.html index 076950a9..089e390a 100644 --- a/docs/api/Layers/imagelayer.html +++ b/docs/api/Layers/imagelayer.html @@ -7,7 +7,7 @@ - + @@ -29,6 +29,6 @@ →

- + diff --git a/docs/api/Layers/index.html b/docs/api/Layers/index.html index d353c6a5..861f66f5 100644 --- a/docs/api/Layers/index.html +++ b/docs/api/Layers/index.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/Layers/rasterlayer.html b/docs/api/Layers/rasterlayer.html index 8ced218a..253ab16b 100644 --- a/docs/api/Layers/rasterlayer.html +++ b/docs/api/Layers/rasterlayer.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/Layers/vectorlayer.html b/docs/api/Layers/vectorlayer.html index 21a6d5c5..28f18906 100644 --- a/docs/api/Layers/vectorlayer.html +++ b/docs/api/Layers/vectorlayer.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/Layers/videolayer.html b/docs/api/Layers/videolayer.html index b0ad81af..9cbefe4e 100644 --- a/docs/api/Layers/videolayer.html +++ b/docs/api/Layers/videolayer.html @@ -7,7 +7,7 @@ - + @@ -29,6 +29,6 @@ →

- + diff --git a/docs/api/controls.html b/docs/api/controls.html index 01004ac6..3db2532e 100644 --- a/docs/api/controls.html +++ b/docs/api/controls.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/index.html b/docs/api/index.html index 4d9b45b2..5b5cb7ed 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -7,7 +7,7 @@ - + @@ -19,7 +19,7 @@ Github

GlMap

Props

mapboxGl

mapStyle

container

accessToken

minZoom

maxZoom

hash

interactive

bearingSnap

attributionControl

logoPosition

failIfMajorPerformanceCaveat

crossSourceCollisions

fadeDuration

preserveDrawingBuffer

refreshExpiredTiles

maxBounds

scrollZoom

boxZoom

dragRotate

keyboard

doubleClickZoom

touchZoomRotate

trackResize

center

zoom

bearing

pitch

renderWorldCopies

light

tileBoundaries

collisionBoxes

repaint

transformRequest

localIdeographFontFamily

Actions

Asynchronous actions exposed via GlMap.actions

TIP

Map-promisified is used as wrapper around Mapbox GL JS methods. That library can be used independently from VueMapbox.

.stop(eventData?)

GlMap

Props

mapboxGl

  • Type: Object
  • Default: null
    • Description: Mapboxgl-js implementation. Useful for lazy-loading. If omitted, VueMapbox imports Mapbox-gl-js dynamically.

mapStyle

  • Type: String, Object
  • Required
  • Synced
  • Description: The map's Mapbox style. This must be an a JSON object conforming to the schema described in the Mapbox Style Specification , or a URL to such JSON.
  • See: options.style in Map

container

  • Type: String, HTMLElement
  • Default: #map-{random number}
  • Non-Synced
  • Description: The HTML element in which Mapbox GL JS will render the map
  • See: options.container in Map

accessToken

  • Type: String
  • Default: undefined
  • Non-Synced
  • Description: Token for access Mapbox map
  • See: accessToken

minZoom

  • Type: Number
  • Default: 0
  • Synced
  • Description: Minimum zoom level of the map (0-24)
  • See: options.minZoom in Map

maxZoom

  • Type: Number
  • Default: 22
  • Synced
  • Description: Maximum zoom level of the map (0-24)
  • See: options.maxZoom in Map

hash

  • Type: Boolean
  • Default: false
  • Synced
  • Description: If true, the map's position (zoom, center latitude, center longitude, bearing, and pitch) will be synced with the hash fragment of the page's URL
  • See: options.hash in Map

interactive

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If false, no mouse, touch, or keyboard listeners will be attached to the map, so it will not respond to interaction
  • See: options.interactive in Map

bearingSnap

  • Type: Number
  • Default: 7
  • Non-Synced
  • Description: The threshold, measured in degrees, that determines when the map's bearing will snap to north
  • See: options.bearingSnap in Map

attributionControl

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If true, an AttributionControl will be added to the map
  • See: options.attributionControl in Map

logoPosition

  • Type: String, top-left, top-right, bottom-right, bottom-left
  • Default: bottom-left
  • Non-Synced
  • Description: A string representing the position of the Mapbox wordmark on the map
  • See: options.logoPosition in Map

failIfMajorPerformanceCaveat

  • Type: Boolean
  • Default: false
  • Non-Synced
  • Description: If true, map creation will fail if the performance of Mapbox GL JS would be dramatically worse than expected (i.e. a software renderer would be used)
  • See: options.failIfMajorPerformanceCaveat in Map

crossSourceCollisions

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If true, symbols from multiple sources can collide with each other during collision detection. If false , collision detection is run separately for the symbols in each source.
  • See: options.crossSourceCollisions in Map

fadeDuration

  • Type: Number
  • Default: 300
  • Non-Synced
  • Description: Controls the duration of the fade-in/fade-out animation for label collisions, in milliseconds. This setting affects all symbol layers. This setting does not affect the duration of runtime styling transitions or raster tile cross-fading.
  • See: options.fadeDuration in Map

preserveDrawingBuffer

  • Type: Boolean
  • Default: false
  • Non-Synced
  • Description: If true, the map's canvas can be exported to a PNG using map.getCanvas().toDataURL()
  • See: options.preserveDrawingBuffer in Map

refreshExpiredTiles

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If true, the map won't attempt to re-request tiles once they expire per their HTTP cacheControl / expires headers.
  • See: options.refreshExpiredTiles in Map

maxBounds

  • Type: Array, LngLatBoundsLike object
  • Default: undefined
  • Synced
  • Description: If set, the map will be constrained to the given bounds
  • See: options.maxBounds in Map

scrollZoom

  • Type: Boolean, Object
  • Default: true
  • Non-Synced
  • Description: If true, the "scroll to zoom" interaction is enabled. An Object value is passed as options to ScrollZoomHandler#enable
  • See: options.scrollZoom in Map

boxZoom

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If true, the "box zoom" interaction is enabled
  • See: options.boxZoom in Map

dragRotate

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If true, the "drag to rotate" interaction is enabled
  • See: options.dragRotate in Map

keyboard

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If true, keyboard shortcuts are enabled
  • See: options.keyboard in Map

doubleClickZoom

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If true, the "double click to zoom" interaction is enabled
  • See: options.doubleClickZoom in Map

touchZoomRotate

  • Type: Boolean, Object
  • Default: true
  • Non-Synced
  • Description: If true, the "pinch to rotate and zoom" interaction is enabled. An Object value is passed as options to TouchZoomRotateHandler#enable
  • See: options.touchZoomRotate in Map

trackResize

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If true, the map will automatically resize when the browser window resizes.
  • See: options.trackResize in Map

center

  • Type: Array, LngLatLike Object
  • Default: undefined
  • Synced
  • Description: Geographical centerpoint of the map. If center is not specified in the constructor options, Mapbox GL JS will look for it in the map's style object.If it is not specified in the style, either, it will default to [0, 0]
  • See: options.center in Map

zoom

  • Type: Number
  • Default: undefined
  • Synced
  • Description: Zoom level of the map. If zoom is not specified in the constructor options, Mapbox GL JS will look for it in the map's style object. If it is not specified in the style, either, it will default to 0
  • See: options.zoom in Map

bearing

  • Type: Number
  • Default: undefined
  • Synced
  • Description: Bearing (rotation) of the map, measured in degrees counter-clockwise from north. If bearing is not specified in the constructor options, Mapbox GL JS will look for it in the map's style object. If it is not specified in the style, either, it will default to 0
  • See: options.bearing in Map

pitch

  • Type: Number
  • Default: undefined
  • Synced
  • Description: Pitch (tilt) of the map, measured in degrees away from the plane of the screen (0-60). If pitch is not specified in the constructor options, Mapbox GL JS will look for it in the map's style object. If it is not specified in the style, either, it will default to 0
  • See: options.pitch in Map

renderWorldCopies

  • Type: Boolean
  • Default: true
  • Non-Synced
  • Description: If true , multiple copies of the world will be rendered, when zoomed out
  • See: options.renderWorldCopies in Map

light

  • Type: Object
  • Default: undefined
  • Synced
  • Description: Light properties. Must conform to the Mapbox Style Specification
  • See: See setLight Map method

tileBoundaries

  • Type: Boolean
  • Default: false
  • Synced
  • Description: A Boolean indicating whether the map will render an outline around each tile. These tile boundaries are useful for debugging
  • See: See showTileBoundaries Map property

collisionBoxes

  • Type: Boolean
  • Default: false
  • Synced
  • Description: A Boolean indicating whether the map will render boxes around all symbols in the data source, revealing which symbols were rendered or which were hidden due to collisions. This information is useful for debugging
  • See: See showCollisionBoxes Map property

repaint

  • Type: Boolean
  • Default: false
  • Synced
  • Description: A Boolean indicating whether the map will continuously repaint. This information is useful for analyzing performance.
  • See: See repaint Map property

transformRequest

  • Type: Function
  • Default: null
  • Non-Synced
  • Description: A callback run before the Map makes a request for an external URL. The callback can be used to modify the url, set headers, or set the credentials property for cross-origin requests. Expected to return an object with a url property and optionally headers and credentials properties.
  • See: options.transformRequest in Map

localIdeographFontFamily

  • Type: String
  • Default: null
  • Non-Synced
  • Description: If specified, defines a CSS font-family for locally overriding generation of glyphs in the 'CJK Unified Ideographs' and 'Hangul Syllables' ranges. In these ranges, font settings from the map's style will be ignored, except for font-weight keywords (light/regular/medium/bold). The purpose of this option is to avoid bandwidth-intensive glyph server requests.
  • See: options.localIdeographFontFamily in Map

bounds

  • Type: Array, LngLatBoundsLike object
  • Default: undefined
  • Description: The initial bounds of the map. If set, it overrides center and zoom construction options
  • See: options.bounds in Map

fitBoundsOptions

  • Type: fitBounds object
  • Default: undefined
  • Description: A fitBounds object to use only when fitting the initial bounds provided above
  • See: options.fitBoundsOptions in Map

Actions

Asynchronous actions exposed via GlMap.actions

TIP

Map-promisified is used as wrapper around Mapbox GL JS methods. That library can be used independently from VueMapbox.

.stop(eventData?)

  • Arguments:
    • eventData {Object} Custom data passed to corresponfing event.
  • Description: Stops all animations on the map
  • Returns: {Promise<{ pitch, zoom, bearing, center }>} Promise that resolves object with map parameters on the moment of call stop()

.panBy(offset, options?, eventData?)

  • Arguments:
    • offset {Point | number[]} x and y coordinates by which to pan the map
    • options {AnimationOptions object} animation options. See AnimationOptions
    • eventData {Object} Custom data passed to corresponfing event.
  • Description: Pans the map by the specified offest
  • Returns: {Promise<{ eventData, center }>} Promise that resolves object with event data and new center of the map when animation ends
  • See: panBy Map method

.panTo(coordinates, options?, eventData?)

  • Arguments:
    • coordinates {LngLat | number[][]} The location to pan the map to. See also: LngLat
    • options {AnimationOptions object} animation options. See AnimationOptions
    • eventData {Object} Custom data passed to corresponfing event.
  • Description: Pans the map to the specified location, with an animated transition
  • Returns: {Promise<{ eventData, center }>} Promise that resolves object with event data and new center of the map when animation ends
  • See: panTo Map method

.zoomTo(zoom, options?, eventData?)

  • Arguments:
    • zoom {number} The zoom level to transition to
    • options {AnimationOptions object} animation options. See AnimationOptions
    • eventData {Object} Custom data passed to corresponfing event.
  • Description: Zooms the map to the specified zoom level, with an animated transition
  • Returns: {Promise<{ eventData, zoom }>} @@ -41,6 +41,6 @@ →

- + diff --git a/docs/api/marker.html b/docs/api/marker.html index eecd85f3..60cfba10 100644 --- a/docs/api/marker.html +++ b/docs/api/marker.html @@ -7,7 +7,7 @@ - + @@ -46,6 +46,6 @@ →

- + diff --git a/docs/api/popup.html b/docs/api/popup.html index 9403b825..8ffc64f0 100644 --- a/docs/api/popup.html +++ b/docs/api/popup.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/assets/js/11.c30d5454.js b/docs/assets/js/11.8e43d0c7.js similarity index 99% rename from docs/assets/js/11.c30d5454.js rename to docs/assets/js/11.8e43d0c7.js index 03acfc25..54548352 100644 --- a/docs/assets/js/11.c30d5454.js +++ b/docs/assets/js/11.8e43d0c7.js @@ -1,7 +1,7 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [11], { - 157: function(r, e, t) { + 156: function(r, e, t) { "use strict"; t.r(e); var s = t(17), diff --git a/docs/assets/js/12.43a2535b.js b/docs/assets/js/12.f0cb3c91.js similarity index 99% rename from docs/assets/js/12.43a2535b.js rename to docs/assets/js/12.f0cb3c91.js index 5214cd74..ea04fb6c 100644 --- a/docs/assets/js/12.43a2535b.js +++ b/docs/assets/js/12.f0cb3c91.js @@ -1,7 +1,7 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [12], { - 156: function(e, t, r) { + 157: function(e, t, r) { "use strict"; r.r(t); var a = r(17), diff --git a/docs/assets/js/14.3affa2b5.js b/docs/assets/js/14.3c9469dc.js similarity index 96% rename from docs/assets/js/14.3affa2b5.js rename to docs/assets/js/14.3c9469dc.js index 4f83371c..3d2d5f29 100644 --- a/docs/assets/js/14.3affa2b5.js +++ b/docs/assets/js/14.3c9469dc.js @@ -1984,6 +1984,123 @@ ]) ]), e._v(" "), + t("h3", { attrs: { id: "bounds" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#bounds", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("bounds")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Array")]), + e._v(", "), + t("code", [e._v("LngLatBoundsLike object")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("undefined")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " The initial bounds of the map. If set, it overrides " + ), + t("code", [e._v("center")]), + e._v(" and "), + t("code", [e._v("zoom")]), + e._v(" construction options") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("options.bounds")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: "https://docs.mapbox.com/mapbox-gl-js/api/#map", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Map"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "fitboundsoptions" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#fitboundsoptions", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("fitBoundsOptions")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("fitBounds object")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("undefined")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" A "), + t("code", [e._v("fitBounds")]), + e._v(" object to use only when fitting the initial "), + t("code", [e._v("bounds")]), + e._v(" provided above") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("options.fitBoundsOptions")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: "https://docs.mapbox.com/mapbox-gl-js/api/#map", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Map"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), t("h2", { attrs: { id: "actions" } }, [ t( "a", diff --git a/docs/assets/js/2.1a36c030.js b/docs/assets/js/2.7393761b.js similarity index 100% rename from docs/assets/js/2.1a36c030.js rename to docs/assets/js/2.7393761b.js diff --git a/docs/assets/js/22.276c6a9c.js b/docs/assets/js/22.19fd8855.js similarity index 99% rename from docs/assets/js/22.276c6a9c.js rename to docs/assets/js/22.19fd8855.js index 696cbcf3..9cf21ab6 100644 --- a/docs/assets/js/22.276c6a9c.js +++ b/docs/assets/js/22.19fd8855.js @@ -67,7 +67,7 @@ [t._v("sources"), e("OutboundLink")], 1 ), - t._v(" ans "), + t._v(" and "), e( "a", { diff --git a/docs/assets/js/app.1613afe0.js b/docs/assets/js/app.4ecc3854.js similarity index 95% rename from docs/assets/js/app.1613afe0.js rename to docs/assets/js/app.4ecc3854.js index 402eb760..bf806a72 100644 --- a/docs/assets/js/app.1613afe0.js +++ b/docs/assets/js/app.4ecc3854.js @@ -52,7 +52,7 @@ ({}[t] || t) + "." + { - 2: "1a36c030", + 2: "7393761b", 3: "02aa2be5", 4: "79bc4f3c", 5: "d3d1578a", @@ -61,10 +61,10 @@ 8: "3e4706bb", 9: "5e3d2dbf", 10: "496a25ae", - 11: "c30d5454", - 12: "43a2535b", + 11: "8e43d0c7", + 12: "f0cb3c91", 13: "0cb68667", - 14: "3affa2b5", + 14: "3c9469dc", 15: "40b3c4ef", 16: "7de1d511", 17: "95d02626", @@ -72,7 +72,7 @@ 19: "38617f97", 20: "f9650703", 21: "39c66c8d", - 22: "276c6a9c", + 22: "19fd8855", 23: "87f4c25b", 24: "9d297e6b", 25: "f1bf9c1c" @@ -199,14 +199,14 @@ f, p, d = t & u.F, - h = t & u.G, - v = t & u.S, + v = t & u.G, + h = t & u.S, m = t & u.P, y = t & u.B, - g = h ? r : v ? r[e] || (r[e] = {}) : (r[e] || {}).prototype, - b = h ? o : o[e] || (o[e] = {}), + g = v ? r : h ? r[e] || (r[e] = {}) : (r[e] || {}).prototype, + b = v ? o : o[e] || (o[e] = {}), _ = b.prototype || (b.prototype = {}); - for (l in (h && (n = e), n)) + for (l in (v && (n = e), n)) (f = ((c = !d && g && void 0 !== g[l]) ? g : n)[l]), (p = y && c @@ -451,13 +451,13 @@ TextTrackList: !1, TouchList: !1 }, - h = o(d), - v = 0; - v < h.length; - v++ + v = o(d), + h = 0; + h < v.length; + h++ ) { var m, - y = h[v], + y = v[h], g = d[y], b = a[y], _ = b && b.prototype; @@ -816,8 +816,8 @@ d = function() { return this; }; - t.exports = function(t, e, n, h, v, m, y) { - u(n, e, h); + t.exports = function(t, e, n, v, h, m, y) { + u(n, e, v); var g, b, _, @@ -835,12 +835,12 @@ }; }, x = e + " Iterator", - k = "values" == v, + k = "values" == h, O = !1, C = t.prototype, - S = C[f] || C["@@iterator"] || (v && C[v]), - $ = S || w(v), - E = v ? (k ? w("entries") : $) : void 0, + S = C[f] || C["@@iterator"] || (h && C[h]), + $ = S || w(h), + E = h ? (k ? w("entries") : $) : void 0, A = ("Array" == e && C.entries) || S; if ( (A && @@ -857,7 +857,7 @@ (r && !y) || (!p && !O && C[f]) || a(C, f, $), (s[e] = $), (s[x] = d), - v) + h) ) if ( ((g = { @@ -922,8 +922,8 @@ c = {}; ((e = t.exports = function(t, e, n, f, p) { var d, - h, v, + h, m, y = p ? function() { @@ -935,11 +935,11 @@ if ("function" != typeof y) throw TypeError(t + " is not iterable!"); if (i(y)) { for (d = s(t.length); d > b; b++) - if ((m = e ? g(a((h = t[b]))[0], h[1]) : g(t[b])) === l || m === c) + if ((m = e ? g(a((v = t[b]))[0], v[1]) : g(t[b])) === l || m === c) return m; } else - for (v = y.call(t); !(h = v.next()).done; ) - if ((m = o(v, g, h.value, e)) === l || m === c) return m; + for (h = y.call(t); !(v = h.next()).done; ) + if ((m = o(h, g, v.value, e)) === l || m === c) return m; }).BREAK = l), (e.RETURN = c); }, @@ -1216,8 +1216,8 @@ f = c.process, p = c.setImmediate, d = c.clearImmediate, - h = c.MessageChannel, - v = c.Dispatch, + v = c.MessageChannel, + h = c.Dispatch, m = 0, y = {}, g = function() { @@ -1248,12 +1248,12 @@ ? (r = function(t) { f.nextTick(a(g, t, 1)); }) - : v && v.now + : h && h.now ? (r = function(t) { - v.now(a(g, t, 1)); + h.now(a(g, t, 1)); }) - : h - ? ((i = (o = new h()).port2), + : v + ? ((i = (o = new v()).port2), (o.port1.onmessage = b), (r = a(i.postMessage, i, 1))) : c.addEventListener && @@ -1420,8 +1420,8 @@ f = "object" == typeof self && self && self.Object === Object && self, p = c || f || Function("return this")(), d = Object.prototype.toString, - h = Math.max, - v = Math.min, + v = Math.max, + h = Math.min, m = function() { return p.Date.now(); }; @@ -1453,7 +1453,7 @@ w, (function(t) { var n = e - (t - l); - return p ? v(n, a - (t - c)) : n; + return p ? h(n, a - (t - c)) : n; })(t) ); } @@ -1476,7 +1476,7 @@ (e = b(e) || 0), g(r) && ((f = !!r.leading), - (a = (p = "maxWait" in r) ? h(b(r.maxWait) || 0, e) : a), + (a = (p = "maxWait" in r) ? v(b(r.maxWait) || 0, e) : a), (d = "trailing" in r ? !!r.trailing : d)), (k.cancel = function() { void 0 !== u && clearTimeout(u), (c = 0), (o = l = i = u = void 0); @@ -1706,8 +1706,8 @@ f = n(4), p = n(2), d = n(21), - h = n(35), - v = n(36), + v = n(35), + h = n(36), m = n(52), y = n(53).set, g = n(81)(), @@ -1853,7 +1853,7 @@ }; L || (($ = function(t) { - h(this, $, "Promise", "_h"), d(t), r.call(this); + v(this, $, "Promise", "_h"), d(t), r.call(this); try { t(l(N, this, 1), l(D, this, 1)); } catch (t) { @@ -1929,7 +1929,7 @@ var n = [], i = 0, a = 1; - v(t, !1, function(t) { + h(t, !1, function(t) { var s = i++, u = !1; n.push(void 0), @@ -1947,7 +1947,7 @@ n = j(e), r = n.reject, o = _(function() { - v(t, !1, function(t) { + h(t, !1, function(t) { e.resolve(t).then(n.resolve, r); }); }); @@ -2129,13 +2129,13 @@ for ( var p, d = s(arguments[l++]), - h = c ? r(d).concat(c(d)) : r(d), - v = h.length, + v = c ? r(d).concat(c(d)) : r(d), + h = v.length, m = 0; - v > m; + h > m; ) - f.call(d, (p = h[m++])) && (n[p] = d[p]); + f.call(d, (p = v[m++])) && (n[p] = d[p]); return n; } : u; @@ -2245,8 +2245,8 @@ var f = "suspendedStart", p = "suspendedYield", d = "executing", - h = "completed", - v = {}, + v = "completed", + h = {}, m = {}; m[a] = function() { return this; @@ -2393,7 +2393,7 @@ (a.type = t), (a.arg = e), i - ? ((this.method = "next"), (this.next = i.finallyLoc), v) + ? ((this.method = "next"), (this.next = i.finallyLoc), h) : this.complete(a) ); }, @@ -2407,14 +2407,14 @@ (this.method = "return"), (this.next = "end")) : "normal" === t.type && e && (this.next = e), - v + h ); }, finish: function(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n.finallyLoc === t) - return this.complete(n.completion, n.afterLoc), A(n), v; + return this.complete(n.completion, n.afterLoc), A(n), h; } }, catch: function(t) { @@ -2435,7 +2435,7 @@ return ( (this.delegate = { iterator: L(t), resultName: e, nextLoc: r }), "next" === this.method && (this.arg = n), - v + h ); } }); @@ -2449,7 +2449,7 @@ var r = f; return function(o, i) { if (r === d) throw new Error("Generator is already running"); - if (r === h) { + if (r === v) { if ("throw" === o) throw i; return P(); } @@ -2458,23 +2458,23 @@ if (a) { var s = $(a, n); if (s) { - if (s === v) continue; + if (s === h) continue; return s; } } if ("next" === n.method) n.sent = n._sent = n.arg; else if ("throw" === n.method) { - if (r === f) throw ((r = h), n.arg); + if (r === f) throw ((r = v), n.arg); n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); r = d; var u = w(t, e, n); if ("normal" === u.type) { - if (((r = n.done ? h : p), u.arg === v)) continue; + if (((r = n.done ? v : p), u.arg === h)) continue; return { value: u.arg, done: n.done }; } "throw" === u.type && - ((r = h), (n.method = "throw"), (n.arg = u.arg)); + ((r = v), (n.method = "throw"), (n.arg = u.arg)); } }; })(t, n, a)), @@ -2544,17 +2544,17 @@ $(t, e), "throw" === e.method) ) - return v; + return h; (e.method = "throw"), (e.arg = new TypeError( "The iterator does not provide a 'throw' method" )); } - return v; + return h; } var o = w(r, t.iterator, e.arg); if ("throw" === o.type) - return (e.method = "throw"), (e.arg = o.arg), (e.delegate = null), v; + return (e.method = "throw"), (e.arg = o.arg), (e.delegate = null), h; var i = o.arg; return i ? i.done @@ -2562,12 +2562,12 @@ (e.next = t.nextLoc), "return" !== e.method && ((e.method = "next"), (e.arg = n)), (e.delegate = null), - v) + h) : i : ((e.method = "throw"), (e.arg = new TypeError("iterator result is not an object")), (e.delegate = null), - v); + h); } function E(t) { var e = { tryLoc: t[0] }; @@ -2670,8 +2670,8 @@ f = n(41), p = n(7), d = n(38).fastKey, - h = n(62), - v = p ? "_s" : "size", + v = n(62), + h = p ? "_s" : "size", m = function(t, e) { var n, r = d(e); @@ -2686,18 +2686,18 @@ (t._i = o(null)), (t._f = void 0), (t._l = void 0), - (t[v] = 0), + (t[h] = 0), null != r && u(r, n, t[l], t); }); return ( i(c.prototype, { clear: function() { - for (var t = h(this, e), n = t._i, r = t._f; r; r = r.n) + for (var t = v(this, e), n = t._i, r = t._f; r; r = r.n) (r.r = !0), r.p && (r.p = r.p.n = void 0), delete n[r.i]; - (t._f = t._l = void 0), (t[v] = 0); + (t._f = t._l = void 0), (t[h] = 0); }, delete: function(t) { - var n = h(this, e), + var n = v(this, e), r = m(n, t); if (r) { var o = r.n, @@ -2708,12 +2708,12 @@ o && (o.p = i), n._f == r && (n._f = o), n._l == r && (n._l = i), - n[v]--; + n[h]--; } return !!r; }, forEach: function(t) { - h(this, e); + v(this, e); for ( var n, r = a(t, arguments.length > 1 ? arguments[1] : void 0, 3); @@ -2723,13 +2723,13 @@ for (r(n.v, n.k, this); n && n.r; ) n = n.p; }, has: function(t) { - return !!m(h(this, e), t); + return !!m(v(this, e), t); } }), p && r(c.prototype, "size", { get: function() { - return h(this, e)[v]; + return v(this, e)[h]; } }), c @@ -2752,7 +2752,7 @@ }), t._f || (t._f = i), r && (r.n = i), - t[v]++, + t[h]++, "F" !== o && (t._i[o] = i)), t ); @@ -2763,7 +2763,7 @@ t, e, function(t, n) { - (this._t = h(t, e)), (this._k = n), (this._l = void 0); + (this._t = v(t, e)), (this._k = n), (this._l = void 0); }, function() { for (var t = this._k, e = this._l; e && e.r; ) e = e.p; @@ -2792,8 +2792,8 @@ f = n(5), p = n(56), d = n(23), - h = n(67); - t.exports = function(t, e, n, v, m, y) { + v = n(67); + t.exports = function(t, e, n, h, m, y) { var g = r[t], b = g, _ = m ? "set" : "add", @@ -2852,7 +2852,7 @@ $ || (((b = e(function(e, n) { l(e, b, t); - var r = h(new g(), e, b); + var r = v(new g(), e, b); return null != n && u(n, m, r[_], r), r; })).prototype = w), (w.constructor = b)), @@ -2860,12 +2860,12 @@ (E || C) && k(_), y && w.clear && delete w.clear; } else - (b = v.getConstructor(e, t, m, _)), a(b.prototype, n), (s.NEED = !0); + (b = h.getConstructor(e, t, m, _)), a(b.prototype, n), (s.NEED = !0); return ( d(b, t), (x[t] = b), o(o.G + o.W + o.F * (b != g), x), - y || v.setStrong(b, t, m), + y || h.setStrong(b, t, m), b ); }; @@ -2950,14 +2950,14 @@ i(t) && "function" == typeof t.then && "function" == typeof t.catch ); } - function h(t) { + function v(t) { return null == t ? "" : Array.isArray(t) || (c(t) && t.toString === l) ? JSON.stringify(t, null, 2) : String(t); } - function v(t) { + function h(t) { var e = parseFloat(t); return isNaN(e) ? t : e; } @@ -3217,10 +3217,10 @@ function dt(t) { pt.push(t), (ft.target = t); } - function ht() { + function vt() { pt.pop(), (ft.target = pt[pt.length - 1]); } - var vt = function(t, e, n, r, o, i, a, s) { + var ht = function(t, e, n, r, o, i, a, s) { (this.tag = t), (this.data = e), (this.children = n), @@ -3249,17 +3249,17 @@ (mt.child.get = function() { return this.componentInstance; }), - Object.defineProperties(vt.prototype, mt); + Object.defineProperties(ht.prototype, mt); var yt = function(t) { void 0 === t && (t = ""); - var e = new vt(); + var e = new ht(); return (e.text = t), (e.isComment = !0), e; }; function gt(t) { - return new vt(void 0, void 0, void 0, String(t)); + return new ht(void 0, void 0, void 0, String(t)); } function bt(t) { - var e = new vt( + var e = new ht( t.tag, t.data, t.children && t.children.slice(), @@ -3329,7 +3329,7 @@ }; function St(t, e) { var n; - if (u(t) && !(t instanceof vt)) + if (u(t) && !(t instanceof ht)) return ( _(t, "__ob__") && t.__ob__ instanceof Ct ? (n = t.__ob__) @@ -3694,7 +3694,7 @@ !(function t(e, n) { var r, o; var i = Array.isArray(e); - if ((!i && !u(e)) || Object.isFrozen(e) || e instanceof vt) return; + if ((!i && !u(e)) || Object.isFrozen(e) || e instanceof ht) return; if (e.__ob__) { var a = e.__ob__.dep.id; if (n.has(a)) return; @@ -3742,7 +3742,7 @@ } function se(t, e, n) { var r; - t instanceof vt && (t = t.data.hook || (t.data.hook = {})); + t instanceof ht && (t = t.data.hook || (t.data.hook = {})); var s = t[e]; function u() { n.apply(this, arguments), g(r.fns, u); @@ -3849,13 +3849,13 @@ function de(t) { return (t.isComment && !t.asyncFactory) || " " === t.text; } - function he(t, e, n) { + function ve(t, e, n) { var o; if (t) { if (t._normalized) return t._normalized; if (t.$stable && n && n !== r && 0 === Object.keys(e).length) return n; for (var i in ((o = {}), t)) - t[i] && "$" !== i[0] && (o[i] = ve(e, i, t[i])); + t[i] && "$" !== i[0] && (o[i] = he(e, i, t[i])); } else o = {}; for (var a in e) a in o || (o[a] = me(e, a)); return ( @@ -3864,7 +3864,7 @@ o ); } - function ve(t, e, n) { + function he(t, e, n) { var r = function() { var t = arguments.length ? n.apply(null, arguments) : n({}); return (t = @@ -4023,8 +4023,8 @@ } function Le(t) { (t._o = Oe), - (t._n = v), - (t._s = h), + (t._n = h), + (t._s = v), (t._l = ye), (t._t = ge), (t._q = M), @@ -4056,18 +4056,18 @@ (this.listeners = t.on || r), (this.injections = fe(l.inject, o)), (this.slots = function() { - return u.$slots || he(t.scopedSlots, (u.$slots = pe(n, o))), u.$slots; + return u.$slots || ve(t.scopedSlots, (u.$slots = pe(n, o))), u.$slots; }), Object.defineProperty(this, "scopedSlots", { enumerable: !0, get: function() { - return he(t.scopedSlots, this.slots()); + return ve(t.scopedSlots, this.slots()); } }), c && ((this.$options = l), (this.$slots = this.slots()), - (this.$scopedSlots = he(t.scopedSlots, this.$slots))), + (this.$scopedSlots = ve(t.scopedSlots, this.$slots))), l._scopeId ? (this._c = function(t, e, n, r) { var i = ze(s, t, e, n, r, f); @@ -4287,21 +4287,21 @@ else i(n.attrs) && Me(u, n.attrs), i(n.props) && Me(u, n.props); var f = new Pe(n, u, a, o, t), p = s.render.call(null, f._c, f); - if (p instanceof vt) return Te(p, n, f.parent, s); + if (p instanceof ht) return Te(p, n, f.parent, s); if (Array.isArray(p)) { for ( - var d = le(p) || [], h = new Array(d.length), v = 0; - v < d.length; - v++ + var d = le(p) || [], v = new Array(d.length), h = 0; + h < d.length; + h++ ) - h[v] = Te(d[v], n, f.parent, s); - return h; + v[h] = Te(d[h], n, f.parent, s); + return v; } })(t, p, e, n, s); - var h = e.on; + var v = e.on; if (((e.on = e.nativeOn), a(t.options.abstract))) { - var v = e.slot; - (e = {}), v && (e.slot = v); + var h = e.slot; + (e = {}), h && (e.slot = h); } !(function(t) { for (var e = t.hook || (t.hook = {}), n = 0; n < Re.length; n++) { @@ -4312,14 +4312,14 @@ } })(e); var m = t.options.name || l; - return new vt( + return new ht( "vue-component-" + t.cid + (m ? "-" + m : ""), e, void 0, void 0, void 0, n, - { Ctor: t, propsData: p, listeners: h, tag: l, children: s }, + { Ctor: t, propsData: p, listeners: v, tag: l, children: s }, f ); } @@ -4359,9 +4359,9 @@ var f; (c = (t.$vnode && t.$vnode.ns) || U.getTagNamespace(e)), (l = U.isReservedTag(e) - ? new vt(U.parsePlatformTagName(e), n, r, void 0, void 0, t) + ? new ht(U.parsePlatformTagName(e), n, r, void 0, void 0, t) : (n && n.pre) || !i((f = Dt(t.$options, "components", e))) - ? new vt(e, n, r, void 0, void 0, t) + ? new ht(e, n, r, void 0, void 0, t) : De(f, n, t, r, e)); } else l = De(e, n, t, r); return Array.isArray(l) @@ -4452,7 +4452,7 @@ var n = t.$options[e], r = e + " hook"; if (n) for (var o = 0, i = n.length; o < i; o++) Vt(n[o], t, null, t, r); - t._hasHookEvent && t.$emit("hook:" + e), ht(); + t._hasHookEvent && t.$emit("hook:" + e), vt(); } var nn = [], rn = [], @@ -4550,7 +4550,7 @@ if (!this.user) throw t; Bt(t, e, 'getter for watcher "' + this.expression + '"'); } finally { - this.deep && re(t), ht(), this.cleanupDeps(); + this.deep && re(t), vt(), this.cleanupDeps(); } return t; }), @@ -4624,15 +4624,15 @@ this.active = !1; } }); - var hn = { enumerable: !0, configurable: !0, get: L, set: L }; - function vn(t, e, n) { - (hn.get = function() { + var vn = { enumerable: !0, configurable: !0, get: L, set: L }; + function hn(t, e, n) { + (vn.get = function() { return this[e][n]; }), - (hn.set = function(t) { + (vn.set = function(t) { this[e][n] = t; }), - Object.defineProperty(t, n, hn); + Object.defineProperty(t, n, vn); } function mn(t) { t._watchers = []; @@ -4646,7 +4646,7 @@ var i = function(i) { o.push(i); var a = Nt(i, e, n, t); - $t(r, i, a), i in t || vn(t, "_props", i); + $t(r, i, a), i in t || hn(t, "_props", i); }; for (var a in e) i(a); Ot(!0); @@ -4669,7 +4669,7 @@ } catch (t) { return Bt(t, e, "data()"), {}; } finally { - ht(); + vt(); } })(e, t) : e || {}) @@ -4684,7 +4684,7 @@ ((a = void 0), 36 !== (a = (i + "").charCodeAt(0)) && 95 !== a && - vn(t, "_data", i)); + hn(t, "_data", i)); } var a; St(e, !0); @@ -4715,10 +4715,10 @@ function gn(t, e, n) { var r = !ot(); "function" == typeof n - ? ((hn.get = r ? bn(e) : _n(n)), (hn.set = L)) - : ((hn.get = n.get ? (r && !1 !== n.cache ? bn(e) : _n(n.get)) : L), - (hn.set = n.set || L)), - Object.defineProperty(t, e, hn); + ? ((vn.get = r ? bn(e) : _n(n)), (vn.set = L)) + : ((vn.get = n.get ? (r && !1 !== n.cache ? bn(e) : _n(n.get)) : L), + (vn.set = n.set || L)), + Object.defineProperty(t, e, vn); } function bn(t) { return function() { @@ -4783,7 +4783,7 @@ a.options.props && (function(t) { var e = t.options.props; - for (var n in e) vn(t.prototype, "_props", n); + for (var n in e) hn(t.prototype, "_props", n); })(a), a.options.computed && (function(t) { @@ -5053,7 +5053,7 @@ r = n.render, o = n._parentVnode; o && - (e.$scopedSlots = he( + (e.$scopedSlots = ve( o.data.scopedSlots, e.$slots, e.$scopedSlots @@ -5068,7 +5068,7 @@ } return ( Array.isArray(t) && 1 === t.length && (t = t[0]), - t instanceof vt || (t = yt()), + t instanceof ht || (t = yt()), (t.parent = o), t ); @@ -5349,7 +5349,7 @@ : (a[n] = o); } } - var er = new vt("", {}, []), + var er = new ht("", {}, []), nr = ["create", "activate", "update", "remove", "destroy"]; function rr(t, e) { return ( @@ -5470,7 +5470,7 @@ } function dr(t, e, n) { t.tagName.indexOf("-") > -1 - ? hr(t, e, n) + ? vr(t, e, n) : Dn(e) ? zn(n) ? t.removeAttribute(e) @@ -5483,9 +5483,9 @@ ? zn(n) ? t.removeAttributeNS(Nn, Un(e)) : t.setAttributeNS(Nn, e, n) - : hr(t, e, n); + : vr(t, e, n); } - function hr(t, e, n) { + function vr(t, e, n) { if (zn(n)) t.removeAttribute(e); else { if ( @@ -5504,7 +5504,7 @@ t.setAttribute(e, n); } } - var vr = { create: pr, update: pr }; + var hr = { create: pr, update: pr }; function mr(t, e) { var n = e.elm, r = e.data, @@ -5616,7 +5616,7 @@ var n = t.value, r = t._vModifiers; if (i(r)) { - if (r.number) return v(n) !== v(e); + if (r.number) return h(n) !== h(e); if (r.trim) return n.trim() !== e.trim(); } return n !== e; @@ -5868,7 +5868,7 @@ f = r.enterActiveClass, p = r.appearClass, d = r.appearToClass, - h = r.appearActiveClass, + v = r.appearActiveClass, m = r.beforeEnter, y = r.enter, g = r.afterEnter, @@ -5887,13 +5887,13 @@ var $ = !C._isMounted || !t.isRootInsert; if (!$ || w || "" === w) { var E = $ && p ? p : l, - A = $ && h ? h : f, + A = $ && v ? v : f, j = $ && d ? d : c, L = ($ && _) || m, P = $ && "function" == typeof w ? w : y, T = ($ && x) || g, M = ($ && k) || b, - I = v(u(O) ? O.enter : O); + I = h(u(O) ? O.enter : O); 0; var D = !1 !== a && !Y, N = po(P), @@ -5936,20 +5936,20 @@ f = r.leaveActiveClass, p = r.beforeLeave, d = r.leave, - h = r.afterLeave, + v = r.afterLeave, m = r.leaveCancelled, y = r.delayLeave, g = r.duration, b = !1 !== a && !Y, _ = po(d), - w = v(u(g) ? g.leave : g); + w = h(u(g) ? g.leave : g); 0; var x = (n._leaveCb = R(function() { n.parentNode && n.parentNode._pending && (n.parentNode._pending[t.key] = null), b && (ro(n, c), ro(n, f)), - x.cancelled ? (b && ro(n, l), m && m(n)) : (e(), h && h(n)), + x.cancelled ? (b && ro(n, l), m && m(n)) : (e(), v && v(n)), (n._leaveCb = null); })); y ? y(k) : k(); @@ -5984,10 +5984,10 @@ ? po(Array.isArray(e) ? e[0] : e) : (t._length || t.length) > 1; } - function ho(t, e) { + function vo(t, e) { !0 !== e.data.show && lo(e); } - var vo = (function(t) { + var ho = (function(t) { var e, n, r = {}, @@ -6035,14 +6035,14 @@ })(t, e, n, o)) ) { var f = t.data, - v = t.children, + h = t.children, m = t.tag; i(m) ? ((t.elm = t.ns ? l.createElementNS(t.ns, m) : l.createElement(m, t)), g(t), - h(t, v, e), + v(t, h, e), i(f) && y(t, e), d(n, t.elm, o)) : a(t.isComment) @@ -6055,7 +6055,7 @@ (e.push.apply(e, t.data.pendingInsert), (t.data.pendingInsert = null)), (t.elm = t.componentInstance.$el), - v(t) ? (y(t, e), g(t)) : (tr(t), e.push(t)); + h(t) ? (y(t, e), g(t)) : (tr(t), e.push(t)); } function d(t, e, n) { i(t) && @@ -6063,13 +6063,13 @@ ? l.parentNode(n) === t && l.insertBefore(t, e, n) : l.appendChild(t, e)); } - function h(t, e, n) { + function v(t, e, n) { if (Array.isArray(e)) for (var r = 0; r < e.length; ++r) f(e[r], n, t.elm, null, !0, e, r); else s(t.text) && l.appendChild(t.elm, l.createTextNode(String(t.text))); } - function v(t) { + function h(t) { for (; t.componentInstance; ) t = t.componentInstance._vnode; return i(t.tag); } @@ -6164,13 +6164,13 @@ e.componentInstance = t.componentInstance; else { var d, - h = e.data; - i(h) && i((d = h.hook)) && i((d = d.prepatch)) && d(t, e); + v = e.data; + i(v) && i((d = v.hook)) && i((d = d.prepatch)) && d(t, e); var m = t.children, y = e.children; - if (i(h) && v(e)) { + if (i(v) && h(e)) { for (d = 0; d < r.update.length; ++d) r.update[d](t, e); - i((d = h.hook)) && i((d = d.update)) && d(t, e); + i((d = v.hook)) && i((d = d.update)) && d(t, e); } o(e.text) ? i(m) && i(y) @@ -6182,51 +6182,51 @@ c, p = 0, d = 0, - h = e.length - 1, - v = e[0], - m = e[h], + v = e.length - 1, + h = e[0], + m = e[v], y = n.length - 1, g = n[0], _ = n[y], x = !a; - p <= h && d <= y; + p <= v && d <= y; ) - o(v) - ? (v = e[++p]) + o(h) + ? (h = e[++p]) : o(m) - ? (m = e[--h]) - : rr(v, g) - ? (O(v, g, r, n, d), (v = e[++p]), (g = n[++d])) + ? (m = e[--v]) + : rr(h, g) + ? (O(h, g, r, n, d), (h = e[++p]), (g = n[++d])) : rr(m, _) - ? (O(m, _, r, n, y), (m = e[--h]), (_ = n[--y])) - : rr(v, _) - ? (O(v, _, r, n, y), + ? (O(m, _, r, n, y), (m = e[--v]), (_ = n[--y])) + : rr(h, _) + ? (O(h, _, r, n, y), x && l.insertBefore( t, - v.elm, + h.elm, l.nextSibling(m.elm) ), - (v = e[++p]), + (h = e[++p]), (_ = n[--y])) : rr(m, g) ? (O(m, g, r, n, d), - x && l.insertBefore(t, m.elm, v.elm), - (m = e[--h]), + x && l.insertBefore(t, m.elm, h.elm), + (m = e[--v]), (g = n[++d])) - : (o(s) && (s = or(e, p, h)), - o((u = i(g.key) ? s[g.key] : k(g, e, p, h))) - ? f(g, r, t, v.elm, !1, n, d) + : (o(s) && (s = or(e, p, v)), + o((u = i(g.key) ? s[g.key] : k(g, e, p, v))) + ? f(g, r, t, h.elm, !1, n, d) : rr((c = e[u]), g) ? (O(c, g, r, n, d), (e[u] = void 0), - x && l.insertBefore(t, c.elm, v.elm)) - : f(g, r, t, v.elm, !1, n, d), + x && l.insertBefore(t, c.elm, h.elm)) + : f(g, r, t, h.elm, !1, n, d), (g = n[++d])); - p > h + p > v ? b(t, o(n[y + 1]) ? null : n[y + 1].elm, n, d, y, r) - : d > y && w(0, e, p, h); + : d > y && w(0, e, p, v); })(p, m, y, n, c) : i(y) ? (i(t.text) && l.setTextContent(p, ""), @@ -6235,7 +6235,7 @@ ? w(0, m, 0, m.length - 1) : i(t.text) && l.setTextContent(p, "") : t.text !== e.text && l.setTextContent(p, e.text), - i(h) && i((d = h.hook)) && i((d = d.postpatch)) && d(t, e); + i(v) && i((d = v.hook)) && i((d = d.postpatch)) && d(t, e); } } } @@ -6276,15 +6276,15 @@ } if (!c || f) return !1; } - else h(e, l, n); + else v(e, l, n); if (i(u)) { - var v = !1; + var h = !1; for (var m in u) if (!S(m)) { - (v = !0), y(e, n); + (h = !0), y(e, n); break; } - !v && u.class && re(u.class); + !h && u.class && re(u.class); } } else t.data !== e.text && (t.data = e.text); return !0; @@ -6308,14 +6308,14 @@ ) return C(e, p, !0), t; (u = t), - (t = new vt(l.tagName(u).toLowerCase(), {}, [], void 0, u)); + (t = new ht(l.tagName(u).toLowerCase(), {}, [], void 0, u)); } - var h = t.elm, - m = l.parentNode(h); + var v = t.elm, + m = l.parentNode(v); if ( - (f(e, p, h._leaveCb ? null : m, l.nextSibling(h)), i(e.parent)) + (f(e, p, v._leaveCb ? null : m, l.nextSibling(v)), i(e.parent)) ) - for (var y = e.parent, g = v(e); y; ) { + for (var y = e.parent, g = h(e); y; ) { for (var b = 0; b < r.destroy.length; ++b) r.destroy[b](y); if (((y.elm = e.elm), g)) { for (var x = 0; x < r.create.length; ++x) @@ -6336,15 +6336,15 @@ })({ nodeOps: Jn, modules: [ - vr, + hr, gr, $r, jr, zr, G ? { - create: ho, - activate: ho, + create: vo, + activate: vo, remove: function(t, e) { !0 !== t.data.show ? co(t, e) : e(); } @@ -6719,7 +6719,7 @@ }), A(On.options.directives, Co), A(On.options.components, Do), - (On.prototype.__patch__ = G ? vo : L), + (On.prototype.__patch__ = G ? ho : L), (On.prototype.$mount = function(t, e) { return (function(t, e, n) { var r; @@ -6812,7 +6812,7 @@ ((i.hook || (i.hook = {})).prepatch = function(t, e) { p.instances[s] = e.componentInstance; }); - var h = (i.props = (function(t, e) { + var v = (i.props = (function(t, e) { switch (typeof e) { case "undefined": return; @@ -6826,11 +6826,11 @@ 0; } })(u, p.props && p.props[s])); - if (h) { - h = i.props = Uo({}, h); - var v = (i.attrs = i.attrs || {}); - for (var m in h) - (d.props && m in d.props) || ((v[m] = h[m]), delete h[m]); + if (v) { + v = i.props = Uo({}, v); + var h = (i.attrs = i.attrs || {}); + for (var m in v) + (d.props && m in d.props) || ((h[m] = v[m]), delete v[m]); } return a(d, i, r); } @@ -6989,11 +6989,11 @@ f = null == l ? "router-link-active" : l, p = null == c ? "router-link-exact-active" : c, d = null == this.activeClass ? f : this.activeClass, - h = null == this.exactActiveClass ? p : this.exactActiveClass, - v = i.path ? Xo(null, i, null, n) : a; - (u[h] = ei(r, v)), + v = null == this.exactActiveClass ? p : this.exactActiveClass, + h = i.path ? Xo(null, i, null, n) : a; + (u[v] = ei(r, h)), (u[d] = this.exact - ? u[h] + ? u[v] : (function(t, e) { return ( 0 === @@ -7006,7 +7006,7 @@ return !0; })(t.query, e.query) ); - })(r, v)); + })(r, h)); var m = function(t) { si(t) && (e.replace ? n.replace(i) : n.push(i)); }, @@ -7076,10 +7076,10 @@ }, pi = Si, di = gi, - hi = function(t, e) { + vi = function(t, e) { return _i(gi(t, e)); }, - vi = _i, + hi = _i, mi = Ci, yi = new RegExp( [ @@ -7102,8 +7102,8 @@ var f = t[i], p = n[2], d = n[3], - h = n[4], - v = n[5], + v = n[4], + h = n[5], m = n[6], y = n[7]; a && (r.push(a), (a = "")); @@ -7111,7 +7111,7 @@ b = "+" === m || "*" === m, _ = "?" === m || "*" === m, w = n[2] || s, - x = h || v; + x = v || h; r.push({ name: d || o++, prefix: p || "", @@ -7294,8 +7294,8 @@ ); } (pi.parse = di), - (pi.compile = hi), - (pi.tokensToFunction = vi), + (pi.compile = vi), + (pi.tokensToFunction = hi), (pi.tokensToRegExp = mi); var $i = Object.create(null); function Ei(t, e, n) { @@ -7438,9 +7438,9 @@ } else if (s.path) { s.params = {}; for (var d = 0; d < r.length; d++) { - var h = r[d], - v = o[h]; - if (Ti(v.regex, s.path, s.params)) return u(v, s, a); + var v = r[d], + h = o[v]; + if (Ti(h.regex, s.path, s.params)) return u(h, s, a); } } return u(null, s); @@ -7473,11 +7473,11 @@ ); } if (c) { - var h = (function(t, e) { + var v = (function(t, e) { return li(t, e.parent ? e.parent.path : "/", !0); })(c, t); return a( - { _normalized: !0, path: Ei(h, d), query: f, hash: p }, + { _normalized: !0, path: Ei(v, d), query: f, hash: p }, void 0, n ); @@ -8075,7 +8075,7 @@ e ); })(na), - ha = function(t) { + va = function(t) { void 0 === t && (t = {}), (this.app = null), (this.apps = []), @@ -8105,7 +8105,7 @@ 0; } }, - va = { currentRoute: { configurable: !0 } }; + ha = { currentRoute: { configurable: !0 } }; function ma(t, e) { return ( t.push(e), @@ -8115,13 +8115,13 @@ } ); } - (ha.prototype.match = function(t, e, n) { + (va.prototype.match = function(t, e, n) { return this.matcher.match(t, e, n); }), - (va.currentRoute.get = function() { + (ha.currentRoute.get = function() { return this.history && this.history.current; }), - (ha.prototype.init = function(t) { + (va.prototype.init = function(t) { var e = this; if ((this.apps.push(t), !this.app)) { this.app = t; @@ -8140,37 +8140,37 @@ }); } }), - (ha.prototype.beforeEach = function(t) { + (va.prototype.beforeEach = function(t) { return ma(this.beforeHooks, t); }), - (ha.prototype.beforeResolve = function(t) { + (va.prototype.beforeResolve = function(t) { return ma(this.resolveHooks, t); }), - (ha.prototype.afterEach = function(t) { + (va.prototype.afterEach = function(t) { return ma(this.afterHooks, t); }), - (ha.prototype.onReady = function(t, e) { + (va.prototype.onReady = function(t, e) { this.history.onReady(t, e); }), - (ha.prototype.onError = function(t) { + (va.prototype.onError = function(t) { this.history.onError(t); }), - (ha.prototype.push = function(t, e, n) { + (va.prototype.push = function(t, e, n) { this.history.push(t, e, n); }), - (ha.prototype.replace = function(t, e, n) { + (va.prototype.replace = function(t, e, n) { this.history.replace(t, e, n); }), - (ha.prototype.go = function(t) { + (va.prototype.go = function(t) { this.history.go(t); }), - (ha.prototype.back = function() { + (va.prototype.back = function() { this.go(-1); }), - (ha.prototype.forward = function() { + (va.prototype.forward = function() { this.go(1); }), - (ha.prototype.getMatchedComponents = function(t) { + (va.prototype.getMatchedComponents = function(t) { var e = t ? (t.matched ? t : this.resolve(t).route) : this.currentRoute; return e ? [].concat.apply( @@ -8183,7 +8183,7 @@ ) : []; }), - (ha.prototype.resolve = function(t, e, n) { + (va.prototype.resolve = function(t, e, n) { var r = Li(t, e || this.history.current, n, this), o = this.match(r, e), i = o.redirectedFrom || o.fullPath; @@ -8198,13 +8198,13 @@ resolved: o }; }), - (ha.prototype.addRoutes = function(t) { + (va.prototype.addRoutes = function(t) { this.matcher.addRoutes(t), this.history.current !== Jo && this.history.transitionTo(this.history.getCurrentLocation()); }), - Object.defineProperties(ha.prototype, va), - (ha.install = function t(e) { + Object.defineProperties(va.prototype, ha), + (va.install = function t(e) { if (!t.installed || ri !== e) { (t.installed = !0), (ri = e); var n = function(t) { @@ -8253,9 +8253,9 @@ o.created; } }), - (ha.version = "3.0.2"), - ui && window.Vue && window.Vue.use(ha); - var ya = ha; + (va.version = "3.0.2"), + ui && window.Vue && window.Vue.use(va); + var ya = va; n(86), n(87), n(40), n(90); function ga(t) { return (ga = @@ -8304,26 +8304,26 @@ Layout: () => Promise.all([n.e(0), n.e(2)]).then(n.bind(null, 142)) }, ka = { - "v-acd593fc": () => n.e(6).then(n.bind(null, 162)), - "v-9af1f7dc": () => n.e(7).then(n.bind(null, 161)), - "v-073619c3": () => n.e(8).then(n.bind(null, 160)), - "v-0bcaedd9": () => n.e(9).then(n.bind(null, 159)), - "v-77c73199": () => n.e(10).then(n.bind(null, 158)), - "v-5717614d": () => n.e(11).then(n.bind(null, 157)), - "v-1f50ee59": () => n.e(12).then(n.bind(null, 156)), - "v-45aa14ce": () => n.e(13).then(n.bind(null, 155)), - "v-5b471da2": () => n.e(15).then(n.bind(null, 144)), - "v-3df8c167": () => n.e(16).then(n.bind(null, 153)), - "v-f144760e": () => n.e(17).then(n.bind(null, 152)), - "v-147a1068": () => n.e(18).then(n.bind(null, 164)), - "v-254c4c59": () => n.e(19).then(n.bind(null, 150)), - "v-2939380e": () => n.e(20).then(n.bind(null, 149)), - "v-fb4e549a": () => n.e(21).then(n.bind(null, 148)), - "v-0250a037": () => n.e(22).then(n.bind(null, 147)), - "v-0f9139b7": () => n.e(23).then(n.bind(null, 146)), - "v-2719271c": () => n.e(24).then(n.bind(null, 145)), - "v-22ef9d0e": () => n.e(25).then(n.bind(null, 154)), - "v-cd0cec28": () => n.e(14).then(n.bind(null, 151)) + "v-3b09bb9e": () => n.e(6).then(n.bind(null, 162)), + "v-5a0f1301": () => n.e(7).then(n.bind(null, 161)), + "v-6887f398": () => n.e(8).then(n.bind(null, 160)), + "v-72f0fbec": () => n.e(9).then(n.bind(null, 159)), + "v-6d0f864a": () => n.e(10).then(n.bind(null, 158)), + "v-38524a6c": () => n.e(12).then(n.bind(null, 157)), + "v-1b9d4dbe": () => n.e(11).then(n.bind(null, 156)), + "v-5b196b6c": () => n.e(13).then(n.bind(null, 155)), + "v-1bd64020": () => n.e(15).then(n.bind(null, 144)), + "v-fd6c9e50": () => n.e(16).then(n.bind(null, 153)), + "v-2855dcaa": () => n.e(17).then(n.bind(null, 152)), + "v-9c27a3d2": () => n.e(18).then(n.bind(null, 164)), + "v-10e3b9ec": () => n.e(19).then(n.bind(null, 150)), + "v-b6800cac": () => n.e(20).then(n.bind(null, 149)), + "v-690077b8": () => n.e(21).then(n.bind(null, 148)), + "v-4b4f25b0": () => n.e(22).then(n.bind(null, 147)), + "v-30cdf2b0": () => n.e(23).then(n.bind(null, 146)), + "v-376e306a": () => n.e(24).then(n.bind(null, 145)), + "v-37a33faa": () => n.e(25).then(n.bind(null, 154)), + "v-6c43d71b": () => n.e(14).then(n.bind(null, 151)) }, Oa = Object.assign({}, xa, ka); function Ca(t) { @@ -8548,150 +8548,150 @@ })(Da, "mixins", Ta); const Na = [ { - name: "v-acd593fc", + name: "v-3b09bb9e", path: "/", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-acd593fc").then(n); + Sa("Layout", "v-3b09bb9e").then(n); } }, { path: "/index.html", redirect: "/" }, { - name: "v-9af1f7dc", + name: "v-5a0f1301", path: "/api/Layers/", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-9af1f7dc").then(n); + Sa("Layout", "v-5a0f1301").then(n); } }, { path: "/api/Layers/index.html", redirect: "/api/Layers/" }, { - name: "v-073619c3", + name: "v-6887f398", path: "/api/Layers/canvaslayer.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-073619c3").then(n); + Sa("Layout", "v-6887f398").then(n); } }, { - name: "v-0bcaedd9", + name: "v-72f0fbec", path: "/api/Layers/geojsonlayer.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-0bcaedd9").then(n); + Sa("Layout", "v-72f0fbec").then(n); } }, { - name: "v-77c73199", + name: "v-6d0f864a", path: "/api/Layers/imagelayer.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-77c73199").then(n); + Sa("Layout", "v-6d0f864a").then(n); } }, { - name: "v-5717614d", - path: "/api/Layers/rasterlayer.html", + name: "v-38524a6c", + path: "/api/Layers/vectorlayer.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-5717614d").then(n); + Sa("Layout", "v-38524a6c").then(n); } }, { - name: "v-1f50ee59", - path: "/api/Layers/vectorlayer.html", + name: "v-1b9d4dbe", + path: "/api/Layers/rasterlayer.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-1f50ee59").then(n); + Sa("Layout", "v-1b9d4dbe").then(n); } }, { - name: "v-45aa14ce", + name: "v-5b196b6c", path: "/api/Layers/videolayer.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-45aa14ce").then(n); + Sa("Layout", "v-5b196b6c").then(n); } }, { - name: "v-5b471da2", + name: "v-1bd64020", path: "/api/controls.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-5b471da2").then(n); + Sa("Layout", "v-1bd64020").then(n); } }, { - name: "v-3df8c167", + name: "v-fd6c9e50", path: "/api/marker.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-3df8c167").then(n); + Sa("Layout", "v-fd6c9e50").then(n); } }, { - name: "v-f144760e", + name: "v-2855dcaa", path: "/api/popup.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-f144760e").then(n); + Sa("Layout", "v-2855dcaa").then(n); } }, { - name: "v-147a1068", + name: "v-9c27a3d2", path: "/guide/", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-147a1068").then(n); + Sa("Layout", "v-9c27a3d2").then(n); } }, { path: "/guide/index.html", redirect: "/guide/" }, { - name: "v-254c4c59", + name: "v-10e3b9ec", path: "/guide/basemap.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-254c4c59").then(n); + Sa("Layout", "v-10e3b9ec").then(n); } }, { - name: "v-2939380e", + name: "v-b6800cac", path: "/guide/composition.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-2939380e").then(n); + Sa("Layout", "v-b6800cac").then(n); } }, { - name: "v-fb4e549a", + name: "v-690077b8", path: "/guide/controls.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-fb4e549a").then(n); + Sa("Layout", "v-690077b8").then(n); } }, { - name: "v-0250a037", + name: "v-4b4f25b0", path: "/guide/layers&sources.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-0250a037").then(n); + Sa("Layout", "v-4b4f25b0").then(n); } }, { - name: "v-0f9139b7", + name: "v-30cdf2b0", path: "/guide/markers&popups.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-0f9139b7").then(n); + Sa("Layout", "v-30cdf2b0").then(n); } }, { - name: "v-2719271c", + name: "v-376e306a", path: "/plugin_components/", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-2719271c").then(n); + Sa("Layout", "v-376e306a").then(n); } }, { @@ -8699,19 +8699,19 @@ redirect: "/plugin_components/" }, { - name: "v-22ef9d0e", + name: "v-37a33faa", path: "/plugin_components/plugin_components_development.html", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-22ef9d0e").then(n); + Sa("Layout", "v-37a33faa").then(n); } }, { - name: "v-cd0cec28", + name: "v-6c43d71b", path: "/api/", component: Da, beforeEnter: (t, e, n) => { - Sa("Layout", "v-cd0cec28").then(n); + Sa("Layout", "v-6c43d71b").then(n); } }, { path: "/api/index.html", redirect: "/api/" }, @@ -8749,14 +8749,14 @@ footer: "MIT Licensed" }, regularPath: "/", - key: "v-acd593fc", + key: "v-3b09bb9e", path: "/" }, { title: "Layers common", frontmatter: {}, regularPath: "/api/Layers/", - key: "v-9af1f7dc", + key: "v-5a0f1301", path: "/api/Layers/", headers: [ { level: 2, title: "Props", slug: "props" }, @@ -8799,7 +8799,7 @@ title: "CanvasLayer", frontmatter: {}, regularPath: "/api/Layers/canvaslayer.html", - key: "v-073619c3", + key: "v-6887f398", path: "/api/Layers/canvaslayer.html", headers: [ { level: 2, title: "Props", slug: "props" }, @@ -8810,7 +8810,7 @@ title: "GeojsonLayer", frontmatter: {}, regularPath: "/api/Layers/geojsonlayer.html", - key: "v-0bcaedd9", + key: "v-72f0fbec", path: "/api/Layers/geojsonlayer.html", headers: [ { level: 2, title: "Props", slug: "props" }, @@ -8864,7 +8864,7 @@ title: "ImageLayer", frontmatter: {}, regularPath: "/api/Layers/imagelayer.html", - key: "v-77c73199", + key: "v-6d0f864a", path: "/api/Layers/imagelayer.html", headers: [ { level: 2, title: "Props", slug: "props" }, @@ -8872,23 +8872,11 @@ { level: 2, title: "Events", slug: "events" } ] }, - { - title: "RasterLayer", - frontmatter: {}, - regularPath: "/api/Layers/rasterlayer.html", - key: "v-5717614d", - path: "/api/Layers/rasterlayer.html", - headers: [ - { level: 2, title: "Props", slug: "props" }, - { level: 3, title: "source", slug: "source" }, - { level: 2, title: "Events", slug: "events" } - ] - }, { title: "VectorLayer", frontmatter: {}, regularPath: "/api/Layers/vectorlayer.html", - key: "v-1f50ee59", + key: "v-38524a6c", path: "/api/Layers/vectorlayer.html", headers: [ { level: 2, title: "Props", slug: "props" }, @@ -8918,11 +8906,23 @@ { level: 2, title: "Events", slug: "events" } ] }, + { + title: "RasterLayer", + frontmatter: {}, + regularPath: "/api/Layers/rasterlayer.html", + key: "v-1b9d4dbe", + path: "/api/Layers/rasterlayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "source", slug: "source" }, + { level: 2, title: "Events", slug: "events" } + ] + }, { title: "CanvasLayer", frontmatter: {}, regularPath: "/api/Layers/videolayer.html", - key: "v-45aa14ce", + key: "v-5b196b6c", path: "/api/Layers/videolayer.html", headers: [ { level: 2, title: "Props", slug: "props" }, @@ -8935,7 +8935,7 @@ title: "Map control components", frontmatter: {}, regularPath: "/api/controls.html", - key: "v-5b471da2", + key: "v-1bd64020", path: "/api/controls.html", headers: [ { @@ -8987,7 +8987,7 @@ title: "Marker", frontmatter: {}, regularPath: "/api/marker.html", - key: "v-3df8c167", + key: "v-fd6c9e50", path: "/api/marker.html", headers: [ { level: 2, title: "Props", slug: "props" }, @@ -9017,7 +9017,7 @@ title: "Popup", frontmatter: {}, regularPath: "/api/popup.html", - key: "v-f144760e", + key: "v-2855dcaa", path: "/api/popup.html", headers: [ { level: 2, title: "Props", slug: "props" }, @@ -9041,7 +9041,7 @@ title: "Quickstart", frontmatter: {}, regularPath: "/guide/", - key: "v-147a1068", + key: "v-9c27a3d2", path: "/guide/", headers: [ { @@ -9063,7 +9063,7 @@ title: "Base map", frontmatter: {}, regularPath: "/guide/basemap.html", - key: "v-254c4c59", + key: "v-10e3b9ec", path: "/guide/basemap.html", headers: [ { @@ -9090,14 +9090,14 @@ title: "Composition", frontmatter: {}, regularPath: "/guide/composition.html", - key: "v-2939380e", + key: "v-b6800cac", path: "/guide/composition.html" }, { title: "Map controls", frontmatter: {}, regularPath: "/guide/controls.html", - key: "v-fb4e549a", + key: "v-690077b8", path: "/guide/controls.html", headers: [ { level: 2, title: "Overview", slug: "overview" }, @@ -9112,7 +9112,7 @@ title: "Layers and sources", frontmatter: {}, regularPath: "/guide/layers&sources.html", - key: "v-0250a037", + key: "v-4b4f25b0", path: "/guide/layers&sources.html", headers: [ { level: 2, title: "Adding layers", slug: "adding-layers" }, @@ -9131,7 +9131,7 @@ title: "Markers and Popups", frontmatter: {}, regularPath: "/guide/markers&popups.html", - key: "v-0f9139b7", + key: "v-30cdf2b0", path: "/guide/markers&popups.html", headers: [ { level: 2, title: "Marker", slug: "marker" }, @@ -9151,7 +9151,7 @@ title: "Plugin components", frontmatter: {}, regularPath: "/plugin_components/", - key: "v-2719271c", + key: "v-376e306a", path: "/plugin_components/", headers: [ { @@ -9171,7 +9171,7 @@ frontmatter: {}, regularPath: "/plugin_components/plugin_components_development.html", - key: "v-22ef9d0e", + key: "v-37a33faa", path: "/plugin_components/plugin_components_development.html", headers: [ { level: 2, title: "Overview", slug: "overview" }, @@ -9200,7 +9200,7 @@ title: "GlMap", frontmatter: {}, regularPath: "/api/", - key: "v-cd0cec28", + key: "v-6c43d71b", path: "/api/", headers: [ { level: 2, title: "Props", slug: "props" }, @@ -9267,6 +9267,8 @@ title: "localIdeographFontFamily", slug: "localideographfontfamily" }, + { level: 3, title: "bounds", slug: "bounds" }, + { level: 3, title: "fitBoundsOptions", slug: "fitboundsoptions" }, { level: 2, title: "Actions", slug: "actions" }, { level: 3, title: ".stop(eventData?)", slug: "stop-eventdata" }, { @@ -9774,7 +9776,7 @@ rs = es.router; (window.__VUEPRESS_VERSION__ = { version: "1.0.0-alpha.37", - hash: "cb84ee8" + hash: "3d27e6c" }), rs.onReady(function() { ns.$mount("#app"); diff --git a/docs/guide/basemap.html b/docs/guide/basemap.html index ef552ad6..33c44c9b 100644 --- a/docs/guide/basemap.html +++ b/docs/guide/basemap.html @@ -7,7 +7,7 @@ - + @@ -119,6 +119,6 @@ →

- + diff --git a/docs/guide/composition.html b/docs/guide/composition.html index bb2aa2ff..864de486 100644 --- a/docs/guide/composition.html +++ b/docs/guide/composition.html @@ -7,7 +7,7 @@ - + @@ -144,6 +144,6 @@ →

- + diff --git a/docs/guide/controls.html b/docs/guide/controls.html index fff5d516..6cfb0199 100644 --- a/docs/guide/controls.html +++ b/docs/guide/controls.html @@ -7,7 +7,7 @@ - + @@ -74,6 +74,6 @@ →

- + diff --git a/docs/guide/index.html b/docs/guide/index.html index de329817..17ec3ada 100644 --- a/docs/guide/index.html +++ b/docs/guide/index.html @@ -7,7 +7,7 @@ - + @@ -59,6 +59,6 @@ →

- + diff --git a/docs/guide/layers&sources.html b/docs/guide/layers&sources.html index bc9dde95..5df917ee 100644 --- a/docs/guide/layers&sources.html +++ b/docs/guide/layers&sources.html @@ -7,7 +7,7 @@ - + @@ -21,7 +21,7 @@ map-promisified

Layers and sources

Adding layers

Geographic features on the map draws as layers. Layer use source object that contains data for layer (for example, GeoJSON object). Source must be added to map and several layers can use common source and draw it's data differently. -Also, layer has own configuration object that declares how layer draws on the map. You can read more about it in Mapbox GL JS docs for sources ans layers.

Vue-mapbox exposes layers as Vue components. +Also, layer has own configuration object that declares how layer draws on the map. You can read more about it in Mapbox GL JS docs for sources and layers.

Vue-mapbox exposes layers as Vue components. source and layer configuration object passed to layer component as props. There is several layers types for drawing different types of sources. For example adding a layer with GeoJSON data:

<template>
   <MglMap :accessToken="accessToken" :mapStyle.sync="mapStyle">
@@ -71,6 +71,6 @@
         
         →
       

- + diff --git a/docs/guide/markers&popups.html b/docs/guide/markers&popups.html index a2d8876a..54c50459 100644 --- a/docs/guide/markers&popups.html +++ b/docs/guide/markers&popups.html @@ -7,7 +7,7 @@ - + @@ -147,6 +147,6 @@ →

- + diff --git a/docs/index.html b/docs/index.html index 96a66320..a66bbcc4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,7 +7,7 @@ - + @@ -66,6 +66,6 @@

Dependencies

Vue.js 2.5+
Mapbox GL JS 0.51+
map-promisified

Size

~ 15 kB minified and gzipped

Browser compatibility

Coming soon

- + diff --git a/docs/plugin_components/index.html b/docs/plugin_components/index.html index 27efb722..63f556a8 100644 --- a/docs/plugin_components/index.html +++ b/docs/plugin_components/index.html @@ -7,7 +7,7 @@ - + @@ -68,6 +68,6 @@ →

- + diff --git a/docs/plugin_components/plugin_components_development.html b/docs/plugin_components/plugin_components_development.html index b22694cc..945bbd05 100644 --- a/docs/plugin_components/plugin_components_development.html +++ b/docs/plugin_components/plugin_components_development.html @@ -7,7 +7,7 @@ - + @@ -207,6 +207,6 @@

- + diff --git a/package-lock.json b/package-lock.json index dae146fc..d21bc5ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6876,7 +6876,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -6897,12 +6898,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -6917,17 +6920,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -7044,7 +7050,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -7056,6 +7063,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -7070,6 +7078,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -7077,12 +7086,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.2.4", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.1", "yallist": "^3.0.0" @@ -7101,6 +7112,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -7181,7 +7193,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -7193,6 +7206,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -7278,7 +7292,8 @@ "safe-buffer": { "version": "5.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -7314,6 +7329,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -7333,6 +7349,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -7376,12 +7393,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, diff --git a/package.json b/package.json index ed9c44da..81402351 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-mapbox", - "version": "0.4.1", + "version": "0.5.0", "author": { "name": "soal", "email": "sorrrow.about.alice@gmail.com", @@ -36,7 +36,7 @@ "map-promisified": "latest" }, "peerDependencies": { - "mapbox-gl": "^0.53.0", + "mapbox-gl": "^1.5.0", "vue": "^2.6.6" }, "devDependencies": { diff --git a/src/components/map/options.js b/src/components/map/options.js index 60bb2898..8ce369a0 100755 --- a/src/components/map/options.js +++ b/src/components/map/options.js @@ -22,7 +22,7 @@ export default { required: true }, hash: { - type: Boolean, + type: [Boolean, String], default: false }, interactive: {