Run pre-commit on legacy code
This commit is contained in:
parent
fea11ac752
commit
83b7e4162e
323 changed files with 6126 additions and 6462 deletions
|
@ -103,4 +103,4 @@ if (!Object.keys) {
|
|||
return result;
|
||||
};
|
||||
}());
|
||||
}
|
||||
}
|
||||
|
|
2
legacy/public/js/libs/dropzone.min.js
vendored
2
legacy/public/js/libs/dropzone.min.js
vendored
File diff suppressed because one or more lines are too long
2
legacy/public/js/libs/handlebars.min.js
vendored
2
legacy/public/js/libs/handlebars.min.js
vendored
File diff suppressed because one or more lines are too long
2
legacy/public/js/libs/jquery-1.8.3.min.js
vendored
2
legacy/public/js/libs/jquery-1.8.3.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -353,4 +353,4 @@ a._keyEvent=!1;return K},_generateMonthYearHeader:function(a,b,c,d,e,f,g,h){var
|
|||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/(function(a,b){a.effects.transfer=function(b){return this.queue(function(){var c=a(this),d=a(b.options.to),e=d.offset(),f={top:e.top,left:e.left,height:d.innerHeight(),width:d.innerWidth()},g=c.offset(),h=a('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(b.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:"absolute"}).animate(f,b.duration,b.options.easing,function(){h.remove(),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery);
|
||||
*/(function(a,b){a.effects.transfer=function(b){return this.queue(function(){var c=a(this),d=a(b.options.to),e=d.offset(),f={top:e.top,left:e.left,height:d.innerHeight(),width:d.innerWidth()},g=c.offset(),h=a('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(b.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:"absolute"}).animate(f,b.duration,b.options.easing,function(){h.remove(),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}})(jQuery);
|
||||
|
|
File diff suppressed because one or more lines are too long
2
legacy/public/js/libs/pdfmake.min.js
vendored
2
legacy/public/js/libs/pdfmake.min.js
vendored
File diff suppressed because one or more lines are too long
2
legacy/public/js/libs/timezone.min.js
vendored
2
legacy/public/js/libs/timezone.min.js
vendored
|
@ -1 +1 @@
|
|||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.dayjs_plugin_timezone=e()}(this,function(){"use strict";var m={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(t,e,a){function f(t,i,e){return void 0===e&&(e={}),t=new Date(t),function(t){void 0===t&&(t={});var e=t.timeZoneName||"short",n=i+"|"+e,t=o[n];return t||(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:e}),o[n]=t),t}(e).formatToParts(t)}function r(t,e){for(var n=f(t,e),i=[],o=0;o<n.length;o+=1){var r=n[o],u=r.type,r=r.value,u=m[u];0<=u&&(i[u]=parseInt(r,10))}return e=24===(e=i[3])?0:e,e=i[0]+"-"+i[1]+"-"+i[2]+" "+e+":"+i[4]+":"+i[5]+":000",t=+t,(a.utc(e).valueOf()-(t-=t%1e3))/6e4}var u,s=a().utcOffset(),e=e.prototype;e.tz=function(t,e){void 0===t&&(t=u);var n=this.utcOffset(),i=this.toDate().toLocaleString("en-US",{timeZone:t}),o=Math.round((this.toDate()-new Date(i))/1e3/60),o=a(i).$set("millisecond",this.$ms).utcOffset(s-o,!0);return e&&(e=o.utcOffset(),o=o.add(n-e,"minute")),o.$x.$timezone=t,o},e.offsetName=function(t){var e=this.$x.$timezone||a.tz.guess(),t=f(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return t&&t.value};var i=e.startOf;e.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return i.call(this,t,e);var n=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return i.call(n,t,e).tz(this.$x.$timezone,!0)},a.tz=function(t,e,n){var i=n&&e,n=n||e||u,e=r(+a(),n);if("string"!=typeof t)return a(t).tz(n);i=function(t,e,n){var i=t-60*e*1e3,o=r(i,n);if(e===o)return[i,e];n=r(i-=60*(o-e)*1e3,n);return o===n?[i,o]:[t-60*Math.min(o,n)*1e3,Math.max(o,n)]}(a.utc(t,i).valueOf(),e,n),e=i[0],i=i[1],i=a(e).utcOffset(i);return i.$x.$timezone=n,i},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(t){u=t}}});
|
||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.dayjs_plugin_timezone=e()}(this,function(){"use strict";var m={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(t,e,a){function f(t,i,e){return void 0===e&&(e={}),t=new Date(t),function(t){void 0===t&&(t={});var e=t.timeZoneName||"short",n=i+"|"+e,t=o[n];return t||(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:e}),o[n]=t),t}(e).formatToParts(t)}function r(t,e){for(var n=f(t,e),i=[],o=0;o<n.length;o+=1){var r=n[o],u=r.type,r=r.value,u=m[u];0<=u&&(i[u]=parseInt(r,10))}return e=24===(e=i[3])?0:e,e=i[0]+"-"+i[1]+"-"+i[2]+" "+e+":"+i[4]+":"+i[5]+":000",t=+t,(a.utc(e).valueOf()-(t-=t%1e3))/6e4}var u,s=a().utcOffset(),e=e.prototype;e.tz=function(t,e){void 0===t&&(t=u);var n=this.utcOffset(),i=this.toDate().toLocaleString("en-US",{timeZone:t}),o=Math.round((this.toDate()-new Date(i))/1e3/60),o=a(i).$set("millisecond",this.$ms).utcOffset(s-o,!0);return e&&(e=o.utcOffset(),o=o.add(n-e,"minute")),o.$x.$timezone=t,o},e.offsetName=function(t){var e=this.$x.$timezone||a.tz.guess(),t=f(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return t&&t.value};var i=e.startOf;e.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return i.call(this,t,e);var n=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return i.call(n,t,e).tz(this.$x.$timezone,!0)},a.tz=function(t,e,n){var i=n&&e,n=n||e||u,e=r(+a(),n);if("string"!=typeof t)return a(t).tz(n);i=function(t,e,n){var i=t-60*e*1e3,o=r(i,n);if(e===o)return[i,e];n=r(i-=60*(o-e)*1e3,n);return o===n?[i,o]:[t-60*Math.min(o,n)*1e3,Math.max(o,n)]}(a.utc(t,i).valueOf(),e,n),e=i[0],i=i[1],i=a(e).utcOffset(i);return i.$x.$timezone=n,i},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(t){u=t}}});
|
||||
|
|
2
legacy/public/js/libs/utc.min.js
vendored
2
legacy/public/js/libs/utc.min.js
vendored
|
@ -1 +1 @@
|
|||
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):t.dayjs_plugin_utc=i()}(this,function(){"use strict";return function(t,i,f){var s=i.prototype;f.utc=function(t){return new i({date:t,utc:!0,args:arguments})},s.utc=function(t){var i=f(this.toDate(),{locale:this.$L,utc:!0});return t?i.add(this.utcOffset(),"minute"):i},s.local=function(){return f(this.toDate(),{locale:this.$L,utc:!1})};var e=s.parse;s.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),e.call(this,t)};var n=s.init;s.init=function(){var t;this.$u?(t=this.$d,this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()):n.call(this)};var u=s.utcOffset;s.utcOffset=function(t,i){var s=this.$utils().u;if(s(t))return this.$u?0:s(this.$offset)?u.call(this):this.$offset;var e=Math.abs(t)<=16?60*t:t,s=this;return i?(s.$offset=e,s.$u=0===t):0!==t?(t=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset(),(s=this.local().add(e+t,"minute")).$offset=e,s.$x.$localOffset=t):s=this.utc(),s};var o=s.format;s.format=function(t){t=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return o.call(this,t)},s.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var r=s.toDate;s.toDate=function(t){return"s"===t&&this.$offset?f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():r.call(this)};var a=s.diff;s.diff=function(t,i,s){if(t&&this.$u===t.$u)return a.call(this,t,i,s);var e=this.local(),t=f(t).local();return a.call(e,t,i,s)}}});
|
||||
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):t.dayjs_plugin_utc=i()}(this,function(){"use strict";return function(t,i,f){var s=i.prototype;f.utc=function(t){return new i({date:t,utc:!0,args:arguments})},s.utc=function(t){var i=f(this.toDate(),{locale:this.$L,utc:!0});return t?i.add(this.utcOffset(),"minute"):i},s.local=function(){return f(this.toDate(),{locale:this.$L,utc:!1})};var e=s.parse;s.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),e.call(this,t)};var n=s.init;s.init=function(){var t;this.$u?(t=this.$d,this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()):n.call(this)};var u=s.utcOffset;s.utcOffset=function(t,i){var s=this.$utils().u;if(s(t))return this.$u?0:s(this.$offset)?u.call(this):this.$offset;var e=Math.abs(t)<=16?60*t:t,s=this;return i?(s.$offset=e,s.$u=0===t):0!==t?(t=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset(),(s=this.local().add(e+t,"minute")).$offset=e,s.$x.$localOffset=t):s=this.utc(),s};var o=s.format;s.format=function(t){t=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return o.call(this,t)},s.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var r=s.toDate;s.toDate=function(t){return"s"===t&&this.$offset?f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():r.call(this)};var a=s.diff;s.diff=function(t,i,s){if(t&&this.$u===t.$u)return a.call(this,t,i,s);var e=this.local(),t=f(t).local();return a.call(e,t,i,s)}}});
|
||||
|
|
2
legacy/public/js/libs/vfs_fonts.min.js
vendored
2
legacy/public/js/libs/vfs_fonts.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue