From 5d7573e791f23417cc6c64627ab0e1f7078a51af Mon Sep 17 00:00:00 2001 From: 45kb Date: Fri, 5 May 2017 10:12:54 +0200 Subject: [PATCH] PR number #264, new option disable-weekdays thanks to @fabianoroberto --- bower.json | 2 +- dist/angular-datepicker.js | 38 ++++++++++++++++++++++++--- dist/angular-datepicker.min.js | 4 +-- dist/angular-datepicker.sourcemap.map | 2 +- package.json | 2 +- 5 files changed, 39 insertions(+), 9 deletions(-) diff --git a/bower.json b/bower.json index 013b576..ce696e5 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angularjs-datepicker", - "version": "2.1.18", + "version": "2.1.19", "description": "A datepicker directive for angularjs.", "authors": [ "Filippo Oretti ', '
', '', @@ -110,7 +110,7 @@ '', '{{px}}', '', - '', + '', '{{item}}', '', '', @@ -157,6 +157,7 @@ //, dateMinLimit //, dateMaxLimit , dateDisabledDates = $scope.$eval($scope.dateDisabledDates) + , dateDisabledWeekdays = $scope.$eval($scope.dateDisabledWeekdays) , date = new Date() , isMouseOn = false , isMouseOnInput = false @@ -477,6 +478,17 @@ if (newValue) { setInputValue(); } + }) + , unregisterDateDisabledDatesWatcher = $scope.$watch('dateDisabledDates', function dateDisabledDatesWatcher(newValue) { + if (newValue) { + dateDisabledDates = $scope.$eval(newValue); + + if (!$scope.isSelectableDate($scope.monthNumber, $scope.year, $scope.day)) { + thisInput.val(''); + thisInput.triggerHandler('input'); + thisInput.triggerHandler('change');//just to be sure; + } + } }); $scope.nextMonth = function nextMonth() { @@ -631,7 +643,8 @@ $scope.setDatepickerDay = function setDatepickerDay(day) { - if ($scope.isSelectableDate($scope.monthNumber, $scope.year, day) && + if ($scope.isSelectableDay($scope.monthNumber, $scope.year, day) && + $scope.isSelectableDate($scope.monthNumber, $scope.year, day) && $scope.isSelectableMaxDate($scope.year + '/' + $scope.monthNumber + '/' + day) && $scope.isSelectableMinDate($scope.year + '/' + $scope.monthNumber + '/' + day)) { @@ -697,7 +710,8 @@ if (date.getFullYear() && !isNaN(date.getDay()) && !isNaN(date.getMonth()) && - $scope.isSelectableDate(date) && + $scope.isSelectableDay(date.getMonth(), date.getFullYear(), date.getDay()) && + $scope.isSelectableDate(date.getMonth(), date.getFullYear(), date.getDay()) && $scope.isSelectableMaxDate(date) && $scope.isSelectableMinDate(date)) { @@ -746,6 +760,20 @@ $scope.paginationYears = theNewYears; }; + $scope.isSelectableDay = function isSelectableDay(monthNumber, year, day) { + var i = 0; + + if (dateDisabledWeekdays && dateDisabledWeekdays.length > 0) { + for (i; i <= dateDisabledWeekdays.length; i += 1) { + if (dateDisabledWeekdays[i] === new Date(monthNumber + '/' + day + '/' + year).getDay()) { + return false; + } + } + } + + return true; + }; + $scope.isSelectableDate = function isSelectableDate(monthNumber, year, day) { var i = 0; @@ -944,6 +972,7 @@ unregisterDateMinLimitWatcher(); unregisterDateMaxLimitWatcher(); unregisterDateFormatWatcher(); + unregisterDateDisabledDatesWatcher(); thisInput.off('focus click focusout blur'); angular.element(theCalendar).off('mouseenter mouseleave focusin'); angular.element($window).off('click focus focusin', onClickOnWindow); @@ -961,6 +990,7 @@ 'buttonNextTitle': '@', 'buttonPrevTitle': '@', 'dateDisabledDates': '@', + 'dateDisabledWeekdays': '@', 'dateSetHidden': '@', 'dateTyper': '@', 'dateWeekStartDay': '@', diff --git a/dist/angular-datepicker.min.js b/dist/angular-datepicker.min.js index 97a38b1..7c7e873 100644 --- a/dist/angular-datepicker.min.js +++ b/dist/angular-datepicker.min.js @@ -1,5 +1,5 @@ /*! - * Angular Datepicker v2.1.18 + * Angular Datepicker v2.1.19 * * Released by 720kb.net under the MIT license * www.opensource.org/licenses/MIT @@ -8,5 +8,5 @@ */ -!function(a,b){"use strict";var c=function(){if(b.userAgent&&(b.userAgent.match(/Android/i)||b.userAgent.match(/webOS/i)||b.userAgent.match(/iPhone/i)||b.userAgent.match(/iPad/i)||b.userAgent.match(/iPod/i)||b.userAgent.match(/BlackBerry/i)||b.userAgent.match(/Windows Phone/i)))return!0}(),d=function(a,b,d){return d&&(c=!1),c?['
','
','","
","
",'
','
','","
","
"]:['
','",'
',"{{month}} ",'',"","{{year}}","","","","
",'
','',b,"","
","
"]},e=function(a,b){return['
','",'
','',a,"",'',b,"","
","
"]},f=function(){return['
','
',"{{d}}","
","
"]},g=function(){return['"]},h=function(a,b,c){var h=['
',"
"],i=d(a,b,c),j=e(a,b),k=f(),l=g(),m=function(a){h.splice(h.length-1,0,a)};return i.forEach(m),j.forEach(m),k.forEach(m),l.forEach(m),h.join("")},i=function(b,d,e,f,g,i){return{restrict:"AEC",scope:{dateSet:"@",dateMinLimit:"@",dateMaxLimit:"@",dateMonthTitle:"@",dateYearTitle:"@",buttonNextTitle:"@",buttonPrevTitle:"@",dateDisabledDates:"@",dateSetHidden:"@",dateTyper:"@",dateWeekStartDay:"@",datepickerAppendTo:"@",datepickerToggle:"@",datepickerClass:"@",datepickerShow:"@"},link:function(j,k,l){var m,n,o,p=l.selector,q=a.element(p?k[0].querySelector("."+p):k[0].children[0]),r=l.buttonPrev||'',s=l.buttonNext||'',t=l.dateFormat,u=j.$eval(j.dateDisabledDates),v=new Date,w=!1,x=!1,y=void 0!==l.datepickerMobile&&"false"!==l.datepickerMobile,z=e.DATETIME_FORMATS,A=h(r,s,y),B=function(){w||x||!m||j.hideCalendar()},C=function(a,b){var c,d,e,f,g,h=new Date(b,a,0).getDate(),i=new Date(b+"/"+a+"/1").getDay(),k=new Date(b+"/"+a+"/"+h).getDay(),l=[],m=[];for(j.days=[],j.dateWeekStartDay=j.validateWeekDay(j.dateWeekStartDay),g=(j.dateWeekStartDay+6)%7,c=1;c<=h;c+=1)j.days.push(c);if(i===j.dateWeekStartDay)j.prevMonthDays=[];else{for(e=i-j.dateWeekStartDay,i0}),c=b.match(/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|MMMM|MMM|MM|M|dd?d?|yy?yy?y?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g).filter(function(a){return null!==a.match(/^[a-zA-Z]+$/i)}),h=0;h-1||(c=a.className.split(" "),c.push(b),a.className=c.join(" "))},remove:function(a,b){var c,d;if(-1!==a.className.indexOf(b)){for(d=a.className.split(" "),c=0;cNumber(a)&&!j.isSelectableMinYear(a))return;j.paginateYears(a),j.showYearsPagination=!1,i(function(){j.year=Number(a),C(j.monthNumber,j.year)},0)},j.hideCalendar=function(){m.classList?m.classList.remove("_720kb-datepicker-open"):J.remove(m,"_720kb-datepicker-open")},j.setDatepickerDay=function(a){j.isSelectableDate(j.monthNumber,j.year,a)&&j.isSelectableMaxDate(j.year+"/"+j.monthNumber+"/"+a)&&j.isSelectableMinDate(j.year+"/"+j.monthNumber+"/"+a)&&(j.day=Number(a),j.selectedDay=j.day,j.selectedMonth=j.monthNumber,j.selectedYear=j.year,I(),l.hasOwnProperty("dateRefocus")&&q[0].focus(),j.hideCalendar())},j.paginateYears=function(a){var b,d=[],e=10,g=10;for(j.paginationYears=[],c&&(e=50,g=50,j.dateMinLimit&&j.dateMaxLimit&&(a=new Date(j.dateMaxLimit).getFullYear(),e=a-new Date(j.dateMinLimit).getFullYear(),g=1)),b=e;b>0;b-=1)d.push(Number(a)-b);for(b=0;b0)try{v=t?H(q[0].value.toString(),t):new Date(q[0].value.toString()),v.getFullYear()&&!isNaN(v.getDay())&&!isNaN(v.getMonth())&&j.isSelectableDate(v)&&j.isSelectableMaxDate(v)&&j.isSelectableMinDate(v)&&j.$apply(function(){j.month=f("date")(v,"MMMM"),j.monthNumber=Number(f("date")(v,"MM")),j.day=Number(f("date")(v,"dd")),4===v.getFullYear().toString().length&&(j.year=Number(f("date")(v,"yyyy"))),C(j.monthNumber,j.year)})}catch(a){return a}}),j.dateMaxLimit&&d&&d.length&&!j.isSelectableMaxYear(Number(d[d.length-1])+1)?j.paginationYearsNextDisabled=!0:j.paginationYearsNextDisabled=!1,j.dateMinLimit&&d&&d.length&&!j.isSelectableMinYear(Number(d[0])-1)?j.paginationYearsPrevDisabled=!0:j.paginationYearsPrevDisabled=!1,j.paginationYears=d},j.isSelectableDate=function(a,b,c){var d=0;if(u&&u.length>0)for(d;d<=u.length;d+=1)if(new Date(u[d]).getTime()===new Date(a+"/"+c+"/"+b).getTime())return!1;return!0},j.isSelectableMinDate=function(a){return!(j.dateMinLimit&&new Date(j.dateMinLimit)&&new Date(a).getTime()new Date(j.dateMaxLimit).getTime())},j.isSelectableMaxYear=function(a){return!(j.dateMaxLimit&&a>new Date(j.dateMaxLimit).getFullYear())},j.isSelectableMinYear=function(a){return!(j.dateMinLimit&&a6)&&(b=0),b},A=A.replace(/{{/g,g.startSymbol()).replace(/}}/g,g.endSymbol()),j.dateMonthTitle=j.dateMonthTitle||"Select month",j.dateYearTitle=j.dateYearTitle||"Select year",j.buttonNextTitle=j.buttonNextTitle||"Next",j.buttonPrevTitle=j.buttonPrevTitle||"Prev",j.month=f("date")(v,"MMMM"),j.monthNumber=Number(f("date")(v,"MM")),j.day=Number(f("date")(v,"dd")),j.dateWeekStartDay=j.validateWeekDay(j.dateWeekStartDay),j.dateMaxLimit?j.year=Number(f("date")(new Date(j.dateMaxLimit),"yyyy")):j.year=Number(f("date")(v,"yyyy")),j.months=z.MONTH,j.daysInString=[],o=j.dateWeekStartDay;o<=j.dateWeekStartDay+6;o+=1)j.daysInString.push(o%7);j.daysInString=j.daysInString.map(function(a){return f("date")(new Date(new Date("06/08/2014").valueOf()+864e5*a),"EEE")}),j.datepickerAppendTo&&-1!==j.datepickerAppendTo.indexOf(".")?(j.datepickerID="datepicker-id-"+(new Date).getTime()+(Math.floor(6*Math.random())+8),a.element(document.getElementsByClassName(j.datepickerAppendTo.replace(".",""))[0]).append(d(a.element(A))(j,function(b){m=a.element(b)[0]}))):j.datepickerAppendTo&&-1!==j.datepickerAppendTo.indexOf("#")?(j.datepickerID="datepicker-id-"+(new Date).getTime()+(Math.floor(6*Math.random())+8),a.element(document.getElementById(j.datepickerAppendTo.replace("#",""))).append(d(a.element(A))(j,function(b){m=a.element(b)[0]}))):j.datepickerAppendTo&&"body"===j.datepickerAppendTo?(j.datepickerID="datepicker-id-"+((new Date).getTime()+(Math.floor(6*Math.random())+8)),a.element(document).find("body").append(d(a.element(A))(j,function(b){m=a.element(b)[0]}))):(q.after(d(a.element(A))(j)),m=k[0].querySelector("._720kb-datepicker-calendar")),function(){return!j.datepickerToggle||j.$eval(j.datepickerToggle)}()&&q.on("focus click focusin",function(){x=!0,w||x||!m?K():j.hideCalendar()}),q.on("focusout blur",function(){x=!1}),a.element(m).on("mouseenter",function(){w=!0}),a.element(m).on("mouseleave",function(){w=!1}),a.element(m).on("focusin",function(){w=!0}),a.element(b).on("click focus focusin",B),(j.dateMinLimit&&!j.isSelectableMinYear(j.year)||!j.isSelectableMinDate(j.year+"/"+j.monthNumber+"/"+j.day))&&D(),(j.dateMaxLimit&&!j.isSelectableMaxYear(j.year)||!j.isSelectableMaxDate(j.year+"/"+j.monthNumber+"/"+j.day))&&E(),j.paginateYears(j.year),C(j.monthNumber,j.year),j.checkVisibility=L,j.$on("$destroy",function(){M(),N(),O(),P(),q.off("focus click focusout blur"),a.element(m).off("mouseenter mouseleave focusin"),a.element(b).off("click focus focusin",B)})}}};a.module("720kb.datepicker",[]).directive("datepicker",["$window","$compile","$locale","$filter","$interpolate","$timeout",i])}(angular,navigator); +!function(a,b){"use strict";var c=function(){if(b.userAgent&&(b.userAgent.match(/Android/i)||b.userAgent.match(/webOS/i)||b.userAgent.match(/iPhone/i)||b.userAgent.match(/iPad/i)||b.userAgent.match(/iPod/i)||b.userAgent.match(/BlackBerry/i)||b.userAgent.match(/Windows Phone/i)))return!0}(),d=function(a,b,d){return d&&(c=!1),c?['
','
','","
","
",'
','
','","
","
"]:['
','
','',a,"","
",'
',"{{month}} ",'',"","{{year}}","","","","
",'
','',b,"","
","
"]},e=function(a,b){return['
','",'
','',a,"",'',b,"","
","
"]},f=function(){return['
','
',"{{d}}","
","
"]},g=function(){return['"]},h=function(a,b,c){var h=['
',"
"],i=d(a,b,c),j=e(a,b),k=f(),l=g(),m=function(a){h.splice(h.length-1,0,a)};return i.forEach(m),j.forEach(m),k.forEach(m),l.forEach(m),h.join("")},i=function(b,d,e,f,g,i){return{restrict:"AEC",scope:{dateSet:"@",dateMinLimit:"@",dateMaxLimit:"@",dateMonthTitle:"@",dateYearTitle:"@",buttonNextTitle:"@",buttonPrevTitle:"@",dateDisabledDates:"@",dateDisabledWeekdays:"@",dateSetHidden:"@",dateTyper:"@",dateWeekStartDay:"@",datepickerAppendTo:"@",datepickerToggle:"@",datepickerClass:"@",datepickerShow:"@"},link:function(j,k,l){var m,n,o,p=l.selector,q=a.element(p?k[0].querySelector("."+p):k[0].children[0]),r=l.buttonPrev||'',s=l.buttonNext||'',t=l.dateFormat,u=j.$eval(j.dateDisabledDates),v=j.$eval(j.dateDisabledWeekdays),w=new Date,x=!1,y=!1,z=void 0!==l.datepickerMobile&&"false"!==l.datepickerMobile,A=e.DATETIME_FORMATS,B=h(r,s,z),C=function(){x||y||!m||j.hideCalendar()},D=function(a,b){var c,d,e,f,g,h=new Date(b,a,0).getDate(),i=new Date(b+"/"+a+"/1").getDay(),k=new Date(b+"/"+a+"/"+h).getDay(),l=[],m=[];for(j.days=[],j.dateWeekStartDay=j.validateWeekDay(j.dateWeekStartDay),g=(j.dateWeekStartDay+6)%7,c=1;c<=h;c+=1)j.days.push(c);if(i===j.dateWeekStartDay)j.prevMonthDays=[];else{for(e=i-j.dateWeekStartDay,i0}),c=b.match(/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|MMMM|MMM|MM|M|dd?d?|yy?yy?y?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g).filter(function(a){return null!==a.match(/^[a-zA-Z]+$/i)}),h=0;h-1||(c=a.className.split(" "),c.push(b),a.className=c.join(" "))},remove:function(a,b){var c,d;if(-1!==a.className.indexOf(b)){for(d=a.className.split(" "),c=0;cNumber(a)&&!j.isSelectableMinYear(a))return;j.paginateYears(a),j.showYearsPagination=!1,i(function(){j.year=Number(a),D(j.monthNumber,j.year)},0)},j.hideCalendar=function(){m.classList?m.classList.remove("_720kb-datepicker-open"):K.remove(m,"_720kb-datepicker-open")},j.setDatepickerDay=function(a){j.isSelectableDay(j.monthNumber,j.year,a)&&j.isSelectableDate(j.monthNumber,j.year,a)&&j.isSelectableMaxDate(j.year+"/"+j.monthNumber+"/"+a)&&j.isSelectableMinDate(j.year+"/"+j.monthNumber+"/"+a)&&(j.day=Number(a),j.selectedDay=j.day,j.selectedMonth=j.monthNumber,j.selectedYear=j.year,J(),l.hasOwnProperty("dateRefocus")&&q[0].focus(),j.hideCalendar())},j.paginateYears=function(a){var b,d=[],e=10,g=10;for(j.paginationYears=[],c&&(e=50,g=50,j.dateMinLimit&&j.dateMaxLimit&&(a=new Date(j.dateMaxLimit).getFullYear(),e=a-new Date(j.dateMinLimit).getFullYear(),g=1)),b=e;b>0;b-=1)d.push(Number(a)-b);for(b=0;b0)try{w=t?I(q[0].value.toString(),t):new Date(q[0].value.toString()),w.getFullYear()&&!isNaN(w.getDay())&&!isNaN(w.getMonth())&&j.isSelectableDay(w.getMonth(),w.getFullYear(),w.getDay())&&j.isSelectableDate(w.getMonth(),w.getFullYear(),w.getDay())&&j.isSelectableMaxDate(w)&&j.isSelectableMinDate(w)&&j.$apply(function(){j.month=f("date")(w,"MMMM"),j.monthNumber=Number(f("date")(w,"MM")),j.day=Number(f("date")(w,"dd")),4===w.getFullYear().toString().length&&(j.year=Number(f("date")(w,"yyyy"))),D(j.monthNumber,j.year)})}catch(a){return a}}),j.dateMaxLimit&&d&&d.length&&!j.isSelectableMaxYear(Number(d[d.length-1])+1)?j.paginationYearsNextDisabled=!0:j.paginationYearsNextDisabled=!1,j.dateMinLimit&&d&&d.length&&!j.isSelectableMinYear(Number(d[0])-1)?j.paginationYearsPrevDisabled=!0:j.paginationYearsPrevDisabled=!1,j.paginationYears=d},j.isSelectableDay=function(a,b,c){var d=0;if(v&&v.length>0)for(d;d<=v.length;d+=1)if(v[d]===new Date(a+"/"+c+"/"+b).getDay())return!1;return!0},j.isSelectableDate=function(a,b,c){var d=0;if(u&&u.length>0)for(d;d<=u.length;d+=1)if(new Date(u[d]).getTime()===new Date(a+"/"+c+"/"+b).getTime())return!1;return!0},j.isSelectableMinDate=function(a){return!(j.dateMinLimit&&new Date(j.dateMinLimit)&&new Date(a).getTime()new Date(j.dateMaxLimit).getTime())},j.isSelectableMaxYear=function(a){return!(j.dateMaxLimit&&a>new Date(j.dateMaxLimit).getFullYear())},j.isSelectableMinYear=function(a){return!(j.dateMinLimit&&a6)&&(b=0),b},B=B.replace(/{{/g,g.startSymbol()).replace(/}}/g,g.endSymbol()),j.dateMonthTitle=j.dateMonthTitle||"Select month",j.dateYearTitle=j.dateYearTitle||"Select year",j.buttonNextTitle=j.buttonNextTitle||"Next",j.buttonPrevTitle=j.buttonPrevTitle||"Prev",j.month=f("date")(w,"MMMM"),j.monthNumber=Number(f("date")(w,"MM")),j.day=Number(f("date")(w,"dd")),j.dateWeekStartDay=j.validateWeekDay(j.dateWeekStartDay),j.dateMaxLimit?j.year=Number(f("date")(new Date(j.dateMaxLimit),"yyyy")):j.year=Number(f("date")(w,"yyyy")),j.months=A.MONTH,j.daysInString=[],o=j.dateWeekStartDay;o<=j.dateWeekStartDay+6;o+=1)j.daysInString.push(o%7);j.daysInString=j.daysInString.map(function(a){return f("date")(new Date(new Date("06/08/2014").valueOf()+864e5*a),"EEE")}),j.datepickerAppendTo&&-1!==j.datepickerAppendTo.indexOf(".")?(j.datepickerID="datepicker-id-"+(new Date).getTime()+(Math.floor(6*Math.random())+8),a.element(document.getElementsByClassName(j.datepickerAppendTo.replace(".",""))[0]).append(d(a.element(B))(j,function(b){m=a.element(b)[0]}))):j.datepickerAppendTo&&-1!==j.datepickerAppendTo.indexOf("#")?(j.datepickerID="datepicker-id-"+(new Date).getTime()+(Math.floor(6*Math.random())+8),a.element(document.getElementById(j.datepickerAppendTo.replace("#",""))).append(d(a.element(B))(j,function(b){m=a.element(b)[0]}))):j.datepickerAppendTo&&"body"===j.datepickerAppendTo?(j.datepickerID="datepicker-id-"+((new Date).getTime()+(Math.floor(6*Math.random())+8)),a.element(document).find("body").append(d(a.element(B))(j,function(b){m=a.element(b)[0]}))):(q.after(d(a.element(B))(j)),m=k[0].querySelector("._720kb-datepicker-calendar")),function(){return!j.datepickerToggle||j.$eval(j.datepickerToggle)}()&&q.on("focus click focusin",function(){y=!0,x||y||!m?L():j.hideCalendar()}),q.on("focusout blur",function(){y=!1}),a.element(m).on("mouseenter",function(){x=!0}),a.element(m).on("mouseleave",function(){x=!1}),a.element(m).on("focusin",function(){x=!0}),a.element(b).on("click focus focusin",C),(j.dateMinLimit&&!j.isSelectableMinYear(j.year)||!j.isSelectableMinDate(j.year+"/"+j.monthNumber+"/"+j.day))&&E(),(j.dateMaxLimit&&!j.isSelectableMaxYear(j.year)||!j.isSelectableMaxDate(j.year+"/"+j.monthNumber+"/"+j.day))&&F(),j.paginateYears(j.year),D(j.monthNumber,j.year),j.checkVisibility=M,j.$on("$destroy",function(){N(),O(),P(),Q(),R(),q.off("focus click focusout blur"),a.element(m).off("mouseenter mouseleave focusin"),a.element(b).off("click focus focusin",C)})}}};a.module("720kb.datepicker",[]).directive("datepicker",["$window","$compile","$locale","$filter","$interpolate","$timeout",i])}(angular,navigator); //# sourceMappingURL=angular-datepicker.sourcemap.map \ No newline at end of file diff --git a/dist/angular-datepicker.sourcemap.map b/dist/angular-datepicker.sourcemap.map index 557ef6c..ef1d176 100644 --- a/dist/angular-datepicker.sourcemap.map +++ b/dist/angular-datepicker.sourcemap.map @@ -1 +1 @@ -{"version":3,"sources":["../src/js/angular-datepicker.js"],"names":["angular","navigator","isMobile","userAgent","match","generateMonthAndYearHeader","prevButton","nextButton","preventMobile","generateYearsPaginationHeader","generateDaysColumns","generateDays","generateHtmlTemplate","toReturn","monthAndYearHeader","yearsPaginationHeader","daysColumns","days","iterator","aRow","splice","length","forEach","join","datepickerDirective","$window","$compile","$locale","$filter","$interpolate","$timeout","restrict","scope","dateSet","dateMinLimit","dateMaxLimit","dateMonthTitle","dateYearTitle","buttonNextTitle","buttonPrevTitle","dateDisabledDates","dateSetHidden","dateTyper","dateWeekStartDay","datepickerAppendTo","datepickerToggle","datepickerClass","datepickerShow","link","$scope","element","attr","theCalendar","pageDatepickers","n","selector","thisInput","querySelector","children","buttonPrev","buttonNext","dateFormat","$eval","date","Date","isMouseOn","isMouseOnInput","datepickerMobile","datetime","DATETIME_FORMATS","htmlTemplate","onClickOnWindow","hideCalendar","setDaysInMonth","month","year","i","howManyNextDays","howManyPreviousDays","monthAlias","dateWeekEndDay","limitDate","getDate","firstDayMonthNumber","getDay","lastDayMonthNumber","prevMonthDays","nextMonthDays","validateWeekDay","push","Number","slice","resetToMinDate","monthNumber","day","resetToMaxDate","prevYear","nextYear","localDateTimestamp","rawDate","dateFormatDefinition","formatDate","dateSplit","m","d","y","index","el","longName","shortName","MONTH","SHORTMONTH","indexOf","replace","split","filter","item","setInputValue","isSelectableMinDate","isSelectableMaxDate","modelDate","val","triggerHandler","classHelper","add","ele","klass","classes","className","remove","concat","showCalendar","document","getElementsByClassName","value","key","classList","toString","selectedMonth","selectedDay","selectedYear","today","getFullYear","getMonth","checkVisibility","unregisterDataSetWatcher","$watch","newValue","isNaN","parse","unregisterDateMinLimitWatcher","unregisterDateMaxLimitWatcher","unregisterDateFormatWatcher","nextMonth","undefined","willPrevMonthBeSelectable","prevDay","getTime","willNextMonthBeSelectable","prevMonth","selectedMonthHandle","selectedMonthNumber","setNewYear","isSelectableMaxYear","isSelectableMinYear","paginateYears","showYearsPagination","setDatepickerDay","isSelectableDate","hasOwnProperty","focus","startingYear","theNewYears","daysToPrepend","daysToAppend","paginationYears","on","$apply","e","paginationYearsNextDisabled","paginationYearsPrevDisabled","aDate","weekDay","validWeekDay","startSymbol","endSymbol","months","daysInString","map","valueOf","datepickerID","Math","floor","random","append","getElementById","find","after","$on","off","module","directive"],"mappings":";;;;;;;;;;CACC,SAAqBA,EAASC,GAE7B,YAEA,IACIC,GAAY,WAEZ,GAAID,EAAUE,YACXF,EAAUE,UAAUC,MAAM,aAC3BH,EAAUE,UAAUC,MAAM,WAC1BH,EAAUE,UAAUC,MAAM,YAC1BH,EAAUE,UAAUC,MAAM,UAC1BH,EAAUE,UAAUC,MAAM,UAC1BH,EAAUE,UAAUC,MAAM,gBAC1BH,EAAUE,UAAUC,MAAM,mBAE1B,OAAO,KAGTC,EAA6B,SAAoCC,EAAYC,EAAYC,GAOzF,MALIA,KAEFN,GAAW,GAGTA,GAGA,kDACE,wHACE,gGACE,qPACE,aACF,YACF,YACF,SACF,SACA,kDACE,wHACE,gGACE,+LACE,aACF,YACF,YACF,SACF,WAKF,kDACE,uDACE,kNACEI,EACF,OACF,SACA,0FACE,kBACA,4GACE,SACE,WACA,iLACF,UACF,OACF,SACA,wDACA,kNACEC,EACF,OACA,SACF,WAGFE,EAAgC,SAAuCH,EAAYC,GAEnF,OACE,gFACE,4DACE,oPACE,QACF,OACF,SACA,kEACE,yJACED,EACF,OACA,kLACEC,EACF,OACF,SACF,WAGFG,EAAsB,WAEtB,OACA,uDACE,sCACE,QACF,SACF,WAGAC,EAAe,WAEf,OACE,gDACE,kIACE,SACF,OACA,2lBACE,WACF,OACA,kIACE,SACF,OACF,WAGFC,EAAuB,SAA8BN,EAAYC,EAAYC,GAE7E,GAAIK,IACF,8KACA,UAEAC,EAAqBT,EAA2BC,EAAYC,EAAYC,GACxEO,EAAwBN,EAA8BH,EAAYC,GAClES,EAAcN,IACdO,EAAON,IACPO,EAAW,SAAkBC,GAE7BN,EAASO,OAAOP,EAASQ,OAAS,EAAG,EAAGF,GAQ1C,OALAL,GAAmBQ,QAAQJ,GAC3BH,EAAsBO,QAAQJ,GAC9BF,EAAYM,QAAQJ,GACpBD,EAAKK,QAAQJ,GAENL,EAASU,KAAK,KAErBC,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5C,EAAO6C,OAElFF,KAGE3C,EAAOd,eACRc,EAAOkH,oBAAoBlH,EAAO0B,QAClC1B,EAAOsE,oBAAoBtE,EAAO0B,KAAO,IAAM1B,EAAO4C,YAAc,IAAM5C,EAAO6C,OAElFC,IAIF9C,EAAOoH,cAAcpH,EAAO0B,MAE5BF,EAAexB,EAAO4C,YAAa5C,EAAO0B,MAC1C1B,EAAO+F,gBAAkBA,EAEzB/F,EAAOqJ,IAAI,WAAY,WAErBrD,IACAK,IACAC,IACAC,IACAhG,EAAU+I,IAAI,6BACdvM,EAAQkD,QAAQE,GAAamJ,IAAI,iCACjCvM,EAAQkD,QAAQzB,GAAS8K,IAAI,sBAAuBhI,OA2B5DvE,GAAQwM,OAAO,uBACDC,UAAU,cAAe,UAAW,WAAY,UAAW,UAAW,eAAgB,WAAYjL,KAChHxB,QAASC","file":"angular-datepicker.min.js"} \ No newline at end of file +{"version":3,"sources":["../src/js/angular-datepicker.js"],"names":["angular","navigator","isMobile","userAgent","match","generateMonthAndYearHeader","prevButton","nextButton","preventMobile","generateYearsPaginationHeader","generateDaysColumns","generateDays","generateHtmlTemplate","toReturn","monthAndYearHeader","yearsPaginationHeader","daysColumns","days","iterator","aRow","splice","length","forEach","join","datepickerDirective","$window","$compile","$locale","$filter","$interpolate","$timeout","restrict","scope","dateSet","dateMinLimit","dateMaxLimit","dateMonthTitle","dateYearTitle","buttonNextTitle","buttonPrevTitle","dateDisabledDates","dateDisabledWeekdays","dateSetHidden","dateTyper","dateWeekStartDay","datepickerAppendTo","datepickerToggle","datepickerClass","datepickerShow","link","$scope","element","attr","theCalendar","pageDatepickers","n","selector","thisInput","querySelector","children","buttonPrev","buttonNext","dateFormat","$eval","date","Date","isMouseOn","isMouseOnInput","datepickerMobile","datetime","DATETIME_FORMATS","htmlTemplate","onClickOnWindow","hideCalendar","setDaysInMonth","month","year","i","howManyNextDays","howManyPreviousDays","monthAlias","dateWeekEndDay","limitDate","getDate","firstDayMonthNumber","getDay","lastDayMonthNumber","prevMonthDays","nextMonthDays","validateWeekDay","push","Number","slice","resetToMinDate","monthNumber","day","resetToMaxDate","prevYear","nextYear","localDateTimestamp","rawDate","dateFormatDefinition","formatDate","dateSplit","m","d","y","index","el","longName","shortName","MONTH","SHORTMONTH","indexOf","replace","split","filter","item","setInputValue","isSelectableMinDate","isSelectableMaxDate","modelDate","val","triggerHandler","classHelper","add","ele","klass","classes","className","remove","concat","showCalendar","document","getElementsByClassName","value","key","classList","toString","selectedMonth","selectedDay","selectedYear","today","getFullYear","getMonth","checkVisibility","unregisterDataSetWatcher","$watch","newValue","isNaN","parse","unregisterDateMinLimitWatcher","unregisterDateMaxLimitWatcher","unregisterDateFormatWatcher","unregisterDateDisabledDatesWatcher","isSelectableDate","nextMonth","undefined","willPrevMonthBeSelectable","prevDay","getTime","willNextMonthBeSelectable","prevMonth","selectedMonthHandle","selectedMonthNumber","setNewYear","isSelectableMaxYear","isSelectableMinYear","paginateYears","showYearsPagination","setDatepickerDay","isSelectableDay","hasOwnProperty","focus","startingYear","theNewYears","daysToPrepend","daysToAppend","paginationYears","on","$apply","e","paginationYearsNextDisabled","paginationYearsPrevDisabled","aDate","weekDay","validWeekDay","startSymbol","endSymbol","months","daysInString","map","valueOf","datepickerID","Math","floor","random","append","getElementById","find","after","$on","off","module","directive"],"mappings":";;;;;;;;;;CACC,SAAqBA,EAASC,GAE7B,YAEA,IACIC,GAAY,WAEZ,GAAID,EAAUE,YACXF,EAAUE,UAAUC,MAAM,aAC3BH,EAAUE,UAAUC,MAAM,WAC1BH,EAAUE,UAAUC,MAAM,YAC1BH,EAAUE,UAAUC,MAAM,UAC1BH,EAAUE,UAAUC,MAAM,UAC1BH,EAAUE,UAAUC,MAAM,gBAC1BH,EAAUE,UAAUC,MAAM,mBAE1B,OAAO,KAGTC,EAA6B,SAAoCC,EAAYC,EAAYC,GAOzF,MALIA,KAEFN,GAAW,GAGTA,GAGA,kDACE,wHACE,gGACE,yOACE,aACF,YACF,YACF,SACF,SACA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AAQE,GAAa8H,GAAG,aAAc,WAE5CjH,GAAY,IAGdlE,EAAQmD,QAAQE,GAAa8H,GAAG,UAAW,WAEzCjH,GAAY,IAGdlE,EAAQmD,QAAQ1B,GAAS0J,GAAG,sBAAuB3G,IAG/CtB,EAAOhB,eACRgB,EAAOqH,oBAAoBrH,EAAO0B,QAClC1B,EAAOqE,oBAAoBrE,EAAO0B,KAAO,IAAM1B,EAAO4C,YAAc,IAAM5C,EAAO6C,OAElFF,KAGE3C,EAAOf,eACRe,EAAOoH,oBAAoBpH,EAAO0B,QAClC1B,EAAOsE,oBAAoBtE,EAAO0B,KAAO,IAAM1B,EAAO4C,YAAc,IAAM5C,EAAO6C,OAElFC,IAIF9C,EAAOsH,cAActH,EAAO0B,MAE5BF,EAAexB,EAAO4C,YAAa5C,EAAO0B,MAC1C1B,EAAO+F,gBAAkBA,EAEzB/F,EAAOuJ,IAAI,WAAY,WAErBvD,IACAK,IACAC,IACAC,IACAC,IACAjG,EAAUiJ,IAAI,6BACd1M,EAAQmD,QAAQE,GAAaqJ,IAAI,iCACjC1M,EAAQmD,QAAQ1B,GAASiL,IAAI,sBAAuBlI,OA4B5DxE,GAAQ2M,OAAO,uBACDC,UAAU,cAAe,UAAW,WAAY,UAAW,UAAW,eAAgB,WAAYpL,KAChHxB,QAASC","file":"angular-datepicker.min.js"} \ No newline at end of file diff --git a/package.json b/package.json index eec619f..9cdf802 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angularjs-datepicker", - "version": "2.1.18", + "version": "2.1.19", "description": "A datepicker directive for angularjs.", "homepage": "http://720kb.github.io/angular-datepicker", "keywords": [