@panpanzhao/component-ui 1.24.1224 → 1.24.1226
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="/dist/",e(e.s=1)}([function(t,r,e){t.exports=function(t){"use strict";var r=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function e(t,r){var e=t[0],n=t[1],o=t[2],f=t[3];n=((n+=((o=((o+=((f=((f+=((e=((e+=(n&o|~n&f)+r[0]-680876936|0)<<7|e>>>25)+n|0)&n|~e&o)+r[1]-389564586|0)<<12|f>>>20)+e|0)&e|~f&n)+r[2]+606105819|0)<<17|o>>>15)+f|0)&f|~o&e)+r[3]-1044525330|0)<<22|n>>>10)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n&o|~n&f)+r[4]-176418897|0)<<7|e>>>25)+n|0)&n|~e&o)+r[5]+1200080426|0)<<12|f>>>20)+e|0)&e|~f&n)+r[6]-1473231341|0)<<17|o>>>15)+f|0)&f|~o&e)+r[7]-45705983|0)<<22|n>>>10)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n&o|~n&f)+r[8]+1770035416|0)<<7|e>>>25)+n|0)&n|~e&o)+r[9]-1958414417|0)<<12|f>>>20)+e|0)&e|~f&n)+r[10]-42063|0)<<17|o>>>15)+f|0)&f|~o&e)+r[11]-1990404162|0)<<22|n>>>10)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n&o|~n&f)+r[12]+1804603682|0)<<7|e>>>25)+n|0)&n|~e&o)+r[13]-40341101|0)<<12|f>>>20)+e|0)&e|~f&n)+r[14]-1502002290|0)<<17|o>>>15)+f|0)&f|~o&e)+r[15]+1236535329|0)<<22|n>>>10)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n&f|o&~f)+r[1]-165796510|0)<<5|e>>>27)+n|0)&o|n&~o)+r[6]-1069501632|0)<<9|f>>>23)+e|0)&n|e&~n)+r[11]+643717713|0)<<14|o>>>18)+f|0)&e|f&~e)+r[0]-373897302|0)<<20|n>>>12)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n&f|o&~f)+r[5]-701558691|0)<<5|e>>>27)+n|0)&o|n&~o)+r[10]+38016083|0)<<9|f>>>23)+e|0)&n|e&~n)+r[15]-660478335|0)<<14|o>>>18)+f|0)&e|f&~e)+r[4]-405537848|0)<<20|n>>>12)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n&f|o&~f)+r[9]+568446438|0)<<5|e>>>27)+n|0)&o|n&~o)+r[14]-1019803690|0)<<9|f>>>23)+e|0)&n|e&~n)+r[3]-187363961|0)<<14|o>>>18)+f|0)&e|f&~e)+r[8]+1163531501|0)<<20|n>>>12)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n&f|o&~f)+r[13]-1444681467|0)<<5|e>>>27)+n|0)&o|n&~o)+r[2]-51403784|0)<<9|f>>>23)+e|0)&n|e&~n)+r[7]+1735328473|0)<<14|o>>>18)+f|0)&e|f&~e)+r[12]-1926607734|0)<<20|n>>>12)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n^o^f)+r[5]-378558|0)<<4|e>>>28)+n|0)^n^o)+r[8]-2022574463|0)<<11|f>>>21)+e|0)^e^n)+r[11]+1839030562|0)<<16|o>>>16)+f|0)^f^e)+r[14]-35309556|0)<<23|n>>>9)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n^o^f)+r[1]-1530992060|0)<<4|e>>>28)+n|0)^n^o)+r[4]+1272893353|0)<<11|f>>>21)+e|0)^e^n)+r[7]-155497632|0)<<16|o>>>16)+f|0)^f^e)+r[10]-1094730640|0)<<23|n>>>9)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n^o^f)+r[13]+681279174|0)<<4|e>>>28)+n|0)^n^o)+r[0]-358537222|0)<<11|f>>>21)+e|0)^e^n)+r[3]-722521979|0)<<16|o>>>16)+f|0)^f^e)+r[6]+76029189|0)<<23|n>>>9)+o|0,n=((n+=((o=((o+=((f=((f+=((e=((e+=(n^o^f)+r[9]-640364487|0)<<4|e>>>28)+n|0)^n^o)+r[12]-421815835|0)<<11|f>>>21)+e|0)^e^n)+r[15]+530742520|0)<<16|o>>>16)+f|0)^f^e)+r[2]-995338651|0)<<23|n>>>9)+o|0,n=((n+=((f=((f+=(n^((e=((e+=(o^(n|~f))+r[0]-198630844|0)<<6|e>>>26)+n|0)|~o))+r[7]+1126891415|0)<<10|f>>>22)+e|0)^((o=((o+=(e^(f|~n))+r[14]-1416354905|0)<<15|o>>>17)+f|0)|~e))+r[5]-57434055|0)<<21|n>>>11)+o|0,n=((n+=((f=((f+=(n^((e=((e+=(o^(n|~f))+r[12]+1700485571|0)<<6|e>>>26)+n|0)|~o))+r[3]-1894986606|0)<<10|f>>>22)+e|0)^((o=((o+=(e^(f|~n))+r[10]-1051523|0)<<15|o>>>17)+f|0)|~e))+r[1]-2054922799|0)<<21|n>>>11)+o|0,n=((n+=((f=((f+=(n^((e=((e+=(o^(n|~f))+r[8]+1873313359|0)<<6|e>>>26)+n|0)|~o))+r[15]-30611744|0)<<10|f>>>22)+e|0)^((o=((o+=(e^(f|~n))+r[6]-1560198380|0)<<15|o>>>17)+f|0)|~e))+r[13]+1309151649|0)<<21|n>>>11)+o|0,n=((n+=((f=((f+=(n^((e=((e+=(o^(n|~f))+r[4]-145523070|0)<<6|e>>>26)+n|0)|~o))+r[11]-1120210379|0)<<10|f>>>22)+e|0)^((o=((o+=(e^(f|~n))+r[2]+718787259|0)<<15|o>>>17)+f|0)|~e))+r[9]-343485551|0)<<21|n>>>11)+o|0,t[0]=e+t[0]|0,t[1]=n+t[1]|0,t[2]=o+t[2]|0,t[3]=f+t[3]|0}function n(t){var r,e=[];for(r=0;r<64;r+=4)e[r>>2]=t.charCodeAt(r)+(t.charCodeAt(r+1)<<8)+(t.charCodeAt(r+2)<<16)+(t.charCodeAt(r+3)<<24);return e}function o(t){var r,e=[];for(r=0;r<64;r+=4)e[r>>2]=t[r]+(t[r+1]<<8)+(t[r+2]<<16)+(t[r+3]<<24);return e}function f(t){var r,o,f,i,s,a,u=t.length,h=[1732584193,-271733879,-1732584194,271733878];for(r=64;r<=u;r+=64)e(h,n(t.substring(r-64,r)));for(o=(t=t.substring(r-64)).length,f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0;r<o;r+=1)f[r>>2]|=t.charCodeAt(r)<<(r%4<<3);if(f[r>>2]|=128<<(r%4<<3),r>55)for(e(h,f),r=0;r<16;r+=1)f[r]=0;return i=(i=8*u).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(i[2],16),a=parseInt(i[1],16)||0,f[14]=s,f[15]=a,e(h,f),h}function i(t){var e,n="";for(e=0;e<4;e+=1)n+=r[t>>8*e+4&15]+r[t>>8*e&15];return n}function s(t){var r;for(r=0;r<t.length;r+=1)t[r]=i(t[r]);return t.join("")}function a(t){return/[\u0080-\uFFFF]/.test(t)&&(t=unescape(encodeURIComponent(t))),t}function u(t){var r,e=[],n=t.length;for(r=0;r<n-1;r+=2)e.push(parseInt(t.substr(r,2),16));return String.fromCharCode.apply(String,e)}function h(){this.reset()}return s(f("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function r(t,r){return(t=0|t||0)<0?Math.max(t+r,0):Math.min(t,r)}ArrayBuffer.prototype.slice=function(e,n){var o,f,i,s,a=this.byteLength,u=r(e,a),h=a;return n!==t&&(h=r(n,a)),u>h?new ArrayBuffer(0):(o=h-u,f=new ArrayBuffer(o),i=new Uint8Array(f),s=new Uint8Array(this,u,o),i.set(s),f)}}(),h.prototype.append=function(t){return this.appendBinary(a(t)),this},h.prototype.appendBinary=function(t){this._buff+=t,this._length+=t.length;var r,o=this._buff.length;for(r=64;r<=o;r+=64)e(this._hash,n(this._buff.substring(r-64,r)));return this._buff=this._buff.substring(r-64),this},h.prototype.end=function(t){var r,e,n=this._buff,o=n.length,f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(r=0;r<o;r+=1)f[r>>2]|=n.charCodeAt(r)<<(r%4<<3);return this._finish(f,o),e=s(this._hash),t&&(e=u(e)),this.reset(),e},h.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},h.prototype.setState=function(t){return this._buff=t.buff,this._length=t.length,this._hash=t.hash,this},h.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},h.prototype._finish=function(t,r){var n,o,f,i=r;if(t[i>>2]|=128<<(i%4<<3),i>55)for(e(this._hash,t),i=0;i<16;i+=1)t[i]=0;n=(n=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(n[2],16),f=parseInt(n[1],16)||0,t[14]=o,t[15]=f,e(this._hash,t)},h.hash=function(t,r){return h.hashBinary(a(t),r)},h.hashBinary=function(t,r){var e=s(f(t));return r?u(e):e},h.ArrayBuffer=function(){this.reset()},h.ArrayBuffer.prototype.append=function(t){var r,n,f,i,s,a=(n=this._buff.buffer,f=t,i=!0,(s=new Uint8Array(n.byteLength+f.byteLength)).set(new Uint8Array(n)),s.set(new Uint8Array(f),n.byteLength),i?s:s.buffer),u=a.length;for(this._length+=t.byteLength,r=64;r<=u;r+=64)e(this._hash,o(a.subarray(r-64,r)));return this._buff=r-64<u?new Uint8Array(a.buffer.slice(r-64)):new Uint8Array(0),this},h.ArrayBuffer.prototype.end=function(t){var r,e,n=this._buff,o=n.length,f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(r=0;r<o;r+=1)f[r>>2]|=n[r]<<(r%4<<3);return this._finish(f,o),e=s(this._hash),t&&(e=u(e)),this.reset(),e},h.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.ArrayBuffer.prototype.getState=function(){var t,r=h.prototype.getState.call(this);return r.buff=(t=r.buff,String.fromCharCode.apply(null,new Uint8Array(t))),r},h.ArrayBuffer.prototype.setState=function(t){return t.buff=function(t,r){var e,n=t.length,o=new ArrayBuffer(n),f=new Uint8Array(o);for(e=0;e<n;e+=1)f[e]=t.charCodeAt(e);return r?f:o}(t.buff,!0),h.prototype.setState.call(this,t)},h.ArrayBuffer.prototype.destroy=h.prototype.destroy,h.ArrayBuffer.prototype._finish=h.prototype._finish,h.ArrayBuffer.hash=function(t,r){var n=s(function(t){var r,n,f,i,s,a,u=t.length,h=[1732584193,-271733879,-1732584194,271733878];for(r=64;r<=u;r+=64)e(h,o(t.subarray(r-64,r)));for(t=r-64<u?t.subarray(r-64):new Uint8Array(0),n=t.length,f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0;r<n;r+=1)f[r>>2]|=t[r]<<(r%4<<3);if(f[r>>2]|=128<<(r%4<<3),r>55)for(e(h,f),r=0;r<16;r+=1)f[r]=0;return i=(i=8*u).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(i[2],16),a=parseInt(i[1],16)||0,f[14]=s,f[15]=a,e(h,f),h}(new Uint8Array(t)));return r?u(n):n},h}()},function(t,r,e){"use strict";e.r(r);var n=e(0),o=e.n(n);self.addEventListener("message",async t=>{try{const{file:r,chunkSize:e}=t.data,n=await function(t,r){return new Promise((e,n)=>{let o=[],f=0;for(;f<t.size;)o.push({chunkFile:t.slice(f,f+r)}),f+=r;e(o)})}(r,e);await async function(t){const r=new o.a.ArrayBuffer;let e=0;try{const n=await async function n(o){if(o>=t.length){return r.end()}return new Promise((f,i)=>{const s=new FileReader;s.readAsArrayBuffer(t[o].chunkFile),s.onload=i=>{r.append(i.target.result),e+=100/t.length,self.postMessage({percentage:e}),f(n(o+1))},s.onerror=t=>{i(t)}})}(0);self.postMessage({percentage:100,fileHash:n,fileChunkList:t}),self.close()}catch(t){self.postMessage({name:"error",data:t}),self.close()}}(n)}catch(t){console.error("worker监听发生错误:",t)}},!1),self.addEventListener("error",(function(t){console.log("Worker触发主线程的error事件:",t),self.close()}))}]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panpanzhao/component-ui",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.1226",
|
|
4
4
|
"description": "A Component Library for Vue.js.",
|
|
5
5
|
"main": "lib/component-ui.common.js",
|
|
6
6
|
"unpkg": "lib/index.js",
|
|
@@ -58,7 +58,9 @@
|
|
|
58
58
|
"webpack": "^4.14.0",
|
|
59
59
|
"webpack-cli": "^3.0.8",
|
|
60
60
|
"webpack-dev-server": "^3.1.11",
|
|
61
|
-
"webpack-node-externals": "^1.7.2"
|
|
61
|
+
"webpack-node-externals": "^1.7.2",
|
|
62
|
+
"worker-loader": "^3.0.8",
|
|
63
|
+
"worker-plugin": "^5.0.1"
|
|
62
64
|
},
|
|
63
65
|
"dependencies": {
|
|
64
66
|
"@panpanzhao/component-ui": "file:",
|