@styzy/vue-amap 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,6EAA6E,cAAc,8DAA8D,qBAAqB,yBAAyB,cAAc,mBAAmB;AAC1nB;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,EAAigB;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,oBAAoB,6BAA6B,QAAQ,sDAAsD,WAAW,kBAAkB,KAAK,wBAAwB,wBAAwB,0BAA0B;AAC9V;AACA,IAAI,uFAAe;;;;;ACYW;;AAE9B,iFAAe;AACf;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,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;;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;AACA;AACA;AACA;AACA,CAAC;;;ACrH+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?f78c","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?85b0","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?2378","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?2aef","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?386f","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?8c96","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?7a24","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-01341cd6]{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}.v-amap-place-search-input input[data-v-01341cd6]::-webkit-input-placeholder{color:#c0c4cc}.v-amap-place-search-input input.is-disabled[data-v-01341cd6]{border-color:#e4e7ed;background-color:#f5f7fa;color:#c0c4cc;cursor:not-allowed}\", \"\"]);\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=01341cd6&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(\"a0517e8c\", 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=01341cd6&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(\"1cb88330\", 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\",class:{ 'is-disabled': _vm.disabled },attrs:{\"disabled\":_vm.disabled,\"placeholder\":_vm.placeholder},domProps:{\"value\":_vm.value},on:{\"blur\":function($event){return _vm.handleBlur()},\"input\":_vm.handleInput}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"pug\">\r\n.v-amap-place-search-input\r\n\tinput(\r\n\t\t:class=\"{ 'is-disabled': disabled }\"\r\n\t\t:disabled=\"disabled\"\r\n\t\t:placeholder=\"placeholder\"\r\n\t\t:value=\"value\"\r\n\t\t@blur=\"handleBlur()\"\r\n\t\t@input=\"handleInput\"\r\n\t\tref=\"input\"\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\tmodel: {\r\n\t\tprop: 'value',\r\n\t\tevent: 'change'\r\n\t},\r\n\tprops: {\r\n\t\tvalue: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\tplaceholder: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\tdisabled: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\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\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\r\n\t\t\t\t\tif (!position && !this.customEnable) {\r\n\t\t\t\t\t\tthis.clear()\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$emit('change', this.placeName)\r\n\t\t\t\t\t\tthis.$emit('locationChange', position)\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.placeName = ''\r\n\t\t\tthis.$emit('change', '')\r\n\t\t\tthis.$emit('locationChange', null)\r\n\t\t},\r\n\t\thandleBlur() {\r\n\t\t\tif (this.value !== this.placeName) {\r\n\t\t\t\tif (!this.customEnable) {\r\n\t\t\t\t\tthis.clear()\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\thandleInput(event) {\r\n\t\t\tthis.$emit('change', 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\t\t&::-webkit-input-placeholder\r\n\t\t\tcolor #C0C4CC\r\n\t\t&.is-disabled\r\n\t\t\tborder-color #E4E7ED\r\n\t\t\tbackground-color #F5F7FA\r\n\t\t\tcolor #C0C4CC\r\n\t\t\tcursor not-allowed\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=01341cd6&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=01341cd6&prod&lang=stylus\"","import { render, staticRenderFns } from \"./VAMapPlaceSearchInput.vue?vue&type=template&id=01341cd6&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=01341cd6&prod&lang=stylus&scoped=true\"\nimport style1 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=01341cd6&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 \"01341cd6\",\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":""}
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,sFAAsF,kBAAkB,kDAAkD,qBAAqB,sBAAsB,eAAe,WAAW,YAAY,UAAU,yBAAyB,kBAAkB,sBAAsB,sBAAsB,cAAc,kBAAkB,iBAAiB,2DAA2D,wBAAwB,6EAA6E,cAAc,8DAA8D,qBAAqB,yBAAyB,cAAc,mBAAmB,wDAAwD,kBAAkB,SAAS,QAAQ,OAAO,UAAU,sBAAsB,yBAAyB,sBAAsB,gEAAgE,gBAAgB,kBAAkB,kBAAkB,YAAY,uBAAuB,mBAAmB,eAAe,iBAAiB,eAAe,sEAAsE,yBAAyB,sEAAsE,cAAc,sEAAsE,iBAAiB,WAAW;AACv1C;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;;;ACJW;AAChC;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,oBAAoB,6BAA6B,QAAQ,sDAAsD,WAAW,kBAAkB,KAAK,wBAAwB,wBAAwB,0BAA0B,yBAAyB,0BAA0B,iCAAiC,mCAAmC,yBAAyB,wCAAwC,iBAAiB,4BAA4B,oCAAoC,KAAK,yBAAyB,sCAAsC,aAAa,mBAAmB,0CAA0C,mBAAmB,qCAAqC;AAC7yB;AACA,IAAI,uFAAe;;;;ACFnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uDAAe,YAAY;;;;ACMG;AACQ;;AAEtC,iFAAe;AACf;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,qBAAqB,MAAU;AAC/B;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,OAAO,kBAAY;AACnB;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AC3K+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?c0b1","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?2d9f","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?1d7f","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?bb79","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?ea7a","webpack://@styzy/vue-amap/./src/utils/isParentNode.js","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?e4f5","webpack://@styzy/vue-amap/./src/Components/VAMapPlaceSearchInput.vue?3065","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[data-v-0b77a6ce]{position:relative}.v-amap-place-search-input input[data-v-0b77a6ce]{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}.v-amap-place-search-input input[data-v-0b77a6ce]::-webkit-input-placeholder{color:#c0c4cc}.v-amap-place-search-input input.is-disabled[data-v-0b77a6ce]{border-color:#e4e7ed;background-color:#f5f7fa;color:#c0c4cc;cursor:not-allowed}.v-amap-place-search-input .option-ctn[data-v-0b77a6ce]{position:absolute;top:100%;right:0;left:0;z-index:1;box-sizing:border-box;border:1px solid #dcdfe6;background-color:#fff}.v-amap-place-search-input .option-ctn .option[data-v-0b77a6ce]{overflow:hidden;padding-right:5px;padding-left:15px;height:40px;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:40px;cursor:pointer}.v-amap-place-search-input .option-ctn .option[data-v-0b77a6ce]:hover{background-color:#f4f5f6}.v-amap-place-search-input .option-ctn .option .name[data-v-0b77a6ce]{color:#424242}.v-amap-place-search-input .option-ctn .option .city[data-v-0b77a6ce]{margin-left:10px;color:#aaa}\", \"\"]);\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=0b77a6ce&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(\"f9ce54c6\", 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=0b77a6ce&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(\"41bfd6da\", 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 '@/utils'\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\",class:{ 'is-disabled': _vm.disabled },attrs:{\"disabled\":_vm.disabled,\"placeholder\":_vm.placeholder},domProps:{\"value\":_vm.value},on:{\"blur\":function($event){return _vm.handleBlur()},\"focus\":function($event){return _vm.handleFocus()},\"input\":function($event){return _vm.handleInput($event)}}}),(_vm.placeList.length)?_c('div',{staticClass:\"option-ctn\"},_vm._l((_vm.placeList),function(place){return _c('div',{staticClass:\"option\",attrs:{\"title\":place.name + place.cityname},on:{\"click\":function($event){return _vm.handlePlaceSelect(place)}}},[_c('span',{staticClass:\"name\"},[_vm._v(_vm._s(place.name))]),_c('span',{staticClass:\"city\"},[_vm._v(_vm._s(place.cityname))])])}),0):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// 是否是父节点\r\nconst isParentNode = function (parentObj, obj) {\r\n\tif (parentObj === obj) return false\r\n\twhile (\r\n\t\tobj != undefined &&\r\n\t\tobj != null &&\r\n\t\tobj.tagName &&\r\n\t\tobj.tagName.toUpperCase() != 'BODY'\r\n\t) {\r\n\t\tif (obj == parentObj) {\r\n\t\t\treturn true\r\n\t\t}\r\n\t\tobj = obj.parentNode\r\n\t}\r\n\treturn false\r\n}\r\n\r\nexport default isParentNode\r\n","<template lang=\"pug\">\r\n.v-amap-place-search-input\r\n\tinput(\r\n\t\t:class=\"{ 'is-disabled': disabled }\"\r\n\t\t:disabled=\"disabled\"\r\n\t\t:placeholder=\"placeholder\"\r\n\t\t:value=\"value\"\r\n\t\t@blur=\"handleBlur()\"\r\n\t\t@focus=\"handleFocus()\"\r\n\t\t@input=\"handleInput($event)\"\r\n\t\tref=\"input\"\r\n\t)\r\n\t.option-ctn(v-if=\"placeList.length\")\r\n\t\t.option(\r\n\t\t\t:title=\"place.name + place.cityname\"\r\n\t\t\t@click=\"handlePlaceSelect(place)\"\r\n\t\t\tv-for=\"place in placeList\"\r\n\t\t)\r\n\t\t\tspan.name {{ place.name }}\r\n\t\t\tspan.city {{ place.cityname }}\r\n</template>\r\n\r\n<script>\r\nimport { AMapLoader } from '@'\r\nimport { isParentNode } from '@/utils'\r\n\r\nexport default {\r\n\tname: 'VAMapPlaceSearchInput',\r\n\tmodel: {\r\n\t\tprop: 'value',\r\n\t\tevent: 'change'\r\n\t},\r\n\tprops: {\r\n\t\tvalue: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\tplaceholder: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\tdisabled: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\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\tplaceSearch: null,\r\n\t\t\tplaceList: [],\r\n\t\t\tplace: null\r\n\t\t}\r\n\t},\r\n\twatch: {\r\n\t\tplace() {\r\n\t\t\tthis.$emit('change', this.place ? this.place.name : '')\r\n\t\t\tthis.$emit(\r\n\t\t\t\t'locationChange',\r\n\t\t\t\tthis.place\r\n\t\t\t\t\t? [this.place.location.lng, this.place.location.lat]\r\n\t\t\t\t\t: null\r\n\t\t\t)\r\n\t\t\tthis.$emit('placeChange', this.place)\r\n\t\t}\r\n\t},\r\n\tmounted() {\r\n\t\twindow.addEventListener('click', this.optionsHideListener, true)\r\n\t\twindow.addEventListener('contextmenu', this.optionsHideListener, true)\r\n\t},\r\n\tbeforeDestroy() {\r\n\t\twindow.removeEventListener('click', this.optionsHideListener, true)\r\n\t\twindow.removeEventListener(\r\n\t\t\t'contextmenu',\r\n\t\t\tthis.optionsHideListener,\r\n\t\t\ttrue\r\n\t\t)\r\n\t},\r\n\tmethods: {\r\n\t\tasync createPlaceSearch() {\r\n\t\t\tthis.AMap = await AMapLoader.load()\r\n\t\t\tthis.placeSearch = new this.AMap.PlaceSearch({\r\n\t\t\t\textensions: 'all'\r\n\t\t\t})\r\n\t\t},\r\n\t\tasync getPlaceList() {\r\n\t\t\tif (!this.placeSearch) {\r\n\t\t\t\tawait this.createPlaceSearch()\r\n\t\t\t}\r\n\t\t\tthis.placeSearch.search(this.value, (status, result) => {\r\n\t\t\t\tif (status === 'complete') {\r\n\t\t\t\t\tthis.placeList = result?.poiList?.pois || []\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.placeList = []\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tasync handleInput(event) {\r\n\t\t\tthis.$emit('change', event.target.value)\r\n\t\t\tawait this.$nextTick()\r\n\t\t\tthis.getPlaceList()\r\n\t\t},\r\n\t\thandlePlaceSelect(place = null) {\r\n\t\t\tthis.place = place\r\n\t\t\tthis.placeList = []\r\n\t\t},\r\n\t\thandleFocus() {\r\n\t\t\tif (this.value?.trim()) {\r\n\t\t\t\tthis.getPlaceList()\r\n\t\t\t}\r\n\t\t},\r\n\t\thandleBlur() {\r\n\t\t\tif (this.customEnable) return\r\n\t\t\tif (this.value !== this.place?.name) {\r\n\t\t\t\tthis.clear()\r\n\t\t\t}\r\n\t\t},\r\n\t\toptionsHideListener(event) {\r\n\t\t\tif (isParentNode(this.$el, event.target)) return\r\n\t\t\tthis.placeList = []\r\n\t\t},\r\n\t\tclear() {\r\n\t\t\tthis.place = null\r\n\t\t\tthis.$emit('change', '')\r\n\t\t}\r\n\t\t// async 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\r\n\t\t// \t\t\tif (!position && !this.customEnable) {\r\n\t\t// \t\t\t\tthis.clear()\r\n\t\t// \t\t\t} else {\r\n\t\t// \t\t\t\tthis.$emit('change', this.placeName)\r\n\t\t// \t\t\t\tthis.$emit('locationChange', position)\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}\r\n}\r\n</script>\r\n\r\n<style lang=\"stylus\" scoped>\r\n.v-amap-place-search-input\r\n\tposition relative\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\t\t&::-webkit-input-placeholder\r\n\t\t\tcolor #C0C4CC\r\n\t\t&.is-disabled\r\n\t\t\tborder-color #E4E7ED\r\n\t\t\tbackground-color #F5F7FA\r\n\t\t\tcolor #C0C4CC\r\n\t\t\tcursor not-allowed\r\n\t.option-ctn\r\n\t\tposition absolute\r\n\t\ttop 100%\r\n\t\tright 0\r\n\t\tleft 0\r\n\t\tz-index 1\r\n\t\tbox-sizing border-box\r\n\t\tborder 1px solid #DCDFE6\r\n\t\tbackground-color #FFFFFF\r\n\t\t.option\r\n\t\t\toverflow hidden\r\n\t\t\tpadding-right 5px\r\n\t\t\tpadding-left 15px\r\n\t\t\theight 40px\r\n\t\t\ttext-overflow ellipsis\r\n\t\t\twhite-space nowrap\r\n\t\t\tfont-size 12px\r\n\t\t\tline-height @height\r\n\t\t\tcursor pointer\r\n\t\t\t&:hover\r\n\t\t\t\tbackground-color #F4F5F6\r\n\t\t\t.name\r\n\t\t\t\tcolor #424242\r\n\t\t\t.city\r\n\t\t\t\tmargin-left 10px\r\n\t\t\t\tcolor #AAAAAA\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=0b77a6ce&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=0b77a6ce&prod&lang=stylus\"","import { render, staticRenderFns } from \"./VAMapPlaceSearchInput.vue?vue&type=template&id=0b77a6ce&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=0b77a6ce&prod&lang=stylus&scoped=true\"\nimport style1 from \"./VAMapPlaceSearchInput.vue?vue&type=style&index=1&id=0b77a6ce&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 \"0b77a6ce\",\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":""}