UNPKG

aos-element

Version:

A Component Library for Vue.js.

1,164 lines (1,030 loc) 35.5 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 183); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call( this, (options.functional ? this.parent : this).$root.$options.shadowRoot ) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functional component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 10: /***/ (function(module, exports) { module.exports = require("throttle-debounce/debounce"); /***/ }), /***/ 183: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/aos-city/src/main.vue?vue&type=template&id=78fcec68& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "aos-city" }, [ _c("el-cascader", { directives: [ { name: "show", rawName: "v-show", value: _vm.edit, expression: "edit" } ], attrs: { options: _vm.provinceOptions, separator: _vm.separator, placehold: _vm.placeholder, disabled: _vm.disabled, clearable: _vm.clearable, props: _vm.cityProps, "popper-class": "aos-select-car-cascader-popper" }, on: { "expand-change": _vm.handleItemChange, change: _vm.handleChange, focus: _vm.handleFocus }, model: { value: _vm.cityData, callback: function($$v) { _vm.cityData = $$v }, expression: "cityData" } }), _c( "div", { directives: [ { name: "show", rawName: "v-show", value: !_vm.edit, expression: "!edit" } ], staticClass: "el-form-item__content aos-form-input-text" }, [ _c("div", { attrs: { title: _vm.realValue } }, [ _vm._v("\n " + _vm._s(_vm.realValue) + "\n ") ]) ] ) ], 1 ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./packages/aos-city/src/main.vue?vue&type=template&id=78fcec68& // EXTERNAL MODULE: external "lodash/cloneDeep" var cloneDeep_ = __webpack_require__(7); var cloneDeep_default = /*#__PURE__*/__webpack_require__.n(cloneDeep_); // EXTERNAL MODULE: external "throttle-debounce/debounce" var debounce_ = __webpack_require__(10); var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/aos-city/src/main.vue?vue&type=script&lang=js& function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; } // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var mainvue_type_script_lang_js_ = ({ name: 'AosCity', props: { // 编辑状态 edit: { type: Boolean, default: true }, // 省 province: { type: String, default: '', required: true }, // 市 city: { type: String, default: '', required: true }, // 县 county: { type: String, default: '', required: false }, // templateValue: { type: Object, required: true }, // 禁用状态 disabled: { type: Boolean, default: false }, // 提示 placeholder: { type: String, default: '请选择省/市/县' }, // 选项分隔符 separator: { type: String, default: '/' }, clearable: { type: Boolean, default: false }, // 自定义外部请求接口 customerUrl: { type: String, default: '/core/api/area-info/ref' }, customerMethod: { type: String, default: 'post' } }, data: function data() { return { provinceOptions: [], cityProps: { label: 'value', value: 'code', children: 'citys' }, cityData: [], realValue: '', cityOptions: [], countyOptions: [], debounceInit: '', debounceSetCityData: '' }; }, created: function created() { this.debounceInit = debounce_default()(10, this.init); this.debounceSetCityData = debounce_default()(10, this.setCityData); this.debounceSetCityData(); this.debounceInit(); }, methods: { setCityData: function setCityData() { if (this.province && this.city && this.county) { this.cityData.splice(0); this.cityData.push(this.templateProvince); this.cityData.push(this.templateCity); this.cityData.push(this.templateCounty); } else if (this.province && this.city) { this.cityData.splice(0); this.cityData.push(this.templateProvince); this.cityData.push(this.templateCity); } else if (this.province) { this.cityData.splice(0); this.cityData.push(this.templateProvince); } }, handleItemChange: function handleItemChange(val) { var _this = this; return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: if (!(val.length === 1)) { _context.next = 8; break; } _context.next = 3; return _this.getCity('', val[0]); case 3: if (!_this.city) { _context.next = 6; break; } _context.next = 6; return _this.setProvinceChildrenCity(val[0]); case 6: _context.next = 31; break; case 8: if (!(val.length === 2)) { _context.next = 16; break; } _context.next = 11; return _this.getCounty('', val[1]); case 11: if (!_this.county) { _context.next = 14; break; } _context.next = 14; return _this.setCityChildrenCounty(val); case 14: _context.next = 31; break; case 16: if (!(val.length === 3)) { _context.next = 31; break; } if (val[1]) { _context.next = 25; break; } _context.next = 20; return _this.getCity('', val[0]); case 20: if (!_this.city) { _context.next = 23; break; } _context.next = 23; return _this.setProvinceChildrenCity(val[0]); case 23: _context.next = 31; break; case 25: if (val[2]) { _context.next = 31; break; } _context.next = 28; return _this.getCounty('', val[1]); case 28: if (!_this.county) { _context.next = 31; break; } _context.next = 31; return _this.setCityChildrenCounty(val); case 31: case 'end': return _context.stop(); } } }, _callee, _this); }))(); }, getProvince: function getProvince(query) { var _this2 = this; if (!query) { query = ''; } var params = { query: query, parentId: '' }; return this.$optimizeHttp({ url: this.copyCustomerUrl, method: this.copyCustomerMethod, params: params }).then(function (res) { _this2.provinceOptions = cloneDeep_default()(res.data); return res.data; }).catch(function () { _this2.$message({ typr: 'error', message: '请求省份信息出错' }); }); }, setProvinceChildren: function setProvinceChildren() { var _this3 = this; if (this.provinceOptions && this.provinceOptions.length > 0) { this.provinceOptions.forEach(function (item) { if (!item.citys) { _this3.$set(item, 'citys', []); } }); } return Promise.resolve(); }, getCity: function getCity(query, val) { var _this4 = this; var params = { query: query, parentId: val }; return this.$optimizeHttp({ url: this.copyCustomerUrl, method: this.copyCustomerMethod, params: params }).then(function (res) { _this4.cityOptions = cloneDeep_default()(res.data); return res.data; }).catch(function () { _this4.$message({ typr: 'error', message: '请求市级信息出错' }); }); }, setProvinceChildrenCity: function setProvinceChildrenCity(val) { var _this5 = this; if (this.county) { this.cityOptions.forEach(function (item) { _this5.$set(item, 'citys', []); }); } for (var i = 0; i < this.provinceOptions.length; i++) { if (val === this.provinceOptions[i].code) { this.provinceOptions[i].citys = cloneDeep_default()(this.cityOptions); break; } } return Promise.resolve(); }, getCounty: function getCounty(query, val) { var _this6 = this; var params = { query: query, parentId: val }; return this.$optimizeHttp({ url: this.copyCustomerUrl, method: this.copyCustomerMethod, params: params }).then(function (res) { _this6.countyOptions = cloneDeep_default()(res.data); return res.data; }).catch(function () { _this6.$message({ typr: 'error', message: '请求市级信息出错' }); }); }, setCityChildrenCounty: function setCityChildrenCounty(val) { var countyOptions = cloneDeep_default()(this.countyOptions); var cityOption = []; for (var i = 0; i < this.provinceOptions.length; i++) { if (val[0] === this.provinceOptions[i].code) { cityOption = this.provinceOptions[i].citys; break; } } for (var _i = 0; _i < cityOption.length; _i++) { if (val[1] === cityOption[_i].code) { cityOption[_i].citys = countyOptions; break; } } return Promise.resolve(); }, handleFocus: function handleFocus(event) { this.$emit('focus', event); }, handleChange: function handleChange(val) { this.setRealValue(val); this.setTemplateData(val); this.$emit('change', val); }, setRealValue: function setRealValue(val) { var provinceOptions = cloneDeep_default()(this.provinceOptions); this.realValue = ''; var cityOption = []; var countyOption = []; var changeValue = {}; if (val[0]) { for (var i = 0; i < provinceOptions.length; i++) { if (val[0] === provinceOptions[i].code) { cityOption = provinceOptions[i].citys; changeValue.provinceName = provinceOptions[i].value; changeValue.provinceCode = provinceOptions[i].code; break; } } } if (val[1] && cityOption && Array.isArray(cityOption)) { for (var _i2 = 0; _i2 < cityOption.length; _i2++) { if (val[1] === cityOption[_i2].code) { countyOption = cityOption[_i2].citys; changeValue.cityName = cityOption[_i2].value; changeValue.cityCode = cityOption[_i2].code; break; } } } if (val[2] && countyOption && Array.isArray(countyOption)) { for (var _i3 = 0; _i3 < countyOption.length; _i3++) { if (val[2] === countyOption[_i3].code) { changeValue.countyName = countyOption[_i3].value; changeValue.countyCode = countyOption[_i3].code; break; } } } if (this.province && this.city && this.county && changeValue.provinceName && changeValue.cityName && changeValue.countyName) { this.realValue = changeValue.provinceName + '/' + changeValue.cityName + '/' + changeValue.countyName; } else if (this.province && this.city && changeValue.provinceName && changeValue.cityName) { this.realValue = changeValue.provinceName + '/' + changeValue.cityName; } else if (this.province && changeValue.provinceName) { this.realValue = changeValue.provinceName; } }, setTemplateData: function setTemplateData(val) { this.templateValue[this.province] = val[0]; if (this.city) { this.templateValue[this.city] = val[1]; } if (this.county) { this.templateValue[this.county] = val[2]; } }, getProvinceLabel: function getProvinceLabel() { var _this7 = this; return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { var self; return regeneratorRuntime.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: self = _this7; return _context3.abrupt('return', new Promise(function () { var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(resolve, reject) { var i; return regeneratorRuntime.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: _this7.provinceLabel = ''; _context2.prev = 1; _context2.next = 4; return self.getProvince(); case 4: i = 0; case 5: if (!(i < self.provinceOptions.length)) { _context2.next = 12; break; } if (!(self.templateProvince === self.provinceOptions[i].code)) { _context2.next = 9; break; } self.provinceLabel = self.provinceOptions[i].value; return _context2.abrupt('break', 12); case 9: i++; _context2.next = 5; break; case 12: resolve(_this7.provinceLabel); _context2.next = 19; break; case 15: _context2.prev = 15; _context2.t0 = _context2['catch'](1); reject(); console.log(_context2.t0); case 19: case 'end': return _context2.stop(); } } }, _callee2, _this7, [[1, 15]]); })); return function (_x, _x2) { return _ref.apply(this, arguments); }; }())); case 2: case 'end': return _context3.stop(); } } }, _callee3, _this7); }))(); }, getCityLabel: function getCityLabel() { var _this8 = this; return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() { return regeneratorRuntime.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt('return', new Promise(function () { var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(resolve, reject) { var i; return regeneratorRuntime.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: _this8.cityLabel = ''; _context4.prev = 1; _context4.next = 4; return _this8.getCity('', _this8.templateProvince); case 4: i = 0; case 5: if (!(i < _this8.cityOptions.length)) { _context4.next = 12; break; } if (!(_this8.templateCity === _this8.cityOptions[i].code)) { _context4.next = 9; break; } _this8.cityLabel = _this8.cityOptions[i].value; return _context4.abrupt('break', 12); case 9: i++; _context4.next = 5; break; case 12: resolve(_this8.cityLabel); _context4.next = 19; break; case 15: _context4.prev = 15; _context4.t0 = _context4['catch'](1); reject(); console.log(_context4.t0); case 19: case 'end': return _context4.stop(); } } }, _callee4, _this8, [[1, 15]]); })); return function (_x3, _x4) { return _ref2.apply(this, arguments); }; }())); case 1: case 'end': return _context5.stop(); } } }, _callee5, _this8); }))(); }, getCountyLabel: function getCountyLabel() { var _this9 = this; return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() { return regeneratorRuntime.wrap(function _callee7$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt('return', new Promise(function () { var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6(resolve, reject) { var i; return regeneratorRuntime.wrap(function _callee6$(_context6) { while (1) { switch (_context6.prev = _context6.next) { case 0: _this9.countyLabel = ''; _context6.prev = 1; _context6.next = 4; return _this9.getCounty('', _this9.templateCity); case 4: i = 0; case 5: if (!(i < _this9.countyOptions.length)) { _context6.next = 12; break; } if (!(_this9.templateCounty === _this9.countyOptions[i].code)) { _context6.next = 9; break; } _this9.countyLabel = _this9.countyOptions[i].value; return _context6.abrupt('break', 12); case 9: i++; _context6.next = 5; break; case 12: resolve(_this9.countyLabel); _context6.next = 19; break; case 15: _context6.prev = 15; _context6.t0 = _context6['catch'](1); reject(); console.log(_context6.t0); case 19: case 'end': return _context6.stop(); } } }, _callee6, _this9, [[1, 15]]); })); return function (_x5, _x6) { return _ref3.apply(this, arguments); }; }())); case 1: case 'end': return _context7.stop(); } } }, _callee7, _this9); }))(); }, init: function init() { var _this10 = this; return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() { return regeneratorRuntime.wrap(function _callee8$(_context8) { while (1) { switch (_context8.prev = _context8.next) { case 0: if (!(_this10.templateProvince && _this10.templateCity && _this10.templateCounty)) { _context8.next = 21; break; } _context8.prev = 1; _context8.next = 4; return _this10.getProvinceLabel(); case 4: _context8.next = 6; return _this10.setProvinceChildren(); case 6: _context8.next = 8; return _this10.getCityLabel(); case 8: _context8.next = 10; return _this10.setProvinceChildrenCity(_this10.templateProvince); case 10: _context8.next = 12; return _this10.getCountyLabel(); case 12: _context8.next = 14; return _this10.setCityChildrenCounty([_this10.templateProvince, _this10.templateCity]); case 14: _this10.setRealValue([_this10.templateProvince, _this10.templateCity, _this10.templateCounty]); _context8.next = 19; break; case 17: _context8.prev = 17; _context8.t0 = _context8['catch'](1); case 19: _context8.next = 61; break; case 21: if (!(_this10.templateProvince && _this10.templateCity)) { _context8.next = 38; break; } _context8.prev = 22; _context8.next = 25; return _this10.getProvinceLabel(); case 25: _context8.next = 27; return _this10.setProvinceChildren(); case 27: _context8.next = 29; return _this10.getCityLabel(); case 29: _context8.next = 31; return _this10.setProvinceChildrenCity(_this10.templateProvince); case 31: _this10.setRealValue([_this10.templateProvince, _this10.templateCity, '']); _context8.next = 36; break; case 34: _context8.prev = 34; _context8.t1 = _context8['catch'](22); case 36: _context8.next = 61; break; case 38: if (!_this10.templateProvince) { _context8.next = 51; break; } _context8.prev = 39; _context8.next = 42; return _this10.getProvinceLabel(); case 42: _context8.next = 44; return _this10.setProvinceChildren(); case 44: _this10.setRealValue([_this10.templateProvince, '', '']); _context8.next = 49; break; case 47: _context8.prev = 47; _context8.t2 = _context8['catch'](39); case 49: _context8.next = 61; break; case 51: _context8.prev = 51; _context8.next = 54; return _this10.getProvince(); case 54: _context8.next = 56; return _this10.setProvinceChildren(); case 56: _this10.setRealValue([_this10.templateProvince, _this10.templateCity, _this10.templateCounty]); _context8.next = 61; break; case 59: _context8.prev = 59; _context8.t3 = _context8['catch'](51); case 61: case 'end': return _context8.stop(); } } }, _callee8, _this10, [[1, 17], [22, 34], [39, 47], [51, 59]]); }))(); } }, computed: { templateProvince: function templateProvince() { if (this.province) { return this.templateValue[this.province]; } }, templateCity: function templateCity() { if (this.city) { return this.templateValue[this.city]; } }, templateCounty: function templateCounty() { if (this.county) { return this.templateValue[this.county]; } }, copyCustomerUrl: function copyCustomerUrl() { var url = '/core/api/area-info/ref'; if (this.customerUrl) { url = this.customerUrl; } return url; }, copyCustomerMethod: function copyCustomerMethod() { var method = 'post'; if (this.customerMethod) { method = this.customerMethod; } return method; } }, watch: { templateProvince: { handler: function handler(val, oldVal) { if (val !== oldVal) { this.cityData.splice(0, 1, val); this.debounceInit(); } } }, templateCity: { handler: function handler(val, oldVal) { if (val !== oldVal) { this.cityData.splice(1, 1, val); this.debounceInit(); } } }, templateCounty: { handler: function handler(val, oldVal) { if (val !== oldVal) { this.cityData.splice(2, 1, val); this.debounceInit(); } } }, copyCustomerUrl: function copyCustomerUrl(val, oldVal) { if (val && val !== oldVal) { this.debounceInit(); } } } }); // CONCATENATED MODULE: ./packages/aos-city/src/main.vue?vue&type=script&lang=js& /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/aos-city/src/main.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_mainvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "packages/aos-city/src/main.vue" /* harmony default export */ var main = (component.exports); // CONCATENATED MODULE: ./packages/aos-city/index.js main.install = function (Vue) { Vue.component(main.name, main); }; /* harmony default export */ var aos_city = __webpack_exports__["default"] = (main); /***/ }), /***/ 7: /***/ (function(module, exports) { module.exports = require("lodash/cloneDeep"); /***/ }) /******/ });