@xysfe/actui 1.5.72 → 1.5.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/BankSelect/index.js +1 -1
- package/es/Contact/index.js +1 -1
- package/es/ContactBook/index.js +1 -1
- package/es/CrmReserveInfoLayer/index.js +1 -1
- package/es/DeviceFingerprint/index.js +1 -1
- package/es/DiseaseSelect/index.js +1 -1
- package/es/DocPop/index.js +1 -1
- package/es/FaceRecognition/index.js +1 -1
- package/es/FigurePic/index.js +1 -1
- package/es/FileList/index.js +1 -1
- package/es/FileUpload/index.js +1 -1
- package/es/GoldAddressLayer/index.js +1 -1
- package/es/GoldAddressSelect/index.js +1 -1
- package/es/GoldAml/index.js +1 -1
- package/es/GoldAuroraSlots/index.js +1 -1
- package/es/GoldBankPayLimit/index.js +1 -1
- package/es/GoldBenefitDemo/index.js +1 -1
- package/es/GoldCareerLayer/index.js +1 -1
- package/es/GoldCompute/index.js +1 -1
- package/es/GoldComputeV2/index.js +1 -1
- package/es/GoldConclusion/index.js +1 -1
- package/es/GoldContact/index.js +1 -1
- package/es/GoldContactBook/index.js +1 -1
- package/es/GoldCost/index.js +1 -1
- package/es/GoldCostLayer/index.js +1 -1
- package/es/GoldCoupon/index.js +1 -1
- package/es/GoldDoorPlate/index.js +1 -1
- package/es/GoldFile/index.js +1 -1
- package/es/GoldFileAssess/index.js +1 -1
- package/es/GoldFinance/index.js +1 -1
- package/es/GoldFinanceChart/index.js +1 -1
- package/es/GoldFinanceChartV2/index.js +1 -1
- package/es/GoldFinanceV2/index.js +1 -1
- package/es/GoldInsureDuty/index.js +1 -1
- package/es/GoldMailPrecheck/index.js +1 -1
- package/es/GoldMailPrecheckV2/index.js +1 -1
- package/es/GoldModule/index.js +1 -1
- package/es/GoldNoticeTerms/index.js +1 -1
- package/es/GoldOcr/index.js +1 -1
- package/es/GoldPayLimitLayer/index.js +1 -1
- package/es/GoldPhoto/index.js +1 -1
- package/es/GoldQrcode/index.js +1 -1
- package/es/GoldReadTerms/index.js +1 -1
- package/es/GoldSelect/index.js +1 -1
- package/es/GoldSignature/index.js +1 -1
- package/es/GoldStepper/index.js +1 -1
- package/es/Jigsaw/index.js +1 -1
- package/es/JigsawVerifyCode/index.js +1 -1
- package/es/Keyframe/index.js +1 -1
- package/es/Login/index.js +1 -1
- package/es/LoginLayer/index.js +1 -1
- package/es/Marketing/index.js +1 -1
- package/es/MobileAuth/index.js +1 -1
- package/es/MobileAuthLayer/index.js +1 -1
- package/es/OcrLayer/index.js +1 -1
- package/es/Pdfjs/index.js +1 -1
- package/es/ProductLayer/index.js +1 -1
- package/es/QRCode/index.js +1 -1
- package/es/QrcodeLayer/index.js +1 -1
- package/es/Recognition/index.js +1 -1
- package/es/ReplayLayer/index.js +1 -1
- package/es/ResourcePreload/index.js +1 -1
- package/es/Signature/index.js +1 -1
- package/es/SlidePoster/index.js +1 -1
- package/es/Tab/index.js +1 -1
- package/es/Validator/index.js +1 -1
- package/es/index.js +1 -1
- package/es/toBase64/index.js +1 -1
- package/lib/GoldAddressLayer/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/es/FileList/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/DocPop/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/gold-visible.js","@xysfe/actui/es/FileUpload/index.js","@xysfe/actui/es/DocPop/index.js"],e):"object"==typeof exports?exports.FileList=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/DocPop/index.js")):t.FileList=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/gold-visible.js"],t["@xysfe/actui/es/FileUpload/index.js"],t["@xysfe/actui/es/DocPop/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n,i,r){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1329)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e,n){var i=n(0),r=n(2),s=n(17),o=n(5),a=n(8),u=function(t,e,n){var c,l,f,p=t&u.F,d=t&u.G,h=t&u.S,x=t&u.P,v=t&u.B,m=t&u.W,g=d?r:r[e]||(r[e]={}),y=g.prototype,_=d?i:h?i[e]:(i[e]||{}).prototype;d&&(n=e);for(c in n)(l=!p&&_&&void 0!==_[c])&&a(g,c)||(f=l?_[c]:n[c],g[c]=d&&"function"!=typeof _[c]?n[c]:v&&l?s(f,i):m&&_[c]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):x&&"function"==typeof f?s(Function.call,f):f,x&&((g.virtual||(g.virtual={}))[c]=f,t&u.R&&y&&!y[c]&&o(y,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},12:function(t,e,n){var i=n(30),r=n(16);t.exports=function(t){return i(r(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1329:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(21),r=n.n(i),s=n(1330);s.a.install=function(t){t.component(s.a.name,s.a),t.prototype.$createFileList=r()(s.a,t)},e.default=s.a},1330:function(t,e,n){"use strict";function i(t){a||n(1331)}var r=n(802),s=n(1332),o=n(7),a=!1,u=i,c=Object(o.a)(r.a,s.a,s.b,!1,u,"data-v-1d95b7c8",null);c.options.__file="src\\components\\FileList\\src\\index.vue",e.a=c.exports},1331:function(t,e){},1332:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-file"},[t.exampleItem?n("act-doc-pop",{ref:"docpop",attrs:{docData:t.exampleItem,brandColor:t.brandColor}}):t._e(),t._v(" "),t.title?n("div",{staticClass:"act-file-title"},[n("p",[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.hasDownload?n("a",{staticClass:"act-file-download",style:{color:t.brandColor},on:{click:t.downloadEvent}},[t._v("\n "+t._s(t.download.title)+"\n ")]):t._e(),t._v(" "),t.linkTips?n("div",{staticClass:"act-file-linktips",style:{color:t.brandColor},on:{click:function(e){return t.showExample(t.linkTips)}}},[t._v("\n "+t._s(t.linkTips.tips)+"\n ")]):t._e()]):t._e(),t._v(" "),t.imageList.length>0||t.showAdd&&!t.hasFile?[n("ul",{staticClass:"act-img-list clear-fix",class:t.textAlign},[t.showAdd&&!t.hasFile?n("li",{staticClass:"act-img-item act-file-add",on:{click:function(e){return e.stopPropagation(),t.upload.apply(null,arguments)}}}):t._e(),t._v(" "),t._l(t.imageList,function(e,i){return n("li",{key:"image_"+i,staticClass:"act-img-item"},[n("img",{attrs:{src:e.url},on:{click:function(n){return n.stopPropagation(),t.preview(t.imageList,e.index)}}}),t._v(" "),t.deletable?n("span",{staticClass:"act-img-del",on:{click:function(n){return t.del(e.index)}}}):t._e()])}),t._v(" "),t.showExamplePicture?t._l(t.examplePicture,function(e,i){return n("li",{key:"ex_p_"+i,staticClass:"act-img-item act-file-example-picture"},[n("img",{attrs:{src:"string"==typeof e?e:e.url}}),t._v(" "),n("div",{staticClass:"example-cover",on:{click:function(e){return e.stopPropagation(),t.preview(t.examplePicture,i)}}},[t._v("\n "+t._s("string"==typeof e?"示例图片":e.text)+"\n ")])])}):t._e()],2)]:t._e(),t._v(" "),t.fileList.length>0?n("ul",{staticClass:"act-file-list"},t._l(t.fileList,function(e,i){return n("li",{key:i,staticClass:"act-file-item"},[n("p",[n("span",{staticClass:"act-file-type"},[t._v("[文件]")]),t._v(t._s(e.name)+"\n ")]),t._v(" "),t.deletable?n("span",{staticClass:"act-file-del",on:{click:function(n){return t.del(e.index)}}}):t._e()])}),0):t._e(),t._v(" "),t.showAdd&&t.hasFile?n("div",{staticClass:"act-img-item act-file-add",on:{click:function(e){return e.stopPropagation(),t.upload.apply(null,arguments)}}}):t._e()],2)},r=[];i._withStripped=!0},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},157:function(t,e){t.exports=i},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var i=n(20);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var i=n(27)("keys"),r=n(24);t.exports=function(t){return i[t]||(i[t]=r(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(e,n){e.exports=t},22:function(t,e,n){var i=n(6),r=n(0).document,s=i(r)&&i(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},249:function(t,e){t.exports=r},26:function(t,e,n){var i=n(37),r=n(28);t.exports=Object.keys||function(t){return i(t,r)}},27:function(t,e,n){var i=n(2),r=n(0),s=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var i=n(16);t.exports=function(t){return Object(i(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var i=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},31:function(t,e,n){var i=n(15),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},34:function(t,e,n){var i=n(6);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},35:function(t,n){t.exports=e},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var i=n(8),r=n(12),s=n(40)(!1),o=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=r(t),u=0,c=[];for(n in a)n!=o&&i(a,n)&&c.push(n);for(;e.length>u;)i(a,n=e[u++])&&(~s(c,n)||c.push(n));return c}},4:function(t,e,n){var i=n(6);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var i=n(12),r=n(31),s=n(41);t.exports=function(t){return function(e,n,o){var a,u=i(e),c=r(u.length),l=s(o,c);if(t&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},41:function(t,e,n){var i=n(15),r=Math.max,s=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):s(t,e)}},44:function(t,e){e.f={}.propertyIsEnumerable},5:function(t,e,n){var i=n(9),r=n(23);t.exports=n(3)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},53:function(t,e){e.f=Object.getOwnPropertySymbols},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},61:function(t,e,n){t.exports={default:n(64),__esModule:!0}},64:function(t,e,n){n(65),t.exports=n(2).Object.assign},65:function(t,e,n){var i=n(10);i(i.S+i.F,"Object",{assign:n(66)})},66:function(t,e,n){"use strict";var i=n(3),r=n(26),s=n(53),o=n(44),a=n(29),u=n(30),c=Object.assign;t.exports=!c||n(13)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i})?function(t,e){for(var n=a(t),c=arguments.length,l=1,f=s.f,p=o.f;c>l;)for(var d,h=u(arguments[l++]),x=f?r(h).concat(f(h)):r(h),v=x.length,m=0;v>m;)d=x[m++],i&&!p.call(h,d)||(n[d]=h[d]);return n}:c},7:function(t,e,n){"use strict";function i(t,e,n,i,r,s,o,a){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var c="function"==typeof t?t.options:t;e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId=s);var l;if(o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var f=c.render;c.render=function(t,e){return l.call(e),f(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}e.a=i},70:function(t,e){t.exports=n},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},802:function(t,e,n){"use strict";var i=n(84),r=n.n(i),s=n(70),o=n.n(s),a=n(157),u=n.n(a),c=n(35),l=(n.n(c),n(249)),f=n.n(l);e.a={name:"ActFileList",mixins:[o.a],data:function(){return{realFiles:this.files?this.files.slice(0):[],exampleItem:null,examplePop:null,imagePreview:null}},props:{title:{type:String,default:""},files:{type:Array,default:function(){return[]}},addable:{type:Boolean,default:!1},deletable:{type:Boolean,default:!1},uploadOption:{type:Object,default:function(){return{}}},linkTips:{type:Object,default:function(){return null}},brandColor:{type:String,default:"#8c7fee"},assessable:{type:Boolean,default:!1},appId:{type:String,default:""},align:{type:String,default:"left"},download:{type:Object,default:function(){return null}},examplePicture:{type:Array,default:function(){return[]}}},computed:{imageList:function(){var t=this,e=[];return this.realFiles.map(function(n,i){Object(c.isObject)(n)?t.isImage(n.url)&&e.push({url:n.url,index:i}):t.isImage(n)&&e.push({url:n,index:i})}),e},row:function(){var t=this.imageList.length;return this.showAdd&&this.hasFile?t%4==0?t/4:Math.ceil(t/4):t%4==0?t/4+1:Math.ceil(t/4)},fileList:function(){var t=this,e=[];return this.realFiles.map(function(n,i){Object(c.isObject)(n)?t.isImage(n.url)||e.push({url:n.url,index:i,name:n.name,size:n.size||0}):t.isImage(n)||e.push(r()({url:n,index:i},t.getFileExt(n),{size:0}))}),e},max:function(){return this.uploadOption.max||100},showAdd:function(){return this.addable&&this.max>this.realFiles.length},hasFile:function(){return this.realFiles.length>0&&this.fileList.length>0},textAlign:function(){return"align-"+this.align},hasDownload:function(){if(!this.download)return!1;var t=this.download||{},e=t.title,n=t.url;return!(!e||!n)},showExamplePicture:function(){return!(!this.examplePicture||!this.examplePicture.length)&&(!this.imageList||!this.imageList.length)}},methods:{isImage:function(t){return/\.(apng|bmp|gif|ico|cur|jpg|jpeg|jfif|pjpeg|pjp|png|svg|tif|tiff|webp)($|\?)/.test(t)},getFileExt:function(t){t=t.split("?")[0];var e=t.split("/"),n=decodeURIComponent(e.pop());return{name:n,ext:/\./.test(n)?n.split(".").pop():""}},preview:function(t,e){this.imagePreview?this.imagePreview.setData(t,e):this.imagePreview=this.$createImagePreview({images:t,start:e}),this.imagePreview.show()},del:function(t){this.realFiles.splice(t,1),this.change(this.realFiles)},upload:function(){this.assessable?this._uploadAsseess():this._upload()},_uploadAsseess:function(){var t=this,e=null;u.a.upload(r()({appId:this.appId},this.uploadOption,{beforeUpload:function(e){t.showToast("正在上传...",0)},uploaded:function(n){t.realFiles.length<t.max&&n.data.url?t.realFiles.push({ret:n.ret,errmsg:n.errmsg,url:n.data.url,name:n.data.name||"",size:n.data.size||0,response:n.data.response||null}):(e=e||[],e.push({ret:n.ret,errmsg:n.errmsg}))}})).then(function(n){t.hideToast(),0!==n.length&&t.change(e||t.realFiles)},function(e){t.hideToast()})},_upload:function(){var t=this,e=0,n=0,i="";u.a.upload(r()({appId:this.appId},this.uploadOption,{beforeUpload:function(e){t.showToast("正在上传...",0)},uploaded:function(r){0===r.ret?t.realFiles.length<t.max&&(e++,t.realFiles.push({url:r.data.url,name:r.data.name||"",size:r.data.size||0})):(n++,i=i||r.errmsg)}})).then(function(r){t.hideToast(),0!==r.length&&(0===e?t.showToast(i||"上传失败"):0===n?t.showToast("上传成功"):t.showToast("上传成功"+Math.min(e,t.max)+"张,失败"+n+"张"),t.change(t.realFiles))},function(e){t.hideToast()})},showExample:function(t){var e=this;this.exampleItem||(this.exampleItem=[{type:1,title:t.tips,src:t.link,urls:[t.link]}]),this.examplePop||(this.examplePop=this.$createDocPop({docData:this.exampleItem,brandColor:this.brandColor})),this.$nextTick(function(){e.examplePop.show()})},downloadEvent:function(){this.$emit("downloadevent",this.download)},change:function(t){this.$emit("input",t),this.$emit("change",t)},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast()),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()}},components:{ActDocPop:f.a}}},84:function(t,e,n){"use strict";e.__esModule=!0;var i=n(61),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},9:function(t,e,n){var i=n(4),r=n(36),s=n(34),o=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(i(t),e=s(e,!0),i(n),r)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/DocPop/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/gold-visible.js","@xysfe/actui/es/FileUpload/index.js","@xysfe/actui/es/DocPop/index.js"],e):"object"==typeof exports?exports.FileList=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/DocPop/index.js")):t.FileList=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/gold-visible.js"],t["@xysfe/actui/es/FileUpload/index.js"],t["@xysfe/actui/es/DocPop/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n,i,r){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1329)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e,n){var i=n(0),r=n(2),s=n(17),o=n(5),a=n(8),u=function(t,e,n){var c,l,f,p=t&u.F,d=t&u.G,h=t&u.S,x=t&u.P,v=t&u.B,m=t&u.W,g=d?r:r[e]||(r[e]={}),y=g.prototype,_=d?i:h?i[e]:(i[e]||{}).prototype;d&&(n=e);for(c in n)(l=!p&&_&&void 0!==_[c])&&a(g,c)||(f=l?_[c]:n[c],g[c]=d&&"function"!=typeof _[c]?n[c]:v&&l?s(f,i):m&&_[c]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):x&&"function"==typeof f?s(Function.call,f):f,x&&((g.virtual||(g.virtual={}))[c]=f,t&u.R&&y&&!y[c]&&o(y,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},12:function(t,e,n){var i=n(30),r=n(16);t.exports=function(t){return i(r(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1329:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(21),r=n.n(i),s=n(1330);s.a.install=function(t){t.component(s.a.name,s.a),t.prototype.$createFileList=r()(s.a,t)},e.default=s.a},1330:function(t,e,n){"use strict";function i(t){a||n(1331)}var r=n(802),s=n(1332),o=n(7),a=!1,u=i,c=Object(o.a)(r.a,s.a,s.b,!1,u,"data-v-1d95b7c8",null);c.options.__file="src\\components\\FileList\\src\\index.vue",e.a=c.exports},1331:function(t,e){},1332:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-file"},[t.exampleItem?n("act-doc-pop",{ref:"docpop",attrs:{docData:t.exampleItem,brandColor:t.brandColor}}):t._e(),t._v(" "),t.title?n("div",{staticClass:"act-file-title"},[n("p",[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.hasDownload?n("a",{staticClass:"act-file-download",style:{color:t.brandColor},on:{click:t.downloadEvent}},[t._v("\n "+t._s(t.download.title)+"\n ")]):t._e(),t._v(" "),t.linkTips?n("div",{staticClass:"act-file-linktips",style:{color:t.brandColor},on:{click:function(e){return t.showExample(t.linkTips)}}},[t._v("\n "+t._s(t.linkTips.tips)+"\n ")]):t._e()]):t._e(),t._v(" "),t.imageList.length>0||t.showAdd&&!t.hasFile?[n("ul",{staticClass:"act-img-list clear-fix",class:t.textAlign},[t.showAdd&&!t.hasFile?n("li",{staticClass:"act-img-item act-file-add",on:{click:function(e){return e.stopPropagation(),t.upload.apply(null,arguments)}}}):t._e(),t._v(" "),t._l(t.imageList,function(e,i){return n("li",{key:"image_"+i,staticClass:"act-img-item"},[n("img",{attrs:{src:e.url},on:{click:function(n){return n.stopPropagation(),t.preview(t.imageList,e.index)}}}),t._v(" "),t.deletable?n("span",{staticClass:"act-img-del",on:{click:function(n){return t.del(e.index)}}}):t._e()])}),t._v(" "),t.showExamplePicture?t._l(t.examplePicture,function(e,i){return n("li",{key:"ex_p_"+i,staticClass:"act-img-item act-file-example-picture"},[n("img",{attrs:{src:"string"==typeof e?e:e.url}}),t._v(" "),n("div",{staticClass:"example-cover",on:{click:function(e){return e.stopPropagation(),t.preview(t.examplePicture,i)}}},[t._v("\n "+t._s("string"==typeof e?"示例图片":e.text)+"\n ")])])}):t._e()],2)]:t._e(),t._v(" "),t.fileList.length>0?n("ul",{staticClass:"act-file-list"},t._l(t.fileList,function(e,i){return n("li",{key:i,staticClass:"act-file-item"},[n("p",[n("span",{staticClass:"act-file-type"},[t._v("[文件]")]),t._v(t._s(e.name)+"\n ")]),t._v(" "),t.deletable?n("span",{staticClass:"act-file-del",on:{click:function(n){return t.del(e.index)}}}):t._e()])}),0):t._e(),t._v(" "),t.showAdd&&t.hasFile?n("div",{staticClass:"act-img-item act-file-add",on:{click:function(e){return e.stopPropagation(),t.upload.apply(null,arguments)}}}):t._e()],2)},r=[];i._withStripped=!0},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},157:function(t,e){t.exports=i},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var i=n(20);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var i=n(27)("keys"),r=n(24);t.exports=function(t){return i[t]||(i[t]=r(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(e,n){e.exports=t},22:function(t,e,n){var i=n(6),r=n(0).document,s=i(r)&&i(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},249:function(t,e){t.exports=r},26:function(t,e,n){var i=n(37),r=n(28);t.exports=Object.keys||function(t){return i(t,r)}},27:function(t,e,n){var i=n(2),r=n(0),s=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var i=n(16);t.exports=function(t){return Object(i(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var i=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},31:function(t,e,n){var i=n(15),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},34:function(t,e,n){var i=n(6);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},35:function(t,n){t.exports=e},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var i=n(8),r=n(12),s=n(40)(!1),o=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=r(t),u=0,c=[];for(n in a)n!=o&&i(a,n)&&c.push(n);for(;e.length>u;)i(a,n=e[u++])&&(~s(c,n)||c.push(n));return c}},4:function(t,e,n){var i=n(6);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var i=n(12),r=n(31),s=n(41);t.exports=function(t){return function(e,n,o){var a,u=i(e),c=r(u.length),l=s(o,c);if(t&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},41:function(t,e,n){var i=n(15),r=Math.max,s=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):s(t,e)}},43:function(t,e){e.f={}.propertyIsEnumerable},48:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,n){var i=n(9),r=n(23);t.exports=n(3)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},61:function(t,e,n){t.exports={default:n(64),__esModule:!0}},64:function(t,e,n){n(65),t.exports=n(2).Object.assign},65:function(t,e,n){var i=n(10);i(i.S+i.F,"Object",{assign:n(66)})},66:function(t,e,n){"use strict";var i=n(3),r=n(26),s=n(48),o=n(43),a=n(29),u=n(30),c=Object.assign;t.exports=!c||n(13)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i})?function(t,e){for(var n=a(t),c=arguments.length,l=1,f=s.f,p=o.f;c>l;)for(var d,h=u(arguments[l++]),x=f?r(h).concat(f(h)):r(h),v=x.length,m=0;v>m;)d=x[m++],i&&!p.call(h,d)||(n[d]=h[d]);return n}:c},7:function(t,e,n){"use strict";function i(t,e,n,i,r,s,o,a){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var c="function"==typeof t?t.options:t;e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId=s);var l;if(o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var f=c.render;c.render=function(t,e){return l.call(e),f(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}e.a=i},70:function(t,e){t.exports=n},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},802:function(t,e,n){"use strict";var i=n(84),r=n.n(i),s=n(70),o=n.n(s),a=n(157),u=n.n(a),c=n(35),l=(n.n(c),n(249)),f=n.n(l);e.a={name:"ActFileList",mixins:[o.a],data:function(){return{realFiles:this.files?this.files.slice(0):[],exampleItem:null,examplePop:null,imagePreview:null}},props:{title:{type:String,default:""},files:{type:Array,default:function(){return[]}},addable:{type:Boolean,default:!1},deletable:{type:Boolean,default:!1},uploadOption:{type:Object,default:function(){return{}}},linkTips:{type:Object,default:function(){return null}},brandColor:{type:String,default:"#8c7fee"},assessable:{type:Boolean,default:!1},appId:{type:String,default:""},align:{type:String,default:"left"},download:{type:Object,default:function(){return null}},examplePicture:{type:Array,default:function(){return[]}}},computed:{imageList:function(){var t=this,e=[];return this.realFiles.map(function(n,i){Object(c.isObject)(n)?t.isImage(n.url)&&e.push({url:n.url,index:i}):t.isImage(n)&&e.push({url:n,index:i})}),e},row:function(){var t=this.imageList.length;return this.showAdd&&this.hasFile?t%4==0?t/4:Math.ceil(t/4):t%4==0?t/4+1:Math.ceil(t/4)},fileList:function(){var t=this,e=[];return this.realFiles.map(function(n,i){Object(c.isObject)(n)?t.isImage(n.url)||e.push({url:n.url,index:i,name:n.name,size:n.size||0}):t.isImage(n)||e.push(r()({url:n,index:i},t.getFileExt(n),{size:0}))}),e},max:function(){return this.uploadOption.max||100},showAdd:function(){return this.addable&&this.max>this.realFiles.length},hasFile:function(){return this.realFiles.length>0&&this.fileList.length>0},textAlign:function(){return"align-"+this.align},hasDownload:function(){if(!this.download)return!1;var t=this.download||{},e=t.title,n=t.url;return!(!e||!n)},showExamplePicture:function(){return!(!this.examplePicture||!this.examplePicture.length)&&(!this.imageList||!this.imageList.length)}},methods:{isImage:function(t){return/\.(apng|bmp|gif|ico|cur|jpg|jpeg|jfif|pjpeg|pjp|png|svg|tif|tiff|webp)($|\?)/.test(t)},getFileExt:function(t){t=t.split("?")[0];var e=t.split("/"),n=decodeURIComponent(e.pop());return{name:n,ext:/\./.test(n)?n.split(".").pop():""}},preview:function(t,e){this.imagePreview?this.imagePreview.setData(t,e):this.imagePreview=this.$createImagePreview({images:t,start:e}),this.imagePreview.show()},del:function(t){this.realFiles.splice(t,1),this.change(this.realFiles)},upload:function(){this.assessable?this._uploadAsseess():this._upload()},_uploadAsseess:function(){var t=this,e=null;u.a.upload(r()({appId:this.appId},this.uploadOption,{beforeUpload:function(e){t.showToast("正在上传...",0)},uploaded:function(n){t.realFiles.length<t.max&&n.data.url?t.realFiles.push({ret:n.ret,errmsg:n.errmsg,url:n.data.url,name:n.data.name||"",size:n.data.size||0,response:n.data.response||null}):(e=e||[],e.push({ret:n.ret,errmsg:n.errmsg}))}})).then(function(n){t.hideToast(),0!==n.length&&t.change(e||t.realFiles)},function(e){t.hideToast()})},_upload:function(){var t=this,e=0,n=0,i="";u.a.upload(r()({appId:this.appId},this.uploadOption,{beforeUpload:function(e){t.showToast("正在上传...",0)},uploaded:function(r){0===r.ret?t.realFiles.length<t.max&&(e++,t.realFiles.push({url:r.data.url,name:r.data.name||"",size:r.data.size||0})):(n++,i=i||r.errmsg)}})).then(function(r){t.hideToast(),0!==r.length&&(0===e?t.showToast(i||"上传失败"):0===n?t.showToast("上传成功"):t.showToast("上传成功"+Math.min(e,t.max)+"张,失败"+n+"张"),t.change(t.realFiles))},function(e){t.hideToast()})},showExample:function(t){var e=this;this.exampleItem||(this.exampleItem=[{type:1,title:t.tips,src:t.link,urls:[t.link]}]),this.examplePop||(this.examplePop=this.$createDocPop({docData:this.exampleItem,brandColor:this.brandColor})),this.$nextTick(function(){e.examplePop.show()})},downloadEvent:function(){this.$emit("downloadevent",this.download)},change:function(t){this.$emit("input",t),this.$emit("change",t)},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast()),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()}},components:{ActDocPop:f.a}}},84:function(t,e,n){"use strict";e.__esModule=!0;var i=n(61),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},9:function(t,e,n){var i=n(4),r=n(36),s=n(34),o=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(i(t),e=s(e,!0),i(n),r)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}}})});
|
package/es/FileUpload/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/assign.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/utils/assign.js"],e):"object"==typeof exports?exports.FileUpload=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/assign.js")):t.FileUpload=e(t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/utils/assign.js"])}("undefined"!=typeof self?self:this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1322)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),o=n(24),i=n(0).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),a=n(5),u=n(8),c=function(t,e,n){var s,f,l,p=t&c.F,d=t&c.G,v=t&c.S,h=t&c.P,m=t&c.B,y=t&c.W,g=d?o:o[e]||(o[e]={}),x=g.prototype,b=d?r:v?r[e]:(r[e]||{}).prototype;d&&(n=e);for(s in n)(f=!p&&b&&void 0!==b[s])&&u(g,s)||(l=f?b[s]:n[s],g[s]=d&&"function"!=typeof b[s]?n[s]:m&&f?i(l,r):y&&b[s]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[s]=l,t&c.R&&x&&!x[s]&&a(x,s,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},105:function(t,e){t.exports=n},11:function(t,e){t.exports={}},12:function(t,e,n){var r=n(30),o=n(16);t.exports=function(t){return r(o(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1322:function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(f.a)(t).then(function(e){return 0===e.length?void(t.complete&&"function"==typeof t.complete&&t.complete(e)):(t.beforeUpload&&"function"==typeof t.beforeUpload&&t.beforeUpload(e),c.a.all(e.map(function(e){return a(t,e)})).then(function(e){var n=[];return e.map(function(t){n.push(t.data)}),t.complete&&"function"==typeof t.complete&&t.complete(n),n}))})}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(f.a)(t)}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.appId,n=void 0===e?"":e,r=t.sourceType,o=void 0===r?["album","camera"]:r,i=t.url,a=void 0===i?"":i,u=t.ext,l=void 0===u?{}:u,p=t.beforeUpload,d=t.complete;return Object(f.a)({appId:n,sourceType:o,count:1}).then(function(t){return 0===t.length?c.a.resolve({ret:999998,errmsg:"用户取消"}):(p&&"function"==typeof p&&p(t),Object(s.b)({appId:n,url:a,ext:l},t[0]).then(function(t){return d&&"function"==typeof d&&d(t),t}))})}function a(t,e){return Object(s.a)(t,e).then(function(e){return t.uploaded&&"function"==typeof t.uploaded&&t.uploaded(e),e})}Object.defineProperty(e,"__esModule",{value:!0});var u=n(62),c=n.n(u),s=n(393),f=n(1323);e.default={upload:r,choose:o,ocr:i,uploadFile:s.a}},1323:function(t,e,n){"use strict";function r(t){return t=j()({},O,t),F&&(t.type=F),b.ua.isWx&&(void 0===t.isLimitSourceType||t.isLimitSourceType)&&(t.sourceType=["album","camera"]),t.appId||(t.type=2),h(t)?i(t):o(t)}function o(t){return s(t)}function i(t){return b.ua.isWx&&!M?b.ua.isIOS&&(window.__wxjs_is_wkwebview||k)?a(t):1!==Number(t.type)||L?s(t):u(t):z||C?c(t):s(t)}function a(t){return new x.a(function(e,n){window.wx.chooseImage({count:t.count,sizeType:["compressed"],sourceType:t.sourceType,success:function(r){var o=r.localIds.length,i=0,a=[];r.localIds.forEach(function(r){window.wx.getLocalImgData({localId:r,success:function(t){i++,a.push({localId:r,base64:t.localData}),i===o&&(e(a),a=null)},fail:function(e){Object(_.a)(e,t).catch(n),Object(_.b)("wxUploadImage[getLocalImgData] error "+y()(e))}})})},fail:function(e){Object(_.a)(e,t).catch(n),Object(_.b)("wxChooseImage[chooseImage] error "+y()(e))}})})}function u(t){return new x.a(function(e,n){window.wx.chooseImage({count:t.count,sizeType:["compressed"],sourceType:t.sourceType,success:function(r){function o(r){var a=r.pop();if(!a)return void e(i);window.wx.uploadImage({localId:a,isShowProgressTips:E?1:0,success:function(t){i.push({localId:a,serverId:t.serverId}),o(r)},fail:function(e){Object(_.a)(e,t).catch(n),Object(_.b)("wxUploadImage[uploadImage] error "+y()(e)),o(r)}})}var i=[];b.ua.isAndroid?setTimeout(o(r.localIds),100):o(r.localIds)},fail:function(e){e.errMsg&&/permission\sdenied/.test(e.errMsg)&&/micromessenger\/7\.0\.14/i.test(navigator.userAgent)&&(F=2),Object(_.a)(e,t).catch(n),Object(_.b)("wxChooseImage[chooseImage] error "+y()(e))}})})}function c(t){return console.log("preview场景:",t.sourceType),new x.a(function(e,n){window.Crossapi&&window.Crossapi("/image/preview",{count:t.count,maxWidth:t.maxWidth,maxHeight:t.maxHeight,maxSize:t.maxSize,sourceType:t.sourceType},function(t){if(0!==t.code)return Object(_.b)("appChooseImage[/image/preview] error code:"+t.code+" errmsg:"+t.msg),n({ret:t.code,errmsg:t.msg});Object(b.isArray)(t.data)||(t.data=[t.data]),t.data=t.data.map(function(t){return{base64:t}}),e(t.data||[])})})}function s(t){!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new x.a(function(e,n){var r=document.body.getAttribute(S),o=void 0;if(r){o=f(document.getElementById(r),t,e)}else r=Object(b.randomString)(24),o=document.createElement("input"),o.id=r,o.type="file",o.style.display="none",h(t)?!b.ua.isIOS&&b.ua.isWx||o.setAttribute("accept","image/*"):b.ua.isAndroid&&!b.ua.isWx&&o.setAttribute("accept",t.accept),t.count>1&&o.setAttribute("multiple","multiple"),t.sourceType&&1===t.sourceType.length&&"camera"===t.sourceType[0]&&o.setAttribute("capture","camera"),o.addEventListener("change",function(){l.call(this,t,e)},!1),document.body.appendChild(o),document.body.setAttribute(S,r);o.click()})}function f(t,e,n){var r=Object(b.randomString)(24),o=document.createElement("input");return o.id=r,o.type="file",o.style.display="none",h(e)?!b.ua.isIOS&&b.ua.isWx||o.setAttribute("accept","image/*"):b.ua.isAndroid&&!b.ua.isWx&&o.setAttribute("accept",e.accept),e.count>1&&o.setAttribute("multiple","multiple"),e.sourceType&&1===e.sourceType.length&&"camera"===e.sourceType[0]&&o.setAttribute("capture","camera"),o.addEventListener("change",function(){l.call(this,e,n)},!1),t&&t.parentNode?(t.removeEventListener("change",function(){l.call(this,e,n)}),t.parentNode.replaceChild(o,t)):document.body.appendChild(o),document.body.setAttribute(S,r),o}function l(t,e){var n=Array.prototype.slice.call(this.files);if(!n||0===n.length)return e([]);x.a.all(n.map(function(e){return p(t,e)})).then(e).catch(function(t){})}function p(t,e){return new x.a(function(n,r){var o=new FileReader;h(t)||/^image\//.test(e.type)?(o.onload=function(r){d(t,e,r.target.result).then(function(r){n({name:e.name,type:t.fileType||e.type,base64:r,size:e.size})}).catch(function(){})},o.readAsDataURL(e)):n({name:e.name,type:t.fileType||e.type,file:e})})}function d(t,e,n){return new x.a(function(r,o){var i=new Image;i.onload=function(){r(v(t,i,t.fileType||e.type)),i=null},i.onabort=i.onerror=o,i.src=n})}function v(t,e,n){var r,o=e.width,i=e.height,a=o/i,u=void 0,c=void 0;return a>=1&&o>t.maxWidth?(r=t.maxWidth/o,c=i*r,I.width=t.maxWidth,I.height=c,T.drawImage(e,0,0,t.maxWidth,c)):a<1&&i>t.maxHeight?(r=t.maxHeight/i,u=o*r,I.width=u,I.height=t.maxHeight,T.drawImage(e,0,0,u,t.maxHeight)):(I.width=o,I.height=i,T.drawImage(e,0,0,o,i)),I.toDataURL(n||"image/jpeg",.6)}function h(t){return!t.accept||/^image\//.test(t.accept)}e.a=r;var m=n(83),y=n.n(m),g=n(62),x=n.n(g),b=n(35),w=(n.n(b),n(105)),j=n.n(w),_=n(248),O={maxWidth:1440,maxHeight:1440,maxSize:250,type:1,count:9,sourceType:["album","camera"],accept:"",appId:""},S="actui-upload-file-id",I=document.createElement("canvas"),T=I.getContext("2d"),P=navigator.userAgent.match(/wxwork\/[^\s]*/i),A=navigator.userAgent.match(/(mucxiaoyusan|muckacabao)\/[^\s]*/i),M=b.ua.isWx&&/windowswechat/i.test(navigator.userAgent),E=b.ua.isAndroid&&/MicroMessenger\/8\.0\.7/i.test(navigator.userAgent),L=b.ua.isWxWork,k=L&&P&&Object(_.c)("2.4.6",P[0].split("/")[1])>-1,z=b.ua.isXysApp&&A&&Object(_.c)("1.5.0",A[0].split("/")[1])>-1&&(!b.ua.isAndroid||0!==Object(_.c)("3.8.0",A[0].split("/")[1])),C=b.ua.isKcbApp&&A&&Object(_.c)("1.1.0",A[0].split("/")[1])>-1,F=0},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},22:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},248:function(t,e,n){"use strict";function r(t){t="FileUpload前端错误[xxid:"+(a("xxid")||a("cps_xxid"))+"]:"+t;l()("/muc/util/reportErr",{errMsg:t}).catch(function(t){})}function o(t,e){var n=t&&t.errMsg,r=!1;if(n&&s.ua.isWx){var o="";if(/permission\sdenied/.test(n)){var i=e.sourceType;i.indexOf("album")>-1?o="请在设置-应用-微信-权限中开启存储权限":i.indexOf("camera")>-1&&(o="请在设置-应用-微信-权限中开启相机权限")}else/offline\sverifying/.test(n)&&(o="微信接口注册失败,请刷新页面重试",r=!0);return c.a.reject({ret:999999,errmsg:o,isWxInterfaceFail:r})}return c.a.resolve()}function i(t,e){if(t=t||"0.0.0",e=e||"0.0.0",t===e)return 0;for(var n=t.split("."),r=e.split("."),o=Math.max(n.length,r.length),i=0;i<o;i++){var a=~~r[i],u=~~n[i];if(a<u)return-1;if(a>u)return 1}return-1}function a(t){var e=new RegExp("(?:^|;+|\\s+)"+t+"=([^;]*)"),n=document.cookie.match(e);return n?n[1]:""}e.b=r,e.a=o,e.c=i;var u=n(62),c=n.n(u),s=n(35),f=(n.n(s),n(87)),l=n.n(f)},25:function(t,e,n){var r=n(9).f,o=n(8),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(46),a=n(5),u=n(11),c=n(49),s=n(25),f=n(51),l=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,m,y){c(n,e,v);var g,x,b,w=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",_="values"==h,O=!1,S=t.prototype,I=S[l]||S["@@iterator"]||h&&S[h],T=I||w(h),P=h?_?w("entries"):T:void 0,A="Array"==e?S.entries||I:I;if(A&&(b=f(A.call(new t)))!==Object.prototype&&b.next&&(s(b,j,!0),r||"function"==typeof b[l]||a(b,l,d)),_&&I&&"values"!==I.name&&(O=!0,T=function(){return I.call(this)}),r&&!y||!p&&!O&&S[l]||a(S,l,T),u[e]=T,u[j]=d,h)if(g={values:_?T:w("values"),keys:m?T:w("keys"),entries:P},y)for(x in g)x in S||i(S,x,g[x]);else o(o.P+o.F*(p||O),e,g);return g}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},35:function(e,n){e.exports=t},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(8),o=n(12),i=n(40)(!1),a=n(19)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),c=0,s=[];for(n in u)n!=a&&r(u,n)&&s.push(n);for(;e.length>c;)r(u,n=e[c++])&&(~i(s,n)||s.push(n));return s}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},39:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=o(e),this.reject=o(n)}var o=n(20);t.exports.f=function(t){return new r(t)}},393:function(t,e,n){"use strict";function r(t,e){return t=g()({},_,t),i(t,e)}function o(t,e){var n=t.appId,r=t.url,o=t.ext,i=void 0===o?{}:o;return r?w()(r,v()({rawData:e.base64,serverid:e.serverId,appid:n},i)).then(function(t){var n=t.data,r=void 0===n?{}:n;return r.data=p()({},r.data,{dataBase:e.base64,localId:e.localId}),r},function(t){return m.a.resolve({ret:999999,errmsg:Object(j.getErrmsg)(t)})}):m.a.resolve({ret:999999,errmsg:"uploadOcr url is required"})}function i(t,e){return e.base64?a(t,e.base64,e.size):e.localId?u(t,e.localId,e.serverId):e.file?c(t,e.file):void 0}function a(t,e,n){var r=t.maxSize&&1024*t.maxSize*1024||null;if(r&&n&&n>r)return m.a.resolve({ret:10001,errmsg:"上传的文件大小不能超过"+(t.maxSize||"20")+"MB",data:{}});var o="/platform/file/uploadPicture";t.extParam=t.extParam||{};var i=v()({},t.extParam,{imgdata:e,bizid:t.bizId});return t.requrestUrl&&(o=t.requrestUrl),w()(o,i,6e5).then(function(t){var n=t.data,r=void 0===n?{}:n,o={ret:r.ret,errmsg:r.errmsg,data:{base64:e,response:r.data}};return Object(j.isObject)(r.data)&&r.data.url&&(o.data.url=r.data.url,o.data.origUrl=r.data.url.replace(/\?.*$/,"")),0===r.ret&&Object(j.isString)(r.data)&&(o.data.url=r.data,o.data.origUrl=r.data.replace(/\?.*$/,"")),o},function(t){return Object(x.b)("uploadBase64 error "+f()(t)),m.a.resolve({ret:999999,errmsg:Object(j.getErrmsg)(t),data:{base64:e}})})}function u(t,e,n){var r="/platform/file/uploadWxPicture";t.extParam=t.extParam||{};var o=v()({},t.extParam,{serverid:n,bizid:t.bizId,appid:t.appId});return t.requrestUrl&&(r=t.requrestUrl),w()(r,o,6e5).then(function(t){var r=t.data,o=void 0===r?{}:r,i={ret:o.ret,errmsg:o.errmsg,data:{localId:e,serverId:n,response:o.data}};return Object(j.isObject)(o.data)&&o.data.url&&(i.data.url=o.data.url,i.data.origUrl=o.data.url.replace(/\?.*$/,"")),0===o.ret&&Object(j.isString)(o.data)&&(i.data.url=o.data,i.data.origUrl=o.data.replace(/\?.*$/,"")),i},function(t){return Object(x.b)("uploadLocalId error "+f()(t)),m.a.resolve({ret:999999,errmsg:Object(j.getErrmsg)(t),data:{localId:e,serverId:n}})})}function c(t,e){var n=t.maxSize&&1024*t.maxSize*1024||O;if(e.size&&e.size>n)return m.a.resolve({ret:10001,errmsg:"上传的文件大小不能超过"+(t.maxSize||"20")+"MB",data:{}});var r=new window.FormData;return r.append("file",e),r.append("bizid",t.bizId),Object(b.upload)("/platform/file/uploadFile",r,6e5).then(function(t){var n=t.data,r=void 0===n?{}:n,o={ret:r.ret,errmsg:r.errmsg,data:{name:e.name,type:e.type,size:e.size}};return 0===r.ret&&(o.data.name=r.data.name,o.data.url=r.data.url,o.data.origUrl=r.data.url.replace(/\?.*$/,"")),o},function(t){return Object(x.b)("uploadOtherFile error "+f()(t)),m.a.resolve({ret:999999,errmsg:Object(j.getErrmsg)(t),data:{}})})}e.a=r,e.b=o;var s=n(83),f=n.n(s),l=n(61),p=n.n(l),d=n(84),v=n.n(d),h=n(62),m=n.n(h),y=n(105),g=n.n(y),x=n(248),b=n(87),w=n.n(b),j=n(35),_=(n.n(j),{appId:"",bizId:""}),O=20971520},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(12),o=n(31),i=n(41);t.exports=function(t){return function(e,n,a){var u,c=r(e),s=o(c.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},41:function(t,e,n){var r=n(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},42:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},43:function(t,e,n){"use strict";var r=n(48)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},44:function(t,e){e.f={}.propertyIsEnumerable},45:function(t,e,n){var r=n(4),o=n(50),i=n(28),a=n(19)("IE_PROTO"),u=function(){},c=function(){var t,e=n(22)("iframe"),r=i.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},46:function(t,e,n){t.exports=n(5)},47:function(t,e,n){n(59);for(var r=n(0),o=n(5),i=n(11),a=n(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<u.length;c++){var s=u[c],f=r[s],l=f&&f.prototype;l&&!l[a]&&o(l,a,s),i[s]=i.Array}},48:function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),c=r(n),s=u.length;return c<0||c>=s?t?"":void 0:(i=u.charCodeAt(c),i<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536)}}},49:function(t,e,n){"use strict";var r=n(45),o=n(23),i=n(25),a={};n(5)(a,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,c=0;u>c;)r.f(t,n=a[c++],e[n]);return t}},51:function(t,e,n){var r=n(8),o=n(29),i=n(19)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},52:function(t,e,n){var r=n(42),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},53:function(t,e){e.f=Object.getOwnPropertySymbols},54:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},55:function(t,e,n){var r=n(4),o=n(20),i=n(1)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},56:function(t,e,n){var r,o,i,a=n(17),u=n(77),c=n(38),s=n(22),f=n(0),l=f.process,p=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,h=f.Dispatch,m=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},x=function(t){g.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){u("function"==typeof t?t:Function(t),e)},r(m),m},d=function(t){delete y[t]},"process"==n(14)(l)?r=function(t){l.nextTick(a(g,t,1))}:h&&h.now?r=function(t){h.now(a(g,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=x,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:p,clear:d}},57:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},58:function(t,e,n){var r=n(4),o=n(6),i=n(39);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},59:function(t,e,n){"use strict";var r=n(60),o=n(54),i=n(11),a=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,n){t.exports={default:n(64),__esModule:!0}},62:function(t,e,n){t.exports={default:n(75),__esModule:!0}},63:function(t,e){},64:function(t,e,n){n(65),t.exports=n(2).Object.assign},65:function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(66)})},66:function(t,e,n){"use strict";var r=n(3),o=n(26),i=n(53),a=n(44),u=n(29),c=n(30),s=Object.assign;t.exports=!s||n(13)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r})?function(t,e){for(var n=u(t),s=arguments.length,f=1,l=i.f,p=a.f;s>f;)for(var d,v=c(arguments[f++]),h=l?o(v).concat(l(v)):o(v),m=h.length,y=0;m>y;)d=h[y++],r&&!p.call(v,d)||(n[d]=v[d]);return n}:s},67:function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},68:function(t,e,n){var r=n(11),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},69:function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},71:function(t,e,n){var r=n(17),o=n(67),i=n(68),a=n(4),u=n(31),c=n(52),s={},f={},e=t.exports=function(t,e,n,l,p){var d,v,h,m,y=p?function(){return t}:c(t),g=r(n,l,e?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(d=u(t.length);d>x;x++)if((m=e?g(a(v=t[x])[0],v[1]):g(t[x]))===s||m===f)return m}else for(h=y.call(t);!(v=h.next()).done;)if((m=o(h,g,v.value,e))===s||m===f)return m};e.BREAK=s,e.RETURN=f},72:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},73:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},74:function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(9),a=n(3),u=n(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];a&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},75:function(t,e,n){n(63),n(43),n(47),n(76),n(80),n(81),t.exports=n(2).Promise},76:function(t,e,n){"use strict";var r,o,i,a,u=n(18),c=n(0),s=n(17),f=n(42),l=n(10),p=n(6),d=n(20),v=n(72),h=n(71),m=n(55),y=n(56).set,g=n(78)(),x=n(39),b=n(57),w=n(79),j=n(58),_=c.TypeError,O=c.process,S=O&&O.versions,I=S&&S.v8||"",T=c.Promise,P="process"==f(O),A=function(){},M=o=x.f,E=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(A,A)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==I.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},k=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,a,u=o?e.ok:e.fail,c=e.resolve,s=e.reject,f=e.domain;try{u?(o||(2==t._h&&F(t),t._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),a=!0)),n===e.promise?s(_("Promise-chain cycle")):(i=L(n))?i.call(n,c,s):c(n)):s(r)}catch(t){f&&!a&&f.exit(),s(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&z(t)})}},z=function(t){y.call(c,function(){var e,n,r,o=t._v,i=C(t);if(i&&(e=b(function(){P?O.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||C(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},C=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){y.call(c,function(){var e;P?O.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},U=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),k(e,!0))},W=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw _("Promise can't be resolved itself");(e=L(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,s(W,r,1),s(U,r,1))}catch(t){U.call(r,t)}}):(n._v=t,n._s=1,k(n,!1))}catch(t){U.call({_w:n,_d:!1},t)}}};E||(T=function(t){v(this,T,"Promise","_h"),d(t),r.call(this);try{t(s(W,this,1),s(U,this,1))}catch(t){U.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(73)(T.prototype,{then:function(t,e){var n=M(m(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?O.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&k(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(W,t,1),this.reject=s(U,t,1)},x.f=M=function(t){return t===T||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!E,{Promise:T}),n(25)(T,"Promise"),n(74)("Promise"),a=n(2).Promise,l(l.S+l.F*!E,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(u||!E),"Promise",{resolve:function(t){return j(u&&this===a?T:this,t)}}),l(l.S+l.F*!(E&&n(69)(function(t){T.all(t).catch(A)})),"Promise",{all:function(t){var e=this,n=M(e),r=n.resolve,o=n.reject,i=b(function(){var n=[],i=0,a=1;h(t,!1,function(t){var u=i++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[u]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,o=b(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},77:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},78:function(t,e,n){var r=n(0),o=n(56).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,c="process"==n(14)(a);t.exports=function(){var t,e,n,s=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(s)}}else n=function(){o.call(r,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},79:function(t,e,n){var r=n(0),o=r.navigator;t.exports=o&&o.userAgent||""},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},80:function(t,e,n){"use strict";var r=n(10),o=n(2),i=n(0),a=n(55),u=n(58);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}})},81:function(t,e,n){"use strict";var r=n(10),o=n(39),i=n(57);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},83:function(t,e,n){t.exports={default:n(85),__esModule:!0}},84:function(t,e,n){"use strict";e.__esModule=!0;var r=n(61),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},85:function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},87:function(t,n){t.exports=e},9:function(t,e,n){var r=n(4),o=n(36),i=n(34),a=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/assign.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/utils/assign.js"],e):"object"==typeof exports?exports.FileUpload=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/assign.js")):t.FileUpload=e(t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/utils/assign.js"])}("undefined"!=typeof self?self:this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1322)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),o=n(24),i=n(0).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),a=n(5),u=n(8),c=function(t,e,n){var s,f,l,p=t&c.F,d=t&c.G,v=t&c.S,h=t&c.P,m=t&c.B,y=t&c.W,g=d?o:o[e]||(o[e]={}),x=g.prototype,b=d?r:v?r[e]:(r[e]||{}).prototype;d&&(n=e);for(s in n)(f=!p&&b&&void 0!==b[s])&&u(g,s)||(l=f?b[s]:n[s],g[s]=d&&"function"!=typeof b[s]?n[s]:m&&f?i(l,r):y&&b[s]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[s]=l,t&c.R&&x&&!x[s]&&a(x,s,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},105:function(t,e){t.exports=n},11:function(t,e){t.exports={}},12:function(t,e,n){var r=n(30),o=n(16);t.exports=function(t){return r(o(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1322:function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(f.a)(t).then(function(e){return 0===e.length?void(t.complete&&"function"==typeof t.complete&&t.complete(e)):(t.beforeUpload&&"function"==typeof t.beforeUpload&&t.beforeUpload(e),c.a.all(e.map(function(e){return a(t,e)})).then(function(e){var n=[];return e.map(function(t){n.push(t.data)}),t.complete&&"function"==typeof t.complete&&t.complete(n),n}))})}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(f.a)(t)}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.appId,n=void 0===e?"":e,r=t.sourceType,o=void 0===r?["album","camera"]:r,i=t.url,a=void 0===i?"":i,u=t.ext,l=void 0===u?{}:u,p=t.beforeUpload,d=t.complete;return Object(f.a)({appId:n,sourceType:o,count:1}).then(function(t){return 0===t.length?c.a.resolve({ret:999998,errmsg:"用户取消"}):(p&&"function"==typeof p&&p(t),Object(s.b)({appId:n,url:a,ext:l},t[0]).then(function(t){return d&&"function"==typeof d&&d(t),t}))})}function a(t,e){return Object(s.a)(t,e).then(function(e){return t.uploaded&&"function"==typeof t.uploaded&&t.uploaded(e),e})}Object.defineProperty(e,"__esModule",{value:!0});var u=n(62),c=n.n(u),s=n(393),f=n(1323);e.default={upload:r,choose:o,ocr:i,uploadFile:s.a}},1323:function(t,e,n){"use strict";function r(t){return t=j()({},O,t),F&&(t.type=F),b.ua.isWx&&(void 0===t.isLimitSourceType||t.isLimitSourceType)&&(t.sourceType=["album","camera"]),t.appId||(t.type=2),h(t)?i(t):o(t)}function o(t){return s(t)}function i(t){return b.ua.isWx&&!M?b.ua.isIOS&&(window.__wxjs_is_wkwebview||k)?a(t):1!==Number(t.type)||L?s(t):u(t):z||C?c(t):s(t)}function a(t){return new x.a(function(e,n){window.wx.chooseImage({count:t.count,sizeType:["compressed"],sourceType:t.sourceType,success:function(r){var o=r.localIds.length,i=0,a=[];r.localIds.forEach(function(r){window.wx.getLocalImgData({localId:r,success:function(t){i++,a.push({localId:r,base64:t.localData}),i===o&&(e(a),a=null)},fail:function(e){Object(_.a)(e,t).catch(n),Object(_.b)("wxUploadImage[getLocalImgData] error "+y()(e))}})})},fail:function(e){Object(_.a)(e,t).catch(n),Object(_.b)("wxChooseImage[chooseImage] error "+y()(e))}})})}function u(t){return new x.a(function(e,n){window.wx.chooseImage({count:t.count,sizeType:["compressed"],sourceType:t.sourceType,success:function(r){function o(r){var a=r.pop();if(!a)return void e(i);window.wx.uploadImage({localId:a,isShowProgressTips:E?1:0,success:function(t){i.push({localId:a,serverId:t.serverId}),o(r)},fail:function(e){Object(_.a)(e,t).catch(n),Object(_.b)("wxUploadImage[uploadImage] error "+y()(e)),o(r)}})}var i=[];b.ua.isAndroid?setTimeout(o(r.localIds),100):o(r.localIds)},fail:function(e){e.errMsg&&/permission\sdenied/.test(e.errMsg)&&/micromessenger\/7\.0\.14/i.test(navigator.userAgent)&&(F=2),Object(_.a)(e,t).catch(n),Object(_.b)("wxChooseImage[chooseImage] error "+y()(e))}})})}function c(t){return console.log("preview场景:",t.sourceType),new x.a(function(e,n){window.Crossapi&&window.Crossapi("/image/preview",{count:t.count,maxWidth:t.maxWidth,maxHeight:t.maxHeight,maxSize:t.maxSize,sourceType:t.sourceType},function(t){if(0!==t.code)return Object(_.b)("appChooseImage[/image/preview] error code:"+t.code+" errmsg:"+t.msg),n({ret:t.code,errmsg:t.msg});Object(b.isArray)(t.data)||(t.data=[t.data]),t.data=t.data.map(function(t){return{base64:t}}),e(t.data||[])})})}function s(t){!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new x.a(function(e,n){var r=document.body.getAttribute(S),o=void 0;if(r){o=f(document.getElementById(r),t,e)}else r=Object(b.randomString)(24),o=document.createElement("input"),o.id=r,o.type="file",o.style.display="none",h(t)?!b.ua.isIOS&&b.ua.isWx||o.setAttribute("accept","image/*"):b.ua.isAndroid&&!b.ua.isWx&&o.setAttribute("accept",t.accept),t.count>1&&o.setAttribute("multiple","multiple"),t.sourceType&&1===t.sourceType.length&&"camera"===t.sourceType[0]&&o.setAttribute("capture","camera"),o.addEventListener("change",function(){l.call(this,t,e)},!1),document.body.appendChild(o),document.body.setAttribute(S,r);o.click()})}function f(t,e,n){var r=Object(b.randomString)(24),o=document.createElement("input");return o.id=r,o.type="file",o.style.display="none",h(e)?!b.ua.isIOS&&b.ua.isWx||o.setAttribute("accept","image/*"):b.ua.isAndroid&&!b.ua.isWx&&o.setAttribute("accept",e.accept),e.count>1&&o.setAttribute("multiple","multiple"),e.sourceType&&1===e.sourceType.length&&"camera"===e.sourceType[0]&&o.setAttribute("capture","camera"),o.addEventListener("change",function(){l.call(this,e,n)},!1),t&&t.parentNode?(t.removeEventListener("change",function(){l.call(this,e,n)}),t.parentNode.replaceChild(o,t)):document.body.appendChild(o),document.body.setAttribute(S,r),o}function l(t,e){var n=Array.prototype.slice.call(this.files);if(!n||0===n.length)return e([]);x.a.all(n.map(function(e){return p(t,e)})).then(e).catch(function(t){})}function p(t,e){return new x.a(function(n,r){var o=new FileReader;h(t)||/^image\//.test(e.type)?(o.onload=function(r){d(t,e,r.target.result).then(function(r){n({name:e.name,type:t.fileType||e.type,base64:r,size:e.size})}).catch(function(){})},o.readAsDataURL(e)):n({name:e.name,type:t.fileType||e.type,file:e})})}function d(t,e,n){return new x.a(function(r,o){var i=new Image;i.onload=function(){r(v(t,i,t.fileType||e.type)),i=null},i.onabort=i.onerror=o,i.src=n})}function v(t,e,n){var r,o=e.width,i=e.height,a=o/i,u=void 0,c=void 0;return a>=1&&o>t.maxWidth?(r=t.maxWidth/o,c=i*r,I.width=t.maxWidth,I.height=c,T.drawImage(e,0,0,t.maxWidth,c)):a<1&&i>t.maxHeight?(r=t.maxHeight/i,u=o*r,I.width=u,I.height=t.maxHeight,T.drawImage(e,0,0,u,t.maxHeight)):(I.width=o,I.height=i,T.drawImage(e,0,0,o,i)),I.toDataURL(n||"image/jpeg",.6)}function h(t){return!t.accept||/^image\//.test(t.accept)}e.a=r;var m=n(83),y=n.n(m),g=n(62),x=n.n(g),b=n(35),w=(n.n(b),n(105)),j=n.n(w),_=n(248),O={maxWidth:1440,maxHeight:1440,maxSize:250,type:1,count:9,sourceType:["album","camera"],accept:"",appId:""},S="actui-upload-file-id",I=document.createElement("canvas"),T=I.getContext("2d"),P=navigator.userAgent.match(/wxwork\/[^\s]*/i),A=navigator.userAgent.match(/(mucxiaoyusan|muckacabao)\/[^\s]*/i),M=b.ua.isWx&&/windowswechat/i.test(navigator.userAgent),E=b.ua.isAndroid&&/MicroMessenger\/8\.0\.7/i.test(navigator.userAgent),L=b.ua.isWxWork,k=L&&P&&Object(_.c)("2.4.6",P[0].split("/")[1])>-1,z=b.ua.isXysApp&&A&&Object(_.c)("1.5.0",A[0].split("/")[1])>-1&&(!b.ua.isAndroid||0!==Object(_.c)("3.8.0",A[0].split("/")[1])),C=b.ua.isKcbApp&&A&&Object(_.c)("1.1.0",A[0].split("/")[1])>-1,F=0},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},22:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},248:function(t,e,n){"use strict";function r(t){t="FileUpload前端错误[xxid:"+(a("xxid")||a("cps_xxid"))+"]:"+t;l()("/muc/util/reportErr",{errMsg:t}).catch(function(t){})}function o(t,e){var n=t&&t.errMsg,r=!1;if(n&&s.ua.isWx){var o="";if(/permission\sdenied/.test(n)){var i=e.sourceType;i.indexOf("album")>-1?o="请在设置-应用-微信-权限中开启存储权限":i.indexOf("camera")>-1&&(o="请在设置-应用-微信-权限中开启相机权限")}else/offline\sverifying/.test(n)&&(o="微信接口注册失败,请刷新页面重试",r=!0);return c.a.reject({ret:999999,errmsg:o,isWxInterfaceFail:r})}return c.a.resolve()}function i(t,e){if(t=t||"0.0.0",e=e||"0.0.0",t===e)return 0;for(var n=t.split("."),r=e.split("."),o=Math.max(n.length,r.length),i=0;i<o;i++){var a=~~r[i],u=~~n[i];if(a<u)return-1;if(a>u)return 1}return-1}function a(t){var e=new RegExp("(?:^|;+|\\s+)"+t+"=([^;]*)"),n=document.cookie.match(e);return n?n[1]:""}e.b=r,e.a=o,e.c=i;var u=n(62),c=n.n(u),s=n(35),f=(n.n(s),n(87)),l=n.n(f)},25:function(t,e,n){var r=n(9).f,o=n(8),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(46),a=n(5),u=n(11),c=n(50),s=n(25),f=n(52),l=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,m,y){c(n,e,v);var g,x,b,w=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",_="values"==h,O=!1,S=t.prototype,I=S[l]||S["@@iterator"]||h&&S[h],T=I||w(h),P=h?_?w("entries"):T:void 0,A="Array"==e?S.entries||I:I;if(A&&(b=f(A.call(new t)))!==Object.prototype&&b.next&&(s(b,j,!0),r||"function"==typeof b[l]||a(b,l,d)),_&&I&&"values"!==I.name&&(O=!0,T=function(){return I.call(this)}),r&&!y||!p&&!O&&S[l]||a(S,l,T),u[e]=T,u[j]=d,h)if(g={values:_?T:w("values"),keys:m?T:w("keys"),entries:P},y)for(x in g)x in S||i(S,x,g[x]);else o(o.P+o.F*(p||O),e,g);return g}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},35:function(e,n){e.exports=t},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(8),o=n(12),i=n(40)(!1),a=n(19)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),c=0,s=[];for(n in u)n!=a&&r(u,n)&&s.push(n);for(;e.length>c;)r(u,n=e[c++])&&(~i(s,n)||s.push(n));return s}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},39:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=o(e),this.reject=o(n)}var o=n(20);t.exports.f=function(t){return new r(t)}},393:function(t,e,n){"use strict";function r(t,e){return t=g()({},_,t),i(t,e)}function o(t,e){var n=t.appId,r=t.url,o=t.ext,i=void 0===o?{}:o;return r?w()(r,v()({rawData:e.base64,serverid:e.serverId,appid:n},i)).then(function(t){var n=t.data,r=void 0===n?{}:n;return r.data=p()({},r.data,{dataBase:e.base64,localId:e.localId}),r},function(t){return m.a.resolve({ret:999999,errmsg:Object(j.getErrmsg)(t)})}):m.a.resolve({ret:999999,errmsg:"uploadOcr url is required"})}function i(t,e){return e.base64?a(t,e.base64,e.size):e.localId?u(t,e.localId,e.serverId):e.file?c(t,e.file):void 0}function a(t,e,n){var r=t.maxSize&&1024*t.maxSize*1024||null;if(r&&n&&n>r)return m.a.resolve({ret:10001,errmsg:"上传的文件大小不能超过"+(t.maxSize||"20")+"MB",data:{}});var o="/platform/file/uploadPicture";t.extParam=t.extParam||{};var i=v()({},t.extParam,{imgdata:e,bizid:t.bizId});return t.requrestUrl&&(o=t.requrestUrl),w()(o,i,6e5).then(function(t){var n=t.data,r=void 0===n?{}:n,o={ret:r.ret,errmsg:r.errmsg,data:{base64:e,response:r.data}};return Object(j.isObject)(r.data)&&r.data.url&&(o.data.url=r.data.url,o.data.origUrl=r.data.url.replace(/\?.*$/,"")),0===r.ret&&Object(j.isString)(r.data)&&(o.data.url=r.data,o.data.origUrl=r.data.replace(/\?.*$/,"")),o},function(t){return Object(x.b)("uploadBase64 error "+f()(t)),m.a.resolve({ret:999999,errmsg:Object(j.getErrmsg)(t),data:{base64:e}})})}function u(t,e,n){var r="/platform/file/uploadWxPicture";t.extParam=t.extParam||{};var o=v()({},t.extParam,{serverid:n,bizid:t.bizId,appid:t.appId});return t.requrestUrl&&(r=t.requrestUrl),w()(r,o,6e5).then(function(t){var r=t.data,o=void 0===r?{}:r,i={ret:o.ret,errmsg:o.errmsg,data:{localId:e,serverId:n,response:o.data}};return Object(j.isObject)(o.data)&&o.data.url&&(i.data.url=o.data.url,i.data.origUrl=o.data.url.replace(/\?.*$/,"")),0===o.ret&&Object(j.isString)(o.data)&&(i.data.url=o.data,i.data.origUrl=o.data.replace(/\?.*$/,"")),i},function(t){return Object(x.b)("uploadLocalId error "+f()(t)),m.a.resolve({ret:999999,errmsg:Object(j.getErrmsg)(t),data:{localId:e,serverId:n}})})}function c(t,e){var n=t.maxSize&&1024*t.maxSize*1024||O;if(e.size&&e.size>n)return m.a.resolve({ret:10001,errmsg:"上传的文件大小不能超过"+(t.maxSize||"20")+"MB",data:{}});var r=new window.FormData;return r.append("file",e),r.append("bizid",t.bizId),Object(b.upload)("/platform/file/uploadFile",r,6e5).then(function(t){var n=t.data,r=void 0===n?{}:n,o={ret:r.ret,errmsg:r.errmsg,data:{name:e.name,type:e.type,size:e.size}};return 0===r.ret&&(o.data.name=r.data.name,o.data.url=r.data.url,o.data.origUrl=r.data.url.replace(/\?.*$/,"")),o},function(t){return Object(x.b)("uploadOtherFile error "+f()(t)),m.a.resolve({ret:999999,errmsg:Object(j.getErrmsg)(t),data:{}})})}e.a=r,e.b=o;var s=n(83),f=n.n(s),l=n(61),p=n.n(l),d=n(84),v=n.n(d),h=n(62),m=n.n(h),y=n(105),g=n.n(y),x=n(248),b=n(87),w=n.n(b),j=n(35),_=(n.n(j),{appId:"",bizId:""}),O=20971520},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(12),o=n(31),i=n(41);t.exports=function(t){return function(e,n,a){var u,c=r(e),s=o(c.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},41:function(t,e,n){var r=n(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},42:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,n){"use strict";var r=n(49)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,n){var r=n(4),o=n(51),i=n(28),a=n(19)("IE_PROTO"),u=function(){},c=function(){var t,e=n(22)("iframe"),r=i.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},46:function(t,e,n){t.exports=n(5)},47:function(t,e,n){n(59);for(var r=n(0),o=n(5),i=n(11),a=n(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<u.length;c++){var s=u[c],f=r[s],l=f&&f.prototype;l&&!l[a]&&o(l,a,s),i[s]=i.Array}},48:function(t,e){e.f=Object.getOwnPropertySymbols},49:function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),c=r(n),s=u.length;return c<0||c>=s?t?"":void 0:(i=u.charCodeAt(c),i<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536)}}},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){"use strict";var r=n(45),o=n(23),i=n(25),a={};n(5)(a,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},51:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,c=0;u>c;)r.f(t,n=a[c++],e[n]);return t}},52:function(t,e,n){var r=n(8),o=n(29),i=n(19)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},53:function(t,e,n){var r=n(42),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},54:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},55:function(t,e,n){var r=n(4),o=n(20),i=n(1)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},56:function(t,e,n){var r,o,i,a=n(17),u=n(77),c=n(38),s=n(22),f=n(0),l=f.process,p=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,h=f.Dispatch,m=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},x=function(t){g.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){u("function"==typeof t?t:Function(t),e)},r(m),m},d=function(t){delete y[t]},"process"==n(14)(l)?r=function(t){l.nextTick(a(g,t,1))}:h&&h.now?r=function(t){h.now(a(g,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=x,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:p,clear:d}},57:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},58:function(t,e,n){var r=n(4),o=n(6),i=n(39);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},59:function(t,e,n){"use strict";var r=n(60),o=n(54),i=n(11),a=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,n){t.exports={default:n(64),__esModule:!0}},62:function(t,e,n){t.exports={default:n(75),__esModule:!0}},63:function(t,e){},64:function(t,e,n){n(65),t.exports=n(2).Object.assign},65:function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(66)})},66:function(t,e,n){"use strict";var r=n(3),o=n(26),i=n(48),a=n(43),u=n(29),c=n(30),s=Object.assign;t.exports=!s||n(13)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r})?function(t,e){for(var n=u(t),s=arguments.length,f=1,l=i.f,p=a.f;s>f;)for(var d,v=c(arguments[f++]),h=l?o(v).concat(l(v)):o(v),m=h.length,y=0;m>y;)d=h[y++],r&&!p.call(v,d)||(n[d]=v[d]);return n}:s},67:function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},68:function(t,e,n){var r=n(11),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},69:function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},71:function(t,e,n){var r=n(17),o=n(67),i=n(68),a=n(4),u=n(31),c=n(53),s={},f={},e=t.exports=function(t,e,n,l,p){var d,v,h,m,y=p?function(){return t}:c(t),g=r(n,l,e?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(d=u(t.length);d>x;x++)if((m=e?g(a(v=t[x])[0],v[1]):g(t[x]))===s||m===f)return m}else for(h=y.call(t);!(v=h.next()).done;)if((m=o(h,g,v.value,e))===s||m===f)return m};e.BREAK=s,e.RETURN=f},72:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},73:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},74:function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(9),a=n(3),u=n(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];a&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},75:function(t,e,n){n(63),n(44),n(47),n(76),n(80),n(81),t.exports=n(2).Promise},76:function(t,e,n){"use strict";var r,o,i,a,u=n(18),c=n(0),s=n(17),f=n(42),l=n(10),p=n(6),d=n(20),v=n(72),h=n(71),m=n(55),y=n(56).set,g=n(78)(),x=n(39),b=n(57),w=n(79),j=n(58),_=c.TypeError,O=c.process,S=O&&O.versions,I=S&&S.v8||"",T=c.Promise,P="process"==f(O),A=function(){},M=o=x.f,E=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(A,A)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==I.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},k=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,a,u=o?e.ok:e.fail,c=e.resolve,s=e.reject,f=e.domain;try{u?(o||(2==t._h&&F(t),t._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),a=!0)),n===e.promise?s(_("Promise-chain cycle")):(i=L(n))?i.call(n,c,s):c(n)):s(r)}catch(t){f&&!a&&f.exit(),s(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&z(t)})}},z=function(t){y.call(c,function(){var e,n,r,o=t._v,i=C(t);if(i&&(e=b(function(){P?O.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||C(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},C=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){y.call(c,function(){var e;P?O.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},U=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),k(e,!0))},W=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw _("Promise can't be resolved itself");(e=L(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,s(W,r,1),s(U,r,1))}catch(t){U.call(r,t)}}):(n._v=t,n._s=1,k(n,!1))}catch(t){U.call({_w:n,_d:!1},t)}}};E||(T=function(t){v(this,T,"Promise","_h"),d(t),r.call(this);try{t(s(W,this,1),s(U,this,1))}catch(t){U.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(73)(T.prototype,{then:function(t,e){var n=M(m(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?O.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&k(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(W,t,1),this.reject=s(U,t,1)},x.f=M=function(t){return t===T||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!E,{Promise:T}),n(25)(T,"Promise"),n(74)("Promise"),a=n(2).Promise,l(l.S+l.F*!E,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(u||!E),"Promise",{resolve:function(t){return j(u&&this===a?T:this,t)}}),l(l.S+l.F*!(E&&n(69)(function(t){T.all(t).catch(A)})),"Promise",{all:function(t){var e=this,n=M(e),r=n.resolve,o=n.reject,i=b(function(){var n=[],i=0,a=1;h(t,!1,function(t){var u=i++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[u]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,o=b(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},77:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},78:function(t,e,n){var r=n(0),o=n(56).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,c="process"==n(14)(a);t.exports=function(){var t,e,n,s=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(s)}}else n=function(){o.call(r,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},79:function(t,e,n){var r=n(0),o=r.navigator;t.exports=o&&o.userAgent||""},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},80:function(t,e,n){"use strict";var r=n(10),o=n(2),i=n(0),a=n(55),u=n(58);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}})},81:function(t,e,n){"use strict";var r=n(10),o=n(39),i=n(57);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},83:function(t,e,n){t.exports={default:n(85),__esModule:!0}},84:function(t,e,n){"use strict";e.__esModule=!0;var r=n(61),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},85:function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},87:function(t,n){t.exports=e},9:function(t,e,n){var r=n(4),o=n(36),i=n(34),a=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/utils/assign.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/assets/mixins/fontsize.js"),require("@xysfe/actui/es/assets/img/icon-search.png"),require("@xysfe/actui/es/assets/img/icon-close2.png"),require("@xysfe/actui/es/assets/img/position.png"),require("@xysfe/actui/es/assets/img/icon-nodata.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/common/popup.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/assets/utils/assign.js","@xysfe/actui/es/Loading/index.js","@xysfe/actui/es/assets/mixins/fontsize.js","@xysfe/actui/es/assets/img/icon-search.png","@xysfe/actui/es/assets/img/icon-close2.png","@xysfe/actui/es/assets/img/position.png","@xysfe/actui/es/assets/img/icon-nodata.png"],e):"object"==typeof exports?exports.GoldAddressLayer=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/utils/assign.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/assets/mixins/fontsize.js"),require("@xysfe/actui/es/assets/img/icon-search.png"),require("@xysfe/actui/es/assets/img/icon-close2.png"),require("@xysfe/actui/es/assets/img/position.png"),require("@xysfe/actui/es/assets/img/icon-nodata.png")):t.GoldAddressLayer=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/common/popup.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/assets/utils/assign.js"],t["@xysfe/actui/es/Loading/index.js"],t["@xysfe/actui/es/assets/mixins/fontsize.js"],t["@xysfe/actui/es/assets/img/icon-search.png"],t["@xysfe/actui/es/assets/img/icon-close2.png"],t["@xysfe/actui/es/assets/img/position.png"],t["@xysfe/actui/es/assets/img/icon-nodata.png"])}("undefined"!=typeof self?self:this,function(t,e,i,s,n,o,a,r,c,l,u,d,f){return function(t){function e(s){if(i[s])return i[s].exports;var n=i[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,s){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1908)}({105:function(t,e){t.exports=a},135:function(t,e){t.exports=r},138:function(t,e){t.exports=c},156:function(t,e,i){"use strict";var s=i(83),n=i.n(s),o=i(32),a=i.n(o),r=i(138),c=i.n(r),l=i(105),u=i.n(l),d=i(90),f=i.n(d),p=i(135),h=i.n(p),g=i(35);i.n(g);e.a={name:"ActToast",mixins:[a.a,c.a],props:{toastTxt:{type:String,default:"Toast Text ~"},textAlign:{type:String,default:"center"},toastTime:{type:Number,default:3e3},zIndex:{type:[String,Number],default:1e3},opacity:{type:[String,Number],default:.7},icon:{type:[Object,String],default:""}},data:function(){return{timer:"",txt:"",align:"",time:"",pointerEvents:"",iconObj:""}},mounted:function(){this.txt=this.toastTxt,this.align=this.textAlign,this.time=this.toastTime,this.iconObj=Object(g.isObject)(this.icon)?u()({},this.icon):this.icon},methods:{show:function(t,e,i){var s=this;clearTimeout(this.timer),t&&(this.txt=t),e>=0&&(this.time=e),i&&(this.align=i),this.pointerEvents="",0!==this.time&&(this.pointerEvents="none",this.timer=setTimeout(function(){s.hide()},this.time)),this.isVisible=!0},hide:function(){this.isVisible=!1,this.timer=null},changeIcon:function(t){if(t){var e=JSON.parse(n()(this.iconObj));t=u()(e,t),this.iconObj=t}else this.iconObj=""}},components:{ActPopup:f.a,Loading:h.a}}},1908:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i(21),n=i.n(s),o=i(1909);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$GoldAddressLayer=n()(o.a,t)},e.default=o.a},1909:function(t,e,i){"use strict";function s(t){r||i(1910)}var n=i(986),o=i(1911),a=i(7),r=!1,c=s,l=Object(a.a)(n.a,o.a,o.b,!1,c,"data-v-16b7688b",null);l.options.__file="src\\components\\GoldAddressLayer\\src\\index.vue",e.a=l.exports},1910:function(t,e){},1911:function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n});var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("transition",{attrs:{name:"act-picker-fade"}},[s("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"picker",mask:!0,center:!1,topBorderRadius:!0,zIndex:t.zIndex},on:{touchmove:function(t){t.preventDefault()},"mask-click":t.maskClick}},[s("transition",{attrs:{name:"act-picker-move"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-picker-panel",on:{click:function(t){t.stopPropagation()}}},[s("div",{staticClass:"act-picker-choose"},[s("div",{staticClass:"act-picker-cancel",on:{click:t.cancel}},[s("img",{attrs:{src:i(987),alt:""}})]),t._v(" "),s("div",{staticClass:"act-picker-title-group"},[s("h1",{staticClass:"act-picker-title"},[t._v("\n "+t._s(t.title)+"\n ")])])]),t._v(" "),s("div",{staticClass:"bg"}),t._v(" "),s("div",{staticClass:"act-picker-content"},[s("div",{staticClass:"search-bar"},[s("img",{staticClass:"search-icon",attrs:{src:i(202),alt:""}}),t._v(" "),s("div",{staticClass:"search-content"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.searchText,expression:"searchText"}],staticClass:"search-text-content",attrs:{type:"text",placeholder:"请输入搜索"},domProps:{value:t.searchText},on:{input:function(e){e.target.composing||(t.searchText=e.target.value)}}}),t._v(" "),s("img",{staticClass:"close-icon",attrs:{src:i(987),alt:""},on:{click:t.onClear}})])]),t._v(" "),s("div",{staticClass:"search-result"},[s("div",{staticClass:"search-list"},[!t.loading&&t.list.length?s("scroll",{attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},t._l(t.list,function(e,n){return s("div",{key:n,staticClass:"search-list-item",on:{click:function(i){return t.onSelect(e)}}},[s("img",{staticClass:"positio-icon",attrs:{src:i(1912),alt:""}}),t._v(" "),s("div",{staticClass:"address-info"},[s("p",{staticClass:"address-name"},[t._v("\n "+t._s(e.placeName)+"\n ")]),t._v(" "),s("p",{staticClass:"address-detail"},[t._v("\n "+t._s(e.showAddress)+"\n ")])])])}),0):t._e()],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading&&!t.list.length&&t.hasSearch,expression:"!loading && !list.length && hasSearch"}],staticClass:"no-data"},[s("img",{staticClass:"logo",attrs:{src:i(1913),alt:"logo"}}),t._v(" "),s("p",{staticClass:"tip"},[t._v("\n 找不到地址\n ")]),t._v(" "),s("p",{staticClass:"text"},[t._v("\n 请尝试只输入小区、写字楼或学校名,\n ")]),t._v(" "),s("p",{staticClass:"text"},[t._v("\n 详细地址(如门牌号)可稍后输入哦。\n ")])]),t._v(" "),s("act-loading",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"search-loading",attrs:{size:40,color:t.brandColor,type:"cir4"}})],1)])])]),t._v(" "),s("act-toast",{ref:"toast"})],1)],1)},n=[];s._withStripped=!0},1912:function(t,e){t.exports=d},1913:function(t,e){t.exports=f},195:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i(21),n=i.n(s),o=i(196);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createToast=n()(o.a,t)},e.default=o.a},196:function(t,e,i){"use strict";function s(t){r||i(197)}var n=i(156),o=i(198),a=i(7),r=!1,c=s,l=Object(a.a)(n.a,o.a,o.b,!1,c,"data-v-503eaf05",null);l.options.__file="src\\components\\Toast\\src\\index.vue",e.a=l.exports},197:function(t,e){},198:function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{opacity:"0",pointerEvent:t.pointerEvents,zIndex:t.zIndex},scopedSlots:t._u([{key:"mask",fn:function(){return[i("div",{staticClass:"act-toast",style:{fontSize:t._fontSize}},[i("div",{class:{"act-toast-content":!0,icon:""!==t.iconObj,"icon-left":"left"===t.iconObj.align},style:{"text-align":t.align,background:"rgba(0,0,0,"+t.opacity+")"}},[t.iconObj?i("div",{staticClass:"icon-cont"},[i("Loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:t.iconObj.type,size:t.iconObj.size?t.iconObj.size:33,color:t.iconObj.color,bgcolor:t.iconObj.bgcolor,center:t.iconObj.center}})],1):t._e(),t._v(" "),i("div",{staticClass:"toast-txt"},[t._v("\n "+t._s(t.txt)+"\n ")])])])]},proxy:!0}])})},n=[];s._withStripped=!0},2:function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},202:function(t,e){t.exports=l},21:function(e,i){e.exports=t},234:function(t,e,i){"use strict";var s=i(353),n={};s.keys().forEach(function(t){var e=s(t);e=e.default||e;var i=e.name;i&&(n[i.toLowerCase()]=e)}),e.a={name:"ActLoading",functional:!0,props:{type:{type:String,default:"default"}},render:function(t,e){var i=e.props.type;return!i&&(i="default"),t(n[i.toLowerCase()],e.data,e.children)}}},235:function(t,e,i){"use strict";var s=i(32),n=i.n(s);e.a={name:"Cir1",mixins:[n.a],props:{size:{type:Number,default:40},thick:{type:Number,default:.4},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{localThick:function(){return this.thick/2},loadingWidth:function(){return Math.floor(this.size*(1-2*this.localThick))},loadingHeight:function(){return this.loadingWidth},borderWidth:function(){return Math.floor(this.size*this.localThick)<=0?1:Math.floor(this.size*this.localThick)},styleObj:function(){return{width:this.loadingWidth+"px",height:this.loadingHeight+"px",borderWidth:this.borderWidth+"px",borderStyle:"solid",borderColor:"transparent currentColor transparent currentColor"}}}}},236:function(t,e,i){"use strict";var s=i(32),n=i.n(s);e.a={name:"Cir2",mixins:[n.a],props:{size:{type:Number,default:40},thick:{type:Number,default:.4},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{localThick:function(){return this.thick/2},loadingWidth:function(){return Math.floor(this.size*(1-2*this.localThick))},loadingHeight:function(){return this.loadingWidth},borderWidth:function(){return Math.floor(this.size*this.localThick)<=0?1:Math.floor(this.size*this.localThick)},styleObj:function(){return{width:this.loadingWidth+"px",height:this.loadingHeight+"px",borderWidth:this.borderWidth+"px",borderStyle:"solid",borderColor:"transparent currentColor currentColor currentColor"}}}}},237:function(t,e,i){"use strict";var s=i(32),n=i.n(s);e.a={name:"Cir3",mixins:[n.a],props:{size:{type:Number,default:40},thick:{type:Number,default:.4},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{localThick:function(){return this.thick/2},loadingWidth:function(){return Math.floor(this.size*(1-2*this.localThick))},loadingHeight:function(){return this.loadingWidth},borderWidth:function(){return Math.floor(this.size*this.localThick)<=0?1:Math.floor(this.size*this.localThick)},styleObj:function(){return{width:this.loadingWidth+"px",height:this.loadingHeight+"px",borderWidth:this.borderWidth+"px",borderStyle:"solid",borderColor:"currentColor transparent transparent transparent"}},maskStyle:function(){return{top:"-"+this.borderWidth+"px",right:"-"+this.borderWidth+"px",bottom:"-"+this.borderWidth+"px",left:"-"+this.borderWidth+"px",border:this.borderWidth+"px solid currentcolor"}}}}},238:function(t,e,i){"use strict";var s=i(32),n=i.n(s);e.a={name:"Cir4",mixins:[n.a],props:{size:{type:Number,default:40},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{loadingWidth:function(){return Math.floor(.8*this.size)},loadingHeight:function(){return this.loadingWidth},styleObj:function(){return{fontSize:this.size+"px",width:this.loadingWidth+"px",height:this.loadingHeight+"px"}}}}},239:function(t,e,i){"use strict";var s=i(32),n=i.n(s);e.a={name:"Cir5",mixins:[n.a],props:{size:{type:Number,default:40},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{loadingWidth:function(){return Math.floor(.8*this.size)},loadingHeight:function(){return this.loadingWidth},styleObj:function(){return{fontSize:this.size+"px",width:this.loadingWidth+"px",height:this.loadingHeight+"px"}}}}},240:function(t,e,i){"use strict";var s=i(32),n=i.n(s);e.a={name:"Default",mixins:[n.a],props:{size:{type:Number,default:40},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}}}},241:function(t,e,i){"use strict";var s=i(32),n=i.n(s);e.a={name:"Line",mixins:[n.a],props:{size:{type:Number,default:40},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{loadingWidth:function(){return Math.floor(.2*this.size)},loadingHeight:function(){return Math.floor(.4*this.size)},styleObj:function(){return{fontSize:this.size+"px",width:this.loadingWidth+"px",height:this.loadingHeight+"px"}}}}},32:function(t,i){t.exports=e},35:function(t,e){t.exports=i},351:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i(21),n=i.n(s),o=i(352);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createLoading=n()(o.a,t)},e.default=o.a},352:function(t,e,i){"use strict";var s=i(234),n=i(7),o=Object(n.a)(s.a,void 0,void 0,!1,null,null,null);o.options.__file="src\\components\\Loading\\src\\index.vue",e.a=o.exports},353:function(t,e,i){function s(t){return i(n(t))}function n(t){var e=o[t];if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}var o={"./cir1-loading.vue":354,"./cir2-loading.vue":357,"./cir3-loading.vue":360,"./cir4-loading.vue":363,"./cir5-loading.vue":366,"./default-loading.vue":369,"./line-loading.vue":372};s.keys=function(){return Object.keys(o)},s.resolve=n,t.exports=s,s.id=353},354:function(t,e,i){"use strict";function s(t){r||i(355)}Object.defineProperty(e,"__esModule",{value:!0});var n=i(235),o=i(356),a=i(7),r=!1,c=s,l=Object(a.a)(n.a,o.a,o.b,!1,c,"data-v-027695fc",null);l.options.__file="src\\components\\Loading\\src\\cir1-loading.vue",e.default=l.exports},355:function(t,e){},356:function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{ref:"loading",staticClass:"loading-cont-cir1",style:t.styleObj})])])},n=[];s._withStripped=!0},357:function(t,e,i){"use strict";function s(t){r||i(358)}Object.defineProperty(e,"__esModule",{value:!0});var n=i(236),o=i(359),a=i(7),r=!1,c=s,l=Object(a.a)(n.a,o.a,o.b,!1,c,"data-v-1e0cc706",null);l.options.__file="src\\components\\Loading\\src\\cir2-loading.vue",e.default=l.exports},358:function(t,e){},359:function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{ref:"loading",staticClass:"loading-cont-cir2",style:t.styleObj})])])},n=[];s._withStripped=!0},360:function(t,e,i){"use strict";function s(t){r||i(361)}Object.defineProperty(e,"__esModule",{value:!0});var n=i(237),o=i(362),a=i(7),r=!1,c=s,l=Object(a.a)(n.a,o.a,o.b,!1,c,"data-v-4106ba04",null);l.options.__file="src\\components\\Loading\\src\\cir3-loading.vue",e.default=l.exports},361:function(t,e){},362:function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{ref:"loading",staticClass:"loading-cont-cir3",style:t.styleObj},[i("div",{staticClass:"cir3-mask",style:t.maskStyle})])])])},n=[];s._withStripped=!0},363:function(t,e,i){"use strict";function s(t){r||i(364)}Object.defineProperty(e,"__esModule",{value:!0});var n=i(238),o=i(365),a=i(7),r=!1,c=s,l=Object(a.a)(n.a,o.a,o.b,!1,c,"data-v-6400ad02",null);l.options.__file="src\\components\\Loading\\src\\cir4-loading.vue",e.default=l.exports},364:function(t,e){},365:function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{staticClass:"loading-cont-cir4",style:t.styleObj})])])},n=[];s._withStripped=!0},366:function(t,e,i){"use strict";function s(t){r||i(367)}Object.defineProperty(e,"__esModule",{value:!0});var n=i(239),o=i(368),a=i(7),r=!1,c=s,l=Object(a.a)(n.a,o.a,o.b,!1,c,"data-v-86faa000",null);l.options.__file="src\\components\\Loading\\src\\cir5-loading.vue",e.default=l.exports},367:function(t,e){},368:function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{staticClass:"loading-cont-cir5",style:t.styleObj})])])},n=[];s._withStripped=!0},369:function(t,e,i){"use strict";function s(t){r||i(370)}Object.defineProperty(e,"__esModule",{value:!0});var n=i(240),o=i(371),a=i(7),r=!1,c=s,l=Object(a.a)(n.a,o.a,o.b,!1,c,"data-v-073ac538",null);l.options.__file="src\\components\\Loading\\src\\default-loading.vue",e.default=l.exports},370:function(t,e){},371:function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("svg",{attrs:{viewBox:"0 0 80 80"}},[i("path",{staticClass:"act-xysloading-path",attrs:{d:"M15 37 A25 25 0 0 1 65 40 L39 40 L39 65 L34 66",fill:"none",stroke:t.color,"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}}),t._v(" "),i("path",{staticClass:"act-xysloading-path-oval-middle",attrs:{d:"M34 66 Q10 66 6 38",fill:"none",stroke:t.color,"stroke-linecap":"butt","stroke-width":"7"}}),t._v(" "),i("circle",{staticClass:"act-xysloading-circle",attrs:{cx:"40",cy:"40",r:"36",fill:"none",stroke:t.color,transform:"rotate(180,40,40)","stroke-linecap":"butt"}}),t._v(" "),i("path",{staticClass:"act-xysloading-path-oval-end",attrs:{d:"M40 77 Q15 80 15 37",fill:"none",stroke:t.color,"stroke-linecap":"butt","stroke-width":"7"}})])])])},n=[];s._withStripped=!0},372:function(t,e,i){"use strict";function s(t){r||i(373)}Object.defineProperty(e,"__esModule",{value:!0});var n=i(241),o=i(374),a=i(7),r=!1,c=s,l=Object(a.a)(n.a,o.a,o.b,!1,c,"data-v-4884e2ea",null);l.options.__file="src\\components\\Loading\\src\\line-loading.vue",e.default=l.exports},373:function(t,e){},374:function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{staticClass:"loading-cont-line",style:t.styleObj})])])},n=[];s._withStripped=!0},7:function(t,e,i){"use strict";function s(t,e,i,s,n,o,a,r){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var l="function"==typeof t?t.options:t;e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0),s&&(l.functional=!0),o&&(l._scopeId=o);var u;if(a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=u):n&&(u=r?function(){n.call(this,this.$root.$options.shadowRoot)}:n),u)if(l.functional){l._injectStyles=u;var d=l.render;l.render=function(t,e){return u.call(e),d(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:l}}e.a=s},83:function(t,e,i){t.exports={default:i(85),__esModule:!0}},85:function(t,e,i){var s=i(2),n=s.JSON||(s.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},87:function(t,e){t.exports=s},90:function(t,e){t.exports=n},91:function(t,e){t.exports=o},986:function(t,e,i){"use strict";var s=i(90),n=i.n(s),o=i(91),a=i.n(o),r=i(351),c=i(195),l=i(87),u=i.n(l);e.a={name:"ActGoldAddressLayer",data:function(){return{isVisible:!1,preOverflowValue:null,searchText:"",fn:null,loading:!1,list:[],hasSearch:!1,scroller:null}},components:{ActPopup:n.a,ActToast:c.default,ActLoading:r.default,scroll:a.a},props:{options:{type:Array,default:function(){return[]}},title:{type:String,default:"地址搜索"},value:{type:[Array,String],default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:Number,default:999},region:{type:Array,default:function(){return[]}}},methods:{throttle:function(t,e){var i=this,s=null;return function(n){i.loading=!0,clearTimeout(s),s=setTimeout(t.bind(i,n),e)}},getList:function(t){var e=this;if(this.hasSearch=!0,!t.length)return this.list=[],this.loading=!1,!1;u()("/userAddress/getRealAddress",{queryWord:t,region:this.region}).then(function(t){0==+t.data.ret?e.list=t.data.data||[]:(e.list=[],e.$refs.toast.show(t.data.errmsg||"找不到地址"))}).catch(function(t){e.list=[],e.$refs.toast.show(t.message||"找不到地址")}).finally(function(){e.loading=!1,e.refreshScroll()})},scrollSuc:function(t){this.scroller=t},onSelect:function(t){this.$emit("select",t)},maskClick:function(){this.isVisible=!1},cancel:function(){this.isVisible=!1},show:function(){this.isVisible=!0,this.refreshScroll()},hide:function(){this.isVisible=!1,this.hasSearch=!1},onClear:function(){this.searchText=""},refreshScroll:function(){var t=this;this.scroller&&this.$nextTick(function(){t.scroller.refresh()})}},mounted:function(){this.fn=this.throttle(this.getList,1e3)},watch:{isVisible:function(t){t?(this.preOverflowValue=document&&document.body&&document.body.style&&document.body.style.overflow,document.documentElement.style.overflow="hidden"):(this.searchText="",this.loading=!1,document.documentElement.style.overflow=this.preOverflowValue||"visible")},searchText:function(t){this.fn(t)}}}},987:function(t,e){t.exports=u}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/utils/assign.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/assets/mixins/fontsize.js"),require("@xysfe/actui/es/assets/img/icon-search.png"),require("@xysfe/actui/es/assets/img/icon-close2.png"),require("@xysfe/actui/es/assets/img/position.png"),require("@xysfe/actui/es/assets/img/icon-nodata.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/common/popup.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/assets/utils/assign.js","@xysfe/actui/es/Loading/index.js","@xysfe/actui/es/assets/mixins/fontsize.js","@xysfe/actui/es/assets/img/icon-search.png","@xysfe/actui/es/assets/img/icon-close2.png","@xysfe/actui/es/assets/img/position.png","@xysfe/actui/es/assets/img/icon-nodata.png"],e):"object"==typeof exports?exports.GoldAddressLayer=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/utils/assign.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/assets/mixins/fontsize.js"),require("@xysfe/actui/es/assets/img/icon-search.png"),require("@xysfe/actui/es/assets/img/icon-close2.png"),require("@xysfe/actui/es/assets/img/position.png"),require("@xysfe/actui/es/assets/img/icon-nodata.png")):t.GoldAddressLayer=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/common/popup.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/assets/utils/assign.js"],t["@xysfe/actui/es/Loading/index.js"],t["@xysfe/actui/es/assets/mixins/fontsize.js"],t["@xysfe/actui/es/assets/img/icon-search.png"],t["@xysfe/actui/es/assets/img/icon-close2.png"],t["@xysfe/actui/es/assets/img/position.png"],t["@xysfe/actui/es/assets/img/icon-nodata.png"])}("undefined"!=typeof self?self:this,function(t,e,i,n,s,o,r,a,c,u,l,f,d){return function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1908)}({0:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},10:function(t,e,i){var n=i(0),s=i(2),o=i(17),r=i(5),a=i(8),c=function(t,e,i){var u,l,f,d=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,g=t&c.B,y=t&c.W,x=p?s:s[e]||(s[e]={}),m=x.prototype,b=p?n:h?n[e]:(n[e]||{}).prototype;p&&(i=e);for(u in i)(l=!d&&b&&void 0!==b[u])&&a(x,u)||(f=l?b[u]:i[u],x[u]=p&&"function"!=typeof b[u]?i[u]:g&&l?o(f,n):y&&b[u]==f?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((x.virtual||(x.virtual={}))[u]=f,t&c.R&&m&&!m[u]&&r(m,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},105:function(t,e){t.exports=r},12:function(t,e,i){var n=i(30),s=i(16);t.exports=function(t){return n(s(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},135:function(t,e){t.exports=a},138:function(t,e){t.exports=c},14:function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},15:function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},156:function(t,e,i){"use strict";var n=i(83),s=i.n(n),o=i(32),r=i.n(o),a=i(138),c=i.n(a),u=i(105),l=i.n(u),f=i(90),d=i.n(f),p=i(135),h=i.n(p),v=i(35);i.n(v);e.a={name:"ActToast",mixins:[r.a,c.a],props:{toastTxt:{type:String,default:"Toast Text ~"},textAlign:{type:String,default:"center"},toastTime:{type:Number,default:3e3},zIndex:{type:[String,Number],default:1e3},opacity:{type:[String,Number],default:.7},icon:{type:[Object,String],default:""}},data:function(){return{timer:"",txt:"",align:"",time:"",pointerEvents:"",iconObj:""}},mounted:function(){this.txt=this.toastTxt,this.align=this.textAlign,this.time=this.toastTime,this.iconObj=Object(v.isObject)(this.icon)?l()({},this.icon):this.icon},methods:{show:function(t,e,i){var n=this;clearTimeout(this.timer),t&&(this.txt=t),e>=0&&(this.time=e),i&&(this.align=i),this.pointerEvents="",0!==this.time&&(this.pointerEvents="none",this.timer=setTimeout(function(){n.hide()},this.time)),this.isVisible=!0},hide:function(){this.isVisible=!1,this.timer=null},changeIcon:function(t){if(t){var e=JSON.parse(s()(this.iconObj));t=l()(e,t),this.iconObj=t}else this.iconObj=""}},components:{ActPopup:d.a,Loading:h.a}}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,i){var n=i(20);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,s){return t.call(e,i,n,s)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,i){var n=i(27)("keys"),s=i(24);t.exports=function(t){return n[t]||(n[t]=s(t))}},1908:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(21),s=i.n(n),o=i(1909);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$GoldAddressLayer=s()(o.a,t)},e.default=o.a},1909:function(t,e,i){"use strict";function n(t){a||i(1910)}var s=i(986),o=i(1911),r=i(7),a=!1,c=n,u=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-16b7688b",null);u.options.__file="src\\components\\GoldAddressLayer\\src\\index.vue",e.a=u.exports},1910:function(t,e){},1911:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"act-picker-fade"}},[n("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"picker",mask:!0,center:!1,topBorderRadius:!0,zIndex:t.zIndex},on:{touchmove:function(t){t.preventDefault()},"mask-click":t.maskClick}},[n("transition",{attrs:{name:"act-picker-move"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-picker-panel",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"act-picker-choose"},[n("div",{staticClass:"act-picker-cancel",on:{click:t.cancel}},[n("img",{attrs:{src:i(987),alt:""}})]),t._v(" "),n("div",{staticClass:"act-picker-title-group"},[n("h1",{staticClass:"act-picker-title"},[t._v("\n "+t._s(t.title)+"\n ")])])]),t._v(" "),n("div",{staticClass:"bg"}),t._v(" "),n("div",{staticClass:"act-picker-content"},[n("div",{staticClass:"search-bar"},[n("img",{staticClass:"search-icon",attrs:{src:i(202),alt:""}}),t._v(" "),n("div",{staticClass:"search-content"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchText,expression:"searchText"}],staticClass:"search-text-content",attrs:{type:"text",placeholder:"请输入搜索"},domProps:{value:t.searchText},on:{input:function(e){e.target.composing||(t.searchText=e.target.value)}}}),t._v(" "),n("img",{staticClass:"close-icon",attrs:{src:i(987),alt:""},on:{click:t.onClear}})])]),t._v(" "),n("div",{staticClass:"search-result"},[n("div",{staticClass:"search-list"},[!t.loading&&t.list.length?n("scroll",{attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},t._l(t.list,function(e,s){return n("div",{key:s,staticClass:"search-list-item",on:{click:function(i){return t.onSelect(e)}}},[n("img",{staticClass:"positio-icon",attrs:{src:i(1912),alt:""}}),t._v(" "),n("div",{staticClass:"address-info"},[n("p",{staticClass:"address-name"},[t._v("\n "+t._s(e.placeName)+"\n ")]),t._v(" "),n("p",{staticClass:"address-detail"},[t._v("\n "+t._s(e.showAddress)+"\n ")])])])}),0):t._e()],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading&&!t.list.length&&t.hasSearch,expression:"!loading && !list.length && hasSearch"}],staticClass:"no-data"},[n("img",{staticClass:"logo",attrs:{src:i(1913),alt:"logo"}}),t._v(" "),n("p",{staticClass:"tip"},[t._v("\n 找不到地址\n ")]),t._v(" "),n("p",{staticClass:"text"},[t._v("\n 请尝试只输入小区、写字楼或学校名,\n ")]),t._v(" "),n("p",{staticClass:"text"},[t._v("\n 详细地址(如门牌号)可稍后输入哦。\n ")])]),t._v(" "),n("act-loading",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"search-loading",attrs:{size:40,color:t.brandColor,type:"cir4"}})],1)])])]),t._v(" "),n("act-toast",{ref:"toast"})],1)],1)},s=[];n._withStripped=!0},1912:function(t,e){t.exports=f},1913:function(t,e){t.exports=d},195:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(21),s=i.n(n),o=i(196);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createToast=s()(o.a,t)},e.default=o.a},196:function(t,e,i){"use strict";function n(t){a||i(197)}var s=i(156),o=i(198),r=i(7),a=!1,c=n,u=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-503eaf05",null);u.options.__file="src\\components\\Toast\\src\\index.vue",e.a=u.exports},197:function(t,e){},198:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{opacity:"0",pointerEvent:t.pointerEvents,zIndex:t.zIndex},scopedSlots:t._u([{key:"mask",fn:function(){return[i("div",{staticClass:"act-toast",style:{fontSize:t._fontSize}},[i("div",{class:{"act-toast-content":!0,icon:""!==t.iconObj,"icon-left":"left"===t.iconObj.align},style:{"text-align":t.align,background:"rgba(0,0,0,"+t.opacity+")"}},[t.iconObj?i("div",{staticClass:"icon-cont"},[i("Loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:t.iconObj.type,size:t.iconObj.size?t.iconObj.size:33,color:t.iconObj.color,bgcolor:t.iconObj.bgcolor,center:t.iconObj.center}})],1):t._e(),t._v(" "),i("div",{staticClass:"toast-txt"},[t._v("\n "+t._s(t.txt)+"\n ")])])])]},proxy:!0}])})},s=[];n._withStripped=!0},2:function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},202:function(t,e){t.exports=u},21:function(e,i){e.exports=t},22:function(t,e,i){var n=i(6),s=i(0).document,o=n(s)&&n(s.createElement);t.exports=function(t){return o?s.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},234:function(t,e,i){"use strict";var n=i(353),s={};n.keys().forEach(function(t){var e=n(t);e=e.default||e;var i=e.name;i&&(s[i.toLowerCase()]=e)}),e.a={name:"ActLoading",functional:!0,props:{type:{type:String,default:"default"}},render:function(t,e){var i=e.props.type;return!i&&(i="default"),t(s[i.toLowerCase()],e.data,e.children)}}},235:function(t,e,i){"use strict";var n=i(32),s=i.n(n);e.a={name:"Cir1",mixins:[s.a],props:{size:{type:Number,default:40},thick:{type:Number,default:.4},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{localThick:function(){return this.thick/2},loadingWidth:function(){return Math.floor(this.size*(1-2*this.localThick))},loadingHeight:function(){return this.loadingWidth},borderWidth:function(){return Math.floor(this.size*this.localThick)<=0?1:Math.floor(this.size*this.localThick)},styleObj:function(){return{width:this.loadingWidth+"px",height:this.loadingHeight+"px",borderWidth:this.borderWidth+"px",borderStyle:"solid",borderColor:"transparent currentColor transparent currentColor"}}}}},236:function(t,e,i){"use strict";var n=i(32),s=i.n(n);e.a={name:"Cir2",mixins:[s.a],props:{size:{type:Number,default:40},thick:{type:Number,default:.4},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{localThick:function(){return this.thick/2},loadingWidth:function(){return Math.floor(this.size*(1-2*this.localThick))},loadingHeight:function(){return this.loadingWidth},borderWidth:function(){return Math.floor(this.size*this.localThick)<=0?1:Math.floor(this.size*this.localThick)},styleObj:function(){return{width:this.loadingWidth+"px",height:this.loadingHeight+"px",borderWidth:this.borderWidth+"px",borderStyle:"solid",borderColor:"transparent currentColor currentColor currentColor"}}}}},237:function(t,e,i){"use strict";var n=i(32),s=i.n(n);e.a={name:"Cir3",mixins:[s.a],props:{size:{type:Number,default:40},thick:{type:Number,default:.4},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{localThick:function(){return this.thick/2},loadingWidth:function(){return Math.floor(this.size*(1-2*this.localThick))},loadingHeight:function(){return this.loadingWidth},borderWidth:function(){return Math.floor(this.size*this.localThick)<=0?1:Math.floor(this.size*this.localThick)},styleObj:function(){return{width:this.loadingWidth+"px",height:this.loadingHeight+"px",borderWidth:this.borderWidth+"px",borderStyle:"solid",borderColor:"currentColor transparent transparent transparent"}},maskStyle:function(){return{top:"-"+this.borderWidth+"px",right:"-"+this.borderWidth+"px",bottom:"-"+this.borderWidth+"px",left:"-"+this.borderWidth+"px",border:this.borderWidth+"px solid currentcolor"}}}}},238:function(t,e,i){"use strict";var n=i(32),s=i.n(n);e.a={name:"Cir4",mixins:[s.a],props:{size:{type:Number,default:40},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{loadingWidth:function(){return Math.floor(.8*this.size)},loadingHeight:function(){return this.loadingWidth},styleObj:function(){return{fontSize:this.size+"px",width:this.loadingWidth+"px",height:this.loadingHeight+"px"}}}}},239:function(t,e,i){"use strict";var n=i(32),s=i.n(n);e.a={name:"Cir5",mixins:[s.a],props:{size:{type:Number,default:40},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{loadingWidth:function(){return Math.floor(.8*this.size)},loadingHeight:function(){return this.loadingWidth},styleObj:function(){return{fontSize:this.size+"px",width:this.loadingWidth+"px",height:this.loadingHeight+"px"}}}}},24:function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},240:function(t,e,i){"use strict";var n=i(32),s=i.n(n);e.a={name:"Default",mixins:[s.a],props:{size:{type:Number,default:40},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}}}},241:function(t,e,i){"use strict";var n=i(32),s=i.n(n);e.a={name:"Line",mixins:[s.a],props:{size:{type:Number,default:40},color:{type:String,default:"#8c7fee"},bgcolor:{type:String,default:""},center:{type:Boolean,default:!0}},computed:{loadingWidth:function(){return Math.floor(.2*this.size)},loadingHeight:function(){return Math.floor(.4*this.size)},styleObj:function(){return{fontSize:this.size+"px",width:this.loadingWidth+"px",height:this.loadingHeight+"px"}}}}},26:function(t,e,i){var n=i(37),s=i(28);t.exports=Object.keys||function(t){return n(t,s)}},27:function(t,e,i){var n=i(2),s=i(0),o=s["__core-js_shared__"]||(s["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,i){var n=i(16);t.exports=function(t){return Object(n(t))}},3:function(t,e,i){t.exports=!i(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,i){var n=i(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},31:function(t,e,i){var n=i(15),s=Math.min;t.exports=function(t){return t>0?s(n(t),9007199254740991):0}},32:function(t,i){t.exports=e},34:function(t,e,i){var n=i(6);t.exports=function(t,e){if(!n(t))return t;var i,s;if(e&&"function"==typeof(i=t.toString)&&!n(s=i.call(t)))return s;if("function"==typeof(i=t.valueOf)&&!n(s=i.call(t)))return s;if(!e&&"function"==typeof(i=t.toString)&&!n(s=i.call(t)))return s;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){t.exports=i},351:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(21),s=i.n(n),o=i(352);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createLoading=s()(o.a,t)},e.default=o.a},352:function(t,e,i){"use strict";var n=i(234),s=i(7),o=Object(s.a)(n.a,void 0,void 0,!1,null,null,null);o.options.__file="src\\components\\Loading\\src\\index.vue",e.a=o.exports},353:function(t,e,i){function n(t){return i(s(t))}function s(t){var e=o[t];if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}var o={"./cir1-loading.vue":354,"./cir2-loading.vue":357,"./cir3-loading.vue":360,"./cir4-loading.vue":363,"./cir5-loading.vue":366,"./default-loading.vue":369,"./line-loading.vue":372};n.keys=function(){return Object.keys(o)},n.resolve=s,t.exports=n,n.id=353},354:function(t,e,i){"use strict";function n(t){a||i(355)}Object.defineProperty(e,"__esModule",{value:!0});var s=i(235),o=i(356),r=i(7),a=!1,c=n,u=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-027695fc",null);u.options.__file="src\\components\\Loading\\src\\cir1-loading.vue",e.default=u.exports},355:function(t,e){},356:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{ref:"loading",staticClass:"loading-cont-cir1",style:t.styleObj})])])},s=[];n._withStripped=!0},357:function(t,e,i){"use strict";function n(t){a||i(358)}Object.defineProperty(e,"__esModule",{value:!0});var s=i(236),o=i(359),r=i(7),a=!1,c=n,u=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-1e0cc706",null);u.options.__file="src\\components\\Loading\\src\\cir2-loading.vue",e.default=u.exports},358:function(t,e){},359:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{ref:"loading",staticClass:"loading-cont-cir2",style:t.styleObj})])])},s=[];n._withStripped=!0},36:function(t,e,i){t.exports=!i(3)&&!i(13)(function(){return 7!=Object.defineProperty(i(22)("div"),"a",{get:function(){return 7}}).a})},360:function(t,e,i){"use strict";function n(t){a||i(361)}Object.defineProperty(e,"__esModule",{value:!0});var s=i(237),o=i(362),r=i(7),a=!1,c=n,u=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-4106ba04",null);u.options.__file="src\\components\\Loading\\src\\cir3-loading.vue",e.default=u.exports},361:function(t,e){},362:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{ref:"loading",staticClass:"loading-cont-cir3",style:t.styleObj},[i("div",{staticClass:"cir3-mask",style:t.maskStyle})])])])},s=[];n._withStripped=!0},363:function(t,e,i){"use strict";function n(t){a||i(364)}Object.defineProperty(e,"__esModule",{value:!0});var s=i(238),o=i(365),r=i(7),a=!1,c=n,u=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-6400ad02",null);u.options.__file="src\\components\\Loading\\src\\cir4-loading.vue",e.default=u.exports},364:function(t,e){},365:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{staticClass:"loading-cont-cir4",style:t.styleObj})])])},s=[];n._withStripped=!0},366:function(t,e,i){"use strict";function n(t){a||i(367)}Object.defineProperty(e,"__esModule",{value:!0});var s=i(239),o=i(368),r=i(7),a=!1,c=n,u=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-86faa000",null);u.options.__file="src\\components\\Loading\\src\\cir5-loading.vue",e.default=u.exports},367:function(t,e){},368:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{staticClass:"loading-cont-cir5",style:t.styleObj})])])},s=[];n._withStripped=!0},369:function(t,e,i){"use strict";function n(t){a||i(370)}Object.defineProperty(e,"__esModule",{value:!0});var s=i(240),o=i(371),r=i(7),a=!1,c=n,u=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-073ac538",null);u.options.__file="src\\components\\Loading\\src\\default-loading.vue",e.default=u.exports},37:function(t,e,i){var n=i(8),s=i(12),o=i(40)(!1),r=i(19)("IE_PROTO");t.exports=function(t,e){var i,a=s(t),c=0,u=[];for(i in a)i!=r&&n(a,i)&&u.push(i);for(;e.length>c;)n(a,i=e[c++])&&(~o(u,i)||u.push(i));return u}},370:function(t,e){},371:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("svg",{attrs:{viewBox:"0 0 80 80"}},[i("path",{staticClass:"act-xysloading-path",attrs:{d:"M15 37 A25 25 0 0 1 65 40 L39 40 L39 65 L34 66",fill:"none",stroke:t.color,"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}}),t._v(" "),i("path",{staticClass:"act-xysloading-path-oval-middle",attrs:{d:"M34 66 Q10 66 6 38",fill:"none",stroke:t.color,"stroke-linecap":"butt","stroke-width":"7"}}),t._v(" "),i("circle",{staticClass:"act-xysloading-circle",attrs:{cx:"40",cy:"40",r:"36",fill:"none",stroke:t.color,transform:"rotate(180,40,40)","stroke-linecap":"butt"}}),t._v(" "),i("path",{staticClass:"act-xysloading-path-oval-end",attrs:{d:"M40 77 Q15 80 15 37",fill:"none",stroke:t.color,"stroke-linecap":"butt","stroke-width":"7"}})])])])},s=[];n._withStripped=!0},372:function(t,e,i){"use strict";function n(t){a||i(373)}Object.defineProperty(e,"__esModule",{value:!0});var s=i(241),o=i(374),r=i(7),a=!1,c=n,u=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-4884e2ea",null);u.options.__file="src\\components\\Loading\\src\\line-loading.vue",e.default=u.exports},373:function(t,e){},374:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-loading",style:{backgroundColor:t.bgcolor}},[i("div",{staticClass:"act-loading-wrap",style:{width:t.size+"px",height:t.size+"px",color:t.color,margin:!0===t.center?"0 auto":"unset"}},[i("div",{staticClass:"loading-cont-line",style:t.styleObj})])])},s=[];n._withStripped=!0},4:function(t,e,i){var n=i(6);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,i){var n=i(12),s=i(31),o=i(41);t.exports=function(t){return function(e,i,r){var a,c=n(e),u=s(c.length),l=o(r,u);if(t&&i!=i){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===i)return t||l||0;return!t&&-1}}},41:function(t,e,i){var n=i(15),s=Math.max,o=Math.min;t.exports=function(t,e){return t=n(t),t<0?s(t+e,0):o(t,e)}},43:function(t,e){e.f={}.propertyIsEnumerable},48:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,i){var n=i(9),s=i(23);t.exports=i(3)?function(t,e,i){return n.f(t,e,s(1,i))}:function(t,e,i){return t[e]=i,t}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},61:function(t,e,i){t.exports={default:i(64),__esModule:!0}},64:function(t,e,i){i(65),t.exports=i(2).Object.assign},65:function(t,e,i){var n=i(10);n(n.S+n.F,"Object",{assign:i(66)})},66:function(t,e,i){"use strict";var n=i(3),s=i(26),o=i(48),r=i(43),a=i(29),c=i(30),u=Object.assign;t.exports=!u||i(13)(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[i]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var i=a(t),u=arguments.length,l=1,f=o.f,d=r.f;u>l;)for(var p,h=c(arguments[l++]),v=f?s(h).concat(f(h)):s(h),g=v.length,y=0;g>y;)p=v[y++],n&&!d.call(h,p)||(i[p]=h[p]);return i}:u},7:function(t,e,i){"use strict";function n(t,e,i,n,s,o,r,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId=o);var l;if(r?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=l):s&&(l=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}e.a=n},8:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},83:function(t,e,i){t.exports={default:i(85),__esModule:!0}},84:function(t,e,i){"use strict";e.__esModule=!0;var n=i(61),s=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=s.default||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}},85:function(t,e,i){var n=i(2),s=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return s.stringify.apply(s,arguments)}},87:function(t,e){t.exports=n},9:function(t,e,i){var n=i(4),s=i(36),o=i(34),r=Object.defineProperty;e.f=i(3)?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),s)try{return r(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},90:function(t,e){t.exports=s},91:function(t,e){t.exports=o},986:function(t,e,i){"use strict";var n=i(84),s=i.n(n),o=i(90),r=i.n(o),a=i(91),c=i.n(a),u=i(351),l=i(195),f=i(87),d=i.n(f);e.a={name:"ActGoldAddressLayer",data:function(){return{isVisible:!1,preOverflowValue:null,searchText:"",fn:null,loading:!1,list:[],hasSearch:!1,scroller:null}},components:{ActPopup:r.a,ActToast:l.default,ActLoading:u.default,scroll:c.a},props:{options:{type:Array,default:function(){return[]}},title:{type:String,default:"地址搜索"},value:{type:[Array,String],default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:Number,default:999},region:{type:Array,default:function(){return[]}},ext:{type:Object,default:function(){return{}}}},methods:{throttle:function(t,e){var i=this,n=null;return function(s){i.loading=!0,clearTimeout(n),n=setTimeout(t.bind(i,s),e)}},getList:function(t){var e=this;if(this.hasSearch=!0,!t.length)return this.list=[],this.loading=!1,!1;d()("/userAddress/getRealAddress",s()({queryWord:t,region:this.region},this.ext)).then(function(t){0==+t.data.ret?e.list=t.data.data||[]:(e.list=[],e.$refs.toast.show(t.data.errmsg||"找不到地址"))}).catch(function(t){e.list=[],e.$refs.toast.show(t.message||"找不到地址")}).finally(function(){e.loading=!1,e.refreshScroll()})},scrollSuc:function(t){this.scroller=t},onSelect:function(t){this.$emit("select",t)},maskClick:function(){this.isVisible=!1},cancel:function(){this.isVisible=!1},show:function(){this.isVisible=!0,this.refreshScroll()},hide:function(){this.isVisible=!1,this.hasSearch=!1},onClear:function(){this.searchText=""},refreshScroll:function(){var t=this;this.scroller&&this.$nextTick(function(){t.scroller.refresh()})}},mounted:function(){this.fn=this.throttle(this.getList,1e3)},watch:{isVisible:function(t){t?(this.preOverflowValue=document&&document.body&&document.body.style&&document.body.style.overflow,document.documentElement.style.overflow="hidden"):(this.searchText="",this.loading=!1,document.documentElement.style.overflow=this.preOverflowValue||"visible")},searchText:function(t){this.fn(t)}}}},987:function(t,e){t.exports=l}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/mixins/gold-element.js"),require("@xysfe/actui/es/assets/common/baseelement.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/svgicon.js"),require("@xysfe/actui/es/assets/mixins/gold-change.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/img/icon-close.png"),require("@xysfe/actui/es/assets/img/search.png"),require("@xysfe/actui/es/assets/img/airplane.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/gold-visible.js","@xysfe/actui/es/assets/mixins/gold-element.js","@xysfe/actui/es/assets/common/baseelement.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/assets/svgicon.js","@xysfe/actui/es/assets/mixins/gold-change.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/img/icon-close.png","@xysfe/actui/es/assets/img/search.png","@xysfe/actui/es/assets/img/airplane.png"],e):"object"==typeof exports?exports.GoldAddressSelect=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/mixins/gold-element.js"),require("@xysfe/actui/es/assets/common/baseelement.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/svgicon.js"),require("@xysfe/actui/es/assets/mixins/gold-change.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/img/icon-close.png"),require("@xysfe/actui/es/assets/img/search.png"),require("@xysfe/actui/es/assets/img/airplane.png")):t.GoldAddressSelect=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/gold-visible.js"],t["@xysfe/actui/es/assets/mixins/gold-element.js"],t["@xysfe/actui/es/assets/common/baseelement.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/assets/svgicon.js"],t["@xysfe/actui/es/assets/mixins/gold-change.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/img/icon-close.png"],t["@xysfe/actui/es/assets/img/search.png"],t["@xysfe/actui/es/assets/img/airplane.png"])}("undefined"!=typeof self?self:this,function(t,e,n,s,i,r,o,c,a,u,l,f,h){return function(t){function e(s){if(n[s])return n[s].exports;var i=n[s]={i:s,l:!1,exports:{}};return t[s].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,s){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=2e3)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var s=n(27)("wks"),i=n(24),r=n(0).Symbol,o="function"==typeof r;(t.exports=function(t){return s[t]||(s[t]=o&&r[t]||(o?r:i)("Symbol."+t))}).store=s},10:function(t,e,n){var s=n(0),i=n(2),r=n(17),o=n(5),c=n(8),a=function(t,e,n){var u,l,f,h=t&a.F,p=t&a.G,v=t&a.S,d=t&a.P,m=t&a.B,y=t&a.W,x=p?i:i[e]||(i[e]={}),g=x.prototype,_=p?s:v?s[e]:(s[e]||{}).prototype;p&&(n=e);for(u in n)(l=!h&&_&&void 0!==_[u])&&c(x,u)||(f=l?_[u]:n[u],x[u]=p&&"function"!=typeof _[u]?n[u]:m&&l?r(f,s):y&&_[u]==f?function(t){var e=function(e,n,s){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,s)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):d&&"function"==typeof f?r(Function.call,f):f,d&&((x.virtual||(x.virtual={}))[u]=f,t&a.R&&g&&!g[u]&&o(g,u,f)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},1002:function(t,e,n){"use strict";var s=n(70),i=n.n(s),r=n(88),o=n.n(r),c=n(93),a=n.n(c),u=n(89),l=n.n(u),f=n(92),h=n.n(f),p=n(2002);e.a={name:"ActGoldAddressSelect",mixins:[i.a,o.a,a.a],components:{ActGoldBaseElement:l.a,svgIcon:h.a,addresSelectLayer:p.a},computed:{descText:function(){return this.desc?this.desc:""},sortOptions:function(){for(var t=this,e=[],n=0;n<this.options.length;n++)!function(n){var s=t.options[n].initial||"",i=e.find(function(t){return t.initial===s});i?i.options.push(t.options[n]):e.push({initial:s,options:[t.options[n]]})}(n);return e.sort(function(t,e){return t.initial.charCodeAt()-e.initial.charCodeAt()})}},methods:{click:function(){this.$refs.bankSelect.show()},changeValue:function(t){this.change(void 0,t)}}}},1003:function(t,e,n){"use strict";function s(t,e){var n=null;return function(){var s=this,i=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(s,i)},e)}}function i(t,e){var n=!1,s=null;return function(){var i=this,r=arguments;n?(clearTimeout(s),s=setTimeout(function(){t.apply(i,r)},e)):(n=!0,setTimeout(function(){n=!1,t.apply(i,r)},e))}}var r=n(97),o=n.n(r),c=n(104),a=n.n(c),u=n(91),l=n.n(u),f=n(32),h=n.n(f),p=n(35);n.n(p);e.a={name:"AddresSelectLayer",mixins:[h.a],components:{ActGoldLayer:a.a,scroll:l.a},props:{options:{type:Array,default:function(){return[]}},title:{type:String,default:"旅行目的地"},brandColor:{type:String,default:"#8c7fee"},inputPlaceHolder:{type:String,default:"搜索您想去的国家"},value:{type:Array,default:function(){return[]}},multiNumber:{type:Number,default:-1}},data:function(){return{docmHeight:document.documentElement.clientHeight,pickerContentHeight:0,toast:null,isInSearch:!1,searchText:"",scrollInit:!1,myValue:[],searchOptions:[],inputDebounce:function(){},navListHeight:[],moveThrottle:function(){},navItemTimer:[]}},methods:{init:function(){this.myValue=Object(p.deepCopy)(this.value)},close:function(){this.hide()},inputClick:function(){this.isInSearch||(this.isInSearch=!0)},cancelSearch:function(){this.isInSearch=!1,this.searchReset()},searchReset:function(){this.searchText=""},reset:function(){this.isInSearch=!1,this.searchText=""},select:function(t){this.myValue.find(function(e){return e.value===t.value})?this.isInSearch&&(this.reset(),this.calcHeight()):this.multiNumber<0?(this.myValue.push(t),this.reset(),this.calcHeight()):this.myValue.length<this.multiNumber?(this.myValue.push(t),this.reset(),this.calcHeight()):this.myValue.length>=this.multiNumber&&this.showToast("最多可添加"+this.multiNumber+"个目的地",2e3)},deleteValue:function(t){this.myValue.splice(t,1),this.calcHeight()},search:function(t){for(var e=[],n=this.options,s=Array.isArray(n),i=0,n=s?n:o()(n);;){var r;if(s){if(i>=n.length)break;r=n[i++]}else{if(i=n.next(),i.done)break;r=i.value}for(var c=r,a=c.options,u=0;u<a.length;u++)a[u].text.includes(t)&&e.push(a[u])}this.searchOptions=e},calcHeight:function(){var t=this;this.$nextTick(function(){var e=t.$refs.searchHeader.offsetHeight,n=500-e;t.$refs.noSearchBody.style.height=n+"px",t.refreshScroll()})},calcNavListHeight:function(){var t=this;this.$nextTick(function(){t.navListHeight=[];var e=t.$refs.navGroup,n=0;if(t.navListHeight.push(n),e.length)for(var s=0;s<e.length;s++){var i=e[s];n+=i.clientHeight,t.navListHeight.push(n)}})},onTouchStartLetter:function(t){this.scrollTo(this.navListHeight[t]),this.setNavItemActive(t)},onTouchMoveLetter:function(t){var e=t.targetTouches[0],n=document.elementFromPoint(e.clientX,e.clientY),s=n&&n.dataset&&n.dataset.index&&n.dataset.index||void 0;s&&(this.scrollTo(this.navListHeight[Number(s)]),this.setNavItemActive(Number(s)))},setNavItemActive:function(t){for(var e=this.$refs.navItem[t],n=0;n<this.$refs.navItem.length;n++){this.$refs.navItem[n].classList.remove("active"),clearTimeout(this.navItemTimer[n])}e.classList.add("active"),this.navItemTimer[t]=setTimeout(function(){e.classList.remove("active")},1e3)},complete:function(){this.$emit("change",this.myValue),this.hide()},scrollSuc:function(t){this.scroller=t},scrollTo:function(t){var e=Math.abs(this.scroller.maxScrollY),n=Math.abs(t);n>e?this.scroller.scrollTo(0,0-e):this.scroller.scrollTo(0,0-n)},refreshScroll:function(){var t=this;this.scroller&&this.$nextTick(function(){t.scroller.refresh()})},showToast:function(t,e,n){this.toast||(this.toast=this.$createToast()),this.toast.show(t,e,n)}},created:function(){var t=this,e=navigator.userAgent;(e.indexOf("Android")>-1||e.indexOf("Adr")>-1)&&window.addEventListener("resize",function(){if(0!==t.pickerContentHeight){var e=document.body.clientHeight;t.docmHeight>e?t.$refs.boxWrapper.style.height=t.pickerContentHeight+e-t.docmHeight+"px":(t.$refs.boxWrapper.style.height=t.pickerContentHeight+"px",t.refreshScroll())}}),this.scrollInit=!0},mounted:function(){this.inputDebounce=s(this.search,300),this.moveThrottle=i(this.onTouchMoveLetter,20),this.calcHeight()},watch:{isVisible:function(t){var e=this;t&&(this.reset(),this.init(),this.calcHeight(),this.calcNavListHeight(),this.pickerContentHeight||this.$nextTick(function(){e.pickerContentHeight=Object(p.outerHeight)(e.$refs.boxWrapper)}))},searchText:function(t){t?this.inputDebounce(t):this.searchOptions=[]},isInSearch:function(){this.calcHeight(),this.refreshScroll()}}}},101:function(t,e,n){n(47),n(43),t.exports=n(102)},102:function(t,e,n){var s=n(4),i=n(52);t.exports=n(2).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return s(e.call(t))}},104:function(t,e){t.exports=u},11:function(t,e){t.exports={}},12:function(t,e,n){var s=n(30),i=n(16);t.exports=function(t){return s(i(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,s=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?s:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var s=n(20);t.exports=function(t,e,n){if(s(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,s){return t.call(e,n,s)};case 3:return function(n,s,i){return t.call(e,n,s,i)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var s=n(27)("keys"),i=n(24);t.exports=function(t){return s[t]||(s[t]=i(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},2e3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n(21),i=n.n(s),r=n(2001);r.a.install=function(t){t.component(r.a.name,r.a),t.prototype.$createGoldAddressSelect=i()(r.a,t)},e.default=r.a},2001:function(t,e,n){"use strict";var s=n(1002),i=n(2007),r=n(7),o=Object(r.a)(s.a,i.a,i.b,!1,null,null,null);o.options.__file="src\\components\\GoldAddressSelect\\src\\index.vue",e.a=o.exports},2002:function(t,e,n){"use strict";function s(t){c||n(2003)}var i=n(1003),r=n(2004),o=n(7),c=!1,a=s,u=Object(o.a)(i.a,r.a,r.b,!1,a,"data-v-bee2fd16",null);u.options.__file="src\\components\\GoldAddressSelect\\src\\addressSelectLayer.vue",e.a=u.exports},2003:function(t,e){},2004:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return i});var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("act-gold-layer",{attrs:{visible:t.isVisible,center:!1,title:t.title},on:{close:t.close}},[s("span",{staticClass:"header_left",attrs:{slot:"headerLeft"},on:{click:t.hide},slot:"headerLeft"}),t._v(" "),s("span",{staticClass:"header_right",style:{color:t.brandColor},attrs:{slot:"headerRight"},on:{click:t.complete},slot:"headerRight"},[t._v("完成")]),t._v(" "),s("div",{ref:"boxWrapper",staticClass:"address_body"},[s("div",{ref:"searchHeader",staticClass:"search_header",class:{inSearch:t.isInSearch}},[s("div",{staticClass:"search_box_warp"},[s("div",{staticClass:"search_box"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.searchText,expression:"searchText"}],class:{search_input:!0,insearch:t.isInSearch},attrs:{placeholder:t.inputPlaceHolder},domProps:{value:t.searchText},on:{click:t.inputClick,input:function(e){e.target.composing||(t.searchText=e.target.value)}}}),t._v(" "),t.isInSearch?t._e():s("img",{staticClass:"search_icon",attrs:{src:n(2005)}}),t._v(" "),t.isInSearch&&t.searchText?s("img",{staticClass:"search_reset",attrs:{src:n(245)},on:{click:t.searchReset}}):t._e()]),t._v(" "),t.isInSearch?s("span",{staticClass:"search_cancel",on:{click:t.cancelSearch}},[t._v("取消")]):t._e()]),t._v(" "),t.myValue.length&&!t.isInSearch?s("div",{staticClass:"result"},[s("div",{staticClass:"result_header"},[s("img",{attrs:{src:n(2006)}}),t._v(" "),s("span",[t._v("我的目的地")])]),t._v(" "),s("div",{staticClass:"result_body"},t._l(t.myValue,function(e,n){return s("div",{key:n,staticClass:"result_item"},[s("span",[t._v("\n "+t._s(e.text)+"\n ")]),t._v(" "),s("i",{on:{click:function(e){return t.deleteValue(n)}}})])}),0)]):t._e()]),t._v(" "),s("div",{ref:"noSearchBody",class:{nosearch_body:!t.isInSearch,search_body:t.isInSearch}},[t.scrollInit?s("scroll",{attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},[s("div",{directives:[{name:"show",rawName:"v-show",value:!t.isInSearch,expression:"!isInSearch"}],staticClass:"nosearch_body_wrap"},t._l(t.options,function(e,n){return s("div",{key:n,ref:"navGroup",refInFor:!0,staticClass:"nosearch_item"},[s("div",{staticClass:"letter"},[t._v("\n "+t._s(e.initial)+"\n ")]),t._v(" "),s("div",{staticClass:"letter_options"},t._l(e.options,function(e,n){return s("div",{key:n,staticClass:"letter_option",on:{click:function(n){return t.select(e)}}},[s("span",[t._v("\n "+t._s(e.text)+"\n ")])])}),0)])}),0),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isInSearch,expression:"isInSearch"}],staticClass:"search_body_wrap"},t._l(t.searchOptions,function(e,n){return s("div",{key:n,staticClass:"search_item",on:{click:function(n){return t.select(e)}}},[s("span",[t._v("\n "+t._s(e.text)+"\n ")])])}),0)]):t._e()],1),t._v(" "),s("ul",{directives:[{name:"show",rawName:"v-show",value:!t.isInSearch,expression:"!isInSearch"}],staticClass:"nav",on:{touchmove:function(e){return e.preventDefault(),t.moveThrottle.apply(null,arguments)}}},[t._l(t.options,function(e,n){return[s("li",{key:n,ref:"navItem",refInFor:!0,staticClass:"nav_item",attrs:{"data-index":n},on:{touchstart:function(e){return e.preventDefault(),t.onTouchStartLetter(n)}}},[s("div",{staticClass:"nav_item_box",attrs:{"data-index":n}},[t._v("\n "+t._s(e.initial)+"\n ")]),t._v(" "),s("div",{ref:"navBubble",refInFor:!0,staticClass:"bubble"},[s("div",{staticClass:"letter"},[t._v("\n "+t._s(e.initial)+"\n ")])])])]})],2)])])},i=[];s._withStripped=!0},2005:function(t,e){t.exports=f},2006:function(t,e){t.exports=h},2007:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return i});var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("act-gold-base-element",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{common:t.common,hasArrow:!0},on:{showTips:t.showTips}},[n("p",{staticClass:"element-select element-wrap",class:{"element-placeholder":!t.descText},style:{"font-size":t.size,color:t.color},attrs:{"data-key":[t.isWebTester?t.elemKey:""]},on:{mucChange:function(e){return t.mucChange(e)},click:function(e){return e.stopPropagation(),t.click.apply(null,arguments)}}},[t._v("\n "+t._s(t.descText||t.placeholder||"请选择")+"\n ")]),t._v(" "),n("i",{staticClass:"icon-arrow"},[n("svg-icon",{attrs:{iconClass:"gold-arrow-right"}})],1)]),t._v(" "),n("addresSelectLayer",{ref:"bankSelect",attrs:{options:t.sortOptions,value:t.value||[],multiNumber:t.multiNumber},on:{change:t.changeValue}})],1)},i=[];s._withStripped=!0},21:function(e,n){e.exports=t},22:function(t,e,n){var s=n(6),i=n(0).document,r=s(i)&&s(i.createElement);t.exports=function(t){return r?i.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,s=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+s).toString(36))}},245:function(t,e){t.exports=l},25:function(t,e,n){var s=n(9).f,i=n(8),r=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,r)&&s(t,r,{configurable:!0,value:e})}},26:function(t,e,n){var s=n(37),i=n(28);t.exports=Object.keys||function(t){return s(t,i)}},27:function(t,e,n){var s=n(2),i=n(0),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:s.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var s=n(16);t.exports=function(t){return Object(s(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var s=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==s(t)?t.split(""):Object(t)}},31:function(t,e,n){var s=n(15),i=Math.min;t.exports=function(t){return t>0?i(s(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var s=n(18),i=n(10),r=n(46),o=n(5),c=n(11),a=n(49),u=n(25),l=n(51),f=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,v,d,m,y){a(n,e,v);var x,g,_,b=function(t){if(!h&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",j="values"==d,T=!1,C=t.prototype,w=C[f]||C["@@iterator"]||d&&C[d],L=w||b(d),O=d?j?b("entries"):L:void 0,k="Array"==e?C.entries||w:w;if(k&&(_=l(k.call(new t)))!==Object.prototype&&_.next&&(u(_,S,!0),s||"function"==typeof _[f]||o(_,f,p)),j&&w&&"values"!==w.name&&(T=!0,L=function(){return w.call(this)}),s&&!y||!h&&!T&&C[f]||o(C,f,L),c[e]=L,c[S]=p,d)if(x={values:j?L:b("values"),keys:m?L:b("keys"),entries:O},y)for(g in x)g in C||r(C,g,x[g]);else i(i.P+i.F*(h||T),e,x);return x}},34:function(t,e,n){var s=n(6);t.exports=function(t,e){if(!s(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!s(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!s(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!s(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){t.exports=n},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var s=n(8),i=n(12),r=n(40)(!1),o=n(19)("IE_PROTO");t.exports=function(t,e){var n,c=i(t),a=0,u=[];for(n in c)n!=o&&s(c,n)&&u.push(n);for(;e.length>a;)s(c,n=e[a++])&&(~r(u,n)||u.push(n));return u}},38:function(t,e,n){var s=n(0).document;t.exports=s&&s.documentElement},4:function(t,e,n){var s=n(6);t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var s=n(12),i=n(31),r=n(41);t.exports=function(t){return function(e,n,o){var c,a=s(e),u=i(a.length),l=r(o,u);if(t&&n!=n){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}}},41:function(t,e,n){var s=n(15),i=Math.max,r=Math.min;t.exports=function(t,e){return t=s(t),t<0?i(t+e,0):r(t,e)}},42:function(t,e,n){var s=n(14),i=n(1)("toStringTag"),r="Arguments"==s(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),i))?n:r?s(e):"Object"==(c=s(e))&&"function"==typeof e.callee?"Arguments":c}},43:function(t,e,n){"use strict";var s=n(48)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=s(e,n),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,n){var s=n(4),i=n(50),r=n(28),o=n(19)("IE_PROTO"),c=function(){},a=function(){var t,e=n(22)("iframe"),s=r.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;s--;)delete a.prototype[r[s]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=s(t),n=new c,c.prototype=null,n[o]=t):n=a(),void 0===e?n:i(n,e)}},46:function(t,e,n){t.exports=n(5)},47:function(t,e,n){n(59);for(var s=n(0),i=n(5),r=n(11),o=n(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<c.length;a++){var u=c[a],l=s[u],f=l&&l.prototype;f&&!f[o]&&i(f,o,u),r[u]=r.Array}},48:function(t,e,n){var s=n(15),i=n(16);t.exports=function(t){return function(e,n){var r,o,c=String(i(e)),a=s(n),u=c.length;return a<0||a>=u?t?"":void 0:(r=c.charCodeAt(a),r<55296||r>56319||a+1===u||(o=c.charCodeAt(a+1))<56320||o>57343?t?c.charAt(a):r:t?c.slice(a,a+2):o-56320+(r-55296<<10)+65536)}}},49:function(t,e,n){"use strict";var s=n(45),i=n(23),r=n(25),o={};n(5)(o,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=s(o,{next:i(1,n)}),r(t,e+" Iterator")}},5:function(t,e,n){var s=n(9),i=n(23);t.exports=n(3)?function(t,e,n){return s.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var s=n(9),i=n(4),r=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,o=r(e),c=o.length,a=0;c>a;)s.f(t,n=o[a++],e[n]);return t}},51:function(t,e,n){var s=n(8),i=n(29),r=n(19)("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),s(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},52:function(t,e,n){var s=n(42),i=n(1)("iterator"),r=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||r[s(t)]}},54:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var s=n(60),i=n(54),r=n(11),o=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),r.Arguments=r.Array,s("keys"),s("values"),s("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},7:function(t,e,n){"use strict";function s(t,e,n,s,i,r,o,c){t=t||{};var a=typeof t.default;"object"!==a&&"function"!==a||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),s&&(u.functional=!0),r&&(u._scopeId=r);var l;if(o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}e.a=s},70:function(t,e){t.exports=s},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},88:function(t,e){t.exports=i},89:function(t,e){t.exports=r},9:function(t,e,n){var s=n(4),i=n(36),r=n(34),o=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(s(t),e=r(e,!0),s(n),i)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},91:function(t,e){t.exports=o},92:function(t,e){t.exports=c},93:function(t,e){t.exports=a},97:function(t,e,n){t.exports={default:n(101),__esModule:!0}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/mixins/gold-element.js"),require("@xysfe/actui/es/assets/common/baseelement.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/svgicon.js"),require("@xysfe/actui/es/assets/mixins/gold-change.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/img/icon-close.png"),require("@xysfe/actui/es/assets/img/search.png"),require("@xysfe/actui/es/assets/img/airplane.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/gold-visible.js","@xysfe/actui/es/assets/mixins/gold-element.js","@xysfe/actui/es/assets/common/baseelement.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/assets/svgicon.js","@xysfe/actui/es/assets/mixins/gold-change.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/img/icon-close.png","@xysfe/actui/es/assets/img/search.png","@xysfe/actui/es/assets/img/airplane.png"],e):"object"==typeof exports?exports.GoldAddressSelect=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/mixins/gold-element.js"),require("@xysfe/actui/es/assets/common/baseelement.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/svgicon.js"),require("@xysfe/actui/es/assets/mixins/gold-change.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/img/icon-close.png"),require("@xysfe/actui/es/assets/img/search.png"),require("@xysfe/actui/es/assets/img/airplane.png")):t.GoldAddressSelect=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/gold-visible.js"],t["@xysfe/actui/es/assets/mixins/gold-element.js"],t["@xysfe/actui/es/assets/common/baseelement.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/assets/svgicon.js"],t["@xysfe/actui/es/assets/mixins/gold-change.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/img/icon-close.png"],t["@xysfe/actui/es/assets/img/search.png"],t["@xysfe/actui/es/assets/img/airplane.png"])}("undefined"!=typeof self?self:this,function(t,e,n,s,i,r,o,c,a,u,l,f,h){return function(t){function e(s){if(n[s])return n[s].exports;var i=n[s]={i:s,l:!1,exports:{}};return t[s].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,s){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=2e3)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var s=n(27)("wks"),i=n(24),r=n(0).Symbol,o="function"==typeof r;(t.exports=function(t){return s[t]||(s[t]=o&&r[t]||(o?r:i)("Symbol."+t))}).store=s},10:function(t,e,n){var s=n(0),i=n(2),r=n(17),o=n(5),c=n(8),a=function(t,e,n){var u,l,f,h=t&a.F,p=t&a.G,v=t&a.S,d=t&a.P,m=t&a.B,y=t&a.W,x=p?i:i[e]||(i[e]={}),g=x.prototype,_=p?s:v?s[e]:(s[e]||{}).prototype;p&&(n=e);for(u in n)(l=!h&&_&&void 0!==_[u])&&c(x,u)||(f=l?_[u]:n[u],x[u]=p&&"function"!=typeof _[u]?n[u]:m&&l?r(f,s):y&&_[u]==f?function(t){var e=function(e,n,s){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,s)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):d&&"function"==typeof f?r(Function.call,f):f,d&&((x.virtual||(x.virtual={}))[u]=f,t&a.R&&g&&!g[u]&&o(g,u,f)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},1002:function(t,e,n){"use strict";var s=n(70),i=n.n(s),r=n(88),o=n.n(r),c=n(93),a=n.n(c),u=n(89),l=n.n(u),f=n(92),h=n.n(f),p=n(2002);e.a={name:"ActGoldAddressSelect",mixins:[i.a,o.a,a.a],components:{ActGoldBaseElement:l.a,svgIcon:h.a,addresSelectLayer:p.a},computed:{descText:function(){return this.desc?this.desc:""},sortOptions:function(){for(var t=this,e=[],n=0;n<this.options.length;n++)!function(n){var s=t.options[n].initial||"",i=e.find(function(t){return t.initial===s});i?i.options.push(t.options[n]):e.push({initial:s,options:[t.options[n]]})}(n);return e.sort(function(t,e){return t.initial.charCodeAt()-e.initial.charCodeAt()})}},methods:{click:function(){this.$refs.bankSelect.show()},changeValue:function(t){this.change(void 0,t)}}}},1003:function(t,e,n){"use strict";function s(t,e){var n=null;return function(){var s=this,i=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(s,i)},e)}}function i(t,e){var n=!1,s=null;return function(){var i=this,r=arguments;n?(clearTimeout(s),s=setTimeout(function(){t.apply(i,r)},e)):(n=!0,setTimeout(function(){n=!1,t.apply(i,r)},e))}}var r=n(97),o=n.n(r),c=n(104),a=n.n(c),u=n(91),l=n.n(u),f=n(32),h=n.n(f),p=n(35);n.n(p);e.a={name:"AddresSelectLayer",mixins:[h.a],components:{ActGoldLayer:a.a,scroll:l.a},props:{options:{type:Array,default:function(){return[]}},title:{type:String,default:"旅行目的地"},brandColor:{type:String,default:"#8c7fee"},inputPlaceHolder:{type:String,default:"搜索您想去的国家"},value:{type:Array,default:function(){return[]}},multiNumber:{type:Number,default:-1}},data:function(){return{docmHeight:document.documentElement.clientHeight,pickerContentHeight:0,toast:null,isInSearch:!1,searchText:"",scrollInit:!1,myValue:[],searchOptions:[],inputDebounce:function(){},navListHeight:[],moveThrottle:function(){},navItemTimer:[]}},methods:{init:function(){this.myValue=Object(p.deepCopy)(this.value)},close:function(){this.hide()},inputClick:function(){this.isInSearch||(this.isInSearch=!0)},cancelSearch:function(){this.isInSearch=!1,this.searchReset()},searchReset:function(){this.searchText=""},reset:function(){this.isInSearch=!1,this.searchText=""},select:function(t){this.myValue.find(function(e){return e.value===t.value})?this.isInSearch&&(this.reset(),this.calcHeight()):this.multiNumber<0?(this.myValue.push(t),this.reset(),this.calcHeight()):this.myValue.length<this.multiNumber?(this.myValue.push(t),this.reset(),this.calcHeight()):this.myValue.length>=this.multiNumber&&this.showToast("最多可添加"+this.multiNumber+"个目的地",2e3)},deleteValue:function(t){this.myValue.splice(t,1),this.calcHeight()},search:function(t){for(var e=[],n=this.options,s=Array.isArray(n),i=0,n=s?n:o()(n);;){var r;if(s){if(i>=n.length)break;r=n[i++]}else{if(i=n.next(),i.done)break;r=i.value}for(var c=r,a=c.options,u=0;u<a.length;u++)a[u].text.includes(t)&&e.push(a[u])}this.searchOptions=e},calcHeight:function(){var t=this;this.$nextTick(function(){var e=t.$refs.searchHeader.offsetHeight,n=500-e;t.$refs.noSearchBody.style.height=n+"px",t.refreshScroll()})},calcNavListHeight:function(){var t=this;this.$nextTick(function(){t.navListHeight=[];var e=t.$refs.navGroup,n=0;if(t.navListHeight.push(n),e.length)for(var s=0;s<e.length;s++){var i=e[s];n+=i.clientHeight,t.navListHeight.push(n)}})},onTouchStartLetter:function(t){this.scrollTo(this.navListHeight[t]),this.setNavItemActive(t)},onTouchMoveLetter:function(t){var e=t.targetTouches[0],n=document.elementFromPoint(e.clientX,e.clientY),s=n&&n.dataset&&n.dataset.index&&n.dataset.index||void 0;s&&(this.scrollTo(this.navListHeight[Number(s)]),this.setNavItemActive(Number(s)))},setNavItemActive:function(t){for(var e=this.$refs.navItem[t],n=0;n<this.$refs.navItem.length;n++){this.$refs.navItem[n].classList.remove("active"),clearTimeout(this.navItemTimer[n])}e.classList.add("active"),this.navItemTimer[t]=setTimeout(function(){e.classList.remove("active")},1e3)},complete:function(){this.$emit("change",this.myValue),this.hide()},scrollSuc:function(t){this.scroller=t},scrollTo:function(t){var e=Math.abs(this.scroller.maxScrollY),n=Math.abs(t);n>e?this.scroller.scrollTo(0,0-e):this.scroller.scrollTo(0,0-n)},refreshScroll:function(){var t=this;this.scroller&&this.$nextTick(function(){t.scroller.refresh()})},showToast:function(t,e,n){this.toast||(this.toast=this.$createToast()),this.toast.show(t,e,n)}},created:function(){var t=this,e=navigator.userAgent;(e.indexOf("Android")>-1||e.indexOf("Adr")>-1)&&window.addEventListener("resize",function(){if(0!==t.pickerContentHeight){var e=document.body.clientHeight;t.docmHeight>e?t.$refs.boxWrapper.style.height=t.pickerContentHeight+e-t.docmHeight+"px":(t.$refs.boxWrapper.style.height=t.pickerContentHeight+"px",t.refreshScroll())}}),this.scrollInit=!0},mounted:function(){this.inputDebounce=s(this.search,300),this.moveThrottle=i(this.onTouchMoveLetter,20),this.calcHeight()},watch:{isVisible:function(t){var e=this;t&&(this.reset(),this.init(),this.calcHeight(),this.calcNavListHeight(),this.pickerContentHeight||this.$nextTick(function(){e.pickerContentHeight=Object(p.outerHeight)(e.$refs.boxWrapper)}))},searchText:function(t){t?this.inputDebounce(t):this.searchOptions=[]},isInSearch:function(){this.calcHeight(),this.refreshScroll()}}}},101:function(t,e,n){n(47),n(44),t.exports=n(102)},102:function(t,e,n){var s=n(4),i=n(53);t.exports=n(2).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return s(e.call(t))}},104:function(t,e){t.exports=u},11:function(t,e){t.exports={}},12:function(t,e,n){var s=n(30),i=n(16);t.exports=function(t){return s(i(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,s=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?s:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var s=n(20);t.exports=function(t,e,n){if(s(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,s){return t.call(e,n,s)};case 3:return function(n,s,i){return t.call(e,n,s,i)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var s=n(27)("keys"),i=n(24);t.exports=function(t){return s[t]||(s[t]=i(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},2e3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n(21),i=n.n(s),r=n(2001);r.a.install=function(t){t.component(r.a.name,r.a),t.prototype.$createGoldAddressSelect=i()(r.a,t)},e.default=r.a},2001:function(t,e,n){"use strict";var s=n(1002),i=n(2007),r=n(7),o=Object(r.a)(s.a,i.a,i.b,!1,null,null,null);o.options.__file="src\\components\\GoldAddressSelect\\src\\index.vue",e.a=o.exports},2002:function(t,e,n){"use strict";function s(t){c||n(2003)}var i=n(1003),r=n(2004),o=n(7),c=!1,a=s,u=Object(o.a)(i.a,r.a,r.b,!1,a,"data-v-bee2fd16",null);u.options.__file="src\\components\\GoldAddressSelect\\src\\addressSelectLayer.vue",e.a=u.exports},2003:function(t,e){},2004:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return i});var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("act-gold-layer",{attrs:{visible:t.isVisible,center:!1,title:t.title},on:{close:t.close}},[s("span",{staticClass:"header_left",attrs:{slot:"headerLeft"},on:{click:t.hide},slot:"headerLeft"}),t._v(" "),s("span",{staticClass:"header_right",style:{color:t.brandColor},attrs:{slot:"headerRight"},on:{click:t.complete},slot:"headerRight"},[t._v("完成")]),t._v(" "),s("div",{ref:"boxWrapper",staticClass:"address_body"},[s("div",{ref:"searchHeader",staticClass:"search_header",class:{inSearch:t.isInSearch}},[s("div",{staticClass:"search_box_warp"},[s("div",{staticClass:"search_box"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.searchText,expression:"searchText"}],class:{search_input:!0,insearch:t.isInSearch},attrs:{placeholder:t.inputPlaceHolder},domProps:{value:t.searchText},on:{click:t.inputClick,input:function(e){e.target.composing||(t.searchText=e.target.value)}}}),t._v(" "),t.isInSearch?t._e():s("img",{staticClass:"search_icon",attrs:{src:n(2005)}}),t._v(" "),t.isInSearch&&t.searchText?s("img",{staticClass:"search_reset",attrs:{src:n(245)},on:{click:t.searchReset}}):t._e()]),t._v(" "),t.isInSearch?s("span",{staticClass:"search_cancel",on:{click:t.cancelSearch}},[t._v("取消")]):t._e()]),t._v(" "),t.myValue.length&&!t.isInSearch?s("div",{staticClass:"result"},[s("div",{staticClass:"result_header"},[s("img",{attrs:{src:n(2006)}}),t._v(" "),s("span",[t._v("我的目的地")])]),t._v(" "),s("div",{staticClass:"result_body"},t._l(t.myValue,function(e,n){return s("div",{key:n,staticClass:"result_item"},[s("span",[t._v("\n "+t._s(e.text)+"\n ")]),t._v(" "),s("i",{on:{click:function(e){return t.deleteValue(n)}}})])}),0)]):t._e()]),t._v(" "),s("div",{ref:"noSearchBody",class:{nosearch_body:!t.isInSearch,search_body:t.isInSearch}},[t.scrollInit?s("scroll",{attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},[s("div",{directives:[{name:"show",rawName:"v-show",value:!t.isInSearch,expression:"!isInSearch"}],staticClass:"nosearch_body_wrap"},t._l(t.options,function(e,n){return s("div",{key:n,ref:"navGroup",refInFor:!0,staticClass:"nosearch_item"},[s("div",{staticClass:"letter"},[t._v("\n "+t._s(e.initial)+"\n ")]),t._v(" "),s("div",{staticClass:"letter_options"},t._l(e.options,function(e,n){return s("div",{key:n,staticClass:"letter_option",on:{click:function(n){return t.select(e)}}},[s("span",[t._v("\n "+t._s(e.text)+"\n ")])])}),0)])}),0),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isInSearch,expression:"isInSearch"}],staticClass:"search_body_wrap"},t._l(t.searchOptions,function(e,n){return s("div",{key:n,staticClass:"search_item",on:{click:function(n){return t.select(e)}}},[s("span",[t._v("\n "+t._s(e.text)+"\n ")])])}),0)]):t._e()],1),t._v(" "),s("ul",{directives:[{name:"show",rawName:"v-show",value:!t.isInSearch,expression:"!isInSearch"}],staticClass:"nav",on:{touchmove:function(e){return e.preventDefault(),t.moveThrottle.apply(null,arguments)}}},[t._l(t.options,function(e,n){return[s("li",{key:n,ref:"navItem",refInFor:!0,staticClass:"nav_item",attrs:{"data-index":n},on:{touchstart:function(e){return e.preventDefault(),t.onTouchStartLetter(n)}}},[s("div",{staticClass:"nav_item_box",attrs:{"data-index":n}},[t._v("\n "+t._s(e.initial)+"\n ")]),t._v(" "),s("div",{ref:"navBubble",refInFor:!0,staticClass:"bubble"},[s("div",{staticClass:"letter"},[t._v("\n "+t._s(e.initial)+"\n ")])])])]})],2)])])},i=[];s._withStripped=!0},2005:function(t,e){t.exports=f},2006:function(t,e){t.exports=h},2007:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return i});var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("act-gold-base-element",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{common:t.common,hasArrow:!0},on:{showTips:t.showTips}},[n("p",{staticClass:"element-select element-wrap",class:{"element-placeholder":!t.descText},style:{"font-size":t.size,color:t.color},attrs:{"data-key":[t.isWebTester?t.elemKey:""]},on:{mucChange:function(e){return t.mucChange(e)},click:function(e){return e.stopPropagation(),t.click.apply(null,arguments)}}},[t._v("\n "+t._s(t.descText||t.placeholder||"请选择")+"\n ")]),t._v(" "),n("i",{staticClass:"icon-arrow"},[n("svg-icon",{attrs:{iconClass:"gold-arrow-right"}})],1)]),t._v(" "),n("addresSelectLayer",{ref:"bankSelect",attrs:{options:t.sortOptions,value:t.value||[],multiNumber:t.multiNumber},on:{change:t.changeValue}})],1)},i=[];s._withStripped=!0},21:function(e,n){e.exports=t},22:function(t,e,n){var s=n(6),i=n(0).document,r=s(i)&&s(i.createElement);t.exports=function(t){return r?i.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,s=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+s).toString(36))}},245:function(t,e){t.exports=l},25:function(t,e,n){var s=n(9).f,i=n(8),r=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,r)&&s(t,r,{configurable:!0,value:e})}},26:function(t,e,n){var s=n(37),i=n(28);t.exports=Object.keys||function(t){return s(t,i)}},27:function(t,e,n){var s=n(2),i=n(0),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:s.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var s=n(16);t.exports=function(t){return Object(s(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var s=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==s(t)?t.split(""):Object(t)}},31:function(t,e,n){var s=n(15),i=Math.min;t.exports=function(t){return t>0?i(s(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var s=n(18),i=n(10),r=n(46),o=n(5),c=n(11),a=n(50),u=n(25),l=n(52),f=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,v,d,m,y){a(n,e,v);var x,g,_,b=function(t){if(!h&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",j="values"==d,T=!1,C=t.prototype,w=C[f]||C["@@iterator"]||d&&C[d],L=w||b(d),O=d?j?b("entries"):L:void 0,k="Array"==e?C.entries||w:w;if(k&&(_=l(k.call(new t)))!==Object.prototype&&_.next&&(u(_,S,!0),s||"function"==typeof _[f]||o(_,f,p)),j&&w&&"values"!==w.name&&(T=!0,L=function(){return w.call(this)}),s&&!y||!h&&!T&&C[f]||o(C,f,L),c[e]=L,c[S]=p,d)if(x={values:j?L:b("values"),keys:m?L:b("keys"),entries:O},y)for(g in x)g in C||r(C,g,x[g]);else i(i.P+i.F*(h||T),e,x);return x}},34:function(t,e,n){var s=n(6);t.exports=function(t,e){if(!s(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!s(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!s(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!s(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){t.exports=n},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var s=n(8),i=n(12),r=n(40)(!1),o=n(19)("IE_PROTO");t.exports=function(t,e){var n,c=i(t),a=0,u=[];for(n in c)n!=o&&s(c,n)&&u.push(n);for(;e.length>a;)s(c,n=e[a++])&&(~r(u,n)||u.push(n));return u}},38:function(t,e,n){var s=n(0).document;t.exports=s&&s.documentElement},4:function(t,e,n){var s=n(6);t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var s=n(12),i=n(31),r=n(41);t.exports=function(t){return function(e,n,o){var c,a=s(e),u=i(a.length),l=r(o,u);if(t&&n!=n){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}}},41:function(t,e,n){var s=n(15),i=Math.max,r=Math.min;t.exports=function(t,e){return t=s(t),t<0?i(t+e,0):r(t,e)}},42:function(t,e,n){var s=n(14),i=n(1)("toStringTag"),r="Arguments"==s(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),i))?n:r?s(e):"Object"==(c=s(e))&&"function"==typeof e.callee?"Arguments":c}},44:function(t,e,n){"use strict";var s=n(49)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=s(e,n),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,n){var s=n(4),i=n(51),r=n(28),o=n(19)("IE_PROTO"),c=function(){},a=function(){var t,e=n(22)("iframe"),s=r.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;s--;)delete a.prototype[r[s]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=s(t),n=new c,c.prototype=null,n[o]=t):n=a(),void 0===e?n:i(n,e)}},46:function(t,e,n){t.exports=n(5)},47:function(t,e,n){n(59);for(var s=n(0),i=n(5),r=n(11),o=n(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<c.length;a++){var u=c[a],l=s[u],f=l&&l.prototype;f&&!f[o]&&i(f,o,u),r[u]=r.Array}},49:function(t,e,n){var s=n(15),i=n(16);t.exports=function(t){return function(e,n){var r,o,c=String(i(e)),a=s(n),u=c.length;return a<0||a>=u?t?"":void 0:(r=c.charCodeAt(a),r<55296||r>56319||a+1===u||(o=c.charCodeAt(a+1))<56320||o>57343?t?c.charAt(a):r:t?c.slice(a,a+2):o-56320+(r-55296<<10)+65536)}}},5:function(t,e,n){var s=n(9),i=n(23);t.exports=n(3)?function(t,e,n){return s.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){"use strict";var s=n(45),i=n(23),r=n(25),o={};n(5)(o,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=s(o,{next:i(1,n)}),r(t,e+" Iterator")}},51:function(t,e,n){var s=n(9),i=n(4),r=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,o=r(e),c=o.length,a=0;c>a;)s.f(t,n=o[a++],e[n]);return t}},52:function(t,e,n){var s=n(8),i=n(29),r=n(19)("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),s(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},53:function(t,e,n){var s=n(42),i=n(1)("iterator"),r=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||r[s(t)]}},54:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var s=n(60),i=n(54),r=n(11),o=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),r.Arguments=r.Array,s("keys"),s("values"),s("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},7:function(t,e,n){"use strict";function s(t,e,n,s,i,r,o,c){t=t||{};var a=typeof t.default;"object"!==a&&"function"!==a||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),s&&(u.functional=!0),r&&(u._scopeId=r);var l;if(o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}e.a=s},70:function(t,e){t.exports=s},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},88:function(t,e){t.exports=i},89:function(t,e){t.exports=r},9:function(t,e,n){var s=n(4),i=n(36),r=n(34),o=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(s(t),e=r(e,!0),s(n),i)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},91:function(t,e){t.exports=o},92:function(t,e){t.exports=c},93:function(t,e){t.exports=a},97:function(t,e,n){t.exports={default:n(101),__esModule:!0}}})});
|