@xysfe/actui 1.3.55-beta.4 → 1.3.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/BankSelect/index.js +1 -1
- package/lib/BaseInput/index.js +1 -1
- package/lib/Button/index.js +1 -1
- package/lib/CascadePicker/index.js +1 -1
- package/lib/CertifyLayer/index.js +1 -1
- package/lib/Collapse/index.js +1 -1
- package/lib/Contact/index.js +1 -1
- package/lib/CountTo/index.js +1 -1
- package/lib/CouponLayer/index.js +1 -1
- package/lib/DatePicker/index.js +1 -1
- package/lib/Dialog/index.js +1 -1
- package/lib/DiseaseSelect/index.js +1 -1
- package/lib/DiseaseSelectLayer/index.js +1 -1
- package/lib/DocPop/index.js +1 -1
- package/lib/ErrorInterceptors/index.js +1 -1
- package/lib/FaceRecognition/index.js +1 -1
- package/lib/FileList/index.js +1 -1
- package/lib/FileUpload/index.js +1 -1
- package/lib/FormLayer/index.js +1 -1
- package/lib/GivenLayer/index.js +1 -1
- package/lib/GoldAml/index.js +1 -1
- package/lib/GoldArea/index.js +1 -1
- package/lib/GoldBenefitDemo/index.js +1 -1
- package/lib/GoldCareer/index.js +1 -1
- package/lib/GoldCompute/index.js +1 -1
- package/lib/GoldCompute/style.css +1 -1
- package/lib/GoldConclusion/index.js +1 -1
- package/lib/GoldContact/index.js +1 -1
- package/lib/GoldContactElement/index.js +1 -1
- package/lib/GoldCost/index.js +1 -1
- package/lib/GoldCostLayer/index.js +1 -1
- package/lib/GoldCoupon/index.js +1 -1
- package/lib/GoldDate/index.js +1 -1
- package/lib/GoldDialog/index.js +1 -1
- package/lib/GoldDisease/index.js +1 -1
- package/lib/GoldDocLayer/index.js +1 -1
- package/lib/GoldElement/index.js +1 -1
- package/lib/GoldElementGroup/index.js +1 -1
- package/lib/GoldFaq/index.js +1 -1
- package/lib/GoldFile/index.js +1 -1
- package/lib/GoldFileAssess/index.js +1 -1
- package/lib/GoldFinance/index.js +1 -1
- package/lib/GoldIndexBar/index.js +1 -1
- package/lib/GoldInput/index.js +1 -1
- package/lib/GoldInsureDuty/index.js +1 -1
- package/lib/GoldInsureNotice/index.js +1 -1
- package/lib/GoldItem/index.js +1 -1
- package/lib/GoldLattice/index.js +1 -1
- package/lib/GoldLayer/index.js +1 -1
- package/lib/GoldMailPrecheck/index.js +1 -1
- package/lib/GoldMailPrecheck/style.css +1 -1
- package/lib/GoldMobileLayer/index.js +1 -1
- package/lib/GoldModule/index.js +1 -1
- package/lib/GoldModule/style.css +1 -1
- package/lib/GoldNoticeTerms/index.js +1 -1
- package/lib/GoldOcr/index.js +1 -1
- package/lib/GoldPhoto/index.js +1 -1
- package/lib/GoldProtocol/index.js +1 -1
- package/lib/GoldPureText/index.js +1 -1
- package/lib/GoldQrcode/index.js +1 -1
- package/lib/GoldReadTerms/index.js +1 -1
- package/lib/GoldSelect/index.js +1 -1
- package/lib/GoldSignature/index.js +1 -1
- package/lib/GoldStepper/index.js +1 -1
- package/lib/GoldSwitch/index.js +1 -1
- package/lib/GoldText/index.js +1 -1
- package/lib/GoldTextarea/index.js +1 -1
- package/lib/GoldUniversal/index.js +1 -1
- package/lib/GoldVerifyCode/index.js +1 -1
- package/lib/ImageLayer/index.js +1 -1
- package/lib/ImagePreview/index.js +1 -1
- package/lib/IndexBar/index.js +1 -1
- package/lib/IndexList/index.js +1 -1
- package/lib/Jigsaw/index.js +1 -1
- package/lib/JigsawLayer/index.js +1 -1
- package/lib/JigsawVerifyCode/index.js +1 -1
- package/lib/Keyframe/index.js +1 -1
- package/lib/Loading/index.js +1 -1
- package/lib/Login/index.js +1 -1
- package/lib/LoginLayer/index.js +1 -1
- package/lib/Marketing/index.js +1 -1
- package/lib/Marketing/style.css +1 -1
- package/lib/MobileLayer/index.js +1 -1
- package/lib/MultiSelect/index.js +1 -1
- package/lib/NoticeTips/index.js +1 -1
- package/lib/OcrLayer/index.js +1 -1
- package/lib/PageLoading/index.js +1 -1
- package/lib/Panel/index.js +1 -1
- package/lib/PhotoBox/index.js +1 -1
- package/lib/Picker/index.js +1 -1
- package/lib/PosterLayer/index.js +1 -1
- package/lib/PrizeLayer/index.js +1 -1
- package/lib/QRCode/index.js +1 -1
- package/lib/QrcodeLayer/index.js +1 -1
- package/lib/Recognition/index.js +1 -1
- package/lib/Recognition/style.css +1 -1
- package/lib/ResourcePreload/index.js +1 -1
- package/lib/RowCascadePicker/index.js +1 -1
- package/lib/Rule/index.js +1 -1
- package/lib/Signature/index.js +1 -1
- package/lib/Stepper/index.js +1 -1
- package/lib/Sticky/index.js +1 -1
- package/lib/Style/index.js +1 -1
- package/lib/Swipe/index.js +1 -1
- package/lib/Switch/index.js +1 -1
- package/lib/Tab/index.js +1 -1
- package/lib/Timeline/index.js +1 -1
- package/lib/Toast/index.js +1 -1
- package/lib/Validator/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/lib/toBase64/index.js +1 -1
- package/package.json +1 -1
- package/lib/ContactBook/index.js +0 -1
- package/lib/ContactBook/style.css +0 -1
- package/lib/GoldContactBook/index.js +0 -1
- package/lib/GoldContactBook/style.css +0 -1
package/lib/Signature/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Signature=n():t.Signature=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="../lib",n(n.s=1406)}({0:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},1:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},10:function(t,n,e){var r=e(46),o=e(28);t.exports=function(t){return r(o(t))}},100:function(t,n,e){var r=e(24),o=e(2)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=s(n=Object(t),o))?e:i?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},102:function(t,n,e){var r=e(8),o=e(38),i=e(2)("species");t.exports=function(t,n){var e,s=r(t).constructor;return void 0===s||void 0==(e=r(s)[i])?n:o(e)}},103:function(t,n,e){var r,o,i,s=e(37),a=e(130),c=e(56),u=e(39),f=e(1),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,y=0,g={},m=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},x=function(t){m.call(t.data)};p&&h||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return g[++y]=function(){a("function"==typeof t?t:Function(t),n)},r(y),y},h=function(t){delete g[t]},"process"==e(24)(l)?r=function(t){l.nextTick(s(m,t,1))}:d&&d.now?r=function(t){d.now(s(m,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=x,r=s(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 u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),t.exports={set:p,clear:h}},104:function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},105:function(t,n,e){var r=e(8),o=e(9),i=e(62);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},1055:function(t,n,e){"use strict";var r=e(59),o=e.n(r);n.a={name:"ActSignature",props:{color:{type:String,default:"#8c7fee"},clearBtnText:{type:String,default:"重置"},saveBtnText:{type:String,default:"保存"},headerText:{type:String,default:"请完成您的亲笔签名"}},data:function(){return{isVisible:!1,showErrtips:!1,lineWidth:3,lineColor:"#000000",bgColor:"#ffffff",isCrop:!1,hasDrew:!1,width:0,height:0,resultImg:"",points:{x:[],y:[]},canvasTxt:null,startX:0,startY:0,isDrawing:!1,sratio:1}},computed:{ratio:function(){return this.height/this.width},stageInfo:function(){return this.$refs.canvas.getBoundingClientRect()},myBg:function(){return this.bgColor?this.bgColor:"rgba(255, 255, 255, 0)"}},watch:{myBg:function(t){this.$refs.canvas.style.background=t},isVisible:function(t){var n=this;t&&setTimeout(function(){var t=n.$refs.canvas;n.height=n.$refs.box.offsetHeight,n.width=n.$refs.box.offsetWidth,t.height=n.height,t.width=n.width,t.style.background=n.myBg,n._resizeHandler()})}},mounted:function(){var t=this;document.onmouseup=function(){t.isDrawing=!1}},methods:{show:function(){this.isVisible=!0},hide:function(){this.reset(),this.isVisible=!1},_resizeHandler:function(){var t=this.$refs.canvas;t.style.width=this.width+"px";var n=parseFloat(window.getComputedStyle(t).width);t.style.height=this.ratio*n+"px",this.canvasTxt=t.getContext("2d"),this.canvasTxt.scale(1*this.sratio,1*this.sratio),this.sratio=n/this.width,this.canvasTxt.scale(1/this.sratio,1/this.sratio)},mouseDown:function(t){t=t||event,t.preventDefault(),this.isDrawing=!0,this.hasDrew=!0;var n={x:t.offsetX,y:t.offsetY};this.drawStart(n)},mouseMove:function(t){if(t=t||event,t.preventDefault(),this.isDrawing){var n={x:t.offsetX,y:t.offsetY};this.drawMove(n)}},mouseUp:function(t){t=t||event,t.preventDefault();var n={x:t.offsetX,y:t.offsetY};this.drawEnd(n),this.isDrawing=!1},touchStart:function(t){if(t=t||event,t.preventDefault(),this.hasDrew=!0,1===t.touches.length){var n={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawStart(n)}},touchMove:function(t){if(t=t||event,t.preventDefault(),1===t.touches.length){var n={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawMove(n)}},touchEnd:function(t){if(t=t||event,t.preventDefault(),1===t.touches.length){var n={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawEnd(n)}},drawStart:function(t){this.startX=t.x,this.startY=t.y,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.lineWidth=this.lineWidth*this.sratio,this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.x.push(t.x),this.points.y.push(t.y)},drawMove:function(t){this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.strokeStyle=this.lineColor,this.canvasTxt.lineWidth=this.lineWidth*this.sratio,this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.startY=t.y,this.startX=t.x,this.points.x.push(t.x),this.points.y.push(t.y)},drawEnd:function(t){this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.x.push(t.x),this.points.y.push(t.y),this.points.x.push(-1),this.points.y.push(-1)},generate:function(){var t=this;return new o.a(function(n,e){var r=t.getMax(t.points.x,t.points.y);if(!t.hasDrew)return void e("Warning: Not Signned!");if(t.points.x.length<40||Math.abs(r.left-r.right)<40||Math.abs(r.top-r.bottom)<40)return void e("Warning: Not Signned!");var o=t.canvasTxt.getImageData(0,0,t.$refs.canvas.width,t.$refs.canvas.height);t.canvasTxt.globalCompositeOperation="destination-over",t.canvasTxt.fillStyle=t.myBg,t.canvasTxt.fillRect(0,0,t.$refs.canvas.width,t.$refs.canvas.height),t.resultImg=t.$refs.canvas.toDataURL();var i=t.resultImg;if(t.canvasTxt.clearRect(0,0,t.$refs.canvas.width,t.$refs.canvas.height),t.canvasTxt.putImageData(o,0,0),t.canvasTxt.globalCompositeOperation="source-over",t.isCrop){var s,a=t.getCropArea(o.data),c=document.createElement("canvas"),u=c.getContext("2d");c.width=a[2]-a[0],c.height=a[3]-a[1];var f=(s=t.canvasTxt).getImageData.apply(s,a);u.globalCompositeOperation="destination-over",u.putImageData(f,0,0),u.fillStyle=t.myBg,u.fillRect(0,0,c.width,c.height),i=c.toDataURL(),c=null}n(i)})},reset:function(){this.canvasTxt.clearRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),this.$emit("update:bgColor",""),this.$refs.canvas.style.background=this.myBg,this.points={x:[],y:[]},this.hasDrew=!1,this.resultImg=""},getCropArea:function(t){for(var n=this.$refs.canvas.width,e=0,r=this.$refs.canvas.height,o=0,i=0;i<this.$refs.canvas.width;i++)for(var s=0;s<this.$refs.canvas.height;s++){var a=4*(i+this.$refs.canvas.width*s);(t[a]>0||t[a+1]>0||t[a+2]||t[a+3]>0)&&(o=Math.max(s,o),e=Math.max(i,e),r=Math.min(s,r),n=Math.min(i,n))}return n++,e++,r++,o++,[n,r,e,o]},getMax:function(t,n){var e={left:0,right:0,top:0,bottom:0};return"[object Array]"!=={}.toString.call(t)||"[object Array]"!=={}.toString.call(n)?e:(e.left=Math.min.apply(null,t),e.right=Math.max.apply(null,t),e.top=Math.min.apply(null,n),e.bottom=Math.max.apply(null,n),e)},save:function(){var t=this;this.generate().then(function(n){t.$emit("complete",n),t.hide()}).catch(function(n){console.log(n),t.showErrtips=!0,setTimeout(function(){t.showErrtips=!1},2e3)})}}}},106:function(t,n,e){var r=e(100),o=e(2)("iterator"),i=e(17);t.exports=e(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},11:function(t,n,e){"use strict";function r(t,n){if(t.findIndex)return t.findIndex(n);var e=-1;return t.some(function(t,r,o){var i=n.call(this,t,r,o);if(i)return e=r,i}),e}function o(t){return t?JSON.parse(D()(t)):t}function i(t,n){for(var e in n)t[e]&&"object"===k()(t[e])?i(t[e],n[e]):t[e]=n[e]}function s(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return"[object Number]"===Object.prototype.toString.call(t)}function u(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function l(t){return null===t}function p(t){return void 0!==t&&null!==t}function h(t){return void 0===t}function v(t){return"[object Error]"===Object.prototype.toString.call(t)}function d(t){return"function"==typeof t}function y(t,n,e){function r(n){var e=y,r=g;return y=g=void 0,_=n,x=t.apply(r,e)}function o(t,n){return T?(window.cancelAnimationFrame(b),window.requestAnimationFrame(t)):setTimeout(t,n)}function i(t){if(T)return window.cancelAnimationFrame(t);clearTimeout(t)}function s(t){return _=t,b=o(f,n),S?r(t):x}function a(t){var e=t-w,r=t-_,o=n-e;return O?Math.min(o,m-r):o}function c(t){var e=t-w,r=t-_;return void 0===w||e>=n||e<0||O&&r>=m}function f(){var t=Date.now();if(c(t))return l(t);b=o(f,a(t))}function l(t){return b=void 0,j&&y?r(t):(y=g=void 0,x)}function p(){void 0!==b&&i(b),_=0,y=w=g=b=void 0}function h(){return void 0===b?x:l(Date.now())}function v(){return void 0!==b}function d(){for(var t=Date.now(),e=c(t),i=arguments.length,a=Array(i),u=0;u<i;u++)a[u]=arguments[u];if(y=a,g=this,w=t,e){if(void 0===b)return s(w);if(O)return b=o(f,n),r(w)}return void 0===b&&(b=o(f,n)),x}var y=void 0,g=void 0,m=void 0,x=void 0,b=void 0,w=void 0,_=0,S=!1,O=!1,j=!0,T=!n&&0!==n&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return n=+n||0,u(e)&&(S=!!e.leading,O="maxWait"in e,m=O?Math.max(+e.maxWait||0,n):m,j="trailing"in e?!!e.trailing:j),d.cancel=p,d.flush=h,d.pending=v,d}function g(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return u(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),y(t,n,{leading:r,trailing:o,maxWait:n})}function m(t){return!!/^1\d{10}$/.test(t)}function x(t){var n=t.length;return n>3&&n<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):n>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,n,e){return n+" "+e.replace(/(.{4})(?=.)/g,"$1 ")})),t}function b(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function w(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function _(t){if(!t)return"";var n=t.length;return 2===n?t.split("").join("  "):3===n?t.split("").join(" "):t}function S(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.offsetHeight;if(n){var r=t.currentStyle||getComputedStyle(t);e+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return e}function O(t,n){var e=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),o=null;return e?o={r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16)}:r&&(o={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),o?void 0!==n?"rgba("+o.r+", "+o.g+", "+o.b+", "+n+")":"rgb("+o.r+", "+o.g+", "+o.b+")":""}function j(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",e=n.length,r="";t=t||32;for(var o=0;o<t;o++)r+=n.charAt(Math.floor(Math.random()*e));return r}function T(t,n){var e=n||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),o=e.match(r);return o&&o[2]}function C(t){var n=window.getComputedStyle(t),e="none"===n.display,r=null===t.offsetParent&&"fixed"!==n.position;return e||r}function P(t,n,e){return Math.min(Math.max(t,n),e)}function M(t){var n=/os (\d\d?_\d(_\d)?)/,e=n.exec(t);if(!e)return null;var r=e[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function E(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n=n||window.location.href;var e=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=n.match(e);return decodeURIComponent(r?r[2]:"")}function A(t){return t?v(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}e.d(n,"E",function(){return K}),e.d(n,"u",function(){return Q}),n.d=r,n.c=o,n.b=i,n.n=s,n.y=a,n.w=c,n.x=u,n.o=f,n.v=l,n.p=p,n.z=h,n.q=v,n.r=d,n.a=y,n.D=g,n.t=m,n.g=x,n.e=b,n.f=w,n.h=_,n.A=S,n.m=O,n.B=j,n.k=T,n.s=C,n.C=P,n.j=M,n.l=E,n.i=A;var $=e(74),k=e.n($),I=e(54),D=e.n(I),L="undefined"!=typeof window,R=L&&window.navigator.userAgent.toLowerCase(),B=R&&/msie|trident/.test(R),N=R&&R.indexOf("msie 9.0")>0,F=R&&R.indexOf("edge/")>0,W=R&&R.indexOf("android")>0,U=R&&/iphone|ipad|ipod|ios/.test(R),V=R&&/chrome\/\d+/.test(R)&&!F,X=R&&/MicroMessenger/i.test(R),Y=R&&/wxwork/i.test(R),J=R&&/mucxiaoyusan/i.test(R),G=R&&/muckacabao/i.test(R),H=R&&/mucyanxuan/i.test(R),z=J||G,q=R&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(R),K={isIE:B,isMobile:q,isIE9:N,isEdge:F,isAndroid:W,isIOS:U,isChrome:V,isWx:X,isWxWork:Y,isApp:z,isXysApp:J,isKcbApp:G,isYxApp:H},Q=/MucWebAutoTester/.test(window.navigator.userAgent)},12:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},121:function(t,n,e){var r=e(8);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},122:function(t,n,e){var r=e(17),o=e(2)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},123:function(t,n,e){var r=e(2)("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,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:e=!0}},i[r]=function(){return s},t(i)}catch(t){}return e}},126:function(t,n,e){e(57),e(50),e(51),e(127),e(135),e(136),t.exports=e(0).Promise},127:function(t,n,e){"use strict";var r,o,i,s,a=e(15),c=e(1),u=e(37),f=e(100),l=e(13),p=e(9),h=e(38),v=e(128),d=e(129),y=e(102),g=e(103).set,m=e(131)(),x=e(62),b=e(104),w=e(132),_=e(105),S=c.TypeError,O=c.process,j=O&&O.versions,T=j&&j.v8||"",C=c.Promise,P="process"==f(O),M=function(){},E=o=x.f,A=!!function(){try{var t=C.resolve(1),n=(t.constructor={})[e(2)("species")]=function(t){t(M,M)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof n&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),$=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},k=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,o=1==t._s,i=0;e.length>i;)!function(n){var e,i,s,a=o?n.ok:n.fail,c=n.resolve,u=n.reject,f=n.domain;try{a?(o||(2==t._h&&L(t),t._h=1),!0===a?e=r:(f&&f.enter(),e=a(r),f&&(f.exit(),s=!0)),e===n.promise?u(S("Promise-chain cycle")):(i=$(e))?i.call(e,c,u):c(e)):u(r)}catch(t){f&&!s&&f.exit(),u(t)}}(e[i++]);t._c=[],t._n=!1,n&&!t._h&&I(t)})}},I=function(t){g.call(c,function(){var n,e,r,o=t._v,i=D(t);if(i&&(n=b(function(){P?O.emit("unhandledRejection",o,t):(e=c.onunhandledrejection)?e({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||D(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){g.call(c,function(){var n;P?O.emit("rejectionHandled",t):(n=c.onrejectionhandled)&&n({promise:t,reason:t._v})})},R=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),k(n,!0))},B=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw S("Promise can't be resolved itself");(n=$(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,u(B,r,1),u(R,r,1))}catch(t){R.call(r,t)}}):(e._v=t,e._s=1,k(e,!1))}catch(t){R.call({_w:e,_d:!1},t)}}};A||(C=function(t){v(this,C,"Promise","_h"),h(t),r.call(this);try{t(u(B,this,1),u(R,this,1))}catch(t){R.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=e(133)(C.prototype,{then:function(t,n){var e=E(y(this,C));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=P?O.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&k(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(B,t,1),this.reject=u(R,t,1)},x.f=E=function(t){return t===C||t===s?new i(t):o(t)}),l(l.G+l.W+l.F*!A,{Promise:C}),e(25)(C,"Promise"),e(134)("Promise"),s=e(0).Promise,l(l.S+l.F*!A,"Promise",{reject:function(t){var n=E(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(a||!A),"Promise",{resolve:function(t){return _(a&&this===s?C:this,t)}}),l(l.S+l.F*!(A&&e(123)(function(t){C.all(t).catch(M)})),"Promise",{all:function(t){var n=this,e=E(n),r=e.resolve,o=e.reject,i=b(function(){var e=[],i=0,s=1;d(t,!1,function(t){var a=i++,c=!1;e.push(void 0),s++,n.resolve(t).then(function(t){c||(c=!0,e[a]=t,--s||r(e))},o)}),--s||r(e)});return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=E(n),r=e.reject,o=b(function(){d(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o.e&&r(o.v),e.promise}})},128:function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},129:function(t,n,e){var r=e(37),o=e(121),i=e(122),s=e(8),a=e(55),c=e(106),u={},f={},n=t.exports=function(t,n,e,l,p){var h,v,d,y,g=p?function(){return t}:c(t),m=r(e,l,n?2:1),x=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=a(t.length);h>x;x++)if((y=n?m(s(v=t[x])[0],v[1]):m(t[x]))===u||y===f)return y}else for(d=g.call(t);!(v=d.next()).done;)if((y=o(d,m,v.value,n))===u||y===f)return y};n.BREAK=u,n.RETURN=f},13:function(t,n,e){var r=e(1),o=e(0),i=e(37),s=e(6),a=e(5),c=function(t,n,e){var u,f,l,p=t&c.F,h=t&c.G,v=t&c.S,d=t&c.P,y=t&c.B,g=t&c.W,m=h?o:o[n]||(o[n]={}),x=m.prototype,b=h?r:v?r[n]:(r[n]||{}).prototype;h&&(e=n);for(u in e)(f=!p&&b&&void 0!==b[u])&&a(m,u)||(l=f?b[u]:e[u],m[u]=h&&"function"!=typeof b[u]?e[u]:y&&f?i(l,r):g&&b[u]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):d&&"function"==typeof l?i(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[u]=l,t&c.R&&x&&!x[u]&&s(x,u,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},130:function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},131:function(t,n,e){var r=e(1),o=e(103).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==e(24)(s);t.exports=function(){var t,n,e,u=function(){var r,o;for(c&&(r=s.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(c)e=function(){s.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);e=function(){f.then(u)}}else e=function(){o.call(r,u)};else{var l=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},132:function(t,n,e){var r=e(1),o=r.navigator;t.exports=o&&o.userAgent||""},133:function(t,n,e){var r=e(6);t.exports=function(t,n,e){for(var o in n)e&&t[o]?t[o]=n[o]:r(t,o,n[o]);return t}},134:function(t,n,e){"use strict";var r=e(1),o=e(0),i=e(7),s=e(4),a=e(2)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:r[t];s&&n&&!n[a]&&i.f(n,a,{configurable:!0,get:function(){return this}})}},135:function(t,n,e){"use strict";var r=e(13),o=e(0),i=e(1),s=e(102),a=e(105);r(r.P+r.R,"Promise",{finally:function(t){var n=s(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return a(n,t()).then(function(){return e})}:t,e?function(e){return a(n,t()).then(function(){throw e})}:t)}})},136:function(t,n,e){"use strict";var r=e(13),o=e(62),i=e(104);r(r.S,"Promise",{try:function(t){var n=o.f(this),e=i(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},14:function(t,n,e){var r=e(45),o=e(31);t.exports=Object.keys||function(t){return r(t,o)}},1406:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(26),o=e(1407);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createSignature=Object(r.a)(o.a,t)},n.default=o.a},1407:function(t,n,e){"use strict";function r(t){a||e(1408)}var o=e(1055),i=e(1409),s=e(3),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-31195bd6",null);u.options.__file="src\\components\\Signature\\src\\index.vue",n.a=u.exports},1408:function(t,n){},1409:function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return o});var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("transition",{attrs:{name:"act-gold-popup-move"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-signature-wrap",attrs:{id:"act-signature"}},[e("div",{staticClass:"act-signature-box"},[e("div",{staticClass:"header-box"},[e("div",{staticClass:"text"},[t._v("\n 请完成签名\n ")]),t._v(" "),e("div",{staticClass:"close",on:{click:t.hide}})]),t._v(" "),t.$slots.header?t._e():e("div",{staticClass:"header",domProps:{innerHTML:t._s(t.headerText)}}),t._v(" "),t.$slots.header?t._t("header"):t._e(),t._v(" "),e("div",{ref:"box",staticClass:"canvasBox"},[e("canvas",{ref:"canvas",on:{mousedown:t.mouseDown,mousemove:t.mouseMove,mouseup:t.mouseUp,touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}})]),t._v(" "),e("div",{staticClass:"ctrl"},[e("div",{staticClass:"clearBtn",attrs:{type:"button"},on:{click:t.reset}},[t._v("\n "+t._s(t.clearBtnText)+"\n ")]),t._v(" "),e("div",{staticClass:"saveBtn",style:"background: "+t.color,attrs:{type:"button"},on:{click:t.save}},[t._v("\n "+t._s(t.saveBtnText)+"\n ")])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showErrtips,expression:"showErrtips"}],staticClass:"errtips"},[t._v("\n 请仔细签名\n ")])],2)])])},o=[];r._withStripped=!0},15:function(t,n){t.exports=!0},17:function(t,n){t.exports={}},18:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},19:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},2:function(t,n,e){var r=e(30)("wks"),o=e(19),i=e(1).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},20:function(t,n,e){var r=e(28);t.exports=function(t){return Object(r(t))}},21:function(t,n){n.f={}.propertyIsEnumerable},24:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},25:function(t,n,e){var r=e(7).f,o=e(5),i=e(2)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},26:function(t,n,e){"use strict";function r(t,n){return function(e,r){var s=this,a=Object(o.a)(e),c=Object(i.a)(n,t,a,r),u=c.$parent,f=c.remove,l=c.show,p=c.hide;return c.remove=function(){c.$removed=!0,f&&f.call(this),u.destroy()},c.show=function(){return l&&l.call.apply(l,[this].concat(Array.prototype.slice.call(arguments))),this},c.hide=function(){return p&&p.call.apply(p,[this].concat(Array.prototype.slice.call(arguments))),this},s._isVue&&s.$once("hook:beforeDestroy",function(){c.$removed||c.remove()}),c}}n.a=r;var o=e(96),i=e(98)},27:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},28:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},29:function(t,n,e){var r=e(30)("keys"),o=e(19);t.exports=function(t){return r[t]||(r[t]=o(t))}},3:function(t,n,e){"use strict";function r(t,n,e,r,o,i,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;n&&(u.render=n,u.staticRenderFns=e,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var f;if(s?(f=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=f):o&&(f=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(t,n){return f.call(n),l(t,n)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:u}}n.a=r},30:function(t,n,e){var r=e(0),o=e(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(15)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},31:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},32:function(t,n,e){var r=e(9);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},33:function(t,n,e){n.f=e(2)},34:function(t,n,e){var r=e(1),o=e(0),i=e(15),s=e(33),a=e(7).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:s.f(t)})}},36:function(t,n){n.f=Object.getOwnPropertySymbols},37:function(t,n,e){var r=e(38);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},38:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},39:function(t,n,e){var r=e(9),o=e(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},4:function(t,n,e){t.exports=!e(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},40:function(t,n,e){t.exports={default:e(86),__esModule:!0}},41:function(t,n,e){"use strict";var r=e(15),o=e(13),i=e(44),s=e(6),a=e(17),c=e(65),u=e(25),f=e(69),l=e(2)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,e,v,d,y,g){c(e,n,v);var m,x,b,w=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},_=n+" Iterator",S="values"==d,O=!1,j=t.prototype,T=j[l]||j["@@iterator"]||d&&j[d],C=T||w(d),P=d?S?w("entries"):C:void 0,M="Array"==n?j.entries||T:T;if(M&&(b=f(M.call(new t)))!==Object.prototype&&b.next&&(u(b,_,!0),r||"function"==typeof b[l]||s(b,l,h)),S&&T&&"values"!==T.name&&(O=!0,C=function(){return T.call(this)}),r&&!g||!p&&!O&&j[l]||s(j,l,C),a[n]=C,a[_]=h,d)if(m={values:S?C:w("values"),keys:y?C:w("keys"),entries:P},g)for(x in m)x in j||i(j,x,m[x]);else o(o.P+o.F*(p||O),n,m);return m}},42:function(t,n,e){var r=e(8),o=e(66),i=e(31),s=e(29)("IE_PROTO"),a=function(){},c=function(){var t,n=e(39)("iframe"),r=i.length;for(n.style.display="none",e(56).appendChild(n),n.src="javascript:",t=n.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,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[s]=t):e=c(),void 0===n?e:o(e,n)}},43:function(t,n,e){t.exports=!e(4)&&!e(12)(function(){return 7!=Object.defineProperty(e(39)("div"),"a",{get:function(){return 7}}).a})},44:function(t,n,e){t.exports=e(6)},45:function(t,n,e){var r=e(5),o=e(10),i=e(67)(!1),s=e(29)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,u=[];for(e in a)e!=s&&r(a,e)&&u.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~i(u,e)||u.push(e));return u}},46:function(t,n,e){var r=e(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},47:function(t,n,e){var r=e(45),o=e(31).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},48:function(t,n,e){var r=e(10),o=e(47).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==i.call(t)?a(t):o(r(t))}},49:function(t,n,e){"use strict";var r=e(1),o=e(5),i=e(4),s=e(13),a=e(44),c=e(76).KEY,u=e(12),f=e(30),l=e(25),p=e(19),h=e(2),v=e(33),d=e(34),y=e(77),g=e(78),m=e(8),x=e(9),b=e(20),w=e(10),_=e(32),S=e(18),O=e(42),j=e(48),T=e(79),C=e(36),P=e(7),M=e(14),E=T.f,A=P.f,$=j.f,k=r.Symbol,I=r.JSON,D=I&&I.stringify,L=h("_hidden"),R=h("toPrimitive"),B={}.propertyIsEnumerable,N=f("symbol-registry"),F=f("symbols"),W=f("op-symbols"),U=Object.prototype,V="function"==typeof k&&!!C.f,X=r.QObject,Y=!X||!X.prototype||!X.prototype.findChild,J=i&&u(function(){return 7!=O(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=E(U,n);r&&delete U[n],A(t,n,e),r&&t!==U&&A(U,n,r)}:A,G=function(t){var n=F[t]=O(k.prototype);return n._k=t,n},H=V&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},z=function(t,n,e){return t===U&&z(W,n,e),m(t),n=_(n,!0),m(e),o(F,n)?(e.enumerable?(o(t,L)&&t[L][n]&&(t[L][n]=!1),e=O(e,{enumerable:S(0,!1)})):(o(t,L)||A(t,L,S(1,{})),t[L][n]=!0),J(t,n,e)):A(t,n,e)},q=function(t,n){m(t);for(var e,r=y(n=w(n)),o=0,i=r.length;i>o;)z(t,e=r[o++],n[e]);return t},K=function(t,n){return void 0===n?O(t):q(O(t),n)},Q=function(t){var n=B.call(this,t=_(t,!0));return!(this===U&&o(F,t)&&!o(W,t))&&(!(n||!o(this,t)||!o(F,t)||o(this,L)&&this[L][t])||n)},Z=function(t,n){if(t=w(t),n=_(n,!0),t!==U||!o(F,n)||o(W,n)){var e=E(t,n);return!e||!o(F,n)||o(t,L)&&t[L][n]||(e.enumerable=!0),e}},tt=function(t){for(var n,e=$(w(t)),r=[],i=0;e.length>i;)o(F,n=e[i++])||n==L||n==c||r.push(n);return r},nt=function(t){for(var n,e=t===U,r=$(e?W:w(t)),i=[],s=0;r.length>s;)!o(F,n=r[s++])||e&&!o(U,n)||i.push(F[n]);return i};V||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===U&&n.call(W,e),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),J(this,t,S(1,e))};return i&&Y&&J(U,t,{configurable:!0,set:n}),G(t)},a(k.prototype,"toString",function(){return this._k}),T.f=Z,P.f=z,e(47).f=j.f=tt,e(21).f=Q,C.f=nt,i&&!e(15)&&a(U,"propertyIsEnumerable",Q,!0),v.f=function(t){return G(h(t))}),s(s.G+s.W+s.F*!V,{Symbol:k});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)h(et[rt++]);for(var ot=M(h.store),it=0;ot.length>it;)d(ot[it++]);s(s.S+s.F*!V,"Symbol",{for:function(t){return o(N,t+="")?N[t]:N[t]=k(t)},keyFor:function(t){if(!H(t))throw TypeError(t+" is not a symbol!");for(var n in N)if(N[n]===t)return n},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),s(s.S+s.F*!V,"Object",{create:K,defineProperty:z,defineProperties:q,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:nt});var st=u(function(){C.f(1)});s(s.S+s.F*st,"Object",{getOwnPropertySymbols:function(t){return C.f(b(t))}}),I&&s(s.S+s.F*(!V||u(function(){var t=k();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(x(n)||void 0!==t)&&!H(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!H(n))return n}),r[1]=n,D.apply(I,r)}}),k.prototype[R]||e(6)(k.prototype,R,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},5:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},50:function(t,n,e){"use strict";var r=e(64)(!0);e(41)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},51:function(t,n,e){e(70);for(var r=e(1),o=e(6),i=e(17),s=e(2)("toStringTag"),a="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<a.length;c++){var u=a[c],f=r[u],l=f&&f.prototype;l&&!l[s]&&o(l,s,u),i[u]=i.Array}},52:function(t,n,e){var r=e(13),o=e(0),i=e(12);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],s={};s[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",s)}},54:function(t,n,e){t.exports={default:e(75),__esModule:!0}},55:function(t,n,e){var r=e(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},56:function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},57:function(t,n){},58:function(t,n,e){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var o=e(73),i=e.n(o),s=e(91),a=e.n(s),c=e(40),u=e.n(c),f=e(94),l=e.n(f),p=l.a,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,d=function(){try{if(!u.a)return!1;var t=new String("abc");if(t[5]="de","5"===a()(t)[0])return!1;for(var n={},e=0;e<10;e++)n["_"+String.fromCharCode(e)]=e;if("0123456789"!==a()(n).map(function(t){return n[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===i()(u()({},r)).join("")}catch(t){return!1}}()?u.a:function(t,n){for(var e,o,i=r(t),s=1;s<arguments.length;s++){e=Object(arguments[s]);for(var a in e)h.call(e,a)&&(i[a]=e[a]);if(p){o=p(e);for(var c=0;c<o.length;c++)v.call(e,o[c])&&(i[o[c]]=e[o[c]])}}return i};n.a=d},59:function(t,n,e){t.exports={default:e(126),__esModule:!0}},6:function(t,n,e){var r=e(7),o=e(18);t.exports=e(4)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},62:function(t,n,e){"use strict";function r(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=o(n),this.reject=o(e)}var o=e(38);t.exports.f=function(t){return new r(t)}},64:function(t,n,e){var r=e(27),o=e(28);t.exports=function(t){return function(n,e){var i,s,a=String(o(n)),c=r(e),u=a.length;return c<0||c>=u?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):i:t?a.slice(c,c+2):s-56320+(i-55296<<10)+65536)}}},65:function(t,n,e){"use strict";var r=e(42),o=e(18),i=e(25),s={};e(6)(s,e(2)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(s,{next:o(1,e)}),i(t,n+" Iterator")}},66:function(t,n,e){var r=e(7),o=e(8),i=e(14);t.exports=e(4)?Object.defineProperties:function(t,n){o(t);for(var e,s=i(n),a=s.length,c=0;a>c;)r.f(t,e=s[c++],n[e]);return t}},67:function(t,n,e){var r=e(10),o=e(55),i=e(68);t.exports=function(t){return function(n,e,s){var a,c=r(n),u=o(c.length),f=i(s,u);if(t&&e!=e){for(;u>f;)if((a=c[f++])!=a)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},68:function(t,n,e){var r=e(27),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},69:function(t,n,e){var r=e(5),o=e(20),i=e(29)("IE_PROTO"),s=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?s:null}},7:function(t,n,e){var r=e(8),o=e(43),i=e(32),s=Object.defineProperty;n.f=e(4)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return s(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},70:function(t,n,e){"use strict";var r=e(71),o=e(72),i=e(17),s=e(10);t.exports=e(41)(Array,"Array",function(t,n){this._t=s(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},71:function(t,n){t.exports=function(){}},72:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},73:function(t,n,e){t.exports={default:e(89),__esModule:!0}},74:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(80),i=r(o),s=e(82),a=r(s),c="function"==typeof a.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===c(i.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":c(t)}},75:function(t,n,e){var r=e(0),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},76:function(t,n,e){var r=e(19)("meta"),o=e(9),i=e(5),s=e(7).f,a=0,c=Object.isExtensible||function(){return!0},u=!e(12)(function(){return c(Object.preventExtensions({}))}),f=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";f(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;f(t)}return t[r].w},h=function(t){return u&&v.NEED&&c(t)&&!i(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},77:function(t,n,e){var r=e(14),o=e(36),i=e(21);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var s,a=e(t),c=i.f,u=0;a.length>u;)c.call(t,s=a[u++])&&n.push(s);return n}},78:function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},79:function(t,n,e){var r=e(21),o=e(18),i=e(10),s=e(32),a=e(5),c=e(43),u=Object.getOwnPropertyDescriptor;n.f=e(4)?u:function(t,n){if(t=i(t),n=s(n,!0),c)try{return u(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},8:function(t,n,e){var r=e(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},80:function(t,n,e){t.exports={default:e(81),__esModule:!0}},81:function(t,n,e){e(50),e(51),t.exports=e(33).f("iterator")},82:function(t,n,e){t.exports={default:e(83),__esModule:!0}},83:function(t,n,e){e(49),e(57),e(84),e(85),t.exports=e(0).Symbol},84:function(t,n,e){e(34)("asyncIterator")},85:function(t,n,e){e(34)("observable")},86:function(t,n,e){e(87),t.exports=e(0).Object.assign},87:function(t,n,e){var r=e(13);r(r.S+r.F,"Object",{assign:e(88)})},88:function(t,n,e){"use strict";var r=e(4),o=e(14),i=e(36),s=e(21),a=e(20),c=e(46),u=Object.assign;t.exports=!u||e(12)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=u({},t)[e]||Object.keys(u({},n)).join("")!=r})?function(t,n){for(var e=a(t),u=arguments.length,f=1,l=i.f,p=s.f;u>f;)for(var h,v=c(arguments[f++]),d=l?o(v).concat(l(v)):o(v),y=d.length,g=0;y>g;)h=d[g++],r&&!p.call(v,h)||(e[h]=v[h]);return e}:u},89:function(t,n,e){e(90),t.exports=e(0).Object.keys},9:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},90:function(t,n,e){var r=e(20),o=e(14);e(52)("keys",function(){return function(t){return o(r(t))}})},91:function(t,n,e){t.exports={default:e(92),__esModule:!0}},92:function(t,n,e){e(93);var r=e(0).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},93:function(t,n,e){e(52)("getOwnPropertyNames",function(){return e(48).f})},94:function(t,n,e){t.exports={default:e(95),__esModule:!0}},95:function(t,n,e){e(49),t.exports=e(0).Object.getOwnPropertySymbols},96:function(t,n,e){"use strict";function r(t){var n={},e={},r={};for(var c in t)if(t.hasOwnProperty(c))if(-1!==a.indexOf(c))n[c]=t[c];else if(s.test(c)){var u=s.exec(c)[1];u=Object(i.a)(u),r[u]=t[c]}else e[c]=t[c];return n.on=Object(o.a)(r,n.on),n.props=Object(o.a)(e,n.props),n}n.a=r;var o=e(58),i=e(97),s=new RegExp(/^on(.+)/),a=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},97:function(t,n,e){"use strict";function r(t,n){var e=c(t,n);return e.charAt(0).toLowerCase()+e.slice(1)}n.a=r;var o=e(40),i=e.n(o),s=e(11),a=function(t){for(var n=!1,e=!1,r=!1,o=0;o<t.length;o++){var i=t[o];n&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(t=t.slice(0,o)+"-"+t.slice(o),n=!1,r=e,e=!0,o++):e&&r&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(t=t.slice(0,o-1)+"-"+t.slice(o-1),r=e,e=!1,n=!0):(n=i.toLowerCase()===i&&i.toUpperCase()!==i,r=e,e=i.toUpperCase()===i&&i.toLowerCase()!==i)}return t},c=function(t,n){if("string"!=typeof t&&!Object(s.n)(t))throw new TypeError("Expected the input to be `string | string[]`");n=i()({pascalCase:!1},n);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?n.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=a(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,n){return n.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return n.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},98:function(t,n,e){"use strict";function r(t,n,e,r){var i=void 0,s=void 0,a=new t({render:function(t){var e=s&&s(t);return e&&!Object(o.n)(e)&&(e=[e]),t(n,i,e||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return a.updateRenderData=function(t,n){i=t,s=n},a.updateRenderData(e,r),a.$mount(),a.init(),a.$children[0]}n.a=r;var o=e(11)}})});
|
|
1
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Signature=n():t.Signature=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="../lib",n(n.s=1397)}({0:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},1:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},10:function(t,n,e){var r=e(46),o=e(28);t.exports=function(t){return r(o(t))}},100:function(t,n,e){var r=e(24),o=e(2)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=s(n=Object(t),o))?e:i?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},102:function(t,n,e){var r=e(8),o=e(39),i=e(2)("species");t.exports=function(t,n){var e,s=r(t).constructor;return void 0===s||void 0==(e=r(s)[i])?n:o(e)}},103:function(t,n,e){var r,o,i,s=e(37),a=e(129),c=e(55),u=e(38),f=e(1),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,y=0,g={},m=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},x=function(t){m.call(t.data)};p&&h||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return g[++y]=function(){a("function"==typeof t?t:Function(t),n)},r(y),y},h=function(t){delete g[t]},"process"==e(24)(l)?r=function(t){l.nextTick(s(m,t,1))}:d&&d.now?r=function(t){d.now(s(m,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=x,r=s(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 u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),t.exports={set:p,clear:h}},104:function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},1049:function(t,n,e){"use strict";var r=e(59),o=e.n(r);n.a={name:"ActSignature",props:{color:{type:String,default:"#8c7fee"},clearBtnText:{type:String,default:"重置"},saveBtnText:{type:String,default:"保存"},headerText:{type:String,default:"请完成您的亲笔签名"}},data:function(){return{isVisible:!1,showErrtips:!1,lineWidth:3,lineColor:"#000000",bgColor:"#ffffff",isCrop:!1,hasDrew:!1,width:0,height:0,resultImg:"",points:{x:[],y:[]},canvasTxt:null,startX:0,startY:0,isDrawing:!1,sratio:1}},computed:{ratio:function(){return this.height/this.width},stageInfo:function(){return this.$refs.canvas.getBoundingClientRect()},myBg:function(){return this.bgColor?this.bgColor:"rgba(255, 255, 255, 0)"}},watch:{myBg:function(t){this.$refs.canvas.style.background=t},isVisible:function(t){var n=this;t&&setTimeout(function(){var t=n.$refs.canvas;n.height=n.$refs.box.offsetHeight,n.width=n.$refs.box.offsetWidth,t.height=n.height,t.width=n.width,t.style.background=n.myBg,n._resizeHandler()})}},mounted:function(){var t=this;document.onmouseup=function(){t.isDrawing=!1}},methods:{show:function(){this.isVisible=!0},hide:function(){this.reset(),this.isVisible=!1},_resizeHandler:function(){var t=this.$refs.canvas;t.style.width=this.width+"px";var n=parseFloat(window.getComputedStyle(t).width);t.style.height=this.ratio*n+"px",this.canvasTxt=t.getContext("2d"),this.canvasTxt.scale(1*this.sratio,1*this.sratio),this.sratio=n/this.width,this.canvasTxt.scale(1/this.sratio,1/this.sratio)},mouseDown:function(t){t=t||event,t.preventDefault(),this.isDrawing=!0,this.hasDrew=!0;var n={x:t.offsetX,y:t.offsetY};this.drawStart(n)},mouseMove:function(t){if(t=t||event,t.preventDefault(),this.isDrawing){var n={x:t.offsetX,y:t.offsetY};this.drawMove(n)}},mouseUp:function(t){t=t||event,t.preventDefault();var n={x:t.offsetX,y:t.offsetY};this.drawEnd(n),this.isDrawing=!1},touchStart:function(t){if(t=t||event,t.preventDefault(),this.hasDrew=!0,1===t.touches.length){var n={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawStart(n)}},touchMove:function(t){if(t=t||event,t.preventDefault(),1===t.touches.length){var n={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawMove(n)}},touchEnd:function(t){if(t=t||event,t.preventDefault(),1===t.touches.length){var n={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawEnd(n)}},drawStart:function(t){this.startX=t.x,this.startY=t.y,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.lineWidth=this.lineWidth*this.sratio,this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.x.push(t.x),this.points.y.push(t.y)},drawMove:function(t){this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.strokeStyle=this.lineColor,this.canvasTxt.lineWidth=this.lineWidth*this.sratio,this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.startY=t.y,this.startX=t.x,this.points.x.push(t.x),this.points.y.push(t.y)},drawEnd:function(t){this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.x.push(t.x),this.points.y.push(t.y),this.points.x.push(-1),this.points.y.push(-1)},generate:function(){var t=this;return new o.a(function(n,e){var r=t.getMax(t.points.x,t.points.y);if(!t.hasDrew)return void e("Warning: Not Signned!");if(t.points.x.length<40||Math.abs(r.left-r.right)<40||Math.abs(r.top-r.bottom)<40)return void e("Warning: Not Signned!");var o=t.canvasTxt.getImageData(0,0,t.$refs.canvas.width,t.$refs.canvas.height);t.canvasTxt.globalCompositeOperation="destination-over",t.canvasTxt.fillStyle=t.myBg,t.canvasTxt.fillRect(0,0,t.$refs.canvas.width,t.$refs.canvas.height),t.resultImg=t.$refs.canvas.toDataURL();var i=t.resultImg;if(t.canvasTxt.clearRect(0,0,t.$refs.canvas.width,t.$refs.canvas.height),t.canvasTxt.putImageData(o,0,0),t.canvasTxt.globalCompositeOperation="source-over",t.isCrop){var s,a=t.getCropArea(o.data),c=document.createElement("canvas"),u=c.getContext("2d");c.width=a[2]-a[0],c.height=a[3]-a[1];var f=(s=t.canvasTxt).getImageData.apply(s,a);u.globalCompositeOperation="destination-over",u.putImageData(f,0,0),u.fillStyle=t.myBg,u.fillRect(0,0,c.width,c.height),i=c.toDataURL(),c=null}n(i)})},reset:function(){this.canvasTxt.clearRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),this.$emit("update:bgColor",""),this.$refs.canvas.style.background=this.myBg,this.points={x:[],y:[]},this.hasDrew=!1,this.resultImg=""},getCropArea:function(t){for(var n=this.$refs.canvas.width,e=0,r=this.$refs.canvas.height,o=0,i=0;i<this.$refs.canvas.width;i++)for(var s=0;s<this.$refs.canvas.height;s++){var a=4*(i+this.$refs.canvas.width*s);(t[a]>0||t[a+1]>0||t[a+2]||t[a+3]>0)&&(o=Math.max(s,o),e=Math.max(i,e),r=Math.min(s,r),n=Math.min(i,n))}return n++,e++,r++,o++,[n,r,e,o]},getMax:function(t,n){var e={left:0,right:0,top:0,bottom:0};return"[object Array]"!=={}.toString.call(t)||"[object Array]"!=={}.toString.call(n)?e:(e.left=Math.min.apply(null,t),e.right=Math.max.apply(null,t),e.top=Math.min.apply(null,n),e.bottom=Math.max.apply(null,n),e)},save:function(){var t=this;this.generate().then(function(n){t.$emit("complete",n),t.hide()}).catch(function(n){console.log(n),t.showErrtips=!0,setTimeout(function(){t.showErrtips=!1},2e3)})}}}},105:function(t,n,e){var r=e(8),o=e(9),i=e(69);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},106:function(t,n,e){var r=e(100),o=e(2)("iterator"),i=e(17);t.exports=e(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},11:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},12:function(t,n,e){"use strict";function r(t,n){if(t.findIndex)return t.findIndex(n);var e=-1;return t.some(function(t,r,o){var i=n.call(this,t,r,o);if(i)return e=r,i}),e}function o(t){return t?JSON.parse(D()(t)):t}function i(t,n){for(var e in n)t[e]&&"object"===k()(t[e])?i(t[e],n[e]):t[e]=n[e]}function s(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return"[object Number]"===Object.prototype.toString.call(t)}function u(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function l(t){return null===t}function p(t){return void 0!==t&&null!==t}function h(t){return void 0===t}function v(t){return"[object Error]"===Object.prototype.toString.call(t)}function d(t){return"function"==typeof t}function y(t,n,e){function r(n){var e=y,r=g;return y=g=void 0,_=n,x=t.apply(r,e)}function o(t,n){return T?(window.cancelAnimationFrame(b),window.requestAnimationFrame(t)):setTimeout(t,n)}function i(t){if(T)return window.cancelAnimationFrame(t);clearTimeout(t)}function s(t){return _=t,b=o(f,n),S?r(t):x}function a(t){var e=t-w,r=t-_,o=n-e;return O?Math.min(o,m-r):o}function c(t){var e=t-w,r=t-_;return void 0===w||e>=n||e<0||O&&r>=m}function f(){var t=Date.now();if(c(t))return l(t);b=o(f,a(t))}function l(t){return b=void 0,j&&y?r(t):(y=g=void 0,x)}function p(){void 0!==b&&i(b),_=0,y=w=g=b=void 0}function h(){return void 0===b?x:l(Date.now())}function v(){return void 0!==b}function d(){for(var t=Date.now(),e=c(t),i=arguments.length,a=Array(i),u=0;u<i;u++)a[u]=arguments[u];if(y=a,g=this,w=t,e){if(void 0===b)return s(w);if(O)return b=o(f,n),r(w)}return void 0===b&&(b=o(f,n)),x}var y=void 0,g=void 0,m=void 0,x=void 0,b=void 0,w=void 0,_=0,S=!1,O=!1,j=!0,T=!n&&0!==n&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return n=+n||0,u(e)&&(S=!!e.leading,O="maxWait"in e,m=O?Math.max(+e.maxWait||0,n):m,j="trailing"in e?!!e.trailing:j),d.cancel=p,d.flush=h,d.pending=v,d}function g(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return u(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),y(t,n,{leading:r,trailing:o,maxWait:n})}function m(t){return!!/^1\d{10}$/.test(t)}function x(t){var n=t.length;return n>3&&n<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):n>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,n,e){return n+" "+e.replace(/(.{4})(?=.)/g,"$1 ")})),t}function b(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function w(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function _(t){if(!t)return"";var n=t.length;return 2===n?t.split("").join("  "):3===n?t.split("").join(" "):t}function S(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.offsetHeight;if(n){var r=t.currentStyle||getComputedStyle(t);e+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return e}function O(t,n){var e=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),o=null;return e?o={r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16)}:r&&(o={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),o?void 0!==n?"rgba("+o.r+", "+o.g+", "+o.b+", "+n+")":"rgb("+o.r+", "+o.g+", "+o.b+")":""}function j(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",e=n.length,r="";t=t||32;for(var o=0;o<t;o++)r+=n.charAt(Math.floor(Math.random()*e));return r}function T(t,n){var e=n||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),o=e.match(r);return o&&o[2]}function C(t){var n=window.getComputedStyle(t),e="none"===n.display,r=null===t.offsetParent&&"fixed"!==n.position;return e||r}function P(t,n,e){return Math.min(Math.max(t,n),e)}function M(t){var n=/os (\d\d?_\d(_\d)?)/,e=n.exec(t);if(!e)return null;var r=e[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function E(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n=n||window.location.href;var e=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=n.match(e);return decodeURIComponent(r?r[2]:"")}function A(t){return t?v(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}e.d(n,"E",function(){return K}),e.d(n,"u",function(){return Q}),n.d=r,n.c=o,n.b=i,n.n=s,n.y=a,n.w=c,n.x=u,n.o=f,n.v=l,n.p=p,n.z=h,n.q=v,n.r=d,n.a=y,n.D=g,n.t=m,n.g=x,n.e=b,n.f=w,n.h=_,n.A=S,n.m=O,n.B=j,n.k=T,n.s=C,n.C=P,n.j=M,n.l=E,n.i=A;var $=e(70),k=e.n($),I=e(53),D=e.n(I),L="undefined"!=typeof window,R=L&&window.navigator.userAgent.toLowerCase(),B=R&&/msie|trident/.test(R),N=R&&R.indexOf("msie 9.0")>0,F=R&&R.indexOf("edge/")>0,W=R&&R.indexOf("android")>0,U=R&&/iphone|ipad|ipod|ios/.test(R),V=R&&/chrome\/\d+/.test(R)&&!F,X=R&&/MicroMessenger/i.test(R),Y=R&&/wxwork/i.test(R),J=R&&/mucxiaoyusan/i.test(R),G=R&&/muckacabao/i.test(R),H=R&&/mucyanxuan/i.test(R),z=J||G,q=R&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(R),K={isIE:B,isMobile:q,isIE9:N,isEdge:F,isAndroid:W,isIOS:U,isChrome:V,isWx:X,isWxWork:Y,isApp:z,isXysApp:J,isKcbApp:G,isYxApp:H},Q=/MucWebAutoTester/.test(window.navigator.userAgent)},120:function(t,n,e){var r=e(8);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},121:function(t,n,e){var r=e(17),o=e(2)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},122:function(t,n,e){var r=e(2)("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,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:e=!0}},i[r]=function(){return s},t(i)}catch(t){}return e}},125:function(t,n,e){e(56),e(50),e(51),e(126),e(134),e(135),t.exports=e(0).Promise},126:function(t,n,e){"use strict";var r,o,i,s,a=e(15),c=e(1),u=e(37),f=e(100),l=e(13),p=e(9),h=e(39),v=e(127),d=e(128),y=e(102),g=e(103).set,m=e(130)(),x=e(69),b=e(104),w=e(131),_=e(105),S=c.TypeError,O=c.process,j=O&&O.versions,T=j&&j.v8||"",C=c.Promise,P="process"==f(O),M=function(){},E=o=x.f,A=!!function(){try{var t=C.resolve(1),n=(t.constructor={})[e(2)("species")]=function(t){t(M,M)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof n&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),$=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},k=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,o=1==t._s,i=0;e.length>i;)!function(n){var e,i,s,a=o?n.ok:n.fail,c=n.resolve,u=n.reject,f=n.domain;try{a?(o||(2==t._h&&L(t),t._h=1),!0===a?e=r:(f&&f.enter(),e=a(r),f&&(f.exit(),s=!0)),e===n.promise?u(S("Promise-chain cycle")):(i=$(e))?i.call(e,c,u):c(e)):u(r)}catch(t){f&&!s&&f.exit(),u(t)}}(e[i++]);t._c=[],t._n=!1,n&&!t._h&&I(t)})}},I=function(t){g.call(c,function(){var n,e,r,o=t._v,i=D(t);if(i&&(n=b(function(){P?O.emit("unhandledRejection",o,t):(e=c.onunhandledrejection)?e({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||D(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){g.call(c,function(){var n;P?O.emit("rejectionHandled",t):(n=c.onrejectionhandled)&&n({promise:t,reason:t._v})})},R=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),k(n,!0))},B=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw S("Promise can't be resolved itself");(n=$(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,u(B,r,1),u(R,r,1))}catch(t){R.call(r,t)}}):(e._v=t,e._s=1,k(e,!1))}catch(t){R.call({_w:e,_d:!1},t)}}};A||(C=function(t){v(this,C,"Promise","_h"),h(t),r.call(this);try{t(u(B,this,1),u(R,this,1))}catch(t){R.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=e(132)(C.prototype,{then:function(t,n){var e=E(y(this,C));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=P?O.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&k(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(B,t,1),this.reject=u(R,t,1)},x.f=E=function(t){return t===C||t===s?new i(t):o(t)}),l(l.G+l.W+l.F*!A,{Promise:C}),e(25)(C,"Promise"),e(133)("Promise"),s=e(0).Promise,l(l.S+l.F*!A,"Promise",{reject:function(t){var n=E(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(a||!A),"Promise",{resolve:function(t){return _(a&&this===s?C:this,t)}}),l(l.S+l.F*!(A&&e(122)(function(t){C.all(t).catch(M)})),"Promise",{all:function(t){var n=this,e=E(n),r=e.resolve,o=e.reject,i=b(function(){var e=[],i=0,s=1;d(t,!1,function(t){var a=i++,c=!1;e.push(void 0),s++,n.resolve(t).then(function(t){c||(c=!0,e[a]=t,--s||r(e))},o)}),--s||r(e)});return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=E(n),r=e.reject,o=b(function(){d(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o.e&&r(o.v),e.promise}})},127:function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},128:function(t,n,e){var r=e(37),o=e(120),i=e(121),s=e(8),a=e(54),c=e(106),u={},f={},n=t.exports=function(t,n,e,l,p){var h,v,d,y,g=p?function(){return t}:c(t),m=r(e,l,n?2:1),x=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=a(t.length);h>x;x++)if((y=n?m(s(v=t[x])[0],v[1]):m(t[x]))===u||y===f)return y}else for(d=g.call(t);!(v=d.next()).done;)if((y=o(d,m,v.value,n))===u||y===f)return y};n.BREAK=u,n.RETURN=f},129:function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},13:function(t,n,e){var r=e(1),o=e(0),i=e(37),s=e(6),a=e(5),c=function(t,n,e){var u,f,l,p=t&c.F,h=t&c.G,v=t&c.S,d=t&c.P,y=t&c.B,g=t&c.W,m=h?o:o[n]||(o[n]={}),x=m.prototype,b=h?r:v?r[n]:(r[n]||{}).prototype;h&&(e=n);for(u in e)(f=!p&&b&&void 0!==b[u])&&a(m,u)||(l=f?b[u]:e[u],m[u]=h&&"function"!=typeof b[u]?e[u]:y&&f?i(l,r):g&&b[u]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):d&&"function"==typeof l?i(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[u]=l,t&c.R&&x&&!x[u]&&s(x,u,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},130:function(t,n,e){var r=e(1),o=e(103).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==e(24)(s);t.exports=function(){var t,n,e,u=function(){var r,o;for(c&&(r=s.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(c)e=function(){s.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);e=function(){f.then(u)}}else e=function(){o.call(r,u)};else{var l=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},131:function(t,n,e){var r=e(1),o=r.navigator;t.exports=o&&o.userAgent||""},132:function(t,n,e){var r=e(6);t.exports=function(t,n,e){for(var o in n)e&&t[o]?t[o]=n[o]:r(t,o,n[o]);return t}},133:function(t,n,e){"use strict";var r=e(1),o=e(0),i=e(7),s=e(4),a=e(2)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:r[t];s&&n&&!n[a]&&i.f(n,a,{configurable:!0,get:function(){return this}})}},134:function(t,n,e){"use strict";var r=e(13),o=e(0),i=e(1),s=e(102),a=e(105);r(r.P+r.R,"Promise",{finally:function(t){var n=s(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return a(n,t()).then(function(){return e})}:t,e?function(e){return a(n,t()).then(function(){throw e})}:t)}})},135:function(t,n,e){"use strict";var r=e(13),o=e(69),i=e(104);r(r.S,"Promise",{try:function(t){var n=o.f(this),e=i(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},1397:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(26),o=e(1398);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createSignature=Object(r.a)(o.a,t)},n.default=o.a},1398:function(t,n,e){"use strict";function r(t){a||e(1399)}var o=e(1049),i=e(1400),s=e(3),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-31195bd6",null);u.options.__file="src\\components\\Signature\\src\\index.vue",n.a=u.exports},1399:function(t,n){},14:function(t,n,e){var r=e(45),o=e(31);t.exports=Object.keys||function(t){return r(t,o)}},1400:function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return o});var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("transition",{attrs:{name:"act-gold-popup-move"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-signature-wrap",attrs:{id:"act-signature"}},[e("div",{staticClass:"act-signature-box"},[e("div",{staticClass:"header-box"},[e("div",{staticClass:"text"},[t._v("\n 请完成签名\n ")]),t._v(" "),e("div",{staticClass:"close",on:{click:t.hide}})]),t._v(" "),t.$slots.header?t._e():e("div",{staticClass:"header",domProps:{innerHTML:t._s(t.headerText)}}),t._v(" "),t.$slots.header?t._t("header"):t._e(),t._v(" "),e("div",{ref:"box",staticClass:"canvasBox"},[e("canvas",{ref:"canvas",on:{mousedown:t.mouseDown,mousemove:t.mouseMove,mouseup:t.mouseUp,touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}})]),t._v(" "),e("div",{staticClass:"ctrl"},[e("div",{staticClass:"clearBtn",attrs:{type:"button"},on:{click:t.reset}},[t._v("\n "+t._s(t.clearBtnText)+"\n ")]),t._v(" "),e("div",{staticClass:"saveBtn",style:"background: "+t.color,attrs:{type:"button"},on:{click:t.save}},[t._v("\n "+t._s(t.saveBtnText)+"\n ")])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showErrtips,expression:"showErrtips"}],staticClass:"errtips"},[t._v("\n 请仔细签名\n ")])],2)])])},o=[];r._withStripped=!0},15:function(t,n){t.exports=!0},17:function(t,n){t.exports={}},18:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},19:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},2:function(t,n,e){var r=e(30)("wks"),o=e(19),i=e(1).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},20:function(t,n,e){var r=e(28);t.exports=function(t){return Object(r(t))}},21:function(t,n){n.f={}.propertyIsEnumerable},24:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},25:function(t,n,e){var r=e(7).f,o=e(5),i=e(2)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},26:function(t,n,e){"use strict";function r(t,n){return function(e,r){var s=this,a=Object(o.a)(e),c=Object(i.a)(n,t,a,r),u=c.$parent,f=c.remove,l=c.show,p=c.hide;return c.remove=function(){c.$removed=!0,f&&f.call(this),u.destroy()},c.show=function(){return l&&l.call.apply(l,[this].concat(Array.prototype.slice.call(arguments))),this},c.hide=function(){return p&&p.call.apply(p,[this].concat(Array.prototype.slice.call(arguments))),this},s._isVue&&s.$once("hook:beforeDestroy",function(){c.$removed||c.remove()}),c}}n.a=r;var o=e(94),i=e(96)},27:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},28:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},29:function(t,n,e){var r=e(30)("keys"),o=e(19);t.exports=function(t){return r[t]||(r[t]=o(t))}},3:function(t,n,e){"use strict";function r(t,n,e,r,o,i,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;n&&(u.render=n,u.staticRenderFns=e,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var f;if(s?(f=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=f):o&&(f=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(t,n){return f.call(n),l(t,n)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:u}}n.a=r},30:function(t,n,e){var r=e(0),o=e(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(15)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},31:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},32:function(t,n,e){var r=e(9);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},33:function(t,n,e){n.f=e(2)},34:function(t,n,e){var r=e(1),o=e(0),i=e(15),s=e(33),a=e(7).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:s.f(t)})}},35:function(t,n){n.f=Object.getOwnPropertySymbols},37:function(t,n,e){var r=e(39);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},38:function(t,n,e){var r=e(9),o=e(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},39:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},4:function(t,n,e){t.exports=!e(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},40:function(t,n,e){t.exports={default:e(83),__esModule:!0}},41:function(t,n,e){"use strict";var r=e(15),o=e(13),i=e(44),s=e(6),a=e(17),c=e(61),u=e(25),f=e(65),l=e(2)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,e,v,d,y,g){c(e,n,v);var m,x,b,w=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},_=n+" Iterator",S="values"==d,O=!1,j=t.prototype,T=j[l]||j["@@iterator"]||d&&j[d],C=T||w(d),P=d?S?w("entries"):C:void 0,M="Array"==n?j.entries||T:T;if(M&&(b=f(M.call(new t)))!==Object.prototype&&b.next&&(u(b,_,!0),r||"function"==typeof b[l]||s(b,l,h)),S&&T&&"values"!==T.name&&(O=!0,C=function(){return T.call(this)}),r&&!g||!p&&!O&&j[l]||s(j,l,C),a[n]=C,a[_]=h,d)if(m={values:S?C:w("values"),keys:y?C:w("keys"),entries:P},g)for(x in m)x in j||i(j,x,m[x]);else o(o.P+o.F*(p||O),n,m);return m}},42:function(t,n,e){var r=e(8),o=e(62),i=e(31),s=e(29)("IE_PROTO"),a=function(){},c=function(){var t,n=e(38)("iframe"),r=i.length;for(n.style.display="none",e(55).appendChild(n),n.src="javascript:",t=n.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,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[s]=t):e=c(),void 0===n?e:o(e,n)}},43:function(t,n,e){t.exports=!e(4)&&!e(11)(function(){return 7!=Object.defineProperty(e(38)("div"),"a",{get:function(){return 7}}).a})},44:function(t,n,e){t.exports=e(6)},45:function(t,n,e){var r=e(5),o=e(10),i=e(63)(!1),s=e(29)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,u=[];for(e in a)e!=s&&r(a,e)&&u.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~i(u,e)||u.push(e));return u}},46:function(t,n,e){var r=e(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},47:function(t,n,e){var r=e(45),o=e(31).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},48:function(t,n,e){var r=e(10),o=e(47).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==i.call(t)?a(t):o(r(t))}},49:function(t,n,e){"use strict";var r=e(1),o=e(5),i=e(4),s=e(13),a=e(44),c=e(73).KEY,u=e(11),f=e(30),l=e(25),p=e(19),h=e(2),v=e(33),d=e(34),y=e(74),g=e(75),m=e(8),x=e(9),b=e(20),w=e(10),_=e(32),S=e(18),O=e(42),j=e(48),T=e(76),C=e(35),P=e(7),M=e(14),E=T.f,A=P.f,$=j.f,k=r.Symbol,I=r.JSON,D=I&&I.stringify,L=h("_hidden"),R=h("toPrimitive"),B={}.propertyIsEnumerable,N=f("symbol-registry"),F=f("symbols"),W=f("op-symbols"),U=Object.prototype,V="function"==typeof k&&!!C.f,X=r.QObject,Y=!X||!X.prototype||!X.prototype.findChild,J=i&&u(function(){return 7!=O(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=E(U,n);r&&delete U[n],A(t,n,e),r&&t!==U&&A(U,n,r)}:A,G=function(t){var n=F[t]=O(k.prototype);return n._k=t,n},H=V&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},z=function(t,n,e){return t===U&&z(W,n,e),m(t),n=_(n,!0),m(e),o(F,n)?(e.enumerable?(o(t,L)&&t[L][n]&&(t[L][n]=!1),e=O(e,{enumerable:S(0,!1)})):(o(t,L)||A(t,L,S(1,{})),t[L][n]=!0),J(t,n,e)):A(t,n,e)},q=function(t,n){m(t);for(var e,r=y(n=w(n)),o=0,i=r.length;i>o;)z(t,e=r[o++],n[e]);return t},K=function(t,n){return void 0===n?O(t):q(O(t),n)},Q=function(t){var n=B.call(this,t=_(t,!0));return!(this===U&&o(F,t)&&!o(W,t))&&(!(n||!o(this,t)||!o(F,t)||o(this,L)&&this[L][t])||n)},Z=function(t,n){if(t=w(t),n=_(n,!0),t!==U||!o(F,n)||o(W,n)){var e=E(t,n);return!e||!o(F,n)||o(t,L)&&t[L][n]||(e.enumerable=!0),e}},tt=function(t){for(var n,e=$(w(t)),r=[],i=0;e.length>i;)o(F,n=e[i++])||n==L||n==c||r.push(n);return r},nt=function(t){for(var n,e=t===U,r=$(e?W:w(t)),i=[],s=0;r.length>s;)!o(F,n=r[s++])||e&&!o(U,n)||i.push(F[n]);return i};V||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===U&&n.call(W,e),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),J(this,t,S(1,e))};return i&&Y&&J(U,t,{configurable:!0,set:n}),G(t)},a(k.prototype,"toString",function(){return this._k}),T.f=Z,P.f=z,e(47).f=j.f=tt,e(21).f=Q,C.f=nt,i&&!e(15)&&a(U,"propertyIsEnumerable",Q,!0),v.f=function(t){return G(h(t))}),s(s.G+s.W+s.F*!V,{Symbol:k});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)h(et[rt++]);for(var ot=M(h.store),it=0;ot.length>it;)d(ot[it++]);s(s.S+s.F*!V,"Symbol",{for:function(t){return o(N,t+="")?N[t]:N[t]=k(t)},keyFor:function(t){if(!H(t))throw TypeError(t+" is not a symbol!");for(var n in N)if(N[n]===t)return n},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),s(s.S+s.F*!V,"Object",{create:K,defineProperty:z,defineProperties:q,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:nt});var st=u(function(){C.f(1)});s(s.S+s.F*st,"Object",{getOwnPropertySymbols:function(t){return C.f(b(t))}}),I&&s(s.S+s.F*(!V||u(function(){var t=k();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(x(n)||void 0!==t)&&!H(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!H(n))return n}),r[1]=n,D.apply(I,r)}}),k.prototype[R]||e(6)(k.prototype,R,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},5:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},50:function(t,n,e){"use strict";var r=e(60)(!0);e(41)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},51:function(t,n,e){e(66);for(var r=e(1),o=e(6),i=e(17),s=e(2)("toStringTag"),a="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<a.length;c++){var u=a[c],f=r[u],l=f&&f.prototype;l&&!l[s]&&o(l,s,u),i[u]=i.Array}},52:function(t,n,e){var r=e(13),o=e(0),i=e(11);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],s={};s[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",s)}},53:function(t,n,e){t.exports={default:e(72),__esModule:!0}},54:function(t,n,e){var r=e(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},55:function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},56:function(t,n){},57:function(t,n,e){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var o=e(71),i=e.n(o),s=e(88),a=e.n(s),c=e(40),u=e.n(c),f=e(91),l=e.n(f),p=l.a,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,d=function(){try{if(!u.a)return!1;var t=new String("abc");if(t[5]="de","5"===a()(t)[0])return!1;for(var n={},e=0;e<10;e++)n["_"+String.fromCharCode(e)]=e;if("0123456789"!==a()(n).map(function(t){return n[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===i()(u()({},r)).join("")}catch(t){return!1}}()?u.a:function(t,n){for(var e,o,i=r(t),s=1;s<arguments.length;s++){e=Object(arguments[s]);for(var a in e)h.call(e,a)&&(i[a]=e[a]);if(p){o=p(e);for(var c=0;c<o.length;c++)v.call(e,o[c])&&(i[o[c]]=e[o[c]])}}return i};n.a=d},59:function(t,n,e){t.exports={default:e(125),__esModule:!0}},6:function(t,n,e){var r=e(7),o=e(18);t.exports=e(4)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},60:function(t,n,e){var r=e(27),o=e(28);t.exports=function(t){return function(n,e){var i,s,a=String(o(n)),c=r(e),u=a.length;return c<0||c>=u?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):i:t?a.slice(c,c+2):s-56320+(i-55296<<10)+65536)}}},61:function(t,n,e){"use strict";var r=e(42),o=e(18),i=e(25),s={};e(6)(s,e(2)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(s,{next:o(1,e)}),i(t,n+" Iterator")}},62:function(t,n,e){var r=e(7),o=e(8),i=e(14);t.exports=e(4)?Object.defineProperties:function(t,n){o(t);for(var e,s=i(n),a=s.length,c=0;a>c;)r.f(t,e=s[c++],n[e]);return t}},63:function(t,n,e){var r=e(10),o=e(54),i=e(64);t.exports=function(t){return function(n,e,s){var a,c=r(n),u=o(c.length),f=i(s,u);if(t&&e!=e){for(;u>f;)if((a=c[f++])!=a)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},64:function(t,n,e){var r=e(27),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},65:function(t,n,e){var r=e(5),o=e(20),i=e(29)("IE_PROTO"),s=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?s:null}},66:function(t,n,e){"use strict";var r=e(67),o=e(68),i=e(17),s=e(10);t.exports=e(41)(Array,"Array",function(t,n){this._t=s(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},67:function(t,n){t.exports=function(){}},68:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},69:function(t,n,e){"use strict";function r(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=o(n),this.reject=o(e)}var o=e(39);t.exports.f=function(t){return new r(t)}},7:function(t,n,e){var r=e(8),o=e(43),i=e(32),s=Object.defineProperty;n.f=e(4)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return s(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},70:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(77),i=r(o),s=e(79),a=r(s),c="function"==typeof a.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===c(i.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":c(t)}},71:function(t,n,e){t.exports={default:e(86),__esModule:!0}},72:function(t,n,e){var r=e(0),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},73:function(t,n,e){var r=e(19)("meta"),o=e(9),i=e(5),s=e(7).f,a=0,c=Object.isExtensible||function(){return!0},u=!e(11)(function(){return c(Object.preventExtensions({}))}),f=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";f(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;f(t)}return t[r].w},h=function(t){return u&&v.NEED&&c(t)&&!i(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},74:function(t,n,e){var r=e(14),o=e(35),i=e(21);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var s,a=e(t),c=i.f,u=0;a.length>u;)c.call(t,s=a[u++])&&n.push(s);return n}},75:function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},76:function(t,n,e){var r=e(21),o=e(18),i=e(10),s=e(32),a=e(5),c=e(43),u=Object.getOwnPropertyDescriptor;n.f=e(4)?u:function(t,n){if(t=i(t),n=s(n,!0),c)try{return u(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},77:function(t,n,e){t.exports={default:e(78),__esModule:!0}},78:function(t,n,e){e(50),e(51),t.exports=e(33).f("iterator")},79:function(t,n,e){t.exports={default:e(80),__esModule:!0}},8:function(t,n,e){var r=e(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},80:function(t,n,e){e(49),e(56),e(81),e(82),t.exports=e(0).Symbol},81:function(t,n,e){e(34)("asyncIterator")},82:function(t,n,e){e(34)("observable")},83:function(t,n,e){e(84),t.exports=e(0).Object.assign},84:function(t,n,e){var r=e(13);r(r.S+r.F,"Object",{assign:e(85)})},85:function(t,n,e){"use strict";var r=e(4),o=e(14),i=e(35),s=e(21),a=e(20),c=e(46),u=Object.assign;t.exports=!u||e(11)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=u({},t)[e]||Object.keys(u({},n)).join("")!=r})?function(t,n){for(var e=a(t),u=arguments.length,f=1,l=i.f,p=s.f;u>f;)for(var h,v=c(arguments[f++]),d=l?o(v).concat(l(v)):o(v),y=d.length,g=0;y>g;)h=d[g++],r&&!p.call(v,h)||(e[h]=v[h]);return e}:u},86:function(t,n,e){e(87),t.exports=e(0).Object.keys},87:function(t,n,e){var r=e(20),o=e(14);e(52)("keys",function(){return function(t){return o(r(t))}})},88:function(t,n,e){t.exports={default:e(89),__esModule:!0}},89:function(t,n,e){e(90);var r=e(0).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},9:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},90:function(t,n,e){e(52)("getOwnPropertyNames",function(){return e(48).f})},91:function(t,n,e){t.exports={default:e(92),__esModule:!0}},92:function(t,n,e){e(49),t.exports=e(0).Object.getOwnPropertySymbols},94:function(t,n,e){"use strict";function r(t){var n={},e={},r={};for(var c in t)if(t.hasOwnProperty(c))if(-1!==a.indexOf(c))n[c]=t[c];else if(s.test(c)){var u=s.exec(c)[1];u=Object(i.a)(u),r[u]=t[c]}else e[c]=t[c];return n.on=Object(o.a)(r,n.on),n.props=Object(o.a)(e,n.props),n}n.a=r;var o=e(57),i=e(95),s=new RegExp(/^on(.+)/),a=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},95:function(t,n,e){"use strict";function r(t,n){var e=c(t,n);return e.charAt(0).toLowerCase()+e.slice(1)}n.a=r;var o=e(40),i=e.n(o),s=e(12),a=function(t){for(var n=!1,e=!1,r=!1,o=0;o<t.length;o++){var i=t[o];n&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(t=t.slice(0,o)+"-"+t.slice(o),n=!1,r=e,e=!0,o++):e&&r&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(t=t.slice(0,o-1)+"-"+t.slice(o-1),r=e,e=!1,n=!0):(n=i.toLowerCase()===i&&i.toUpperCase()!==i,r=e,e=i.toUpperCase()===i&&i.toLowerCase()!==i)}return t},c=function(t,n){if("string"!=typeof t&&!Object(s.n)(t))throw new TypeError("Expected the input to be `string | string[]`");n=i()({pascalCase:!1},n);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?n.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=a(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,n){return n.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return n.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},96:function(t,n,e){"use strict";function r(t,n,e,r){var i=void 0,s=void 0,a=new t({render:function(t){var e=s&&s(t);return e&&!Object(o.n)(e)&&(e=[e]),t(n,i,e||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return a.updateRenderData=function(t,n){i=t,s=n},a.updateRenderData(e,r),a.$mount(),a.init(),a.$children[0]}n.a=r;var o=e(12)}})});
|
package/lib/Stepper/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Stepper=n():t.Stepper=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="../lib",n(n.s=314)}({0:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},1:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},10:function(t,n,e){var r=e(46),o=e(28);t.exports=function(t){return r(o(t))}},11:function(t,n,e){"use strict";function r(t,n){if(t.findIndex)return t.findIndex(n);var e=-1;return t.some(function(t,r,o){var i=n.call(this,t,r,o);if(i)return e=r,i}),e}function o(t){return t?JSON.parse(k()(t)):t}function i(t,n){for(var e in n)t[e]&&"object"===N()(t[e])?i(t[e],n[e]):t[e]=n[e]}function u(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return"[object Number]"===Object.prototype.toString.call(t)}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function l(t){return null===t}function p(t){return void 0!==t&&null!==t}function d(t){return void 0===t}function h(t){return"[object Error]"===Object.prototype.toString.call(t)}function v(t){return"function"==typeof t}function y(t,n,e){function r(n){var e=y,r=m;return y=m=void 0,w=n,b=t.apply(r,e)}function o(t,n){return E?(window.cancelAnimationFrame(S),window.requestAnimationFrame(t)):setTimeout(t,n)}function i(t){if(E)return window.cancelAnimationFrame(t);clearTimeout(t)}function u(t){return w=t,S=o(f,n),O?r(t):b}function a(t){var e=t-x,r=t-w,o=n-e;return _?Math.min(o,g-r):o}function c(t){var e=t-x,r=t-w;return void 0===x||e>=n||e<0||_&&r>=g}function f(){var t=Date.now();if(c(t))return l(t);S=o(f,a(t))}function l(t){return S=void 0,j&&y?r(t):(y=m=void 0,b)}function p(){void 0!==S&&i(S),w=0,y=x=m=S=void 0}function d(){return void 0===S?b:l(Date.now())}function h(){return void 0!==S}function v(){for(var t=Date.now(),e=c(t),i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];if(y=a,m=this,x=t,e){if(void 0===S)return u(x);if(_)return S=o(f,n),r(x)}return void 0===S&&(S=o(f,n)),b}var y=void 0,m=void 0,g=void 0,b=void 0,S=void 0,x=void 0,w=0,O=!1,_=!1,j=!0,E=!n&&0!==n&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return n=+n||0,s(e)&&(O=!!e.leading,_="maxWait"in e,g=_?Math.max(+e.maxWait||0,n):g,j="trailing"in e?!!e.trailing:j),v.cancel=p,v.flush=d,v.pending=h,v}function m(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return s(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),y(t,n,{leading:r,trailing:o,maxWait:n})}function g(t){return!!/^1\d{10}$/.test(t)}function b(t){var n=t.length;return n>3&&n<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):n>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,n,e){return n+" "+e.replace(/(.{4})(?=.)/g,"$1 ")})),t}function S(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function x(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function w(t){if(!t)return"";var n=t.length;return 2===n?t.split("").join("  "):3===n?t.split("").join(" "):t}function O(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.offsetHeight;if(n){var r=t.currentStyle||getComputedStyle(t);e+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return e}function _(t,n){var e=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),o=null;return e?o={r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16)}:r&&(o={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),o?void 0!==n?"rgba("+o.r+", "+o.g+", "+o.b+", "+n+")":"rgb("+o.r+", "+o.g+", "+o.b+")":""}function j(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",e=n.length,r="";t=t||32;for(var o=0;o<t;o++)r+=n.charAt(Math.floor(Math.random()*e));return r}function E(t,n){var e=n||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),o=e.match(r);return o&&o[2]}function M(t){var n=window.getComputedStyle(t),e="none"===n.display,r=null===t.offsetParent&&"fixed"!==n.position;return e||r}function P(t,n,e){return Math.min(Math.max(t,n),e)}function C(t){var n=/os (\d\d?_\d(_\d)?)/,e=n.exec(t);if(!e)return null;var r=e[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function A(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n=n||window.location.href;var e=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=n.match(e);return decodeURIComponent(r?r[2]:"")}function T(t){return t?h(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}e.d(n,"E",function(){return X}),e.d(n,"u",function(){return Y}),n.d=r,n.c=o,n.b=i,n.n=u,n.y=a,n.w=c,n.x=s,n.o=f,n.v=l,n.p=p,n.z=d,n.q=h,n.r=v,n.a=y,n.D=m,n.t=g,n.g=b,n.e=S,n.f=x,n.h=w,n.A=O,n.m=_,n.B=j,n.k=E,n.s=M,n.C=P,n.j=C,n.l=A,n.i=T;var I=e(74),N=e.n(I),V=e(54),k=e.n(V),L="undefined"!=typeof window,$=L&&window.navigator.userAgent.toLowerCase(),F=$&&/msie|trident/.test($),D=$&&$.indexOf("msie 9.0")>0,W=$&&$.indexOf("edge/")>0,R=$&&$.indexOf("android")>0,B=$&&/iphone|ipad|ipod|ios/.test($),z=$&&/chrome\/\d+/.test($)&&!W,G=$&&/MicroMessenger/i.test($),J=$&&/wxwork/i.test($),H=$&&/mucxiaoyusan/i.test($),U=$&&/muckacabao/i.test($),q=$&&/mucyanxuan/i.test($),K=H||U,Q=$&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test($),X={isIE:F,isMobile:Q,isIE9:D,isEdge:W,isAndroid:R,isIOS:B,isChrome:z,isWx:G,isWxWork:J,isApp:K,isXysApp:H,isKcbApp:U,isYxApp:q},Y=/MucWebAutoTester/.test(window.navigator.userAgent)},12:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},13:function(t,n,e){var r=e(1),o=e(0),i=e(37),u=e(6),a=e(5),c=function(t,n,e){var s,f,l,p=t&c.F,d=t&c.G,h=t&c.S,v=t&c.P,y=t&c.B,m=t&c.W,g=d?o:o[n]||(o[n]={}),b=g.prototype,S=d?r:h?r[n]:(r[n]||{}).prototype;d&&(e=n);for(s in e)(f=!p&&S&&void 0!==S[s])&&a(g,s)||(l=f?S[s]:e[s],g[s]=d&&"function"!=typeof S[s]?e[s]:y&&f?i(l,r):m&&S[s]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[s]=l,t&c.R&&b&&!b[s]&&u(b,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},14:function(t,n,e){var r=e(45),o=e(31);t.exports=Object.keys||function(t){return r(t,o)}},15:function(t,n){t.exports=!0},17:function(t,n){t.exports={}},18:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},19:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},2:function(t,n,e){var r=e(30)("wks"),o=e(19),i=e(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},20:function(t,n,e){var r=e(28);t.exports=function(t){return Object(r(t))}},21:function(t,n){n.f={}.propertyIsEnumerable},24:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},25:function(t,n,e){var r=e(7).f,o=e(5),i=e(2)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},260:function(t,n,e){"use strict";var r=e(11);n.a={name:"ActStepper",props:{value:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:1/0},step:{type:[Number,String],default:1},integer:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},disableInput:{type:Boolean,default:!1},color:{type:String,default:""},backgroundColor:{type:String,default:""},fontSize:{type:[Number,String],default:""},iconSize:{type:[Number,String],default:""},inputWidth:{type:[Number,String],default:""},height:{type:[Number,String],default:""}},data:function(){return{currentValue:1}},computed:{minusDisabled:function(){return this.disabled||this.currentValue<=this.min},plusDisabled:function(){return this.disabled||this.currentValue>=this.max},inputStyle:function(){var t={};return this.inputWidth&&(t.width=Object(r.f)(this.inputWidth)),this.height&&(t.height=Object(r.f)(this.height)),this.fontSize&&(t.fontSize=Object(r.f)(this.fontSize)),t},buttonStyle:function(){var t={};if(this.height){var n=Object(r.f)(this.height);t.width=n,t.height=n}return this.iconSize&&(t.fontSize=Object(r.f)(this.iconSize)),t.backgroundColor=this.color,t},wrapperStyle:function(){var t={};return t.backgroundColor=this.backgroundColor,t}},created:function(){var t=this.range(this.value?this.value:1);t!==+this.value&&this.$emit("input",t),this.currentValue=t},watch:{value:function(t){t!==this.currentValue&&(this.currentValue=this.format(t))},currentValue:function(t){this.$emit("input",t)}},methods:{format:function(t){return t=String(t).replace(/[^0-9.-]/g,""),""===t?0:this.integer?Math.floor(t):+t},range:function(t){return Math.max(Math.min(this.max,this.format(t)),this.min)},onInput:function(t){var n=t.target.value,e=this.format(n);+n!==e&&(t.target.value=e),this.currentValue=e,this.$emit("input",e)},onFocus:function(t){this.$emit("focus",t)},onBlur:function(t){var n=this.format(this.currentValue);n<this.min?this.$emit("error","最小值不能低于"+this.min):n>this.max&&this.$emit("error","最大值不能超过"+this.max),this.currentValue=this.range(this.currentValue),this.$emit("change",this.currentValue,"plus","blur"),this.$emit("blur",t)},onChange:function(t){if(!("minus"===t&&this.minusDisabled||"plus"===t&&this.plusDisabled)){var n="minus"===t?-this.step:+this.step,e=Math.round(100*(this.currentValue+n))/100;this.currentValue=this.range(e),this.$emit(t,this.currentValue),this.$emit("change",this.currentValue,t)}}}}},27:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},28:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},29:function(t,n,e){var r=e(30)("keys"),o=e(19);t.exports=function(t){return r[t]||(r[t]=o(t))}},3:function(t,n,e){"use strict";function r(t,n,e,r,o,i,u,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var s="function"==typeof t?t.options:t;n&&(s.render=n,s.staticRenderFns=e,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId=i);var f;if(u?(f=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},s._ssrRegister=f):o&&(f=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(s.functional){s._injectStyles=f;var l=s.render;s.render=function(t,n){return f.call(n),l(t,n)}}else{var p=s.beforeCreate;s.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:s}}n.a=r},30:function(t,n,e){var r=e(0),o=e(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(15)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},31:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},314:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(315);r.a.install=function(t){t.component(r.a.name,r.a)},n.default=r.a},315:function(t,n,e){"use strict";function r(t){a||e(316)}var o=e(260),i=e(317),u=e(3),a=!1,c=r,s=Object(u.a)(o.a,i.a,i.b,!1,c,"data-v-356b0c2f",null);s.options.__file="src\\components\\Stepper\\src\\index.vue",n.a=s.exports},316:function(t,n){},317:function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return o});var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"act-stepper"},[e("div",{staticClass:"act-stepper-wrapper",style:t.wrapperStyle},[e("span",{class:["minus",{disabled:t.minusDisabled}],style:t.buttonStyle,on:{click:function(n){return t.onChange("minus")}}},[e("i",{staticClass:"horiz"})]),t._v(" "),e("div",{staticClass:"content"},[t._t("before"),t._v(" "),t.disableInput?e("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",staticClass:"input disabled",attrs:{disabled:"",type:"number"},domProps:{value:t.currentValue},on:{input:function(n){n.target.composing||(t.currentValue=n.target.value)}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],staticClass:"input",style:t.inputStyle,attrs:{type:"number"},domProps:{value:t.currentValue},on:{input:[function(n){n.target.composing||(t.currentValue=n.target.value)},t.onInput],focus:t.onFocus,blur:t.onBlur}}),t._v(" "),t.$slots.after?t._t("after"):t._e()],2),t._v(" "),e("span",{class:["plus",{disabled:t.plusDisabled}],style:t.buttonStyle,on:{click:function(n){return t.onChange("plus")}}},[e("i",{staticClass:"horiz"}),t._v(" "),e("i",{staticClass:"vertical"})])])])},o=[];r._withStripped=!0},32:function(t,n,e){var r=e(9);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},33:function(t,n,e){n.f=e(2)},34:function(t,n,e){var r=e(1),o=e(0),i=e(15),u=e(33),a=e(7).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},36:function(t,n){n.f=Object.getOwnPropertySymbols},37:function(t,n,e){var r=e(38);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},38:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},39:function(t,n,e){var r=e(9),o=e(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},4:function(t,n,e){t.exports=!e(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},41:function(t,n,e){"use strict";var r=e(15),o=e(13),i=e(44),u=e(6),a=e(17),c=e(65),s=e(25),f=e(69),l=e(2)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,h,v,y,m){c(e,n,h);var g,b,S,x=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",O="values"==v,_=!1,j=t.prototype,E=j[l]||j["@@iterator"]||v&&j[v],M=E||x(v),P=v?O?x("entries"):M:void 0,C="Array"==n?j.entries||E:E;if(C&&(S=f(C.call(new t)))!==Object.prototype&&S.next&&(s(S,w,!0),r||"function"==typeof S[l]||u(S,l,d)),O&&E&&"values"!==E.name&&(_=!0,M=function(){return E.call(this)}),r&&!m||!p&&!_&&j[l]||u(j,l,M),a[n]=M,a[w]=d,v)if(g={values:O?M:x("values"),keys:y?M:x("keys"),entries:P},m)for(b in g)b in j||i(j,b,g[b]);else o(o.P+o.F*(p||_),n,g);return g}},42:function(t,n,e){var r=e(8),o=e(66),i=e(31),u=e(29)("IE_PROTO"),a=function(){},c=function(){var t,n=e(39)("iframe"),r=i.length;for(n.style.display="none",e(56).appendChild(n),n.src="javascript:",t=n.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,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[u]=t):e=c(),void 0===n?e:o(e,n)}},43:function(t,n,e){t.exports=!e(4)&&!e(12)(function(){return 7!=Object.defineProperty(e(39)("div"),"a",{get:function(){return 7}}).a})},44:function(t,n,e){t.exports=e(6)},45:function(t,n,e){var r=e(5),o=e(10),i=e(67)(!1),u=e(29)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,s=[];for(e in a)e!=u&&r(a,e)&&s.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~i(s,e)||s.push(e));return s}},46:function(t,n,e){var r=e(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},47:function(t,n,e){var r=e(45),o=e(31).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},48:function(t,n,e){var r=e(10),o=e(47).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?a(t):o(r(t))}},49:function(t,n,e){"use strict";var r=e(1),o=e(5),i=e(4),u=e(13),a=e(44),c=e(76).KEY,s=e(12),f=e(30),l=e(25),p=e(19),d=e(2),h=e(33),v=e(34),y=e(77),m=e(78),g=e(8),b=e(9),S=e(20),x=e(10),w=e(32),O=e(18),_=e(42),j=e(48),E=e(79),M=e(36),P=e(7),C=e(14),A=E.f,T=P.f,I=j.f,N=r.Symbol,V=r.JSON,k=V&&V.stringify,L=d("_hidden"),$=d("toPrimitive"),F={}.propertyIsEnumerable,D=f("symbol-registry"),W=f("symbols"),R=f("op-symbols"),B=Object.prototype,z="function"==typeof N&&!!M.f,G=r.QObject,J=!G||!G.prototype||!G.prototype.findChild,H=i&&s(function(){return 7!=_(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=A(B,n);r&&delete B[n],T(t,n,e),r&&t!==B&&T(B,n,r)}:T,U=function(t){var n=W[t]=_(N.prototype);return n._k=t,n},q=z&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},K=function(t,n,e){return t===B&&K(R,n,e),g(t),n=w(n,!0),g(e),o(W,n)?(e.enumerable?(o(t,L)&&t[L][n]&&(t[L][n]=!1),e=_(e,{enumerable:O(0,!1)})):(o(t,L)||T(t,L,O(1,{})),t[L][n]=!0),H(t,n,e)):T(t,n,e)},Q=function(t,n){g(t);for(var e,r=y(n=x(n)),o=0,i=r.length;i>o;)K(t,e=r[o++],n[e]);return t},X=function(t,n){return void 0===n?_(t):Q(_(t),n)},Y=function(t){var n=F.call(this,t=w(t,!0));return!(this===B&&o(W,t)&&!o(R,t))&&(!(n||!o(this,t)||!o(W,t)||o(this,L)&&this[L][t])||n)},Z=function(t,n){if(t=x(t),n=w(n,!0),t!==B||!o(W,n)||o(R,n)){var e=A(t,n);return!e||!o(W,n)||o(t,L)&&t[L][n]||(e.enumerable=!0),e}},tt=function(t){for(var n,e=I(x(t)),r=[],i=0;e.length>i;)o(W,n=e[i++])||n==L||n==c||r.push(n);return r},nt=function(t){for(var n,e=t===B,r=I(e?R:x(t)),i=[],u=0;r.length>u;)!o(W,n=r[u++])||e&&!o(B,n)||i.push(W[n]);return i};z||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===B&&n.call(R,e),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),H(this,t,O(1,e))};return i&&J&&H(B,t,{configurable:!0,set:n}),U(t)},a(N.prototype,"toString",function(){return this._k}),E.f=Z,P.f=K,e(47).f=j.f=tt,e(21).f=Y,M.f=nt,i&&!e(15)&&a(B,"propertyIsEnumerable",Y,!0),h.f=function(t){return U(d(t))}),u(u.G+u.W+u.F*!z,{Symbol:N});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)d(et[rt++]);for(var ot=C(d.store),it=0;ot.length>it;)v(ot[it++]);u(u.S+u.F*!z,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=N(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var n in D)if(D[n]===t)return n},useSetter:function(){J=!0},useSimple:function(){J=!1}}),u(u.S+u.F*!z,"Object",{create:X,defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:nt});var ut=s(function(){M.f(1)});u(u.S+u.F*ut,"Object",{getOwnPropertySymbols:function(t){return M.f(S(t))}}),V&&u(u.S+u.F*(!z||s(function(){var t=N();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(b(n)||void 0!==t)&&!q(t))return m(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!q(n))return n}),r[1]=n,k.apply(V,r)}}),N.prototype[$]||e(6)(N.prototype,$,N.prototype.valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},5:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},50:function(t,n,e){"use strict";var r=e(64)(!0);e(41)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},51:function(t,n,e){e(70);for(var r=e(1),o=e(6),i=e(17),u=e(2)("toStringTag"),a="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<a.length;c++){var s=a[c],f=r[s],l=f&&f.prototype;l&&!l[u]&&o(l,u,s),i[s]=i.Array}},54:function(t,n,e){t.exports={default:e(75),__esModule:!0}},55:function(t,n,e){var r=e(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},56:function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},57:function(t,n){},6:function(t,n,e){var r=e(7),o=e(18);t.exports=e(4)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},64:function(t,n,e){var r=e(27),o=e(28);t.exports=function(t){return function(n,e){var i,u,a=String(o(n)),c=r(e),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536)}}},65:function(t,n,e){"use strict";var r=e(42),o=e(18),i=e(25),u={};e(6)(u,e(2)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},66:function(t,n,e){var r=e(7),o=e(8),i=e(14);t.exports=e(4)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),a=u.length,c=0;a>c;)r.f(t,e=u[c++],n[e]);return t}},67:function(t,n,e){var r=e(10),o=e(55),i=e(68);t.exports=function(t){return function(n,e,u){var a,c=r(n),s=o(c.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},68:function(t,n,e){var r=e(27),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},69:function(t,n,e){var r=e(5),o=e(20),i=e(29)("IE_PROTO"),u=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?u:null}},7:function(t,n,e){var r=e(8),o=e(43),i=e(32),u=Object.defineProperty;n.f=e(4)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},70:function(t,n,e){"use strict";var r=e(71),o=e(72),i=e(17),u=e(10);t.exports=e(41)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},71:function(t,n){t.exports=function(){}},72:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},74:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(80),i=r(o),u=e(82),a=r(u),c="function"==typeof a.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===c(i.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":c(t)}},75:function(t,n,e){var r=e(0),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},76:function(t,n,e){var r=e(19)("meta"),o=e(9),i=e(5),u=e(7).f,a=0,c=Object.isExtensible||function(){return!0},s=!e(12)(function(){return c(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";f(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;f(t)}return t[r].w},d=function(t){return s&&h.NEED&&c(t)&&!i(t,r)&&f(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},77:function(t,n,e){var r=e(14),o=e(36),i=e(21);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,a=e(t),c=i.f,s=0;a.length>s;)c.call(t,u=a[s++])&&n.push(u);return n}},78:function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},79:function(t,n,e){var r=e(21),o=e(18),i=e(10),u=e(32),a=e(5),c=e(43),s=Object.getOwnPropertyDescriptor;n.f=e(4)?s:function(t,n){if(t=i(t),n=u(n,!0),c)try{return s(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},8:function(t,n,e){var r=e(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},80:function(t,n,e){t.exports={default:e(81),__esModule:!0}},81:function(t,n,e){e(50),e(51),t.exports=e(33).f("iterator")},82:function(t,n,e){t.exports={default:e(83),__esModule:!0}},83:function(t,n,e){e(49),e(57),e(84),e(85),t.exports=e(0).Symbol},84:function(t,n,e){e(34)("asyncIterator")},85:function(t,n,e){e(34)("observable")},9:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}}})});
|
|
1
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Stepper=n():t.Stepper=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="../lib",n(n.s=332)}({0:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},1:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},10:function(t,n,e){var r=e(46),o=e(28);t.exports=function(t){return r(o(t))}},11:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},12:function(t,n,e){"use strict";function r(t,n){if(t.findIndex)return t.findIndex(n);var e=-1;return t.some(function(t,r,o){var i=n.call(this,t,r,o);if(i)return e=r,i}),e}function o(t){return t?JSON.parse(k()(t)):t}function i(t,n){for(var e in n)t[e]&&"object"===N()(t[e])?i(t[e],n[e]):t[e]=n[e]}function u(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return"[object Number]"===Object.prototype.toString.call(t)}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function l(t){return null===t}function p(t){return void 0!==t&&null!==t}function d(t){return void 0===t}function h(t){return"[object Error]"===Object.prototype.toString.call(t)}function v(t){return"function"==typeof t}function y(t,n,e){function r(n){var e=y,r=m;return y=m=void 0,w=n,b=t.apply(r,e)}function o(t,n){return E?(window.cancelAnimationFrame(S),window.requestAnimationFrame(t)):setTimeout(t,n)}function i(t){if(E)return window.cancelAnimationFrame(t);clearTimeout(t)}function u(t){return w=t,S=o(f,n),O?r(t):b}function a(t){var e=t-x,r=t-w,o=n-e;return _?Math.min(o,g-r):o}function c(t){var e=t-x,r=t-w;return void 0===x||e>=n||e<0||_&&r>=g}function f(){var t=Date.now();if(c(t))return l(t);S=o(f,a(t))}function l(t){return S=void 0,j&&y?r(t):(y=m=void 0,b)}function p(){void 0!==S&&i(S),w=0,y=x=m=S=void 0}function d(){return void 0===S?b:l(Date.now())}function h(){return void 0!==S}function v(){for(var t=Date.now(),e=c(t),i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];if(y=a,m=this,x=t,e){if(void 0===S)return u(x);if(_)return S=o(f,n),r(x)}return void 0===S&&(S=o(f,n)),b}var y=void 0,m=void 0,g=void 0,b=void 0,S=void 0,x=void 0,w=0,O=!1,_=!1,j=!0,E=!n&&0!==n&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return n=+n||0,s(e)&&(O=!!e.leading,_="maxWait"in e,g=_?Math.max(+e.maxWait||0,n):g,j="trailing"in e?!!e.trailing:j),v.cancel=p,v.flush=d,v.pending=h,v}function m(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return s(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),y(t,n,{leading:r,trailing:o,maxWait:n})}function g(t){return!!/^1\d{10}$/.test(t)}function b(t){var n=t.length;return n>3&&n<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):n>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,n,e){return n+" "+e.replace(/(.{4})(?=.)/g,"$1 ")})),t}function S(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function x(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function w(t){if(!t)return"";var n=t.length;return 2===n?t.split("").join("  "):3===n?t.split("").join(" "):t}function O(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.offsetHeight;if(n){var r=t.currentStyle||getComputedStyle(t);e+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return e}function _(t,n){var e=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),o=null;return e?o={r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16)}:r&&(o={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),o?void 0!==n?"rgba("+o.r+", "+o.g+", "+o.b+", "+n+")":"rgb("+o.r+", "+o.g+", "+o.b+")":""}function j(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",e=n.length,r="";t=t||32;for(var o=0;o<t;o++)r+=n.charAt(Math.floor(Math.random()*e));return r}function E(t,n){var e=n||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),o=e.match(r);return o&&o[2]}function M(t){var n=window.getComputedStyle(t),e="none"===n.display,r=null===t.offsetParent&&"fixed"!==n.position;return e||r}function P(t,n,e){return Math.min(Math.max(t,n),e)}function C(t){var n=/os (\d\d?_\d(_\d)?)/,e=n.exec(t);if(!e)return null;var r=e[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function A(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n=n||window.location.href;var e=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=n.match(e);return decodeURIComponent(r?r[2]:"")}function T(t){return t?h(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}e.d(n,"E",function(){return X}),e.d(n,"u",function(){return Y}),n.d=r,n.c=o,n.b=i,n.n=u,n.y=a,n.w=c,n.x=s,n.o=f,n.v=l,n.p=p,n.z=d,n.q=h,n.r=v,n.a=y,n.D=m,n.t=g,n.g=b,n.e=S,n.f=x,n.h=w,n.A=O,n.m=_,n.B=j,n.k=E,n.s=M,n.C=P,n.j=C,n.l=A,n.i=T;var I=e(70),N=e.n(I),V=e(53),k=e.n(V),L="undefined"!=typeof window,$=L&&window.navigator.userAgent.toLowerCase(),F=$&&/msie|trident/.test($),D=$&&$.indexOf("msie 9.0")>0,W=$&&$.indexOf("edge/")>0,R=$&&$.indexOf("android")>0,B=$&&/iphone|ipad|ipod|ios/.test($),z=$&&/chrome\/\d+/.test($)&&!W,G=$&&/MicroMessenger/i.test($),J=$&&/wxwork/i.test($),H=$&&/mucxiaoyusan/i.test($),U=$&&/muckacabao/i.test($),q=$&&/mucyanxuan/i.test($),K=H||U,Q=$&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test($),X={isIE:F,isMobile:Q,isIE9:D,isEdge:W,isAndroid:R,isIOS:B,isChrome:z,isWx:G,isWxWork:J,isApp:K,isXysApp:H,isKcbApp:U,isYxApp:q},Y=/MucWebAutoTester/.test(window.navigator.userAgent)},13:function(t,n,e){var r=e(1),o=e(0),i=e(37),u=e(6),a=e(5),c=function(t,n,e){var s,f,l,p=t&c.F,d=t&c.G,h=t&c.S,v=t&c.P,y=t&c.B,m=t&c.W,g=d?o:o[n]||(o[n]={}),b=g.prototype,S=d?r:h?r[n]:(r[n]||{}).prototype;d&&(e=n);for(s in e)(f=!p&&S&&void 0!==S[s])&&a(g,s)||(l=f?S[s]:e[s],g[s]=d&&"function"!=typeof S[s]?e[s]:y&&f?i(l,r):m&&S[s]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[s]=l,t&c.R&&b&&!b[s]&&u(b,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},14:function(t,n,e){var r=e(45),o=e(31);t.exports=Object.keys||function(t){return r(t,o)}},15:function(t,n){t.exports=!0},17:function(t,n){t.exports={}},18:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},19:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},2:function(t,n,e){var r=e(30)("wks"),o=e(19),i=e(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},20:function(t,n,e){var r=e(28);t.exports=function(t){return Object(r(t))}},21:function(t,n){n.f={}.propertyIsEnumerable},24:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},25:function(t,n,e){var r=e(7).f,o=e(5),i=e(2)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},263:function(t,n,e){"use strict";var r=e(12);n.a={name:"ActStepper",props:{value:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:1/0},step:{type:[Number,String],default:1},integer:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},disableInput:{type:Boolean,default:!1},color:{type:String,default:""},backgroundColor:{type:String,default:""},fontSize:{type:[Number,String],default:""},iconSize:{type:[Number,String],default:""},inputWidth:{type:[Number,String],default:""},height:{type:[Number,String],default:""}},data:function(){return{currentValue:1}},computed:{minusDisabled:function(){return this.disabled||this.currentValue<=this.min},plusDisabled:function(){return this.disabled||this.currentValue>=this.max},inputStyle:function(){var t={};return this.inputWidth&&(t.width=Object(r.f)(this.inputWidth)),this.height&&(t.height=Object(r.f)(this.height)),this.fontSize&&(t.fontSize=Object(r.f)(this.fontSize)),t},buttonStyle:function(){var t={};if(this.height){var n=Object(r.f)(this.height);t.width=n,t.height=n}return this.iconSize&&(t.fontSize=Object(r.f)(this.iconSize)),t.backgroundColor=this.color,t},wrapperStyle:function(){var t={};return t.backgroundColor=this.backgroundColor,t}},created:function(){var t=this.range(this.value?this.value:1);t!==+this.value&&this.$emit("input",t),this.currentValue=t},watch:{value:function(t){t!==this.currentValue&&(this.currentValue=this.format(t))},currentValue:function(t){this.$emit("input",t)}},methods:{format:function(t){return t=String(t).replace(/[^0-9.-]/g,""),""===t?0:this.integer?Math.floor(t):+t},range:function(t){return Math.max(Math.min(this.max,this.format(t)),this.min)},onInput:function(t){var n=t.target.value,e=this.format(n);+n!==e&&(t.target.value=e),this.currentValue=e,this.$emit("input",e)},onFocus:function(t){this.$emit("focus",t)},onBlur:function(t){var n=this.format(this.currentValue);n<this.min?this.$emit("error","最小值不能低于"+this.min):n>this.max&&this.$emit("error","最大值不能超过"+this.max),this.currentValue=this.range(this.currentValue),this.$emit("change",this.currentValue,"plus","blur"),this.$emit("blur",t)},onChange:function(t){if(!("minus"===t&&this.minusDisabled||"plus"===t&&this.plusDisabled)){var n="minus"===t?-this.step:+this.step,e=Math.round(100*(this.currentValue+n))/100;this.currentValue=this.range(e),this.$emit(t,this.currentValue),this.$emit("change",this.currentValue,t)}}}}},27:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},28:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},29:function(t,n,e){var r=e(30)("keys"),o=e(19);t.exports=function(t){return r[t]||(r[t]=o(t))}},3:function(t,n,e){"use strict";function r(t,n,e,r,o,i,u,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var s="function"==typeof t?t.options:t;n&&(s.render=n,s.staticRenderFns=e,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId=i);var f;if(u?(f=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},s._ssrRegister=f):o&&(f=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(s.functional){s._injectStyles=f;var l=s.render;s.render=function(t,n){return f.call(n),l(t,n)}}else{var p=s.beforeCreate;s.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:s}}n.a=r},30:function(t,n,e){var r=e(0),o=e(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(15)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},31:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},32:function(t,n,e){var r=e(9);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},33:function(t,n,e){n.f=e(2)},332:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(333);r.a.install=function(t){t.component(r.a.name,r.a)},n.default=r.a},333:function(t,n,e){"use strict";function r(t){a||e(334)}var o=e(263),i=e(335),u=e(3),a=!1,c=r,s=Object(u.a)(o.a,i.a,i.b,!1,c,"data-v-356b0c2f",null);s.options.__file="src\\components\\Stepper\\src\\index.vue",n.a=s.exports},334:function(t,n){},335:function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return o});var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"act-stepper"},[e("div",{staticClass:"act-stepper-wrapper",style:t.wrapperStyle},[e("span",{class:["minus",{disabled:t.minusDisabled}],style:t.buttonStyle,on:{click:function(n){return t.onChange("minus")}}},[e("i",{staticClass:"horiz"})]),t._v(" "),e("div",{staticClass:"content"},[t._t("before"),t._v(" "),t.disableInput?e("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],ref:"input",staticClass:"input disabled",attrs:{disabled:"",type:"number"},domProps:{value:t.currentValue},on:{input:function(n){n.target.composing||(t.currentValue=n.target.value)}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],staticClass:"input",style:t.inputStyle,attrs:{type:"number"},domProps:{value:t.currentValue},on:{input:[function(n){n.target.composing||(t.currentValue=n.target.value)},t.onInput],focus:t.onFocus,blur:t.onBlur}}),t._v(" "),t.$slots.after?t._t("after"):t._e()],2),t._v(" "),e("span",{class:["plus",{disabled:t.plusDisabled}],style:t.buttonStyle,on:{click:function(n){return t.onChange("plus")}}},[e("i",{staticClass:"horiz"}),t._v(" "),e("i",{staticClass:"vertical"})])])])},o=[];r._withStripped=!0},34:function(t,n,e){var r=e(1),o=e(0),i=e(15),u=e(33),a=e(7).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},35:function(t,n){n.f=Object.getOwnPropertySymbols},37:function(t,n,e){var r=e(39);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},38:function(t,n,e){var r=e(9),o=e(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},39:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},4:function(t,n,e){t.exports=!e(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},41:function(t,n,e){"use strict";var r=e(15),o=e(13),i=e(44),u=e(6),a=e(17),c=e(61),s=e(25),f=e(65),l=e(2)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,h,v,y,m){c(e,n,h);var g,b,S,x=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",O="values"==v,_=!1,j=t.prototype,E=j[l]||j["@@iterator"]||v&&j[v],M=E||x(v),P=v?O?x("entries"):M:void 0,C="Array"==n?j.entries||E:E;if(C&&(S=f(C.call(new t)))!==Object.prototype&&S.next&&(s(S,w,!0),r||"function"==typeof S[l]||u(S,l,d)),O&&E&&"values"!==E.name&&(_=!0,M=function(){return E.call(this)}),r&&!m||!p&&!_&&j[l]||u(j,l,M),a[n]=M,a[w]=d,v)if(g={values:O?M:x("values"),keys:y?M:x("keys"),entries:P},m)for(b in g)b in j||i(j,b,g[b]);else o(o.P+o.F*(p||_),n,g);return g}},42:function(t,n,e){var r=e(8),o=e(62),i=e(31),u=e(29)("IE_PROTO"),a=function(){},c=function(){var t,n=e(38)("iframe"),r=i.length;for(n.style.display="none",e(55).appendChild(n),n.src="javascript:",t=n.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,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[u]=t):e=c(),void 0===n?e:o(e,n)}},43:function(t,n,e){t.exports=!e(4)&&!e(11)(function(){return 7!=Object.defineProperty(e(38)("div"),"a",{get:function(){return 7}}).a})},44:function(t,n,e){t.exports=e(6)},45:function(t,n,e){var r=e(5),o=e(10),i=e(63)(!1),u=e(29)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,s=[];for(e in a)e!=u&&r(a,e)&&s.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~i(s,e)||s.push(e));return s}},46:function(t,n,e){var r=e(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},47:function(t,n,e){var r=e(45),o=e(31).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},48:function(t,n,e){var r=e(10),o=e(47).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?a(t):o(r(t))}},49:function(t,n,e){"use strict";var r=e(1),o=e(5),i=e(4),u=e(13),a=e(44),c=e(73).KEY,s=e(11),f=e(30),l=e(25),p=e(19),d=e(2),h=e(33),v=e(34),y=e(74),m=e(75),g=e(8),b=e(9),S=e(20),x=e(10),w=e(32),O=e(18),_=e(42),j=e(48),E=e(76),M=e(35),P=e(7),C=e(14),A=E.f,T=P.f,I=j.f,N=r.Symbol,V=r.JSON,k=V&&V.stringify,L=d("_hidden"),$=d("toPrimitive"),F={}.propertyIsEnumerable,D=f("symbol-registry"),W=f("symbols"),R=f("op-symbols"),B=Object.prototype,z="function"==typeof N&&!!M.f,G=r.QObject,J=!G||!G.prototype||!G.prototype.findChild,H=i&&s(function(){return 7!=_(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=A(B,n);r&&delete B[n],T(t,n,e),r&&t!==B&&T(B,n,r)}:T,U=function(t){var n=W[t]=_(N.prototype);return n._k=t,n},q=z&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},K=function(t,n,e){return t===B&&K(R,n,e),g(t),n=w(n,!0),g(e),o(W,n)?(e.enumerable?(o(t,L)&&t[L][n]&&(t[L][n]=!1),e=_(e,{enumerable:O(0,!1)})):(o(t,L)||T(t,L,O(1,{})),t[L][n]=!0),H(t,n,e)):T(t,n,e)},Q=function(t,n){g(t);for(var e,r=y(n=x(n)),o=0,i=r.length;i>o;)K(t,e=r[o++],n[e]);return t},X=function(t,n){return void 0===n?_(t):Q(_(t),n)},Y=function(t){var n=F.call(this,t=w(t,!0));return!(this===B&&o(W,t)&&!o(R,t))&&(!(n||!o(this,t)||!o(W,t)||o(this,L)&&this[L][t])||n)},Z=function(t,n){if(t=x(t),n=w(n,!0),t!==B||!o(W,n)||o(R,n)){var e=A(t,n);return!e||!o(W,n)||o(t,L)&&t[L][n]||(e.enumerable=!0),e}},tt=function(t){for(var n,e=I(x(t)),r=[],i=0;e.length>i;)o(W,n=e[i++])||n==L||n==c||r.push(n);return r},nt=function(t){for(var n,e=t===B,r=I(e?R:x(t)),i=[],u=0;r.length>u;)!o(W,n=r[u++])||e&&!o(B,n)||i.push(W[n]);return i};z||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===B&&n.call(R,e),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),H(this,t,O(1,e))};return i&&J&&H(B,t,{configurable:!0,set:n}),U(t)},a(N.prototype,"toString",function(){return this._k}),E.f=Z,P.f=K,e(47).f=j.f=tt,e(21).f=Y,M.f=nt,i&&!e(15)&&a(B,"propertyIsEnumerable",Y,!0),h.f=function(t){return U(d(t))}),u(u.G+u.W+u.F*!z,{Symbol:N});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)d(et[rt++]);for(var ot=C(d.store),it=0;ot.length>it;)v(ot[it++]);u(u.S+u.F*!z,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=N(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var n in D)if(D[n]===t)return n},useSetter:function(){J=!0},useSimple:function(){J=!1}}),u(u.S+u.F*!z,"Object",{create:X,defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:nt});var ut=s(function(){M.f(1)});u(u.S+u.F*ut,"Object",{getOwnPropertySymbols:function(t){return M.f(S(t))}}),V&&u(u.S+u.F*(!z||s(function(){var t=N();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(b(n)||void 0!==t)&&!q(t))return m(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!q(n))return n}),r[1]=n,k.apply(V,r)}}),N.prototype[$]||e(6)(N.prototype,$,N.prototype.valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},5:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},50:function(t,n,e){"use strict";var r=e(60)(!0);e(41)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},51:function(t,n,e){e(66);for(var r=e(1),o=e(6),i=e(17),u=e(2)("toStringTag"),a="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<a.length;c++){var s=a[c],f=r[s],l=f&&f.prototype;l&&!l[u]&&o(l,u,s),i[s]=i.Array}},53:function(t,n,e){t.exports={default:e(72),__esModule:!0}},54:function(t,n,e){var r=e(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},55:function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},56:function(t,n){},6:function(t,n,e){var r=e(7),o=e(18);t.exports=e(4)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},60:function(t,n,e){var r=e(27),o=e(28);t.exports=function(t){return function(n,e){var i,u,a=String(o(n)),c=r(e),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536)}}},61:function(t,n,e){"use strict";var r=e(42),o=e(18),i=e(25),u={};e(6)(u,e(2)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},62:function(t,n,e){var r=e(7),o=e(8),i=e(14);t.exports=e(4)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),a=u.length,c=0;a>c;)r.f(t,e=u[c++],n[e]);return t}},63:function(t,n,e){var r=e(10),o=e(54),i=e(64);t.exports=function(t){return function(n,e,u){var a,c=r(n),s=o(c.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},64:function(t,n,e){var r=e(27),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},65:function(t,n,e){var r=e(5),o=e(20),i=e(29)("IE_PROTO"),u=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?u:null}},66:function(t,n,e){"use strict";var r=e(67),o=e(68),i=e(17),u=e(10);t.exports=e(41)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},67:function(t,n){t.exports=function(){}},68:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},7:function(t,n,e){var r=e(8),o=e(43),i=e(32),u=Object.defineProperty;n.f=e(4)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},70:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(77),i=r(o),u=e(79),a=r(u),c="function"==typeof a.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===c(i.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":c(t)}},72:function(t,n,e){var r=e(0),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},73:function(t,n,e){var r=e(19)("meta"),o=e(9),i=e(5),u=e(7).f,a=0,c=Object.isExtensible||function(){return!0},s=!e(11)(function(){return c(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";f(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;f(t)}return t[r].w},d=function(t){return s&&h.NEED&&c(t)&&!i(t,r)&&f(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},74:function(t,n,e){var r=e(14),o=e(35),i=e(21);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,a=e(t),c=i.f,s=0;a.length>s;)c.call(t,u=a[s++])&&n.push(u);return n}},75:function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},76:function(t,n,e){var r=e(21),o=e(18),i=e(10),u=e(32),a=e(5),c=e(43),s=Object.getOwnPropertyDescriptor;n.f=e(4)?s:function(t,n){if(t=i(t),n=u(n,!0),c)try{return s(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},77:function(t,n,e){t.exports={default:e(78),__esModule:!0}},78:function(t,n,e){e(50),e(51),t.exports=e(33).f("iterator")},79:function(t,n,e){t.exports={default:e(80),__esModule:!0}},8:function(t,n,e){var r=e(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},80:function(t,n,e){e(49),e(56),e(81),e(82),t.exports=e(0).Symbol},81:function(t,n,e){e(34)("asyncIterator")},82:function(t,n,e){e(34)("observable")},9:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}}})});
|
package/lib/Sticky/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Sticky=e():t.Sticky=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return t[o].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,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},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="../lib",e(e.s=
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Sticky=e():t.Sticky=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return t[o].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,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},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="../lib",e(e.s=1301)}({1301:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(676);o.a.install=function(t){t.component(o.a.name,o.a)},e.default=o.a},3:function(t,e,n){"use strict";function o(t,e,n,o,i,r,s,c){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var f="function"==typeof t?t.options:t;e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),o&&(f.functional=!0),r&&(f._scopeId=r);var l;if(s?(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(s)},f._ssrRegister=l):i&&(l=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(f.functional){f._injectStyles=l;var a=f.render;f.render=function(t,e){return l.call(e),a(t,e)}}else{var d=f.beforeCreate;f.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:f}}e.a=o},547:function(t,e,n){"use strict";var o=n(678);e.a={name:"ActSticky",props:{offsetTop:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:""}},data:function(){return{height:0,fixed:!1}},computed:{containerStyle:function(){var t={};return this.fixed&&this.height&&(t.height=this.height+"px"),t},stickyStyle:function(){if(this.fixed){var t={};return this.zIndex&&(t.zIndex=this.zIndex),this.offsetTop&&this.fixed&&(t.top=this.offsetTop+"px"),t}}},mounted:function(){this.scroller=window,window.addEventListener("scroll",this.onScroll,!0),this.onScroll()},watch:{value:function(t){t!==this.currentValue&&(this.currentValue=this.format(t))},currentValue:function(t){this.$emit("input",t)}},methods:{onScroll:function(){this.height=this.$el.offsetHeight;var t=+this.offsetTop,e=Object(o.b)(window),n=Object(o.a)(this.$el);this.fixed=e+t>n,this.$emit("scroll",{scrollTop:e,isFixed:this.fixed})}},beforeDestroy:function(){window.removeEventListener("scroll",this.onScroll,!0)}}},676:function(t,e,n){"use strict";function o(t){c||n(677)}var i=n(547),r=n(679),s=n(3),c=!1,u=o,f=Object(s.a)(i.a,r.a,r.b,!1,u,"data-v-70e26592",null);f.options.__file="src\\components\\Sticky\\src\\index.vue",e.a=f.exports},677:function(t,e){},678:function(t,e,n){"use strict";function o(t){return"scrollTop"in t?t.scrollTop:t.pageYOffset}function i(t){return s(t)?0:t.getBoundingClientRect().top+r()}function r(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function s(t){return t===window}e.b=o,e.a=i},679:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return i});var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.containerStyle},[n("div",{class:{"sticky-fixed":t.fixed},style:t.stickyStyle},[t._t("default")],2)])},i=[];o._withStripped=!0}})});
|
package/lib/Style/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Style=t():e.Style=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../lib",t(t.s=
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Style=t():e.Style=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../lib",t(t.s=1163)}({1163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1164);n.n(o);t.default={install:function(){}}},1164:function(e,t){}})});
|