@styzy/vue-amap 1.1.0 → 1.1.1
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/lib/vue-amap.common.js +43 -26
- package/lib/vue-amap.common.js.map +1 -1
- package/lib/vue-amap.umd.js +43 -26
- package/lib/vue-amap.umd.js.map +1 -1
- package/lib/vue-amap.umd.min.js +1 -1
- package/lib/vue-amap.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/test/App.vue +0 -132
- package/test/main.js +0 -30
package/lib/vue-amap.common.js
CHANGED
|
@@ -22,7 +22,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".v-amap-ctn[data-v-0a8871e0],.v-amap-c
|
|
|
22
22
|
|
|
23
23
|
/***/ }),
|
|
24
24
|
|
|
25
|
-
/***/
|
|
25
|
+
/***/ 210:
|
|
26
26
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27
27
|
|
|
28
28
|
"use strict";
|
|
@@ -36,14 +36,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
36
36
|
|
|
37
37
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
38
38
|
// Module
|
|
39
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".v-amap-place-search-input input[data-v-
|
|
39
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".v-amap-place-search-input input[data-v-6ff464e0]{display:inline-block;box-sizing:border-box;padding:0 15px;width:100%;height:40px;outline:0;border:1px solid #dcdfe6;border-radius:4px;background-color:#fff;background-image:none;color:#606266;font-size:inherit;line-height:40px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);-webkit-appearance:none}", ""]);
|
|
40
40
|
// Exports
|
|
41
41
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
/***/ }),
|
|
45
45
|
|
|
46
|
-
/***/
|
|
46
|
+
/***/ 298:
|
|
47
47
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
48
48
|
|
|
49
49
|
"use strict";
|
|
@@ -184,35 +184,35 @@ var update = add("7ebf2e0a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
184
184
|
|
|
185
185
|
/***/ }),
|
|
186
186
|
|
|
187
|
-
/***/
|
|
187
|
+
/***/ 946:
|
|
188
188
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
189
189
|
|
|
190
190
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
191
191
|
|
|
192
192
|
// load the styles
|
|
193
|
-
var content = __webpack_require__(
|
|
193
|
+
var content = __webpack_require__(210);
|
|
194
194
|
if(content.__esModule) content = content.default;
|
|
195
195
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
196
196
|
if(content.locals) module.exports = content.locals;
|
|
197
197
|
// add the styles to the DOM
|
|
198
198
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
199
|
-
var update = add("
|
|
199
|
+
var update = add("73397e1b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
200
200
|
|
|
201
201
|
/***/ }),
|
|
202
202
|
|
|
203
|
-
/***/
|
|
203
|
+
/***/ 814:
|
|
204
204
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
205
205
|
|
|
206
206
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
207
207
|
|
|
208
208
|
// load the styles
|
|
209
|
-
var content = __webpack_require__(
|
|
209
|
+
var content = __webpack_require__(298);
|
|
210
210
|
if(content.__esModule) content = content.default;
|
|
211
211
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
212
212
|
if(content.locals) module.exports = content.locals;
|
|
213
213
|
// add the styles to the DOM
|
|
214
214
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
215
|
-
var update = add("
|
|
215
|
+
var update = add("56e9ebde", content, true, {"sourceMap":false,"shadowMode":false});
|
|
216
216
|
|
|
217
217
|
/***/ }),
|
|
218
218
|
|
|
@@ -1341,10 +1341,10 @@ var VAMapPolygon_component = normalizeComponent(
|
|
|
1341
1341
|
)
|
|
1342
1342
|
|
|
1343
1343
|
/* harmony default export */ var VAMapPolygon = (VAMapPolygon_component.exports);
|
|
1344
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/pug-plain-loader/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Components/VAMapPlaceSearchInput.vue?vue&type=template&id=
|
|
1345
|
-
var
|
|
1344
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/pug-plain-loader/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Components/VAMapPlaceSearchInput.vue?vue&type=template&id=6ff464e0&scoped=true&lang=pug
|
|
1345
|
+
var VAMapPlaceSearchInputvue_type_template_id_6ff464e0_scoped_true_lang_pug_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"v-amap-place-search-input"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputValue),expression:"inputValue"}],ref:"input",attrs:{"placeholder":_vm.placeholder},domProps:{"value":(_vm.inputValue)},on:{"blur":function($event){return _vm.handleBlur()},"input":function($event){if($event.target.composing)return;_vm.inputValue=$event.target.value}}})])
|
|
1346
1346
|
}
|
|
1347
|
-
var
|
|
1347
|
+
var VAMapPlaceSearchInputvue_type_template_id_6ff464e0_scoped_true_lang_pug_staticRenderFns = []
|
|
1348
1348
|
|
|
1349
1349
|
|
|
1350
1350
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Components/VAMapPlaceSearchInput.vue?vue&type=script&lang=js
|
|
@@ -1366,6 +1366,8 @@ var VAMapPlaceSearchInputvue_type_template_id_57fd4556_scoped_true_lang_pug_stat
|
|
|
1366
1366
|
data() {
|
|
1367
1367
|
return {
|
|
1368
1368
|
AMap: null,
|
|
1369
|
+
inputValue: '',
|
|
1370
|
+
placeName: '',
|
|
1369
1371
|
autocompleteListener: null,
|
|
1370
1372
|
placeSearchListener: null
|
|
1371
1373
|
}
|
|
@@ -1388,6 +1390,7 @@ var VAMapPlaceSearchInputvue_type_template_id_57fd4556_scoped_true_lang_pug_stat
|
|
|
1388
1390
|
autocomplete,
|
|
1389
1391
|
'select',
|
|
1390
1392
|
event => {
|
|
1393
|
+
this.placeName = event.poi.name
|
|
1391
1394
|
placeSearch.search(event.poi.name)
|
|
1392
1395
|
}
|
|
1393
1396
|
)
|
|
@@ -1411,7 +1414,7 @@ var VAMapPlaceSearchInputvue_type_template_id_57fd4556_scoped_true_lang_pug_stat
|
|
|
1411
1414
|
this.$emit('change', position)
|
|
1412
1415
|
|
|
1413
1416
|
if (!position && !this.customEnable) {
|
|
1414
|
-
this
|
|
1417
|
+
this.inputValue = ''
|
|
1415
1418
|
}
|
|
1416
1419
|
}
|
|
1417
1420
|
)
|
|
@@ -1419,19 +1422,33 @@ var VAMapPlaceSearchInputvue_type_template_id_57fd4556_scoped_true_lang_pug_stat
|
|
|
1419
1422
|
removeListener() {
|
|
1420
1423
|
this.AMap.event.removeListener(this.autocompleteListener)
|
|
1421
1424
|
this.AMap.event.removeListener(this.placeSearchListener)
|
|
1425
|
+
},
|
|
1426
|
+
clear() {
|
|
1427
|
+
this.inputValue = ''
|
|
1428
|
+
this.placeName = ''
|
|
1429
|
+
this.$emit('change', null)
|
|
1430
|
+
},
|
|
1431
|
+
handleBlur() {
|
|
1432
|
+
if (this.customEnable) return
|
|
1433
|
+
if (this.inputValue !== this.placeName) {
|
|
1434
|
+
this.clear()
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
handleInput(event) {
|
|
1438
|
+
this.inputValue = event.target.value
|
|
1422
1439
|
}
|
|
1423
1440
|
}
|
|
1424
1441
|
});
|
|
1425
1442
|
|
|
1426
1443
|
;// CONCATENATED MODULE: ./src/Components/VAMapPlaceSearchInput.vue?vue&type=script&lang=js
|
|
1427
1444
|
/* harmony default export */ var Components_VAMapPlaceSearchInputvue_type_script_lang_js = (VAMapPlaceSearchInputvue_type_script_lang_js);
|
|
1428
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!./node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Components/VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=
|
|
1429
|
-
var
|
|
1430
|
-
;// CONCATENATED MODULE: ./src/Components/VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=
|
|
1445
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!./node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Components/VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=6ff464e0&prod&lang=stylus&scoped=true
|
|
1446
|
+
var VAMapPlaceSearchInputvue_type_style_index_0_id_6ff464e0_prod_lang_stylus_scoped_true = __webpack_require__(946);
|
|
1447
|
+
;// CONCATENATED MODULE: ./src/Components/VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=6ff464e0&prod&lang=stylus&scoped=true
|
|
1431
1448
|
|
|
1432
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!./node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Components/VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=
|
|
1433
|
-
var
|
|
1434
|
-
;// CONCATENATED MODULE: ./src/Components/VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=
|
|
1449
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!./node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/Components/VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=6ff464e0&prod&lang=stylus
|
|
1450
|
+
var VAMapPlaceSearchInputvue_type_style_index_1_id_6ff464e0_prod_lang_stylus = __webpack_require__(814);
|
|
1451
|
+
;// CONCATENATED MODULE: ./src/Components/VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=6ff464e0&prod&lang=stylus
|
|
1435
1452
|
|
|
1436
1453
|
;// CONCATENATED MODULE: ./src/Components/VAMapPlaceSearchInput.vue
|
|
1437
1454
|
|
|
@@ -1445,11 +1462,11 @@ var VAMapPlaceSearchInputvue_type_style_index_1_id_57fd4556_prod_lang_stylus = _
|
|
|
1445
1462
|
|
|
1446
1463
|
var VAMapPlaceSearchInput_component = normalizeComponent(
|
|
1447
1464
|
Components_VAMapPlaceSearchInputvue_type_script_lang_js,
|
|
1448
|
-
|
|
1449
|
-
|
|
1465
|
+
VAMapPlaceSearchInputvue_type_template_id_6ff464e0_scoped_true_lang_pug_render,
|
|
1466
|
+
VAMapPlaceSearchInputvue_type_template_id_6ff464e0_scoped_true_lang_pug_staticRenderFns,
|
|
1450
1467
|
false,
|
|
1451
1468
|
null,
|
|
1452
|
-
"
|
|
1469
|
+
"6ff464e0",
|
|
1453
1470
|
null
|
|
1454
1471
|
|
|
1455
1472
|
)
|
|
@@ -1470,12 +1487,12 @@ var VAMapPlaceSearchInput_component = normalizeComponent(
|
|
|
1470
1487
|
VAMapPlaceSearchInput
|
|
1471
1488
|
]);
|
|
1472
1489
|
|
|
1490
|
+
;// CONCATENATED MODULE: ./package.json
|
|
1491
|
+
var package_namespaceObject = {"i8":"1.1.1"};
|
|
1473
1492
|
;// CONCATENATED MODULE: ./src/config/index.js
|
|
1474
|
-
const version = '1.1.0'
|
|
1475
1493
|
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
});
|
|
1494
|
+
|
|
1495
|
+
const version = package_namespaceObject.i8
|
|
1479
1496
|
|
|
1480
1497
|
;// CONCATENATED MODULE: ./src/index.js
|
|
1481
1498
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-amap.common.js","mappings":";;;;;;;;;;;;AAAA;AACkH;AACtB;AAC5F,8BAA8B,mFAA2B,CAAC,8FAAwC;AAClG;AACA,4GAA4G,YAAY;AACxH;AACA,+DAAe,uBAAuB,EAAC;;;;;;;;;;;;;;ACPvC;AACkH;AACtB;AAC5F,8BAA8B,mFAA2B,CAAC,8FAAwC;AAClG;AACA,4FAA4F,qBAAqB,sBAAsB,eAAe,WAAW,YAAY,UAAU,yBAAyB,kBAAkB,sBAAsB,sBAAsB,cAAc,kBAAkB,iBAAiB,2DAA2D,wBAAwB;AAClZ;AACA,+DAAe,uBAAuB,EAAC;;;;;;;;;;;;;;ACPvC;AACkH;AACtB;AAC5F,8BAA8B,mFAA2B,CAAC,8FAAwC;AAClG;AACA,2DAA2D,aAAa;AACxE;AACA,+DAAe,uBAAuB,EAAC;;;;;;;;;ACP1B;;AAEb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA,gDAAgD;AAChD;AACA;AACA,qFAAqF;AACrF;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,qBAAqB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sFAAsF,qBAAqB;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,iDAAiD,qBAAqB;AACtE;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sDAAsD,qBAAqB;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpFa;;AAEb;AACA;AACA;;;;;;;ACJA;;AAEA;AACA,cAAc,mBAAO,CAAC,GAAif;AACvgB;AACA;AACA;AACA;AACA,UAAU,8CAA8E;AACxF,6CAA6C,qCAAqC;;;;;;;ACTlF;;AAEA;AACA,cAAc,mBAAO,CAAC,GAAigB;AACvhB;AACA;AACA;AACA;AACA,UAAU,8CAA8E;AACxF,6CAA6C,qCAAqC;;;;;;;ACTlF;;AAEA;AACA,cAAc,mBAAO,CAAC,EAAqf;AAC3gB;AACA;AACA;AACA;AACA,UAAU,8CAA8E;AACxF,6CAA6C,qCAAqC;;;;;;;;;;;;;;;ACTlF;AACA;AACA;AACA;AACe;AACf;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,uBAAuB;AAC3D,MAAM;AACN;AACA;AACA;AACA;AACA;;;AC1BA;AACA;AACA;AACA;AACA;;AAEyC;;AAEzC;;AAEA;AACA;AACA;AACA;AACA,WAAW,iBAAiB;AAC5B;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEe;AACf;;AAEA;;AAEA,eAAe,YAAY;AAC3B;;AAEA;AACA;AACA,oBAAoB,mBAAmB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA,MAAM;AACN;AACA;AACA,oBAAoB,sBAAsB;AAC1C;AACA;AACA,wBAAwB,2BAA2B;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;AACA;AACA,sBAAsB,2BAA2B;AACjD;AACA;AACA,aAAa,uBAAuB;AACpC;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,sBAAsB,uBAAuB;AAC7C;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;;;;;;UC7NA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;;;;;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,kDAAe,IAAI;;;ACtBnB;AACA;AACA;AACA;AACA;AACA,kDAAe,SAAS;;;ACLY;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,aAAS,SAAS,KAAK,aAAa;AAChD;AACA,GAAG,YAAY,kBAAkB,UAAU,uBAAuB;AAClE;AACA;AACA,uCAAuC,eAAe;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,aAAS,eAAe,GAAG,WAAW;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,UAAU,kDAAkD,IAAI;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,2CAAe,YAAY;;;AC5G3B,+BAA+B,6BAA6B,iBAAiB,yBAAyB,YAAY,gCAAgC,iDAAiD,gCAAgC;AACnO;AACA;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,wDAAe,aAAa;;;ACd5B;AACA;AACA;AACA;AACA,iDAAe,MAAM;;;ACJQ;AAC7B;AACA;AACA;AACA;AACA,OAAO,YAAM;AACb,aAAa,2BAA2B,KAAK;AAC7C,OAAO,YAAM;AACb;AACA;AACA,0BAA0B,QAAQ;AAClC;AACA;AACA,GAAG;AACH,cAAc,0BAA0B;AACxC;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,aAAa,6CAA6C;AAC1D;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,IAAI;AACJ,GAAG;AACH;AACA;AACA,qDAAe,UAAU;;;;ACxBkB;AACQ;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,MAAU;;AAE/B;AACA;AACA,IAAI,KAAW;AACf;AACA;;AAEA;;AAEA,GAAG,mBAAa;AAChB,GAAG,gBAAU;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AC7E+H,CAAC,4EAAe,4BAAG,EAAC;;;;;;AEApJ;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC/FwG;AAChD;AACL;AACnD,CAAgG;;;AAGhG;AACmG;AACnG,gBAAgB,kBAAU;AAC1B,EAAE,uCAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,0CAAe;;ACnBf,IAAI,oEAAM,qBAAqB,6BAA6B,iBAAiB,4BAA4B,YAAY,kDAAkD;AACvK;AACA,IAAI,6EAAe;;;;;ACIW;AACqB;;AAEnD,MAAM,+CAAY;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,MAAU;AAChC;AACA;AACA;;AAEA;;AAEA,GAAG,mBAAa;AAChB,GAAG,gBAAU,oBAAoB,+CAAY;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;AC7GqI,CAAC,kFAAe,kCAAG,EAAC;;ACA5C;AAChD;AACL;;;AAGzD;AACA,CAAmG;AACnG,IAAI,qBAAS,GAAG,kBAAU;AAC1B,EAAE,6CAAM;AACR,EAAE,oEAAM;AACR,EAAE,6EAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,gDAAe,qBAAS;;;ACjBM;AACqB;;AAEnD,MAAM,kDAAY;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0EAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,MAAU;AAChC;AACA;AACA;;AAEA;;AAEA,GAAG,mBAAa;AAChB,GAAG,gBAAU,oBAAoB,kDAAY;AAC7C;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;ACpEwI,CAAC,qFAAe,qCAAG,EAAC;;ACA7J,IAAI,qBAAM,EAAE,8BAAe;AAC3B,CAAiE;AACL;;;AAG5D;AACA,CAAmG;AACnG,IAAI,wBAAS,GAAG,kBAAU;AAC1B,EAAE,gDAAM;AACR,EAAE,qBAAM;AACR,EAAE,8BAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,mDAAe,wBAAS;;;ACjBM;AACqB;;AAEnD,MAAM,gDAAY;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,MAAU;AAChC;AACA;AACA;;AAEA;;AAEA,GAAG,mBAAa;AAChB,GAAG,gBAAU,oBAAoB,gDAAY;AAC7C;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AC1HsI,CAAC,mFAAe,mCAAG,EAAC;;ACA3J,IAAI,mBAAM,EAAE,4BAAe;AAC3B,CAA+D;AACL;;;AAG1D;AACA,CAAmG;AACnG,IAAI,sBAAS,GAAG,kBAAU;AAC1B,EAAE,8CAAM;AACR,EAAE,mBAAM;AACR,EAAE,4BAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,iDAAe,sBAAS;;AClBxB,IAAI,8EAAM,qBAAqB,6BAA6B,iBAAiB,wCAAwC,cAAc,mBAAmB,+BAA+B;AACrL;AACA,IAAI,uFAAe;;;;;ACIW;;AAE9B,iFAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,MAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AC9E+I,CAAC,4FAAe,4CAAG,EAAC;;;;;;;;;;AGA5C;AAChD;AACL;AACnE,CAAgH;AACZ;;;AAGpG;AACmG;AACnG,IAAI,+BAAS,GAAG,kBAAU;AAC1B,EAAE,uDAAM;AACR,EAAE,8EAAM;AACR,EAAE,uFAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,0DAAe,+BAAS;;ACpBG;AACY;AACM;AACJ;AACkB;AAC3D;AACA,+CAAe;AACf,CAAC,KAAK;AACN,CAAC,WAAW;AACZ,CAAC,cAAc;AACf,CAAC,YAAY;AACb,CAAC,qBAAqB;AACtB,CAAC;;;ACZM;AACP;AACA,2CAAe;AACf;AACA,CAAC;;;ACJgC;AACI;AACH;AAClC;AACA;AACA;AACA;AACA;AACA,SAAS,OAAO;AAChB;AACA;AACA,SAAS,MAAU;AACnB;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU;AACZ;AACA,GAAG;AACH;AACA,yBAAyB,8BAA8B,WAAW;AAClE,qCAAqC;AACrC;AACA,EAAE,MAAU,UAAU,SAAS;AAC/B;AACA,eAAe,MAAU;AACzB;AACA;AACA;AACA;AACqB;AACrB;AACA,0CAAe,WAAW;;;ACjCF;AACA;AACxB,8CAAe,KAAG;AACI","sources":["webpack://@styzy/vue-amap/./src/Components/VAMap.vue?72be","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?f722","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?9f64","webpack://@styzy/vue-amap/./node_modules/css-loader/dist/runtime/api.js","webpack://@styzy/vue-amap/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://@styzy/vue-amap/./src/Components/VAMap.vue?77c6","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?ff9f","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?90cf","webpack://@styzy/vue-amap/./node_modules/vue-style-loader/lib/listToStyles.js","webpack://@styzy/vue-amap/./node_modules/vue-style-loader/lib/addStylesClient.js","webpack://@styzy/vue-amap/webpack/bootstrap","webpack://@styzy/vue-amap/webpack/runtime/compat get default export","webpack://@styzy/vue-amap/webpack/runtime/define property getters","webpack://@styzy/vue-amap/webpack/runtime/hasOwnProperty shorthand","webpack://@styzy/vue-amap/webpack/runtime/make namespace object","webpack://@styzy/vue-amap/webpack/runtime/publicPath","webpack://@styzy/vue-amap/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://@styzy/vue-amap/./src/CONSTANTS/index.js","webpack://@styzy/vue-amap/./src/loader/index.js","webpack://@styzy/vue-amap/./src/Components/VAMap.vue?40d1","webpack://@styzy/vue-amap/./src/utils/listenerProxy.js","webpack://@styzy/vue-amap/./src/utils/typeOf.js","webpack://@styzy/vue-amap/./src/utils/watchProps.js","webpack://@styzy/vue-amap/src/Components/VAMap.vue","webpack://@styzy/vue-amap/./src/Components/VAMap.vue?3795","webpack://@styzy/vue-amap/./src/Components/VAMap.vue?483b","webpack://@styzy/vue-amap/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://@styzy/vue-amap/./src/Components/VAMap.vue","webpack://@styzy/vue-amap/./src/Components/VAMapMarker.vue?b7cd","webpack://@styzy/vue-amap/src/Components/VAMapMarker.vue","webpack://@styzy/vue-amap/./src/Components/VAMapMarker.vue?7c70","webpack://@styzy/vue-amap/./src/Components/VAMapMarker.vue","webpack://@styzy/vue-amap/src/Components/VAMapMassMarks.vue","webpack://@styzy/vue-amap/./src/Components/VAMapMassMarks.vue?0a8c","webpack://@styzy/vue-amap/./src/Components/VAMapMassMarks.vue","webpack://@styzy/vue-amap/src/Components/VAMapPolygon.vue","webpack://@styzy/vue-amap/./src/Components/VAMapPolygon.vue?6a80","webpack://@styzy/vue-amap/./src/Components/VAMapPolygon.vue","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?5bdf","webpack://@styzy/vue-amap/src/Components/VAMapPlaceSearchInput.vue","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?c63c","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?4bab","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?22c2","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue","webpack://@styzy/vue-amap/./src/Components/index.js","webpack://@styzy/vue-amap/./src/config/index.js","webpack://@styzy/vue-amap/./src/index.js","webpack://@styzy/vue-amap/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-amap-ctn[data-v-0a8871e0],.v-amap-ctn .v-amap[data-v-0a8871e0]{height:100%}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-amap-place-search-input input[data-v-57fd4556]{display:inline-block;box-sizing:border-box;padding:0 15px;width:100%;height:40px;outline:0;border:1px solid #dcdfe6;border-radius:4px;background-color:#fff;background-image:none;color:#606266;font-size:inherit;line-height:40px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);-webkit-appearance:none}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".amap-sug-result{display:none}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=style&index=0&id=0a8871e0&prod&lang=stylus&scoped=true\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"7ebf2e0a\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=57fd4556&prod&lang=stylus&scoped=true\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"22170536\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=57fd4556&prod&lang=stylus\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"68fe21ac\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nexport default function addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","const CONSTANTS = {\r\n\tSDK_URL: 'https://webapi.amap.com/maps',\r\n\tCALLBACK_NAME: 'aMapInitCallback'\r\n}\r\n\r\nexport default CONSTANTS\r\n","import CONSTANTS from '../CONSTANTS'\r\n\r\nclass Loader {\r\n\tget key() {\r\n\t\treturn this._key\r\n\t}\r\n\tget version() {\r\n\t\treturn this._version\r\n\t}\r\n\tget uiVersion() {\r\n\t\treturn this._uiVersion\r\n\t}\r\n\tget plugins() {\r\n\t\treturn this._plugins\r\n\t}\r\n\tget sdkUrl() {\r\n\t\treturn `${CONSTANTS.SDK_URL}?v=${this.version}&key=${\r\n\t\t\tthis.key\r\n\t\t}&callback=${this.callbackName}&plugin=${this.plugins.join(',')}`\r\n\t}\r\n\tget uiSdkUrl() {\r\n\t\treturn `https://webapi.amap.com/ui/${this.uiVersion}/main-async.js`\r\n\t}\r\n\tget callbackName() {\r\n\t\treturn this._callbackName\r\n\t}\r\n\tget isSdkLoaded() {\r\n\t\treturn this._isSdkLoaded\r\n\t}\r\n\tget isSdkLoading() {\r\n\t\treturn this._isSdkLoading\r\n\t}\r\n\tget callbacks() {\r\n\t\treturn this._callbacks\r\n\t}\r\n\tconstructor() {\r\n\t\tthis._loadCallback = null\r\n\t\tthis._callbackName = `${CONSTANTS.CALLBACK_NAME}_${Date.now()}`\r\n\t\tthis._isSdkLoaded = false\r\n\t\tthis._isSdkLoading = false\r\n\t\tthis._callbacks = []\r\n\t}\r\n\t_loadScript(url, callback) {\r\n\t\tlet el_script = document.createElement('script')\r\n\t\tel_script.charset = 'utf-8'\r\n\t\tel_script.src = url\r\n\r\n\t\tif (el_script.addEventListener) {\r\n\t\t\tel_script.addEventListener('load', () => {\r\n\t\t\t\tcallback && callback()\r\n\t\t\t})\r\n\t\t} else if (el_script.attachEvent) {\r\n\t\t\tel_script.attachEvent('onreadystatechange', () => {\r\n\t\t\t\tlet target = window.event.srcElement\r\n\t\t\t\tif (target.readyState == 'loaded') {\r\n\t\t\t\t\tcallback && callback()\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t\tdocument.head.appendChild(el_script)\r\n\t}\r\n\tconfig({ key = '', version = '', uiVersion = '', plugins } = {}) {\r\n\t\tthis._key = key\r\n\t\tthis._version = version\r\n\t\tthis._uiVersion = uiVersion\r\n\t\tthis._plugins = plugins\r\n\t}\r\n\tasync load() {\r\n\t\tif (this.isSdkLoaded) return window.AMap\r\n\r\n\t\tif (this.isSdkLoading)\r\n\t\t\treturn new Promise(resolve => {\r\n\t\t\t\tthis.callbacks.push(() => {\r\n\t\t\t\t\tresolve(window.AMap)\r\n\t\t\t\t})\r\n\t\t\t})\r\n\r\n\t\treturn new Promise(resolve => {\r\n\t\t\tthis._isSdkLoading = true\r\n\r\n\t\t\twindow[this.callbackName] = () => {\r\n\t\t\t\tthis._isSdkLoaded = true\r\n\t\t\t\tthis._isSdkLoading = false\r\n\r\n\t\t\t\tif (this.uiVersion) {\r\n\t\t\t\t\twindow.initAMapUI()\r\n\t\t\t\t}\r\n\r\n\t\t\t\tdelete window[this.callbackName]\r\n\t\t\t\tresolve(window.AMap)\r\n\r\n\t\t\t\tthis.callbacks.forEach(callback => {\r\n\t\t\t\t\tcallback && callback()\r\n\t\t\t\t})\r\n\r\n\t\t\t\tthis._callbacks = []\r\n\t\t\t}\r\n\t\t\tif (this.uiVersion) {\r\n\t\t\t\tthis._loadScript(this.uiSdkUrl, () => {\r\n\t\t\t\t\tthis._loadScript(this.sdkUrl)\r\n\t\t\t\t})\r\n\t\t\t} else {\r\n\t\t\t\tthis._loadScript(this.sdkUrl)\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n}\r\n\r\nexport default new Loader()\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-ctn\"},[_c('div',{ref:\"aMap\",staticClass:\"v-amap\"}),(_vm.AMap && _vm.aMap)?[_vm._t(\"default\",null,{\"AMap\":_vm.AMap,\"aMap\":_vm.aMap})]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","const listenerProxy = (aMapObject, vm) => {\r\n\tconst listeners = vm.$listeners\r\n\r\n\tfor (const event in listeners) {\r\n\t\tif (Object.hasOwnProperty.call(listeners, event)) {\r\n\t\t\tconst handler = listeners[event]\r\n\r\n\t\t\taMapObject.on(event, (...args) => {\r\n\t\t\t\thandler(...args)\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport default listenerProxy\r\n","const typeOf = function (param) {\r\n\treturn Object.prototype.toString.call(param).match(/\\s+(\\w+)/)[1]\r\n}\r\n\r\nexport default typeOf\r\n","import typeOf from './typeOf'\r\n\r\nconst watchProps = (aMapObject, vm, props) => {\r\n\tprops\r\n\t\t.map(prop => {\r\n\t\t\tif (typeOf(prop) === 'String')\r\n\t\t\t\treturn { prop, watchProp: `$attrs.${prop}` }\r\n\t\t\tif (typeOf(prop) === 'Array')\r\n\t\t\t\treturn {\r\n\t\t\t\t\tprop: prop[0],\r\n\t\t\t\t\twatchProp: `$attrs.${prop[0]}`,\r\n\t\t\t\t\thandler: prop[1]\r\n\t\t\t\t}\r\n\t\t})\r\n\t\t.forEach(({ watchProp, prop, handler }) => {\r\n\t\t\tvm.$watch(watchProp, (newValue, oldValue) => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (handler) {\r\n\t\t\t\t\t\thandler.call(vm, aMapObject, newValue, oldValue)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\taMapObject[\r\n\t\t\t\t\t\t\t`set${prop.replace(prop[0], prop[0].toUpperCase())}`\r\n\t\t\t\t\t\t](newValue)\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (error) {\r\n\t\t\t\t\t// eslint-disable-next-line\r\n\t\t\t\t\tconsole.error('Props watch error:', error)\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t})\r\n}\r\n\r\nexport default watchProps\r\n","<template lang=\"pug\">\r\n.v-amap-ctn\r\n\t.v-amap(ref=\"aMap\")\r\n\ttemplate(v-if=\"AMap && aMap\")\r\n\t\tslot(:AMap=\"AMap\" :aMap=\"aMap\")\r\n</template>\r\n\r\n<script>\r\nimport AMapManager, { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'zoom',\r\n\t[\r\n\t\t'center',\r\n\t\tfunction (aMap, newValue, oldValue) {\r\n\t\t\tif (newValue === oldValue) return\r\n\t\t\taMap.setCenter(newValue)\r\n\t\t}\r\n\t],\r\n\t'labelzIndex',\r\n\t'lang',\r\n\t'defaultCursor',\r\n\t'features',\r\n\t'mapStyle',\r\n\t'pitch'\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMap',\r\n\tprovide() {\r\n\t\treturn {\r\n\t\t\tgetMap: this.getMap\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tAMap: null,\r\n\t\t\taMap: null\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis._createMap()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._destroyMap()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMap() {\r\n\t\t\tthis.AMap = await AMapLoader.load()\r\n\r\n\t\t\tconst options = Object.assign(\r\n\t\t\t\t{},\r\n\t\t\t\tAMapManager.globalMapOptions,\r\n\t\t\t\tthis.$attrs\r\n\t\t\t)\r\n\r\n\t\t\tthis.aMap = new this.AMap.Map(this.$refs.aMap, options)\r\n\r\n\t\t\tlistenerProxy(this.aMap, this)\r\n\t\t\twatchProps(this.aMap, this, watchedProps)\r\n\r\n\t\t\tthis.$emit('init', this.aMap, this.AMap)\r\n\t\t},\r\n\t\t_destroyMap() {\r\n\t\t\tthis.aMap && this.aMap.destroy()\r\n\t\t},\r\n\t\tgetMap() {\r\n\t\t\treturn this.aMap\r\n\t\t}\r\n\t\t// addMarker(marker) {\r\n\t\t// \tthis.aMap && this.aMap.add(marker)\r\n\t\t// },\r\n\t\t// removeMarker(marker) {\r\n\t\t// \tthis.aMap && this.aMap.remove(marker)\r\n\t\t// }\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped>\r\n.v-amap-ctn\r\n\t// overflow hidden\r\n\theight 100%\r\n\t.v-amap\r\n\t\theight 100%\r\n</style>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=script&lang=js\"","export * from \"-!../../node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=style&index=0&id=0a8871e0&prod&lang=stylus&scoped=true\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./VAMap.vue?vue&type=template&id=0a8871e0&scoped=true&lang=pug\"\nimport script from \"./VAMap.vue?vue&type=script&lang=js\"\nexport * from \"./VAMap.vue?vue&type=script&lang=js\"\nimport style0 from \"./VAMap.vue?vue&type=style&index=0&id=0a8871e0&prod&lang=stylus&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a8871e0\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-marker\"},[_c('div',{ref:\"content\",staticClass:\"v-amap-marker-content\"},[_vm._t(\"default\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"pug\">\r\n.v-amap-marker\r\n\t.v-amap-marker-content(ref=\"content\")\r\n\t\tslot\r\n</template>\r\n<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'position',\r\n\t'anchor',\r\n\t'offset',\r\n\t'icon',\r\n\t'draggable',\r\n\t'cursor',\r\n\t[\r\n\t\t'visible',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t\tvalue && this._updateMarkerContent()\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'zIndex',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setzIndex(value)\r\n\t\t}\r\n\t],\r\n\t'angle',\r\n\t'animation',\r\n\t'shadow',\r\n\t'title',\r\n\t'clickable',\r\n\t'shape',\r\n\t'extData',\r\n\t'label'\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapMarker',\r\n\tinject: ['getMap'],\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null,\r\n\t\t\tisFixedMarkerSize: false\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\thasSlot() {\r\n\t\t\treturn !!this.$scopedSlots.default\r\n\t\t}\r\n\t},\r\n\tasync mounted() {\r\n\t\tawait this._createMarker()\r\n\t\tthis._addMarker()\r\n\t},\r\n\tasync updated() {\r\n\t\tif (!this.marker) return\r\n\t\tif (this.isFixedMarkerSize) return\r\n\r\n\t\tthis.isFixedMarkerSize = true\r\n\r\n\t\tawait this.$nextTick()\r\n\r\n\t\tthis._updateMarkerContent()\r\n\t},\r\n\tbeforeDestroy() {\r\n\t\tthis._resetMarkerContent()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tcontent: this._getMarkerContent()\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.Marker(options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\t\t},\r\n\t\t_getMarkerContent() {\r\n\t\t\treturn this.hasSlot ? this.$refs.content : null\r\n\t\t},\r\n\t\t_updateMarkerContent() {\r\n\t\t\tif (!this.hasSlot) return\r\n\r\n\t\t\tthis.marker.setContent(this._getMarkerContent())\r\n\t\t},\r\n\t\t_resetMarkerContent() {\r\n\t\t\tif (!this.hasSlot) return\r\n\r\n\t\t\tthis.$el.appendChild(this.$refs.content)\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tthis.getMap()?.add(this.marker)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\r\n\t\t\tthis.getMap()?.remove(this.marker)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped></style>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapMarker.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapMarker.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./VAMapMarker.vue?vue&type=template&id=6931c341&scoped=true&lang=pug\"\nimport script from \"./VAMapMarker.vue?vue&type=script&lang=js\"\nexport * from \"./VAMapMarker.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6931c341\",\n null\n \n)\n\nexport default component.exports","<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t// 新增属性\r\n\t[\r\n\t\t'data',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setData(value)\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'styleObject',\r\n\t\t(marker, value) => {\r\n\t\t\tmarker.setStyle(value)\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'visible',\r\n\t\t(marker, value) => {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t}\r\n\t]\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapMassMarks',\r\n\tinject: ['getMap'],\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null\r\n\t\t}\r\n\t},\r\n\tasync created() {\r\n\t\tawait this._createMarker()\r\n\t\tthis._addMarker()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tstyle: this.$attrs.styleObject || {}\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.MassMarks(this.$attrs.data || [], options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tthis.marker.setMap(this.getMap())\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\r\n\t\t\tthis.marker.clear()\r\n\t\t\tthis.marker.setMap()\r\n\t\t}\r\n\t},\r\n\trender() {\r\n\t\treturn null\r\n\t}\r\n}\r\n</script>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapMassMarks.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapMassMarks.vue?vue&type=script&lang=js\"","var render, staticRenderFns\nimport script from \"./VAMapMassMarks.vue?vue&type=script&lang=js\"\nexport * from \"./VAMapMassMarks.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'path',\r\n\t// 新增属性\r\n\t[\r\n\t\t'visible',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'zIndex',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ zIndex: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'bubble',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ bubble: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'cursor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ cursor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeColor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeColor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeOpacity',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeOpacity: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeWeight',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeWeight: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeStyle',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeStyle: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeDasharray',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeDasharray: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'fillColor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ fillColor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'fillOpacity',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ fillOpacity: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'draggable',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ draggable: value })\r\n\t\t}\r\n\t]\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapPolygon',\r\n\tinject: ['getMap'],\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null\r\n\t\t}\r\n\t},\r\n\tasync created() {\r\n\t\tawait this._createMarker()\r\n\t\tthis._addMarker()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tmap: undefined\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.Polygon(options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tthis.getMap()?.add(this.marker)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\r\n\t\t\tthis.getMap()?.remove(this.marker)\r\n\t\t}\r\n\t},\r\n\trender() {\r\n\t\treturn null\r\n\t}\r\n}\r\n</script>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPolygon.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPolygon.vue?vue&type=script&lang=js\"","var render, staticRenderFns\nimport script from \"./VAMapPolygon.vue?vue&type=script&lang=js\"\nexport * from \"./VAMapPolygon.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-place-search-input\"},[_c('input',{ref:\"input\",attrs:{\"placeholder\":_vm.placeholder}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"pug\">\r\n.v-amap-place-search-input\r\n\tinput(:placeholder=\"placeholder\" ref=\"input\")\r\n</template>\r\n\r\n<script>\r\nimport { AMapLoader } from '@'\r\n\r\nexport default {\r\n\tname: 'VAMapPlaceSearchInput',\r\n\tprops: {\r\n\t\tplaceholder: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\tcustomEnable: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tAMap: null,\r\n\t\t\tautocompleteListener: null,\r\n\t\t\tplaceSearchListener: null\r\n\t\t}\r\n\t},\r\n\tasync mounted() {\r\n\t\tthis.AMap = await AMapLoader.load()\r\n\t\tthis.addListener()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis.removeListener()\r\n\t},\r\n\tmethods: {\r\n\t\tasync addListener() {\r\n\t\t\tconst autocomplete = new this.AMap.Autocomplete({\r\n\t\t\t\t\tinput: this.$refs.input\r\n\t\t\t\t}),\r\n\t\t\t\tplaceSearch = new this.AMap.PlaceSearch({})\r\n\r\n\t\t\tthis.autocompleteListener = this.AMap.event.addListener(\r\n\t\t\t\tautocomplete,\r\n\t\t\t\t'select',\r\n\t\t\t\tevent => {\r\n\t\t\t\t\tplaceSearch.search(event.poi.name)\r\n\t\t\t\t}\r\n\t\t\t)\r\n\r\n\t\t\tthis.placeSearchListener = this.AMap.event.addListener(\r\n\t\t\t\tplaceSearch,\r\n\t\t\t\t'complete',\r\n\t\t\t\tevent => {\r\n\t\t\t\t\tvar position = null\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\tevent &&\r\n\t\t\t\t\t\tevent.poiList &&\r\n\t\t\t\t\t\tevent.poiList.pois &&\r\n\t\t\t\t\t\tevent.poiList.pois.length\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tposition = [\r\n\t\t\t\t\t\t\tevent.poiList.pois[0].location.lng,\r\n\t\t\t\t\t\t\tevent.poiList.pois[0].location.lat\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$emit('change', position)\r\n\r\n\t\t\t\t\tif (!position && !this.customEnable) {\r\n\t\t\t\t\t\tthis.$refs.input.value = ''\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t)\r\n\t\t},\r\n\t\tremoveListener() {\r\n\t\t\tthis.AMap.event.removeListener(this.autocompleteListener)\r\n\t\t\tthis.AMap.event.removeListener(this.placeSearchListener)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped>\r\n.v-amap-place-search-input\r\n\tinput\r\n\t\tdisplay inline-block\r\n\t\tbox-sizing border-box\r\n\t\tpadding 0 15px\r\n\t\twidth 100%\r\n\t\theight 40px\r\n\t\toutline 0\r\n\t\tborder 1px solid #DCDFE6\r\n\t\tborder-radius 4px\r\n\t\tbackground-color #FFF\r\n\t\tbackground-image none\r\n\t\tcolor #606266\r\n\t\tfont-size inherit\r\n\t\tline-height 40px\r\n\t\ttransition border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n\t\t-webkit-appearance none\r\n</style>\r\n\r\n<style lang=\"stylus\">\r\n.amap-sug-result\r\n\tdisplay none\r\n</style>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=script&lang=js\"","export * from \"-!../../node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=57fd4556&prod&lang=stylus&scoped=true\"","export * from \"-!../../node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=57fd4556&prod&lang=stylus\"","import { render, staticRenderFns } from \"./VAMapPlaceSearchInput.vue?vue&type=template&id=57fd4556&scoped=true&lang=pug\"\nimport script from \"./VAMapPlaceSearchInput.vue?vue&type=script&lang=js\"\nexport * from \"./VAMapPlaceSearchInput.vue?vue&type=script&lang=js\"\nimport style0 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=57fd4556&prod&lang=stylus&scoped=true\"\nimport style1 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=57fd4556&prod&lang=stylus\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"57fd4556\",\n null\n \n)\n\nexport default component.exports","import VAMap from './VAMap'\r\nimport VAMapMarker from './VAMapMarker'\r\nimport VAMapMassMarks from './VAMapMassMarks'\r\nimport VAMapPolygon from './VAMapPolygon'\r\nimport VAMapPlaceSearchInput from './VAMapPlaceSearchInput'\r\n\r\nexport default [\r\n\tVAMap,\r\n\tVAMapMarker,\r\n\tVAMapMassMarks,\r\n\tVAMapPolygon,\r\n\tVAMapPlaceSearchInput\r\n]\r\n","export const version = '1.1.0'\r\n\r\nexport default {\r\n\tversion\r\n}\r\n","import AMapLoader from './loader'\r\nimport Components from './Components'\r\nimport { version } from './config'\r\n\r\nlet globalMapOptions = {}\r\n\r\nclass AMapManager {\r\n\tstatic get version() {\r\n\t\treturn version\r\n\t}\r\n\tstatic get AMapLoader() {\r\n\t\treturn AMapLoader\r\n\t}\r\n\tstatic get globalMapOptions() {\r\n\t\treturn globalMapOptions\r\n\t}\r\n\tstatic install(Vue) {\r\n\t\tComponents.forEach(Component => {\r\n\t\t\tVue.component(Component.name, Component)\r\n\t\t})\r\n\t}\r\n\tstatic async initAMap({ globalMapOptions: options = {}, ...args }) {\r\n\t\tglobalMapOptions = Object.assign({}, options)\r\n\r\n\t\tAMapLoader.config({ ...args })\r\n\r\n\t\treturn await AMapLoader.load()\r\n\t}\r\n\tconstructor() {}\r\n}\r\n\r\nexport { AMapLoader }\r\n\r\nexport default AMapManager\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"vue-amap.common.js","mappings":";;;;;;;;;;;;AAAA;AACkH;AACtB;AAC5F,8BAA8B,mFAA2B,CAAC,8FAAwC;AAClG;AACA,4GAA4G,YAAY;AACxH;AACA,+DAAe,uBAAuB,EAAC;;;;;;;;;;;;;;ACPvC;AACkH;AACtB;AAC5F,8BAA8B,mFAA2B,CAAC,8FAAwC;AAClG;AACA,4FAA4F,qBAAqB,sBAAsB,eAAe,WAAW,YAAY,UAAU,yBAAyB,kBAAkB,sBAAsB,sBAAsB,cAAc,kBAAkB,iBAAiB,2DAA2D,wBAAwB;AAClZ;AACA,+DAAe,uBAAuB,EAAC;;;;;;;;;;;;;;ACPvC;AACkH;AACtB;AAC5F,8BAA8B,mFAA2B,CAAC,8FAAwC;AAClG;AACA,2DAA2D,aAAa;AACxE;AACA,+DAAe,uBAAuB,EAAC;;;;;;;;;ACP1B;;AAEb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA,gDAAgD;AAChD;AACA;AACA,qFAAqF;AACrF;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,qBAAqB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sFAAsF,qBAAqB;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,iDAAiD,qBAAqB;AACtE;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sDAAsD,qBAAqB;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpFa;;AAEb;AACA;AACA;;;;;;;ACJA;;AAEA;AACA,cAAc,mBAAO,CAAC,GAAif;AACvgB;AACA;AACA;AACA;AACA,UAAU,8CAA8E;AACxF,6CAA6C,qCAAqC;;;;;;;ACTlF;;AAEA;AACA,cAAc,mBAAO,CAAC,GAAigB;AACvhB;AACA;AACA;AACA;AACA,UAAU,8CAA8E;AACxF,6CAA6C,qCAAqC;;;;;;;ACTlF;;AAEA;AACA,cAAc,mBAAO,CAAC,GAAqf;AAC3gB;AACA;AACA;AACA;AACA,UAAU,8CAA8E;AACxF,6CAA6C,qCAAqC;;;;;;;;;;;;;;;ACTlF;AACA;AACA;AACA;AACe;AACf;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,uBAAuB;AAC3D,MAAM;AACN;AACA;AACA;AACA;AACA;;;AC1BA;AACA;AACA;AACA;AACA;;AAEyC;;AAEzC;;AAEA;AACA;AACA;AACA;AACA,WAAW,iBAAiB;AAC5B;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEe;AACf;;AAEA;;AAEA,eAAe,YAAY;AAC3B;;AAEA;AACA;AACA,oBAAoB,mBAAmB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA,MAAM;AACN;AACA;AACA,oBAAoB,sBAAsB;AAC1C;AACA;AACA,wBAAwB,2BAA2B;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;AACA;AACA,sBAAsB,2BAA2B;AACjD;AACA;AACA,aAAa,uBAAuB;AACpC;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,sBAAsB,uBAAuB;AAC7C;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;;;;;;UC7NA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;;;;;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,kDAAe,IAAI;;;ACtBnB;AACA;AACA;AACA;AACA;AACA,kDAAe,SAAS;;;ACLY;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,aAAS,SAAS,KAAK,aAAa;AAChD;AACA,GAAG,YAAY,kBAAkB,UAAU,uBAAuB;AAClE;AACA;AACA,uCAAuC,eAAe;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,aAAS,eAAe,GAAG,WAAW;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,UAAU,kDAAkD,IAAI;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,2CAAe,YAAY;;;AC5G3B,+BAA+B,6BAA6B,iBAAiB,yBAAyB,YAAY,gCAAgC,iDAAiD,gCAAgC;AACnO;AACA;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,wDAAe,aAAa;;;ACd5B;AACA;AACA;AACA;AACA,iDAAe,MAAM;;;ACJQ;AAC7B;AACA;AACA;AACA;AACA,OAAO,YAAM;AACb,aAAa,2BAA2B,KAAK;AAC7C,OAAO,YAAM;AACb;AACA;AACA,0BAA0B,QAAQ;AAClC;AACA;AACA,GAAG;AACH,cAAc,0BAA0B;AACxC;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,aAAa,6CAA6C;AAC1D;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,IAAI;AACJ,GAAG;AACH;AACA;AACA,qDAAe,UAAU;;;;ACxBkB;AACQ;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,MAAU;;AAE/B;AACA;AACA,IAAI,KAAW;AACf;AACA;;AAEA;;AAEA,GAAG,mBAAa;AAChB,GAAG,gBAAU;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AC7E+H,CAAC,4EAAe,4BAAG,EAAC;;;;;;AEApJ;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC/FwG;AAChD;AACL;AACnD,CAAgG;;;AAGhG;AACmG;AACnG,gBAAgB,kBAAU;AAC1B,EAAE,uCAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,0CAAe;;ACnBf,IAAI,oEAAM,qBAAqB,6BAA6B,iBAAiB,4BAA4B,YAAY,kDAAkD;AACvK;AACA,IAAI,6EAAe;;;;;ACIW;AACqB;;AAEnD,MAAM,+CAAY;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,MAAU;AAChC;AACA;AACA;;AAEA;;AAEA,GAAG,mBAAa;AAChB,GAAG,gBAAU,oBAAoB,+CAAY;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;AC7GqI,CAAC,kFAAe,kCAAG,EAAC;;ACA5C;AAChD;AACL;;;AAGzD;AACA,CAAmG;AACnG,IAAI,qBAAS,GAAG,kBAAU;AAC1B,EAAE,6CAAM;AACR,EAAE,oEAAM;AACR,EAAE,6EAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,gDAAe,qBAAS;;;ACjBM;AACqB;;AAEnD,MAAM,kDAAY;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0EAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,MAAU;AAChC;AACA;AACA;;AAEA;;AAEA,GAAG,mBAAa;AAChB,GAAG,gBAAU,oBAAoB,kDAAY;AAC7C;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;ACpEwI,CAAC,qFAAe,qCAAG,EAAC;;ACA7J,IAAI,qBAAM,EAAE,8BAAe;AAC3B,CAAiE;AACL;;;AAG5D;AACA,CAAmG;AACnG,IAAI,wBAAS,GAAG,kBAAU;AAC1B,EAAE,gDAAM;AACR,EAAE,qBAAM;AACR,EAAE,8BAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,mDAAe,wBAAS;;;ACjBM;AACqB;;AAEnD,MAAM,gDAAY;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,MAAU;AAChC;AACA;AACA;;AAEA;;AAEA,GAAG,mBAAa;AAChB,GAAG,gBAAU,oBAAoB,gDAAY;AAC7C;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AC1HsI,CAAC,mFAAe,mCAAG,EAAC;;ACA3J,IAAI,mBAAM,EAAE,4BAAe;AAC3B,CAA+D;AACL;;;AAG1D;AACA,CAAmG;AACnG,IAAI,sBAAS,GAAG,kBAAU;AAC1B,EAAE,8CAAM;AACR,EAAE,mBAAM;AACR,EAAE,4BAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,iDAAe,sBAAS;;AClBxB,IAAI,8EAAM,qBAAqB,6BAA6B,iBAAiB,wCAAwC,cAAc,aAAa,8EAA8E,qBAAqB,8BAA8B,WAAW,yBAAyB,KAAK,wBAAwB,wBAAwB,0BAA0B,kCAAkC,qCAAqC;AAC3c;AACA,IAAI,uFAAe;;;;;ACSW;;AAE9B,iFAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,MAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;ACpG+I,CAAC,4FAAe,4CAAG,EAAC;;;;;;;;;;AGA5C;AAChD;AACL;AACnE,CAAgH;AACZ;;;AAGpG;AACmG;AACnG,IAAI,+BAAS,GAAG,kBAAU;AAC1B,EAAE,uDAAM;AACR,EAAE,8EAAM;AACR,EAAE,uFAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,0DAAe,+BAAS;;ACpBG;AACY;AACM;AACJ;AACkB;AAC3D;AACA,+CAAe;AACf,CAAC,KAAK;AACN,CAAC,WAAW;AACZ,CAAC,cAAc;AACf,CAAC,YAAY;AACb,CAAC,qBAAqB;AACtB,CAAC;;;;;ACZsC;AACvC;AACO,gBAAgB,0BAAmB;;;ACFT;AACI;AACH;AAClC;AACA;AACA;AACA;AACA;AACA,SAAS,OAAO;AAChB;AACA;AACA,SAAS,MAAU;AACnB;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU;AACZ;AACA,GAAG;AACH;AACA,yBAAyB,8BAA8B,WAAW;AAClE,qCAAqC;AACrC;AACA,EAAE,MAAU,UAAU,SAAS;AAC/B;AACA,eAAe,MAAU;AACzB;AACA;AACA;AACA;AACqB;AACrB;AACA,0CAAe,WAAW;;;ACjCF;AACA;AACxB,8CAAe,KAAG;AACI","sources":["webpack://@styzy/vue-amap/./src/Components/VAMap.vue?72be","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?d221","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?ffe1","webpack://@styzy/vue-amap/./node_modules/css-loader/dist/runtime/api.js","webpack://@styzy/vue-amap/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://@styzy/vue-amap/./src/Components/VAMap.vue?77c6","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?7362","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?a094","webpack://@styzy/vue-amap/./node_modules/vue-style-loader/lib/listToStyles.js","webpack://@styzy/vue-amap/./node_modules/vue-style-loader/lib/addStylesClient.js","webpack://@styzy/vue-amap/webpack/bootstrap","webpack://@styzy/vue-amap/webpack/runtime/compat get default export","webpack://@styzy/vue-amap/webpack/runtime/define property getters","webpack://@styzy/vue-amap/webpack/runtime/hasOwnProperty shorthand","webpack://@styzy/vue-amap/webpack/runtime/make namespace object","webpack://@styzy/vue-amap/webpack/runtime/publicPath","webpack://@styzy/vue-amap/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://@styzy/vue-amap/./src/CONSTANTS/index.js","webpack://@styzy/vue-amap/./src/loader/index.js","webpack://@styzy/vue-amap/./src/Components/VAMap.vue?40d1","webpack://@styzy/vue-amap/./src/utils/listenerProxy.js","webpack://@styzy/vue-amap/./src/utils/typeOf.js","webpack://@styzy/vue-amap/./src/utils/watchProps.js","webpack://@styzy/vue-amap/src/Components/VAMap.vue","webpack://@styzy/vue-amap/./src/Components/VAMap.vue?3795","webpack://@styzy/vue-amap/./src/Components/VAMap.vue?483b","webpack://@styzy/vue-amap/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://@styzy/vue-amap/./src/Components/VAMap.vue","webpack://@styzy/vue-amap/./src/Components/VAMapMarker.vue?b7cd","webpack://@styzy/vue-amap/src/Components/VAMapMarker.vue","webpack://@styzy/vue-amap/./src/Components/VAMapMarker.vue?7c70","webpack://@styzy/vue-amap/./src/Components/VAMapMarker.vue","webpack://@styzy/vue-amap/src/Components/VAMapMassMarks.vue","webpack://@styzy/vue-amap/./src/Components/VAMapMassMarks.vue?0a8c","webpack://@styzy/vue-amap/./src/Components/VAMapMassMarks.vue","webpack://@styzy/vue-amap/src/Components/VAMapPolygon.vue","webpack://@styzy/vue-amap/./src/Components/VAMapPolygon.vue?6a80","webpack://@styzy/vue-amap/./src/Components/VAMapPolygon.vue","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?8dee","webpack://@styzy/vue-amap/src/Components/VAMapPlaceSearchInput.vue","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?c63c","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?e1a8","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?062d","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue","webpack://@styzy/vue-amap/./src/Components/index.js","webpack://@styzy/vue-amap/./src/config/index.js","webpack://@styzy/vue-amap/./src/index.js","webpack://@styzy/vue-amap/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-amap-ctn[data-v-0a8871e0],.v-amap-ctn .v-amap[data-v-0a8871e0]{height:100%}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-amap-place-search-input input[data-v-6ff464e0]{display:inline-block;box-sizing:border-box;padding:0 15px;width:100%;height:40px;outline:0;border:1px solid #dcdfe6;border-radius:4px;background-color:#fff;background-image:none;color:#606266;font-size:inherit;line-height:40px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);-webkit-appearance:none}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".amap-sug-result{display:none}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=style&index=0&id=0a8871e0&prod&lang=stylus&scoped=true\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"7ebf2e0a\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=6ff464e0&prod&lang=stylus&scoped=true\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"73397e1b\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=6ff464e0&prod&lang=stylus\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"56e9ebde\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nexport default function addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","const CONSTANTS = {\r\n\tSDK_URL: 'https://webapi.amap.com/maps',\r\n\tCALLBACK_NAME: 'aMapInitCallback'\r\n}\r\n\r\nexport default CONSTANTS\r\n","import CONSTANTS from '../CONSTANTS'\r\n\r\nclass Loader {\r\n\tget key() {\r\n\t\treturn this._key\r\n\t}\r\n\tget version() {\r\n\t\treturn this._version\r\n\t}\r\n\tget uiVersion() {\r\n\t\treturn this._uiVersion\r\n\t}\r\n\tget plugins() {\r\n\t\treturn this._plugins\r\n\t}\r\n\tget sdkUrl() {\r\n\t\treturn `${CONSTANTS.SDK_URL}?v=${this.version}&key=${\r\n\t\t\tthis.key\r\n\t\t}&callback=${this.callbackName}&plugin=${this.plugins.join(',')}`\r\n\t}\r\n\tget uiSdkUrl() {\r\n\t\treturn `https://webapi.amap.com/ui/${this.uiVersion}/main-async.js`\r\n\t}\r\n\tget callbackName() {\r\n\t\treturn this._callbackName\r\n\t}\r\n\tget isSdkLoaded() {\r\n\t\treturn this._isSdkLoaded\r\n\t}\r\n\tget isSdkLoading() {\r\n\t\treturn this._isSdkLoading\r\n\t}\r\n\tget callbacks() {\r\n\t\treturn this._callbacks\r\n\t}\r\n\tconstructor() {\r\n\t\tthis._loadCallback = null\r\n\t\tthis._callbackName = `${CONSTANTS.CALLBACK_NAME}_${Date.now()}`\r\n\t\tthis._isSdkLoaded = false\r\n\t\tthis._isSdkLoading = false\r\n\t\tthis._callbacks = []\r\n\t}\r\n\t_loadScript(url, callback) {\r\n\t\tlet el_script = document.createElement('script')\r\n\t\tel_script.charset = 'utf-8'\r\n\t\tel_script.src = url\r\n\r\n\t\tif (el_script.addEventListener) {\r\n\t\t\tel_script.addEventListener('load', () => {\r\n\t\t\t\tcallback && callback()\r\n\t\t\t})\r\n\t\t} else if (el_script.attachEvent) {\r\n\t\t\tel_script.attachEvent('onreadystatechange', () => {\r\n\t\t\t\tlet target = window.event.srcElement\r\n\t\t\t\tif (target.readyState == 'loaded') {\r\n\t\t\t\t\tcallback && callback()\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t\tdocument.head.appendChild(el_script)\r\n\t}\r\n\tconfig({ key = '', version = '', uiVersion = '', plugins } = {}) {\r\n\t\tthis._key = key\r\n\t\tthis._version = version\r\n\t\tthis._uiVersion = uiVersion\r\n\t\tthis._plugins = plugins\r\n\t}\r\n\tasync load() {\r\n\t\tif (this.isSdkLoaded) return window.AMap\r\n\r\n\t\tif (this.isSdkLoading)\r\n\t\t\treturn new Promise(resolve => {\r\n\t\t\t\tthis.callbacks.push(() => {\r\n\t\t\t\t\tresolve(window.AMap)\r\n\t\t\t\t})\r\n\t\t\t})\r\n\r\n\t\treturn new Promise(resolve => {\r\n\t\t\tthis._isSdkLoading = true\r\n\r\n\t\t\twindow[this.callbackName] = () => {\r\n\t\t\t\tthis._isSdkLoaded = true\r\n\t\t\t\tthis._isSdkLoading = false\r\n\r\n\t\t\t\tif (this.uiVersion) {\r\n\t\t\t\t\twindow.initAMapUI()\r\n\t\t\t\t}\r\n\r\n\t\t\t\tdelete window[this.callbackName]\r\n\t\t\t\tresolve(window.AMap)\r\n\r\n\t\t\t\tthis.callbacks.forEach(callback => {\r\n\t\t\t\t\tcallback && callback()\r\n\t\t\t\t})\r\n\r\n\t\t\t\tthis._callbacks = []\r\n\t\t\t}\r\n\t\t\tif (this.uiVersion) {\r\n\t\t\t\tthis._loadScript(this.uiSdkUrl, () => {\r\n\t\t\t\t\tthis._loadScript(this.sdkUrl)\r\n\t\t\t\t})\r\n\t\t\t} else {\r\n\t\t\t\tthis._loadScript(this.sdkUrl)\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n}\r\n\r\nexport default new Loader()\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-ctn\"},[_c('div',{ref:\"aMap\",staticClass:\"v-amap\"}),(_vm.AMap && _vm.aMap)?[_vm._t(\"default\",null,{\"AMap\":_vm.AMap,\"aMap\":_vm.aMap})]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","const listenerProxy = (aMapObject, vm) => {\r\n\tconst listeners = vm.$listeners\r\n\r\n\tfor (const event in listeners) {\r\n\t\tif (Object.hasOwnProperty.call(listeners, event)) {\r\n\t\t\tconst handler = listeners[event]\r\n\r\n\t\t\taMapObject.on(event, (...args) => {\r\n\t\t\t\thandler(...args)\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n}\r\n\r\nexport default listenerProxy\r\n","const typeOf = function (param) {\r\n\treturn Object.prototype.toString.call(param).match(/\\s+(\\w+)/)[1]\r\n}\r\n\r\nexport default typeOf\r\n","import typeOf from './typeOf'\r\n\r\nconst watchProps = (aMapObject, vm, props) => {\r\n\tprops\r\n\t\t.map(prop => {\r\n\t\t\tif (typeOf(prop) === 'String')\r\n\t\t\t\treturn { prop, watchProp: `$attrs.${prop}` }\r\n\t\t\tif (typeOf(prop) === 'Array')\r\n\t\t\t\treturn {\r\n\t\t\t\t\tprop: prop[0],\r\n\t\t\t\t\twatchProp: `$attrs.${prop[0]}`,\r\n\t\t\t\t\thandler: prop[1]\r\n\t\t\t\t}\r\n\t\t})\r\n\t\t.forEach(({ watchProp, prop, handler }) => {\r\n\t\t\tvm.$watch(watchProp, (newValue, oldValue) => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (handler) {\r\n\t\t\t\t\t\thandler.call(vm, aMapObject, newValue, oldValue)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\taMapObject[\r\n\t\t\t\t\t\t\t`set${prop.replace(prop[0], prop[0].toUpperCase())}`\r\n\t\t\t\t\t\t](newValue)\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (error) {\r\n\t\t\t\t\t// eslint-disable-next-line\r\n\t\t\t\t\tconsole.error('Props watch error:', error)\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t})\r\n}\r\n\r\nexport default watchProps\r\n","<template lang=\"pug\">\r\n.v-amap-ctn\r\n\t.v-amap(ref=\"aMap\")\r\n\ttemplate(v-if=\"AMap && aMap\")\r\n\t\tslot(:AMap=\"AMap\" :aMap=\"aMap\")\r\n</template>\r\n\r\n<script>\r\nimport AMapManager, { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'zoom',\r\n\t[\r\n\t\t'center',\r\n\t\tfunction (aMap, newValue, oldValue) {\r\n\t\t\tif (newValue === oldValue) return\r\n\t\t\taMap.setCenter(newValue)\r\n\t\t}\r\n\t],\r\n\t'labelzIndex',\r\n\t'lang',\r\n\t'defaultCursor',\r\n\t'features',\r\n\t'mapStyle',\r\n\t'pitch'\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMap',\r\n\tprovide() {\r\n\t\treturn {\r\n\t\t\tgetMap: this.getMap\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tAMap: null,\r\n\t\t\taMap: null\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis._createMap()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._destroyMap()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMap() {\r\n\t\t\tthis.AMap = await AMapLoader.load()\r\n\r\n\t\t\tconst options = Object.assign(\r\n\t\t\t\t{},\r\n\t\t\t\tAMapManager.globalMapOptions,\r\n\t\t\t\tthis.$attrs\r\n\t\t\t)\r\n\r\n\t\t\tthis.aMap = new this.AMap.Map(this.$refs.aMap, options)\r\n\r\n\t\t\tlistenerProxy(this.aMap, this)\r\n\t\t\twatchProps(this.aMap, this, watchedProps)\r\n\r\n\t\t\tthis.$emit('init', this.aMap, this.AMap)\r\n\t\t},\r\n\t\t_destroyMap() {\r\n\t\t\tthis.aMap && this.aMap.destroy()\r\n\t\t},\r\n\t\tgetMap() {\r\n\t\t\treturn this.aMap\r\n\t\t}\r\n\t\t// addMarker(marker) {\r\n\t\t// \tthis.aMap && this.aMap.add(marker)\r\n\t\t// },\r\n\t\t// removeMarker(marker) {\r\n\t\t// \tthis.aMap && this.aMap.remove(marker)\r\n\t\t// }\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped>\r\n.v-amap-ctn\r\n\t// overflow hidden\r\n\theight 100%\r\n\t.v-amap\r\n\t\theight 100%\r\n</style>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=script&lang=js\"","export * from \"-!../../node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMap.vue?vue&type=style&index=0&id=0a8871e0&prod&lang=stylus&scoped=true\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./VAMap.vue?vue&type=template&id=0a8871e0&scoped=true&lang=pug\"\nimport script from \"./VAMap.vue?vue&type=script&lang=js\"\nexport * from \"./VAMap.vue?vue&type=script&lang=js\"\nimport style0 from \"./VAMap.vue?vue&type=style&index=0&id=0a8871e0&prod&lang=stylus&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a8871e0\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-marker\"},[_c('div',{ref:\"content\",staticClass:\"v-amap-marker-content\"},[_vm._t(\"default\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"pug\">\r\n.v-amap-marker\r\n\t.v-amap-marker-content(ref=\"content\")\r\n\t\tslot\r\n</template>\r\n<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'position',\r\n\t'anchor',\r\n\t'offset',\r\n\t'icon',\r\n\t'draggable',\r\n\t'cursor',\r\n\t[\r\n\t\t'visible',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t\tvalue && this._updateMarkerContent()\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'zIndex',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setzIndex(value)\r\n\t\t}\r\n\t],\r\n\t'angle',\r\n\t'animation',\r\n\t'shadow',\r\n\t'title',\r\n\t'clickable',\r\n\t'shape',\r\n\t'extData',\r\n\t'label'\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapMarker',\r\n\tinject: ['getMap'],\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null,\r\n\t\t\tisFixedMarkerSize: false\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\thasSlot() {\r\n\t\t\treturn !!this.$scopedSlots.default\r\n\t\t}\r\n\t},\r\n\tasync mounted() {\r\n\t\tawait this._createMarker()\r\n\t\tthis._addMarker()\r\n\t},\r\n\tasync updated() {\r\n\t\tif (!this.marker) return\r\n\t\tif (this.isFixedMarkerSize) return\r\n\r\n\t\tthis.isFixedMarkerSize = true\r\n\r\n\t\tawait this.$nextTick()\r\n\r\n\t\tthis._updateMarkerContent()\r\n\t},\r\n\tbeforeDestroy() {\r\n\t\tthis._resetMarkerContent()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tcontent: this._getMarkerContent()\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.Marker(options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\t\t},\r\n\t\t_getMarkerContent() {\r\n\t\t\treturn this.hasSlot ? this.$refs.content : null\r\n\t\t},\r\n\t\t_updateMarkerContent() {\r\n\t\t\tif (!this.hasSlot) return\r\n\r\n\t\t\tthis.marker.setContent(this._getMarkerContent())\r\n\t\t},\r\n\t\t_resetMarkerContent() {\r\n\t\t\tif (!this.hasSlot) return\r\n\r\n\t\t\tthis.$el.appendChild(this.$refs.content)\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tthis.getMap()?.add(this.marker)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\r\n\t\t\tthis.getMap()?.remove(this.marker)\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped></style>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapMarker.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapMarker.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./VAMapMarker.vue?vue&type=template&id=6931c341&scoped=true&lang=pug\"\nimport script from \"./VAMapMarker.vue?vue&type=script&lang=js\"\nexport * from \"./VAMapMarker.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6931c341\",\n null\n \n)\n\nexport default component.exports","<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t// 新增属性\r\n\t[\r\n\t\t'data',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setData(value)\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'styleObject',\r\n\t\t(marker, value) => {\r\n\t\t\tmarker.setStyle(value)\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'visible',\r\n\t\t(marker, value) => {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t}\r\n\t]\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapMassMarks',\r\n\tinject: ['getMap'],\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null\r\n\t\t}\r\n\t},\r\n\tasync created() {\r\n\t\tawait this._createMarker()\r\n\t\tthis._addMarker()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tstyle: this.$attrs.styleObject || {}\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.MassMarks(this.$attrs.data || [], options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tthis.marker.setMap(this.getMap())\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\r\n\t\t\tthis.marker.clear()\r\n\t\t\tthis.marker.setMap()\r\n\t\t}\r\n\t},\r\n\trender() {\r\n\t\treturn null\r\n\t}\r\n}\r\n</script>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapMassMarks.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapMassMarks.vue?vue&type=script&lang=js\"","var render, staticRenderFns\nimport script from \"./VAMapMassMarks.vue?vue&type=script&lang=js\"\nexport * from \"./VAMapMassMarks.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<script>\r\nimport { AMapLoader } from '@'\r\nimport { listenerProxy, watchProps } from '@/utils'\r\n\r\nconst watchedProps = [\r\n\t'path',\r\n\t// 新增属性\r\n\t[\r\n\t\t'visible',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker[value ? 'show' : 'hide']()\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'zIndex',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ zIndex: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'bubble',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ bubble: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'cursor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ cursor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeColor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeColor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeOpacity',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeOpacity: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeWeight',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeWeight: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeStyle',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeStyle: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'strokeDasharray',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ strokeDasharray: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'fillColor',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ fillColor: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'fillOpacity',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ fillOpacity: value })\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t'draggable',\r\n\t\tfunction (marker, value) {\r\n\t\t\tmarker.setOptions({ draggable: value })\r\n\t\t}\r\n\t]\r\n]\r\n\r\nexport default {\r\n\tname: 'VAMapPolygon',\r\n\tinject: ['getMap'],\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tmarker: null\r\n\t\t}\r\n\t},\r\n\tasync created() {\r\n\t\tawait this._createMarker()\r\n\t\tthis._addMarker()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis._removeMarker()\r\n\t},\r\n\tmethods: {\r\n\t\tasync _createMarker() {\r\n\t\t\tconst AMap = await AMapLoader.load(),\r\n\t\t\t\toptions = Object.assign({}, this.$attrs, {\r\n\t\t\t\t\tmap: undefined\r\n\t\t\t\t})\r\n\r\n\t\t\tthis.marker = new AMap.Polygon(options)\r\n\r\n\t\t\tlistenerProxy(this.marker, this)\r\n\t\t\twatchProps(this.marker, this, watchedProps)\r\n\t\t},\r\n\t\t_addMarker() {\r\n\t\t\tthis.getMap()?.add(this.marker)\r\n\r\n\t\t\tthis.$emit('init', this.marker)\r\n\t\t},\r\n\t\t_removeMarker() {\r\n\t\t\tif (!this.marker) return\r\n\r\n\t\t\tthis.getMap()?.remove(this.marker)\r\n\t\t}\r\n\t},\r\n\trender() {\r\n\t\treturn null\r\n\t}\r\n}\r\n</script>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPolygon.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPolygon.vue?vue&type=script&lang=js\"","var render, staticRenderFns\nimport script from \"./VAMapPolygon.vue?vue&type=script&lang=js\"\nexport * from \"./VAMapPolygon.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"v-amap-place-search-input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.inputValue),expression:\"inputValue\"}],ref:\"input\",attrs:{\"placeholder\":_vm.placeholder},domProps:{\"value\":(_vm.inputValue)},on:{\"blur\":function($event){return _vm.handleBlur()},\"input\":function($event){if($event.target.composing)return;_vm.inputValue=$event.target.value}}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"pug\">\r\n.v-amap-place-search-input\r\n\tinput(\r\n\t\t:placeholder=\"placeholder\"\r\n\t\t@blur=\"handleBlur()\"\r\n\t\tref=\"input\"\r\n\t\tv-model=\"inputValue\"\r\n\t)\r\n</template>\r\n\r\n<script>\r\nimport { AMapLoader } from '@'\r\n\r\nexport default {\r\n\tname: 'VAMapPlaceSearchInput',\r\n\tprops: {\r\n\t\tplaceholder: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\tcustomEnable: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tAMap: null,\r\n\t\t\tinputValue: '',\r\n\t\t\tplaceName: '',\r\n\t\t\tautocompleteListener: null,\r\n\t\t\tplaceSearchListener: null\r\n\t\t}\r\n\t},\r\n\tasync mounted() {\r\n\t\tthis.AMap = await AMapLoader.load()\r\n\t\tthis.addListener()\r\n\t},\r\n\tdestroyed() {\r\n\t\tthis.removeListener()\r\n\t},\r\n\tmethods: {\r\n\t\tasync addListener() {\r\n\t\t\tconst autocomplete = new this.AMap.Autocomplete({\r\n\t\t\t\t\tinput: this.$refs.input\r\n\t\t\t\t}),\r\n\t\t\t\tplaceSearch = new this.AMap.PlaceSearch({})\r\n\r\n\t\t\tthis.autocompleteListener = this.AMap.event.addListener(\r\n\t\t\t\tautocomplete,\r\n\t\t\t\t'select',\r\n\t\t\t\tevent => {\r\n\t\t\t\t\tthis.placeName = event.poi.name\r\n\t\t\t\t\tplaceSearch.search(event.poi.name)\r\n\t\t\t\t}\r\n\t\t\t)\r\n\r\n\t\t\tthis.placeSearchListener = this.AMap.event.addListener(\r\n\t\t\t\tplaceSearch,\r\n\t\t\t\t'complete',\r\n\t\t\t\tevent => {\r\n\t\t\t\t\tvar position = null\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\tevent &&\r\n\t\t\t\t\t\tevent.poiList &&\r\n\t\t\t\t\t\tevent.poiList.pois &&\r\n\t\t\t\t\t\tevent.poiList.pois.length\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tposition = [\r\n\t\t\t\t\t\t\tevent.poiList.pois[0].location.lng,\r\n\t\t\t\t\t\t\tevent.poiList.pois[0].location.lat\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$emit('change', position)\r\n\r\n\t\t\t\t\tif (!position && !this.customEnable) {\r\n\t\t\t\t\t\tthis.inputValue = ''\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t)\r\n\t\t},\r\n\t\tremoveListener() {\r\n\t\t\tthis.AMap.event.removeListener(this.autocompleteListener)\r\n\t\t\tthis.AMap.event.removeListener(this.placeSearchListener)\r\n\t\t},\r\n\t\tclear() {\r\n\t\t\tthis.inputValue = ''\r\n\t\t\tthis.placeName = ''\r\n\t\t\tthis.$emit('change', null)\r\n\t\t},\r\n\t\thandleBlur() {\r\n\t\t\tif (this.customEnable) return\r\n\t\t\tif (this.inputValue !== this.placeName) {\r\n\t\t\t\tthis.clear()\r\n\t\t\t}\r\n\t\t},\r\n\t\thandleInput(event) {\r\n\t\t\tthis.inputValue = event.target.value\r\n\t\t}\r\n\t}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped>\r\n.v-amap-place-search-input\r\n\tinput\r\n\t\tdisplay inline-block\r\n\t\tbox-sizing border-box\r\n\t\tpadding 0 15px\r\n\t\twidth 100%\r\n\t\theight 40px\r\n\t\toutline 0\r\n\t\tborder 1px solid #DCDFE6\r\n\t\tborder-radius 4px\r\n\t\tbackground-color #FFF\r\n\t\tbackground-image none\r\n\t\tcolor #606266\r\n\t\tfont-size inherit\r\n\t\tline-height 40px\r\n\t\ttransition border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n\t\t-webkit-appearance none\r\n</style>\r\n\r\n<style lang=\"stylus\">\r\n.amap-sug-result\r\n\tdisplay none\r\n</style>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=script&lang=js\"","export * from \"-!../../node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=6ff464e0&prod&lang=stylus&scoped=true\"","export * from \"-!../../node_modules/vue-style-loader/index.js??clonedRuleSet-34.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-34.use[1]!../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-34.use[3]!../../node_modules/stylus-loader/index.js??clonedRuleSet-34.use[4]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=6ff464e0&prod&lang=stylus\"","import { render, staticRenderFns } from \"./VAMapPlaceSearchInput.vue?vue&type=template&id=6ff464e0&scoped=true&lang=pug\"\nimport script from \"./VAMapPlaceSearchInput.vue?vue&type=script&lang=js\"\nexport * from \"./VAMapPlaceSearchInput.vue?vue&type=script&lang=js\"\nimport style0 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=0&id=6ff464e0&prod&lang=stylus&scoped=true\"\nimport style1 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=6ff464e0&prod&lang=stylus\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ff464e0\",\n null\n \n)\n\nexport default component.exports","import VAMap from './VAMap'\r\nimport VAMapMarker from './VAMapMarker'\r\nimport VAMapMassMarks from './VAMapMassMarks'\r\nimport VAMapPolygon from './VAMapPolygon'\r\nimport VAMapPlaceSearchInput from './VAMapPlaceSearchInput'\r\n\r\nexport default [\r\n\tVAMap,\r\n\tVAMapMarker,\r\n\tVAMapMassMarks,\r\n\tVAMapPolygon,\r\n\tVAMapPlaceSearchInput\r\n]\r\n","import packageJson from '/package.json'\r\n\r\nexport const version = packageJson.version\r\n","import AMapLoader from './loader'\r\nimport Components from './Components'\r\nimport { version } from './config'\r\n\r\nlet globalMapOptions = {}\r\n\r\nclass AMapManager {\r\n\tstatic get version() {\r\n\t\treturn version\r\n\t}\r\n\tstatic get AMapLoader() {\r\n\t\treturn AMapLoader\r\n\t}\r\n\tstatic get globalMapOptions() {\r\n\t\treturn globalMapOptions\r\n\t}\r\n\tstatic install(Vue) {\r\n\t\tComponents.forEach(Component => {\r\n\t\t\tVue.component(Component.name, Component)\r\n\t\t})\r\n\t}\r\n\tstatic async initAMap({ globalMapOptions: options = {}, ...args }) {\r\n\t\tglobalMapOptions = Object.assign({}, options)\r\n\r\n\t\tAMapLoader.config({ ...args })\r\n\r\n\t\treturn await AMapLoader.load()\r\n\t}\r\n\tconstructor() {}\r\n}\r\n\r\nexport { AMapLoader }\r\n\r\nexport default AMapManager\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":[],"sourceRoot":""}
|