chunk-61576808.4c0d6afd.js.map 72 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/orderAdmin/AdminOrder.vue?5a8e","webpack:///src/views/orderAdmin/AdminOrder.vue","webpack:///./src/views/orderAdmin/AdminOrder.vue?9342","webpack:///./src/views/orderAdmin/AdminOrder.vue","webpack:///./src/assets/images/line.jpg","webpack:///./node_modules/clipboard/dist/clipboard.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","title","orderInfo","order_id","add_time","staticStyle","text-align","attrs","type","value","remark","on","click","$event","modify","nickname","real_name","user_phone","user_address","_m","_l","item","index","key","src","cart_info","productInfo","image","store_name","suk","price","cart_num","ot_price","total_num","pay_price","pay_postage","data-clipboard-text","paid","payType","mark","total_price","coupon_price","freight_price","delivery_type","_status","_type","_e","delivery_name","delivery_id","height","types","pay_type","offlinePay","to","change","status","closechange","changeclose","savePrice","staticRenderFns","__webpack_require__","AdminOrdervue_type_script_lang_js_","name","components","PriceChange","props","data","order","watch","$route.params.oid","newVal","that","undefined","getIndex","mounted","$route","params","oid","$nextTick","_this","copybtn","document","getElementsByClassName","clipboard","clipboard_default","a","$dialog","success","methods","more","msg","Object","admin","then","res","_title","_payType","err","error","_savePrice","asyncToGenerator","regeneratorRuntime","_callee","opt","refund_price","wrap","_context","prev","next","refund_status","$validator","validate","message","t0","abrupt","dialog","t1","t2","stop","_x","apply","arguments","_this2","orderAdmin_AdminOrdervue_type_script_lang_js_","component","componentNormalizer","__webpack_exports__","module","exports","p","root","factory","modules","installedModules","moduleId","i","l","call","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","t","mode","__esModule","ns","create","bind","n","object","property","prototype","hasOwnProperty","s","_typeof","iterator","obj","constructor","_createClass","defineProperties","target","length","descriptor","configurable","writable","Constructor","protoProps","staticProps","_clipboardAction","_clipboardAction2","_interopRequireDefault","_tinyEmitter","_tinyEmitter2","_goodListener","_goodListener2","default","_classCallCheck","instance","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","setPrototypeOf","__proto__","Clipboard","_Emitter","trigger","options","getPrototypeOf","resolveOptions","listenClick","action","defaultAction","defaultTarget","text","defaultText","container","body","listener","e","onClick","delegateTarget","currentTarget","clipboardAction","emitter","getAttributeValue","selector","querySelector","destroy","actions","support","queryCommandSupported","forEach","suffix","element","attribute","hasAttribute","getAttribute","_select","_select2","ClipboardAction","initSelection","selectedText","selectFake","selectTarget","isRTL","documentElement","removeFake","fakeHandlerCallback","fakeHandler","addEventListener","fakeElem","createElement","style","fontSize","border","padding","margin","position","yPosition","window","pageYOffset","scrollTop","top","setAttribute","appendChild","copyText","removeEventListener","removeChild","succeeded","execCommand","handleResult","emit","clearSelection","focus","getSelection","removeAllRanges","set","_action","Error","nodeType","_target","select","nodeName","isReadOnly","setSelectionRange","removeAttribute","selection","range","createRange","selectNodeContents","addRange","toString","E","callback","ctx","push","fn","once","off","_","slice","evtArr","len","evts","liveEvents","is","delegate","listen","string","node","listenNode","nodeList","listenNodeList","listenSelector","Array","HTMLElement","String","closest","_delegate","useCapture","listenerFn","elements","querySelectorAll","map","DOCUMENT_NODE_TYPE","Element","matches","proto","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","parentNode"],"mappings":"uHAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,mCAA8C,CAAAF,EAAA,OAAYE,YAAA,8BAAyC,CAAAF,EAAA,OAAYE,YAAA,SAAoB,CAAAN,EAAAO,GAAAP,EAAAQ,GAAAR,EAAAS,UAAAL,EAAA,OAAwCE,YAAA,QAAmB,CAAAF,EAAA,OAAYE,YAAA,aAAwB,CAAAN,EAAAO,GAAA,MAAAP,EAAAQ,GAAAR,EAAAU,UAAAC,aAAAP,EAAA,OAAAA,EAAA,QAAsEE,YAAA,QAAmB,CAAAN,EAAAO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ACA,OAAAQ,EAEAA,IAAAoG,YAIArM,EAAAC,QAAAoL","file":"h5/js/chunk-61576808.4c0d6afd.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"order-details pos-order-details\"},[_c('div',{staticClass:\"header acea-row row-middle\"},[_c('div',{staticClass:\"state\"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:\"data\"},[_c('div',{staticClass:\"order-num\"},[_vm._v(\"订单:\"+_vm._s(_vm.orderInfo.order_id))]),_c('div',[_c('span',{staticClass:\"time\"},[_vm._v(_vm._s(_vm.orderInfo.add_time))])])])]),_c('div',{staticClass:\"remarks acea-row row-between-wrapper\"},[_c('span',{staticClass:\"iconfont icon-zhinengkefu-\"}),_c('input',{staticClass:\"line1\",staticStyle:{\"text-align\":\"left\"},attrs:{\"type\":\"button\",\"value\":_vm.orderInfo.remark ? _vm.orderInfo.remark : '订单未备注,点击添加备注信息'},on:{\"click\":function($event){return _vm.modify(1)}}})]),_c('div',{staticClass:\"orderingUser acea-row row-middle\"},[_c('span',{staticClass:\"iconfont icon-yonghu2\"}),_vm._v(_vm._s(_vm.orderInfo.nickname)+\"\\n \")]),_c('div',{staticClass:\"address\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"\\n \"+_vm._s(_vm.orderInfo.real_name)),_c('span',{staticClass:\"phone\"},[_vm._v(_vm._s(_vm.orderInfo.user_phone))])]),_c('div',[_vm._v(_vm._s(_vm.orderInfo.user_address))])]),_vm._m(0),_c('div',{staticClass:\"pos-order-goods\"},_vm._l((_vm.orderInfo._info),function(item,index){return _c('div',{key:index,staticClass:\"goods acea-row row-between-wrapper\"},[_c('div',{staticClass:\"picTxt acea-row row-between-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":item.cart_info.productInfo.image}})]),_c('div',{staticClass:\"text acea-row row-between row-column\"},[_c('div',{staticClass:\"info line2\"},[_vm._v(\"\\n \"+_vm._s(item.cart_info.productInfo.store_name)+\"\\n \")]),_c('div',{staticClass:\"attr\"},[_vm._v(_vm._s(item.cart_info.productInfo.suk))])])]),_c('div',{staticClass:\"money\"},[_c('div',{staticClass:\"x-money\"},[_vm._v(\"¥\"+_vm._s(item.cart_info.productInfo.price))]),_c('div',{staticClass:\"num\"},[_vm._v(\"x\"+_vm._s(item.cart_info.cart_num))]),_c('div',{staticClass:\"y-money\"},[_vm._v(\"¥\"+_vm._s(item.cart_info.productInfo.ot_price))])])])}),0),_c('div',{staticClass:\"public-total\"},[_vm._v(\"\\n 共\"+_vm._s(_vm.orderInfo.total_num)+\"件商品,应支付\\n \"),_c('span',{staticClass:\"money\"},[_vm._v(\"¥\"+_vm._s(_vm.orderInfo.pay_price))]),_vm._v(\" ( 邮费 ¥\"+_vm._s(_vm.orderInfo.pay_postage)+\"\\n )\\n \")]),_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"item acea-row row-between\"},[_c('div',[_vm._v(\"订单编号:\")]),_c('div',{staticClass:\"conter acea-row row-middle row-right\"},[_vm._v(\"\\n \"+_vm._s(_vm.orderInfo.order_id)),_c('span',{staticClass:\"copy copy-data\",attrs:{\"data-clipboard-text\":_vm.orderInfo.order_id}},[_vm._v(\"复制\")])])]),_c('div',{staticClass:\"item acea-row row-between\"},[_c('div',[_vm._v(\"下单时间:\")]),_c('div',{staticClass:\"conter\"},[_vm._v(_vm._s(_vm.orderInfo.add_time))])]),_c('div',{staticClass:\"item acea-row row-between\"},[_c('div',[_vm._v(\"支付状态:\")]),_c('div',{staticClass:\"conter\"},[_vm._v(\"\\n \"+_vm._s(_vm.orderInfo.paid == 1 ? \"已支付\" : \"未支付\")+\"\\n \")])]),_c('div',{staticClass:\"item acea-row row-between\"},[_c('div',[_vm._v(\"支付方式:\")]),_c('div',{staticClass:\"conter\"},[_vm._v(_vm._s(_vm.payType))])]),_c('div',{staticClass:\"item acea-row row-between\"},[_c('div',[_vm._v(\"买家留言:\")]),_c('div',{staticClass:\"conter\"},[_vm._v(_vm._s(_vm.orderInfo.mark))])])]),_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"item acea-row row-between\"},[_c('div',[_vm._v(\"支付金额:\")]),_c('div',{staticClass:\"conter\"},[_vm._v(\"¥\"+_vm._s(_vm.orderInfo.total_price))])]),_c('div',{staticClass:\"item acea-row row-between\"},[_c('div',[_vm._v(\"优惠券抵扣:\")]),_c('div',{staticClass:\"conter\"},[_vm._v(\"-¥\"+_vm._s(_vm.orderInfo.coupon_price))])]),_c('div',{staticClass:\"item acea-row row-between\"},[_c('div',[_vm._v(\"运费:\")]),_c('div',{staticClass:\"conter\"},[_vm._v(\"¥\"+_vm._s(_vm.orderInfo.freight_price))])]),_c('div',{staticClass:\"actualPay acea-row row-right\"},[_vm._v(\"\\n 实付款:\"),_c('span',{staticClass:\"money font-color-red\"},[_vm._v(\"¥\"+_vm._s(_vm.orderInfo.pay_price))])])]),(\n _vm.orderInfo.delivery_type != 'fictitious' && _vm.orderInfo._status._type === 2\n )?_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"item acea-row row-between\"},[_c('div',[_vm._v(\"配送方式:\")]),(_vm.orderInfo.delivery_type === 'express')?_c('div',{staticClass:\"conter\"},[_vm._v(\"\\n 快递\\n \")]):_vm._e(),(_vm.orderInfo.delivery_type === 'send')?_c('div',{staticClass:\"conter\"},[_vm._v(\"送货\")]):_vm._e()]),_c('div',{staticClass:\"item acea-row row-between\"},[(_vm.orderInfo.delivery_type === 'express')?_c('div',[_vm._v(\"快递公司:\")]):_vm._e(),(_vm.orderInfo.delivery_type === 'send')?_c('div',[_vm._v(\"送货人:\")]):_vm._e(),_c('div',{staticClass:\"conter\"},[_vm._v(_vm._s(_vm.orderInfo.delivery_name))])]),_c('div',{staticClass:\"item acea-row row-between\"},[(_vm.orderInfo.delivery_type === 'express')?_c('div',[_vm._v(\"快递单号:\")]):_vm._e(),(_vm.orderInfo.delivery_type === 'send')?_c('div',[_vm._v(\"送货人电话:\")]):_vm._e(),_c('div',{staticClass:\"conter\"},[_vm._v(\"\\n \"+_vm._s(_vm.orderInfo.delivery_id)),_c('span',{staticClass:\"copy copy-data\",attrs:{\"data-clipboard-text\":_vm.orderInfo.delivery_id}},[_vm._v(\"复制\")])])])]):_vm._e(),_c('div',{staticStyle:{\"height\":\"1.2rem\"}}),_c('div',{staticClass:\"footer acea-row row-right row-middle\"},[_c('div',{staticClass:\"more\"}),(_vm.types == 0)?_c('div',{staticClass:\"bnt cancel\",on:{\"click\":function($event){return _vm.modify(0)}}},[_vm._v(\"\\n 一键改价\\n \")]):_vm._e(),(_vm.types == -1)?_c('div',{staticClass:\"bnt cancel\",on:{\"click\":function($event){return _vm.modify(0)}}},[_vm._v(\"\\n 立即退款\\n \")]):_vm._e(),_c('div',{staticClass:\"bnt cancel\",on:{\"click\":function($event){return _vm.modify(1)}}},[_vm._v(\"订单备注\")]),(_vm.orderInfo.pay_type === 'offline' && _vm.orderInfo.paid === 0)?_c('div',{staticClass:\"bnt cancel\",on:{\"click\":_vm.offlinePay}},[_vm._v(\"\\n 确认付款\\n \")]):_vm._e(),(_vm.types == 1)?_c('router-link',{staticClass:\"bnt delivery\",attrs:{\"to\":'/customer/delivery/' + _vm.orderInfo.order_id}},[_vm._v(\"去发货\")]):_vm._e()],1),_c('PriceChange',{attrs:{\"change\":_vm.change,\"orderInfo\":_vm.orderInfo,\"status\":_vm.status},on:{\"closechange\":function($event){return _vm.changeclose($event)},\"savePrice\":_vm.savePrice}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"line\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/line.jpg\")}})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"order-details pos-order-details\">\r\n <div class=\"header acea-row row-middle\">\r\n <div class=\"state\">{{ title }}</div>\r\n <div class=\"data\">\r\n <div class=\"order-num\">订单:{{ orderInfo.order_id }}</div>\r\n <div>\r\n <span class=\"time\">{{ orderInfo.add_time }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"remarks acea-row row-between-wrapper\">\r\n <span class=\"iconfont icon-zhinengkefu-\"></span>\r\n <input\r\n type=\"button\"\r\n class=\"line1\"\r\n style=\"text-align: left;\"\r\n :value=\"\r\n orderInfo.remark ? orderInfo.remark : '订单未备注,点击添加备注信息'\r\n \"\r\n @click=\"modify(1)\"\r\n />\r\n </div>\r\n <div class=\"orderingUser acea-row row-middle\">\r\n <span class=\"iconfont icon-yonghu2\"></span>{{ orderInfo.nickname }}\r\n </div>\r\n <div class=\"address\">\r\n <div class=\"name\">\r\n {{ orderInfo.real_name\r\n }}<span class=\"phone\">{{ orderInfo.user_phone }}</span>\r\n </div>\r\n <div>{{ orderInfo.user_address }}</div>\r\n </div>\r\n <div class=\"line\"><img src=\"@assets/images/line.jpg\" /></div>\r\n <div class=\"pos-order-goods\">\r\n <div\r\n class=\"goods acea-row row-between-wrapper\"\r\n v-for=\"(item, index) in orderInfo._info\"\r\n :key=\"index\"\r\n >\r\n <div class=\"picTxt acea-row row-between-wrapper\">\r\n <div class=\"pictrue\">\r\n <img :src=\"item.cart_info.productInfo.image\" />\r\n </div>\r\n <div class=\"text acea-row row-between row-column\">\r\n <div class=\"info line2\">\r\n {{ item.cart_info.productInfo.store_name }}\r\n </div>\r\n <div class=\"attr\">{{ item.cart_info.productInfo.suk }}</div>\r\n </div>\r\n </div>\r\n <div class=\"money\">\r\n <div class=\"x-money\">¥{{ item.cart_info.productInfo.price }}</div>\r\n <div class=\"num\">x{{ item.cart_info.cart_num }}</div>\r\n <div class=\"y-money\">¥{{ item.cart_info.productInfo.ot_price }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"public-total\">\r\n 共{{ orderInfo.total_num }}件商品,应支付\r\n <span class=\"money\">¥{{ orderInfo.pay_price }}</span> ( 邮费 ¥{{\r\n orderInfo.pay_postage\r\n }}\r\n )\r\n </div>\r\n <div class=\"wrapper\">\r\n <div class=\"item acea-row row-between\">\r\n <div>订单编号:</div>\r\n <div class=\"conter acea-row row-middle row-right\">\r\n {{ orderInfo.order_id\r\n }}<span\r\n class=\"copy copy-data\"\r\n :data-clipboard-text=\"orderInfo.order_id\"\r\n >复制</span\r\n >\r\n </div>\r\n </div>\r\n <div class=\"item acea-row row-between\">\r\n <div>下单时间:</div>\r\n <div class=\"conter\">{{ orderInfo.add_time }}</div>\r\n </div>\r\n <div class=\"item acea-row row-between\">\r\n <div>支付状态:</div>\r\n <div class=\"conter\">\r\n {{ orderInfo.paid == 1 ? \"已支付\" : \"未支付\" }}\r\n </div>\r\n </div>\r\n <div class=\"item acea-row row-between\">\r\n <div>支付方式:</div>\r\n <div class=\"conter\">{{ payType }}</div>\r\n </div>\r\n <div class=\"item acea-row row-between\">\r\n <div>买家留言:</div>\r\n <div class=\"conter\">{{ orderInfo.mark }}</div>\r\n </div>\r\n </div>\r\n <div class=\"wrapper\">\r\n <div class=\"item acea-row row-between\">\r\n <div>支付金额:</div>\r\n <div class=\"conter\">¥{{ orderInfo.total_price }}</div>\r\n </div>\r\n <div class=\"item acea-row row-between\">\r\n <div>优惠券抵扣:</div>\r\n <div class=\"conter\">-¥{{ orderInfo.coupon_price }}</div>\r\n </div>\r\n <div class=\"item acea-row row-between\">\r\n <div>运费:</div>\r\n <div class=\"conter\">¥{{ orderInfo.freight_price }}</div>\r\n </div>\r\n <div class=\"actualPay acea-row row-right\">\r\n 实付款:<span class=\"money font-color-red\"\r\n >¥{{ orderInfo.pay_price }}</span\r\n >\r\n </div>\r\n </div>\r\n <div\r\n class=\"wrapper\"\r\n v-if=\"\r\n orderInfo.delivery_type != 'fictitious' && orderInfo._status._type === 2\r\n \"\r\n >\r\n <div class=\"item acea-row row-between\">\r\n <div>配送方式:</div>\r\n <div class=\"conter\" v-if=\"orderInfo.delivery_type === 'express'\">\r\n 快递\r\n </div>\r\n <div class=\"conter\" v-if=\"orderInfo.delivery_type === 'send'\">送货</div>\r\n </div>\r\n <div class=\"item acea-row row-between\">\r\n <div v-if=\"orderInfo.delivery_type === 'express'\">快递公司:</div>\r\n <div v-if=\"orderInfo.delivery_type === 'send'\">送货人:</div>\r\n <div class=\"conter\">{{ orderInfo.delivery_name }}</div>\r\n </div>\r\n <div class=\"item acea-row row-between\">\r\n <div v-if=\"orderInfo.delivery_type === 'express'\">快递单号:</div>\r\n <div v-if=\"orderInfo.delivery_type === 'send'\">送货人电话:</div>\r\n <div class=\"conter\">\r\n {{ orderInfo.delivery_id\r\n }}<span\r\n class=\"copy copy-data\"\r\n :data-clipboard-text=\"orderInfo.delivery_id\"\r\n >复制</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n <div style=\"height:1.2rem;\"></div>\r\n <div class=\"footer acea-row row-right row-middle\">\r\n <div class=\"more\"></div>\r\n <div class=\"bnt cancel\" @click=\"modify(0)\" v-if=\"types == 0\">\r\n 一键改价\r\n </div>\r\n <div class=\"bnt cancel\" @click=\"modify(0)\" v-if=\"types == -1\">\r\n 立即退款\r\n </div>\r\n <div class=\"bnt cancel\" @click=\"modify(1)\">订单备注</div>\r\n <div\r\n class=\"bnt cancel\"\r\n v-if=\"orderInfo.pay_type === 'offline' && orderInfo.paid === 0\"\r\n @click=\"offlinePay\"\r\n >\r\n 确认付款\r\n </div>\r\n <router-link\r\n class=\"bnt delivery\"\r\n v-if=\"types == 1\"\r\n :to=\"'/customer/delivery/' + orderInfo.order_id\"\r\n >去发货</router-link\r\n >\r\n </div>\r\n <PriceChange\r\n :change=\"change\"\r\n :orderInfo=\"orderInfo\"\r\n v-on:closechange=\"changeclose($event)\"\r\n v-on:savePrice=\"savePrice\"\r\n :status=\"status\"\r\n ></PriceChange>\r\n </div>\r\n</template>\r\n<script>\r\nimport PriceChange from \"@components/PriceChange\";\r\nimport ClipboardJS from \"clipboard\";\r\nimport {\r\n getAdminOrderDetail,\r\n setAdminOrderPrice,\r\n setAdminOrderRemark,\r\n setOfflinePay,\r\n setOrderRefund\r\n} from \"../../api/admin\";\r\nimport { required, num } from \"@utils/validate\";\r\nimport { validatorDefaultCatch } from \"@utils/dialog\";\r\nexport default {\r\n name: \"AdminOrder\",\r\n components: {\r\n PriceChange\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n order: false,\r\n change: false,\r\n order_id: \"\",\r\n orderInfo: {\r\n _status: {}\r\n },\r\n status: \"\",\r\n title: \"\",\r\n payType: \"\",\r\n types: \"\"\r\n };\r\n },\r\n watch: {\r\n \"$route.params.oid\": function(newVal) {\r\n let that = this;\r\n if (newVal != undefined) {\r\n that.order_id = newVal;\r\n that.getIndex();\r\n }\r\n }\r\n },\r\n mounted: function() {\r\n this.order_id = this.$route.params.oid;\r\n this.getIndex();\r\n this.$nextTick(function() {\r\n var copybtn = document.getElementsByClassName(\"copy-data\");\r\n const clipboard = new ClipboardJS(copybtn);\r\n clipboard.on(\"success\", () => {\r\n this.$dialog.success(\"复制成功\");\r\n });\r\n });\r\n },\r\n methods: {\r\n more: function() {\r\n this.order = !this.order;\r\n },\r\n modify: function(status) {\r\n this.change = true;\r\n this.status = status;\r\n },\r\n changeclose: function(msg) {\r\n this.change = msg;\r\n },\r\n getIndex: function() {\r\n let that = this;\r\n getAdminOrderDetail(that.order_id).then(\r\n res => {\r\n that.orderInfo = res.data;\r\n that.types = res.data._status._type;\r\n that.title = res.data._status._title;\r\n that.payType = res.data._status._payType;\r\n },\r\n err => {\r\n that.$dialog.error(err.msg);\r\n }\r\n );\r\n },\r\n async savePrice(opt) {\r\n let that = this,\r\n data = {},\r\n price = opt.price,\r\n remark = opt.remark,\r\n refund_price = opt.refund_price;\r\n data.order_id = that.orderInfo.order_id;\r\n if (that.status == 0 && that.orderInfo.refund_status === 0) {\r\n try {\r\n await this.$validator({\r\n price: [\r\n required(required.message(\"金额\")),\r\n num(num.message(\"金额\"))\r\n ]\r\n }).validate({ price });\r\n } catch (e) {\r\n return validatorDefaultCatch(e);\r\n }\r\n data.price = price;\r\n setAdminOrderPrice(data).then(\r\n function() {\r\n that.change = false;\r\n that.$dialog.success(\"改价成功\");\r\n that.getIndex();\r\n },\r\n function() {\r\n that.change = false;\r\n that.$dialog.error(\"改价失败\");\r\n }\r\n );\r\n } else if (that.status == 0 && that.orderInfo.refund_status === 1) {\r\n try {\r\n await this.$validator({\r\n refund_price: [\r\n required(required.message(\"金额\")),\r\n num(num.message(\"金额\"))\r\n ]\r\n }).validate({ refund_price });\r\n } catch (e) {\r\n return validatorDefaultCatch(e);\r\n }\r\n data.price = refund_price;\r\n data.type = opt.type;\r\n setOrderRefund(data).then(\r\n res => {\r\n that.change = false;\r\n that.$dialog.success(res.msg);\r\n that.getIndex();\r\n },\r\n err => {\r\n that.change = false;\r\n that.$dialog.error(err.msg);\r\n that.getIndex();\r\n }\r\n );\r\n } else {\r\n try {\r\n await this.$validator({\r\n remark: [required(required.message(\"备注\"))]\r\n }).validate({ remark });\r\n } catch (e) {\r\n return validatorDefaultCatch(e);\r\n }\r\n data.remark = remark;\r\n setAdminOrderRemark(data).then(\r\n res => {\r\n that.change = false;\r\n that.$dialog.success(res.msg);\r\n that.getIndex();\r\n },\r\n err => {\r\n that.change = false;\r\n that.$dialog.error(err.msg);\r\n }\r\n );\r\n }\r\n },\r\n offlinePay: function() {\r\n setOfflinePay({ order_id: this.orderInfo.order_id }).then(\r\n res => {\r\n this.$dialog.success(res.msg);\r\n this.getIndex();\r\n },\r\n err => {\r\n this.$dialog.error(err.msg);\r\n }\r\n );\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminOrder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminOrder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AdminOrder.vue?vue&type=template&id=ef7ffb2a&\"\nimport script from \"./AdminOrder.vue?vue&type=script&lang=js&\"\nexport * from \"./AdminOrder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/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","module.exports = __webpack_public_path__ + \"h5/img/line.05bf1c84.jpg\";","/*!\n * clipboard.js v2.0.4\n * https://zenorocha.github.io/clipboard.js\n * \n * Licensed MIT © Zeno Rocha\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ClipboardJS\"] = factory();\n\telse\n\t\troot[\"ClipboardJS\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _clipboardAction = __webpack_require__(1);\n\nvar _clipboardAction2 = _interopRequireDefault(_clipboardAction);\n\nvar _tinyEmitter = __webpack_require__(3);\n\nvar _tinyEmitter2 = _interopRequireDefault(_tinyEmitter);\n\nvar _goodListener = __webpack_require__(4);\n\nvar _goodListener2 = _interopRequireDefault(_goodListener);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * Base class which takes one or more elements, adds event listeners to them,\n * and instantiates a new `ClipboardAction` on each click.\n */\nvar Clipboard = function (_Emitter) {\n _inherits(Clipboard, _Emitter);\n\n /**\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n * @param {Object} options\n */\n function Clipboard(trigger, options) {\n _classCallCheck(this, Clipboard);\n\n var _this = _possibleConstructorReturn(this, (Clipboard.__proto__ || Object.getPrototypeOf(Clipboard)).call(this));\n\n _this.resolveOptions(options);\n _this.listenClick(trigger);\n return _this;\n }\n\n /**\n * Defines if attributes would be resolved using internal setter functions\n * or custom functions that were passed in the constructor.\n * @param {Object} options\n */\n\n\n _createClass(Clipboard, [{\n key: 'resolveOptions',\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.action = typeof options.action === 'function' ? options.action : this.defaultAction;\n this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;\n this.text = typeof options.text === 'function' ? options.text : this.defaultText;\n this.container = _typeof(options.container) === 'object' ? options.container : document.body;\n }\n\n /**\n * Adds a click event listener to the passed trigger.\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n */\n\n }, {\n key: 'listenClick',\n value: function listenClick(trigger) {\n var _this2 = this;\n\n this.listener = (0, _goodListener2.default)(trigger, 'click', function (e) {\n return _this2.onClick(e);\n });\n }\n\n /**\n * Defines a new `ClipboardAction` on each click event.\n * @param {Event} e\n */\n\n }, {\n key: 'onClick',\n value: function onClick(e) {\n var trigger = e.delegateTarget || e.currentTarget;\n\n if (this.clipboardAction) {\n this.clipboardAction = null;\n }\n\n this.clipboardAction = new _clipboardAction2.default({\n action: this.action(trigger),\n target: this.target(trigger),\n text: this.text(trigger),\n container: this.container,\n trigger: trigger,\n emitter: this\n });\n }\n\n /**\n * Default `action` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: 'defaultAction',\n value: function defaultAction(trigger) {\n return getAttributeValue('action', trigger);\n }\n\n /**\n * Default `target` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: 'defaultTarget',\n value: function defaultTarget(trigger) {\n var selector = getAttributeValue('target', trigger);\n\n if (selector) {\n return document.querySelector(selector);\n }\n }\n\n /**\n * Returns the support of the given action, or all actions if no action is\n * given.\n * @param {String} [action]\n */\n\n }, {\n key: 'defaultText',\n\n\n /**\n * Default `text` lookup function.\n * @param {Element} trigger\n */\n value: function defaultText(trigger) {\n return getAttributeValue('text', trigger);\n }\n\n /**\n * Destroy lifecycle.\n */\n\n }, {\n key: 'destroy',\n value: function destroy() {\n this.listener.destroy();\n\n if (this.clipboardAction) {\n this.clipboardAction.destroy();\n this.clipboardAction = null;\n }\n }\n }], [{\n key: 'isSupported',\n value: function isSupported() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];\n\n var actions = typeof action === 'string' ? [action] : action;\n var support = !!document.queryCommandSupported;\n\n actions.forEach(function (action) {\n support = support && !!document.queryCommandSupported(action);\n });\n\n return support;\n }\n }]);\n\n return Clipboard;\n}(_tinyEmitter2.default);\n\n/**\n * Helper function to retrieve attribute value.\n * @param {String} suffix\n * @param {Element} element\n */\n\n\nfunction getAttributeValue(suffix, element) {\n var attribute = 'data-clipboard-' + suffix;\n\n if (!element.hasAttribute(attribute)) {\n return;\n }\n\n return element.getAttribute(attribute);\n}\n\nmodule.exports = Clipboard;\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _select = __webpack_require__(2);\n\nvar _select2 = _interopRequireDefault(_select);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * Inner class which performs selection from either `text` or `target`\n * properties and then executes copy or cut operations.\n */\nvar ClipboardAction = function () {\n /**\n * @param {Object} options\n */\n function ClipboardAction(options) {\n _classCallCheck(this, ClipboardAction);\n\n this.resolveOptions(options);\n this.initSelection();\n }\n\n /**\n * Defines base properties passed from constructor.\n * @param {Object} options\n */\n\n\n _createClass(ClipboardAction, [{\n key: 'resolveOptions',\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.action = options.action;\n this.container = options.container;\n this.emitter = options.emitter;\n this.target = options.target;\n this.text = options.text;\n this.trigger = options.trigger;\n\n this.selectedText = '';\n }\n\n /**\n * Decides which selection strategy is going to be applied based\n * on the existence of `text` and `target` properties.\n */\n\n }, {\n key: 'initSelection',\n value: function initSelection() {\n if (this.text) {\n this.selectFake();\n } else if (this.target) {\n this.selectTarget();\n }\n }\n\n /**\n * Creates a fake textarea element, sets its value from `text` property,\n * and makes a selection on it.\n */\n\n }, {\n key: 'selectFake',\n value: function selectFake() {\n var _this = this;\n\n var isRTL = document.documentElement.getAttribute('dir') == 'rtl';\n\n this.removeFake();\n\n this.fakeHandlerCallback = function () {\n return _this.removeFake();\n };\n this.fakeHandler = this.container.addEventListener('click', this.fakeHandlerCallback) || true;\n\n this.fakeElem = document.createElement('textarea');\n // Prevent zooming on iOS\n this.fakeElem.style.fontSize = '12pt';\n // Reset box model\n this.fakeElem.style.border = '0';\n this.fakeElem.style.padding = '0';\n this.fakeElem.style.margin = '0';\n // Move element out of screen horizontally\n this.fakeElem.style.position = 'absolute';\n this.fakeElem.style[isRTL ? 'right' : 'left'] = '-9999px';\n // Move element to the same position vertically\n var yPosition = window.pageYOffset || document.documentElement.scrollTop;\n this.fakeElem.style.top = yPosition + 'px';\n\n this.fakeElem.setAttribute('readonly', '');\n this.fakeElem.value = this.text;\n\n this.container.appendChild(this.fakeElem);\n\n this.selectedText = (0, _select2.default)(this.fakeElem);\n this.copyText();\n }\n\n /**\n * Only removes the fake element after another click event, that way\n * a user can hit `Ctrl+C` to copy because selection still exists.\n */\n\n }, {\n key: 'removeFake',\n value: function removeFake() {\n if (this.fakeHandler) {\n this.container.removeEventListener('click', this.fakeHandlerCallback);\n this.fakeHandler = null;\n this.fakeHandlerCallback = null;\n }\n\n if (this.fakeElem) {\n this.container.removeChild(this.fakeElem);\n this.fakeElem = null;\n }\n }\n\n /**\n * Selects the content from element passed on `target` property.\n */\n\n }, {\n key: 'selectTarget',\n value: function selectTarget() {\n this.selectedText = (0, _select2.default)(this.target);\n this.copyText();\n }\n\n /**\n * Executes the copy operation based on the current selection.\n */\n\n }, {\n key: 'copyText',\n value: function copyText() {\n var succeeded = void 0;\n\n try {\n succeeded = document.execCommand(this.action);\n } catch (err) {\n succeeded = false;\n }\n\n this.handleResult(succeeded);\n }\n\n /**\n * Fires an event based on the copy operation result.\n * @param {Boolean} succeeded\n */\n\n }, {\n key: 'handleResult',\n value: function handleResult(succeeded) {\n this.emitter.emit(succeeded ? 'success' : 'error', {\n action: this.action,\n text: this.selectedText,\n trigger: this.trigger,\n clearSelection: this.clearSelection.bind(this)\n });\n }\n\n /**\n * Moves focus away from `target` and back to the trigger, removes current selection.\n */\n\n }, {\n key: 'clearSelection',\n value: function clearSelection() {\n if (this.trigger) {\n this.trigger.focus();\n }\n\n window.getSelection().removeAllRanges();\n }\n\n /**\n * Sets the `action` to be performed which can be either 'copy' or 'cut'.\n * @param {String} action\n */\n\n }, {\n key: 'destroy',\n\n\n /**\n * Destroy lifecycle.\n */\n value: function destroy() {\n this.removeFake();\n }\n }, {\n key: 'action',\n set: function set() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'copy';\n\n this._action = action;\n\n if (this._action !== 'copy' && this._action !== 'cut') {\n throw new Error('Invalid \"action\" value, use either \"copy\" or \"cut\"');\n }\n }\n\n /**\n * Gets the `action` property.\n * @return {String}\n */\n ,\n get: function get() {\n return this._action;\n }\n\n /**\n * Sets the `target` property using an element\n * that will be have its content copied.\n * @param {Element} target\n */\n\n }, {\n key: 'target',\n set: function set(target) {\n if (target !== undefined) {\n if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' && target.nodeType === 1) {\n if (this.action === 'copy' && target.hasAttribute('disabled')) {\n throw new Error('Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute');\n }\n\n if (this.action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {\n throw new Error('Invalid \"target\" attribute. You can\\'t cut text from elements with \"readonly\" or \"disabled\" attributes');\n }\n\n this._target = target;\n } else {\n throw new Error('Invalid \"target\" value, use a valid Element');\n }\n }\n }\n\n /**\n * Gets the `target` property.\n * @return {String|HTMLElement}\n */\n ,\n get: function get() {\n return this._target;\n }\n }]);\n\n return ClipboardAction;\n}();\n\nmodule.exports = ClipboardAction;\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports) {\n\nfunction select(element) {\n var selectedText;\n\n if (element.nodeName === 'SELECT') {\n element.focus();\n\n selectedText = element.value;\n }\n else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n var isReadOnly = element.hasAttribute('readonly');\n\n if (!isReadOnly) {\n element.setAttribute('readonly', '');\n }\n\n element.select();\n element.setSelectionRange(0, element.value.length);\n\n if (!isReadOnly) {\n element.removeAttribute('readonly');\n }\n\n selectedText = element.value;\n }\n else {\n if (element.hasAttribute('contenteditable')) {\n element.focus();\n }\n\n var selection = window.getSelection();\n var range = document.createRange();\n\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n\n selectedText = selection.toString();\n }\n\n return selectedText;\n}\n\nmodule.exports = select;\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\nfunction E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar is = __webpack_require__(5);\nvar delegate = __webpack_require__(6);\n\n/**\n * Validates all params and calls the right\n * listener function based on its target type.\n *\n * @param {String|HTMLElement|HTMLCollection|NodeList} target\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listen(target, type, callback) {\n if (!target && !type && !callback) {\n throw new Error('Missing required arguments');\n }\n\n if (!is.string(type)) {\n throw new TypeError('Second argument must be a String');\n }\n\n if (!is.fn(callback)) {\n throw new TypeError('Third argument must be a Function');\n }\n\n if (is.node(target)) {\n return listenNode(target, type, callback);\n }\n else if (is.nodeList(target)) {\n return listenNodeList(target, type, callback);\n }\n else if (is.string(target)) {\n return listenSelector(target, type, callback);\n }\n else {\n throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');\n }\n}\n\n/**\n * Adds an event listener to a HTML element\n * and returns a remove listener function.\n *\n * @param {HTMLElement} node\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNode(node, type, callback) {\n node.addEventListener(type, callback);\n\n return {\n destroy: function() {\n node.removeEventListener(type, callback);\n }\n }\n}\n\n/**\n * Add an event listener to a list of HTML elements\n * and returns a remove listener function.\n *\n * @param {NodeList|HTMLCollection} nodeList\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNodeList(nodeList, type, callback) {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.addEventListener(type, callback);\n });\n\n return {\n destroy: function() {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.removeEventListener(type, callback);\n });\n }\n }\n}\n\n/**\n * Add an event listener to a selector\n * and returns a remove listener function.\n *\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenSelector(selector, type, callback) {\n return delegate(document.body, selector, type, callback);\n}\n\nmodule.exports = listen;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports) {\n\n/**\n * Check if argument is a HTML element.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.node = function(value) {\n return value !== undefined\n && value instanceof HTMLElement\n && value.nodeType === 1;\n};\n\n/**\n * Check if argument is a list of HTML elements.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.nodeList = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return value !== undefined\n && (type === '[object NodeList]' || type === '[object HTMLCollection]')\n && ('length' in value)\n && (value.length === 0 || exports.node(value[0]));\n};\n\n/**\n * Check if argument is a string.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.string = function(value) {\n return typeof value === 'string'\n || value instanceof String;\n};\n\n/**\n * Check if argument is a function.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.fn = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return type === '[object Function]';\n};\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar closest = __webpack_require__(7);\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction _delegate(element, selector, type, callback, useCapture) {\n var listenerFn = listener.apply(this, arguments);\n\n element.addEventListener(type, listenerFn, useCapture);\n\n return {\n destroy: function() {\n element.removeEventListener(type, listenerFn, useCapture);\n }\n }\n}\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element|String|Array} [elements]\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction delegate(elements, selector, type, callback, useCapture) {\n // Handle the regular Element usage\n if (typeof elements.addEventListener === 'function') {\n return _delegate.apply(null, arguments);\n }\n\n // Handle Element-less usage, it defaults to global delegation\n if (typeof type === 'function') {\n // Use `document` as the first parameter, then apply arguments\n // This is a short way to .unshift `arguments` without running into deoptimizations\n return _delegate.bind(null, document).apply(null, arguments);\n }\n\n // Handle Selector-based usage\n if (typeof elements === 'string') {\n elements = document.querySelectorAll(elements);\n }\n\n // Handle Array-like based usage\n return Array.prototype.map.call(elements, function (element) {\n return _delegate(element, selector, type, callback, useCapture);\n });\n}\n\n/**\n * Finds closest match and invokes callback.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Function}\n */\nfunction listener(element, selector, type, callback) {\n return function(e) {\n e.delegateTarget = closest(e.target, selector);\n\n if (e.delegateTarget) {\n callback.call(element, e);\n }\n }\n}\n\nmodule.exports = delegate;\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports) {\n\nvar DOCUMENT_NODE_TYPE = 9;\n\n/**\n * A polyfill for Element.matches()\n */\nif (typeof Element !== 'undefined' && !Element.prototype.matches) {\n var proto = Element.prototype;\n\n proto.matches = proto.matchesSelector ||\n proto.mozMatchesSelector ||\n proto.msMatchesSelector ||\n proto.oMatchesSelector ||\n proto.webkitMatchesSelector;\n}\n\n/**\n * Finds the closest parent that matches a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @return {Function}\n */\nfunction closest (element, selector) {\n while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {\n if (typeof element.matches === 'function' &&\n element.matches(selector)) {\n return element;\n }\n element = element.parentNode;\n }\n}\n\nmodule.exports = closest;\n\n\n/***/ })\n/******/ ]);\n});"],"sourceRoot":""}