refactor: 모바일 페이지 처리시 미사용 파일 제거
@ -1,10 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Error</p>
|
||||
</body>
|
||||
</html>
|
@ -1,12 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Error</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Something went wrong</h1>
|
||||
<p>We're sorry, but something went wrong. Please try again later.</p>
|
||||
</body>
|
||||
</html>
|
@ -1,35 +0,0 @@
|
||||
/*
|
||||
CryptoJS v3.1.2
|
||||
code.google.com/p/crypto-js
|
||||
(c) 2009-2013 by Jeff Mott. All rights reserved.
|
||||
code.google.com/p/crypto-js/wiki/License
|
||||
*/
|
||||
var CryptoJS=CryptoJS||function(u,p){var d={},l=d.lib={},s=function(){},t=l.Base={extend:function(a){s.prototype=this;var c=new s;a&&c.mixIn(a);c.hasOwnProperty("init")||(c.init=function(){c.$super.init.apply(this,arguments)});c.init.prototype=c;c.$super=this;return c},create:function(){var a=this.extend();a.init.apply(a,arguments);return a},init:function(){},mixIn:function(a){for(var c in a)a.hasOwnProperty(c)&&(this[c]=a[c]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}},
|
||||
r=l.WordArray=t.extend({init:function(a,c){a=this.words=a||[];this.sigBytes=c!=p?c:4*a.length},toString:function(a){return(a||v).stringify(this)},concat:function(a){var c=this.words,e=a.words,j=this.sigBytes;a=a.sigBytes;this.clamp();if(j%4)for(var k=0;k<a;k++)c[j+k>>>2]|=(e[k>>>2]>>>24-8*(k%4)&255)<<24-8*((j+k)%4);else if(65535<e.length)for(k=0;k<a;k+=4)c[j+k>>>2]=e[k>>>2];else c.push.apply(c,e);this.sigBytes+=a;return this},clamp:function(){var a=this.words,c=this.sigBytes;a[c>>>2]&=4294967295<<
|
||||
32-8*(c%4);a.length=u.ceil(c/4)},clone:function(){var a=t.clone.call(this);a.words=this.words.slice(0);return a},random:function(a){for(var c=[],e=0;e<a;e+=4)c.push(4294967296*u.random()|0);return new r.init(c,a)}}),w=d.enc={},v=w.Hex={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j<a;j++){var k=c[j>>>2]>>>24-8*(j%4)&255;e.push((k>>>4).toString(16));e.push((k&15).toString(16))}return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j<c;j+=2)e[j>>>3]|=parseInt(a.substr(j,
|
||||
2),16)<<24-4*(j%8);return new r.init(e,c/2)}},b=w.Latin1={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j<a;j++)e.push(String.fromCharCode(c[j>>>2]>>>24-8*(j%4)&255));return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j<c;j++)e[j>>>2]|=(a.charCodeAt(j)&255)<<24-8*(j%4);return new r.init(e,c)}},x=w.Utf8={stringify:function(a){try{return decodeURIComponent(escape(b.stringify(a)))}catch(c){throw Error("Malformed UTF-8 data");}},parse:function(a){return b.parse(unescape(encodeURIComponent(a)))}},
|
||||
q=l.BufferedBlockAlgorithm=t.extend({reset:function(){this._data=new r.init;this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=x.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:function(a){var c=this._data,e=c.words,j=c.sigBytes,k=this.blockSize,b=j/(4*k),b=a?u.ceil(b):u.max((b|0)-this._minBufferSize,0);a=b*k;j=u.min(4*a,j);if(a){for(var q=0;q<a;q+=k)this._doProcessBlock(e,q);q=e.splice(0,a);c.sigBytes-=j}return new r.init(q,j)},clone:function(){var a=t.clone.call(this);
|
||||
a._data=this._data.clone();return a},_minBufferSize:0});l.Hasher=q.extend({cfg:t.extend(),init:function(a){this.cfg=this.cfg.extend(a);this.reset()},reset:function(){q.reset.call(this);this._doReset()},update:function(a){this._append(a);this._process();return this},finalize:function(a){a&&this._append(a);return this._doFinalize()},blockSize:16,_createHelper:function(a){return function(b,e){return(new a.init(e)).finalize(b)}},_createHmacHelper:function(a){return function(b,e){return(new n.HMAC.init(a,
|
||||
e)).finalize(b)}}});var n=d.algo={};return d}(Math);
|
||||
(function(){var u=CryptoJS,p=u.lib.WordArray;u.enc.Base64={stringify:function(d){var l=d.words,p=d.sigBytes,t=this._map;d.clamp();d=[];for(var r=0;r<p;r+=3)for(var w=(l[r>>>2]>>>24-8*(r%4)&255)<<16|(l[r+1>>>2]>>>24-8*((r+1)%4)&255)<<8|l[r+2>>>2]>>>24-8*((r+2)%4)&255,v=0;4>v&&r+0.75*v<p;v++)d.push(t.charAt(w>>>6*(3-v)&63));if(l=t.charAt(64))for(;d.length%4;)d.push(l);return d.join("")},parse:function(d){var l=d.length,s=this._map,t=s.charAt(64);t&&(t=d.indexOf(t),-1!=t&&(l=t));for(var t=[],r=0,w=0;w<
|
||||
l;w++)if(w%4){var v=s.indexOf(d.charAt(w-1))<<2*(w%4),b=s.indexOf(d.charAt(w))>>>6-2*(w%4);t[r>>>2]|=(v|b)<<24-8*(r%4);r++}return p.create(t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})();
|
||||
(function(u){function p(b,n,a,c,e,j,k){b=b+(n&a|~n&c)+e+k;return(b<<j|b>>>32-j)+n}function d(b,n,a,c,e,j,k){b=b+(n&c|a&~c)+e+k;return(b<<j|b>>>32-j)+n}function l(b,n,a,c,e,j,k){b=b+(n^a^c)+e+k;return(b<<j|b>>>32-j)+n}function s(b,n,a,c,e,j,k){b=b+(a^(n|~c))+e+k;return(b<<j|b>>>32-j)+n}for(var t=CryptoJS,r=t.lib,w=r.WordArray,v=r.Hasher,r=t.algo,b=[],x=0;64>x;x++)b[x]=4294967296*u.abs(u.sin(x+1))|0;r=r.MD5=v.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},
|
||||
_doProcessBlock:function(q,n){for(var a=0;16>a;a++){var c=n+a,e=q[c];q[c]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360}var a=this._hash.words,c=q[n+0],e=q[n+1],j=q[n+2],k=q[n+3],z=q[n+4],r=q[n+5],t=q[n+6],w=q[n+7],v=q[n+8],A=q[n+9],B=q[n+10],C=q[n+11],u=q[n+12],D=q[n+13],E=q[n+14],x=q[n+15],f=a[0],m=a[1],g=a[2],h=a[3],f=p(f,m,g,h,c,7,b[0]),h=p(h,f,m,g,e,12,b[1]),g=p(g,h,f,m,j,17,b[2]),m=p(m,g,h,f,k,22,b[3]),f=p(f,m,g,h,z,7,b[4]),h=p(h,f,m,g,r,12,b[5]),g=p(g,h,f,m,t,17,b[6]),m=p(m,g,h,f,w,22,b[7]),
|
||||
f=p(f,m,g,h,v,7,b[8]),h=p(h,f,m,g,A,12,b[9]),g=p(g,h,f,m,B,17,b[10]),m=p(m,g,h,f,C,22,b[11]),f=p(f,m,g,h,u,7,b[12]),h=p(h,f,m,g,D,12,b[13]),g=p(g,h,f,m,E,17,b[14]),m=p(m,g,h,f,x,22,b[15]),f=d(f,m,g,h,e,5,b[16]),h=d(h,f,m,g,t,9,b[17]),g=d(g,h,f,m,C,14,b[18]),m=d(m,g,h,f,c,20,b[19]),f=d(f,m,g,h,r,5,b[20]),h=d(h,f,m,g,B,9,b[21]),g=d(g,h,f,m,x,14,b[22]),m=d(m,g,h,f,z,20,b[23]),f=d(f,m,g,h,A,5,b[24]),h=d(h,f,m,g,E,9,b[25]),g=d(g,h,f,m,k,14,b[26]),m=d(m,g,h,f,v,20,b[27]),f=d(f,m,g,h,D,5,b[28]),h=d(h,f,
|
||||
m,g,j,9,b[29]),g=d(g,h,f,m,w,14,b[30]),m=d(m,g,h,f,u,20,b[31]),f=l(f,m,g,h,r,4,b[32]),h=l(h,f,m,g,v,11,b[33]),g=l(g,h,f,m,C,16,b[34]),m=l(m,g,h,f,E,23,b[35]),f=l(f,m,g,h,e,4,b[36]),h=l(h,f,m,g,z,11,b[37]),g=l(g,h,f,m,w,16,b[38]),m=l(m,g,h,f,B,23,b[39]),f=l(f,m,g,h,D,4,b[40]),h=l(h,f,m,g,c,11,b[41]),g=l(g,h,f,m,k,16,b[42]),m=l(m,g,h,f,t,23,b[43]),f=l(f,m,g,h,A,4,b[44]),h=l(h,f,m,g,u,11,b[45]),g=l(g,h,f,m,x,16,b[46]),m=l(m,g,h,f,j,23,b[47]),f=s(f,m,g,h,c,6,b[48]),h=s(h,f,m,g,w,10,b[49]),g=s(g,h,f,m,
|
||||
E,15,b[50]),m=s(m,g,h,f,r,21,b[51]),f=s(f,m,g,h,u,6,b[52]),h=s(h,f,m,g,k,10,b[53]),g=s(g,h,f,m,B,15,b[54]),m=s(m,g,h,f,e,21,b[55]),f=s(f,m,g,h,v,6,b[56]),h=s(h,f,m,g,x,10,b[57]),g=s(g,h,f,m,t,15,b[58]),m=s(m,g,h,f,D,21,b[59]),f=s(f,m,g,h,z,6,b[60]),h=s(h,f,m,g,C,10,b[61]),g=s(g,h,f,m,j,15,b[62]),m=s(m,g,h,f,A,21,b[63]);a[0]=a[0]+f|0;a[1]=a[1]+m|0;a[2]=a[2]+g|0;a[3]=a[3]+h|0},_doFinalize:function(){var b=this._data,n=b.words,a=8*this._nDataBytes,c=8*b.sigBytes;n[c>>>5]|=128<<24-c%32;var e=u.floor(a/
|
||||
4294967296);n[(c+64>>>9<<4)+15]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;n[(c+64>>>9<<4)+14]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360;b.sigBytes=4*(n.length+1);this._process();b=this._hash;n=b.words;for(a=0;4>a;a++)c=n[a],n[a]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360;return b},clone:function(){var b=v.clone.call(this);b._hash=this._hash.clone();return b}});t.MD5=v._createHelper(r);t.HmacMD5=v._createHmacHelper(r)})(Math);
|
||||
(function(){var u=CryptoJS,p=u.lib,d=p.Base,l=p.WordArray,p=u.algo,s=p.EvpKDF=d.extend({cfg:d.extend({keySize:4,hasher:p.MD5,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,r){for(var p=this.cfg,s=p.hasher.create(),b=l.create(),u=b.words,q=p.keySize,p=p.iterations;u.length<q;){n&&s.update(n);var n=s.update(d).finalize(r);s.reset();for(var a=1;a<p;a++)n=s.finalize(n),s.reset();b.concat(n)}b.sigBytes=4*q;return b}});u.EvpKDF=function(d,l,p){return s.create(p).compute(d,
|
||||
l)}})();
|
||||
CryptoJS.lib.Cipher||function(u){var p=CryptoJS,d=p.lib,l=d.Base,s=d.WordArray,t=d.BufferedBlockAlgorithm,r=p.enc.Base64,w=p.algo.EvpKDF,v=d.Cipher=t.extend({cfg:l.extend(),createEncryptor:function(e,a){return this.create(this._ENC_XFORM_MODE,e,a)},createDecryptor:function(e,a){return this.create(this._DEC_XFORM_MODE,e,a)},init:function(e,a,b){this.cfg=this.cfg.extend(b);this._xformMode=e;this._key=a;this.reset()},reset:function(){t.reset.call(this);this._doReset()},process:function(e){this._append(e);return this._process()},
|
||||
finalize:function(e){e&&this._append(e);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(e){return{encrypt:function(b,k,d){return("string"==typeof k?c:a).encrypt(e,b,k,d)},decrypt:function(b,k,d){return("string"==typeof k?c:a).decrypt(e,b,k,d)}}}});d.StreamCipher=v.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var b=p.mode={},x=function(e,a,b){var c=this._iv;c?this._iv=u:c=this._prevBlock;for(var d=0;d<b;d++)e[a+d]^=
|
||||
c[d]},q=(d.BlockCipherMode=l.extend({createEncryptor:function(e,a){return this.Encryptor.create(e,a)},createDecryptor:function(e,a){return this.Decryptor.create(e,a)},init:function(e,a){this._cipher=e;this._iv=a}})).extend();q.Encryptor=q.extend({processBlock:function(e,a){var b=this._cipher,c=b.blockSize;x.call(this,e,a,c);b.encryptBlock(e,a);this._prevBlock=e.slice(a,a+c)}});q.Decryptor=q.extend({processBlock:function(e,a){var b=this._cipher,c=b.blockSize,d=e.slice(a,a+c);b.decryptBlock(e,a);x.call(this,
|
||||
e,a,c);this._prevBlock=d}});b=b.CBC=q;q=(p.pad={}).Pkcs7={pad:function(a,b){for(var c=4*b,c=c-a.sigBytes%c,d=c<<24|c<<16|c<<8|c,l=[],n=0;n<c;n+=4)l.push(d);c=s.create(l,c);a.concat(c)},unpad:function(a){a.sigBytes-=a.words[a.sigBytes-1>>>2]&255}};d.BlockCipher=v.extend({cfg:v.cfg.extend({mode:b,padding:q}),reset:function(){v.reset.call(this);var a=this.cfg,b=a.iv,a=a.mode;if(this._xformMode==this._ENC_XFORM_MODE)var c=a.createEncryptor;else c=a.createDecryptor,this._minBufferSize=1;this._mode=c.call(a,
|
||||
this,b&&b.words)},_doProcessBlock:function(a,b){this._mode.processBlock(a,b)},_doFinalize:function(){var a=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){a.pad(this._data,this.blockSize);var b=this._process(!0)}else b=this._process(!0),a.unpad(b);return b},blockSize:4});var n=d.CipherParams=l.extend({init:function(a){this.mixIn(a)},toString:function(a){return(a||this.formatter).stringify(this)}}),b=(p.format={}).OpenSSL={stringify:function(a){var b=a.ciphertext;a=a.salt;return(a?s.create([1398893684,
|
||||
1701076831]).concat(a).concat(b):b).toString(r)},parse:function(a){a=r.parse(a);var b=a.words;if(1398893684==b[0]&&1701076831==b[1]){var c=s.create(b.slice(2,4));b.splice(0,4);a.sigBytes-=16}return n.create({ciphertext:a,salt:c})}},a=d.SerializableCipher=l.extend({cfg:l.extend({format:b}),encrypt:function(a,b,c,d){d=this.cfg.extend(d);var l=a.createEncryptor(c,d);b=l.finalize(b);l=l.cfg;return n.create({ciphertext:b,key:c,iv:l.iv,algorithm:a,mode:l.mode,padding:l.padding,blockSize:a.blockSize,formatter:d.format})},
|
||||
decrypt:function(a,b,c,d){d=this.cfg.extend(d);b=this._parse(b,d.format);return a.createDecryptor(c,d).finalize(b.ciphertext)},_parse:function(a,b){return"string"==typeof a?b.parse(a,this):a}}),p=(p.kdf={}).OpenSSL={execute:function(a,b,c,d){d||(d=s.random(8));a=w.create({keySize:b+c}).compute(a,d);c=s.create(a.words.slice(b),4*c);a.sigBytes=4*b;return n.create({key:a,iv:c,salt:d})}},c=d.PasswordBasedCipher=a.extend({cfg:a.cfg.extend({kdf:p}),encrypt:function(b,c,d,l){l=this.cfg.extend(l);d=l.kdf.execute(d,
|
||||
b.keySize,b.ivSize);l.iv=d.iv;b=a.encrypt.call(this,b,c,d.key,l);b.mixIn(d);return b},decrypt:function(b,c,d,l){l=this.cfg.extend(l);c=this._parse(c,l.format);d=l.kdf.execute(d,b.keySize,b.ivSize,c.salt);l.iv=d.iv;return a.decrypt.call(this,b,c,d.key,l)}})}();
|
||||
(function(){for(var u=CryptoJS,p=u.lib.BlockCipher,d=u.algo,l=[],s=[],t=[],r=[],w=[],v=[],b=[],x=[],q=[],n=[],a=[],c=0;256>c;c++)a[c]=128>c?c<<1:c<<1^283;for(var e=0,j=0,c=0;256>c;c++){var k=j^j<<1^j<<2^j<<3^j<<4,k=k>>>8^k&255^99;l[e]=k;s[k]=e;var z=a[e],F=a[z],G=a[F],y=257*a[k]^16843008*k;t[e]=y<<24|y>>>8;r[e]=y<<16|y>>>16;w[e]=y<<8|y>>>24;v[e]=y;y=16843009*G^65537*F^257*z^16843008*e;b[k]=y<<24|y>>>8;x[k]=y<<16|y>>>16;q[k]=y<<8|y>>>24;n[k]=y;e?(e=z^a[a[a[G^z]]],j^=a[a[j]]):e=j=1}var H=[0,1,2,4,8,
|
||||
16,32,64,128,27,54],d=d.AES=p.extend({_doReset:function(){for(var a=this._key,c=a.words,d=a.sigBytes/4,a=4*((this._nRounds=d+6)+1),e=this._keySchedule=[],j=0;j<a;j++)if(j<d)e[j]=c[j];else{var k=e[j-1];j%d?6<d&&4==j%d&&(k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255]):(k=k<<8|k>>>24,k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255],k^=H[j/d|0]<<24);e[j]=e[j-d]^k}c=this._invKeySchedule=[];for(d=0;d<a;d++)j=a-d,k=d%4?e[j]:e[j-4],c[d]=4>d||4>=j?k:b[l[k>>>24]]^x[l[k>>>16&255]]^q[l[k>>>
|
||||
8&255]]^n[l[k&255]]},encryptBlock:function(a,b){this._doCryptBlock(a,b,this._keySchedule,t,r,w,v,l)},decryptBlock:function(a,c){var d=a[c+1];a[c+1]=a[c+3];a[c+3]=d;this._doCryptBlock(a,c,this._invKeySchedule,b,x,q,n,s);d=a[c+1];a[c+1]=a[c+3];a[c+3]=d},_doCryptBlock:function(a,b,c,d,e,j,l,f){for(var m=this._nRounds,g=a[b]^c[0],h=a[b+1]^c[1],k=a[b+2]^c[2],n=a[b+3]^c[3],p=4,r=1;r<m;r++)var q=d[g>>>24]^e[h>>>16&255]^j[k>>>8&255]^l[n&255]^c[p++],s=d[h>>>24]^e[k>>>16&255]^j[n>>>8&255]^l[g&255]^c[p++],t=
|
||||
d[k>>>24]^e[n>>>16&255]^j[g>>>8&255]^l[h&255]^c[p++],n=d[n>>>24]^e[g>>>16&255]^j[h>>>8&255]^l[k&255]^c[p++],g=q,h=s,k=t;q=(f[g>>>24]<<24|f[h>>>16&255]<<16|f[k>>>8&255]<<8|f[n&255])^c[p++];s=(f[h>>>24]<<24|f[k>>>16&255]<<16|f[n>>>8&255]<<8|f[g&255])^c[p++];t=(f[k>>>24]<<24|f[n>>>16&255]<<16|f[g>>>8&255]<<8|f[h&255])^c[p++];n=(f[n>>>24]<<24|f[g>>>16&255]<<16|f[h>>>8&255]<<8|f[k&255])^c[p++];a[b]=q;a[b+1]=s;a[b+2]=t;a[b+3]=n},keySize:8});u.AES=p._createHelper(d)})();
|
@ -1,16 +0,0 @@
|
||||
/*
|
||||
CryptoJS v3.1.2
|
||||
code.google.com/p/crypto-js
|
||||
(c) 2009-2013 by Jeff Mott. All rights reserved.
|
||||
code.google.com/p/crypto-js/wiki/License
|
||||
*/
|
||||
var CryptoJS=CryptoJS||function(h,s){var f={},t=f.lib={},g=function(){},j=t.Base={extend:function(a){g.prototype=this;var c=new g;a&&c.mixIn(a);c.hasOwnProperty("init")||(c.init=function(){c.$super.init.apply(this,arguments)});c.init.prototype=c;c.$super=this;return c},create:function(){var a=this.extend();a.init.apply(a,arguments);return a},init:function(){},mixIn:function(a){for(var c in a)a.hasOwnProperty(c)&&(this[c]=a[c]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}},
|
||||
q=t.WordArray=j.extend({init:function(a,c){a=this.words=a||[];this.sigBytes=c!=s?c:4*a.length},toString:function(a){return(a||u).stringify(this)},concat:function(a){var c=this.words,d=a.words,b=this.sigBytes;a=a.sigBytes;this.clamp();if(b%4)for(var e=0;e<a;e++)c[b+e>>>2]|=(d[e>>>2]>>>24-8*(e%4)&255)<<24-8*((b+e)%4);else if(65535<d.length)for(e=0;e<a;e+=4)c[b+e>>>2]=d[e>>>2];else c.push.apply(c,d);this.sigBytes+=a;return this},clamp:function(){var a=this.words,c=this.sigBytes;a[c>>>2]&=4294967295<<
|
||||
32-8*(c%4);a.length=h.ceil(c/4)},clone:function(){var a=j.clone.call(this);a.words=this.words.slice(0);return a},random:function(a){for(var c=[],d=0;d<a;d+=4)c.push(4294967296*h.random()|0);return new q.init(c,a)}}),v=f.enc={},u=v.Hex={stringify:function(a){var c=a.words;a=a.sigBytes;for(var d=[],b=0;b<a;b++){var e=c[b>>>2]>>>24-8*(b%4)&255;d.push((e>>>4).toString(16));d.push((e&15).toString(16))}return d.join("")},parse:function(a){for(var c=a.length,d=[],b=0;b<c;b+=2)d[b>>>3]|=parseInt(a.substr(b,
|
||||
2),16)<<24-4*(b%8);return new q.init(d,c/2)}},k=v.Latin1={stringify:function(a){var c=a.words;a=a.sigBytes;for(var d=[],b=0;b<a;b++)d.push(String.fromCharCode(c[b>>>2]>>>24-8*(b%4)&255));return d.join("")},parse:function(a){for(var c=a.length,d=[],b=0;b<c;b++)d[b>>>2]|=(a.charCodeAt(b)&255)<<24-8*(b%4);return new q.init(d,c)}},l=v.Utf8={stringify:function(a){try{return decodeURIComponent(escape(k.stringify(a)))}catch(c){throw Error("Malformed UTF-8 data");}},parse:function(a){return k.parse(unescape(encodeURIComponent(a)))}},
|
||||
x=t.BufferedBlockAlgorithm=j.extend({reset:function(){this._data=new q.init;this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=l.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:function(a){var c=this._data,d=c.words,b=c.sigBytes,e=this.blockSize,f=b/(4*e),f=a?h.ceil(f):h.max((f|0)-this._minBufferSize,0);a=f*e;b=h.min(4*a,b);if(a){for(var m=0;m<a;m+=e)this._doProcessBlock(d,m);m=d.splice(0,a);c.sigBytes-=b}return new q.init(m,b)},clone:function(){var a=j.clone.call(this);
|
||||
a._data=this._data.clone();return a},_minBufferSize:0});t.Hasher=x.extend({cfg:j.extend(),init:function(a){this.cfg=this.cfg.extend(a);this.reset()},reset:function(){x.reset.call(this);this._doReset()},update:function(a){this._append(a);this._process();return this},finalize:function(a){a&&this._append(a);return this._doFinalize()},blockSize:16,_createHelper:function(a){return function(c,d){return(new a.init(d)).finalize(c)}},_createHmacHelper:function(a){return function(c,d){return(new w.HMAC.init(a,
|
||||
d)).finalize(c)}}});var w=f.algo={};return f}(Math);
|
||||
(function(h){for(var s=CryptoJS,f=s.lib,t=f.WordArray,g=f.Hasher,f=s.algo,j=[],q=[],v=function(a){return 4294967296*(a-(a|0))|0},u=2,k=0;64>k;){var l;a:{l=u;for(var x=h.sqrt(l),w=2;w<=x;w++)if(!(l%w)){l=!1;break a}l=!0}l&&(8>k&&(j[k]=v(h.pow(u,0.5))),q[k]=v(h.pow(u,1/3)),k++);u++}var a=[],f=f.SHA256=g.extend({_doReset:function(){this._hash=new t.init(j.slice(0))},_doProcessBlock:function(c,d){for(var b=this._hash.words,e=b[0],f=b[1],m=b[2],h=b[3],p=b[4],j=b[5],k=b[6],l=b[7],n=0;64>n;n++){if(16>n)a[n]=
|
||||
c[d+n]|0;else{var r=a[n-15],g=a[n-2];a[n]=((r<<25|r>>>7)^(r<<14|r>>>18)^r>>>3)+a[n-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+a[n-16]}r=l+((p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25))+(p&j^~p&k)+q[n]+a[n];g=((e<<30|e>>>2)^(e<<19|e>>>13)^(e<<10|e>>>22))+(e&f^e&m^f&m);l=k;k=j;j=p;p=h+r|0;h=m;m=f;f=e;e=r+g|0}b[0]=b[0]+e|0;b[1]=b[1]+f|0;b[2]=b[2]+m|0;b[3]=b[3]+h|0;b[4]=b[4]+p|0;b[5]=b[5]+j|0;b[6]=b[6]+k|0;b[7]=b[7]+l|0},_doFinalize:function(){var a=this._data,d=a.words,b=8*this._nDataBytes,e=8*a.sigBytes;
|
||||
d[e>>>5]|=128<<24-e%32;d[(e+64>>>9<<4)+14]=h.floor(b/4294967296);d[(e+64>>>9<<4)+15]=b;a.sigBytes=4*d.length;this._process();return this._hash},clone:function(){var a=g.clone.call(this);a._hash=this._hash.clone();return a}});s.SHA256=g._createHelper(f);s.HmacSHA256=g._createHmacHelper(f)})(Math);
|
Before Width: | Height: | Size: 847 B |
Before Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 105 B |
Before Width: | Height: | Size: 106 B |
Before Width: | Height: | Size: 837 B |
Before Width: | Height: | Size: 841 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 807 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 6.2 KiB |
@ -1,81 +0,0 @@
|
||||
.treeview, .treeview ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.treeview ul {
|
||||
background-color: white;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.treeview .hitarea {
|
||||
background: url(images/treeview-default.gif) -100px -38px no-repeat;
|
||||
height: 38px;
|
||||
width: 25px;
|
||||
margin-left: -28px;
|
||||
margin-top: -10px;
|
||||
float: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
/* fix for IE6 */
|
||||
* html .hitarea {
|
||||
display: inline;
|
||||
float:none;
|
||||
}
|
||||
|
||||
.treeview li {
|
||||
margin: 0;
|
||||
padding: 10px 0 10px 28px;
|
||||
}
|
||||
|
||||
.treeview a.selected {
|
||||
/*background-color: #eee;*/
|
||||
}
|
||||
|
||||
#treecontrol { margin: 1em 0; display: none; }
|
||||
|
||||
.treeview .hover { color: red; cursor: pointer; }
|
||||
|
||||
.treeview li {
|
||||
background: url(images/treeview-default-line.gif) 0 0 no-repeat;
|
||||
font-size: 17px;
|
||||
}
|
||||
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
|
||||
.treeview li a { font-size: 17px; }
|
||||
|
||||
|
||||
.treeview .expandable-hitarea { background-position: -125px 0px; }
|
||||
|
||||
.treeview li.last { background-position: 0 -1757px }
|
||||
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); }
|
||||
.treeview li.lastCollapsable { background-position: 0 -190px }
|
||||
.treeview li.lastExpandable { background-position: -50px -114px }
|
||||
|
||||
.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
|
||||
|
||||
.treeview-red li { background-image: url(images/treeview-red-line.gif); }
|
||||
.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(images/treeview-red.gif); }
|
||||
|
||||
.treeview-black li { background-image: url(images/treeview-black-line.gif); }
|
||||
.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(images/treeview-black.gif); }
|
||||
|
||||
.treeview-gray li { background-image: url(images/treeview-gray-line.gif); }
|
||||
.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(images/treeview-gray.gif); }
|
||||
|
||||
.treeview-famfamfam li { background-image: url(images/treeview-famfamfam-line.gif); }
|
||||
.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(images/treeview-famfamfam.gif); }
|
||||
|
||||
.treeview .placeholder {
|
||||
background: url(images/ajax-loader.gif) 0 0 no-repeat;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.filetree li { padding: 3px 0 2px 16px; }
|
||||
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }
|
||||
.filetree span.folder { background: url(images/folder.gif) 0 0 no-repeat; }
|
||||
.filetree li.expandable span.folder { background: url(images/folder-closed.gif) 0 0 no-repeat; }
|
||||
.filetree span.file { background: url(images/file.gif) 0 0 no-repeat; }
|
||||
|
@ -1,620 +0,0 @@
|
||||
/*!
|
||||
* jQuery blockUI plugin
|
||||
* Version 2.70.0-2014.11.23
|
||||
* Requires jQuery v1.7 or later
|
||||
*
|
||||
* Examples at: http://malsup.com/jquery/block/
|
||||
* Copyright (c) 2007-2013 M. Alsup
|
||||
* Dual licensed under the MIT and GPL licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* Thanks to Amir-Hossein Sobhi for some excellent contributions!
|
||||
*/
|
||||
|
||||
;(function() {
|
||||
/*jshint eqeqeq:false curly:false latedef:false */
|
||||
"use strict";
|
||||
|
||||
function setup($) {
|
||||
$.fn._fadeIn = $.fn.fadeIn;
|
||||
|
||||
var noOp = $.noop || function() {};
|
||||
|
||||
// this bit is to ensure we don't call setExpression when we shouldn't (with extra muscle to handle
|
||||
// confusing userAgent strings on Vista)
|
||||
var msie = /MSIE/.test(navigator.userAgent);
|
||||
var ie6 = /MSIE 6.0/.test(navigator.userAgent) && ! /MSIE 8.0/.test(navigator.userAgent);
|
||||
var mode = document.documentMode || 0;
|
||||
var setExpr = $.isFunction( document.createElement('div').style.setExpression );
|
||||
|
||||
// global $ methods for blocking/unblocking the entire page
|
||||
$.blockUI = function(opts) { install(window, opts); };
|
||||
$.unblockUI = function(opts) { remove(window, opts); };
|
||||
|
||||
// convenience method for quick growl-like notifications (http://www.google.com/search?q=growl)
|
||||
$.growlUI = function(title, message, timeout, onClose) {
|
||||
var $m = $('<div class="growlUI"></div>');
|
||||
if (title) $m.append('<h1>'+title+'</h1>');
|
||||
if (message) $m.append('<h2>'+message+'</h2>');
|
||||
if (timeout === undefined) timeout = 3000;
|
||||
|
||||
// Added by konapun: Set timeout to 30 seconds if this growl is moused over, like normal toast notifications
|
||||
var callBlock = function(opts) {
|
||||
opts = opts || {};
|
||||
|
||||
$.blockUI({
|
||||
message: $m,
|
||||
fadeIn : typeof opts.fadeIn !== 'undefined' ? opts.fadeIn : 700,
|
||||
fadeOut: typeof opts.fadeOut !== 'undefined' ? opts.fadeOut : 1000,
|
||||
timeout: typeof opts.timeout !== 'undefined' ? opts.timeout : timeout,
|
||||
centerY: false,
|
||||
showOverlay: false,
|
||||
onUnblock: onClose,
|
||||
css: $.blockUI.defaults.growlCSS
|
||||
});
|
||||
};
|
||||
|
||||
callBlock();
|
||||
var nonmousedOpacity = $m.css('opacity');
|
||||
$m.mouseover(function() {
|
||||
callBlock({
|
||||
fadeIn: 0,
|
||||
timeout: 30000
|
||||
});
|
||||
|
||||
var displayBlock = $('.blockMsg');
|
||||
displayBlock.stop(); // cancel fadeout if it has started
|
||||
displayBlock.fadeTo(300, 1); // make it easier to read the message by removing transparency
|
||||
}).mouseout(function() {
|
||||
$('.blockMsg').fadeOut(1000);
|
||||
});
|
||||
// End konapun additions
|
||||
};
|
||||
|
||||
// plugin method for blocking element content
|
||||
$.fn.block = function(opts) {
|
||||
if ( this[0] === window ) {
|
||||
$.blockUI( opts );
|
||||
return this;
|
||||
}
|
||||
var fullOpts = $.extend({}, $.blockUI.defaults, opts || {});
|
||||
this.each(function() {
|
||||
var $el = $(this);
|
||||
if (fullOpts.ignoreIfBlocked && $el.data('blockUI.isBlocked'))
|
||||
return;
|
||||
$el.unblock({ fadeOut: 0 });
|
||||
});
|
||||
|
||||
return this.each(function() {
|
||||
if ($.css(this,'position') == 'static') {
|
||||
this.style.position = 'relative';
|
||||
$(this).data('blockUI.static', true);
|
||||
}
|
||||
this.style.zoom = 1; // force 'hasLayout' in ie
|
||||
install(this, opts);
|
||||
});
|
||||
};
|
||||
|
||||
// plugin method for unblocking element content
|
||||
$.fn.unblock = function(opts) {
|
||||
if ( this[0] === window ) {
|
||||
$.unblockUI( opts );
|
||||
return this;
|
||||
}
|
||||
return this.each(function() {
|
||||
remove(this, opts);
|
||||
});
|
||||
};
|
||||
|
||||
$.blockUI.version = 2.70; // 2nd generation blocking at no extra cost!
|
||||
|
||||
// override these in your code to change the default behavior and style
|
||||
$.blockUI.defaults = {
|
||||
// message displayed when blocking (use null for no message)
|
||||
message: '<h1>Please wait...</h1>',
|
||||
|
||||
title: null, // title string; only used when theme == true
|
||||
draggable: true, // only used when theme == true (requires jquery-ui.js to be loaded)
|
||||
|
||||
theme: false, // set to true to use with jQuery UI themes
|
||||
|
||||
// styles for the message when blocking; if you wish to disable
|
||||
// these and use an external stylesheet then do this in your code:
|
||||
// $.blockUI.defaults.css = {};
|
||||
css: {
|
||||
padding: 0,
|
||||
margin: 0,
|
||||
width: '30%',
|
||||
top: '40%',
|
||||
left: '35%',
|
||||
textAlign: 'center',
|
||||
color: '#000',
|
||||
border: '3px solid #aaa',
|
||||
backgroundColor:'#fff',
|
||||
cursor: 'wait'
|
||||
},
|
||||
|
||||
// minimal style set used when themes are used
|
||||
themedCSS: {
|
||||
width: '30%',
|
||||
top: '40%',
|
||||
left: '35%'
|
||||
},
|
||||
|
||||
// styles for the overlay
|
||||
overlayCSS: {
|
||||
backgroundColor: '#000',
|
||||
opacity: 0.6,
|
||||
cursor: 'wait'
|
||||
},
|
||||
|
||||
// style to replace wait cursor before unblocking to correct issue
|
||||
// of lingering wait cursor
|
||||
cursorReset: 'default',
|
||||
|
||||
// styles applied when using $.growlUI
|
||||
growlCSS: {
|
||||
width: '350px',
|
||||
top: '10px',
|
||||
left: '',
|
||||
right: '10px',
|
||||
border: 'none',
|
||||
padding: '5px',
|
||||
opacity: 0.6,
|
||||
cursor: 'default',
|
||||
color: '#fff',
|
||||
backgroundColor: '#000',
|
||||
'-webkit-border-radius':'10px',
|
||||
'-moz-border-radius': '10px',
|
||||
'border-radius': '10px'
|
||||
},
|
||||
|
||||
// IE issues: 'about:blank' fails on HTTPS and javascript:false is s-l-o-w
|
||||
// (hat tip to Jorge H. N. de Vasconcelos)
|
||||
/*jshint scripturl:true */
|
||||
iframeSrc: /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank',
|
||||
|
||||
// force usage of iframe in non-IE browsers (handy for blocking applets)
|
||||
forceIframe: false,
|
||||
|
||||
// z-index for the blocking overlay
|
||||
baseZ: 1000,
|
||||
|
||||
// set these to true to have the message automatically centered
|
||||
centerX: true, // <-- only effects element blocking (page block controlled via css above)
|
||||
centerY: true,
|
||||
|
||||
// allow body element to be stetched in ie6; this makes blocking look better
|
||||
// on "short" pages. disable if you wish to prevent changes to the body height
|
||||
allowBodyStretch: true,
|
||||
|
||||
// enable if you want key and mouse events to be disabled for content that is blocked
|
||||
bindEvents: true,
|
||||
|
||||
// be default blockUI will supress tab navigation from leaving blocking content
|
||||
// (if bindEvents is true)
|
||||
constrainTabKey: true,
|
||||
|
||||
// fadeIn time in millis; set to 0 to disable fadeIn on block
|
||||
fadeIn: 200,
|
||||
|
||||
// fadeOut time in millis; set to 0 to disable fadeOut on unblock
|
||||
fadeOut: 400,
|
||||
|
||||
// time in millis to wait before auto-unblocking; set to 0 to disable auto-unblock
|
||||
timeout: 0,
|
||||
|
||||
// disable if you don't want to show the overlay
|
||||
showOverlay: true,
|
||||
|
||||
// if true, focus will be placed in the first available input field when
|
||||
// page blocking
|
||||
focusInput: true,
|
||||
|
||||
// elements that can receive focus
|
||||
focusableElements: ':input:enabled:visible',
|
||||
|
||||
// suppresses the use of overlay styles on FF/Linux (due to performance issues with opacity)
|
||||
// no longer needed in 2012
|
||||
// applyPlatformOpacityRules: true,
|
||||
|
||||
// callback method invoked when fadeIn has completed and blocking message is visible
|
||||
onBlock: null,
|
||||
|
||||
// callback method invoked when unblocking has completed; the callback is
|
||||
// passed the element that has been unblocked (which is the window object for page
|
||||
// blocks) and the options that were passed to the unblock call:
|
||||
// onUnblock(element, options)
|
||||
onUnblock: null,
|
||||
|
||||
// callback method invoked when the overlay area is clicked.
|
||||
// setting this will turn the cursor to a pointer, otherwise cursor defined in overlayCss will be used.
|
||||
onOverlayClick: null,
|
||||
|
||||
// don't ask; if you really must know: http://groups.google.com/group/jquery-en/browse_thread/thread/36640a8730503595/2f6a79a77a78e493#2f6a79a77a78e493
|
||||
quirksmodeOffsetHack: 4,
|
||||
|
||||
// class name of the message block
|
||||
blockMsgClass: 'blockMsg',
|
||||
|
||||
// if it is already blocked, then ignore it (don't unblock and reblock)
|
||||
ignoreIfBlocked: false
|
||||
};
|
||||
|
||||
// private data and functions follow...
|
||||
|
||||
var pageBlock = null;
|
||||
var pageBlockEls = [];
|
||||
|
||||
function install(el, opts) {
|
||||
var css, themedCSS;
|
||||
var full = (el == window);
|
||||
var msg = (opts && opts.message !== undefined ? opts.message : undefined);
|
||||
opts = $.extend({}, $.blockUI.defaults, opts || {});
|
||||
|
||||
if (opts.ignoreIfBlocked && $(el).data('blockUI.isBlocked'))
|
||||
return;
|
||||
|
||||
opts.overlayCSS = $.extend({}, $.blockUI.defaults.overlayCSS, opts.overlayCSS || {});
|
||||
css = $.extend({}, $.blockUI.defaults.css, opts.css || {});
|
||||
if (opts.onOverlayClick)
|
||||
opts.overlayCSS.cursor = 'pointer';
|
||||
|
||||
themedCSS = $.extend({}, $.blockUI.defaults.themedCSS, opts.themedCSS || {});
|
||||
msg = msg === undefined ? opts.message : msg;
|
||||
|
||||
// remove the current block (if there is one)
|
||||
if (full && pageBlock)
|
||||
remove(window, {fadeOut:0});
|
||||
|
||||
// if an existing element is being used as the blocking content then we capture
|
||||
// its current place in the DOM (and current display style) so we can restore
|
||||
// it when we unblock
|
||||
if (msg && typeof msg != 'string' && (msg.parentNode || msg.jquery)) {
|
||||
var node = msg.jquery ? msg[0] : msg;
|
||||
var data = {};
|
||||
$(el).data('blockUI.history', data);
|
||||
data.el = node;
|
||||
data.parent = node.parentNode;
|
||||
data.display = node.style.display;
|
||||
data.position = node.style.position;
|
||||
if (data.parent)
|
||||
data.parent.removeChild(node);
|
||||
}
|
||||
|
||||
$(el).data('blockUI.onUnblock', opts.onUnblock);
|
||||
var z = opts.baseZ;
|
||||
|
||||
// blockUI uses 3 layers for blocking, for simplicity they are all used on every platform;
|
||||
// layer1 is the iframe layer which is used to supress bleed through of underlying content
|
||||
// layer2 is the overlay layer which has opacity and a wait cursor (by default)
|
||||
// layer3 is the message content that is displayed while blocking
|
||||
var lyr1, lyr2, lyr3, s;
|
||||
if (msie || opts.forceIframe)
|
||||
lyr1 = $('<iframe class="blockUI" style="z-index:'+ (z++) +';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+opts.iframeSrc+'"></iframe>');
|
||||
else
|
||||
lyr1 = $('<div class="blockUI" style="display:none"></div>');
|
||||
|
||||
if (opts.theme)
|
||||
lyr2 = $('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+ (z++) +';display:none"></div>');
|
||||
else
|
||||
lyr2 = $('<div class="blockUI blockOverlay" style="z-index:'+ (z++) +';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');
|
||||
|
||||
if (opts.theme && full) {
|
||||
s = '<div class="blockUI ' + opts.blockMsgClass + ' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(z+10)+';display:none;position:fixed">';
|
||||
if ( opts.title ) {
|
||||
s += '<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(opts.title || ' ')+'</div>';
|
||||
}
|
||||
s += '<div class="ui-widget-content ui-dialog-content"></div>';
|
||||
s += '</div>';
|
||||
}
|
||||
else if (opts.theme) {
|
||||
s = '<div class="blockUI ' + opts.blockMsgClass + ' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(z+10)+';display:none;position:absolute">';
|
||||
if ( opts.title ) {
|
||||
s += '<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(opts.title || ' ')+'</div>';
|
||||
}
|
||||
s += '<div class="ui-widget-content ui-dialog-content"></div>';
|
||||
s += '</div>';
|
||||
}
|
||||
else if (full) {
|
||||
s = '<div class="blockUI ' + opts.blockMsgClass + ' blockPage" style="z-index:'+(z+10)+';display:none;position:fixed"></div>';
|
||||
}
|
||||
else {
|
||||
s = '<div class="blockUI ' + opts.blockMsgClass + ' blockElement" style="z-index:'+(z+10)+';display:none;position:absolute"></div>';
|
||||
}
|
||||
lyr3 = $(s);
|
||||
|
||||
// if we have a message, style it
|
||||
if (msg) {
|
||||
if (opts.theme) {
|
||||
lyr3.css(themedCSS);
|
||||
lyr3.addClass('ui-widget-content');
|
||||
}
|
||||
else
|
||||
lyr3.css(css);
|
||||
}
|
||||
|
||||
// style the overlay
|
||||
if (!opts.theme /*&& (!opts.applyPlatformOpacityRules)*/)
|
||||
lyr2.css(opts.overlayCSS);
|
||||
lyr2.css('position', full ? 'fixed' : 'absolute');
|
||||
|
||||
// make iframe layer transparent in IE
|
||||
if (msie || opts.forceIframe)
|
||||
lyr1.css('opacity',0.0);
|
||||
|
||||
//$([lyr1[0],lyr2[0],lyr3[0]]).appendTo(full ? 'body' : el);
|
||||
var layers = [lyr1,lyr2,lyr3], $par = full ? $('body') : $(el);
|
||||
$.each(layers, function() {
|
||||
this.appendTo($par);
|
||||
});
|
||||
|
||||
if (opts.theme && opts.draggable && $.fn.draggable) {
|
||||
lyr3.draggable({
|
||||
handle: '.ui-dialog-titlebar',
|
||||
cancel: 'li'
|
||||
});
|
||||
}
|
||||
|
||||
// ie7 must use absolute positioning in quirks mode and to account for activex issues (when scrolling)
|
||||
var expr = setExpr && (!$.support.boxModel || $('object,embed', full ? null : el).length > 0);
|
||||
if (ie6 || expr) {
|
||||
// give body 100% height
|
||||
if (full && opts.allowBodyStretch && $.support.boxModel)
|
||||
$('html,body').css('height','100%');
|
||||
|
||||
// fix ie6 issue when blocked element has a border width
|
||||
if ((ie6 || !$.support.boxModel) && !full) {
|
||||
var t = sz(el,'borderTopWidth'), l = sz(el,'borderLeftWidth');
|
||||
var fixT = t ? '(0 - '+t+')' : 0;
|
||||
var fixL = l ? '(0 - '+l+')' : 0;
|
||||
}
|
||||
|
||||
// simulate fixed position
|
||||
$.each(layers, function(i,o) {
|
||||
var s = o[0].style;
|
||||
s.position = 'absolute';
|
||||
if (i < 2) {
|
||||
if (full)
|
||||
s.setExpression('height','Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:'+opts.quirksmodeOffsetHack+') + "px"');
|
||||
else
|
||||
s.setExpression('height','this.parentNode.offsetHeight + "px"');
|
||||
if (full)
|
||||
s.setExpression('width','jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"');
|
||||
else
|
||||
s.setExpression('width','this.parentNode.offsetWidth + "px"');
|
||||
if (fixL) s.setExpression('left', fixL);
|
||||
if (fixT) s.setExpression('top', fixT);
|
||||
}
|
||||
else if (opts.centerY) {
|
||||
if (full) s.setExpression('top','(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"');
|
||||
s.marginTop = 0;
|
||||
}
|
||||
else if (!opts.centerY && full) {
|
||||
var top = (opts.css && opts.css.top) ? parseInt(opts.css.top, 10) : 0;
|
||||
var expression = '((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + '+top+') + "px"';
|
||||
s.setExpression('top',expression);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// show the message
|
||||
if (msg) {
|
||||
if (opts.theme)
|
||||
lyr3.find('.ui-widget-content').append(msg);
|
||||
else
|
||||
lyr3.append(msg);
|
||||
if (msg.jquery || msg.nodeType)
|
||||
$(msg).show();
|
||||
}
|
||||
|
||||
if ((msie || opts.forceIframe) && opts.showOverlay)
|
||||
lyr1.show(); // opacity is zero
|
||||
if (opts.fadeIn) {
|
||||
var cb = opts.onBlock ? opts.onBlock : noOp;
|
||||
var cb1 = (opts.showOverlay && !msg) ? cb : noOp;
|
||||
var cb2 = msg ? cb : noOp;
|
||||
if (opts.showOverlay)
|
||||
lyr2._fadeIn(opts.fadeIn, cb1);
|
||||
if (msg)
|
||||
lyr3._fadeIn(opts.fadeIn, cb2);
|
||||
}
|
||||
else {
|
||||
if (opts.showOverlay)
|
||||
lyr2.show();
|
||||
if (msg)
|
||||
lyr3.show();
|
||||
if (opts.onBlock)
|
||||
opts.onBlock.bind(lyr3)();
|
||||
}
|
||||
|
||||
// bind key and mouse events
|
||||
bind(1, el, opts);
|
||||
|
||||
if (full) {
|
||||
pageBlock = lyr3[0];
|
||||
pageBlockEls = $(opts.focusableElements,pageBlock);
|
||||
if (opts.focusInput)
|
||||
setTimeout(focus, 20);
|
||||
}
|
||||
else
|
||||
center(lyr3[0], opts.centerX, opts.centerY);
|
||||
|
||||
if (opts.timeout) {
|
||||
// auto-unblock
|
||||
var to = setTimeout(function() {
|
||||
if (full)
|
||||
$.unblockUI(opts);
|
||||
else
|
||||
$(el).unblock(opts);
|
||||
}, opts.timeout);
|
||||
$(el).data('blockUI.timeout', to);
|
||||
}
|
||||
}
|
||||
|
||||
// remove the block
|
||||
function remove(el, opts) {
|
||||
var count;
|
||||
var full = (el == window);
|
||||
var $el = $(el);
|
||||
var data = $el.data('blockUI.history');
|
||||
var to = $el.data('blockUI.timeout');
|
||||
if (to) {
|
||||
clearTimeout(to);
|
||||
$el.removeData('blockUI.timeout');
|
||||
}
|
||||
opts = $.extend({}, $.blockUI.defaults, opts || {});
|
||||
bind(0, el, opts); // unbind events
|
||||
|
||||
if (opts.onUnblock === null) {
|
||||
opts.onUnblock = $el.data('blockUI.onUnblock');
|
||||
$el.removeData('blockUI.onUnblock');
|
||||
}
|
||||
|
||||
var els;
|
||||
if (full) // crazy selector to handle odd field errors in ie6/7
|
||||
els = $('body').children().filter('.blockUI').add('body > .blockUI');
|
||||
else
|
||||
els = $el.find('>.blockUI');
|
||||
|
||||
// fix cursor issue
|
||||
if ( opts.cursorReset ) {
|
||||
if ( els.length > 1 )
|
||||
els[1].style.cursor = opts.cursorReset;
|
||||
if ( els.length > 2 )
|
||||
els[2].style.cursor = opts.cursorReset;
|
||||
}
|
||||
|
||||
if (full)
|
||||
pageBlock = pageBlockEls = null;
|
||||
|
||||
if (opts.fadeOut) {
|
||||
count = els.length;
|
||||
els.stop().fadeOut(opts.fadeOut, function() {
|
||||
if ( --count === 0)
|
||||
reset(els,data,opts,el);
|
||||
});
|
||||
}
|
||||
else
|
||||
reset(els, data, opts, el);
|
||||
}
|
||||
|
||||
// move blocking element back into the DOM where it started
|
||||
function reset(els,data,opts,el) {
|
||||
var $el = $(el);
|
||||
if ( $el.data('blockUI.isBlocked') )
|
||||
return;
|
||||
|
||||
els.each(function(i,o) {
|
||||
// remove via DOM calls so we don't lose event handlers
|
||||
if (this.parentNode)
|
||||
this.parentNode.removeChild(this);
|
||||
});
|
||||
|
||||
if (data && data.el) {
|
||||
data.el.style.display = data.display;
|
||||
data.el.style.position = data.position;
|
||||
data.el.style.cursor = 'default'; // #59
|
||||
if (data.parent)
|
||||
data.parent.appendChild(data.el);
|
||||
$el.removeData('blockUI.history');
|
||||
}
|
||||
|
||||
if ($el.data('blockUI.static')) {
|
||||
$el.css('position', 'static'); // #22
|
||||
}
|
||||
|
||||
if (typeof opts.onUnblock == 'function')
|
||||
opts.onUnblock(el,opts);
|
||||
|
||||
// fix issue in Safari 6 where block artifacts remain until reflow
|
||||
var body = $(document.body), w = body.width(), cssW = body[0].style.width;
|
||||
body.width(w-1).width(w);
|
||||
body[0].style.width = cssW;
|
||||
}
|
||||
|
||||
// bind/unbind the handler
|
||||
function bind(b, el, opts) {
|
||||
var full = el == window, $el = $(el);
|
||||
|
||||
// don't bother unbinding if there is nothing to unbind
|
||||
if (!b && (full && !pageBlock || !full && !$el.data('blockUI.isBlocked')))
|
||||
return;
|
||||
|
||||
$el.data('blockUI.isBlocked', b);
|
||||
|
||||
// don't bind events when overlay is not in use or if bindEvents is false
|
||||
if (!full || !opts.bindEvents || (b && !opts.showOverlay))
|
||||
return;
|
||||
|
||||
// bind anchors and inputs for mouse and key events
|
||||
var events = 'mousedown mouseup keydown keypress keyup touchstart touchend touchmove';
|
||||
if (b)
|
||||
$(document).bind(events, opts, handler);
|
||||
else
|
||||
$(document).unbind(events, handler);
|
||||
|
||||
// former impl...
|
||||
// var $e = $('a,:input');
|
||||
// b ? $e.bind(events, opts, handler) : $e.unbind(events, handler);
|
||||
}
|
||||
|
||||
// event handler to suppress keyboard/mouse events when blocking
|
||||
function handler(e) {
|
||||
// allow tab navigation (conditionally)
|
||||
if (e.type === 'keydown' && e.keyCode && e.keyCode == 9) {
|
||||
if (pageBlock && e.data.constrainTabKey) {
|
||||
var els = pageBlockEls;
|
||||
var fwd = !e.shiftKey && e.target === els[els.length-1];
|
||||
var back = e.shiftKey && e.target === els[0];
|
||||
if (fwd || back) {
|
||||
setTimeout(function(){focus(back);},10);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
var opts = e.data;
|
||||
var target = $(e.target);
|
||||
if (target.hasClass('blockOverlay') && opts.onOverlayClick)
|
||||
opts.onOverlayClick(e);
|
||||
|
||||
// allow events within the message content
|
||||
if (target.parents('div.' + opts.blockMsgClass).length > 0)
|
||||
return true;
|
||||
|
||||
// allow events for content that is not being blocked
|
||||
return target.parents().children().filter('div.blockUI').length === 0;
|
||||
}
|
||||
|
||||
function focus(back) {
|
||||
if (!pageBlockEls)
|
||||
return;
|
||||
var e = pageBlockEls[back===true ? pageBlockEls.length-1 : 0];
|
||||
if (e)
|
||||
e.focus();
|
||||
}
|
||||
|
||||
function center(el, x, y) {
|
||||
var p = el.parentNode, s = el.style;
|
||||
var l = ((p.offsetWidth - el.offsetWidth)/2) - sz(p,'borderLeftWidth');
|
||||
var t = ((p.offsetHeight - el.offsetHeight)/2) - sz(p,'borderTopWidth');
|
||||
if (x) s.left = l > 0 ? (l+'px') : '0';
|
||||
if (y) s.top = t > 0 ? (t+'px') : '0';
|
||||
}
|
||||
|
||||
function sz(el, p) {
|
||||
return parseInt($.css(el,p),10)||0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*global define:true */
|
||||
if (typeof define === 'function' && define.amd && define.amd.jQuery) {
|
||||
define(['jquery'], setup);
|
||||
} else {
|
||||
setup(jQuery);
|
||||
}
|
||||
|
||||
})();
|
@ -1,323 +0,0 @@
|
||||
/*
|
||||
* jQuery UI Monthpicker
|
||||
*
|
||||
* @licensed MIT <see below>
|
||||
* @licensed GPL <see below>
|
||||
*
|
||||
* @author Luciano Costa
|
||||
* http://lucianocosta.info/jquery.mtz.monthpicker/
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
*/
|
||||
|
||||
/**
|
||||
* MIT License
|
||||
* Copyright (c) 2011, Luciano Costa
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
/**
|
||||
* GPL LIcense
|
||||
* Copyright (c) 2011, Luciano Costa
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
;(function ($) {
|
||||
|
||||
var methods = {
|
||||
init : function (options) {
|
||||
return this.each(function () {
|
||||
var
|
||||
$this = $(this),
|
||||
data = $this.data('monthpicker'),
|
||||
year = (options && options.year) ? options.year : (new Date()).getFullYear(),
|
||||
settings = $.extend({
|
||||
pattern: 'mm/yyyy',
|
||||
selectedMonth: null,
|
||||
selectedMonthName: '',
|
||||
selectedYear: year,
|
||||
startYear: year - 10,
|
||||
finalYear: year + 10,
|
||||
monthNames: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
||||
id: "monthpicker_" + (Math.random() * Math.random()).toString().replace('.', ''),
|
||||
openOnFocus: true,
|
||||
disabledMonths: []
|
||||
}, options);
|
||||
|
||||
settings.dateSeparator = settings.pattern.replace(/(mmm|mm|m|yyyy|yy|y)/ig,'');
|
||||
|
||||
// If the plugin hasn't been initialized yet for this element
|
||||
if (!data) {
|
||||
|
||||
$(this).data('monthpicker', {
|
||||
'target': $this,
|
||||
'settings': settings
|
||||
});
|
||||
|
||||
if (settings.openOnFocus === true) {
|
||||
$this.on('focus', function () {
|
||||
$this.monthpicker('show');
|
||||
});
|
||||
}
|
||||
|
||||
$this.monthpicker('parseInputValue', settings);
|
||||
|
||||
$this.monthpicker('mountWidget', settings);
|
||||
|
||||
$this.on('monthpicker-click-month', function (e, month, year) {
|
||||
$this.monthpicker('setValue', settings);
|
||||
$this.monthpicker('hide');
|
||||
});
|
||||
|
||||
// hide widget when user clicks elsewhere on page
|
||||
$this.addClass("mtz-monthpicker-widgetcontainer");
|
||||
$(document).unbind("mousedown.mtzmonthpicker").on("mousedown.mtzmonthpicker", function (e) {
|
||||
if (!e.target.className || e.target.className.toString().indexOf('mtz-monthpicker') < 0) {
|
||||
$(this).monthpicker('hideAll');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
show: function () {
|
||||
$(this).monthpicker('hideAll');
|
||||
var widget = $('#' + this.data('monthpicker').settings.id);
|
||||
widget.css("top", this.offset().top + this.outerHeight());
|
||||
if ($(window).width() > (widget.width() + this.offset().left) ){
|
||||
widget.css("left", this.offset().left);
|
||||
} else {
|
||||
widget.css("left", this.offset().left - widget.width());
|
||||
}
|
||||
widget.show();
|
||||
widget.find('select').focus();
|
||||
this.trigger('monthpicker-show');
|
||||
},
|
||||
|
||||
hide: function () {
|
||||
var widget = $('#' + this.data('monthpicker').settings.id);
|
||||
if (widget.is(':visible')) {
|
||||
widget.hide();
|
||||
this.trigger('monthpicker-hide');
|
||||
}
|
||||
},
|
||||
|
||||
hideAll: function () {
|
||||
$(".mtz-monthpicker-widgetcontainer").each(function () {
|
||||
if (typeof($(this).data("monthpicker"))!="undefined") {
|
||||
$(this).monthpicker('hide');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
setValue: function (settings) {
|
||||
var
|
||||
month = settings.selectedMonth,
|
||||
year = settings.selectedYear;
|
||||
|
||||
if(settings.pattern.indexOf('mmm') >= 0) {
|
||||
month = settings.selectedMonthName;
|
||||
} else if(settings.pattern.indexOf('mm') >= 0 && settings.selectedMonth < 10) {
|
||||
month = '0' + settings.selectedMonth;
|
||||
}
|
||||
|
||||
if(settings.pattern.indexOf('yyyy') < 0) {
|
||||
year = year.toString().substr(2,2);
|
||||
}
|
||||
|
||||
if (settings.pattern.indexOf('y') > settings.pattern.indexOf(settings.dateSeparator)) {
|
||||
this.val(month + settings.dateSeparator + year);
|
||||
} else {
|
||||
this.val(year + settings.dateSeparator + month);
|
||||
}
|
||||
|
||||
this.change();
|
||||
},
|
||||
|
||||
disableMonths: function (months) {
|
||||
var
|
||||
settings = this.data('monthpicker').settings,
|
||||
container = $('#' + settings.id);
|
||||
|
||||
settings.disabledMonths = months;
|
||||
|
||||
container.find('.mtz-monthpicker-month').each(function () {
|
||||
var m = parseInt($(this).data('month'));
|
||||
if ($.inArray(m, months) >= 0) {
|
||||
$(this).addClass('ui-state-disabled');
|
||||
} else {
|
||||
$(this).removeClass('ui-state-disabled');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
mountWidget: function (settings) {
|
||||
var
|
||||
monthpicker = this,
|
||||
container = $('<div id="'+ settings.id +'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" />'),
|
||||
header = $('<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix ui-corner-all mtz-monthpicker" />'),
|
||||
combo = $('<select class="mtz-monthpicker mtz-monthpicker-year" />'),
|
||||
table = $('<table class="mtz-monthpicker" />'),
|
||||
tbody = $('<tbody class="mtz-monthpicker" />'),
|
||||
tr = $('<tr class="mtz-monthpicker" />'),
|
||||
td = '',
|
||||
selectedYear = settings.selectedYear,
|
||||
option = null,
|
||||
attrSelectedYear = $(this).data('selected-year'),
|
||||
attrStartYear = $(this).data('start-year'),
|
||||
attrFinalYear = $(this).data('final-year');
|
||||
|
||||
if (attrSelectedYear) {
|
||||
settings.selectedYear = attrSelectedYear;
|
||||
}
|
||||
|
||||
if (attrStartYear) {
|
||||
settings.startYear = attrStartYear;
|
||||
}
|
||||
|
||||
if (attrFinalYear) {
|
||||
settings.finalYear = attrFinalYear;
|
||||
}
|
||||
|
||||
container.css({
|
||||
position:'absolute',
|
||||
zIndex:999999,
|
||||
whiteSpace:'nowrap',
|
||||
width:'250px',
|
||||
overflow:'hidden',
|
||||
textAlign:'center',
|
||||
display:'none',
|
||||
top: monthpicker.offset().top + monthpicker.outerHeight(),
|
||||
left: monthpicker.offset().left
|
||||
});
|
||||
|
||||
combo.on('change', function () {
|
||||
var months = $(this).parent().parent().find('td[data-month]');
|
||||
months.removeClass('ui-state-active');
|
||||
if ($(this).val() == settings.selectedYear) {
|
||||
months.filter('td[data-month='+ settings.selectedMonth +']').addClass('ui-state-active');
|
||||
}
|
||||
monthpicker.trigger('monthpicker-change-year', $(this).val());
|
||||
});
|
||||
|
||||
// mount years combo
|
||||
for (var i = settings.startYear; i <= settings.finalYear; i++) {
|
||||
var option = $('<option class="mtz-monthpicker" />').attr('value', i).append(i);
|
||||
if (settings.selectedYear == i) {
|
||||
option.attr('selected', 'selected');
|
||||
}
|
||||
combo.append(option);
|
||||
}
|
||||
header.append(combo).appendTo(container);
|
||||
|
||||
// mount months table
|
||||
for (var i=1; i<=12; i++) {
|
||||
td = $('<td class="ui-state-default mtz-monthpicker mtz-monthpicker-month" style="padding:5px;cursor:pointer;" />').attr('data-month',i);
|
||||
if (settings.selectedMonth == i) {
|
||||
td.addClass('ui-state-active');
|
||||
}
|
||||
td.append(settings.monthNames[i-1]);
|
||||
tr.append(td).appendTo(tbody);
|
||||
if (i % 3 === 0) {
|
||||
tr = $('<tr class="mtz-monthpicker" />');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
tbody.find('.mtz-monthpicker-month').on({
|
||||
'click' : function () {
|
||||
var m = parseInt($(this).data('month'));
|
||||
if ($.inArray(m, settings.disabledMonths) < 0 ) {
|
||||
settings.selectedYear = $(this).closest('.ui-datepicker').find('.mtz-monthpicker-year').first().val();
|
||||
settings.selectedMonth = $(this).data('month');
|
||||
settings.selectedMonthName = $(this).text();
|
||||
monthpicker.trigger('monthpicker-click-month', $(this).data('month'));
|
||||
$(this).closest('table').find('.ui-state-active').removeClass('ui-state-active');
|
||||
$(this).addClass('ui-state-active');
|
||||
}
|
||||
},
|
||||
'mouseenter' : function( event ) {
|
||||
$( event.currentTarget ).addClass( "ui-state-hover" );
|
||||
},
|
||||
'mouseleave' : function( event ) {
|
||||
$( event.currentTarget ).removeClass( "ui-state-hover" );
|
||||
}
|
||||
});
|
||||
|
||||
table.append(tbody).appendTo(container);
|
||||
|
||||
container.appendTo('body');
|
||||
},
|
||||
|
||||
destroy: function () {
|
||||
return this.each(function () {
|
||||
$(this).removeClass('mtz-monthpicker-widgetcontainer').unbind('focus').removeData('monthpicker');
|
||||
});
|
||||
},
|
||||
|
||||
getDate: function () {
|
||||
var settings = this.data('monthpicker').settings;
|
||||
if (settings.selectedMonth && settings.selectedYear) {
|
||||
return new Date(settings.selectedYear, settings.selectedMonth -1);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
},
|
||||
|
||||
parseInputValue: function (settings) {
|
||||
if (this.val()) {
|
||||
if (settings.dateSeparator) {
|
||||
var val = this.val().toString().split(settings.dateSeparator);
|
||||
if (settings.pattern.indexOf('m') === 0) {
|
||||
settings.selectedMonth = val[0];
|
||||
settings.selectedYear = val[1];
|
||||
} else {
|
||||
settings.selectedMonth = val[1];
|
||||
settings.selectedYear = val[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
$.fn.monthpicker = function (method) {
|
||||
if (methods[method]) {
|
||||
return methods[method].apply(this, Array.prototype.slice.call( arguments, 1 ));
|
||||
} else if (typeof method === 'object' || ! method) {
|
||||
return methods.init.apply(this, arguments);
|
||||
} else {
|
||||
$.error('Method ' + method + ' does not exist on jQuery.mtz.monthpicker');
|
||||
}
|
||||
};
|
||||
|
||||
})(jQuery);
|
@ -1,256 +0,0 @@
|
||||
/*
|
||||
* Treeview 1.5pre - jQuery plugin to hide and show branches of a tree
|
||||
*
|
||||
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
|
||||
* http://docs.jquery.com/Plugins/Treeview
|
||||
*
|
||||
* Copyright (c) 2007 Jörn Zaefferer
|
||||
*
|
||||
* Dual licensed under the MIT and GPL licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* Revision: $Id: jquery.treeview.js 5759 2008-07-01 07:50:28Z joern.zaefferer $
|
||||
*
|
||||
*/
|
||||
|
||||
;(function($) {
|
||||
|
||||
// TODO rewrite as a widget, removing all the extra plugins
|
||||
$.extend($.fn, {
|
||||
swapClass: function(c1, c2) {
|
||||
var c1Elements = this.filter('.' + c1);
|
||||
this.filter('.' + c2).removeClass(c2).addClass(c1);
|
||||
c1Elements.removeClass(c1).addClass(c2);
|
||||
return this;
|
||||
},
|
||||
replaceClass: function(c1, c2) {
|
||||
return this.filter('.' + c1).removeClass(c1).addClass(c2).end();
|
||||
},
|
||||
hoverClass: function(className) {
|
||||
className = className || "hover";
|
||||
return this.hover(function() {
|
||||
$(this).addClass(className);
|
||||
}, function() {
|
||||
$(this).removeClass(className);
|
||||
});
|
||||
},
|
||||
heightToggle: function(animated, callback) {
|
||||
animated ?
|
||||
this.animate({ height: "toggle" }, animated, callback) :
|
||||
this.each(function(){
|
||||
jQuery(this)[ jQuery(this).is(":hidden") ? "show" : "hide" ]();
|
||||
if(callback)
|
||||
callback.apply(this, arguments);
|
||||
});
|
||||
},
|
||||
heightHide: function(animated, callback) {
|
||||
if (animated) {
|
||||
this.animate({ height: "hide" }, animated, callback);
|
||||
} else {
|
||||
this.hide();
|
||||
if (callback)
|
||||
this.each(callback);
|
||||
}
|
||||
},
|
||||
prepareBranches: function(settings) {
|
||||
if (!settings.prerendered) {
|
||||
// mark last tree items
|
||||
this.filter(":last-child:not(ul)").addClass(CLASSES.last);
|
||||
// collapse whole tree, or only those marked as closed, anyway except those marked as open
|
||||
this.filter((settings.collapsed ? "" : "." + CLASSES.closed) + ":not(." + CLASSES.open + ")").find(">ul").hide();
|
||||
}
|
||||
// return all items with sublists
|
||||
return this.filter(":has(>ul)");
|
||||
},
|
||||
applyClasses: function(settings, toggler) {
|
||||
// TODO use event delegation
|
||||
this.filter(":has(>ul):not(:has(>a))").find(">span").unbind("click.treeview").bind("click.treeview", function(event) {
|
||||
// don't handle click events on children, eg. checkboxes
|
||||
if ( this == event.target )
|
||||
toggler.apply($(this).next());
|
||||
}).add( $("a", this) ).hoverClass();
|
||||
|
||||
if (!settings.prerendered) {
|
||||
// handle closed ones first
|
||||
this.filter(":has(>ul:hidden)")
|
||||
.addClass(CLASSES.expandable)
|
||||
.replaceClass(CLASSES.last, CLASSES.lastExpandable);
|
||||
|
||||
// handle open ones
|
||||
this.not(":has(>ul:hidden)")
|
||||
.addClass(CLASSES.collapsable)
|
||||
.replaceClass(CLASSES.last, CLASSES.lastCollapsable);
|
||||
|
||||
// create hitarea if not present
|
||||
var hitarea = this.find("div." + CLASSES.hitarea);
|
||||
if (!hitarea.length)
|
||||
hitarea = this.prepend("<div class=\"" + CLASSES.hitarea + "\"/>").find("div." + CLASSES.hitarea);
|
||||
hitarea.removeClass().addClass(CLASSES.hitarea).each(function() {
|
||||
var classes = "";
|
||||
$.each($(this).parent().attr("class").split(" "), function() {
|
||||
classes += this + "-hitarea ";
|
||||
});
|
||||
$(this).addClass( classes );
|
||||
})
|
||||
}
|
||||
|
||||
// apply event to hitarea
|
||||
this.find("div." + CLASSES.hitarea).click( toggler );
|
||||
},
|
||||
treeview: function(settings) {
|
||||
|
||||
settings = $.extend({
|
||||
cookieId: "treeview"
|
||||
}, settings);
|
||||
|
||||
if ( settings.toggle ) {
|
||||
var callback = settings.toggle;
|
||||
settings.toggle = function() {
|
||||
return callback.apply($(this).parent()[0], arguments);
|
||||
};
|
||||
}
|
||||
|
||||
// factory for treecontroller
|
||||
function treeController(tree, control) {
|
||||
// factory for click handlers
|
||||
function handler(filter) {
|
||||
return function() {
|
||||
// reuse toggle event handler, applying the elements to toggle
|
||||
// start searching for all hitareas
|
||||
toggler.apply( $("div." + CLASSES.hitarea, tree).filter(function() {
|
||||
// for plain toggle, no filter is provided, otherwise we need to check the parent element
|
||||
return filter ? $(this).parent("." + filter).length : true;
|
||||
}) );
|
||||
return false;
|
||||
};
|
||||
}
|
||||
// click on first element to collapse tree
|
||||
$("a:eq(0)", control).click( handler(CLASSES.collapsable) );
|
||||
// click on second to expand tree
|
||||
$("a:eq(1)", control).click( handler(CLASSES.expandable) );
|
||||
// click on third to toggle tree
|
||||
$("a:eq(2)", control).click( handler() );
|
||||
}
|
||||
|
||||
// handle toggle event
|
||||
function toggler() {
|
||||
$(this)
|
||||
.parent()
|
||||
// swap classes for hitarea
|
||||
.find(">.hitarea")
|
||||
.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
|
||||
.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
|
||||
.end()
|
||||
// swap classes for parent li
|
||||
.swapClass( CLASSES.collapsable, CLASSES.expandable )
|
||||
.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
|
||||
// find child lists
|
||||
.find( ">ul" )
|
||||
// toggle them
|
||||
.heightToggle( settings.animated, settings.toggle );
|
||||
if ( settings.unique ) {
|
||||
$(this).parent()
|
||||
.siblings()
|
||||
// swap classes for hitarea
|
||||
.find(">.hitarea")
|
||||
.replaceClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
|
||||
.replaceClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
|
||||
.end()
|
||||
.replaceClass( CLASSES.collapsable, CLASSES.expandable )
|
||||
.replaceClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
|
||||
.find( ">ul" )
|
||||
.heightHide( settings.animated, settings.toggle );
|
||||
}
|
||||
}
|
||||
this.data("toggler", toggler);
|
||||
|
||||
function serialize() {
|
||||
function binary(arg) {
|
||||
return arg ? 1 : 0;
|
||||
}
|
||||
var data = [];
|
||||
branches.each(function(i, e) {
|
||||
data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0;
|
||||
});
|
||||
$.cookie(settings.cookieId, data.join(""), settings.cookieOptions );
|
||||
}
|
||||
|
||||
function deserialize() {
|
||||
var stored = $.cookie(settings.cookieId);
|
||||
if ( stored ) {
|
||||
var data = stored.split("");
|
||||
branches.each(function(i, e) {
|
||||
$(e).find(">ul")[ parseInt(data[i]) ? "show" : "hide" ]();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// add treeview class to activate styles
|
||||
this.addClass("treeview");
|
||||
|
||||
// prepare branches and find all tree items with child lists
|
||||
var branches = this.find("li").prepareBranches(settings);
|
||||
|
||||
switch(settings.persist) {
|
||||
case "cookie":
|
||||
var toggleCallback = settings.toggle;
|
||||
settings.toggle = function() {
|
||||
serialize();
|
||||
if (toggleCallback) {
|
||||
toggleCallback.apply(this, arguments);
|
||||
}
|
||||
};
|
||||
deserialize();
|
||||
break;
|
||||
case "location":
|
||||
var current = this.find("a").filter(function() {
|
||||
return this.href.toLowerCase() == location.href.toLowerCase();
|
||||
});
|
||||
if ( current.length ) {
|
||||
// TODO update the open/closed classes
|
||||
var items = current.addClass("selected").parents("ul, li").add( current.next() ).show();
|
||||
if (settings.prerendered) {
|
||||
// if prerendered is on, replicate the basic class swapping
|
||||
items.filter("li")
|
||||
.swapClass( CLASSES.collapsable, CLASSES.expandable )
|
||||
.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
|
||||
.find(">.hitarea")
|
||||
.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
|
||||
.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea );
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
branches.applyClasses(settings, toggler);
|
||||
|
||||
// if control option is set, create the treecontroller and show it
|
||||
if ( settings.control ) {
|
||||
treeController(this, settings.control);
|
||||
$(settings.control).show();
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
||||
// classes used by the plugin
|
||||
// need to be styled via external stylesheet, see first example
|
||||
$.treeview = {};
|
||||
var CLASSES = ($.treeview.classes = {
|
||||
open: "open",
|
||||
closed: "closed",
|
||||
expandable: "expandable",
|
||||
expandableHitarea: "expandable-hitarea",
|
||||
lastExpandableHitarea: "lastExpandable-hitarea",
|
||||
collapsable: "collapsable",
|
||||
collapsableHitarea: "collapsable-hitarea",
|
||||
lastCollapsableHitarea: "lastCollapsable-hitarea",
|
||||
lastCollapsable: "lastCollapsable",
|
||||
lastExpandable: "lastExpandable",
|
||||
last: "last",
|
||||
hitarea: "hitarea"
|
||||
});
|
||||
|
||||
})(jQuery);
|
@ -1,6 +0,0 @@
|
||||
/*
|
||||
* vertical news ticker
|
||||
* Tadas Juozapaitis ( kasp3rito@gmail.com )
|
||||
* http://plugins.jquery.com/project/vTicker
|
||||
*/
|
||||
(function(a){a.fn.vTicker=function(b){var c={speed:700,pause:4000,showItems:3,animation:"",mousePause:true,isPaused:false,direction:"up",height:0};var b=a.extend(c,b);moveUp=function(g,d,e){if(e.isPaused){return}var f=g.children("ul");var h=f.children("li:first").clone(true);if(e.height>0){d=f.children("li:first").height()}f.animate({top:"-="+d+"px"},e.speed,function(){a(this).children("li:first").remove();a(this).css("top","0px")});if(e.animation=="fade"){f.children("li:first").fadeOut(e.speed);if(e.height==0){f.children("li:eq("+e.showItems+")").hide().fadeIn(e.speed)}}h.appendTo(f)};moveDown=function(g,d,e){if(e.isPaused){return}var f=g.children("ul");var h=f.children("li:last").clone(true);if(e.height>0){d=f.children("li:first").height()}f.css("top","-"+d+"px").prepend(h);f.animate({top:0},e.speed,function(){a(this).children("li:last").remove()});if(e.animation=="fade"){if(e.height==0){f.children("li:eq("+e.showItems+")").fadeOut(e.speed)}f.children("li:first").hide().fadeIn(e.speed)}};return this.each(function(){var f=a(this);var e=0;f.css({overflow:"hidden",position:"relative"}).children("ul").css({position:"absolute",margin:0,padding:0}).children("li").css({margin:0,padding:0});if(b.height==0){f.children("ul").children("li").each(function(){if(a(this).height()>e){e=a(this).height()}});f.children("ul").children("li").each(function(){a(this).height(e)});f.height(e*b.showItems)}else{f.height(b.height)}var d=setInterval(function(){if(b.direction=="up"){moveUp(f,e,b)}else{moveDown(f,e,b)}},b.pause);if(b.mousePause){f.bind("mouseenter",function(){b.isPaused=true}).bind("mouseleave",function(){b.isPaused=false})}})}})(jQuery);
|
@ -1,222 +0,0 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
[class*="pop-address-search"] {font-size:12px; font-family: "돋움",Dotum,AppleGothic,sans-serif; color:#000;}
|
||||
[class*="pop-address-search"] *{padding:0; margin:0; line-height:1.2em}
|
||||
[class*="pop-address-search"] p,
|
||||
[class*="pop-address-search"] h1,
|
||||
[class*="pop-address-search"] h2,
|
||||
[class*="pop-address-search"] h3,
|
||||
[class*="pop-address-search"] h4,
|
||||
[class*="pop-address-search"] h5,
|
||||
[class*="pop-address-search"] h6,
|
||||
[class*="pop-address-search"] ul,
|
||||
[class*="pop-address-search"] ol,
|
||||
[class*="pop-address-search"] li,
|
||||
[class*="pop-address-search"] dl,
|
||||
[class*="pop-address-search"] dt,
|
||||
[class*="pop-address-search"] dd,
|
||||
[class*="pop-address-search"] div,
|
||||
[class*="pop-address-search"] table,
|
||||
[class*="pop-address-search"] th,
|
||||
[class*="pop-address-search"] td,
|
||||
[class*="pop-address-search"] form,
|
||||
[class*="pop-address-search"] fieldset,
|
||||
[class*="pop-address-search"] legend,
|
||||
[class*="pop-address-search"] input,
|
||||
[class*="pop-address-search"] textarea,
|
||||
[class*="pop-address-search"] button,
|
||||
[class*="pop-address-search"] select,
|
||||
[class*="pop-address-search"] pre,
|
||||
[class*="pop-address-search"] code {-webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box;color:#000;}
|
||||
[class*="pop-address-search"] input,
|
||||
[class*="pop-address-search"] textarea,
|
||||
[class*="pop-address-search"] select,
|
||||
[class*="pop-address-search"] button,
|
||||
[class*="pop-address-search"] table {font-size:13px; font-family: "돋움",Dotum,AppleGothic,sans-serif; color:#000; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box;}
|
||||
[class*="pop-address-search"] article,
|
||||
[class*="pop-address-search"] aside,
|
||||
[class*="pop-address-search"] details,
|
||||
[class*="pop-address-search"] figcaption,
|
||||
[class*="pop-address-search"] figure,
|
||||
[class*="pop-address-search"] footer,
|
||||
[class*="pop-address-search"] header,
|
||||
[class*="pop-address-search"] hgroup,
|
||||
[class*="pop-address-search"] nav,
|
||||
[class*="pop-address-search"] section,
|
||||
[class*="pop-address-search"] summary {display:block; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box;}
|
||||
[class*="pop-address-search"] img,
|
||||
[class*="pop-address-search"] fieldset {border:0; vertical-align:middle}
|
||||
[class*="pop-address-search"] iframe,
|
||||
[class*="pop-address-search"] button {border:0}
|
||||
[class*="pop-address-search"] ul,
|
||||
[class*="pop-address-search"] ol {list-style:none}
|
||||
[class*="pop-address-search"] legend,
|
||||
[class*="pop-address-search"] caption,
|
||||
[class*="pop-address-search"] hr {display:none}
|
||||
[class*="pop-address-search"] table {border-collapse:collapse; border-spacing:0;}
|
||||
[class*="pop-address-search"] a {text-decoration:none; font-family: "돋움",Dotum,AppleGothic,sans-serif;}
|
||||
|
||||
/* 바탕 배경 이미지 */
|
||||
.pop-address-search .pop-address-search-inner { background-image: url();}
|
||||
/* 회사 로고 이미지 */
|
||||
.pop-address-search .pop-address-search-inner .logo { background: url(../img/PopUpAPI_Logo.png) no-repeat; background-position:center; min-height: 40px;}
|
||||
|
||||
.pop-address-search {position:absolute; z-index:1; left:0; top:0; width:500px; min-height:400px}
|
||||
.pop-address-search .pop-address-search-inner {position:relative; padding:18px; padding-bottom:20px; text-align:center; border:1px solid #000; background-color:#fff; background-repeat:no-repeat; background-position:100% 100%}
|
||||
.pop-address-search .pop-address-search-inner fieldset {display:inline-block; position:relative; padding-right:36px}
|
||||
.pop-address-search .pop-address-search-inner fieldset .close {position:absolute; right:0; top:50%; margin-top:-12px; width:24px; height:24px; background:url(../img/btn-close-search.png) 50% 50% no-repeat; text-indent:-9999px}
|
||||
.pop-address-search .pop-address-search-inner .wrap {display:block; width:350px; position:relative; border:2px solid #186bb9; padding:0 39px 0 0}
|
||||
.pop-address-search .pop-address-search-inner .wrap:after {content:""; display:block; clear:both}
|
||||
.pop-address-search .pop-address-search-inner .wrap *{height:39px; border:0 none}
|
||||
.pop-address-search .pop-address-search-inner .wrap input[type="text"] {width:100%; line-height:39px; font-size: 14px;}
|
||||
.pop-address-search .pop-address-search-inner .wrap input[type="button"] {position:absolute; right:0; top:0; width:39px; background:url(../img/btn-search.png) 50% 50% no-repeat}
|
||||
.pop-address-search .pop-address-search-inner .guide {display:inline-block; margin-top:14px; color:#186bb9; padding-right:39px}
|
||||
.pop-address-search .pop-address-search-inner .logo {text-align:center; margin-top:15px;}
|
||||
.pop-address-search .pop-address-search-inner .exam {text-align:left; margin-top:5px}
|
||||
.pop-address-search .pop-address-search-inner .exam table.data-col {border-bottom:1px solid #ddd; margin-top:16px}
|
||||
.pop-address-search .pop-address-search-inner .exam table.data-col thead tr th {text-align:center; height:49px; padding:16px 0}
|
||||
.pop-address-search .pop-address-search-inner .exam table.data-col tbody tr td {text-align:left; height:auto; padding:19px 0 7px 20px; border-bottom:0}
|
||||
.pop-address-search .pop-address-search-inner .exam table.data-col tbody tr ~ tr td {padding-top:7px}
|
||||
.pop-address-search .pop-address-search-inner .exam table.data-col tbody tr:last-child td {padding-bottom:19px}
|
||||
.pop-address-search .pop-address-search-inner .exam table.data-col ~ p {margin-top:19px;}
|
||||
.pop-address-search .pop-address-search-inner .result {margin-top:25px}
|
||||
.pop-address-search .pop-address-search-inner .result .text-guide {text-align:left}
|
||||
.pop-address-search .pop-address-search-inner .result .text-guide strong {color:#186bb9}
|
||||
.pop-address-search .pop-address-search-inner .result .text-guide ~ table.data-col {margin-top:16px;}
|
||||
.pop-address-search .pop-address-search-inner .result table.data-col tbody tr td {line-height:1.57em}
|
||||
.pop-address-search .pop-address-search-inner .result table.data-col thead tr th,
|
||||
.pop-address-search .pop-address-search-inner .result table.data-col tbody tr td {height:40px; padding:1px 0}
|
||||
.pop-address-search .pop-address-search-inner .result table.data-col tbody tr:nth-child(odd) td {background:#f7f7f7}
|
||||
.pop-address-search .pop-address-search-inner .result table.data-col tbody tr.nodata td {background:#fff}
|
||||
.pop-address-search .pop-address-search-inner .detail {margin-top:25px}
|
||||
.pop-address-search .pop-address-search-inner .detail p {margin-bottom:16px; text-align:left}
|
||||
.pop-address-search .pop-address-search-inner .detail table.data-row tbody tr td {text-align:left; line-height:1.57em}
|
||||
|
||||
.pop-address-search-form {background:#fff}
|
||||
.pop-address-search-form .pop-address-header {padding:20px 30px; background:#333}
|
||||
.pop-address-search-form .pop-address-header h2 {font-size:20px; font-weight:normal; color:#fff}
|
||||
.pop-address-search-form .pop-address-body {padding:30px}
|
||||
.pop-address-search-form .pop-address-field {display:block; width:388px; margin:0 auto; margin-bottom:29px; position:relative; border:2px solid #186bb9; padding:0 39px 0 0}
|
||||
.pop-address-search-form .pop-address-field:after {content:""; display:block; clear:both}
|
||||
.pop-address-search-form .pop-address-field *{height:39px; border:0 none}
|
||||
.pop-address-search-form .pop-address-field input[type="text"] {width:100%; line-height:39px;}
|
||||
.pop-address-search-form .pop-address-field input[type="button"] {position:absolute; right:0; top:0; width:39px; background:url(../img/btn-search.png) 50% 50% no-repeat}
|
||||
.pop-address-search-form .pop-address-body .text-guide {margin-bottom:15px}
|
||||
.pop-address-search-form .pop-address-body table.data-col thead tr th,
|
||||
.pop-address-search-form .pop-address-body table.data-col tbody tr td {height:49px; padding:16px 0}
|
||||
.pop-address-search-form .pop-address-body table.data-col tbody tr:nth-child(odd) td {background:#f7f7f7}
|
||||
.pop-address-search-form .pop-address-body table.data-col tbody tr.nodata td {background:#fff}
|
||||
.pop-address-search-form .pop-address-body .paginate {margin-top:20px}
|
||||
.pop-address-search-form .pop-address-detail {margin-top:40px; padding-top:30px; border-top:1px dotted #666}
|
||||
.pop-address-search-form .pop-address-detail .btns-submit {margin-top:20px}
|
||||
.pop-address-search-form .pop-address-detail .pop-address-jibun {margin-top:19px}
|
||||
.pop-address-search-wrapper {position:fixed; z-index:9; left:0; top:0; right:0; bottom:0}
|
||||
.pop-address-search-layer {position:absolute; z-index:10; left:50%; top:50%; margin:-290px 0 0 -340px; width:680px; border:1px solid #000; -webkit-box-shadow: 5px 5px 12px -2px rgba(0,0,0,0.36); -moz-box-shadow: 5px 5px 12px -2px rgba(0,0,0,0.36); box-shadow: 5px 5px 12px -2px rgba(0,0,0,0.36);}
|
||||
.pop-address-search-layer .pop-address-header {position:relative}
|
||||
.pop-address-search-layer .pop-address-header .close {position:absolute; right:25px; top:50%; margin-top:-12px; width:24px; height:24px; background:url(../img/btn-close-pop.png) 50% 50% no-repeat; text-indent:-9999px}
|
||||
|
||||
|
||||
/* form element */
|
||||
/* radio, checkbox */
|
||||
[class*="pop-address-search"] input[type="checkbox"],
|
||||
[class*="pop-address-search"] input[type="radio"] {display:inline-block; width:13px; height:13px; vertical-align:middle; margin-right:3px}
|
||||
/* select, input text */
|
||||
[class*="pop-address-search"] select,
|
||||
[class*="pop-address-search"] input[type="text"],
|
||||
[class*="pop-address-search"] input[type="password"] {display:inline-block; height:35px; line-height:33px; padding:0 9px; border:1px solid #ccc; vertical-align:middle}
|
||||
[class*="pop-address-search"] input[type="text"].input-datepicker {width:130px; background:#fff url(../img/ico-datepicker.gif) right 50% no-repeat}
|
||||
[class*="pop-address-search"] .read-only {background-color:#f7f7f7}
|
||||
[class*="pop-address-search"] ::-webkit-input-placeholder {color:#999;}
|
||||
[class*="pop-address-search"] :-moz-placeholder {color:#999;}
|
||||
[class*="pop-address-search"] ::-moz-placeholder {color:#999;}
|
||||
[class*="pop-address-search"] :-ms-input-placeholder {color:#999;}
|
||||
[class*="pop-address-search"] input.placeholder,
|
||||
[class*="pop-address-search"] textarea.placeholder {color:#999;}
|
||||
[class*="pop-address-search"] select {padding:0 25px 0 14px}
|
||||
[class*="pop-address-search"] textarea {display:block; width:100%; line-height:1.333em; padding:15px 14px; border:1px solid #ccc;}
|
||||
[class*="pop-address-search"] .wrap-file {position:relative}
|
||||
[class*="pop-address-search"] .wrap-file input[type="file"] {position:absolute; left:0; top:0; height:100%; width:100%; opacity:0}
|
||||
[class*="pop-address-search"] .wrap-file input[type="text"] {width:100%}
|
||||
|
||||
/* button and */
|
||||
[class*="btn-"] {display:inline-block; height:35px; line-height:34px; min-width:90px; text-align:center; padding:0 10px; vertical-align:middle; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box;}
|
||||
[class*="btn-"].l {height:43px; line-height:42px; padding:0 20px}
|
||||
[class*="btn-"].download span {padding-left:25px; font-weight:bold; background:url(../img/btn-download-red.png) 0 50% no-repeat}
|
||||
[class*="btn-"].go span {padding-right:21px; font-weight:bold; background:url(../img/btn-go-w.png) 100% 50% no-repeat}
|
||||
.btn-b {color:#fff; background:#000; border:1px solid #000}
|
||||
.btn-w {background:#fff; border:1px solid #000}
|
||||
.btn-bl {color:#fff; background:#186bb9; border:1px solid #186bb9}
|
||||
.btn-dg {color:#fff; background:#333; border:1px solid #333}
|
||||
.btn-g {color:#fff; background:#666; border:1px solid #666}
|
||||
.btns-submit {text-align:center; margin-top:25px}
|
||||
.btns-submit [class*="btn"] {margin:0 7px}
|
||||
.btns-submit:after {content:""; display:block; clear:both}
|
||||
.btns-submit .flex {float:left}
|
||||
.btns-submit .flex ~ .flex {padding-left:10px}
|
||||
.btns-submit .flex [class*="btn-"] {margin:0 0 0 0; width:100%}
|
||||
.btns-submit .more {display:inline-block; margin-top:-5px; padding-top:35px; background:url(../img/btn-more.png) 50% 0 no-repeat}
|
||||
.btns-submit .left {float:left; text-align:left}
|
||||
.btns-submit .left > *{margin:0 6px 0 0}
|
||||
.btns-submit .right {float:right; text-align:right}
|
||||
.btns-submit .right > *{margin:0 0 0 6px}
|
||||
.btns-submit .right .text-guide {display:inline-block; margin-right:5px}
|
||||
|
||||
/* data table, data list, board */
|
||||
/* common */
|
||||
table {width:100%}
|
||||
table tr th .hidden {position:absolute; left:-9999em}
|
||||
/* data, row */
|
||||
table.data-row {border-top:1px solid #bbb; border-bottom:1px solid #bbb}
|
||||
table.data-row tr ~ tr th,
|
||||
table.data-row tr ~ tr td {border-top:1px solid #ddd}
|
||||
table.data-row th {padding:15px 0; background:#f7f7f7; text-align:center}
|
||||
table.data-row td {/* height:40px; */ height:65px; padding:15px}
|
||||
table.data-row td input[type="text"] + input[type="checkbox"],
|
||||
table.data-row td input[type="text"] + input[type="radio"],
|
||||
table.data-row td input[type="password"] + input[type="checkbox"],
|
||||
table.data-row td input[type="password"] + input[type="radio"] {margin-left:11px}
|
||||
table.data-row td input[type="text"] + [class*="btn-"] {margin-left:6px}
|
||||
table.data-row td .row:after {content:""; display:block; clear:both}
|
||||
table.data-row td .flex {float:left}
|
||||
table.data-row td .flex ~ .flex {padding-left:10px}
|
||||
table.data-row td .flex input[type="text"],
|
||||
table.data-row td .flex input[type="password"] {width:100%}
|
||||
table.data-row td .flex [class*="btn-"] {width:100%; padding:0 0 0 0}
|
||||
table.data-row td p.guide {line-height:1.57em; margin-top:6px}
|
||||
table.data-row th .req {display:inline-block; width:12px; height:15px; background:url(../img/ico-required.png) 0 50% no-repeat; vertical-align:text-top; margin-right:6px; text-indent:-9999px}
|
||||
/* date col */
|
||||
table.data-col {table-layout:fixed; border-top:1px solid #000}
|
||||
table.data-col thead tr th,
|
||||
table.data-col tbody tr td {height:59px; padding:21px 0; border-bottom:1px solid #000}
|
||||
table.data-col thead tr th {border-bottom:1px solid #000}
|
||||
table.data-col tbody tr td {border-bottom:1px solid #ddd; text-align:center;}
|
||||
table.data-col tbody tr td.subj {text-align:left; }
|
||||
table.data-col tbody tr td.subj p {white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
|
||||
|
||||
/* search */
|
||||
/* board search */
|
||||
.search-data {margin-top:30px; padding:29px; border:1px solid #999; text-align:center}
|
||||
.search-data label {margin-right:6px; font-weight:bold}
|
||||
.search-data input[type='text'] {width:400px; margin-right:6px}
|
||||
|
||||
/* nav, tab */
|
||||
.paginate {margin-top:10px; text-align:center}
|
||||
.paginate > *{display:inline-block; padding:0px; min-width:31px; height:31px; line-height:31px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box; vertical-align:middle; }
|
||||
.paginate strong {color:#fff; border:1px solid #186bb9; background:#186bb9;}
|
||||
.paginate a:hover,
|
||||
.paginate a:focus {border:1px solid #ccc}
|
||||
.paginate a {text-decoration:none; font-family: "돋움",Dotum,AppleGothic,sans-serif; color:#000;}
|
||||
.paginate .skip {padding:0; text-align:left; text-indent:-9999px; *text-indent:0; *font-size:0; *color:#fff; border:1px solid #ccc}
|
||||
.paginate .skip.prev {margin-right:18px; background:url(../img/btn-paginate-prev.png) 50% 50% no-repeat}
|
||||
.paginate .skip.prev10 {background:url(../img/btn-paginate-prev10.png) 50% 50% no-repeat}
|
||||
.paginate .skip.next {margin-left:18px; background:url(../img/btn-paginate-next.png) 50% 50% no-repeat}
|
||||
.paginate .skip.next10 {background:url(../img/btn-paginate-next10.png) 50% 50% no-repeat}
|
||||
|
||||
/* text */
|
||||
.tit-bul {margin-bottom:19px; font-size:18px; font-weight:bold; padding-left:13px; background:url(../img/bul-6x6-circle.png) 0 50% no-repeat}
|
||||
.appr {color:#1661a7}
|
||||
.list-text li {padding-left:8px; line-height:1.57em; background:url(../img/bul-3x3-circle.png) 0 0.6em no-repeat}
|
||||
.list-text li.emp {background:url(../img/bul-3x3-circle-red.png) 0 0.6em no-repeat}
|
||||
.list-text li ~ li {margin-top:3px}
|
||||
.list-text li strong {color:#df1919}
|
||||
.text-guide {padding-left:8px; line-height:1.57em; background:url(../img/bul-3x3-circle.png) 0 0.6em no-repeat}
|
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 132 B |
@ -1,63 +0,0 @@
|
||||
|
||||
//검색 정제 (번지 빼기, 띄어쓰기)
|
||||
function regExpCheckJuso(strKeyword)
|
||||
{
|
||||
var tempKeyword = strKeyword;
|
||||
var charKeyword;
|
||||
var tempLength;
|
||||
|
||||
//주소일 경우 글자뒤에 번지 x, 주소와 숫자 사이에 한칸 띄우기
|
||||
var reqExp1 =/([0-9]|번지)$/;
|
||||
var reqExp2 =/번지$/;
|
||||
var checkChar =/^([0-9]|-|\.|\·)$/;
|
||||
var checkEng =/^[A-Za-z]+$/;
|
||||
|
||||
if(reqExp1.test(strKeyword))
|
||||
{
|
||||
// 글자 뒤의 번지 삭제
|
||||
tempKeyword = strKeyword.split(reqExp2).join("");
|
||||
|
||||
// 주소와 숫자 사이 한칸 띄우기
|
||||
tempLength = tempKeyword.length;
|
||||
|
||||
for(var i=tempLength-1;i>=0;i--)
|
||||
{
|
||||
charKeyword = tempKeyword.charAt(i);
|
||||
|
||||
if(!checkChar.test(charKeyword))
|
||||
{
|
||||
if(charKeyword != " " && !checkEng.test(charKeyword))
|
||||
{
|
||||
tempKeyword = insertString(tempKeyword,i+1,' ');
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var regExp3 = /[0-9]*[ ]*(대로|로|길)[ ]+[0-9]+[ ]*([가-힝]|[ ])*[ ]*(로|길)/;
|
||||
var regExp4 = /[ ]/;
|
||||
|
||||
var k = tempKeyword.match(regExp3) ;
|
||||
|
||||
if (k != null) {
|
||||
var tmp = k[0].split(regExp4).join("");
|
||||
|
||||
tempKeyword=tempKeyword.replace(regExp3, tmp);
|
||||
}
|
||||
|
||||
return tempKeyword;
|
||||
}
|
||||
|
||||
function insertString(key,index,string)
|
||||
{
|
||||
if(index >0)
|
||||
return key.substring(0,index) + string + key.substring(index,key.length);
|
||||
else
|
||||
return string+key;
|
||||
}
|
||||
function validateJuso(value){
|
||||
value =value.replace(/(^\s*)|(\s*$)/g, ""); //앞뒤 공백 제거
|
||||
return value.split(/[%]/).join(""); //특수문자제거
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
/*
|
||||
* vertical news ticker
|
||||
* Tadas Juozapaitis ( kasp3rito@gmail.com )
|
||||
* http://plugins.jquery.com/project/vTicker
|
||||
*/
|
||||
(function(a){a.fn.vTicker=function(b){var c={speed:700,pause:4000,showItems:3,animation:"",mousePause:true,isPaused:false,direction:"up",height:0};var b=a.extend(c,b);moveUp=function(g,d,e){if(e.isPaused){return}var f=g.children("ul");var h=f.children("li:first").clone(true);if(e.height>0){d=f.children("li:first").height()}f.animate({top:"-="+d+"px"},e.speed,function(){a(this).children("li:first").remove();a(this).css("top","0px")});if(e.animation=="fade"){f.children("li:first").fadeOut(e.speed);if(e.height==0){f.children("li:eq("+e.showItems+")").hide().fadeIn(e.speed)}}h.appendTo(f)};moveDown=function(g,d,e){if(e.isPaused){return}var f=g.children("ul");var h=f.children("li:last").clone(true);if(e.height>0){d=f.children("li:first").height()}f.css("top","-"+d+"px").prepend(h);f.animate({top:0},e.speed,function(){a(this).children("li:last").remove()});if(e.animation=="fade"){if(e.height==0){f.children("li:eq("+e.showItems+")").fadeOut(e.speed)}f.children("li:first").hide().fadeIn(e.speed)}};return this.each(function(){var f=a(this);var e=0;f.css({overflow:"hidden",position:"relative"}).children("ul").css({position:"absolute",margin:0,padding:0}).children("li").css({margin:0,padding:0});if(b.height==0){f.children("ul").children("li").each(function(){if(a(this).height()>e){e=a(this).height()}});f.children("ul").children("li").each(function(){a(this).height(e)});f.height(e*b.showItems)}else{f.height(b.height)}var d=setInterval(function(){if(b.direction=="up"){moveUp(f,e,b)}else{moveDown(f,e,b)}},b.pause);if(b.mousePause){f.bind("mouseenter",function(){b.isPaused=true}).bind("mouseleave",function(){b.isPaused=false})}})}})(jQuery);
|
@ -1,2 +0,0 @@
|
||||
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
||||
var saveAs=saveAs||function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,a=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},i=/constructor/i.test(e.HTMLElement)||e.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},s="application/octet-stream",d=1e3*40,c=function(e){var t=function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}};setTimeout(t,d)},l=function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(a){u(a)}}}},p=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e},v=function(t,u,d){if(!d){t=p(t)}var v=this,w=t.type,m=w===s,y,h=function(){l(v,"writestart progress write writeend".split(" "))},S=function(){if((f||m&&i)&&e.FileReader){var r=new FileReader;r.onloadend=function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()};r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)};v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout(function(){r.href=y;r.download=u;a(r);h();c(y);v.readyState=v.DONE});return}S()},w=v.prototype,m=function(e,t,n){return new v(e,t||e.name||"download",n)};if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)}}w.abort=function(){};w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m}(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define("FileSaver.js",function(){return saveAs})}
|
@ -1,8 +0,0 @@
|
||||
/*
|
||||
@source http://purl.eligrey.com/github/FileSaver.js/blob/master/src/FileSaver.js
|
||||
*/
|
||||
var module$FileSaver={},saveAs$$module$FileSaver=saveAs$$module$FileSaver||function(b){if(!("undefined"===typeof b||"undefined"!==typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var f=b.document.createElementNS("http://www.w3.org/1999/xhtml","a"),q="download"in f,r=/constructor/i.test(b.HTMLElement)||b.safari,h=/CriOS\/[\d]+/.test(navigator.userAgent),k=b.setImmediate||b.setTimeout,t=function(a){k(function(){throw a;},0)},l=function(a){setTimeout(function(){"string"===typeof a?(b.URL||
|
||||
b.webkitURL||b).revokeObjectURL(a):a.remove()},4E4)},m=function(a){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob([String.fromCharCode(65279),a],{type:a.type}):a},p=function(a,c,u){u||(a=m(a));var d=this,n="application/octet-stream"===a.type,g=function(){var a=["writestart","progress","write","writeend"];a=[].concat(a);for(var b=a.length;b--;){var c=d["on"+a[b]];if("function"===typeof c)try{c.call(d,d)}catch(v){t(v)}}};d.readyState=d.INIT;
|
||||
if(q){var e=(b.URL||b.webkitURL||b).createObjectURL(a);k(function(){f.href=e;f.download=c;var a=new MouseEvent("click");f.dispatchEvent(a);g();l(e);d.readyState=d.DONE},0)}else(function(){if((h||n&&r)&&b.FileReader){var c=new FileReader;c.onloadend=function(){var a=h?c.result:c.result.replace(/^data:[^;]*;/,"data:attachment/file;");b.open(a,"_blank")||(b.location.href=a);d.readyState=d.DONE;g()};c.readAsDataURL(a);d.readyState=d.INIT}else e||(e=(b.URL||b.webkitURL||b).createObjectURL(a)),n?b.location.href=
|
||||
e:b.open(e,"_blank")||(b.location.href=e),d.readyState=d.DONE,g(),l(e)})()},c=p.prototype;if("undefined"!==typeof navigator&&navigator.msSaveOrOpenBlob)return function(a,b,c){b=b||a.name||"download";c||(a=m(a));return navigator.msSaveOrOpenBlob(a,b)};c.abort=function(){};c.readyState=c.INIT=0;c.WRITING=1;c.DONE=2;c.error=c.onwritestart=c.onprogress=c.onwrite=c.onabort=c.onerror=c.onwriteend=null;return function(a,b,c){return new p(a,b||a.name||"download",c)}}}("undefined"!==typeof self&&self||"undefined"!==
|
||||
typeof window&&window||this);module$FileSaver.saveAs=saveAs$$module$FileSaver;
|
@ -1,88 +0,0 @@
|
||||
/*
|
||||
tableExport.jquery.plugin
|
||||
Version 1.10.19
|
||||
Copyright (c) 2015-2020 hhurz, https://github.com/hhurz/tableExport.jquery.plugin
|
||||
Based on https://github.com/kayalshri/tableExport.jquery.plugin
|
||||
Licensed under the MIT License
|
||||
*/
|
||||
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(c,k,y){c instanceof String&&(c=String(c));for(var v=c.length,A=0;A<v;A++){var S=c[A];if(k.call(y,S,A,c))return{i:A,v:S}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(c,k,y){c!=Array.prototype&&c!=Object.prototype&&(c[k]=y.value)};
|
||||
$jscomp.getGlobal=function(c){return"undefined"!=typeof window&&window===c?c:"undefined"!=typeof global&&null!=global?global:c};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(c,k,y,v){if(k){y=$jscomp.global;c=c.split(".");for(v=0;v<c.length-1;v++){var A=c[v];A in y||(y[A]={});y=y[A]}c=c[c.length-1];v=y[c];k=k(v);k!=v&&null!=k&&$jscomp.defineProperty(y,c,{configurable:!0,writable:!0,value:k})}};
|
||||
$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(c,y){return $jscomp.findInternal(this,c,y).v}},"es6","es3");
|
||||
(function(c){c.fn.tableExport=function(k){function y(b){var d=[];A(b,"thead").each(function(){d.push.apply(d,A(c(this),a.theadSelector).toArray())});return d}function v(b){var d=[];A(b,"tbody").each(function(){d.push.apply(d,A(c(this),a.tbodySelector).toArray())});a.tfootSelector.length&&A(b,"tfoot").each(function(){d.push.apply(d,A(c(this),a.tfootSelector).toArray())});return d}function A(b,a){var d=b[0].tagName,p=b.parents(d).length;return b.find(a).filter(function(){return p===c(this).closest(d).parents(d).length})}
|
||||
function S(b){var a=[];c(b).find("thead").first().find("th").each(function(b,d){void 0!==c(d).attr("data-field")?a[b]=c(d).attr("data-field"):a[b]=b.toString()});return a}function I(b){var a="undefined"!==typeof b[0].rowIndex,e=!1===a&&"undefined"!==typeof b[0].cellIndex,p=e||a?Ja(b):b.is(":visible"),f=b.attr("data-tableexport-display");e&&"none"!==f&&"always"!==f&&(b=c(b[0].parentNode),a="undefined"!==typeof b[0].rowIndex,f=b.attr("data-tableexport-display"));a&&"none"!==f&&"always"!==f&&(f=b.closest("table").attr("data-tableexport-display"));
|
||||
return"none"!==f&&(!0===p||"always"===f)}function Ja(b){var a=[];V&&(a=J.filter(function(){var a=!1;this.nodeType===b[0].nodeType&&("undefined"!==typeof this.rowIndex&&this.rowIndex===b[0].rowIndex?a=!0:"undefined"!==typeof this.cellIndex&&this.cellIndex===b[0].cellIndex&&"undefined"!==typeof this.parentNode.rowIndex&&"undefined"!==typeof b[0].parentNode.rowIndex&&this.parentNode.rowIndex===b[0].parentNode.rowIndex&&(a=!0));return a}));return!1===V||0===a.length}function sa(b,d,e){var p=!1;I(b)?0<
|
||||
a.ignoreColumn.length&&(-1!==c.inArray(e,a.ignoreColumn)||-1!==c.inArray(e-d,a.ignoreColumn)||T.length>e&&"undefined"!==typeof T[e]&&-1!==c.inArray(T[e],a.ignoreColumn))&&(p=!0):p=!0;return p}function B(b,d,e,p,f){if("function"===typeof f){var l=!1;"function"===typeof a.onIgnoreRow&&(l=a.onIgnoreRow(c(b),e));if(!1===l&&(0===a.ignoreRow.length||-1===c.inArray(e,a.ignoreRow)&&-1===c.inArray(e-p,a.ignoreRow))&&I(c(b))){var q=A(c(b),d),h=0;q.each(function(b){var a=c(this),d,l=O(this),p=U(this);c.each(G,
|
||||
function(){if(e>=this.s.r&&e<=this.e.r&&h>=this.s.c&&h<=this.e.c)for(d=0;d<=this.e.c-this.s.c;++d)f(null,e,h++)});if(!1===sa(a,q.length,b)){if(p||l)l=l||1,G.push({s:{r:e,c:h},e:{r:e+(p||1)-1,c:h+l-1}});f(this,e,h++)}if(l)for(d=0;d<l-1;++d)f(null,e,h++)});c.each(G,function(){if(e>=this.s.r&&e<=this.e.r&&h>=this.s.c&&h<=this.e.c)for(da=0;da<=this.e.c-this.s.c;++da)f(null,e,h++)})}}}function ta(b,a,e,c){if("undefined"!==typeof c.images&&(e=c.images[e],"undefined"!==typeof e)){a=a.getBoundingClientRect();
|
||||
var d=b.width/b.height,l=a.width/a.height,p=b.width,h=b.height,z=19.049976/25.4,g=0;l<=d?(h=Math.min(b.height,a.height),p=a.width*h/a.height):l>d&&(p=Math.min(b.width,a.width),h=a.height*p/a.width);p*=z;h*=z;h<b.height&&(g=(b.height-h)/2);try{c.doc.addImage(e.src,b.textPos.x,b.y+g,p,h)}catch(Pa){}b.textPos.x+=p}}function ua(b,d){if("string"===a.outputMode)return b.output();if("base64"===a.outputMode)return K(b.output());if("window"===a.outputMode)window.URL=window.URL||window.webkitURL,window.open(window.URL.createObjectURL(b.output("blob")));
|
||||
else try{var e=b.output("blob");saveAs(e,a.fileName+".pdf")}catch(p){ja(a.fileName+".pdf","data:application/pdf"+(d?"":";base64")+",",d?b.output("blob"):b.output())}}function va(b,a,e){var d=0;"undefined"!==typeof e&&(d=e.colspan);if(0<=d){for(var f=b.width,c=b.textPos.x,q=a.table.columns.indexOf(a.column),h=1;h<d;h++)f+=a.table.columns[q+h].width;1<d&&("right"===b.styles.halign?c=b.textPos.x+f-b.width:"center"===b.styles.halign&&(c=b.textPos.x+(f-b.width)/2));b.width=f;b.textPos.x=c;"undefined"!==
|
||||
typeof e&&1<e.rowspan&&(b.height*=e.rowspan);if("middle"===b.styles.valign||"bottom"===b.styles.valign)e=("string"===typeof b.text?b.text.split(/\r\n|\r|\n/g):b.text).length||1,2<e&&(b.textPos.y-=(2-1.15)/2*a.row.styles.fontSize*(e-2)/3);return!0}return!1}function wa(b,a,e){"undefined"!==typeof b&&null!==b&&(b.hasAttribute("data-tableexport-canvas")?(a=(new Date).getTime(),c(b).attr("data-tableexport-canvas",a),e.images[a]={url:'[data-tableexport-canvas="'+a+'"]',src:null}):"undefined"!==a&&null!=
|
||||
a&&a.each(function(){if(c(this).is("img")){var a=xa(this.src);e.images[a]={url:this.src,src:this.src}}wa(b,c(this).children(),e)}))}function Ka(b,a){function d(b){if(b.url)if(b.src){var d=new Image;p=++f;d.crossOrigin="Anonymous";d.onerror=d.onload=function(){if(d.complete&&(0===d.src.indexOf("data:image/")&&(d.width=b.width||d.width||0,d.height=b.height||d.height||0),d.width+d.height)){var e=document.createElement("canvas"),c=e.getContext("2d");e.width=d.width;e.height=d.height;c.drawImage(d,0,0);
|
||||
b.src=e.toDataURL("image/png")}--f||a(p)};d.src=b.url}else{var e=c(b.url);e.length&&(p=++f,html2canvas(e[0]).then(function(d){b.src=d.toDataURL("image/png");--f||a(p)}))}}var p=0,f=0;if("undefined"!==typeof b.images)for(var l in b.images)b.images.hasOwnProperty(l)&&d(b.images[l]);(b=f)||(a(p),b=void 0);return b}function ya(b,d,e){d.each(function(){if(c(this).is("div")){var d=ea(L(this,"background-color"),[255,255,255]),f=ea(L(this,"border-top-color"),[0,0,0]),l=fa(this,"border-top-width",a.jspdf.unit),
|
||||
q=this.getBoundingClientRect(),h=this.offsetLeft*e.wScaleFactor,z=this.offsetTop*e.hScaleFactor,g=q.width*e.wScaleFactor;q=q.height*e.hScaleFactor;e.doc.setDrawColor.apply(void 0,f);e.doc.setFillColor.apply(void 0,d);e.doc.setLineWidth(l);e.doc.rect(b.x+h,b.y+z,g,q,l?"FD":"F")}else c(this).is("img")&&(d=xa(this.src),ta(b,this,d,e));ya(b,c(this).children(),e)})}function za(b,d,e){if("function"===typeof e.onAutotableText)e.onAutotableText(e.doc,b,d);else{var p=b.textPos.x,f=b.textPos.y,l={halign:b.styles.halign,
|
||||
valign:b.styles.valign};if(d.length){for(d=d[0];d.previousSibling;)d=d.previousSibling;for(var q=!1,h=!1;d;){var z=d.innerText||d.textContent||"",g=z.length&&" "===z[0]?" ":"",k=1<z.length&&" "===z[z.length-1]?" ":"";!0!==a.preserve.leadingWS&&(z=g+ka(z));!0!==a.preserve.trailingWS&&(z=la(z)+k);c(d).is("br")&&(p=b.textPos.x,f+=e.doc.internal.getFontSize());c(d).is("b")?q=!0:c(d).is("i")&&(h=!0);(q||h)&&e.doc.setFontType(q&&h?"bolditalic":q?"bold":"italic");if(g=e.doc.getStringUnitWidth(z)*e.doc.internal.getFontSize()){"linebreak"===
|
||||
b.styles.overflow&&p>b.textPos.x&&p+g>b.textPos.x+b.width&&(0<=".,!%*;:=-".indexOf(z.charAt(0))&&(k=z.charAt(0),g=e.doc.getStringUnitWidth(k)*e.doc.internal.getFontSize(),p+g<=b.textPos.x+b.width&&(e.doc.autoTableText(k,p,f,l),z=z.substring(1,z.length)),g=e.doc.getStringUnitWidth(z)*e.doc.internal.getFontSize()),p=b.textPos.x,f+=e.doc.internal.getFontSize());if("visible"!==b.styles.overflow)for(;z.length&&p+g>b.textPos.x+b.width;)z=z.substring(0,z.length-1),g=e.doc.getStringUnitWidth(z)*e.doc.internal.getFontSize();
|
||||
e.doc.autoTableText(z,p,f,l);p+=g}if(q||h)c(d).is("b")?q=!1:c(d).is("i")&&(h=!1),e.doc.setFontType(q||h?q?"bold":"italic":"normal");d=d.nextSibling}b.textPos.x=p;b.textPos.y=f}else e.doc.autoTableText(b.text,b.textPos.x,b.textPos.y,l)}}function W(b,a,e){return null==b?"":b.toString().replace(new RegExp(null==a?"":a.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),e)}function ka(b){return null==b?"":b.toString().replace(/^\s+/,"")}function la(b){return null==b?"":b.toString().replace(/\s+$/,
|
||||
"")}function La(b){a.date.pattern.lastIndex=0;var d=a.date.pattern.exec(b);if(null==d)return!1;b=+d[a.date.match_y];if(0>b||8099<b)return!1;var e=1*d[a.date.match_m];d=1*d[a.date.match_d];if(!isFinite(d))return!1;var c=new Date(b,e-1,d,0,0,0);return c.getFullYear()===b&&c.getMonth()===e-1&&c.getDate()===d?new Date(Date.UTC(b,e-1,d,0,0,0)):!1}function ma(b){b=b||"0";""!==a.numbers.html.thousandsSeparator&&(b=W(b,a.numbers.html.thousandsSeparator,""));"."!==a.numbers.html.decimalMark&&(b=W(b,a.numbers.html.decimalMark,
|
||||
"."));return"number"===typeof b||!1!==jQuery.isNumeric(b)?b:!1}function Ma(b){-1<b.indexOf("%")?(b=ma(b.replace(/%/g,"")),!1!==b&&(b/=100)):b=!1;return b}function E(b,d,e,p){var f="",l="text";if(null!==b){var q=c(b);q.removeData("teUserDefText");if(q[0].hasAttribute("data-tableexport-canvas"))var h="";else if(q[0].hasAttribute("data-tableexport-value"))h=(h=q.attr("data-tableexport-value"))?h+"":"",q.data("teUserDefText",1);else if(h=q.html(),"function"===typeof a.onCellHtmlData)h=a.onCellHtmlData(q,
|
||||
d,e,h),q.data("teUserDefText",1);else if(""!==h){b=c.parseHTML(h);var g=0,k=0;h="";c.each(b,function(){if(c(this).is("input"))h+=q.find("input").eq(g++).val();else if(c(this).is("select"))h+=q.find("select option:selected").eq(k++).text();else if(c(this).is("br"))h+="<br>";else{if("undefined"===typeof c(this).html())h+=c(this).text();else if(void 0===jQuery().bootstrapTable||!1===c(this).hasClass("fht-cell")&&!1===c(this).hasClass("filterControl")&&0===q.parents(".detail-view").length)h+=c(this).html();
|
||||
if(c(this).is("a")){var b=q.find("a").attr("href")||"";f="function"===typeof a.onCellHtmlHyperlink?f+a.onCellHtmlHyperlink(q,d,e,b,h):"href"===a.htmlHyperlink?f+b:f+h;h=""}}})}if(h&&""!==h&&!0===a.htmlContent)f=c.trim(h);else if(h&&""!==h)if(""!==q.attr("data-tableexport-cellformat")){var m=h.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,"\u2060"),n=c("<div/>").html(m).contents();b=!1;m="";c.each(n.text().split("\u2028"),function(b,d){0<b&&(m+=" ");!0!==a.preserve.leadingWS&&(d=ka(d));m+=!0!==
|
||||
a.preserve.trailingWS?la(d):d});c.each(m.split("\u2060"),function(b,d){0<b&&(f+="\n");!0!==a.preserve.leadingWS&&(d=ka(d));!0!==a.preserve.trailingWS&&(d=la(d));f+=d.replace(/\u00AD/g,"")});f=f.replace(/\u00A0/g," ");if("json"===a.type||"excel"===a.type&&"xmlss"===a.mso.fileFormat||!1===a.numbers.output)b=ma(f),!1!==b&&(l="number",f=Number(b));else if(a.numbers.html.decimalMark!==a.numbers.output.decimalMark||a.numbers.html.thousandsSeparator!==a.numbers.output.thousandsSeparator)if(b=ma(f),!1!==
|
||||
b){n=(""+b.substr(0>b?1:0)).split(".");1===n.length&&(n[1]="");var t=3<n[0].length?n[0].length%3:0;l="number";f=(0>b?"-":"")+(a.numbers.output.thousandsSeparator?(t?n[0].substr(0,t)+a.numbers.output.thousandsSeparator:"")+n[0].substr(t).replace(/(\d{3})(?=\d)/g,"$1"+a.numbers.output.thousandsSeparator):n[0])+(n[1].length?a.numbers.output.decimalMark+n[1]:"")}}else f=h;!0===a.escape&&(f=escape(f));"function"===typeof a.onCellData&&(f=a.onCellData(q,d,e,f,l),q.data("teUserDefText",1))}void 0!==p&&(p.type=
|
||||
l);return f}function Aa(b){return 0<b.length&&!0===a.preventInjection&&0<="=+-@".indexOf(b.charAt(0))?"'"+b:b}function Na(b,a,e){return a+"-"+e.toLowerCase()}function ea(b,a){(b=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(b))&&(a=[parseInt(b[1]),parseInt(b[2]),parseInt(b[3])]);return a}function Ba(b){var a=L(b,"text-align"),e=L(b,"font-weight"),c=L(b,"font-style"),f="";"start"===a&&(a="rtl"===L(b,"direction")?"right":"left");700<=e&&(f="bold");"italic"===c&&(f+=c);""===f&&(f="normal");a={style:{align:a,
|
||||
bcolor:ea(L(b,"background-color"),[255,255,255]),color:ea(L(b,"color"),[0,0,0]),fstyle:f},colspan:O(b),rowspan:U(b)};null!==b&&(b=b.getBoundingClientRect(),a.rect={width:b.width,height:b.height});return a}function O(b){var a=c(b).attr("data-tableexport-colspan");"undefined"===typeof a&&c(b).is("[colspan]")&&(a=c(b).attr("colspan"));return parseInt(a)||0}function U(b){var a=c(b).attr("data-tableexport-rowspan");"undefined"===typeof a&&c(b).is("[rowspan]")&&(a=c(b).attr("rowspan"));return parseInt(a)||
|
||||
0}function L(b,a){try{return window.getComputedStyle?(a=a.replace(/([a-z])([A-Z])/,Na),window.getComputedStyle(b,null).getPropertyValue(a)):b.currentStyle?b.currentStyle[a]:b.style[a]}catch(e){}return""}function fa(a,d,e){d=L(a,d).match(/\d+/);if(null!==d){d=d[0];a=a.parentElement;var b=document.createElement("div");b.style.overflow="hidden";b.style.visibility="hidden";a.appendChild(b);b.style.width=100+e;e=100/b.offsetWidth;a.removeChild(b);return d*e}return 0}function Oa(a){for(var b=new ArrayBuffer(a.length),
|
||||
e=new Uint8Array(b),c=0;c!==a.length;++c)e[c]=a.charCodeAt(c)&255;return b}function na(a){var b=a.c,e="";for(++b;b;b=Math.floor((b-1)/26))e=String.fromCharCode((b-1)%26+65)+e;return e+(""+(a.r+1))}function oa(a,d){if("undefined"===typeof d||"number"===typeof d)return oa(a.s,a.e);"string"!==typeof a&&(a=na(a));"string"!==typeof d&&(d=na(d));return a===d?a:a+":"+d}function Ca(a,d){var b=Number(a);if(isFinite(b))return b;var c=1;""!==d.thousandsSeparator&&(a=a.replace(new RegExp("([\\d])"+d.thousandsSeparator+
|
||||
"([\\d])","g"),"$1$2"));"."!==d.decimalMark&&(a=a.replace(new RegExp("([\\d])"+d.decimalMark+"([\\d])","g"),"$1.$2"));a=a.replace(/[$]/g,"").replace(/[%]/g,function(){c*=100;return""});if(isFinite(b=Number(a)))return b/c;a=a.replace(/[(](.*)[)]/,function(a,b){c=-c;return b});return isFinite(b=Number(a))?b/c:b}function xa(a){var b=0,c;if(0===a.length)return b;var p=0;for(c=a.length;p<c;p++){var f=a.charCodeAt(p);b=(b<<5)-b+f;b|=0}return b}function M(b,d,c,p,f,l){var e=!0;"function"===typeof a.onBeforeSaveToFile&&
|
||||
(e=a.onBeforeSaveToFile(b,d,c,p,f),"boolean"!==typeof e&&(e=!0));if(e)try{if(Da=new Blob([b],{type:c+";charset="+p}),saveAs(Da,d,!1===l),"function"===typeof a.onAfterSaveToFile)a.onAfterSaveToFile(b,d)}catch(h){ja(d,"data:"+c+(p.length?";charset="+p:"")+(f.length?";"+f:"")+",",l?"\ufeff"+b:b)}}function ja(b,d,c){var e=window.navigator.userAgent;if(!1!==b&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([c]),b);else if(!1!==b&&(0<e.indexOf("MSIE ")||e.match(/Trident.*rv\:11\./))){if(d=
|
||||
document.createElement("iframe")){document.body.appendChild(d);d.setAttribute("style","display:none");d.contentDocument.open("txt/plain","replace");d.contentDocument.write(c);d.contentDocument.close();d.contentWindow.focus();switch(b.substr(b.lastIndexOf(".")+1)){case "doc":case "json":case "png":case "pdf":case "xls":case "xlsx":b+=".txt"}d.contentDocument.execCommand("SaveAs",!0,b);document.body.removeChild(d)}}else{var f=document.createElement("a");if(f){var l=null;f.style.display="none";!1!==
|
||||
b?f.download=b:f.target="_blank";"object"===typeof c?(window.URL=window.URL||window.webkitURL,e=[],e.push(c),l=window.URL.createObjectURL(new Blob(e,{type:d})),f.href=l):0<=d.toLowerCase().indexOf("base64,")?f.href=d+K(c):f.href=d+encodeURIComponent(c);document.body.appendChild(f);if(document.createEvent)null===ha&&(ha=document.createEvent("MouseEvents")),ha.initEvent("click",!0,!1),f.dispatchEvent(ha);else if(document.createEventObject)f.fireEvent("onclick");else if("function"===typeof f.onclick)f.onclick();
|
||||
setTimeout(function(){l&&window.URL.revokeObjectURL(l);document.body.removeChild(f);if("function"===typeof a.onAfterSaveToFile)a.onAfterSaveToFile(c,b)},100)}}}function K(a){var b,c="",p=0;if("string"===typeof a){a=a.replace(/\x0d\x0a/g,"\n");var f="";for(b=0;b<a.length;b++){var l=a.charCodeAt(b);128>l?f+=String.fromCharCode(l):(127<l&&2048>l?f+=String.fromCharCode(l>>6|192):(f+=String.fromCharCode(l>>12|224),f+=String.fromCharCode(l>>6&63|128)),f+=String.fromCharCode(l&63|128))}a=f}for(;p<a.length;){var q=
|
||||
a.charCodeAt(p++);f=a.charCodeAt(p++);b=a.charCodeAt(p++);l=q>>2;q=(q&3)<<4|f>>4;var h=(f&15)<<2|b>>6;var g=b&63;isNaN(f)?h=g=64:isNaN(b)&&(g=64);c=c+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(l)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(q)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(h)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g)}return c}var a={csvEnclosure:'"',csvSeparator:",",
|
||||
csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,htmlHyperlink:"content",ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,
|
||||
fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xslx:{formatId:{date:14,numbers:2}}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,
|
||||
onCellData:null,onCellHtmlData:null,onCellHtmlHyperlink:null,onIgnoreRow:null,onTableExportBegin:null,onTableExportEnd:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageOrientation:"portrait",defaultStyle:{font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},N={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,
|
||||
1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,
|
||||
323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},C=this,ha=null,u=[],w=[],n=0,t="",T=[],G=[],Da,J=[],V=!1;c.extend(!0,a,k);"xlsx"===a.type&&(a.mso.fileFormat=a.type,a.type="excel");"undefined"!==typeof a.excelFileFormat&&"undefined"===a.mso.fileFormat&&(a.mso.fileFormat=a.excelFileFormat);"undefined"!==typeof a.excelPageFormat&&
|
||||
"undefined"===a.mso.pageFormat&&(a.mso.pageFormat=a.excelPageFormat);"undefined"!==typeof a.excelPageOrientation&&"undefined"===a.mso.pageOrientation&&(a.mso.pageOrientation=a.excelPageOrientation);"undefined"!==typeof a.excelRTL&&"undefined"===a.mso.rtl&&(a.mso.rtl=a.excelRTL);"undefined"!==typeof a.excelstyles&&"undefined"===a.mso.styles&&(a.mso.styles=a.excelstyles);"undefined"!==typeof a.onMsoNumberFormat&&"undefined"===a.mso.onMsoNumberFormat&&(a.mso.onMsoNumberFormat=a.onMsoNumberFormat);"undefined"!==
|
||||
typeof a.worksheetName&&"undefined"===a.mso.worksheetName&&(a.mso.worksheetName=a.worksheetName);a.mso.pageOrientation="l"===a.mso.pageOrientation.substr(0,1)?"landscape":"portrait";a.date.html=a.date.html||"";if(a.date.html.length){k=[];k.dd="(3[01]|[12][0-9]|0?[1-9])";k.mm="(1[012]|0?[1-9])";k.yyyy="((?:1[6-9]|2[0-2])\\d{2})";k.yy="(\\d{2})";var r=a.date.html.match(/[^a-zA-Z0-9]/)[0];r=a.date.html.toLowerCase().split(r);a.date.regex="^\\s*";a.date.regex+=k[r[0]];a.date.regex+="(.)";a.date.regex+=
|
||||
k[r[1]];a.date.regex+="\\2";a.date.regex+=k[r[2]];a.date.regex+="\\s*$";a.date.pattern=new RegExp(a.date.regex,"g");k=r.indexOf("dd")+1;a.date.match_d=k+(1<k?1:0);k=r.indexOf("mm")+1;a.date.match_m=k+(1<k?1:0);k=(0<=r.indexOf("yyyy")?r.indexOf("yyyy"):r.indexOf("yy"))+1;a.date.match_y=k+(1<k?1:0)}T=S(C);if("function"===typeof a.onTableExportBegin)a.onTableExportBegin();if("csv"===a.type||"tsv"===a.type||"txt"===a.type){var P="",Z=0;G=[];n=0;var pa=function(b,d,e){b.each(function(){t="";B(this,d,n,
|
||||
e+b.length,function(b,c,d){var e=t,f="";if(null!==b)if(b=E(b,c,d),c=null===b||""===b?"":b.toString(),"tsv"===a.type)b instanceof Date&&b.toLocaleString(),f=W(c,"\t"," ");else if(b instanceof Date)f=a.csvEnclosure+b.toLocaleString()+a.csvEnclosure;else if(f=Aa(c),f=W(f,a.csvEnclosure,a.csvEnclosure+a.csvEnclosure),0<=f.indexOf(a.csvSeparator)||/[\r\n ]/g.test(f))f=a.csvEnclosure+f+a.csvEnclosure;t=e+(f+("tsv"===a.type?"\t":a.csvSeparator))});t=c.trim(t).substring(0,t.length-1);0<t.length&&(0<P.length&&
|
||||
(P+="\n"),P+=t);n++});return b.length};Z+=pa(c(C).find("thead").first().find(a.theadSelector),"th,td",Z);A(c(C),"tbody").each(function(){Z+=pa(A(c(this),a.tbodySelector),"td,th",Z)});a.tfootSelector.length&&pa(c(C).find("tfoot").first().find(a.tfootSelector),"td,th",Z);P+="\n";if("string"===a.outputMode)return P;if("base64"===a.outputMode)return K(P);if("window"===a.outputMode){ja(!1,"data:text/"+("csv"===a.type?"csv":"plain")+";charset=utf-8,",P);return}M(P,a.fileName+"."+a.type,"text/"+("csv"===
|
||||
a.type?"csv":"plain"),"utf-8","","csv"===a.type&&a.csvUseBOM)}else if("sql"===a.type){n=0;G=[];var D="INSERT INTO "+a.sql.tableEnclosure+a.tableName+a.sql.tableEnclosure+" (";u=y(c(C));c(u).each(function(){B(this,"th,td",n,u.length,function(b,c,e){b=E(b,c,e)||"";-1<b.indexOf(a.sql.columnEnclosure)&&(b=W(b.toString(),a.sql.columnEnclosure,a.sql.columnEnclosure+a.sql.columnEnclosure));D+=a.sql.columnEnclosure+b+a.sql.columnEnclosure+","});n++;D=c.trim(D).substring(0,D.length-1)});D+=") VALUES ";w=v(c(C));
|
||||
c(w).each(function(){t="";B(this,"td,th",n,u.length+w.length,function(a,c,e){a=E(a,c,e)||"";-1<a.indexOf("'")&&(a=W(a.toString(),"'","''"));t+="'"+a+"',"});3<t.length&&(D+="("+t,D=c.trim(D).substring(0,D.length-1),D+="),");n++});D=c.trim(D).substring(0,D.length-1);D+=";";if("string"===a.outputMode)return D;if("base64"===a.outputMode)return K(D);M(D,a.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===a.type){var X=[];G=[];u=y(c(C));c(u).each(function(){var a=[];B(this,"th,td",n,u.length,
|
||||
function(b,c,g){a.push(E(b,c,g))});X.push(a)});var qa=[];w=v(c(C));c(w).each(function(){var a={},d=0;B(this,"td,th",n,u.length+w.length,function(b,c,f){X.length?a[X[X.length-1][d]]=E(b,c,f):a[d]=E(b,c,f);d++});!1===c.isEmptyObject(a)&&qa.push(a);n++});k="head"===a.jsonScope?JSON.stringify(X):"data"===a.jsonScope?JSON.stringify(qa):JSON.stringify({header:X,data:qa});if("string"===a.outputMode)return k;if("base64"===a.outputMode)return K(k);M(k,a.fileName+".json","application/json","utf-8","base64",
|
||||
!1)}else if("xml"===a.type){n=0;G=[];var Q='<?xml version="1.0" encoding="utf-8"?>';Q+="<tabledata><fields>";u=y(c(C));c(u).each(function(){B(this,"th,td",n,u.length,function(a,c,e){Q+="<field>"+E(a,c,e)+"</field>"});n++});Q+="</fields><data>";var Ea=1;w=v(c(C));c(w).each(function(){var a=1;t="";B(this,"td,th",n,u.length+w.length,function(b,c,g){t+="<column-"+a+">"+E(b,c,g)+"</column-"+a+">";a++});0<t.length&&"<column-1></column-1>"!==t&&(Q+='<row id="'+Ea+'">'+t+"</row>",Ea++);n++});Q+="</data></tabledata>";
|
||||
if("string"===a.outputMode)return Q;if("base64"===a.outputMode)return K(Q);M(Q,a.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===a.type&&"xmlss"===a.mso.fileFormat){var ra=[],F=[];c(C).filter(function(){return I(c(this))}).each(function(){function b(a,b,d){var f=[];c(a).each(function(){var b=0,e=0;t="";B(this,"td,th",n,d+a.length,function(a,d,l){if(null!==a){var h="";d=E(a,d,l);l="String";if(!1!==jQuery.isNumeric(d))l="Number";else{var g=Ma(d);!1!==g&&(d=g,l="Number",h+=' ss:StyleID="pct1"')}"Number"!==
|
||||
l&&(d=d.replace(/\n/g,"<br>"));g=O(a);a=U(a);c.each(f,function(){if(n>=this.s.r&&n<=this.e.r&&e>=this.s.c&&e<=this.e.c)for(var a=0;a<=this.e.c-this.s.c;++a)e++,b++});if(a||g)a=a||1,g=g||1,f.push({s:{r:n,c:e},e:{r:n+a-1,c:e+g-1}});1<g&&(h+=' ss:MergeAcross="'+(g-1)+'"',e+=g-1);1<a&&(h+=' ss:MergeDown="'+(a-1)+'" ss:StyleID="rsp1"');0<b&&(h+=' ss:Index="'+(e+1)+'"',b=0);t+="<Cell"+h+'><Data ss:Type="'+l+'">'+c("<div />").text(d).html()+"</Data></Cell>\r";e++}});0<t.length&&(H+='<Row ss:AutoFitHeight="0">\r'+
|
||||
t+"</Row>\r");n++});return a.length}var d=c(this),e="";"string"===typeof a.mso.worksheetName&&a.mso.worksheetName.length?e=a.mso.worksheetName+" "+(F.length+1):"undefined"!==typeof a.mso.worksheetName[F.length]&&(e=a.mso.worksheetName[F.length]);e.length||(e=d.find("caption").text()||"");e.length||(e="Table "+(F.length+1));e=c.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));F.push(c("<div />").text(e).html());!1===a.exportHiddenCells&&(J=d.find("tr, th, td").filter(":hidden"),V=0<J.length);
|
||||
n=0;T=S(this);H="<Table>\r";e=b(y(d),"th,td",0);b(v(d),"td,th",e);H+="</Table>\r";ra.push(H)});k={};r={};for(var m,R,Y=0,da=F.length;Y<da;Y++)m=F[Y],R=k[m],R=k[m]=null==R?1:R+1,2===R&&(F[r[m]]=F[r[m]].substring(0,29)+"-1"),1<k[m]?F[Y]=F[Y].substring(0,29)+"-"+k[m]:r[m]=Y;k='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+
|
||||
(new Date).toISOString()+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r';
|
||||
for(r=0;r<ra.length;r++)k+='<Worksheet ss:Name="'+F[r]+'" ss:RightToLeft="'+(a.mso.rtl?"1":"0")+'">\r'+ra[r],k=a.mso.rtl?k+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':k+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',k+="</Worksheet>\r";k+="</Workbook>\r";if("string"===a.outputMode)return k;if("base64"===a.outputMode)return K(k);M(k,a.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===
|
||||
a.type&&"xlsx"===a.mso.fileFormat){var aa=[],Fa=XLSX.utils.book_new();c(C).filter(function(){return I(c(this))}).each(function(){for(var b=c(this),d={},e=this.getElementsByTagName("tr"),g={s:{r:0,c:0},e:{r:0,c:0}},f=[],l,q=[],h=0,k=0,m,n,t,u,r,w=XLSX.SSF.get_table();h<e.length&&1E7>k;++h)if(m=e[h],n=!1,"function"===typeof a.onIgnoreRow&&(n=a.onIgnoreRow(c(m),h)),!0!==n&&(0===a.ignoreRow.length||-1===c.inArray(h,a.ignoreRow)&&-1===c.inArray(h-e.length,a.ignoreRow))&&!1!==I(c(m))){var y=m.children,
|
||||
C=0;for(m=0;m<y.length;++m)r=y[m],u=+O(r)||1,C+=u;var A=0;for(m=n=0;m<y.length;++m)if(r=y[m],u=+O(r)||1,l=m+A,!sa(c(r),C,l+(l<n?n-l:0))){A+=u-1;for(l=0;l<f.length;++l){var v=f[l];v.s.c==n&&v.s.r<=k&&k<=v.e.r&&(n=v.e.c+1,l=-1)}(0<(t=+U(r))||1<u)&&f.push({s:{r:k,c:n},e:{r:k+(t||1)-1,c:n+u-1}});var D={type:""};l=E(r,h,m+A,D);v={t:"s",v:l};var B="";if(""!==c(r).attr("data-tableexport-cellformat")){var x=parseInt(c(r).attr("data-tableexport-xlsxformatid")||0);0===x&&"function"===typeof a.mso.xslx.formatId.numbers&&
|
||||
(x=a.mso.xslx.formatId.numbers(c(r),h,m+A));0===x&&"function"===typeof a.mso.xslx.formatId.date&&(x=a.mso.xslx.formatId.date(c(r),h,m+A));if(49===x||"@"===x)B="s";else if("number"===D.type||0<x&&14>x||36<x&&41>x||48===x)B="n";else if("date"===D.type||13<x&&37>x||44<x&&48>x||56===x)B="d"}else B="s";if(null!=l)if(0===l.length)v.t=B||"z";else if(0!==l.trim().length&&"s"!==B)if("function"===D.type)v={f:l};else if("TRUE"===l)v={t:"b",v:!0};else if("FALSE"===l)v={t:"b",v:!1};else if(""===B&&c(r).find("a").length)l=
|
||||
"href"!==a.htmlHyperlink?l:"",v={f:'=HYPERLINK("'+c(r).find("a").attr("href")+(l.length?'","'+l:"")+'")'};else if("n"===B||isFinite(Ca(l,a.numbers.output))){if(r=Ca(l,a.numbers.output),0===x&&"function"!==typeof a.mso.xslx.formatId.numbers&&(x=a.mso.xslx.formatId.numbers),isFinite(r)||isFinite(l))v={t:"n",v:isFinite(r)?r:l,z:"string"===typeof x?x:x in w?w[x]:"0.00"}}else if(!1!==(r=La(l))||"d"===B)0===x&&"function"!==typeof a.mso.xslx.formatId.date&&(x=a.mso.xslx.formatId.date),v={t:"d",v:!1!==r?
|
||||
r:l,z:"string"===typeof x?x:x in w?w[x]:"m/d/yy"};d[na({c:n,r:k})]=v;g.e.c<n&&(g.e.c=n);n+=u}++k}f.length&&(d["!merges"]=f);q.length&&(d["!rows"]=q);g.e.r=k-1;d["!ref"]=oa(g);1E7<=k&&(d["!fullref"]=oa((g.e.r=e.length-h+k-1,g)));e="";"string"===typeof a.mso.worksheetName&&a.mso.worksheetName.length?e=a.mso.worksheetName+" "+(aa.length+1):"undefined"!==typeof a.mso.worksheetName[aa.length]&&(e=a.mso.worksheetName[aa.length]);e.length||(e=b.find("caption").text()||"");e.length||(e="Table "+(aa.length+
|
||||
1));e=c.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));aa.push(e);XLSX.utils.book_append_sheet(Fa,d,e)});k=XLSX.write(Fa,{type:"binary",bookType:a.mso.fileFormat,bookSST:!1});M(Oa(k),a.fileName+"."+a.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===a.type||"xls"===a.type||"word"===a.type||"doc"===a.type){k="excel"===a.type||"xls"===a.type?"excel":"word";r="excel"===k?"xls":"doc";m='xmlns:x="urn:schemas-microsoft-com:office:'+
|
||||
k+'"';var H="",ba="";c(C).filter(function(){return I(c(this))}).each(function(){var b=c(this);""===ba&&(ba=a.mso.worksheetName||b.find("caption").text()||"Table",ba=c.trim(ba.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)));!1===a.exportHiddenCells&&(J=b.find("tr, th, td").filter(":hidden"),V=0<J.length);n=0;G=[];T=S(this);H+="<table><thead>";u=y(b);c(u).each(function(){var b=c(this);t="";B(this,"th,td",n,u.length,function(c,d,f){if(null!==c){var e="";t+="<th";if(a.mso.styles.length){var g=document.defaultView.getComputedStyle(c,
|
||||
null),h=document.defaultView.getComputedStyle(b[0],null),k;for(k in a.mso.styles){var m=g[a.mso.styles[k]];""===m&&(m=h[a.mso.styles[k]]);""!==m&&"0px none rgb(0, 0, 0)"!==m&&"rgba(0, 0, 0, 0)"!==m&&(e+=""===e?'style="':";",e+=a.mso.styles[k]+":"+m)}}""!==e&&(t+=" "+e+'"');e=O(c);0<e&&(t+=' colspan="'+e+'"');e=U(c);0<e&&(t+=' rowspan="'+e+'"');t+=">"+E(c,d,f)+"</th>"}});0<t.length&&(H+="<tr>"+t+"</tr>");n++});H+="</thead><tbody>";w=v(b);c(w).each(function(){var b=c(this);t="";B(this,"td,th",n,u.length+
|
||||
w.length,function(d,g,f){if(null!==d){var e=E(d,g,f),q="",h=c(d).attr("data-tableexport-msonumberformat");"undefined"===typeof h&&"function"===typeof a.mso.onMsoNumberFormat&&(h=a.mso.onMsoNumberFormat(d,g,f));"undefined"!==typeof h&&""!==h&&(q="style=\"mso-number-format:'"+h+"'");if(a.mso.styles.length){g=document.defaultView.getComputedStyle(d,null);f=document.defaultView.getComputedStyle(b[0],null);for(var k in a.mso.styles)h=g[a.mso.styles[k]],""===h&&(h=f[a.mso.styles[k]]),""!==h&&"0px none rgb(0, 0, 0)"!==
|
||||
h&&"rgba(0, 0, 0, 0)"!==h&&(q+=""===q?'style="':";",q+=a.mso.styles[k]+":"+h)}t+="<td";""!==q&&(t+=" "+q+'"');q=O(d);0<q&&(t+=' colspan="'+q+'"');d=U(d);0<d&&(t+=' rowspan="'+d+'"');"string"===typeof e&&""!==e&&(e=Aa(e),e=e.replace(/\n/g,"<br>"));t+=">"+e+"</td>"}});0<t.length&&(H+="<tr>"+t+"</tr>");n++});a.displayTableName&&(H+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+E(c("<p>"+a.tableName+"</p>"))+"</td></tr>");H+="</tbody></table>"});m='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+
|
||||
m+' xmlns="http://www.w3.org/TR/REC-html40">'+('<meta http-equiv="content-type" content="application/vnd.ms-'+k+'; charset=UTF-8">');m+="<head>";"excel"===k&&(m+="\x3c!--[if gte mso 9]>",m+="<xml>",m+="<x:ExcelWorkbook>",m+="<x:ExcelWorksheets>",m+="<x:ExcelWorksheet>",m+="<x:Name>",m+=ba,m+="</x:Name>",m+="<x:WorksheetOptions>",m+="<x:DisplayGridlines/>",a.mso.rtl&&(m+="<x:DisplayRightToLeft/>"),m+="</x:WorksheetOptions>",m+="</x:ExcelWorksheet>",m+="</x:ExcelWorksheets>",m+="</x:ExcelWorkbook>",
|
||||
m+="</xml>",m+="<![endif]--\x3e");m+="<style>";m+="@page { size:"+a.mso.pageOrientation+"; mso-page-orientation:"+a.mso.pageOrientation+"; }";m+="@page Section1 {size:"+N[a.mso.pageFormat][0]+"pt "+N[a.mso.pageFormat][1]+"pt";m+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}";m+="div.Section1 {page:Section1;}";m+="@page Section2 {size:"+N[a.mso.pageFormat][1]+"pt "+N[a.mso.pageFormat][0]+"pt";m+=";mso-page-orientation:"+a.mso.pageOrientation+
|
||||
";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}";m+="div.Section2 {page:Section2;}";m+="br {mso-data-placement:same-cell;}";m+="</style>";m+="</head>";m+="<body>";m+='<div class="Section'+("landscape"===a.mso.pageOrientation?"2":"1")+'">';m+=H;m+="</div>";m+="</body>";m+="</html>";if("string"===a.outputMode)return m;if("base64"===a.outputMode)return K(m);M(m,a.fileName+"."+r,"application/vnd.ms-"+k,"","base64",!1)}else if("png"===a.type)html2canvas(c(C)[0]).then(function(b){b=
|
||||
b.toDataURL();for(var c=atob(b.substring(22)),e=new ArrayBuffer(c.length),g=new Uint8Array(e),f=0;f<c.length;f++)g[f]=c.charCodeAt(f);if("string"===a.outputMode)return c;if("base64"===a.outputMode)return K(b);"window"===a.outputMode?window.open(b):M(e,a.fileName+".png","image/png","","",!1)});else if("pdf"===a.type)if(!0===a.pdfmake.enabled){k=[];var Ga=[];n=0;G=[];r=function(a,d,e){var b=0;c(a).each(function(){var a=[];B(this,d,n,e,function(b,c,d){if("undefined"!==typeof b&&null!==b){var e=O(b),
|
||||
f=U(b);b=E(b,c,d)||" ";1<e||1<f?a.push({colSpan:e||1,rowSpan:f||1,text:b}):a.push(b)}else a.push(" ")});a.length&&Ga.push(a);b<a.length&&(b=a.length);n++});return b};u=y(c(this));m=r(u,"th,td",u.length);for(R=k.length;R<m;R++)k.push("*");w=v(c(this));r(w,"th,td",u.length+w.length);k={content:[{table:{headerRows:u.length,widths:k,body:Ga}}]};c.extend(!0,k,a.pdfmake.docDefinition);pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}};
|
||||
c.extend(!0,pdfMake.fonts,a.pdfmake.fonts);pdfMake.createPdf(k).getBuffer(function(b){M(b,a.fileName+".pdf","application/pdf","","",!1)})}else if(!1===a.jspdf.autotable){k={dim:{w:fa(c(C).first().get(0),"width","mm"),h:fa(c(C).first().get(0),"height","mm")},pagesplit:!1};var Ha=new jsPDF(a.jspdf.orientation,a.jspdf.unit,a.jspdf.format);Ha.addHTML(c(C).first(),a.jspdf.margins.left,a.jspdf.margins.top,k,function(){ua(Ha,!1)})}else{var g=a.jspdf.autotable.tableExport;if("string"===typeof a.jspdf.format&&
|
||||
"bestfit"===a.jspdf.format.toLowerCase()){var ia="",ca="",Ia=0;c(C).each(function(){if(I(c(this))){var a=fa(c(this).get(0),"width","pt");if(a>Ia){a>N.a0[0]&&(ia="a0",ca="l");for(var d in N)N.hasOwnProperty(d)&&N[d][1]>a&&(ia=d,ca="l",N[d][0]>a&&(ca="p"));Ia=a}}});a.jspdf.format=""===ia?"a4":ia;a.jspdf.orientation=""===ca?"w":ca}if(null==g.doc&&(g.doc=new jsPDF(a.jspdf.orientation,a.jspdf.unit,a.jspdf.format),g.wScaleFactor=1,g.hScaleFactor=1,"function"===typeof a.jspdf.onDocCreated))a.jspdf.onDocCreated(g.doc);
|
||||
!0===g.outputImages&&(g.images={});"undefined"!==typeof g.images&&(c(C).filter(function(){return I(c(this))}).each(function(){var b=0;G=[];!1===a.exportHiddenCells&&(J=c(this).find("tr, th, td").filter(":hidden"),V=0<J.length);u=y(c(this));w=v(c(this));c(w).each(function(){B(this,"td,th",u.length+b,u.length+w.length,function(a){wa(a,c(a).children(),g)});b++})}),u=[],w=[]);Ka(g,function(){c(C).filter(function(){return I(c(this))}).each(function(){var b;n=0;G=[];!1===a.exportHiddenCells&&(J=c(this).find("tr, th, td").filter(":hidden"),
|
||||
V=0<J.length);T=S(this);g.columns=[];g.rows=[];g.teCells={};if("function"===typeof g.onTable&&!1===g.onTable(c(this),a))return!0;a.jspdf.autotable.tableExport=null;var d=c.extend(!0,{},a.jspdf.autotable);a.jspdf.autotable.tableExport=g;d.margin={};c.extend(!0,d.margin,a.jspdf.margins);d.tableExport=g;"function"!==typeof d.beforePageContent&&(d.beforePageContent=function(a){if(1===a.pageCount){var b=a.table.rows.concat(a.table.headerRow);c.each(b,function(){0<this.height&&(this.height+=(2-1.15)/2*
|
||||
this.styles.fontSize,a.table.height+=(2-1.15)/2*this.styles.fontSize)})}});"function"!==typeof d.createdHeaderCell&&(d.createdHeaderCell=function(a,b){a.styles=c.extend({},b.row.styles);if("undefined"!==typeof g.columns[b.column.dataKey]){var e=g.columns[b.column.dataKey];if("undefined"!==typeof e.rect){a.contentWidth=e.rect.width;if("undefined"===typeof g.heightRatio||0===g.heightRatio){var f=b.row.raw[b.column.dataKey].rowspan?b.row.raw[b.column.dataKey].rect.height/b.row.raw[b.column.dataKey].rowspan:
|
||||
b.row.raw[b.column.dataKey].rect.height;g.heightRatio=a.styles.rowHeight/f}f=b.row.raw[b.column.dataKey].rect.height*g.heightRatio;f>a.styles.rowHeight&&(a.styles.rowHeight=f)}a.styles.halign="inherit"===d.headerStyles.halign?"center":d.headerStyles.halign;a.styles.valign=d.headerStyles.valign;"undefined"!==typeof e.style&&!0!==e.style.hidden&&("inherit"===d.headerStyles.halign&&(a.styles.halign=e.style.align),"inherit"===d.styles.fillColor&&(a.styles.fillColor=e.style.bcolor),"inherit"===d.styles.textColor&&
|
||||
(a.styles.textColor=e.style.color),"inherit"===d.styles.fontStyle&&(a.styles.fontStyle=e.style.fstyle))}});"function"!==typeof d.createdCell&&(d.createdCell=function(a,b){b=g.teCells[b.row.index+":"+b.column.dataKey];a.styles.halign="inherit"===d.styles.halign?"center":d.styles.halign;a.styles.valign=d.styles.valign;"undefined"!==typeof b&&"undefined"!==typeof b.style&&!0!==b.style.hidden&&("inherit"===d.styles.halign&&(a.styles.halign=b.style.align),"inherit"===d.styles.fillColor&&(a.styles.fillColor=
|
||||
b.style.bcolor),"inherit"===d.styles.textColor&&(a.styles.textColor=b.style.color),"inherit"===d.styles.fontStyle&&(a.styles.fontStyle=b.style.fstyle))});"function"!==typeof d.drawHeaderCell&&(d.drawHeaderCell=function(a,b){var c=g.columns[b.column.dataKey];return(!0!==c.style.hasOwnProperty("hidden")||!0!==c.style.hidden)&&0<=c.rowIndex?va(a,b,c):!1});"function"!==typeof d.drawCell&&(d.drawCell=function(a,b){var d=g.teCells[b.row.index+":"+b.column.dataKey];if(!0!==("undefined"!==typeof d&&d.isCanvas))va(a,
|
||||
b,d)&&(g.doc.rect(a.x,a.y,a.width,a.height,a.styles.fillStyle),"undefined"===typeof d||"undefined"!==typeof d.hasUserDefText&&!0===d.hasUserDefText||"undefined"===typeof d.elements||!d.elements.length?za(a,{},g):(b=a.height/d.rect.height,b>g.hScaleFactor&&(g.hScaleFactor=b),g.wScaleFactor=a.width/d.rect.width,b=a.textPos.y,ya(a,d.elements,g),a.textPos.y=b,za(a,d.elements,g)));else{d=d.elements[0];var e=c(d).attr("data-tableexport-canvas"),f=d.getBoundingClientRect();a.width=f.width*g.wScaleFactor;
|
||||
a.height=f.height*g.hScaleFactor;b.row.height=a.height;ta(a,d,e,g)}return!1});g.headerrows=[];u=y(c(this));c(u).each(function(){b=0;g.headerrows[n]=[];B(this,"th,td",n,u.length,function(a,c,d){var e=Ba(a);e.title=E(a,c,d);e.key=b++;e.rowIndex=n;g.headerrows[n].push(e)});n++});if(0<n)for(var e=n-1;0<=e;)c.each(g.headerrows[e],function(){var a=this;0<e&&null===this.rect&&(a=g.headerrows[e-1][this.key]);null!==a&&0<=a.rowIndex&&(!0!==a.style.hasOwnProperty("hidden")||!0!==a.style.hidden)&&g.columns.push(a)}),
|
||||
e=0<g.columns.length?-1:e-1;var k=0;w=[];w=v(c(this));c(w).each(function(){var a=[];b=0;B(this,"td,th",n,u.length+w.length,function(d,e,f){if("undefined"===typeof g.columns[b]){var h={title:"",key:b,style:{hidden:!0}};g.columns.push(h)}a.push(E(d,e,f));"undefined"!==typeof d&&null!==d?(h=Ba(d),h.isCanvas=d.hasAttribute("data-tableexport-canvas"),h.elements=h.isCanvas?c(d):c(d).children(),"undefined"!==typeof c(d).data("teUserDefText")&&(h.hasUserDefText=!0)):(h=c.extend(!0,{},g.teCells[k+":"+(b-1)]),
|
||||
h.colspan=-1);g.teCells[k+":"+b++]=h});a.length&&(g.rows.push(a),k++);n++});if("function"===typeof g.onBeforeAutotable)g.onBeforeAutotable(c(this),g.columns,g.rows,d);g.doc.autoTable(g.columns,g.rows,d);if("function"===typeof g.onAfterAutotable)g.onAfterAutotable(c(this),d);a.jspdf.autotable.startY=g.doc.autoTableEndPosY()+d.margin.top});ua(g.doc,"undefined"!==typeof g.images&&!1===jQuery.isEmptyObject(g.images));"undefined"!==typeof g.headerrows&&(g.headerrows.length=0);"undefined"!==typeof g.columns&&
|
||||
(g.columns.length=0);"undefined"!==typeof g.rows&&(g.rows.length=0);delete g.doc;g.doc=null})}if("function"===typeof a.onTableExportEnd)a.onTableExportEnd();return this}})(jQuery);
|
@ -1,555 +0,0 @@
|
||||
/*!
|
||||
* TOAST UI Date Picker
|
||||
* @version 4.1.0
|
||||
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
|
||||
* @license MIT
|
||||
*/
|
||||
@charset "utf-8";
|
||||
.tui-calendar {
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
border: 1px solid #aaa;
|
||||
width: 274px;
|
||||
}
|
||||
|
||||
.tui-calendar * {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tui-calendar div {
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.tui-calendar caption {
|
||||
padding: 0
|
||||
}
|
||||
|
||||
.tui-calendar caption span {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
clip: rect(0 0 0 0);
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
padding: 0
|
||||
}
|
||||
|
||||
.tui-calendar button, .tui-datepicker-dropdown button, .tui-datepicker-selector button {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none
|
||||
}
|
||||
|
||||
.tui-ico-date, .tui-ico-time, .tui-datepicker-dropdown .tui-ico-check, .tui-ico-caret {
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
line-height: 300px;
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAA+CAYAAAC7rUKSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3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TXst+QDnSh9ml7VNfbgsiIrmYtYJlpkZ/dGU0tQ/RvwbUv+oIgn+tolksVywZZ9gEomSpvdB6l0Y6aYoL/CckU1bsAM8gLAocScpPQH7GR9+foG4A3FCpNP/BBgAdZ3B2yZg0vUAAAAASUVORK5CYII=) no-repeat
|
||||
}
|
||||
|
||||
.tui-ico-date {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-position: -17px 0
|
||||
}
|
||||
|
||||
.tui-ico-time {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-position: 0 -30px
|
||||
}
|
||||
|
||||
.tui-ico-caret {
|
||||
width: 7px;
|
||||
height: 4px;
|
||||
background-position: 0 -58px
|
||||
}
|
||||
|
||||
.tui-calendar-month, .tui-calendar-year {
|
||||
width: 202px;
|
||||
}
|
||||
|
||||
.tui-calendar-month .tui-calendar-body, .tui-calendar-year .tui-calendar-body {
|
||||
width: 202px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-header {
|
||||
position: relative;
|
||||
border-bottom: 1px solid #efefef
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-header-inner {
|
||||
padding: 17px 50px 15px;
|
||||
height: 50px
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-title-today {
|
||||
height: 30px;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
line-height: 34px;
|
||||
color: #777;
|
||||
background-color: #f4f4f4
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-title {
|
||||
display: inline-block;
|
||||
font-size: 18px;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
line-height: 1;
|
||||
color: #333;
|
||||
cursor: default;
|
||||
vertical-align: top
|
||||
}
|
||||
|
||||
.tui-calendar-btn {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 32px;
|
||||
height: 50px;
|
||||
line-height: 400px;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-prev-month {
|
||||
left: 0
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-next-month {
|
||||
right: 0
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-prev-year {
|
||||
left: 0
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-next-year {
|
||||
right: 0
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-prev-month:after, .tui-calendar .tui-calendar-btn-next-month:after, .tui-calendar .tui-calendar-btn-prev-year:after, .tui-calendar .tui-calendar-btn-next-year:after {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
line-height: 400px;
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAA+CAYAAAC7rUKSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4b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RN/LOMRlXoEB0KLcrUtimZVlGHmLfqbdNq86jHUKjL8BL4SqfEFH9kqbsrSVFrmhb2RcSc4qt94z9XX9kaTaVzKoyut5sxpm0PV1XEeq0ic4gM05ytKEOs6Pb9rLa/1QLGfvj1RGdZp19CbUvpIDVXmGVWUuCUBkbxAog/khLxxHOYCbDvuyBM2LS+Az1TIEfRKUIOiayqiONzU4hn0uCXknR1WKGp5NXZ+u9iovvxcBSj7RRkSEV80zfztIy4PaYh+1r1QAVUkRpUmgzFSUNdb51Rce+4+NpJ+AhYxQ21Bb6gO6BSuSEchSldohmjVPU44y6zx9fcBVHnDDk3jwpnhOp6cIkiXQNZVRHbWhtgVTlZD6v8LNTPYmPvWYldkazWZ9yKtQopW0yzBniMmNanBxrkVhhntCliTWVOWBCahKxwNobm52fKjZvXt35j5RQFX5IpPUu4tZWcFM0qnKtYhnESsQAQZd0/8Q1uVQlca14hcoE8lA0KAP2pGfqKrUjGb2KXaVfTZlokZu+jW7lKPHRFVuz+MJNpn4dpOTBWuwBbynnOUsnjl5emWeTypDt8NOhPhaJkd/PNX+s0bu9STLllsRfXZuI/T3EhvbaEJyo+CMz+ETF/13TXst+QDnSh9ml7VNfbgsiIrmYtYJlpkZ/dGU0tQ/RvwbUv+oIgn+tolksVywZZ9gEomSpvdB6l0Y6aYoL/CckU1bsAM8gLAocScpPQH7GR9+foG4A3FCpNP/BBgAdZ3B2yZg0vUAAAAASUVORK5CYII=) no-repeat;
|
||||
content: ''
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-prev-month:after, .tui-calendar.tui-calendar-month .tui-calendar-btn-prev-year:after {
|
||||
width: 6px;
|
||||
height: 11px;
|
||||
left: 50%;
|
||||
margin-left: -3px;
|
||||
background-position: 0 0
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-next-month:after, .tui-calendar.tui-calendar-month .tui-calendar-btn-next-year:after {
|
||||
width: 6px;
|
||||
height: 11px;
|
||||
right: 50%;
|
||||
margin-right: -3px;
|
||||
background-position: -8px 0
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-prev-year:after {
|
||||
width: 11px;
|
||||
height: 10px;
|
||||
left: 50%;
|
||||
margin-left: -6px;
|
||||
background-position: -16px -36px
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-next-year:after {
|
||||
width: 11px;
|
||||
height: 10px;
|
||||
right: 50%;
|
||||
margin-right: -6px;
|
||||
background-position: -16px -49px
|
||||
}
|
||||
|
||||
.tui-calendar.tui-calendar-month .tui-calendar-btn-prev-year, .tui-calendar.tui-calendar-month .tui-calendar-btn-next-year {
|
||||
width: 50px
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-has-btns .tui-calendar-btn-prev-year {
|
||||
left: 10px
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-has-btns .tui-calendar-btn-next-year {
|
||||
right: 10px
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-has-btns .tui-calendar-btn-prev-month {
|
||||
left: 44px
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-has-btns .tui-calendar-btn-next-month {
|
||||
right: 44px
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-body-header th {
|
||||
color: #777
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-body-inner {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
text-align: center;
|
||||
font-size: 12px
|
||||
}
|
||||
|
||||
.tui-calendar th {
|
||||
font-weight: normal;
|
||||
cursor: default
|
||||
}
|
||||
|
||||
.tui-calendar th, .tui-calendar td {
|
||||
height: 39px;
|
||||
text-align: center;
|
||||
color: #999
|
||||
}
|
||||
|
||||
.tui-calendar .tui-is-blocked:hover {
|
||||
cursor: default
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-month {
|
||||
width: 25%;
|
||||
height: 50px
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-today {
|
||||
color: #4b96e6
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-prev-month, .tui-calendar .tui-calendar-next-month {
|
||||
color: #ccc
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-prev-month.tui-calendar-date, .tui-calendar .tui-calendar-next-month.tui-calendar-date {
|
||||
visibility: hidden
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-choice {
|
||||
background-color: #4b96e6
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-btn-close {
|
||||
background-color: #777
|
||||
}
|
||||
|
||||
.tui-calendar .tui-calendar-year {
|
||||
width: 25%;
|
||||
height: 50px
|
||||
}
|
||||
|
||||
.tui-calendar.tui-calendar-year .tui-calendar-btn-prev-year:after {
|
||||
width: 6px;
|
||||
height: 11px;
|
||||
left: 50%;
|
||||
margin-left: -3px;
|
||||
background-position: 0 0
|
||||
}
|
||||
|
||||
.tui-calendar.tui-calendar-year .tui-calendar-btn-next-year:after {
|
||||
width: 6px;
|
||||
height: 11px;
|
||||
right: 50%;
|
||||
margin-right: -3px;
|
||||
background-position: -8px 0
|
||||
}
|
||||
|
||||
.tui-calendar.tui-calendar-year .tui-calendar-btn-prev-year, .tui-calendar.tui-calendar-year .tui-calendar-btn-next-year {
|
||||
width: 50px
|
||||
}
|
||||
|
||||
.tui-datepicker {
|
||||
border: 1px solid #aaa;
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.tui-datepicker * {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tui-datepicker-type-date {
|
||||
width: 274px;
|
||||
}
|
||||
|
||||
.tui-datepicker-body .tui-calendar-month, .tui-datepicker-body .tui-calendar-year {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.tui-datepicker .tui-calendar {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.tui-datepicker .tui-calendar-title {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tui-datepicker .tui-calendar-title.tui-calendar-title-year-to-year {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.tui-datepicker-body .tui-timepicker, .tui-datepicker-footer .tui-timepicker {
|
||||
width: 274px;
|
||||
position: static;
|
||||
padding: 20px 46px 20px 47px;
|
||||
border: 0
|
||||
}
|
||||
|
||||
.tui-datepicker-footer .tui-timepicker {
|
||||
border-top: 1px solid #eee
|
||||
}
|
||||
|
||||
.tui-datepicker-selector {
|
||||
padding: 10px;
|
||||
font-size: 0;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #eee
|
||||
}
|
||||
|
||||
.tui-datepicker-selector-button {
|
||||
width: 50%;
|
||||
height: 26px;
|
||||
font-size: 12px;
|
||||
line-height: 23px;
|
||||
border: 1px solid #ddd;
|
||||
background-color: #fff;
|
||||
color: #777;
|
||||
outline: none;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.tui-datepicker-selector-button.tui-is-checked {
|
||||
background-color: #eee;
|
||||
color: #333
|
||||
}
|
||||
|
||||
.tui-datepicker-selector-button+.tui-datepicker-selector-button {
|
||||
margin-left: -1px
|
||||
}
|
||||
|
||||
.tui-datepicker-selector-button [class^=tui-ico-] {
|
||||
margin: 5px 9px 0 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.tui-datepicker-selector-button.tui-is-checked .tui-ico-date, .tui-datepicker-input.tui-has-focus .tui-ico-date {
|
||||
background-position: -17px -14px
|
||||
}
|
||||
|
||||
.tui-datepicker-selector-button.tui-is-checked .tui-ico-time {
|
||||
background-position: 0 -44px
|
||||
}
|
||||
|
||||
.tui-datepicker-area {
|
||||
position: relative
|
||||
}
|
||||
|
||||
.tui-datepicker-input {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 120px;
|
||||
height: 28px;
|
||||
vertical-align: top;
|
||||
border: 1px solid #ddd
|
||||
}
|
||||
|
||||
.tui-datepicker-input * {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tui-datepicker-input > input {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 6px 27px 6px 10px;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
vertical-align: top;
|
||||
border: 0;
|
||||
color: #333
|
||||
}
|
||||
|
||||
.tui-datepicker-input > .tui-ico-date {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8px;
|
||||
margin: -6px 0 0 0
|
||||
}
|
||||
|
||||
.tui-datepicker-input.tui-has-focus {
|
||||
border-color: #aaa
|
||||
}
|
||||
|
||||
.tui-datetime-input {
|
||||
width: 170px
|
||||
}
|
||||
|
||||
.tui-datepicker .tui-is-blocked {
|
||||
cursor: default;
|
||||
color: #ddd
|
||||
}
|
||||
|
||||
.tui-datepicker .tui-is-valid {
|
||||
color: #999
|
||||
}
|
||||
|
||||
.tui-datepicker .tui-is-selectable:hover {
|
||||
background-color: #edf4fc;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tui-datepicker .tui-is-selectable.tui-is-selected, .tui-datepicker.tui-rangepicker .tui-is-selectable.tui-is-selected {
|
||||
background-color: #4b96e6;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.tui-datepicker.tui-rangepicker .tui-is-selected-range {
|
||||
background-color: #edf4fc;
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown {
|
||||
display: inline-block;
|
||||
width: 120px
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown .tui-dropdown-button {
|
||||
width: 100%;
|
||||
height: 28px;
|
||||
padding: 0 10px;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
border: 1px solid #ddd;
|
||||
padding: 0 30px 0 10px;
|
||||
text-align: left;
|
||||
background: #fff;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown {
|
||||
position: relative
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown .tui-ico-caret {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 10px
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown .tui-dropdown-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 27px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
padding: 5px 0;
|
||||
margin: 0;
|
||||
overflow-y: auto;
|
||||
min-width: 0;
|
||||
max-height: 198px;
|
||||
font-size: 12px;
|
||||
border: 1px solid #ddd;
|
||||
border-top-color: #fff;
|
||||
z-index: 10;
|
||||
box-sizing: border-box;
|
||||
box-shadow: none;
|
||||
border-radius: 0
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown.tui-is-open .tui-dropdown-button {
|
||||
display: block
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown.tui-is-open .tui-dropdown-menu, .tui-datepicker-dropdown.tui-is-open .tui-dropdown-button {
|
||||
display: block;
|
||||
border-color: #aaa
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown.tui-is-open .tui-ico-caret {
|
||||
background-position: -21px -28px
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown .tui-menu-item {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
background-color: #fff;
|
||||
z-index: 10
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown .tui-menu-item-btn {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
line-height: 28px;
|
||||
padding: 0 10px 0 30px;
|
||||
text-align: left;
|
||||
color: #333;
|
||||
background-color: #fff;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
z-index: 9
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown .tui-menu-item-btn:hover, .tui-menu-item-btn:focus, .tui-menu-item-btn:active {
|
||||
color: #333;
|
||||
background-color: #f4f4f4
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown .tui-menu-item .tui-ico-check {
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
height: 8px;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
background-position: -31px -54px;
|
||||
z-index: 10;
|
||||
content: 'aaa'
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown .tui-menu-item.tui-is-selected .tui-ico-check {
|
||||
display: block
|
||||
}
|
||||
|
||||
.tui-datepicker-dropdown .tui-menu-item.tui-is-selected .tui-menu-item-btn {
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.tui-dropdown-area {
|
||||
font-size: 0
|
||||
}
|
||||
|
||||
.tui-dropdown-area .tui-datepicker-dropdown+.tui-datepicker-dropdown {
|
||||
margin-left: 5px
|
||||
}
|
||||
|
||||
.tui-hidden {
|
||||
display: none;
|
||||
}
|
@ -1,210 +0,0 @@
|
||||
/*!
|
||||
* TOAST UI Pagination
|
||||
* @version 3.4.0
|
||||
* @author NHN FE Development Team <dl_javascript@nhn.com>
|
||||
* @license MIT
|
||||
*/
|
||||
@charset 'utf-8';
|
||||
.tui-pagination * {
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.tui-ico-ellipsis, .tui-ico-first, .tui-ico-last, .tui-ico-next, .tui-ico-prev {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tui-pagination {
|
||||
height: 28px;
|
||||
margin: 14px 0 12px;
|
||||
line-height: normal;
|
||||
text-align: center;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-page-btn {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 28px;
|
||||
padding: 8px 0 6px;
|
||||
margin-left: 0;
|
||||
color: #333;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
border: 1px solid #ddd;
|
||||
border-width: 1px 0;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-page-btn:hover {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-is-selected, .tui-pagination strong {
|
||||
color: #fff;
|
||||
/* background: #4b96e6; */
|
||||
/* border-color: #4b96e6; */
|
||||
background: rgba(66, 123, 215, 1);
|
||||
border-color: rgba(66, 123, 215, 1);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-is-selected:hover {
|
||||
background-color: #4b96e6;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-first-child.tui-is-selected, .tui-pagination strong.tui-first-child {
|
||||
margin-left: 0
|
||||
}
|
||||
|
||||
.tui-pagination .tui-first-child, .tui-pagination .tui-prev-is-ellip {
|
||||
border-left: 1px solid #ddd
|
||||
}
|
||||
|
||||
.tui-pagination .tui-last-child, .tui-pagination .tui-next-is-ellip {
|
||||
border-right: 1px solid #ddd
|
||||
}
|
||||
|
||||
.tui-pagination .tui-first-child.tui-is-selected {
|
||||
border-left: 1px solid rgba(66, 123, 215, 1);
|
||||
}
|
||||
|
||||
.tui-pagination .tui-last-child.tui-is-selected {
|
||||
border-right: 1px solid rgba(66, 123, 215, 1);
|
||||
}
|
||||
|
||||
.tui-pagination .tui-first, .tui-pagination .tui-prev, .tui-pagination .tui-next, .tui-pagination .tui-last, .tui-pagination .tui-prev-is-ellip, .tui-pagination .tui-next-is-ellip {
|
||||
overflow: hidden;
|
||||
/* *****************************************
|
||||
* 2020.06.11. 박민규
|
||||
* height, padding 주석처리
|
||||
* -사유: 페이징버튼의 화살표가 네모칸 상단에 위치하게 되어 주석처리 함.
|
||||
***************************************** */
|
||||
/* 2020.06. 11. 주석처리 */
|
||||
/* height: 26px; */
|
||||
/* padding: 0; */
|
||||
font-size: 0;
|
||||
line-height: 26px;
|
||||
white-space: nowrap;
|
||||
font-weight: normal;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-prev-is-ellip {
|
||||
border-right: 0
|
||||
}
|
||||
|
||||
.tui-pagination .tui-next-is-ellip {
|
||||
border-left: 0
|
||||
}
|
||||
|
||||
.tui-pagination .tui-first+.tui-prev, .tui-pagination .tui-next+.tui-last {
|
||||
border-left: 0
|
||||
}
|
||||
|
||||
.tui-pagination .tui-ico-first, .tui-pagination .tui-ico-prev, .tui-pagination .tui-ico-next, .tui-pagination .tui-ico-last, .tui-pagination .tui-ico-ellip {
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0YwN0I4MUNDNjk0MTFFNjgzNjg5NTM0OEZDQ0YxNTUiIHht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fJ57rDKw5TjhZin746DEH2oELwjYTgY6iAOvDIoNR2w5uFvreEPIC/tAKvoR7CFsQMLBdhEOiFdrYv1kNou2EA65B5NKP/6YFLl0YdS2IkRYEzyKmnknR7/Q/weBpQT9aVQu8TCYjtaIVk3JETqAFWrDB4W8WQydcDbPZrL4HUb97qVSqR4zhcYSb6k96MVXZPx5CNTS1BoZmUXwY7XuHt8yDaIIhWB+En4u8YJ7AMO9QFoLFb3sy4Yjyf8KceUGYQjg8El9EPw39KEUrylJAMDFPG7tnmw1/E1DWFrB4PSUcJFwx/HMJjzEd085X8I/JF+LjpR7PURt/Dzwg7Bb6UtYC9mL2dzr8nHiraxBJ+y3AAOpc//DIQNiHAAAAAElFTkSuQmCC) no-repeat 0 0;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
font-size: 0px;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-prev-is-ellip, .tui-pagination .tui-next-is-ellip {
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-prev {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-next {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.tui-pagination .tui-ico-first {
|
||||
width: 11px;
|
||||
height: 10px;
|
||||
background-position: 0px 0px
|
||||
}
|
||||
|
||||
.tui-pagination .tui-ico-prev {
|
||||
width: 6px;
|
||||
height: 10px;
|
||||
background-position: -26px 0px
|
||||
}
|
||||
|
||||
.tui-pagination .tui-ico-next {
|
||||
width: 6px;
|
||||
height: 10px;
|
||||
background-position: -13px -24px
|
||||
}
|
||||
|
||||
.tui-pagination .tui-ico-last {
|
||||
width: 11px;
|
||||
height: 10px;
|
||||
background-position: 0px -12px
|
||||
}
|
||||
|
||||
.tui-pagination .tui-ico-ellip {
|
||||
width: 10px;
|
||||
height: 2px;
|
||||
margin-top: 16px;
|
||||
vertical-align: top;
|
||||
background-position: 0px -24px
|
||||
}
|
||||
|
||||
.tui-pagination .tui-is-disabled:hover {
|
||||
background: #fff;
|
||||
cursor: default
|
||||
}
|
||||
|
||||
.tui-pagination .tui-is-disabled .tui-ico-prev {
|
||||
background-position: -26px -12px
|
||||
}
|
||||
|
||||
.tui-pagination .tui-is-disabled .tui-ico-first {
|
||||
background-position: -13px 0px
|
||||
}
|
||||
|
||||
.tui-pagination .tui-is-disabled .tui-ico-next {
|
||||
background-position: -21px -24px
|
||||
}
|
||||
|
||||
.tui-pagination .tui-is-disabled .tui-ico-last {
|
||||
background-position: -13px -12px
|
||||
}
|
||||
|
||||
.tui-page-inputs {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.tui-page-inputs .tui-page-input {
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
height: 12px;
|
||||
padding: 8px 0 6px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
border: 0;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.tui-page-inputs .tui-page-current {
|
||||
color: rgba(66, 123, 215, 1);
|
||||
}
|
||||
|
||||
.tui-page-separator {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
height: 12px;
|
||||
padding: 8px 0 6px;
|
||||
vertical-align: top
|
||||
}
|
||||
|
@ -1,285 +0,0 @@
|
||||
/*!
|
||||
* TOAST UI Time Picker
|
||||
* @version 2.0.3
|
||||
* @author NHN FE Development Lab <dl_javascript@nhn.com>
|
||||
* @license MIT
|
||||
*/
|
||||
@charset 'utf-8';
|
||||
.tui-timepicker * {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tui-timepicker button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.tui-timepicker input, .tui-timepicker select {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.tui-ico-t-btn, .tui-timepicker-input-radio, .tui-ico-colon, .tui-ico-time {
|
||||
overflow: hidden;
|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bWhtgVTlZD6v8LNTPYmPvWYldkazWZ9yKtQopW0yzBniMmNanBxrkVhhntCliTWVOWBCahKxwNobm52fKjZvXt35j5RQFX5IpPUu4tZWcFM0qnKtYhnESsQAQZd0/8Q1uVQlca14hcoE8lA0KAP2pGfqKrUjGb2KXaVfTZlokZu+jW7lKPHRFVuz+MJNpn4dpOTBWuwBbynnOUsnjl5emWeTypDt8NOhPhaJkd/PNX+s0bu9STLllsRfXZuI/T3EhvbaEJyo+CMz+ETF/13TXst+QDnSh9ml7VNfbgsiIrmYtYJlpkZ/dGU0tQ/RvwbUv+oIgn+tolksVywZZ9gEomSpvdB6l0Y6aYoL/CckU1bsAM8gLAocScpPQH7GR9+foG4A3FCpNP/BBgAdZ3B2yZg0vUAAAAASUVORK5CYII=) no-repeat;
|
||||
}
|
||||
|
||||
.tui-timepicker .tui-timepicker-select {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-o-appearance: none;
|
||||
appearance: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.tui-timepicker .tui-timepicker-select::-ms-expand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tui-calendar-select-content .tui-timepicker {
|
||||
border: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.tui-timepicker input {
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.tui-timepicker {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
padding: 30px 20px;
|
||||
font-weight: bold;
|
||||
border: 1px solid #aaa;
|
||||
background: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tui-timepicker-row {
|
||||
width: 100%;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.tui-timepicker-column {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.tui-timepicker-btn-area {
|
||||
position: relative;
|
||||
height: 88px;
|
||||
padding: 19px 0
|
||||
}
|
||||
|
||||
.tui-timepicker-spinbox {
|
||||
width: 52px;
|
||||
}
|
||||
|
||||
.tui-timepicker-selectbox+.tui-timepicker-selectbox {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.tui-timepicker-btn-area .tui-timepicker-spinbox-input {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
line-height: 46px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.tui-timepicker-btn {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
background-color: transparent;
|
||||
border: 1px solid #ddd;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tui-timepicker-btn:hover, .tui-timepicker-btn:focus, .tui-timepicker-btn:active {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
.tui-timepicker-btn-up {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.tui-timepicker-btn-down {
|
||||
bottom: 0
|
||||
}
|
||||
|
||||
.tui-timepicker-btn .tui-ico-t-btn {
|
||||
width: 13px;
|
||||
height: 7px;
|
||||
}
|
||||
|
||||
.tui-timepicker-btn-up .tui-ico-t-btn {
|
||||
background-position: 0 -12px;
|
||||
}
|
||||
|
||||
.tui-timepicker-btn-down .tui-ico-t-btn {
|
||||
background-position: 0 -21px;
|
||||
}
|
||||
|
||||
.tui-timepicker-colon {
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
.tui-timepicker-body .tui-timepicker-colon, .tui-timepicker-footer .tui-timepicker-colon {
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
.tui-ico-colon {
|
||||
width: 2px;
|
||||
height: 7px;
|
||||
background-position: -17px -28px;
|
||||
}
|
||||
|
||||
.tui-timepicker-select {
|
||||
width: 52px;
|
||||
height: 28px;
|
||||
padding: 5px 0 5px 9px;
|
||||
font-size: 12px;
|
||||
border: 1px solid #ddd;
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAECAYAAACHtL/sAAAAGXRFWH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wdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PpZ5HPgAAAAxSURBVHjaYjQ2Nv7PgBswgogzZ87gVMAEU4RLMyHABKUFyNGMbMBHJEOI1gwCAAEGAPSlBRrNcMApAAAAAElFTkSuQmCC) no-repeat;
|
||||
background-position: 100% 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tui-timepicker-check-lst {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.tui-timepicker-check {
|
||||
margin-top: 11px;
|
||||
}
|
||||
|
||||
.tui-timepicker-check:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.tui-timepicker-checkbox {
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
.tui-timepicker-radio {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.tui-timepicker-radio input {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
.tui-timepicker-radio-label {
|
||||
display: inline-block;
|
||||
padding-left: 20px;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
vertical-align: top;
|
||||
color: #777;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.tui-timepicker-input-radio {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
background-position: -31px 0;
|
||||
}
|
||||
|
||||
.tui-timepicker-radio .tui-timepicker-meridiem-checked+.tui-timepicker-radio-label .tui-timepicker-input-radio {
|
||||
background-position: -31px -18px;
|
||||
}
|
||||
|
||||
.tui-timepicker-radio input:disabled+.tui-timepicker-radio-label .tui-timepicker-input-radio {
|
||||
background-position: -31px -36px;
|
||||
}
|
||||
|
||||
.tui-ico-time {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-position: 0 -30px
|
||||
}
|
||||
|
||||
.tui-timepicker-area {
|
||||
position: relative
|
||||
}
|
||||
|
||||
.tui-time-input {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 120px;
|
||||
height: 28px;
|
||||
border: 1px solid #ddd
|
||||
}
|
||||
|
||||
.tui-time-input input {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0 27px 0 10px;
|
||||
font-size: 12px;
|
||||
border: 0;
|
||||
color: #333;
|
||||
box-sizing: border-box
|
||||
}
|
||||
|
||||
.tui-time-input .tui-ico-time {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 8px;
|
||||
margin: -6px 0 0 0
|
||||
}
|
||||
|
||||
.tui-time-input.tui-has-focus {
|
||||
border-color: #aaa
|
||||
}
|
||||
|
||||
.tui-time-input .tui-ico-time {
|
||||
background-position: 0 -30px
|
||||
}
|
||||
|
||||
.tui-time-input.tui-has-focus .tui-ico-time {
|
||||
background-position: 0 -44px
|
||||
}
|
||||
|
||||
.tui-has-left.tui-timepicker-body, .tui-has-left .tui-timepicker-row {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tui-has-left .tui-timepicker-row:after {
|
||||
display: block;
|
||||
clear: both;
|
||||
content: '';
|
||||
}
|
||||
|
||||
.tui-has-left .tui-is-add-picker {
|
||||
float: left;
|
||||
padding: 0 5px 0 0;
|
||||
}
|
||||
|
||||
.tui-has-left .tui-timepicker-checkbox {
|
||||
float: left;
|
||||
margin-top: 23px;
|
||||
padding: 0 16px 0 0;
|
||||
}
|
||||
|
||||
.tui-hidden {
|
||||
display: none;
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
@charset "utf-8";
|
||||
/* *********************************************
|
||||
* tui-grid Custom 스타일 설정
|
||||
* @최초작성일 2020.06.10.
|
||||
* @최초작성자 박민규
|
||||
* @수정내역
|
||||
*
|
||||
********************************************* */
|
||||
|
||||
/* selected row */
|
||||
table.tui-grid-table tr.tui-grid-cell-current-row > td{
|
||||
background-color: rgba(199, 235, 235, 1);
|
||||
}
|
||||
|
||||
|
||||
/* font size */
|
||||
table.tui-grid-table th{
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
border-color: #fff;
|
||||
}
|
||||
table.tui-grid-table td div{
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
|
||||
/* header color */
|
||||
table.tui-grid-table th.tui-grid-cell-header, table.tui-grid-table th.tui-grid-cell-row-header{
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
|
||||
/* grid cell */
|
||||
/* table.tui-grid-table td.tui-grid-cell div.tui-grid-cell-content{ */
|
||||
/* overflow: auto; */
|
||||
/* } */
|
||||
table.tui-grid-table td.tui-grid-cell-editable > div.tui-grid-cell-content{
|
||||
/* border: 1px outset; */
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
|
||||
/* 2020.09.16 정지현*/
|
||||
/* summary영역 수정 */
|
||||
.tui-grid-summary-area .tui-grid-cell {
|
||||
text-align: right;
|
||||
font-size: 11px;
|
||||
padding-right: 5px;
|
||||
background-color: rgba(238, 238, 238, 1);
|
||||
border: 1px solid white;
|
||||
}
|
||||
|
||||
.tui-grid-table tr {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
@ -1,704 +0,0 @@
|
||||
|
||||
/**
|
||||
* tui Grid 도구
|
||||
* -참조사이트
|
||||
* ->듀토리얼: https://github.com/nhn/tui.grid/tree/master/packages/toast-ui.grid/docs/ko
|
||||
* ->예제: http://nhn.github.io/tui.grid/latest/tutorial-example01-basic
|
||||
* @author 박민규
|
||||
* @date 2020.05.25.
|
||||
*/
|
||||
var XitTuiGridConfig = function(){
|
||||
var _instance;
|
||||
|
||||
var _gridId = 'grid'; //[필수]Grid를 출력할 Element Id
|
||||
var _data = {}; //[선택]DataSource 정보(readData|createData|updateData|modifyData|deleteData 등)
|
||||
var _header = {}; //[선택]헤더정보(헤더 명칭 및 매핑 field)
|
||||
var _columns = []; //[필수]컬럼정보(헤더 명칭 및 매핑 field)
|
||||
var _rowHeaders; //[선택]ROW 헤더 타입(rowNum: 순번, checkbox: 체크박스)
|
||||
var _bodyHeight; //[선택]Grid 높이 (number(단위: px)|'auto'|'fitToParent')
|
||||
var _minBodyHeight; //[선택]Grid 최소 높이 (단위: px)
|
||||
var _rowHeight = 25; //[선택]Grid row 높이 (number(단위: px)|'auto' )
|
||||
var _minRowHeight = 25; //[선택]Grid row 최소 높이 (단위: px)
|
||||
var _pageOptions = { perPage: 10 }; //[선택]한 페이지에 출력할 건수
|
||||
var _columnOptions = { //[선택]고정 컬럼
|
||||
frozenCount: 1 //고정컬럼 갯수
|
||||
, frozenBorderWidth: 2 //고정컬럼 보더(border) 두께
|
||||
, minWidth: 100 //최소 사이즈
|
||||
}
|
||||
var _summary; //[선택]하단합계
|
||||
var _treeColumnOptions = {}; //[선택]tree 구조 grid
|
||||
|
||||
|
||||
|
||||
return {
|
||||
/** gridId 값을 설정 한다. */
|
||||
setOptGridId : function(val){
|
||||
this._gridId = val;
|
||||
},
|
||||
/** gridId 값을 반환 한다. */
|
||||
getOptGridId : function(){
|
||||
return this._gridId;
|
||||
},
|
||||
/** data 값을 설정 한다. */
|
||||
setOptDataSource : function(val){
|
||||
this._data = val;
|
||||
},
|
||||
/** data 값을 반환 한다. */
|
||||
getOptDataSource : function(){
|
||||
return this._data;
|
||||
},
|
||||
/** gridHeight 값을 설정 한다. */
|
||||
setOptGridHeight : function(val){
|
||||
this._bodyHeight = val;
|
||||
},
|
||||
/** gridHeight 값을 반환 한다. */
|
||||
getOptGridHeight : function(){
|
||||
return this._bodyHeight;
|
||||
},
|
||||
/** minGridHeight 값을 설정 한다. */
|
||||
setOptMinGridHeight : function(val){
|
||||
this._minBodyHeight = val;
|
||||
},
|
||||
/** minGridHeight 값을 반환 한다. */
|
||||
getOptMinGridHeight : function(){
|
||||
return this._minBodyHeight;
|
||||
},
|
||||
/** rowHeight 값을 설정 한다. */
|
||||
setOptRowHeight : function(val){
|
||||
this._rowHeight = val;
|
||||
},
|
||||
/** rowHeight 값을 반환 한다. */
|
||||
getOptRowHeight : function(){
|
||||
return this._rowHeight;
|
||||
},
|
||||
/** minRowHeight 값을 설정 한다. */
|
||||
setOptMinRowHeight : function(val){
|
||||
this._minRowHeight = val;
|
||||
},
|
||||
/** minRowHeight 값을 반환 한다. */
|
||||
getOptMinRowHeight : function(){
|
||||
return this._minRowHeight;
|
||||
},
|
||||
/** header 값을 설정 한다. */
|
||||
setOptHeader : function(val){
|
||||
this._header = val;
|
||||
},
|
||||
/** header 값을 반환 한다. */
|
||||
getOptHeader : function(){
|
||||
return this._header;
|
||||
},
|
||||
/** columns 값을 설정 한다. */
|
||||
setOptColumns : function(val){
|
||||
this._columns = val;
|
||||
},
|
||||
/** columns 값을 반환 한다. */
|
||||
getOptColumns : function(){
|
||||
return this._columns;
|
||||
},
|
||||
/** rowHeaderType 값을 설정 한다. */
|
||||
setOptRowHeaderType : function(val){
|
||||
this._rowHeaders = val;
|
||||
},
|
||||
/** rowHeaderType 값을 반환 한다. */
|
||||
getOptRowHeaderType : function(){
|
||||
return this._rowHeaders;
|
||||
},
|
||||
/** pageOptions 값을 설정 한다. */
|
||||
setOptPageOptions : function(val){
|
||||
this._pageOptions = val;
|
||||
},
|
||||
/** pageOptions 값을 반환 한다. */
|
||||
getOptPageOptions : function(){
|
||||
return this._pageOptions;
|
||||
},
|
||||
/** columnOptions 값을 설정 한다. */
|
||||
setOptColumnOptions : function(val){
|
||||
this._columnOptions = val;
|
||||
},
|
||||
/** columnOptions 값을 반환 한다. */
|
||||
getOptColumnOptions : function(){
|
||||
if(this._columnOptions==null)
|
||||
this._columnOptions = {};
|
||||
//컬럼 사이즈 조정 Default 설정
|
||||
if(this._columnOptions['resizable']==undefined||this._columnOptions['resizable']==null){ //컬럼 사이즈 조정(resizeable) 설정 값이 없으면..
|
||||
this._columnOptions['resizable'] = true; //조정 가능(true) 으로 설정
|
||||
}
|
||||
return this._columnOptions;
|
||||
},
|
||||
/** summary 값을 설정 한다. */
|
||||
setOptSummary: function(val){
|
||||
this._summary = val;
|
||||
},
|
||||
/** summary 값을 반환 한다. */
|
||||
getOptSummary: function(){
|
||||
return this._summary;
|
||||
},
|
||||
/** treeColumnOptions 값을 설정 한다. */
|
||||
setOptTreeColumnOptions: function(val){
|
||||
this._treeColumnOptions = val;
|
||||
},
|
||||
/** treeColumnOptions 값을 반환 한다. */
|
||||
getOptTreeColumnOptions: function(){
|
||||
return this._treeColumnOptions;
|
||||
},
|
||||
/** instance 객체를 설정 한다. */
|
||||
setInstance : function(val){
|
||||
this._instance = val;
|
||||
},
|
||||
/** instance 객체를 반환 한다. */
|
||||
getInstance : function(){
|
||||
return this._instance;
|
||||
},
|
||||
/** tui Grid Instance */
|
||||
instance : function(tuiGrid){
|
||||
//Option Set
|
||||
var option = new Object();
|
||||
option.scrollX = true;
|
||||
option.scrollY = true;
|
||||
option.el = fnIsEmpty(this.getOptGridId())?document.getElementById(_gridId):document.getElementById(this.getOptGridId());
|
||||
if(!fnIsEmpty(this.getOptDataSource())) option.data = this.getOptDataSource();
|
||||
if(!fnIsEmpty(this.getOptHeader())) option.header = this.getOptHeader();
|
||||
if(!fnIsEmpty(this.getOptColumns())) option.columns = this.getOptColumns();
|
||||
if(!fnIsEmpty(this.getOptRowHeaderType())) option.rowHeaders = [this.getOptRowHeaderType()];
|
||||
if(!fnIsEmpty(this.getOptGridHeight())) option.bodyHeight = Number(this.getOptGridHeight());
|
||||
if(!fnIsEmpty(this.getOptMinGridHeight())) option.minBodyHeight = Number(this.getOptMinGridHeight());
|
||||
option.rowHeight = fnIsEmpty(this.getOptRowHeight()) ?_rowHeight:Number(this.getOptRowHeight());
|
||||
option.minRowHeight = fnIsEmpty(this.getOptMinRowHeight())?_minRowHeight:Number(this.getOptMinRowHeight());
|
||||
if(!fnIsEmpty(this.getOptPageOptions())) option.pageOptions = this.getOptPageOptions();
|
||||
if(!fnIsEmpty(this.getOptColumnOptions())) option.columnOptions = this.getOptColumnOptions();
|
||||
if(!fnIsEmpty(this.getOptSummary())) option.summary = this.getOptSummary();
|
||||
if(!fnIsEmpty(this.getOptTreeColumnOptions())) option.treeColumnOptions = this.getOptTreeColumnOptions();
|
||||
|
||||
|
||||
//2020.11.06 박민규 - 요청에 대한 Response 및 Exception 처리를 위한 "AJAX" 헤더 추가
|
||||
if(!fnIsEmpty(option.data)){
|
||||
var headers = { 'AJAX': true };
|
||||
option.data['headers'] = headers;
|
||||
}
|
||||
|
||||
//Grid Instance
|
||||
var instance = new tuiGrid(option);
|
||||
|
||||
//instance Grid Set
|
||||
this.setInstance(instance);
|
||||
|
||||
//2020.11.06 박민규 - Api 호출결과 메시지 출력 이벤트 리스너 추가.
|
||||
//Api Call Result EventListener Set
|
||||
// 결과가 false인 경우 발생한 경우
|
||||
instance.on('successResponse', function(ev){
|
||||
var msg = JSON.parse(ev.xhr.response).message; //tui-grid 기본 format 메시지
|
||||
console.log(msg);
|
||||
});
|
||||
// 결과가 false인 경우 발생한 경우
|
||||
instance.on('failResponse', function(ev){
|
||||
try {
|
||||
var msg = JSON.parse(ev.xhr.response).message; //tui-grid 기본 format 메시지
|
||||
if(fnIsEmpty(msg))
|
||||
msg = JSON.parse(ev.xhr.response).resp.resultMsg;
|
||||
if(!fnIsEmpty(msg))
|
||||
alert(msg);
|
||||
} catch (e) {
|
||||
}
|
||||
});
|
||||
// 오류가 발생한 경우
|
||||
instance.on('errorResponse', function(ev){
|
||||
try {
|
||||
var msg = JSON.parse(ev.xhr.response).message; //tui-grid 기본 format 메시지
|
||||
if(fnIsEmpty(msg))
|
||||
msg = JSON.parse(ev.xhr.response).resp.resultMsg;
|
||||
if(!fnIsEmpty(msg))
|
||||
alert(msg);
|
||||
} catch (e) {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
/* 공백(empty) 여부 확인 */
|
||||
function fnIsEmpty(val){
|
||||
if(val==undefined||val==null||val==''||val==[]||val=={})
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
return instance;
|
||||
},
|
||||
/** column 순서 변경 */
|
||||
fnColumnMove : function(curIdx, moveIdx){
|
||||
/*
|
||||
* 유효성 확인
|
||||
*/
|
||||
if(curIdx == moveIdx)
|
||||
return false;
|
||||
|
||||
/*
|
||||
* 순서 변경
|
||||
*/
|
||||
var _columns = this.getOptColumns();
|
||||
var columnsRecordered = [];
|
||||
var isMoveRight = Number(curIdx) < Number(moveIdx);
|
||||
var isMoveLeft = Number(curIdx) > Number(moveIdx);
|
||||
for(var i=0; i<_columns.length; i++){
|
||||
if(isMoveLeft){
|
||||
if(i == moveIdx)
|
||||
columnsRecordered.push(_columns[curIdx]);
|
||||
}
|
||||
|
||||
if(i != curIdx)
|
||||
columnsRecordered.push(_columns[i]);
|
||||
|
||||
if(isMoveRight){
|
||||
if(i == moveIdx)
|
||||
columnsRecordered.push(_columns[curIdx]);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* 결과 반영
|
||||
*/
|
||||
this.getInstance().setColumns(columnsRecordered);
|
||||
this.setOptColumns(columnsRecordered);
|
||||
},
|
||||
/** Excel Export */
|
||||
exportExcel : function(fileName){
|
||||
/* 필수값 설정 */
|
||||
var _gridId = this.getOptGridId();
|
||||
var _instance = this.getInstance();
|
||||
var _frstColTyp = this.getOptRowHeaderType();
|
||||
var _arrHeader = [];
|
||||
var _arrName = [];
|
||||
var _mCustomRenderer = {};
|
||||
/* =================
|
||||
* 2021.04.30. 박민규
|
||||
* 컬럼 취득 방법 변경
|
||||
* AsIs: GridConfig 에 설정한 Columns 정보
|
||||
* ToBe: instance 에 설정된 Columns 정보
|
||||
================= */
|
||||
//2021.04.30. 주석처리
|
||||
// this.getOptColumns().forEach(function(opt, idx){
|
||||
_instance.getColumns().forEach(function(opt, idx){
|
||||
_arrHeader.push(opt.header);
|
||||
_arrName.push(opt.name);
|
||||
//2021.04.30. 주석처리
|
||||
// if(!fnIsEmpty(opt.renderer)){
|
||||
if(!(fnIsEmpty(opt.renderer)||'DefaultRenderer'==opt.renderer.type.name||fnIsEmpty(opt.renderer.type.name))){ //브라우저별 opt.renderer.type.name 값의 차이 => Chrome: "DefaultRenderer", IE: undefined
|
||||
_mCustomRenderer[opt.name] = opt.renderer;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
/* grid head Setting */
|
||||
var elementTHEAD = document.createElement('table');
|
||||
var $sltHeader = $('#'+_gridId+' .tui-grid-header-area > table.tui-grid-table').clone();
|
||||
//head 처리(table 고정셀 이용 시)
|
||||
if($sltHeader.length>1){
|
||||
//좌측 table의 head Selector
|
||||
var firstTableTh = $sltHeader.find('tr:last-child th');
|
||||
//우측 table row의 헤드(th)를 좌측 table row에 병합
|
||||
for(var i=1; i<$sltHeader.length; i++){
|
||||
$sltHeader.eq(i).find('tr').each(function(idx, row){
|
||||
var firstTableRow = $sltHeader.eq(0).find('tr:eq('+idx+')');
|
||||
if(firstTableRow.length == 0){
|
||||
//<tr> 신규생성
|
||||
var tr = document.createElement('tr');
|
||||
tr.innerHTML = row.innerHTML;
|
||||
$sltHeader.eq(0).append(tr);
|
||||
//firstTable <th>의 rowspan 변경
|
||||
for(var j=0; j<firstTableTh.length; j++){
|
||||
firstTableTh.eq(j).attr('rowspan', Number(firstTableTh.eq(j).attr('rowspan'))+1);
|
||||
}
|
||||
}
|
||||
else{
|
||||
firstTableRow.append(row.innerHTML);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
elementTHEAD.innerHTML = $sltHeader.eq(0).find('tbody').html();
|
||||
|
||||
|
||||
|
||||
/* grid body Setting */
|
||||
var elementTBODY = document.createElement('tbody');
|
||||
_instance.getData().forEach(function(row, idxRow){
|
||||
var elementTR = document.createElement('tr');
|
||||
|
||||
//타입별 <td> element 생성( 첫번째 컬럼타입 설정 시 )
|
||||
if(!fnIsEmpty(_frstColTyp))
|
||||
elementTR.appendChild(fnCreateTdByFrstCol(_frstColTyp, row));
|
||||
//<td> element 생성
|
||||
_arrName.forEach(function(columnName, idxColumn){
|
||||
var columnVal = '';
|
||||
var customRenderer = _mCustomRenderer[columnName];
|
||||
if(fnIsEmpty(customRenderer)){
|
||||
//column Value 설정
|
||||
columnVal = fnNvl(row[columnName]);
|
||||
}else{
|
||||
//prop 객체 생성
|
||||
var columnInfo = {};
|
||||
columnInfo['renderer'] = customRenderer;
|
||||
columnInfo['name'] = columnName;
|
||||
var props = {};
|
||||
props['columnInfo'] = columnInfo;
|
||||
props['rowKey'] = row.rowKey;
|
||||
props['grid'] = _instance;
|
||||
|
||||
//렌더러 호출
|
||||
customRenderer.type(props);
|
||||
|
||||
//column Value 설정
|
||||
columnVal = fnNvl(row[columnName]);
|
||||
if(row.rowKey<15){
|
||||
// console.log('[export]rowKey->'+row.rowKey+'/ column->'+columnName+' / value->'+row[columnName]);
|
||||
// console.log(_instance.getRow(row.rowKey));
|
||||
}
|
||||
}
|
||||
|
||||
var elementTD = document.createElement('td');
|
||||
elementTD.innerHTML = columnVal;
|
||||
elementTR.appendChild(elementTD);
|
||||
});
|
||||
elementTBODY.appendChild(elementTR);
|
||||
});
|
||||
|
||||
|
||||
|
||||
/* grid table Setting */
|
||||
var elementTABLE = document.createElement('table');
|
||||
elementTABLE.appendChild(elementTHEAD);
|
||||
elementTABLE.appendChild(elementTBODY);
|
||||
|
||||
|
||||
|
||||
/* export Excel */
|
||||
var fileUtil = new XitFileExportUtil(fileName, 'table', elementTABLE);
|
||||
fileUtil.exportExcel();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* member Function Declare */
|
||||
//isEmpty Function
|
||||
function fnIsEmpty(val){
|
||||
if(val==undefined||val==null||val==''||val=={}||val==[])
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
//nvl Function
|
||||
function fnNvl(val, replaceVal){
|
||||
replaceVal = fnIsEmpty(replaceVal)?'':replaceVal;
|
||||
val = fnIsEmpty(val)?replaceVal:val;
|
||||
return val;
|
||||
}
|
||||
//<td> element 생성 Function
|
||||
function fnCreateTdByFrstCol(colType, row){
|
||||
var returnVal = '';
|
||||
|
||||
/* column 타입별 value 설정 */
|
||||
switch (colType) {
|
||||
case 'rowNum':
|
||||
returnVal = row._attributes.rowNum;
|
||||
break;
|
||||
case 'checkbox':
|
||||
if(row._attributes.checked)
|
||||
returnVal = '☑';
|
||||
else
|
||||
returnVal = '□';
|
||||
break;
|
||||
default:
|
||||
return returnVal;
|
||||
break;
|
||||
}
|
||||
|
||||
/* <td> element 생성 */
|
||||
var elementFrstTD = document.createElement('td');
|
||||
elementFrstTD.innerHTML = returnVal;
|
||||
|
||||
|
||||
return elementFrstTD;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Button 렌더러
|
||||
* -설명: Grid의 cell에 Button을 생성 한다.
|
||||
* 버튼명칭에 format 사용이 가능하며 사용방법은 아래와 같다.
|
||||
* ex) value: 'A is {0}. B is {1}. {0}!={1}',
|
||||
* listColumns: ['컬럼1', '컬럼2']
|
||||
* @param value 버튼에 출력 할 명칭
|
||||
* @param listColumns format에 매칭할 컬럼 목록
|
||||
* @param callbackFnc 버튼 클릭 시 호출 할 함수명
|
||||
* @author 박민규
|
||||
* @date 2020.05.28.
|
||||
*/
|
||||
var XitButtonRenderer = function(props){
|
||||
// console.log('XitButtonRenderer Called!!-> '+props.columnInfo.name);
|
||||
//options get
|
||||
var opt = props.columnInfo.renderer.options;
|
||||
var value = opt.value;
|
||||
var callbackFnc = opt.callbackFnc;
|
||||
var args = opt.listColumns;
|
||||
|
||||
//"value" Formatting
|
||||
if(args != undefined){
|
||||
var row = props.grid.getRow(props.rowKey);
|
||||
for(var i=0; i<args.length; i++){
|
||||
var regEx = new RegExp('\\{'+i+'\\}', 'gi');
|
||||
value = value.replace(regEx, row[args[i]]);
|
||||
}
|
||||
}
|
||||
|
||||
//Element Setting
|
||||
var el = document.createElement('input');
|
||||
el.type = 'button';
|
||||
el.value = value;
|
||||
|
||||
//EventListener Setting
|
||||
el.addEventListener('click', function(){
|
||||
var callback = callbackFnc+'(props)';
|
||||
eval(callback);
|
||||
});
|
||||
|
||||
//Element render
|
||||
this.el = el;
|
||||
// this.render(props);
|
||||
if(props.rowKey<15){
|
||||
// console.log('[Renderer]rowKey->'+props.rowKey+' column->'+props.columnInfo.name+' / el.value->'+el.value);
|
||||
}
|
||||
//DataSet Injection ( Dataset에 추가해야 "복사(ctrl+c)" 기능 사용 가능 )
|
||||
props.grid.setValue(props.rowKey, props.columnInfo.name, el.value, false);
|
||||
}
|
||||
XitButtonRenderer.prototype.getElement = function(){
|
||||
return this.el;
|
||||
}
|
||||
XitButtonRenderer.prototype.render = function(props){
|
||||
this.el.value = props.value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* column 병합 렌더러
|
||||
* -설명: 다수의 Column을 하나의 Column으로 병합하여 cell에 출력 한다.
|
||||
* 필요 시 format 사용이 가능하며 사용방법은 아래와 같다. (※포맷 사용 시 "구분자(separator)"는 적용되지 않는다)
|
||||
* [단순 컬럼 병합]
|
||||
* ex) listColumns: ['컬럼1', '컬럼2'],
|
||||
* separator: '/'
|
||||
* [포맷사용 컬럼 병합]
|
||||
* ex) listColumns: ['컬럼1', '컬럼2'],
|
||||
* format: 'A is {0}. B is {1}. {0}!={1}'
|
||||
* @param listColumns 병합할 컬럼 name 목록
|
||||
* @param separator 컬럼 연결 구분자(default: 공백(' '))
|
||||
* @param format 출력 포맷
|
||||
* @author 박민규
|
||||
* @date 2020.05.28.
|
||||
*/
|
||||
var XitColumnMergeRenderer = function(props){
|
||||
// console.log('XitColumnMergeRenderer Called!!-> '+props.columnInfo.name);
|
||||
//options get
|
||||
var opt = props.columnInfo.renderer.options;
|
||||
var args = opt.listColumns;
|
||||
var separator = opt.separator;
|
||||
if(fnIsEmpty(separator))
|
||||
separator = ' ';
|
||||
var value = opt.format;
|
||||
|
||||
//Columns merge
|
||||
if(fnIsEmpty(value)){
|
||||
var arrStr = [];
|
||||
var row = props.grid.getRow(props.rowKey);
|
||||
args.forEach(function(column){
|
||||
arrStr.push(row[column]);
|
||||
});
|
||||
value = arrStr.join(separator);
|
||||
}else{
|
||||
var row = props.grid.getRow(props.rowKey);
|
||||
for(var i=0; i<args.length; i++){
|
||||
var regEx = new RegExp('\\{'+i+'\\}', 'gi');
|
||||
value = value.replace(regEx, fnNvl(row[args[i]]));
|
||||
}
|
||||
}
|
||||
function fnNvl(val){
|
||||
if(val==undefined||val==null)
|
||||
return '';
|
||||
return val;
|
||||
}
|
||||
function fnIsEmpty(val){
|
||||
if(val==undefined||val==null||val==''||val==[]||val=={})
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
//Element Setting
|
||||
var el = document.createElement('div');
|
||||
el.setAttribute('class', 'tui-grid-cell-content');
|
||||
el.innerHTML = value;
|
||||
|
||||
//Element render
|
||||
this.el = el;
|
||||
// this.render(props);
|
||||
if(props.rowKey<15){
|
||||
// console.log('[Renderer]rowKey->'+props.rowKey+' column->'+props.columnInfo.name+' / el.value->'+el.innerHTML);
|
||||
}
|
||||
|
||||
//DataSet Injection ( Dataset에 추가해야 "복사(ctrl+c)" 기능 사용 가능 )
|
||||
props.grid.setValue(props.rowKey, props.columnInfo.name, el.innerHTML, false);
|
||||
}
|
||||
XitColumnMergeRenderer.prototype.getElement = function(){
|
||||
return this.el;
|
||||
}
|
||||
XitColumnMergeRenderer.prototype.render = function(props){
|
||||
this.el.value = props.value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Button 렌더러
|
||||
* @author 최유수
|
||||
* @date 2020.07.15.
|
||||
* formatter : 셀 안에 입력될 문자열.
|
||||
,eventType : 셀에 걸 이벤트.
|
||||
,eventFunction : 이벤트에 부여될 함수.
|
||||
|
||||
element 속성
|
||||
element : 생성 엘리먼트 속성
|
||||
type : 생성 엘리먼트의 타입
|
||||
value : 들어갈 텍스트
|
||||
*/
|
||||
/**
|
||||
* 요구사항
|
||||
* 셀 속성을 부여할때
|
||||
*
|
||||
* 1.셀에 개발자가 원하는 Element를 생성 할 수 있음
|
||||
* 2.1의 속성에 개발자가 원하는 이벤트를 부여 할 수 있음
|
||||
* 3. 2의 이벤트에 개발자가 원하는 함수를 부여 할 수 있음
|
||||
* 4. 개발자가 원하는만큼 유형을 추가 할 수 있음.(유형이 여러개일수도 아닐수도 있음)
|
||||
*/
|
||||
var CustomButtonRenderer = function(props){
|
||||
//options get
|
||||
var opt = props.columnInfo.renderer.options;
|
||||
//formatter를 구성할 인자값(해당 인자값은 함수형일때 배열일 수 있음.)
|
||||
var formatter = opt.formatter;
|
||||
//이벤트로 사용할 함수
|
||||
var eventFunction = opt.eventFunction;
|
||||
//이벤트 속성
|
||||
var eventType = opt.eventType;
|
||||
//객체 유형
|
||||
var element = opt.element;
|
||||
//객체 속성
|
||||
var type = opt.type;
|
||||
|
||||
|
||||
var formattObject = formatter;
|
||||
if(typeof formatter =="function"){
|
||||
//formatter가 함수에 의해 구현이됨, Return값은 Arr<Object>, Objcect임;
|
||||
//Object는 formatter : Text 와 Element로 구성됨.
|
||||
formattObject = formatter(props);
|
||||
}else{
|
||||
//formatter가 단순 텍스트임.
|
||||
formattObject = opt;
|
||||
}
|
||||
|
||||
var ele = cellMaker(formattObject , eventFunction , eventType , element , type , props);
|
||||
this.el = ele;
|
||||
}
|
||||
CustomButtonRenderer.prototype.getElement = function(){
|
||||
return this.el;
|
||||
}
|
||||
|
||||
//셀을 만듦.
|
||||
var cellMaker = function(formattObject , eventFunction , eventType , element , type , props){
|
||||
var spanEle = document.createElement("span");
|
||||
var ele;
|
||||
|
||||
//셀에 1개 이상의 데이터가 들어가는 경우
|
||||
if(formattObject instanceof Array && formattObject.length != 0){
|
||||
formattObject.forEach(function(elementObject , index , arrays){
|
||||
elementObject["eventFunction"] = eventFunction;
|
||||
elementObject["eventType"] = eventType;
|
||||
ele = elMaker(elementObject , props);
|
||||
$(spanEle).append(ele);
|
||||
//객체가 다수이면 띄어쓰기 함
|
||||
if(index < formattObject.length -1){
|
||||
$(spanEle).append(document.createTextNode('\u00a0 // \u00a0'));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//셀에 데이터가 1개이지만 함수로 Obj를 가져와서 만듦
|
||||
if(formattObject instanceof Object){
|
||||
formattObject["eventFunction"] = eventFunction;
|
||||
formattObject["eventType"] = eventType;
|
||||
ele = elMaker(formattObject , props);
|
||||
spanEle.appendChild(ele);
|
||||
}
|
||||
|
||||
return spanEle;
|
||||
}
|
||||
|
||||
var elMaker = function(elementObject, props){
|
||||
var text = elementObject.formatter
|
||||
var eventType = elementObject.eventType
|
||||
var element = elementObject.element
|
||||
var eventFunction = elementObject.eventFunction
|
||||
var type = elementObject.type
|
||||
|
||||
var ele;
|
||||
if(element == "text"){
|
||||
ele = document.createElement("p");
|
||||
ele.style.whiteSpace = 'nowrap';
|
||||
ele.style.display = 'inline-block';
|
||||
ele.style.fontSize = '11px';
|
||||
ele.style.fontFamily = 'Nanum Barun Gothic';
|
||||
ele.appendChild(document.createTextNode(text));
|
||||
}else{
|
||||
ele = document.createElement(element);
|
||||
ele.type = type;
|
||||
ele.value = text;
|
||||
}
|
||||
//이벤트가 함수이면 이벤트 부여함.
|
||||
if(typeof eventFunction =="function"){
|
||||
ele.addEventListener(eventType, function(event){eventFunction(props, event)});
|
||||
}
|
||||
|
||||
return ele;
|
||||
}
|
||||
|
||||
var RowNumberRenderer = function(props){
|
||||
var el = document.createElement('span');
|
||||
el.innerHTML = props.rowKey + 1
|
||||
this.el = el;
|
||||
|
||||
getElement = function(){
|
||||
return this.el;
|
||||
}
|
||||
|
||||
render = function(props){
|
||||
this.el.innerHTML = props.rowKey + 1
|
||||
}
|
||||
}
|
||||
|
||||
RowNumberRenderer.prototype.getElement = function(){
|
||||
return this.el;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|