From 6a7d7e17bb91b87feab492f36c885abc318a3a93 Mon Sep 17 00:00:00 2001 From: Sam Armstrong Date: Wed, 28 Jan 2015 17:52:28 -0600 Subject: [PATCH] added minification --- Gruntfile.js | 35 +++++++++++-------- bower.json | 4 +-- .../jquery.datetimepicker.js | 0 dist/javascripts/jquery.datetimepicker.min.js | 2 ++ .../jquery.moment.datetimepicker.js | 0 .../jquery.moment.datetimepicker.min.js | 1 + dist/jquery.datetimepicker.css.map | 11 ------ dist/{ => stylesheets}/_options.scss | 0 .../jquery.datetimepicker.css | 0 .../stylesheets/jquery.datetimepicker.css.map | 11 ++++++ .../stylesheets/jquery.datetimepicker.min.css | 1 + .../jquery.datetimepicker.scss | 0 package.json | 1 + 13 files changed, 38 insertions(+), 28 deletions(-) rename dist/{ => javascripts}/jquery.datetimepicker.js (100%) create mode 100644 dist/javascripts/jquery.datetimepicker.min.js rename dist/{ => javascripts}/jquery.moment.datetimepicker.js (100%) create mode 100644 dist/javascripts/jquery.moment.datetimepicker.min.js delete mode 100644 dist/jquery.datetimepicker.css.map rename dist/{ => stylesheets}/_options.scss (100%) rename dist/{ => stylesheets}/jquery.datetimepicker.css (100%) create mode 100644 dist/stylesheets/jquery.datetimepicker.css.map create mode 100644 dist/stylesheets/jquery.datetimepicker.min.css rename dist/{ => stylesheets}/jquery.datetimepicker.scss (100%) diff --git a/Gruntfile.js b/Gruntfile.js index abbd5a0..727bc53 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -14,17 +14,19 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-sass'); grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-contrib-requirejs'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-cssmin'); // Project configuration. grunt.initConfig({ rig: { standalone: { src: ['javascripts/jquery.datetimepicker.js'], - dest: 'dist/jquery.datetimepicker.js' + dest: 'dist/javascripts/jquery.datetimepicker.js' }, moment: { src: ['javascripts/jquery.moment.datetimepicker.js'], - dest: 'dist/jquery.moment.datetimepicker.js' + dest: 'dist/javascripts/jquery.moment.datetimepicker.js' }, mousewheel: { src: ['javascripts/import.mousewheel.js'], @@ -42,14 +44,14 @@ module.exports = function(grunt) { 'jquery':'empty:' }, optimize:'none' - } + } } }, copy:{ sass:{ files:[ - {src:'stylesheets/jquery.datetimepicker.scss',dest:'dist/jquery.datetimepicker.scss'}, - {src:'stylesheets/_options.scss',dest:'dist/_options.scss'} + {src:'stylesheets/jquery.datetimepicker.scss',dest:'dist/stylesheets/jquery.datetimepicker.scss'}, + {src:'stylesheets/_options.scss',dest:'dist/stylesheets/_options.scss'} ] } }, @@ -59,27 +61,30 @@ module.exports = function(grunt) { }, dist: { files: { - 'dist/jquery.datetimepicker.css': 'dist/jquery.datetimepicker.scss' + 'dist/stylesheets/jquery.datetimepicker.css': 'dist/stylesheets/jquery.datetimepicker.scss' } } }, uglify: { standalone: { - src: ['dist/jquery.datetimepicker.js'], - dest: 'dist/jquery.datetimepicker.min.js' + src: ['dist/javascripts/jquery.datetimepicker.js'], + dest: 'dist/javascripts/jquery.datetimepicker.min.js' }, moment: { - src: ['dist/jquery.moment.datetimepicker.js'], - dest: 'dist/jquery.moment.datetimepicker.min.js' - }, - css:{ - src: ['stylesheets/jquery.datetimepicker.scss'], - dest: 'stylesheets/jquery.moment.datetimepicker.min.css' + src: ['dist/javascripts/jquery.moment.datetimepicker.js'], + dest: 'dist/javascripts/jquery.moment.datetimepicker.min.js' + } + }, + cssmin: { + target: { + files: { + 'dist/stylesheets/jquery.datetimepicker.min.css': ['dist/stylesheets/jquery.datetimepicker.css', 'bar.css'] + } } } }); // Default task. grunt.registerTask('default', ['rig:moment','rig:mousewheel', 'requirejs','rig:standalone', 'copy', 'sass']); - grunt.registerTask('release', ['default', 'uglify', 'copy', 'compress']); + grunt.registerTask('release', ['default', 'uglify','cssmin']); }; \ No newline at end of file diff --git a/bower.json b/bower.json index 3e3a03e..4a84e8a 100644 --- a/bower.json +++ b/bower.json @@ -2,8 +2,8 @@ "name": "datetimepicker", "version": "2.4.1", "main": [ - "jquery.datetimepicker.js", - "jquery.datetimepicker.css" + "dist/javascripts/jquery.datetimepicker.js", + "dist/stylesheets/jquery.datetimepicker.css" ], "ignore": [ "**/screen", diff --git a/dist/jquery.datetimepicker.js b/dist/javascripts/jquery.datetimepicker.js similarity index 100% rename from dist/jquery.datetimepicker.js rename to dist/javascripts/jquery.datetimepicker.js diff --git a/dist/javascripts/jquery.datetimepicker.min.js b/dist/javascripts/jquery.datetimepicker.min.js new file mode 100644 index 0000000..3f1d72f --- /dev/null +++ b/dist/javascripts/jquery.datetimepicker.min.js @@ -0,0 +1,2 @@ +!function(a){"function"==typeof define&&define.amd?define("jquery.mousewheel",["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}),function(a){"function"==typeof define&&define.amd?define(["jquery","jquery.mousewheel"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function($,moment){"use strict";var defaultFormat="Y/m/d H:i",defaultFormatTime="H:i",defaultFormatDate="Y/m/d",I18N={ar:{months:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],dayOfWeek:["ن","ث","ع","خ","ج","س","ح"]},ro:{months:["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],dayOfWeek:["l","ma","mi","j","v","s","d"]},id:{months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],dayOfWeek:["Sen","Sel","Rab","Kam","Jum","Sab","Min"]},bg:{months:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],dayOfWeek:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"]},fa:{months:["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],dayOfWeek:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},ru:{months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],dayOfWeek:["Вск","Пн","Вт","Ср","Чт","Пт","Сб"]},uk:{months:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],dayOfWeek:["Ндл","Пнд","Втр","Срд","Чтв","Птн","Сбт"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeek:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},el:{months:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],dayOfWeek:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"]},de:{months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dayOfWeek:["So","Mo","Di","Mi","Do","Fr","Sa"]},nl:{months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],dayOfWeek:["zo","ma","di","wo","do","vr","za"]},tr:{months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],dayOfWeek:["Paz","Pts","Sal","Çar","Per","Cum","Cts"]},fr:{months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],dayOfWeek:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"]},es:{months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],dayOfWeek:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"]},th:{months:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],dayOfWeek:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."]},pl:{months:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],dayOfWeek:["nd","pn","wt","śr","cz","pt","sb"]},pt:{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeek:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"]},ch:{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeek:["日","一","二","三","四","五","六"]},se:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeek:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"]},kr:{months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayOfWeek:["일","월","화","수","목","금","토"]},it:{months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],dayOfWeek:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"]},da:{months:["January","Februar","Marts","April","Maj","Juni","July","August","September","Oktober","November","December"],dayOfWeek:["Søn","Man","Tir","Ons","Tor","Fre","Lør"]},no:{months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],dayOfWeek:["Søn","Man","Tir","Ons","Tor","Fre","Lør"]},ja:{months:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["日","月","火","水","木","金","土"]},vi:{months:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayOfWeek:["CN","T2","T3","T4","T5","T6","T7"]},sl:{months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],dayOfWeek:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"]},cs:{months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],dayOfWeek:["Ne","Po","Út","St","Čt","Pá","So"]},hu:{months:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],dayOfWeek:["Va","Hé","Ke","Sze","Cs","Pé","Szo"]},az:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],dayOfWeek:["B","Be","Ça","Ç","Ca","C","Ş"]},bs:{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeek:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"]},ca:{months:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],dayOfWeek:["Dg","Dl","Dt","Dc","Dj","Dv","Ds"]},"en-GB":{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeek:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},et:{months:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],dayOfWeek:["P","E","T","K","N","R","L"]},eu:{months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],dayOfWeek:["Ig.","Al.","Ar.","Az.","Og.","Or.","La."]},fi:{months:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],dayOfWeek:["Su","Ma","Ti","Ke","To","Pe","La"]},gl:{months:["Xan","Feb","Maz","Abr","Mai","Xun","Xul","Ago","Set","Out","Nov","Dec"],dayOfWeek:["Dom","Lun","Mar","Mer","Xov","Ven","Sab"]},hr:{months:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],dayOfWeek:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"]},ko:{months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayOfWeek:["일","월","화","수","목","금","토"]},lt:{months:["Sausio","Vasario","Kovo","Balandžio","Gegužės","Birželio","Liepos","Rugpjūčio","Rugsėjo","Spalio","Lapkričio","Gruodžio"],dayOfWeek:["Sek","Pir","Ant","Tre","Ket","Pen","Šeš"]},lv:{months:["Janvāris","Februāris","Marts","Aprīlis ","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],dayOfWeek:["Sv","Pr","Ot","Tr","Ct","Pk","St"]},mk:{months:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],dayOfWeek:["нед","пон","вто","сре","чет","пет","саб"]},mn:{months:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],dayOfWeek:["Дав","Мяг","Лха","Пүр","Бсн","Бям","Ням"]},"pt-BR":{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeek:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"]},sk:{months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],dayOfWeek:["Ne","Po","Ut","St","Št","Pi","So"]},sq:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeek:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"sr-YU":{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeek:["Ned","Pon","Uto","Sre","čet","Pet","Sub"]},sr:{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],dayOfWeek:["нед","пон","уто","сре","чет","пет","суб"]},sv:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeek:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"]},"zh-TW":{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeek:["日","一","二","三","四","五","六"]},zh:{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeek:["日","一","二","三","四","五","六"]},he:{months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],dayOfWeek:["א'","ב'","ג'","ד'","ה'","ו'","שבת"]}},getI18n=function(a,b){return I18N[a][b]},setDayOfWeekStart=function(a){a.dayOfWeekStart=isNaN(a.dayOfWeekStart)?0:parseInt(a.dayOfWeekStart,10)%7},NS,XDE_KEYUP,XDE_AFTEROPEN,XDE_BLUR,XDE_CHANGEDATETIME,XDE_CLICK,XDE_CLOSE,XDE_DBLCLICK,XDE_FOCUSIN,XDE_GENERATE,XDE_KEYDOWN,XDE_MOUSEDOWN,XDE_MOUSEUP,XDE_MOUSEWHEEL,XDE_OPEN,XDE_RESIZE,XDE_TOGGLE,XDE_XCHANGE,XDE_ERROR_INPUT,XDE_SELECT,XDE_RESIZE_SCROLL,XDE_SCROLL_ELEMENT,XDE_SCROLLER_MOUSEDOWN,XDE_SCROLLER_MOUSEMOVE,XDE_SCROLLER_MOUSEUP,XDE_SCROLLER_RESIZE_SCROLL,XDE_SCROLLER_SCROLL_ELEMENT,XDE_SCROLLER_TOUCHSTART,XDE_CTRL_KEYDOWN,XDE_CTRL_KEYUP,XDC_CALENDAR,XDC_COPYRIGHT,XDC_CURRENT,XDC_DATE,XDC_DATEPICKER,XDC_DATETIME,XDC_DATETIMEPICKER,XDC_DAY_OF_WEEK,XDC_DISABLED,XDC_INIT_TIME,XDC_INLINE,XDC_LABEL,XDC_MONTH,XDC_MONTHSELECT,XDC_MONTHPICKER,XDC_NEXT,XDC_NOSELECT,XDC_OPTION,XDC_OTHER_MONTH,XDC_PREV,XDC_SCROLLBAR,XDC_SCROLLER,XDC_SCROLLER_BOX,XDC_SELECT,XDC_SHOWWEEKS,XDC_TIME,XDC_TIME_BOX,XDC_TIME_VARIANT,XDC_TIMEPICKER,XDC_TODAY,XDC_TODAY_BUTTON,XDC_WEEKEND,XDC_YEAR,XDC_YEARSELECT,setNamespace=function(a){NS=a,XDE_KEYUP="keyup."+NS+"ctrl",XDE_AFTEROPEN="afterOpen."+NS,XDE_BLUR="blur."+NS,XDE_CHANGEDATETIME="changedatetime."+NS,XDE_CLICK="click."+NS,XDE_CLOSE="close."+NS,XDE_DBLCLICK="dblclick."+NS,XDE_FOCUSIN="focusin."+NS,XDE_GENERATE="generate."+NS,XDE_KEYDOWN="keydown."+NS,XDE_MOUSEDOWN="mousedown."+NS,XDE_MOUSEUP="mouseup."+NS,XDE_MOUSEWHEEL="mousewheel."+NS,XDE_OPEN="open."+NS,XDE_RESIZE="resize."+NS,XDE_TOGGLE="toggle."+NS,XDE_XCHANGE="xchange."+NS,XDE_ERROR_INPUT="error_input."+NS,XDE_SELECT="select."+NS,XDE_RESIZE_SCROLL="resize_scroll."+NS+"_scroller",XDE_SCROLL_ELEMENT="scroll_element."+NS+"_scroller",XDE_SCROLLER_MOUSEDOWN="mousedown."+NS+"_scroller",XDE_SCROLLER_MOUSEMOVE="mousemove."+NS+"_scroller",XDE_SCROLLER_MOUSEUP="mouseup."+NS+"_scroller",XDE_SCROLLER_RESIZE_SCROLL="resize_scroll."+NS+"_scroller",XDE_SCROLLER_SCROLL_ELEMENT="scroll_element."+NS+"_scroller",XDE_SCROLLER_TOUCHSTART="touchstart."+NS+"_scroller",XDE_CTRL_KEYDOWN="keydown."+NS+"ctrl",XDE_CTRL_KEYUP="keyup."+NS+"ctrl",XDC_CALENDAR=NS+"_calendar",XDC_COPYRIGHT=NS+"_copyright",XDC_CURRENT=NS+"_current",XDC_DATE=NS+"_date",XDC_DATEPICKER=NS+"_datepicker",XDC_DATETIME=NS+"_datetime",XDC_DATETIMEPICKER=NS+"_datetimepicker",XDC_DAY_OF_WEEK=NS+"_day_of_week",XDC_DISABLED=NS+"_disabled",XDC_INIT_TIME=NS+"_init_time",XDC_INLINE=NS+"_inline",XDC_LABEL=NS+"_label",XDC_MONTH=NS+"_month",XDC_MONTHSELECT=NS+"_monthselect",XDC_MONTHPICKER=NS+"_monthpicker",XDC_NEXT=NS+"_next",XDC_NOSELECT=NS+"_noselect",XDC_OPTION=NS+"_option",XDC_OTHER_MONTH=NS+"_other_month",XDC_PREV=NS+"_prev",XDC_SCROLLBAR=NS+"_scrollbar",XDC_SCROLLER=NS+"_scroller",XDC_SCROLLER_BOX=NS+"_scroller_box",XDC_SELECT=NS+"_select",XDC_SHOWWEEKS=NS+"_showweeks",XDC_TIME=NS+"_time",XDC_TIME_BOX=NS+"_time_box",XDC_TIME_VARIANT=NS+"_time_variant",XDC_TIMEPICKER=NS+"_timepicker",XDC_TODAY=NS+"_today",XDC_TODAY_BUTTON=NS+"_today_button",XDC_WEEKEND=NS+"_weekend",XDC_YEAR=NS+"_year",XDC_YEARSELECT=NS+"_yearselect"};setNamespace("xdsoft");var default_options={i18n:I18N,template:{datepicker:function(){return'
'},month_picker:function(){return'
'},calendar:function(){return'
'},timepicker:function(){return'
'},timebox:function(){return'
'},monthselect:function(){return'
'},yearselect:function(){return'
'}},value:"",lang:"en",format:defaultFormat,formatTime:defaultFormatTime,formatDate:defaultFormatDate,startDate:!1,step:60,monthChangeSpinner:!0,closeOnDateSelect:!1,closeOnWithoutClick:!0,closeOnInputClick:!0,timepicker:!0,datepicker:!0,weeks:!1,defaultTime:!1,defaultDate:!1,minDate:!1,maxDate:!1,minTime:!1,maxTime:!1,allowTimes:[],opened:!1,initTime:!0,inline:!1,theme:"",onSelectDate:function(){},onSelectTime:function(){},onChangeMonth:function(){},onChangeYear:function(){},onChangeDateTime:function(){},onShow:function(){},onClose:function(){},onGenerate:function(){},withoutCopyright:!0,inverseButton:!1,hours12:!1,next:XDC_NEXT,prev:XDC_PREV,dayOfWeekStart:0,parentID:"body",timeHeightInTimePicker:25,timepickerScrollbar:!0,todayButton:!0,defaultSelect:!0,scrollMonth:!0,scrollTime:!0,scrollInput:!0,lazyInit:!1,mask:!1,validateOnBlur:!0,allowBlank:!0,yearStart:1950,yearEnd:2050,style:"",id:"",fixed:!1,roundTime:"round",className:"",weekends:[],disabledDates:[],yearOffset:0,beforeShowDay:null,enterLikeTab:!0};Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c,d;for(c=b||0,d=this.length;d>c;c+=1)if(this[c]===a)return c;return-1}),Date.prototype.countDaysInMonth=function(){return new Date(this.getFullYear(),this.getMonth()+1,0).getDate()},$.fn.xdsoftScroller=function(a){return this.each(function(){var b,c,d,e,f,g=$(this),h=function(a){var b,c={x:0,y:0};return"touchstart"===a.type||"touchmove"===a.type||"touchend"===a.type||"touchcancel"===a.type?(b=a.originalEvent.touches[0]||a.originalEvent.changedTouches[0],c.x=b.clientX,c.y=b.clientY):("mousedown"===a.type||"mouseup"===a.type||"mousemove"===a.type||"mouseover"===a.type||"mouseout"===a.type||"mouseenter"===a.type||"mouseleave"===a.type)&&(c.x=a.clientX,c.y=a.clientY),c},i=100,j=!1,k=0,l=0,m=0,n=!1,o=0,p=function(){};return"hide"===a?void g.find("."+XDC_SCROLLBAR).hide():($(this).hasClass(XDC_SCROLLER_BOX)||(b=g.children().eq(0),c=g[0].clientHeight,d=b[0].offsetHeight,e=$('
'),f=$('
'),e.append(f),g.addClass(XDC_SCROLLER_BOX).append(e),p=function(a){var b=h(a).y-k+o;0>b&&(b=0),b+f[0].offsetHeight>m&&(b=m-f[0].offsetHeight),g.trigger(XDE_SCROLLER_SCROLL_ELEMENT,[i?b/i:0])},f.on([XDE_SCROLLER_TOUCHSTART,XDE_SCROLLER_MOUSEDOWN].join(" "),function(b){c||g.trigger(XDE_SCROLLER_RESIZE_SCROLL,[a]),k=h(b).y,o=parseInt(f.css("margin-top"),10),m=e[0].offsetHeight,"mousedown"===b.type?(document&&$(document.body).addClass(XDC_NOSELECT),$([document.body,window]).on(XDE_SCROLLER_MOUSEUP,function d(){$([document.body,window]).off(XDE_SCROLLER_MOUSEUP,d).off(XDE_SCROLLER_MOUSEMOVE,p).removeClass(XDC_NOSELECT)}),$(document.body).on(XDE_SCROLLER_MOUSEMOVE,p)):(n=!0,b.stopPropagation(),b.preventDefault())}).on("touchmove",function(a){n&&(a.preventDefault(),p(a))}).on("touchend touchcancel",function(){n=!1,o=0}),g.on(XDE_SCROLLER_SCROLL_ELEMENT,function(a,d){c||g.trigger(XDE_SCROLLER_RESIZE_SCROLL,[d,!0]),d=d>1?1:0>d||isNaN(d)?0:d,f.css("margin-top",i*d),setTimeout(function(){b.css("marginTop",-parseInt((b[0].offsetHeight-c)*d,10))},10)}).on(XDE_SCROLLER_RESIZE_SCROLL,function(a,h,j){var k,l;c=g[0].clientHeight,d=b[0].offsetHeight,k=c/d,l=k*e[0].offsetHeight,k>1?f.hide():(f.show(),f.css("height",parseInt(l>10?l:10,10)),i=e[0].offsetHeight-f[0].offsetHeight,j!==!0&&g.trigger(XDE_SCROLLER_SCROLL_ELEMENT,[h||Math.abs(parseInt(b.css("marginTop"),10))/(d-c)]))}),g.on("mousewheel",function(a){var e=Math.abs(parseInt(b.css("marginTop"),10));return e-=20*a.deltaY,0>e&&(e=0),g.trigger(XDE_SCROLLER_SCROLL_ELEMENT,[e/(d-c)]),a.stopPropagation(),!1}),g.on("touchstart",function(a){j=h(a),l=Math.abs(parseInt(b.css("marginTop"),10))}),g.on("touchmove",function(a){if(j){a.preventDefault();var b=h(a);g.trigger(XDE_SCROLLER_SCROLL_ELEMENT,[(l-(b.y-j.y))/(d-c)])}}),g.on("touchend touchcancel",function(){j=!1,l=0})),void g.trigger(XDE_SCROLLER_RESIZE_SCROLL,[a]))})};var nosetNamespace=function(){};$.fn.datetimepicker=function(a){$.fn.datetimepicker.setNamespace=nosetNamespace;var b,c,d=48,e=57,f=96,g=105,h=17,i=46,j=13,k=27,l=8,m=37,n=38,o=39,p=40,q=9,r=116,s=65,t=67,u=86,v=90,w=89,x=!1,y=$.isPlainObject(a)||!a?$.extend(!0,{},default_options,a):$.extend(!0,{},default_options),z=0,A=function(a){a.on([XDE_OPEN,XDE_FOCUSIN,XDE_MOUSEDOWN].join(" "),function c(){a.is(":disabled")||a.data(XDC_DATETIMEPICKER)||(clearTimeout(z),z=setTimeout(function(){a.data(XDC_DATETIMEPICKER)||b(a),a.off([XDE_OPEN,XDE_FOCUSIN,XDE_MOUSEDOWN].join(" "),c).trigger(XDE_OPEN)},100))})};return b=function(b){function c(){var a,c=!1;return y.startDate?c=E.strToDate(y.startDate):(c=y.value||(b&&b.val&&b.val()?b.val():""),c?c=E.strToDateTime(c):y.defaultDate&&(c=E.strToDate(y.defaultDate),y.defaultTime&&(a=E.strtotime(y.defaultTime),c.setHours(a.getHours()),c.setMinutes(a.getMinutes())))),c&&E.isValidDate(c)?F.data("changed",!0):c="",c||0}var z,A,B,C,D,E,F=$("
'),G=$(G),H=$(y.template.datepicker()),I=$(y.template.month_picker()),J=$(y.template.calendar()),K=$(y.template.timepicker()),L=K.find("."+XDC_TIME_BOX).eq(0),M=$(y.template.timebox()),N=$(y.template.monthselect()),O=$(y.template.yearselect()),P=!1,Q=0,R=0;I.find("."+XDC_MONTH+" span").after(N),I.find("."+XDC_YEAR+" span").after(O),I.find("."+XDC_MONTH+",."+XDC_YEAR).on(XDE_MOUSEDOWN,function(a){var b,c,d=$(this).find("."+XDC_SELECT).eq(0),e=0,f=0,g=d.is(":visible");for(I.find("."+XDC_SELECT).hide(),E.currentTime&&(e=E.currentTime[$(this).hasClass(XDC_MONTH)?"getMonth":"getFullYear"]()),d[g?"hide":"show"](),b=d.find("div."+XDC_OPTION),c=0;c=d&&e>=E||E>=f&&g>=E||E===l||E===i){for(B=c(this),C=E!==l&&E!==i?String.fromCharCode(E>=f&&g>=E?E-d:E):"_",E!==l&&E!==i||!B||(B-=1,C="_");/[^0-9_]/.test(y.mask.substr(B,1))&&B0;)B+=E===l||E===i?-1:1;if(D=D.substr(0,B)+C+D.substr(B+1),""===$.trim(D))D=y.mask.replace(/[0-9]/g,"_");else if(B===y.mask.length)return a.preventDefault(),!1;for(B+=E===l||E===i?0:1;/[^0-9_]/.test(y.mask.substr(B,1))&&B0;)B+=E===l||E===i?-1:1;A(y.mask,D)?(this.value=D,z(this,B)):""===$.trim(D)?this.value=y.mask.replace(/[0-9]/g,"_"):b.trigger(XDE_ERROR_INPUT)}else if(-1!==[s,t,u,v,w].indexOf(E)&&x||-1!==[k,n,p,m,o,r,h,q,j].indexOf(E))return!0;return a.preventDefault(),!1}))}y.validateOnBlur&&b.off(XDE_BLUR).on(XDE_BLUR,function(){y.allowBlank&&!$.trim($(this).val()).length?($(this).val(null),F.data(XDC_DATETIME).empty()):Date.parseDate($(this).val(),y.format)?F.data(XDC_DATETIME).setCurrentTime($(this).val()):($(this).val(E.now().dateFormat(y.format)),F.data(XDC_DATETIME).setCurrentTime($(this).val())),F.trigger(XDE_CHANGEDATETIME)}),y.dayOfWeekStartPrev=0===y.dayOfWeekStart?6:y.dayOfWeekStart-1,F.trigger(XDE_XCHANGE).trigger(XDE_AFTEROPEN)},F.data("options",y).on(XDE_MOUSEDOWN,function(a){return a.stopPropagation(),a.preventDefault(),O.hide(),N.hide(),!1}),L.append(M),L.xdsoftScroller(),F.on(XDE_AFTEROPEN,function(){L.xdsoftScroller()}),F.append(H).append(K),y.withoutCopyright!==!0&&F.append(G),H.append(I).append(J),$(y.parentID).append(F),z=function(){var a=this;a.now=function(b){var c,d,e=new Date;return!b&&y.defaultDate&&(c=a.strToDate(y.defaultDate),e.setFullYear(c.getFullYear()),e.setMonth(c.getMonth()),e.setDate(c.getDate())),y.yearOffset&&e.setFullYear(e.getFullYear()+y.yearOffset),!b&&y.defaultTime&&(d=a.strtotime(y.defaultTime),e.setHours(d.getHours()),e.setMinutes(d.getMinutes())),e},a.isValidDate=function(a){return"[object Date]"!==Object.prototype.toString.call(a)?!1:!isNaN(a.getTime())},a.setCurrentTime=function(b){a.currentTime="string"==typeof b?a.strToDateTime(b):a.isValidDate(b)?b:a.now(),F.trigger(XDE_XCHANGE)},a.empty=function(){a.currentTime=null},a.getCurrentTime=function(){return a.currentTime},a.nextMonth=function(){var b,c=a.currentTime.getMonth()+1;return 12===c&&(a.currentTime.setFullYear(a.currentTime.getFullYear()+1),c=0),b=a.currentTime.getFullYear(),a.currentTime.setDate(Math.min(new Date(a.currentTime.getFullYear(),c+1,0).getDate(),a.currentTime.getDate())),a.currentTime.setMonth(c),y.onChangeMonth&&$.isFunction(y.onChangeMonth)&&y.onChangeMonth.call(F,E.currentTime,F.data("input")),b!==a.currentTime.getFullYear()&&$.isFunction(y.onChangeYear)&&y.onChangeYear.call(F,E.currentTime,F.data("input")),F.trigger(XDE_XCHANGE),c},a.prevMonth=function(){var b=a.currentTime.getMonth()-1;return-1===b&&(a.currentTime.setFullYear(a.currentTime.getFullYear()-1),b=11),a.currentTime.setDate(Math.min(new Date(a.currentTime.getFullYear(),b+1,0).getDate(),a.currentTime.getDate())),a.currentTime.setMonth(b),y.onChangeMonth&&$.isFunction(y.onChangeMonth)&&y.onChangeMonth.call(F,E.currentTime,F.data("input")),F.trigger(XDE_XCHANGE),b},a.getWeekOfYear=function(a){var b=new Date(a.getFullYear(),0,1);return Math.ceil(((a-b)/864e5+b.getDay()+1)/7)},a.strToDateTime=function(b){var c,d,e=[];return b&&b instanceof Date&&a.isValidDate(b)?b:(e=/^(\+|\-)(.*)$/.exec(b),e&&(e[2]=Date.parseDate(e[2],y.formatDate)),e&&e[2]?(c=e[2].getTime()-6e4*e[2].getTimezoneOffset(),d=new Date(E.now().getTime()+parseInt(e[1]+"1",10)*c)):d=b?Date.parseDate(b,y.format):a.now(),a.isValidDate(d)||(d=a.now()),d)},a.strToDate=function(b){if(b&&b instanceof Date&&a.isValidDate(b))return b;var c=b?Date.parseDate(b,y.formatDate):a.now(!0);return a.isValidDate(c)||(c=a.now(!0)),c},a.strtotime=function(b){if(b&&b instanceof Date&&a.isValidDate(b))return b;var c=b?Date.parseDate(b,y.formatTime):a.now(!0);return a.isValidDate(c)||(c=a.now(!0)),c},a.str=function(){return a.currentTime.dateFormat(y.format)},a.currentTime=this.now()},E=new z,I.find("."+XDC_TODAY_BUTTON).on(XDE_MOUSEDOWN,function(){F.data("changed",!0),E.setCurrentTime(0),F.trigger(XDE_AFTEROPEN)}).on(XDE_DBLCLICK,function(){b.val(E.str()),F.trigger(XDE_CLOSE)}),I.find("."+XDC_PREV+",."+XDC_NEXT).on(XDE_MOUSEDOWN,function(){var a=$(this),b=0,c=!1;!function d(e){E.currentTime.getMonth();a.hasClass(y.next)?E.nextMonth():a.hasClass(y.prev)&&E.prevMonth(),y.monthChangeSpinner&&(c||(b=setTimeout(d,e||100)))}(500),$([document.body,window]).on(XDE_MOUSEUP,function e(){clearTimeout(b),c=!0,$([document.body,window]).off(XDE_MOUSEUP,e)})}),K.find("."+XDC_PREV+",."+XDC_NEXT).on(XDE_MOUSEDOWN,function(){var a=$(this),b=0,c=!1,d=110;!function e(f){var g=L[0].clientHeight,h=M[0].offsetHeight,i=Math.abs(parseInt(M.css("marginTop"),10));a.hasClass(y.next)&&h-g-y.timeHeightInTimePicker>=i?M.css("marginTop","-"+(i+y.timeHeightInTimePicker)+"px"):a.hasClass(y.prev)&&i-y.timeHeightInTimePicker>=0&&M.css("marginTop","-"+(i-y.timeHeightInTimePicker)+"px"),L.trigger(XDE_SCROLLER_SCROLL_ELEMENT,[Math.abs(parseInt(M.css("marginTop"),10)/(h-g))]),d=d>10?10:d-10,c||(b=setTimeout(e,f||d))}(500),$([document.body,window]).on(XDE_MOUSEUP,function f(){clearTimeout(b),c=!0,$([document.body,window]).off(XDE_MOUSEUP,f)})}),A=0,F.on(XDE_XCHANGE,function(b){clearTimeout(A),A=setTimeout(function(){for(var b,c,d,e,f,g,h,i="",j=new Date(E.currentTime.getFullYear(),E.currentTime.getMonth(),1,12,0,0),k=0,l=E.now(),m=!1,n=!1,o=[],p=!0,q="",r="";j.getDay()!==y.dayOfWeekStart;)j.setDate(j.getDate()-1);for(i+="",y.weeks&&(i+=""),b=0;7>b;b+=1)i+="";for(i+="",i+="",y.maxDate!==!1&&(m=E.strToDate(y.maxDate),m=new Date(m.getFullYear(),m.getMonth(),m.getDate(),23,59,59,999)),y.minDate!==!1&&(n=E.strToDate(y.minDate),n=new Date(n.getFullYear(),n.getMonth(),n.getDate()));km||n!==!1&&n>j||g&&g[0]===!1?o.push(XDC_DISABLED):-1!==y.disabledDates.indexOf(j.dateFormat(y.formatDate))&&o.push(XDC_DISABLED),g&&""!==g[1]&&o.push(g[1]),E.currentTime.getMonth()!==e&&o.push(XDC_OTHER_MONTH),(y.defaultSelect||F.data("changed"))&&E.currentTime.dateFormat(y.formatDate)===j.dateFormat(y.formatDate)&&o.push(XDC_CURRENT),l.dateFormat(y.formatDate)===j.dateFormat(y.formatDate)&&o.push(XDC_TODAY),(0===j.getDay()||6===j.getDay()||~y.weekends.indexOf(j.dateFormat(y.formatDate)))&&o.push(XDC_WEEKEND),y.beforeShowDay&&$.isFunction(y.beforeShowDay)&&o.push(y.beforeShowDay(j)),p&&(i+="",p=!1,y.weeks&&(i+="")),i+='",j.getDay()===y.dayOfWeekStartPrev&&(i+="",p=!0),j.setDate(c+1);if(i+="
"+getI18n(y.lang,"dayOfWeek")[(b+y.dayOfWeekStart)%7]+"
"+f+"
'+c+"
",J.html(i),I.find("."+XDC_LABEL+" span").eq(0).text(getI18n(y.lang,"months")[E.currentTime.getMonth()]),I.find("."+XDC_LABEL+" span").eq(1).text(E.currentTime.getFullYear()),q="",r="",e="",h=function(a,b){var c=E.now();c.setHours(a),a=parseInt(c.getHours(),10),c.setMinutes(b),b=parseInt(c.getMinutes(),10);var d=new Date(E.currentTime);d.setHours(a),d.setMinutes(b),o=[],(y.minDateTime!==!1&&y.minDateTime>d||y.maxTime!==!1&&E.strtotime(y.maxTime).getTime()c.getTime())&&o.push(XDC_DISABLED),(y.initTime||y.defaultSelect||F.data("changed"))&&parseInt(E.currentTime.getHours(),10)===parseInt(a,10)&&(y.step>59||Math[y.roundTime](E.currentTime.getMinutes()/y.step)*y.step===parseInt(b,10))&&(y.defaultSelect||F.data("changed")?o.push(XDC_CURRENT):y.initTime&&o.push(XDC_INIT_TIME)),parseInt(l.getHours(),10)===parseInt(a,10)&&parseInt(l.getMinutes(),10)===parseInt(b,10)&&o.push(XDC_TODAY),q+='
'+c.dateFormat(y.formatTime)+"
" +},y.allowTimes&&$.isArray(y.allowTimes)&&y.allowTimes.length)for(k=0;kb;b+=y.step)r=(10>k?"0":"")+k,e=(10>b?"0":"")+b,h(r,e);for(M.html(q),a="",k=0,k=parseInt(y.yearStart,10)+y.yearOffset;k<=parseInt(y.yearEnd,10)+y.yearOffset;k+=1)a+='
'+k+"
";for(O.children().eq(0).html(a),k=0,a="";11>=k;k+=1)a+='
'+getI18n(y.lang,"months")[k]+"
";N.children().eq(0).html(a),$(F).trigger(XDE_GENERATE)},10),b.stopPropagation()}).on(XDE_AFTEROPEN,function(){if(y.timepicker){var a,b,c,d;M.find("."+XDC_CURRENT).length?a="."+XDC_CURRENT:M.find("."+XDC_INIT_TIME).length&&(a="."+XDC_INIT_TIME),a?(b=L[0].clientHeight,c=M[0].offsetHeight,d=M.find(a).index()*y.timeHeightInTimePicker+1,d>c-b&&(d=c-b),L.trigger(XDE_SCROLLER_SCROLL_ELEMENT,[parseInt(d,10)/(c-b)])):L.trigger(XDE_SCROLLER_SCROLL_ELEMENT,[0])}}),B=0,J.on(XDE_CLICK,"td",function(a){a.stopPropagation(),B+=1;var c=$(this),d=E.currentTime;return(void 0===d||null===d)&&(E.currentTime=E.now(),d=E.currentTime),c.hasClass(XDC_DISABLED)?!1:(d.setDate(1),d.setFullYear(c.data("year")),d.setMonth(c.data("month")),d.setDate(c.data("date")),F.trigger(XDE_SELECT,[d]),b.val(E.str()),(B>1||y.closeOnDateSelect===!0||0===y.closeOnDateSelect&&!y.timepicker)&&!y.inline&&F.trigger(XDE_CLOSE),y.onSelectDate&&$.isFunction(y.onSelectDate)&&y.onSelectDate.call(F,E.currentTime,F.data("input"),a),F.data("changed",!0),F.trigger(XDE_XCHANGE),F.trigger(XDE_CHANGEDATETIME),void setTimeout(function(){B=0},200))}),M.on(XDE_CLICK,"div",function(a){a.stopPropagation();var b=$(this),c=E.currentTime;return(void 0===c||null===c)&&(E.currentTime=E.now(),c=E.currentTime),b.hasClass(XDC_DISABLED)?!1:(c.setHours(b.data("hour")),c.setMinutes(b.data("minute")),F.trigger(XDE_SELECT,[c]),F.data("input").val(E.str()),y.inline||F.trigger(XDE_CLOSE),y.onSelectTime&&$.isFunction(y.onSelectTime)&&y.onSelectTime.call(F,E.currentTime,F.data("input"),a),F.data("changed",!0),F.trigger(XDE_XCHANGE),void F.trigger(XDE_CHANGEDATETIME))}),H.on(XDE_MOUSEWHEEL,function(a){return y.scrollMonth?(a.deltaY<0?E.nextMonth():E.prevMonth(),!1):!0}),b.on(XDE_MOUSEWHEEL,function(a){return y.scrollInput?!y.datepicker&&y.timepicker?(C=M.find("."+XDC_CURRENT).length?M.find("."+XDC_CURRENT).eq(0).index():0,C+a.deltaY>=0&&C+a.deltaY$(window).height()+$(window).scrollTop()&&(b=a.top-F[0].offsetHeight+1),0>b&&(b=0),c+F[0].offsetWidth>$(window).width()&&(c=$(window).width()-F[0].offsetWidth)),F.css({left:c,top:b,position:d})},F.on(XDE_OPEN,function(a){var b=!0;y.onShow&&$.isFunction(y.onShow)&&(b=y.onShow.call(F,E.currentTime,F.data("input"),a)),b!==!1&&(F.show(),D(),$(window).off(XDE_RESIZE,D).on(XDE_RESIZE,D),y.closeOnWithoutClick&&$([document.body,window]).on(XDE_MOUSEDOWN,function c(){F.trigger(XDE_CLOSE),$([document.body,window]).off(XDE_MOUSEDOWN,c)}))}).on(XDE_CLOSE,function(a){var b=!0;I.find("."+XDC_MONTH+",."+XDC_YEAR).find("."+XDC_SELECT).hide(),y.onClose&&$.isFunction(y.onClose)&&(b=y.onClose.call(F,E.currentTime,F.data("input"),a)),b===!1||y.opened||y.inline||F.hide(),a.stopPropagation()}).on(XDE_TOGGLE,function(){F.trigger(F.is(":visible")?XDE_CLOSE:XDE_OPEN)}).data("input",b),Q=0,R=0,F.data(XDC_DATETIME,E),F.setOptions(y),E.setCurrentTime(c()),b.data(XDC_DATETIMEPICKER,F).on([XDE_OPEN,XDE_FOCUSIN,XDE_MOUSEDOWN].join(" "),function(){b.is(":disabled")||b.data(XDC_DATETIMEPICKER).is(":visible")&&y.closeOnInputClick||(clearTimeout(Q),Q=setTimeout(function(){b.is(":disabled")||(P=!0,E.setCurrentTime(c()),F.trigger(XDE_OPEN))},100))}).on(XDE_KEYDOWN,function(a){var b,c=(this.value,a.which);return-1!==[j].indexOf(c)&&y.enterLikeTab?(b=$("input:visible,textarea:visible"),F.trigger(XDE_CLOSE),b.eq(b.index(this)+1).focus(),!1):-1!==[q].indexOf(c)?(F.trigger(XDE_CLOSE),!0):void 0})},c=function(a){var b=a.data(XDC_DATETIMEPICKER);b&&(b.data(XDC_DATETIME,null),b.remove(),a.data(XDC_DATETIMEPICKER,null).off("."+NS),$(window).off(XDE_RESIZE),$([window,document.body]).off(XDE_MOUSEDOWN),a.unmousewheel&&a.unmousewheel())},$(document).off([XDE_CTRL_KEYDOWN,XDE_CTRL_KEYUP].join(" ")).on(XDE_CTRL_KEYDOWN,function(a){a.keyCode===h&&(x=!0)}).on(XDE_CTRL_KEYUP,function(a){a.keyCode===h&&(x=!1)}),this.each(function(){var d=$(this).data(XDC_DATETIMEPICKER);if(d){if("string"===$.type(a))switch(a){case"show":$(this).select().focus(),d.trigger(XDE_OPEN);break;case"hide":d.trigger(XDE_CLOSE);break;case"toggle":d.trigger(XDE_TOGGLE);break;case"destroy":c($(this));break;case"reset":this.value=this.defaultValue,this.value&&d.data(XDC_DATETIME).isValidDate(Date.parseDate(this.value,y.format))||d.data("changed",!1),d.data(XDC_DATETIME).setCurrentTime(this.value)}else d.setOptions(a);return 0}"string"!==$.type(a)&&(!y.lazyInit||y.open||y.inline?b($(this)):A($(this)))})},$.fn.datetimepicker.defaults=default_options,$.fn.datetimepicker.setNamespace=setNamespace,Date.parseFunctions={count:0},Date.parseRegexes=[],Date.formatFunctions={count:0},Date.prototype.dateFormat=function(a){if("unixtime"==a)return parseInt(this.getTime()/1e3);null==Date.formatFunctions[a]&&Date.createNewFormat(a);var b=Date.formatFunctions[a];return this[b]()},Date.createNewFormat=function(format){var funcName="format"+Date.formatFunctions.count++;Date.formatFunctions[format]=funcName;for(var code="Date.prototype."+funcName+" = function() {return ",special=!1,ch="",i=0;i 0) {",regex="",special=!1,ch="",i=0;i 0 && z > 0){\nvar doyDate = new Date(y,0);\ndoyDate.setDate(z);\nm = doyDate.getMonth();\nd = doyDate.getDate();\n}",code+="if (y > 0 && m >= 0 && d > 0 && h >= 0 && i >= 0 && s >= 0)\n{return new Date(y, m, d, h, i, s);}\nelse if (y > 0 && m >= 0 && d > 0 && h >= 0 && i >= 0)\n{return new Date(y, m, d, h, i);}\nelse if (y > 0 && m >= 0 && d > 0 && h >= 0)\n{return new Date(y, m, d, h);}\nelse if (y > 0 && m >= 0 && d > 0)\n{return new Date(y, m, d);}\nelse if (y > 0 && m >= 0)\n{return new Date(y, m);}\nelse if (y > 0)\n{return new Date(y);}\n}return null;}",Date.parseRegexes[regexNum]=new RegExp("^"+regex+"$"),eval(code)},Date.formatCodeToRegex=function(a,b){switch(a){case"D":return{g:0,c:null,s:"(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)"};case"j":case"d":return{g:1,c:"d = parseInt(results["+b+"], 10);\n",s:"(\\d{1,2})"};case"l":return{g:0,c:null,s:"(?:"+Date.dayNames.join("|")+")"};case"S":return{g:0,c:null,s:"(?:st|nd|rd|th)"};case"w":return{g:0,c:null,s:"\\d"};case"z":return{g:1,c:"z = parseInt(results["+b+"], 10);\n",s:"(\\d{1,3})"};case"W":return{g:0,c:null,s:"(?:\\d{2})"};case"F":return{g:1,c:"m = parseInt(Date.monthNumbers[results["+b+"].substring(0, 3)], 10);\n",s:"("+Date.monthNames.join("|")+")"};case"M":return{g:1,c:"m = parseInt(Date.monthNumbers[results["+b+"]], 10);\n",s:"(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)"};case"n":case"m":return{g:1,c:"m = parseInt(results["+b+"], 10) - 1;\n",s:"(\\d{1,2})"};case"t":return{g:0,c:null,s:"\\d{1,2}"};case"L":return{g:0,c:null,s:"(?:1|0)"};case"Y":return{g:1,c:"y = parseInt(results["+b+"], 10);\n",s:"(\\d{4})"};case"y":return{g:1,c:"var ty = parseInt(results["+b+"], 10);\ny = ty > Date.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"};case"a":return{g:1,c:"if (results["+b+"] == 'am') {\nif (h == 12) { h = 0; }\n} else { if (h < 12) { h += 12; }}",s:"(am|pm)"};case"A":return{g:1,c:"if (results["+b+"] == 'AM') {\nif (h == 12) { h = 0; }\n} else { if (h < 12) { h += 12; }}",s:"(AM|PM)"};case"g":case"G":case"h":case"H":return{g:1,c:"h = parseInt(results["+b+"], 10);\n",s:"(\\d{1,2})"};case"i":return{g:1,c:"i = parseInt(results["+b+"], 10);\n",s:"(\\d{2})"};case"s":return{g:1,c:"s = parseInt(results["+b+"], 10);\n",s:"(\\d{2})"};case"O":return{g:0,c:null,s:"[+-]\\d{4}"};case"T":return{g:0,c:null,s:"[A-Z]{3}"};case"Z":return{g:0,c:null,s:"[+-]\\d{1,5}"};default:return{g:0,c:null,s:String.escape(a)}}},Date.prototype.getTimezone=function(){return this.toString().replace(/^.*? ([A-Z]{3}) [0-9]{4}.*$/,"$1").replace(/^.*?\(([A-Z])[a-z]+ ([A-Z])[a-z]+ ([A-Z])[a-z]+\)$/,"$1$2$3")},Date.prototype.getGMTOffset=function(){return(this.getTimezoneOffset()>0?"-":"+")+String.leftPad(Math.floor(Math.abs(this.getTimezoneOffset())/60),2,"0")+String.leftPad(Math.abs(this.getTimezoneOffset())%60,2,"0")},Date.prototype.getDayOfYear=function(){var a=0;Date.daysInMonth[1]=this.isLeapYear()?29:28;for(var b=0;ba?a+7:a},Date.prototype.getLastDayOfMonth=function(){var a=(this.getDay()+(Date.daysInMonth[this.getMonth()]-this.getDate()))%7;return 0>a?a+7:a},Date.prototype.getDaysInMonth=function(){return Date.daysInMonth[1]=this.isLeapYear()?29:28,Date.daysInMonth[this.getMonth()]},Date.prototype.getSuffix=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},String.escape=function(a){return a.replace(/('|\\)/g,"\\$1")},String.leftPad=function(a,b,c){var d=new String(a);for(null==c&&(c=" ");d.length'},month_picker:function(){return'
'},calendar:function(){return'
'},timepicker:function(){return'
'},timebox:function(){return'
'},monthselect:function(){return'
'},yearselect:function(){return'
'}},value:"",lang:"en",format:mb,formatTime:nb,formatDate:ob,startDate:!1,step:60,monthChangeSpinner:!0,closeOnDateSelect:!1,closeOnWithoutClick:!0,closeOnInputClick:!0,timepicker:!0,datepicker:!0,weeks:!1,defaultTime:!1,defaultDate:!1,minDate:!1,maxDate:!1,minTime:!1,maxTime:!1,allowTimes:[],opened:!1,initTime:!0,inline:!1,theme:"",onSelectDate:function(){},onSelectTime:function(){},onChangeMonth:function(){},onChangeYear:function(){},onChangeDateTime:function(){},onShow:function(){},onClose:function(){},onGenerate:function(){},withoutCopyright:!0,inverseButton:!1,hours12:!1,next:V,prev:Z,dayOfWeekStart:0,parentID:"body",timeHeightInTimePicker:25,timepickerScrollbar:!0,todayButton:!0,defaultSelect:!0,scrollMonth:!0,scrollTime:!0,scrollInput:!0,lazyInit:!1,mask:!1,validateOnBlur:!0,allowBlank:!0,yearStart:1950,yearEnd:2050,style:"",id:"",fixed:!1,roundTime:"round",className:"",weekends:[],disabledDates:[],yearOffset:0,beforeShowDay:null,enterLikeTab:!0};Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c,d;for(c=b||0,d=this.length;d>c;c+=1)if(this[c]===a)return c;return-1}),Date.prototype.countDaysInMonth=function(){return new Date(this.getFullYear(),this.getMonth()+1,0).getDate()},a.fn.xdsoftScroller=function(b){return this.each(function(){var c,d,e,f,g,h=a(this),i=function(a){var b,c={x:0,y:0};return"touchstart"===a.type||"touchmove"===a.type||"touchend"===a.type||"touchcancel"===a.type?(b=a.originalEvent.touches[0]||a.originalEvent.changedTouches[0],c.x=b.clientX,c.y=b.clientY):("mousedown"===a.type||"mouseup"===a.type||"mousemove"===a.type||"mouseover"===a.type||"mouseout"===a.type||"mouseenter"===a.type||"mouseleave"===a.type)&&(c.x=a.clientX,c.y=a.clientY),c},j=100,k=!1,l=0,m=0,n=0,o=!1,p=0,q=function(){};return"hide"===b?void h.find("."+$).hide():(a(this).hasClass(ab)||(c=h.children().eq(0),d=h[0].clientHeight,e=c[0].offsetHeight,f=a('
'),g=a('
'),f.append(g),h.addClass(ab).append(f),q=function(a){var b=i(a).y-l+p;0>b&&(b=0),b+g[0].offsetHeight>n&&(b=n-g[0].offsetHeight),h.trigger(C,[j?b/j:0])},g.on([D,y].join(" "),function(c){d||h.trigger(B,[b]),l=i(c).y,p=parseInt(g.css("margin-top"),10),n=f[0].offsetHeight,"mousedown"===c.type?(document&&a(document.body).addClass(W),a([document.body,window]).on(A,function e(){a([document.body,window]).off(A,e).off(z,q).removeClass(W)}),a(document.body).on(z,q)):(o=!0,c.stopPropagation(),c.preventDefault())}).on("touchmove",function(a){o&&(a.preventDefault(),q(a))}).on("touchend touchcancel",function(){o=!1,p=0}),h.on(C,function(a,b){d||h.trigger(B,[b,!0]),b=b>1?1:0>b||isNaN(b)?0:b,g.css("margin-top",j*b),setTimeout(function(){c.css("marginTop",-parseInt((c[0].offsetHeight-d)*b,10))},10)}).on(B,function(a,b,i){var k,l;d=h[0].clientHeight,e=c[0].offsetHeight,k=d/e,l=k*f[0].offsetHeight,k>1?g.hide():(g.show(),g.css("height",parseInt(l>10?l:10,10)),j=f[0].offsetHeight-g[0].offsetHeight,i!==!0&&h.trigger(C,[b||Math.abs(parseInt(c.css("marginTop"),10))/(e-d)]))}),h.on("mousewheel",function(a){var b=Math.abs(parseInt(c.css("marginTop"),10));return b-=20*a.deltaY,0>b&&(b=0),h.trigger(C,[b/(e-d)]),a.stopPropagation(),!1}),h.on("touchstart",function(a){k=i(a),m=Math.abs(parseInt(c.css("marginTop"),10))}),h.on("touchmove",function(a){if(k){a.preventDefault();var b=i(a);h.trigger(C,[(m-(b.y-k.y))/(e-d)])}}),h.on("touchend touchcancel",function(){k=!1,m=0})),void h.trigger(B,[b]))})};var ub=function(){};a.fn.datetimepicker=function(b){a.fn.datetimepicker.setNamespace=ub;var d,w,x=48,y=57,z=96,A=105,B=17,D=46,G=13,H=27,K=8,U=37,$=38,_=39,ab=40,fb=9,gb=116,lb=65,mb=67,nb=86,ob=90,pb=89,sb=!1,vb=a.isPlainObject(b)||!b?a.extend(!0,{},tb,b):a.extend(!0,{},tb),wb=0,xb=function(a){a.on([q,k,n].join(" "),function b(){a.is(":disabled")||a.data(M)||(clearTimeout(wb),wb=setTimeout(function(){a.data(M)||d(a),a.off([q,k,n].join(" "),b).trigger(q)},100))})};return d=function(d){function w(){var a,b=!1;return vb.startDate?b=xb.strToDate(vb.startDate):(b=vb.value||(d&&d.val&&d.val()?d.val():""),b?b=xb.strToDateTime(b):vb.defaultDate&&(b=xb.strToDate(vb.defaultDate),vb.defaultTime&&(a=xb.strtotime(vb.defaultTime),b.setHours(a.getHours()),b.setMinutes(a.getMinutes())))),b&&xb.isValidDate(b)?yb.data("changed",!0):b="",b||0}var E,F,tb,ub,wb,xb,yb=a("
'),zb=a(zb),Ab=a(vb.template.datepicker()),Bb=a(vb.template.month_picker()),Cb=a(vb.template.calendar()),Db=a(vb.template.timepicker()),Eb=Db.find("."+eb).eq(0),Fb=a(vb.template.timebox()),Gb=a(vb.template.monthselect()),Hb=a(vb.template.yearselect()),Ib=!1,Jb=0,Kb=0;Bb.find("."+S+" span").after(Gb),Bb.find("."+kb+" span").after(Hb),Bb.find("."+S+",."+kb).on(n,function(b){var c,d,e=a(this).find("."+bb).eq(0),f=0,g=0,h=e.is(":visible");for(Bb.find("."+bb).hide(),xb.currentTime&&(f=xb.currentTime[a(this).hasClass(S)?"getMonth":"getFullYear"]()),e[h?"hide":"show"](),c=e.find("div."+X),d=0;d=x&&y>=j||j>=z&&A>=j||j===K||j===D){for(e=c(this),f=j!==K&&j!==D?String.fromCharCode(j>=z&&A>=j?j-x:j):"_",j!==K&&j!==D||!e||(e-=1,f="_");/[^0-9_]/.test(vb.mask.substr(e,1))&&e0;)e+=j===K||j===D?-1:1;if(g=g.substr(0,e)+f+g.substr(e+1),""===a.trim(g))g=vb.mask.replace(/[0-9]/g,"_");else if(e===vb.mask.length)return b.preventDefault(),!1;for(e+=j===K||j===D?0:1;/[^0-9_]/.test(vb.mask.substr(e,1))&&e0;)e+=j===K||j===D?-1:1;i(vb.mask,g)?(this.value=g,h(this,e)):""===a.trim(g)?this.value=vb.mask.replace(/[0-9]/g,"_"):d.trigger(u)}else if(-1!==[lb,mb,nb,ob,pb].indexOf(j)&&sb||-1!==[H,$,ab,U,_,gb,B,fb,G].indexOf(j))return!0;return b.preventDefault(),!1}))}vb.validateOnBlur&&d.off(f).on(f,function(){vb.allowBlank&&!a.trim(a(this).val()).length?(a(this).val(null),yb.data(L).empty()):Date.parseDate(a(this).val(),vb.format)?yb.data(L).setCurrentTime(a(this).val()):(a(this).val(xb.now().dateFormat(vb.format)),yb.data(L).setCurrentTime(a(this).val())),yb.trigger(g)}),vb.dayOfWeekStartPrev=0===vb.dayOfWeekStart?6:vb.dayOfWeekStart-1,yb.trigger(t).trigger(e)},yb.data("options",vb).on(n,function(a){return a.stopPropagation(),a.preventDefault(),Hb.hide(),Gb.hide(),!1}),Eb.append(Fb),Eb.xdsoftScroller(),yb.on(e,function(){Eb.xdsoftScroller()}),yb.append(Ab).append(Db),vb.withoutCopyright!==!0&&yb.append(zb),Ab.append(Bb).append(Cb),a(vb.parentID).append(yb),E=function(){var b=this;b.now=function(a){var c,d,e=new Date;return!a&&vb.defaultDate&&(c=b.strToDate(vb.defaultDate),e.setFullYear(c.getFullYear()),e.setMonth(c.getMonth()),e.setDate(c.getDate())),vb.yearOffset&&e.setFullYear(e.getFullYear()+vb.yearOffset),!a&&vb.defaultTime&&(d=b.strtotime(vb.defaultTime),e.setHours(d.getHours()),e.setMinutes(d.getMinutes())),e},b.isValidDate=function(a){return"[object Date]"!==Object.prototype.toString.call(a)?!1:!isNaN(a.getTime())},b.setCurrentTime=function(a){b.currentTime="string"==typeof a?b.strToDateTime(a):b.isValidDate(a)?a:b.now(),yb.trigger(t)},b.empty=function(){b.currentTime=null},b.getCurrentTime=function(){return b.currentTime},b.nextMonth=function(){var c,d=b.currentTime.getMonth()+1;return 12===d&&(b.currentTime.setFullYear(b.currentTime.getFullYear()+1),d=0),c=b.currentTime.getFullYear(),b.currentTime.setDate(Math.min(new Date(b.currentTime.getFullYear(),d+1,0).getDate(),b.currentTime.getDate())),b.currentTime.setMonth(d),vb.onChangeMonth&&a.isFunction(vb.onChangeMonth)&&vb.onChangeMonth.call(yb,xb.currentTime,yb.data("input")),c!==b.currentTime.getFullYear()&&a.isFunction(vb.onChangeYear)&&vb.onChangeYear.call(yb,xb.currentTime,yb.data("input")),yb.trigger(t),d},b.prevMonth=function(){var c=b.currentTime.getMonth()-1;return-1===c&&(b.currentTime.setFullYear(b.currentTime.getFullYear()-1),c=11),b.currentTime.setDate(Math.min(new Date(b.currentTime.getFullYear(),c+1,0).getDate(),b.currentTime.getDate())),b.currentTime.setMonth(c),vb.onChangeMonth&&a.isFunction(vb.onChangeMonth)&&vb.onChangeMonth.call(yb,xb.currentTime,yb.data("input")),yb.trigger(t),c},b.getWeekOfYear=function(a){var b=new Date(a.getFullYear(),0,1);return Math.ceil(((a-b)/864e5+b.getDay()+1)/7)},b.strToDateTime=function(a){var c,d,e=[];return a&&a instanceof Date&&b.isValidDate(a)?a:(e=/^(\+|\-)(.*)$/.exec(a),e&&(e[2]=Date.parseDate(e[2],vb.formatDate)),e&&e[2]?(c=e[2].getTime()-6e4*e[2].getTimezoneOffset(),d=new Date(xb.now().getTime()+parseInt(e[1]+"1",10)*c)):d=a?Date.parseDate(a,vb.format):b.now(),b.isValidDate(d)||(d=b.now()),d)},b.strToDate=function(a){if(a&&a instanceof Date&&b.isValidDate(a))return a;var c=a?Date.parseDate(a,vb.formatDate):b.now(!0);return b.isValidDate(c)||(c=b.now(!0)),c},b.strtotime=function(a){if(a&&a instanceof Date&&b.isValidDate(a))return a;var c=a?Date.parseDate(a,vb.formatTime):b.now(!0);return b.isValidDate(c)||(c=b.now(!0)),c},b.str=function(){return b.currentTime.dateFormat(vb.format)},b.currentTime=this.now()},xb=new E,Bb.find("."+ib).on(n,function(){yb.data("changed",!0),xb.setCurrentTime(0),yb.trigger(e)}).on(j,function(){d.val(xb.str()),yb.trigger(i)}),Bb.find("."+Z+",."+V).on(n,function(){var b=a(this),c=0,d=!1;!function e(a){xb.currentTime.getMonth();b.hasClass(vb.next)?xb.nextMonth():b.hasClass(vb.prev)&&xb.prevMonth(),vb.monthChangeSpinner&&(d||(c=setTimeout(e,a||100)))}(500),a([document.body,window]).on(o,function f(){clearTimeout(c),d=!0,a([document.body,window]).off(o,f)})}),Db.find("."+Z+",."+V).on(n,function(){var b=a(this),c=0,d=!1,e=110;!function f(a){var g=Eb[0].clientHeight,h=Fb[0].offsetHeight,i=Math.abs(parseInt(Fb.css("marginTop"),10));b.hasClass(vb.next)&&h-g-vb.timeHeightInTimePicker>=i?Fb.css("marginTop","-"+(i+vb.timeHeightInTimePicker)+"px"):b.hasClass(vb.prev)&&i-vb.timeHeightInTimePicker>=0&&Fb.css("marginTop","-"+(i-vb.timeHeightInTimePicker)+"px"),Eb.trigger(C,[Math.abs(parseInt(Fb.css("marginTop"),10)/(h-g))]),e=e>10?10:e-10,d||(c=setTimeout(f,a||e))}(500),a([document.body,window]).on(o,function g(){clearTimeout(c),d=!0,a([document.body,window]).off(o,g)})}),F=0,yb.on(t,function(c){clearTimeout(F),F=setTimeout(function(){for(var c,d,e,f,g,h,i,j="",k=new Date(xb.currentTime.getFullYear(),xb.currentTime.getMonth(),1,12,0,0),m=0,n=xb.now(),o=!1,p=!1,q=[],r=!0,s="",t="";k.getDay()!==vb.dayOfWeekStart;)k.setDate(k.getDate()-1);for(j+="",vb.weeks&&(j+=""),c=0;7>c;c+=1)j+="";for(j+="",j+="",vb.maxDate!==!1&&(o=xb.strToDate(vb.maxDate),o=new Date(o.getFullYear(),o.getMonth(),o.getDate(),23,59,59,999)),vb.minDate!==!1&&(p=xb.strToDate(vb.minDate),p=new Date(p.getFullYear(),p.getMonth(),p.getDate()));mo||p!==!1&&p>k||h&&h[0]===!1?q.push(O):-1!==vb.disabledDates.indexOf(k.dateFormat(vb.formatDate))&&q.push(O),h&&""!==h[1]&&q.push(h[1]),xb.currentTime.getMonth()!==f&&q.push(Y),(vb.defaultSelect||yb.data("changed"))&&xb.currentTime.dateFormat(vb.formatDate)===k.dateFormat(vb.formatDate)&&q.push(I),n.dateFormat(vb.formatDate)===k.dateFormat(vb.formatDate)&&q.push(hb),(0===k.getDay()||6===k.getDay()||~vb.weekends.indexOf(k.dateFormat(vb.formatDate)))&&q.push(jb),vb.beforeShowDay&&a.isFunction(vb.beforeShowDay)&&q.push(vb.beforeShowDay(k)),r&&(j+="",r=!1,vb.weeks&&(j+="")),j+='",k.getDay()===vb.dayOfWeekStartPrev&&(j+="",r=!0),k.setDate(d+1);if(j+="
"+qb(vb.lang,"dayOfWeek")[(c+vb.dayOfWeekStart)%7]+"
"+g+"
'+d+"
",Cb.html(j),Bb.find("."+R+" span").eq(0).text(qb(vb.lang,"months")[xb.currentTime.getMonth()]),Bb.find("."+R+" span").eq(1).text(xb.currentTime.getFullYear()),s="",t="",f="",i=function(a,b){var c=xb.now();c.setHours(a),a=parseInt(c.getHours(),10),c.setMinutes(b),b=parseInt(c.getMinutes(),10);var d=new Date(xb.currentTime);d.setHours(a),d.setMinutes(b),q=[],(vb.minDateTime!==!1&&vb.minDateTime>d||vb.maxTime!==!1&&xb.strtotime(vb.maxTime).getTime()c.getTime())&&q.push(O),(vb.initTime||vb.defaultSelect||yb.data("changed"))&&parseInt(xb.currentTime.getHours(),10)===parseInt(a,10)&&(vb.step>59||Math[vb.roundTime](xb.currentTime.getMinutes()/vb.step)*vb.step===parseInt(b,10))&&(vb.defaultSelect||yb.data("changed")?q.push(I):vb.initTime&&q.push(P)),parseInt(n.getHours(),10)===parseInt(a,10)&&parseInt(n.getMinutes(),10)===parseInt(b,10)&&q.push(hb),s+='
'+c.dateFormat(vb.formatTime)+"
"},vb.allowTimes&&a.isArray(vb.allowTimes)&&vb.allowTimes.length)for(m=0;mc;c+=vb.step)t=(10>m?"0":"")+m,f=(10>c?"0":"")+c,i(t,f);for(Fb.html(s),b="",m=0,m=parseInt(vb.yearStart,10)+vb.yearOffset;m<=parseInt(vb.yearEnd,10)+vb.yearOffset;m+=1)b+='
'+m+"
";for(Hb.children().eq(0).html(b),m=0,b="";11>=m;m+=1)b+='
'+qb(vb.lang,"months")[m]+"
";Gb.children().eq(0).html(b),a(yb).trigger(l)},10),c.stopPropagation()}).on(e,function(){if(vb.timepicker){var a,b,c,d;Fb.find("."+I).length?a="."+I:Fb.find("."+P).length&&(a="."+P),a?(b=Eb[0].clientHeight,c=Fb[0].offsetHeight,d=Fb.find(a).index()*vb.timeHeightInTimePicker+1,d>c-b&&(d=c-b),Eb.trigger(C,[parseInt(d,10)/(c-b)])):Eb.trigger(C,[0])}}),tb=0,Cb.on(h,"td",function(b){b.stopPropagation(),tb+=1;var c=a(this),e=xb.currentTime;return(void 0===e||null===e)&&(xb.currentTime=xb.now(),e=xb.currentTime),c.hasClass(O)?!1:(e.setDate(1),e.setFullYear(c.data("year")),e.setMonth(c.data("month")),e.setDate(c.data("date")),yb.trigger(v,[e]),d.val(xb.str()),(tb>1||vb.closeOnDateSelect===!0||0===vb.closeOnDateSelect&&!vb.timepicker)&&!vb.inline&&yb.trigger(i),vb.onSelectDate&&a.isFunction(vb.onSelectDate)&&vb.onSelectDate.call(yb,xb.currentTime,yb.data("input"),b),yb.data("changed",!0),yb.trigger(t),yb.trigger(g),void setTimeout(function(){tb=0},200))}),Fb.on(h,"div",function(b){b.stopPropagation();var c=a(this),d=xb.currentTime;return(void 0===d||null===d)&&(xb.currentTime=xb.now(),d=xb.currentTime),c.hasClass(O)?!1:(d.setHours(c.data("hour")),d.setMinutes(c.data("minute")),yb.trigger(v,[d]),yb.data("input").val(xb.str()),vb.inline||yb.trigger(i),vb.onSelectTime&&a.isFunction(vb.onSelectTime)&&vb.onSelectTime.call(yb,xb.currentTime,yb.data("input"),b),yb.data("changed",!0),yb.trigger(t),void yb.trigger(g))}),Ab.on(p,function(a){return vb.scrollMonth?(a.deltaY<0?xb.nextMonth():xb.prevMonth(),!1):!0}),d.on(p,function(a){return vb.scrollInput?!vb.datepicker&&vb.timepicker?(ub=Fb.find("."+I).length?Fb.find("."+I).eq(0).index():0,ub+a.deltaY>=0&&ub+a.deltaYa(window).height()+a(window).scrollTop()&&(c=b.top-yb[0].offsetHeight+1),0>c&&(c=0),d+yb[0].offsetWidth>a(window).width()&&(d=a(window).width()-yb[0].offsetWidth)),yb.css({left:d,top:c,position:e})},yb.on(q,function(b){var c=!0;vb.onShow&&a.isFunction(vb.onShow)&&(c=vb.onShow.call(yb,xb.currentTime,yb.data("input"),b)),c!==!1&&(yb.show(),wb(),a(window).off(r,wb).on(r,wb),vb.closeOnWithoutClick&&a([document.body,window]).on(n,function d(){yb.trigger(i),a([document.body,window]).off(n,d)}))}).on(i,function(b){var c=!0;Bb.find("."+S+",."+kb).find("."+bb).hide(),vb.onClose&&a.isFunction(vb.onClose)&&(c=vb.onClose.call(yb,xb.currentTime,yb.data("input"),b)),c===!1||vb.opened||vb.inline||yb.hide(),b.stopPropagation()}).on(s,function(){yb.trigger(yb.is(":visible")?i:q)}).data("input",d),Jb=0,Kb=0,yb.data(L,xb),yb.setOptions(vb),xb.setCurrentTime(w()),d.data(M,yb).on([q,k,n].join(" "),function(){d.is(":disabled")||d.data(M).is(":visible")&&vb.closeOnInputClick||(clearTimeout(Jb),Jb=setTimeout(function(){d.is(":disabled")||(Ib=!0,xb.setCurrentTime(w()),yb.trigger(q))},100))}).on(m,function(b){var c,d=(this.value,b.which);return-1!==[G].indexOf(d)&&vb.enterLikeTab?(c=a("input:visible,textarea:visible"),yb.trigger(i),c.eq(c.index(this)+1).focus(),!1):-1!==[fb].indexOf(d)?(yb.trigger(i),!0):void 0})},w=function(b){var d=b.data(M);d&&(d.data(L,null),d.remove(),b.data(M,null).off("."+c),a(window).off(r),a([window,document.body]).off(n),b.unmousewheel&&b.unmousewheel())},a(document).off([E,F].join(" ")).on(E,function(a){a.keyCode===B&&(sb=!0)}).on(F,function(a){a.keyCode===B&&(sb=!1)}),this.each(function(){var c=a(this).data(M);if(c){if("string"===a.type(b))switch(b){case"show":a(this).select().focus(),c.trigger(q);break;case"hide":c.trigger(i);break;case"toggle":c.trigger(s);break;case"destroy":w(a(this));break;case"reset":this.value=this.defaultValue,this.value&&c.data(L).isValidDate(Date.parseDate(this.value,vb.format))||c.data("changed",!1),c.data(L).setCurrentTime(this.value)}else c.setOptions(b);return 0}"string"!==a.type(b)&&(!vb.lazyInit||vb.open||vb.inline?d(a(this)):xb(a(this)))})},a.fn.datetimepicker.defaults=tb,a.fn.datetimepicker.setNamespace=sb}); \ No newline at end of file diff --git a/dist/jquery.datetimepicker.css.map b/dist/jquery.datetimepicker.css.map deleted file mode 100644 index 9f6431d..0000000 --- a/dist/jquery.datetimepicker.css.map +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 3, - "file": "jquery.datetimepicker.css", - "sources": [ - "jquery.datetimepicker.scss", - "_options.scss" - ], - "sourcesContent": [], - "mappings": "AAEA,AACE,AAAY,AACZ,ACHe,ADIf,AAAe,AACf,AAAa,AACb,AAAc,AACd,AAAY,AACZ,ACAiB,ADCjB,AAAa,AACb,AAAS,AACT,AAAc,AACd,AAAa,AACb,AAAU,AACV,AAAS,AACT,AAAiB,AACjB,AAAY,AACZ,AAAS,AAAX,AAAuB,AAEnB,AAAU,AACV,AAAM,AACN,AAAK,AACL,AAAO,AACP,AAAQ,AACR,AAAY,AACZ,AAAQ,AACZ,AAAuB,AAEnB,AAAQ,AAMZ,AACE,AAAuB,AACvB,AAAqB,AACrB,AAAoB,AACpB,AAAkB,AAClB,AAAiB,AACjB,AAAgB,AAChB,AAAa,AAAf,AAAgB,AAAa,AAAgB,AAEzC,AAAY,AAIhB,AAAsB,AAElB,AAAS,AACT,AAAU,AACV,AAAY,AAChB,AAAuB,AAEnB,AAAiB,AACjB,AAAY,AACZ,AAAS,AACT,AAAQ,AACZ,AAAuB,AAAoB,AAAuB,AAE9D,AAAS,AACb,AAAuB,AAAkB,AAAS,AAAuB,AAAkB,AAEvF,AAAS,AACb,AAAuB,AAEnB,AAAO,AACP,AAAO,AACP,AAAa,AACjB,AAAsB,AAAkB,AAEpC,AAAO,AACX,AAAuB,AAEnB,AA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names": [] -} \ No newline at end of file diff --git a/dist/_options.scss b/dist/stylesheets/_options.scss similarity index 100% rename from dist/_options.scss rename to dist/stylesheets/_options.scss diff --git a/dist/jquery.datetimepicker.css b/dist/stylesheets/jquery.datetimepicker.css similarity index 100% rename from dist/jquery.datetimepicker.css rename to dist/stylesheets/jquery.datetimepicker.css diff --git a/dist/stylesheets/jquery.datetimepicker.css.map b/dist/stylesheets/jquery.datetimepicker.css.map new file mode 100644 index 0000000..237e355 --- /dev/null +++ b/dist/stylesheets/jquery.datetimepicker.css.map @@ -0,0 +1,11 @@ +{ + "version": 3, + "file": "jquery.datetimepicker.css", + "sources": [ + "jquery.datetimepicker.scss", + "_options.scss" + ], + "sourcesContent": [], + "mappings": "AAEA;EACE,YAAY;EACZ,YCHe;EDIf,eAAe;EACf,aAAa;EACb,cAAc;EACd,YAAY;EACZ,OCAiB;EDCjB,aAAa;EACb,SAAS;EACT,cAAc;EACd,aAAa;EACb,UAAU;EACV,SAAS;EACT,iBAAiB;EACjB,YAAY;EACZ,SAAS;EAAX,uBAAuB;IAEnB,UAAU;IACV,MAAM;IACN,KAAK;IACL,OAAO;IACP,QAAQ;IACR,YAAY;IACZ,QAAQ;EACZ,uBAAuB;IAEnB,QAAQ;;;AAMZ;EACE,uBAAuB;EACvB,qBAAqB;EACrB,oBAAoB;EACpB,kBAAkB;EAClB,iBAAiB;EACjB,gBAAgB;EAChB,aAAa;EAAf,gBAAgB,aAAa,gBAAgB;IAEzC,YAAY;;AAIhB,sBAAsB;EAElB,SAAS;EACT,UAAU;EACV,YAAY;AAChB,uBAAuB;EAEnB,iBAAiB;EACjB,YAAY;EACZ,SAAS;EACT,QAAQ;AACZ,uBAAuB,oBAAoB,uBAAuB;EAE9D,SAAS;AACb,uBAAuB,kBAAkB,SAAS,uBAAuB,kBAAkB;EAEvF,SAAS;AACb,uBAAuB;EAEnB,OAAO;EACP,OAAO;EACP,aAAa;AACjB,sBAAsB,kBAAkB;EAEpC,OAAO;AACX,uBAAu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AAY;EAChB,sBAAsB,aAAa,iBAAiB;IAEhD,OCxauB;EDya3B,sBAAsB,aAAa;IAE/B,OAAO;IAAX,sBAAsB,aAAa,kBAAkB;MAE/C,OAAO;MAAb,sBAAsB,aAAa,kBAAkB,CAAC;QAE9C,OAAO;;AAMf,aAAa;EAET,QAAQ;AACZ,aAAa,oBAAoB;EAE7B,YAAY", + "names": [] +} \ No newline at end of file diff --git a/dist/stylesheets/jquery.datetimepicker.min.css b/dist/stylesheets/jquery.datetimepicker.min.css new file mode 100644 index 0000000..a82c62e --- /dev/null +++ b/dist/stylesheets/jquery.datetimepicker.min.css @@ -0,0 +1 @@ +.xdsoft_datetimepicker{box-shadow:0 5px 15px -5px rgba(0,0,0,.506);background:#FFF;border-bottom:1px solid #BBB;border-left:1px solid #CCC;border-right:1px solid #CCC;border-top:1px solid #CCC;color:#333332;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:2px 8px 8px 0;position:absolute;z-index:9999;-moz-box-sizing:border-box;box-sizing:border-box;display:none}.xdsoft_datetimepicker iframe{position:absolute;left:0;top:0;width:75px;height:210px;background:0 0;border:none}.xdsoft_datetimepicker button{border:none!important}.xdsoft_noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.xdsoft_noselect::-moz-selection,.xdsoft_noselect::selection{background:0 0}.xdsoft_datetimepicker.xdsoft_inline{display:inline-block;position:static;box-shadow:none}.xdsoft_datetimepicker *{-moz-box-sizing:border-box;box-sizing:border-box;padding:0;margin:0}.xdsoft_datetimepicker .xdsoft_datepicker,.xdsoft_datetimepicker .xdsoft_timepicker{display:none}.xdsoft_datetimepicker .xdsoft_datepicker.active,.xdsoft_datetimepicker .xdsoft_timepicker.active{display:block}.xdsoft_datetimepicker .xdsoft_datepicker{width:224px;float:left;margin-left:8px}.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_datepicker{width:256px}.xdsoft_datetimepicker .xdsoft_timepicker{width:58px;float:left;text-align:center;margin-left:8px;margin-top:0}.xdsoft_datetimepicker .xdsoft_datepicker.active+.xdsoft_timepicker{margin-top:8px;margin-bottom:3px}.xdsoft_datetimepicker .xdsoft_mounthpicker{position:relative;text-align:center}.xdsoft_datetimepicker .xdsoft_label i,.xdsoft_datetimepicker .xdsoft_next,.xdsoft_datetimepicker .xdsoft_prev,.xdsoft_datetimepicker .xdsoft_today_button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Q0NBRjI1NjM0M0UwMTFFNDk4NkFGMzJFQkQzQj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JCOQwOa6dhyXsOa6XwEGAKdeb5ET3rQdAAAAAElFTkSuQmCC)}.xdsoft_datetimepicker .xdsoft_label i{opacity:.5;background-position:-92px -19px;display:inline-block;width:9px;height:20px;vertical-align:middle}.xdsoft_datetimepicker .xdsoft_prev{float:left;background-position:-20px 0}.xdsoft_datetimepicker .xdsoft_today_button{float:left;background-position:-70px 0;margin-left:5px}.xdsoft_datetimepicker .xdsoft_next{float:right;background-position:0 0;background-color:transparent;background-repeat:no-repeat;border:0;cursor:pointer;display:block;height:30px;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";outline:currentColor;overflow:hidden;padding:0;position:relative;text-indent:100%;white-space:nowrap;width:20px}.xdsoft_datetimepicker .xdsoft_prev,.xdsoft_datetimepicker .xdsoft_today_button{background-color:transparent;background-repeat:no-repeat;border:0;cursor:pointer;display:block;height:30px;opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";outline:currentColor;overflow:hidden;padding:0;position:relative;text-indent:100%;white-space:nowrap;width:20px}.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_next,.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev{float:none;background-position:-40px -15px;height:15px;width:30px;display:block;margin-left:14px;margin-top:7px}.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev{background-position:-40px 0;margin-bottom:7px;margin-top:0}.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box{height:151px;overflow:hidden;border-bottom:1px solid #DDD}.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div{background:#F5F5F5;border-top:1px solid #DDD;color:#666;font-size:12px;text-align:center;border-collapse:collapse;cursor:pointer;border-bottom-width:0;height:25px;line-height:25px}.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div:first-child{border-top-width:0}.xdsoft_datetimepicker .xdsoft_next:hover,.xdsoft_datetimepicker .xdsoft_prev:hover,.xdsoft_datetimepicker .xdsoft_today_button:hover{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}.xdsoft_datetimepicker .xdsoft_label{display:inline;position:relative;z-index:9999;margin:0;padding:5px 3px;font-size:14px;line-height:20px;font-weight:700;background-color:#FFF;float:left;width:182px;text-align:center;cursor:pointer}.xdsoft_datetimepicker .xdsoft_label:hover>span{text-decoration:underline}.xdsoft_datetimepicker .xdsoft_label:hover i{opacity:1}.xdsoft_datetimepicker .xdsoft_label>.xdsoft_select{border:1px solid #CCC;position:absolute;right:0;top:30px;z-index:101;display:none;background:#FFF;max-height:160px;overflow-y:hidden}.xdsoft_datetimepicker .xdsoft_label>.xdsoft_select.xdsoft_monthselect{right:-7px}.xdsoft_datetimepicker .xdsoft_label>.xdsoft_select.xdsoft_yearselect{right:2px}.xdsoft_datetimepicker .xdsoft_label>.xdsoft_select>div>.xdsoft_option{padding:2px 10px 2px 5px;text-decoration:none!important}.xdsoft_datetimepicker .xdsoft_label>.xdsoft_select>div>.xdsoft_option:hover{color:#FFF;background:#C50}.xdsoft_datetimepicker .xdsoft_label>.xdsoft_select>div>.xdsoft_option.xdsoft_current{background:#3AF;box-shadow:#178FE5 0 1px 3px 0 inset;color:#FFF;font-weight:700}.xdsoft_datetimepicker .xdsoft_month{width:100px;text-align:right}.xdsoft_datetimepicker .xdsoft_calendar{clear:both}.xdsoft_datetimepicker .xdsoft_year{width:48px;margin-left:5px}.xdsoft_datetimepicker .xdsoft_calendar table{border-collapse:collapse;width:100%}.xdsoft_datetimepicker .xdsoft_calendar td>div{padding-right:5px}.xdsoft_datetimepicker .xdsoft_calendar td,.xdsoft_datetimepicker .xdsoft_calendar th{width:14.2857142%;background:#F5F5F5;border:1px solid #DDD;color:#666;font-size:12px;text-align:right;vertical-align:middle;padding:0;border-collapse:collapse;cursor:pointer;height:25px}.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar td,.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar th{width:12.5%}.xdsoft_datetimepicker .xdsoft_calendar th{background:#F1F1F1}.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today{color:#3AF}.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current{background:#3AF;box-shadow:#178FE5 0 1px 3px 0 inset;color:#FFF;font-weight:700}.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled,.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month,.xdsoft_datetimepicker .xdsoft_time_box>div>div.xdsoft_disabled{opacity:.5;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month.xdsoft_disabled{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"}.xdsoft_datetimepicker .xdsoft_calendar td:hover,.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div:hover{color:#FFF;background:#C50!important;box-shadow:none!important}.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover,.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_disabled:hover{color:inherit!important;background:inherit!important;box-shadow:inherit!important}.xdsoft_datetimepicker .xdsoft_calendar th{font-weight:700;text-align:center;color:#999998;cursor:default}.xdsoft_datetimepicker .xdsoft_copyright{color:#CCC!important;font-size:10px;clear:both;float:none;margin-left:8px}.xdsoft_datetimepicker .xdsoft_copyright a{color:#EEE!important}.xdsoft_datetimepicker .xdsoft_copyright a:hover{color:#AAA!important}.xdsoft_time_box{position:relative;border:1px solid #CCC}.xdsoft_scrollbar{position:absolute;width:7px;right:0;top:0;bottom:0;cursor:pointer}.xdsoft_scrollbar>.xdsoft_scroller{background:#CCC!important;height:20px;border-radius:3px}.xdsoft_scroller_box{position:relative}.xdsoft_datetimepicker.xdsoft_dark{box-shadow:0 5px 15px -5px rgba(255,255,255,.506);background:#000;border-bottom:1px solid #444;border-left:1px solid #333;border-right:1px solid #333;border-top:1px solid #333;color:#CCC}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box{border-bottom:1px solid #222}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box>div>div{background:#0A0A0A;border-top:1px solid #222;color:#999}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label{background-color:#000}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label>.xdsoft_select{border:1px solid #333;background:#000}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label>.xdsoft_select>div>.xdsoft_option:hover{color:#000;background:#007FFF}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label>.xdsoft_select>div>.xdsoft_option.xdsoft_current{background:#FF8000;box-shadow:#b03e00 0 1px 3px 0 inset;color:#000}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label i,.xdsoft_datetimepicker.xdsoft_dark .xdsoft_next,.xdsoft_datetimepicker.xdsoft_dark .xdsoft_prev,.xdsoft_datetimepicker.xdsoft_dark .xdsoft_today_button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJ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XwQA8gcFIuAIO8sQSA7hidvPwaQGZSaAYHOUWJABhWWw2EMIH9QagQERU4SArJXo0ZZL18uvaxejXt/Em8xjVBXmvFr1KVm/AJ10tRe2XnraNqaJvKE3KHuUbfK1E+VHB0q40/y3sdQSxY4FHWeKJCunP8UyDdqJZenT3ntVV5jIYCAh20vT7ioP8tpf6E2lfEMwERe+whV1MHjwZB7PBiCxcGQWwKZKD62lfGNnP/1poFAA60T7rF1UgcKd2id3KDeUS+oLWV8DfWAepOfq00CgQabi9zjcgJVYVD7PVzQUAUGAQkbNJTBICDhgwYTjDYD6XeW08ZKh+A4pYkzenOxXUbvZcWz7E8ykRMnIHGX1XPl+1m2vPYpL+2qdb8CDAARlKFEz/ZVkAAAAABJRU5ErkJggg==)}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td{background:#0A0A0A;border:1px solid #222;color:#999}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th{border:1px solid #222;background:#0E0E0E}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_today{color:#FF8000}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_current,.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_default,.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current{background:#FF8000;box-shadow:#b03e00 0 1px 3px 0 inset;color:#000}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td:hover,.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box>div>div:hover{color:#000!important;background:#007FFF!important}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th{color:#666665}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright{color:#333!important}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright a{color:#111!important}.xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright a:hover{color:#555!important}.xdsoft_dark .xdsoft_time_box{border:1px solid #333}.xdsoft_dark .xdsoft_scrollbar>.xdsoft_scroller{background:#333!important} \ No newline at end of file diff --git a/dist/jquery.datetimepicker.scss b/dist/stylesheets/jquery.datetimepicker.scss similarity index 100% rename from dist/jquery.datetimepicker.scss rename to dist/stylesheets/jquery.datetimepicker.scss diff --git a/package.json b/package.json index deebdd9..69dd304 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "grunt": "~0.4.1", "grunt-contrib": ">=0.1.0", "grunt-contrib-copy": "^0.7.0", + "grunt-contrib-cssmin": "^0.11.0", "grunt-contrib-requirejs": "^0.4.4", "grunt-rigger": "~0.5.0", "grunt-sass": "^0.17.0",