The Events Calendar - Version 3.4.1

Version Description

  • Fixed an issue where jQuery UI Datepicker could overwrite our datepicker before its noconflict method was called
Download this release

Release Info

Developer jazbek
Plugin Icon The Events Calendar
Version 3.4.1
Comparing to
See all releases

Code changes from version 3.4 to 3.4.1

Files changed (36) hide show
  1. lib/the-events-calendar.class.php +1 -1
  2. readme.txt +5 -1
  3. resources/tribe-events.js +8 -6
  4. resources/tribe-events.min.js +12 -13
  5. the-events-calendar.php +1 -1
  6. vendor/bootstrap-datepicker/.hgignore +0 -3
  7. vendor/bootstrap-datepicker/.hgtags +0 -9
  8. vendor/bootstrap-datepicker/.jshintrc +0 -20
  9. vendor/bootstrap-datepicker/.travis.yml +0 -8
  10. vendor/bootstrap-datepicker/CHANGELOG.md +0 -89
  11. vendor/bootstrap-datepicker/CONTRIBUTING.md +0 -40
  12. vendor/bootstrap-datepicker/LICENSE +0 -202
  13. vendor/bootstrap-datepicker/README.md +0 -13
  14. vendor/bootstrap-datepicker/bower.json +0 -9
  15. vendor/bootstrap-datepicker/build/build.less +0 -67
  16. vendor/bootstrap-datepicker/build/build3.less +0 -71
  17. vendor/bootstrap-datepicker/build/build_standalone.less +0 -61
  18. vendor/bootstrap-datepicker/build/build_standalone3.less +0 -63
  19. vendor/bootstrap-datepicker/composer.json +0 -20
  20. vendor/bootstrap-datepicker/docs/Makefile +0 -153
  21. vendor/bootstrap-datepicker/docs/REAME.md +0 -8
  22. vendor/bootstrap-datepicker/docs/_static/demo_head.png +0 -0
  23. vendor/bootstrap-datepicker/docs/conf.py +0 -248
  24. vendor/bootstrap-datepicker/docs/events.rst +0 -48
  25. vendor/bootstrap-datepicker/docs/i18n.rst +0 -28
  26. vendor/bootstrap-datepicker/docs/index.rst +0 -122
  27. vendor/bootstrap-datepicker/docs/keyboard.rst +0 -27
  28. vendor/bootstrap-datepicker/docs/make.bat +0 -190
  29. vendor/bootstrap-datepicker/docs/markup.rst +0 -50
  30. vendor/bootstrap-datepicker/docs/methods.rst +0 -156
  31. vendor/bootstrap-datepicker/docs/options.rst +0 -191
  32. vendor/bootstrap-datepicker/js/bootstrap-datepicker.js +4 -4
  33. vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.el.js +12 -12
  34. vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl-BE.js +16 -16
  35. vendor/bootstrap-datepicker/less/datepicker.less +0 -257
  36. vendor/bootstrap-datepicker/less/datepicker3.less +0 -252
lib/the-events-calendar.class.php CHANGED
@@ -22,7 +22,7 @@ if ( !class_exists( 'TribeEvents' ) ) {
22
const VENUE_POST_TYPE = 'tribe_venue';
23
const ORGANIZER_POST_TYPE = 'tribe_organizer';
24
const PLUGIN_DOMAIN = 'tribe-events-calendar';
25
- const VERSION = '3.4';
26
const FEED_URL = 'http://tri.be/category/products/feed/';
27
const INFO_API_URL = 'http://wpapi.org/api/plugin/the-events-calendar.php';
28
const WP_PLUGIN_URL = 'http://wordpress.org/extend/plugins/the-events-calendar/';
22
const VENUE_POST_TYPE = 'tribe_venue';
23
const ORGANIZER_POST_TYPE = 'tribe_organizer';
24
const PLUGIN_DOMAIN = 'tribe-events-calendar';
25
+ const VERSION = '3.4.1';
26
const FEED_URL = 'http://tri.be/category/products/feed/';
27
const INFO_API_URL = 'http://wpapi.org/api/plugin/the-events-calendar.php';
28
const WP_PLUGIN_URL = 'http://wordpress.org/extend/plugins/the-events-calendar/';
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: events, calendar, event, venue, organizer, dates, date, google maps, confe
5
Donate link: http://m.tri.be/29
6
Requires at least: 3.6
7
Tested up to: 3.8
8
- Stable tag: 3.4
9
License: GPLv2 or later
10
License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
@@ -295,6 +295,10 @@ At no point during the 3.0 lifecycle will the major version change. But you can
295
296
3.x is a complete overhaul of the plugin, and as a result we're starting the changelog fresh. For release notes from the 2.x lifecycle, see <a href="http://m.tri.be/k">our 2.x release notes.</a>
297
298
= 3.4 =
299
300
* Complete overhaul and update to new fork of datepicker for all views! Corrects day 31 empty next month bug and adds many new features for future expansion (Thanks to Eric on the forums for the first report on this!)
5
Donate link: http://m.tri.be/29
6
Requires at least: 3.6
7
Tested up to: 3.8
8
+ Stable tag: 3.4.1
9
License: GPLv2 or later
10
License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
295
296
3.x is a complete overhaul of the plugin, and as a result we're starting the changelog fresh. For release notes from the 2.x lifecycle, see <a href="http://m.tri.be/k">our 2.x release notes.</a>
297
298
+ = 3.4.1 =
299
+
300
+ * Fixed an issue where jQuery UI Datepicker could overwrite our datepicker before its noconflict method was called
301
+
302
= 3.4 =
303
304
* Complete overhaul and update to new fork of datepicker for all views! Corrects day 31 empty next month bug and adds many new features for future expansion (Thanks to Eric on the forums for the first report on this!)
resources/tribe-events.js CHANGED
@@ -205,8 +205,13 @@ try {
205
$(this).addClass('tribe-events-loading').css('opacity', .25)
206
};
207
208
if ( "undefined" !== typeof tribe_bootstrap_datepicker_strings && tribe_bootstrap_datepicker_strings.dates != null )
209
- $.fn.datepicker.dates['en'] = tribe_bootstrap_datepicker_strings.dates;
210
211
})(jQuery);
212
@@ -751,12 +756,9 @@ try {
751
* dbug = tribe_debug
752
*/
753
754
- $(document).ready(function () {
755
756
- if ( "undefined" !== typeof $.fn.datepicker ) {
757
- var datepicker = $.fn.datepicker.noConflict();
758
- $.fn.bootstrapDatepicker = datepicker;
759
- }
760
761
dbug && debug.info('TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js.');
762
205
$(this).addClass('tribe-events-loading').css('opacity', .25)
206
};
207
208
+ if ( "undefined" !== typeof $.fn.datepicker ) {
209
+ var datepicker = $.fn.datepicker.noConflict();
210
+ $.fn.bootstrapDatepicker = datepicker;
211
+ }
212
+
213
if ( "undefined" !== typeof tribe_bootstrap_datepicker_strings && tribe_bootstrap_datepicker_strings.dates != null )
214
+ $.fn.bootstrapDatepicker.dates['en'] = tribe_bootstrap_datepicker_strings.dates;
215
216
})(jQuery);
217
756
* dbug = tribe_debug
757
*/
758
759
760
+
761
+ $(document).ready(function () {
762
763
dbug && debug.info('TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js.');
764
resources/tribe-events.min.js CHANGED
@@ -1,18 +1,17 @@
1
var tribe_ev=window.tribe_ev||{},tribe_debug=!1,tribe_storage,t_fail,t_uid;try{t_uid=new Date,(tribe_storage=window.localStorage).setItem(t_uid,t_uid),t_fail=tribe_storage.getItem(t_uid)!=t_uid,tribe_storage.removeItem(t_uid),t_fail&&(tribe_storage=!1)}catch(e$12){}
2
- (function(f,g){f.fn.tribe_clear_form=function(){return this.each(function(){var b=this.type,e=this.tagName.toLowerCase();if("form"==e)return f(":input",this).tribe_clear_form();"text"==b||"password"==b||"textarea"==e?this.value="":"checkbox"==b||"radio"==b?this.checked=!1:"select"==e&&(this.selectedIndex=0)})};f.fn.tribe_has_attr=function(b){return this.attr(b)!==g};f.fn.tribe_spin=function(){f(".tribe-events-ajax-loading:first").clone().addClass("tribe-events-active-spinner").prependTo("#tribe-events-content");
3
- f(this).addClass("tribe-events-loading").css("opacity",0.25)};"undefined"!==typeof tribe_bootstrap_datepicker_strings&&null!=tribe_bootstrap_datepicker_strings.dates&&(f.fn.datepicker.dates.en=tribe_bootstrap_datepicker_strings.dates)})(jQuery);
4
- (function(f,g,b,e,m){tribe_ev.fn={current_date:function(){var a=new Date,b=a.getDate(),d=a.getMonth()+1,a=a.getFullYear();10>b&&(b="0"+b);10>d&&(d="0"+d);return a+"-"+d+"-"+b},disable_inputs:function(a,c){b(a).find(c).prop("disabled",!0);b(a).find(".select2-container").length&&b(a).find(".select2-container").each(function(){var a=b(this).attr("id");b("#"+a).select2("disable")})},disable_empty:function(a,c){b(a).find(c).each(function(){""===b(this).val()&&b(this).prop("disabled",!0)})},enable_inputs:function(a,
5
- c){b(a).find(c).prop("disabled",!1);b(a).find(".select2-container").length&&b(a).find(".select2-container").each(function(){var a=b(this).attr("id");b("#"+a).select2("enable")})},get_base_url:function(){var a="",c=b("#tribe-events-header");c.length&&(a=c.data("baseurl"));return a},get_category:function(){return tribe_ev.fn.is_category()?b("#tribe-events").data("category"):""},get_day:function(){var a="";b("#tribe-bar-date").length&&(a=b("#tribe-bar-date-day").val());e&&debug.info('TEC Debug: tribe_ev.fn.get_day returned this date: "'+
6
a+'".');return a},get_params:function(){return location.search.substr(1)},get_url_param:function(a){return decodeURIComponent((RegExp("[?|&]"+a+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null},in_params:function(a,b){return a.toLowerCase().indexOf(b)},is_category:function(){var a=b("#tribe-events");return a.length&&a.tribe_has_attr("data-category")&&""!==a.data("category")?!0:!1},parse_string:function(a){var b={};a.replace(/([^&=]+)=?([^&]*)(?:&+|$)/g,function(a,
7
- e,n){(b[e]=b[e]||[]).push(n)});e&&debug.info("TEC Debug: tribe_ev.fn.parse_string returned this map:",b);return b},pre_ajax:function(a){a&&"function"===typeof a&&a()},serialize:function(a,c){tribe_ev.fn.enable_inputs(a,c);tribe_ev.fn.disable_empty(a,c);var d=b(a).serialize();tribe_ev.fn.disable_inputs(a,c);e&&d&&debug.info('TEC Debug: tribe_ev.fn.serialize returned these params: "'+d);return d},set_form:function(a){var c=b("body"),d=b("#tribe-bar-form");c.addClass("tribe-reset-on");d.length&&d.tribe_clear_form();
8
a=tribe_ev.fn.parse_string(a);b.each(a,function(a,c){if("action"!==a){var d=decodeURI(a),e="";if(1===c.length)b('[name="'+d+'"]').is('input[type="text"], input[type="hidden"]')?b('[name="'+d+'"]').val(c):b('[name="'+d+'"][value="'+c+'"]').is(":checkbox, :radio")?b('[name="'+d+'"][value="'+c+'"]').prop("checked",!0):b('[name="'+d+'"]').is("select")&&b('select[name="'+d+'"] option[value="'+c+'"]').attr("selected",!0);else for(var f=0;f<c.length;f++)e=b('[name="'+d+'"][value="'+c[f]+'"]'),e.is(":checkbox, :radio")?
9
- e.prop("checked",!0):b('select[name="'+d+'"] option[value="'+c[f]+'"]').attr("selected",!0)}});c.removeClass("tribe-reset-on");e&&debug.info('TEC Debug: tribe_ev.fn.set_form fired these params: "'+a)},setup_ajax_timer:function(a){clearTimeout(tribe_ev.state.ajax_timer);tribe_ev.tests.reset_on()||(tribe_ev.state.ajax_timer=setTimeout(function(){a()},500),e&&debug.info('TEC Debug: tribe_ev.fn.setup_ajax_timer fired with a timeout of "500" ms'))},snap:function(a,c,d){b(c).on("click",d,function(c){c.preventDefault();
10
b("html, body").animate({scrollTop:b(a).offset().top-120},{duration:0})})},tooltips:function(){b("#tribe-events").on("mouseenter",'div[id*="tribe-events-event-"], div[id*="tribe-events-daynum-"]:has(a), div.event-is-recurring',function(){var a=0,c=b(this),d=b("body");d.hasClass("events-gridview")?a=c.find("a").outerHeight()+18:d.is(".single-tribe_events, .events-list, .tribe-events-day")?a=c.outerHeight()+12:d.is(".tribe-events-photo")&&(a=c.outerHeight()+10);c.parents(".tribe-events-calendar-widget").length&&
11
- (a=c.outerHeight()-6);d.hasClass("tribe-events-week")||c.find(".tribe-events-tooltip").css("bottom",a).show()}).on("mouseleave",'div[id*="tribe-events-event-"], div[id*="tribe-events-daynum-"]:has(a), div.event-is-recurring',function(){b(this).find(".tribe-events-tooltip").stop(!0,!1).fadeOut(200)})},update_picker:function(a){var c=b("#tribe-bar-date");b().bootstrapDatepicker&&c.length?(f.attachEvent&&!f.addEventListener&&(c.bootstrapDatepicker("remove"),c.val(""),c.bootstrapDatepicker(tribe_ev.data.datepicker_opts)),
12
- c.bootstrapDatepicker("setDate",a),e&&debug.info('TEC Debug: tribe_ev.fn.update_picker sent "'+a+'" to the boostrapDatepicker')):c.length?(c.val(a),e&&debug.warn('TEC Debug: tribe_ev.fn.update_picker sent "'+a+'" to '+c)):e&&debug.warn('TEC Debug: tribe_ev.fn.update_picker couldnt send "'+a+'" to any object.')},url_path:function(a){return a.split("?")[0]}};tribe_ev.tests={live_ajax:function(){var a=b("#tribe-events");return a.length&&a.tribe_has_attr("data-live_ajax")&&"1"==a.data("live_ajax")?!0:
13
- !1},map_view:function(){return"undefined"!==typeof GeoLoc&&GeoLoc.map_view?!0:!1},no_bar:function(){return b("body").is(".tribe-bar-is-disabled")},pushstate:!(!f.history||!history.pushState),reset_on:function(){return b("body").is(".tribe-reset-on")},starting_delim:function(){return-1!=tribe_ev.state.cur_url.indexOf("?")?"&":"?"}};tribe_ev.data={ajax_response:{},base_url:"",cur_url:tribe_ev.fn.url_path(g.URL),cur_date:tribe_ev.fn.current_date(),datepicker_opts:{},initial_url:tribe_ev.fn.url_path(g.URL),
14
params:tribe_ev.fn.get_params()};tribe_ev.events={};tribe_ev.state={ajax_running:!1,ajax_timer:0,category:"",date:"",do_string:!1,filters:!1,filter_cats:!1,initial_load:!0,paged:1,page_title:"",params:{},popping:!1,pushstate:!0,pushcount:0,recurrence:!1,url_params:{},view:"",view_target:""}})(window,document,jQuery,tribe_debug);
15
- (function(f,g,b,e,m,a,c,d,k){b(g).ready(function(){function f(){b(".tribe-events-list").length&&b(".tribe-events-list-separator-month").prev(".vevent").addClass("tribe-event-end-month")}if("undefined"!==typeof b.fn.datepicker){var h=b.fn.datepicker.noConflict();b.fn.bootstrapDatepicker=h}k&&debug.info("TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js.");var l=b("#tribe-events"),h=b("#tribe-events-header");l.removeClass("tribe-no-js");c.category=a.get_category();e.base_url=
16
- a.get_base_url();c.page_title=g.title;(l=a.get_url_param("tribe_event_display"))?c.view=l:h.length&&h.tribe_has_attr("data-view")&&(c.view=h.data("view"));c.view&&k&&debug.time("Tribe JS Init Timer");b(".tribe-events-calendar-widget").not(":eq(0)").hide();a.tooltips();f();b(".tribe-events-list .tribe-events-notices").length&&b("#tribe-events-header .tribe-events-sub-nav").empty();b(".tribe-events-list").length&&b(".tribe-events-list-separator-month").prev(".vevent").addClass("tribe-event-end-month");
17
- b(m).on("tribe_ev_ajaxSuccess",function(){b(".tribe-events-active-spinner").remove();f()});k&&(debug.groupCollapsed("TEC Debug: Browser and events settings information:"),debug.log('User agent reported as: "'+navigator.userAgent),debug.log('Live ajax returned its state as: "'+d.live_ajax()),c.view&&debug.log('Tribe js detected the view to be: "'+c.view),debug.log('Supports pushstate: "'+d.pushstate),debug.groupEnd(),debug.info("TEC Debug: tribe-events.js successfully loaded"))})})(window,document,
18
- jQuery,tribe_ev.data,tribe_ev.events,tribe_ev.fn,tribe_ev.state,tribe_ev.tests,tribe_debug);
1
var tribe_ev=window.tribe_ev||{},tribe_debug=!1,tribe_storage,t_fail,t_uid;try{t_uid=new Date,(tribe_storage=window.localStorage).setItem(t_uid,t_uid),t_fail=tribe_storage.getItem(t_uid)!=t_uid,tribe_storage.removeItem(t_uid),t_fail&&(tribe_storage=!1)}catch(e$12){}
2
+ (function(e,f){e.fn.tribe_clear_form=function(){return this.each(function(){var b=this.type,f=this.tagName.toLowerCase();if("form"==f)return e(":input",this).tribe_clear_form();"text"==b||"password"==b||"textarea"==f?this.value="":"checkbox"==b||"radio"==b?this.checked=!1:"select"==f&&(this.selectedIndex=0)})};e.fn.tribe_has_attr=function(b){return this.attr(b)!==f};e.fn.tribe_spin=function(){e(".tribe-events-ajax-loading:first").clone().addClass("tribe-events-active-spinner").prependTo("#tribe-events-content");
3
+ e(this).addClass("tribe-events-loading").css("opacity",0.25)};if("undefined"!==typeof e.fn.datepicker){var b=e.fn.datepicker.noConflict();e.fn.bootstrapDatepicker=b}"undefined"!==typeof tribe_bootstrap_datepicker_strings&&null!=tribe_bootstrap_datepicker_strings.dates&&(e.fn.bootstrapDatepicker.dates.en=tribe_bootstrap_datepicker_strings.dates)})(jQuery);
4
+ (function(e,f,b,g,m){tribe_ev.fn={current_date:function(){var a=new Date,b=a.getDate(),d=a.getMonth()+1,a=a.getFullYear();10>b&&(b="0"+b);10>d&&(d="0"+d);return a+"-"+d+"-"+b},disable_inputs:function(a,c){b(a).find(c).prop("disabled",!0);b(a).find(".select2-container").length&&b(a).find(".select2-container").each(function(){var a=b(this).attr("id");b("#"+a).select2("disable")})},disable_empty:function(a,c){b(a).find(c).each(function(){""===b(this).val()&&b(this).prop("disabled",!0)})},enable_inputs:function(a,
5
+ c){b(a).find(c).prop("disabled",!1);b(a).find(".select2-container").length&&b(a).find(".select2-container").each(function(){var a=b(this).attr("id");b("#"+a).select2("enable")})},get_base_url:function(){var a="",c=b("#tribe-events-header");c.length&&(a=c.data("baseurl"));return a},get_category:function(){return tribe_ev.fn.is_category()?b("#tribe-events").data("category"):""},get_day:function(){var a="";b("#tribe-bar-date").length&&(a=b("#tribe-bar-date-day").val());g&&debug.info('TEC Debug: tribe_ev.fn.get_day returned this date: "'+
6
a+'".');return a},get_params:function(){return location.search.substr(1)},get_url_param:function(a){return decodeURIComponent((RegExp("[?|&]"+a+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null},in_params:function(a,b){return a.toLowerCase().indexOf(b)},is_category:function(){var a=b("#tribe-events");return a.length&&a.tribe_has_attr("data-category")&&""!==a.data("category")?!0:!1},parse_string:function(a){var b={};a.replace(/([^&=]+)=?([^&]*)(?:&+|$)/g,function(a,
7
+ e,n){(b[e]=b[e]||[]).push(n)});g&&debug.info("TEC Debug: tribe_ev.fn.parse_string returned this map:",b);return b},pre_ajax:function(a){a&&"function"===typeof a&&a()},serialize:function(a,c){tribe_ev.fn.enable_inputs(a,c);tribe_ev.fn.disable_empty(a,c);var d=b(a).serialize();tribe_ev.fn.disable_inputs(a,c);g&&d&&debug.info('TEC Debug: tribe_ev.fn.serialize returned these params: "'+d);return d},set_form:function(a){var c=b("body"),d=b("#tribe-bar-form");c.addClass("tribe-reset-on");d.length&&d.tribe_clear_form();
8
a=tribe_ev.fn.parse_string(a);b.each(a,function(a,c){if("action"!==a){var d=decodeURI(a),e="";if(1===c.length)b('[name="'+d+'"]').is('input[type="text"], input[type="hidden"]')?b('[name="'+d+'"]').val(c):b('[name="'+d+'"][value="'+c+'"]').is(":checkbox, :radio")?b('[name="'+d+'"][value="'+c+'"]').prop("checked",!0):b('[name="'+d+'"]').is("select")&&b('select[name="'+d+'"] option[value="'+c+'"]').attr("selected",!0);else for(var f=0;f<c.length;f++)e=b('[name="'+d+'"][value="'+c[f]+'"]'),e.is(":checkbox, :radio")?
9
+ e.prop("checked",!0):b('select[name="'+d+'"] option[value="'+c[f]+'"]').attr("selected",!0)}});c.removeClass("tribe-reset-on");g&&debug.info('TEC Debug: tribe_ev.fn.set_form fired these params: "'+a)},setup_ajax_timer:function(a){clearTimeout(tribe_ev.state.ajax_timer);tribe_ev.tests.reset_on()||(tribe_ev.state.ajax_timer=setTimeout(function(){a()},500),g&&debug.info('TEC Debug: tribe_ev.fn.setup_ajax_timer fired with a timeout of "500" ms'))},snap:function(a,c,d){b(c).on("click",d,function(c){c.preventDefault();
10
b("html, body").animate({scrollTop:b(a).offset().top-120},{duration:0})})},tooltips:function(){b("#tribe-events").on("mouseenter",'div[id*="tribe-events-event-"], div[id*="tribe-events-daynum-"]:has(a), div.event-is-recurring',function(){var a=0,c=b(this),d=b("body");d.hasClass("events-gridview")?a=c.find("a").outerHeight()+18:d.is(".single-tribe_events, .events-list, .tribe-events-day")?a=c.outerHeight()+12:d.is(".tribe-events-photo")&&(a=c.outerHeight()+10);c.parents(".tribe-events-calendar-widget").length&&
11
+ (a=c.outerHeight()-6);d.hasClass("tribe-events-week")||c.find(".tribe-events-tooltip").css("bottom",a).show()}).on("mouseleave",'div[id*="tribe-events-event-"], div[id*="tribe-events-daynum-"]:has(a), div.event-is-recurring',function(){b(this).find(".tribe-events-tooltip").stop(!0,!1).fadeOut(200)})},update_picker:function(a){var c=b("#tribe-bar-date");b().bootstrapDatepicker&&c.length?(e.attachEvent&&!e.addEventListener&&(c.bootstrapDatepicker("remove"),c.val(""),c.bootstrapDatepicker(tribe_ev.data.datepicker_opts)),
12
+ c.bootstrapDatepicker("setDate",a),g&&debug.info('TEC Debug: tribe_ev.fn.update_picker sent "'+a+'" to the boostrapDatepicker')):c.length?(c.val(a),g&&debug.warn('TEC Debug: tribe_ev.fn.update_picker sent "'+a+'" to '+c)):g&&debug.warn('TEC Debug: tribe_ev.fn.update_picker couldnt send "'+a+'" to any object.')},url_path:function(a){return a.split("?")[0]}};tribe_ev.tests={live_ajax:function(){var a=b("#tribe-events");return a.length&&a.tribe_has_attr("data-live_ajax")&&"1"==a.data("live_ajax")?!0:
13
+ !1},map_view:function(){return"undefined"!==typeof GeoLoc&&GeoLoc.map_view?!0:!1},no_bar:function(){return b("body").is(".tribe-bar-is-disabled")},pushstate:!(!e.history||!history.pushState),reset_on:function(){return b("body").is(".tribe-reset-on")},starting_delim:function(){return-1!=tribe_ev.state.cur_url.indexOf("?")?"&":"?"}};tribe_ev.data={ajax_response:{},base_url:"",cur_url:tribe_ev.fn.url_path(f.URL),cur_date:tribe_ev.fn.current_date(),datepicker_opts:{},initial_url:tribe_ev.fn.url_path(f.URL),
14
params:tribe_ev.fn.get_params()};tribe_ev.events={};tribe_ev.state={ajax_running:!1,ajax_timer:0,category:"",date:"",do_string:!1,filters:!1,filter_cats:!1,initial_load:!0,paged:1,page_title:"",params:{},popping:!1,pushstate:!0,pushcount:0,recurrence:!1,url_params:{},view:"",view_target:""}})(window,document,jQuery,tribe_debug);
15
+ (function(e,f,b,g,m,a,c,d,h){b(f).ready(function(){function e(){b(".tribe-events-list").length&&b(".tribe-events-list-separator-month").prev(".vevent").addClass("tribe-event-end-month")}h&&debug.info("TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js.");var k=b("#tribe-events"),l=b("#tribe-events-header");k.removeClass("tribe-no-js");c.category=a.get_category();g.base_url=a.get_base_url();c.page_title=f.title;(k=a.get_url_param("tribe_event_display"))?c.view=k:l.length&&l.tribe_has_attr("data-view")&&
16
+ (c.view=l.data("view"));c.view&&h&&debug.time("Tribe JS Init Timer");b(".tribe-events-calendar-widget").not(":eq(0)").hide();a.tooltips();e();b(".tribe-events-list .tribe-events-notices").length&&b("#tribe-events-header .tribe-events-sub-nav").empty();b(".tribe-events-list").length&&b(".tribe-events-list-separator-month").prev(".vevent").addClass("tribe-event-end-month");b(m).on("tribe_ev_ajaxSuccess",function(){b(".tribe-events-active-spinner").remove();e()});h&&(debug.groupCollapsed("TEC Debug: Browser and events settings information:"),
17
+ debug.log('User agent reported as: "'+navigator.userAgent),debug.log('Live ajax returned its state as: "'+d.live_ajax()),c.view&&debug.log('Tribe js detected the view to be: "'+c.view),debug.log('Supports pushstate: "'+d.pushstate),debug.groupEnd(),debug.info("TEC Debug: tribe-events.js successfully loaded"))})})(window,document,jQuery,tribe_ev.data,tribe_ev.events,tribe_ev.fn,tribe_ev.state,tribe_ev.tests,tribe_debug);
the-events-calendar.php CHANGED
@@ -2,7 +2,7 @@
2
/*
3
Plugin Name: The Events Calendar
4
Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
5
- Version: 3.4
6
Author: Modern Tribe, Inc.
7
Author URI: http://m.tri.be/1x
8
Text Domain: tribe-events-calendar
2
/*
3
Plugin Name: The Events Calendar
4
Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
5
+ Version: 3.4.1
6
Author: Modern Tribe, Inc.
7
Author URI: http://m.tri.be/1x
8
Text Domain: tribe-events-calendar
vendor/bootstrap-datepicker/.hgignore DELETED
@@ -1,3 +0,0 @@
1
- instrumented/
2
- tests/coverage.html
3
- docs/_build
vendor/bootstrap-datepicker/.hgtags DELETED
@@ -1,9 +0,0 @@
1
- b965e03abfcb10d66c8dad96d54d6f8e1c5d8501 v1.0.0
2
- 7a490672b362af7640bbeb68553a0e0a5a95cb9e v1.0.1
3
- 9a730557f14d79c2ce2d28eacb24bdf52ac2e042 1.0.2-rc.1
4
- 62604d506e5ba9d85ee6c2d86723b9b3d817e7bd 1.0.2-rc.1.1
5
- f6211e251c021331decc16bfbcf25577dd354ef4 1.0.2-rc.2
6
- 493d2332f0cb7f2dd308c442920da86063ff2e0f 1.0.2
7
- 77a6755dc3df3ada745024648535562587fab630 1.1.0
8
- fe9e4106def42741adba1606245ab0eab32acb55 1.1.1
9
- e37ab4f7d0d30a45ee80a7019fd2bcf8c1765de7 1.1.2
vendor/bootstrap-datepicker/.jshintrc DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "jquery": true,
3
- "browser": true,
4
-
5
- "eqeqeq": true,
6
- "freeze": true,
7
- //"indent": 4, // when we move to spaces
8
- "latedef": true,
9
- "undef": true,
10
- "unused": true,
11
- "immed": true,
12
- "trailing": true,
13
- "maxcomplexity": 50, // Can we get this under 5?
14
- //"maxlen": 120,
15
-
16
- "-W014": false, // Bad line breaking before ? (in tertiary operator)
17
- "-W065": false, // Missing radix parameter to parseInt (defaults to 10)
18
- "-W069": false, // Literal accessor is better written in dot notation
19
- "-W100": false // Silently deleted characters (in locales)
20
- }
vendor/bootstrap-datepicker/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- install:
2
- - npm install -g jshint
3
- before_script:
4
- - cd ./tests
5
- - echo "new Date().toString();" | phantomjs
6
- script:
7
- - jshint ../js/bootstrap-datepicker.js ../js/locales/*.js
8
- - phantomjs run-qunit.js tests.html
vendor/bootstrap-datepicker/CHANGELOG.md DELETED
@@ -1,89 +0,0 @@
1
- Changelog
2
- =========
3
-
4
- 1.1.2
5
- ----------
6
-
7
- Clicking the clear button now triggers the input's `change` and datepicker's `changeDate` events.
8
- Fixed a bug that broke the event-attached `format` function.
9
-
10
-
11
- 1.1.1
12
- ----------
13
-
14
- Fixes a bug when setting startDate or endDate during initialization.
15
-
16
-
17
- 1.1.0
18
- ----------
19
-
20
- New features:
21
- * Date range picker.
22
- * Data API / noConflict.
23
- * `getDate` and `setDate` methods.
24
- * `format` method for events; this allows you to easily format the `date` associated with the event.
25
- * New options:
26
- * `beforeShowDay` option: a dev-provided function that can enable/disable dates, add css classes, and add tooltips.
27
- * `clearBtn`, a button for resetting the picker.
28
-
29
- Internal changes:
30
- * Cleaner and more reliable method for extracting options from all potential sources (defaults, locale overrides, data-attrs, and instantiation options, in that order). This also populates `$.fn.datepicker.defaults` with the default values, and uses this hash as the actual source of defaults, meaning you can globally change the default value for a given option.
31
-
32
- Bugs squashed:
33
- * Resolved a conflict with bootstrap's native `.switch` class.
34
- * Fixed a bug with components where they would be stuck with a stale value when editing the value manually.
35
- * The `date` attributes on events are now local dates instead of internal UTC dates.
36
- * Separate `Date` objects for internal selected and view date references.
37
- * Clicking multiple times inside inputs no longer hides the picker.
38
-
39
- Minor improvements:
40
- * Better text color for highlighted "today" date.
41
- * Last year in decade view now marked as "new" instead of "old".
42
- * Formats now properly handle trailing separators.
43
-
44
- Locale changes:
45
- * Added Albanian, Estonian, and Macedonian
46
- * Added `weekStart` for Russian
47
- * Added `weekStart` and `format` for Finnish
48
-
49
- Potentially backward-incompatible changes:
50
- * Options revamp:
51
- * This fixes bugs in the correlation of some data-attrs to their associated option names. If you use `data-date-weekstart`, `data-date-startdate`, or `data-date-enddate`, you should update these to `data-date-week-start`, `data-date-start-date`, or `data-date-end-date`, respectively.
52
- * All options for datepicker are now properties on the datepicker's `o` property; options are no longer stored on the Datepicker instance itself. If you have code that accesses options stored on the datepicker instance (eg, `datepicker.format`), you will need to update it to access those options via the `o` property (eg, `datepicker.o.format`). "Raw" options are available via the `_o` property.
53
-
54
- 1.0.2
55
- ----------
56
-
57
- Small optimizations release
58
-
59
- * Reduced the number of times `update` is called on initialization.
60
- * Datepicker now detaches the picker dropdown when it is hidden, and appends it when shown. This removes the picker from the DOM when it is not in use.
61
- * No longer listens to document/window events unless picker is visible.
62
-
63
- v1.0.1
64
- ------
65
-
66
- * Support for [Bower](http://twitter.github.com/bower/)
67
- * Component pickers are now aligned under the input, not the add-on element.
68
- * Japanese locale now has "today" and "format".
69
- * "remove" method removes `.data().date` if the datepicker is on a non-input.
70
- * Events on initialized elements are no longer blocked from bubbling up the DOM (jQuery.live et al can now catch the events).
71
- * Component triggers now include `.btn` in addition to `.add-on`.
72
- * Updates to README contents.
73
-
74
- v1.0.0
75
- ------
76
-
77
- Initial release:
78
-
79
- * format option
80
- * weekStart option
81
- * calendarWeeks option
82
- * startDate / endDate options
83
- * daysOfWeekDisabled option
84
- * autoclose option
85
- * startView / mnViewMode options
86
- * todayBtn / todayHighlight options
87
- * keyboardNavigation option
88
- * language option
89
- * forceParse option
vendor/bootstrap-datepicker/CONTRIBUTING.md DELETED
@@ -1,40 +0,0 @@
1
- # Contributing
2
-
3
- ## Support requests
4
-
5
- The issue tracker is not the place for support requests. If you get stuck with bootstrap-datepicker, it's very likely that the fine folks at [StackOverflow](http://stackoverflow.com/) will be able to help you; simply describe the problem you're having and provide them a link to the repo (so they know what code you're using). Another option is to post to the [bootstrap-datepicker google group](https://groups.google.com/group/bootstrap-datepicker).
6
-
7
- ## Issues
8
-
9
- If you've found a bug in bootstrap-datepicker, we want to know about it! However, please keep the following in mind:
10
-
11
- * This is not the bootstrap-datepicker from [eyecon.ro](http://www.eyecon.ro/bootstrap-datepicker/). Stefan provided the initial code for bootstrap-datepicker, but this repo is divergent from his codebase. Please make sure you're using either the latest tagged version or the latest master from https://github.com/eternicode/bootstrap-datepicker/ .
12
- * A working example of the bug you've found is *much* easier to work with than a description alone. If possible, please provide a link to a demonstration of the bug, perhaps using http://jsfiddle.net/ .
13
- * Finally, it's possible someone else has already reported the same bug you have. Please search the issue tracker for similar issues before posting your own. Thanks!
14
-
15
- ## Pull Requests
16
-
17
- Patches welcome!
18
-
19
- For all cases, you should have your own fork of the repo.
20
-
21
- To submit a pull request for a **new feature**:
22
-
23
- 1. Run the tests. Every pull request for a new feature should have an accompanying unit test and docs changes. See the README in the `tests/` and `docs/` directories for details.
24
- 2. Create a new branch off of the `master` branch for your feature. This is particularly helpful when you want to submit multiple pull requests.
25
- 3. Add a test (or multiple tests) for your feature. Again, see `tests/README.md`.
26
- 4. Add your new feature, making the test pass.
27
- 5. Push to your fork and submit the pull request!
28
-
29
- To submit a **bug fix**:
30
-
31
- 1. Create a new branch off of the `master` branch.
32
- 2. Add a test that demonstrates the bug.
33
- 3. Make the test pass.
34
- 4. Push to your fork and submit the pull request!
35
-
36
- To submit a **documentation fix**:
37
-
38
- 1. Create a new branch off of the `master` branch.
39
- 2. Add your documentation fixes (no tests required).
40
- 3. Push to your fork and submit the pull request!
vendor/bootstrap-datepicker/LICENSE DELETED
@@ -1,202 +0,0 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright [yyyy] [name of copyright owner]
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.
vendor/bootstrap-datepicker/README.md DELETED
@@ -1,13 +0,0 @@
1
- # bootstrap-datepicker
2
-
3
- This is a fork of Stefan Petre's [original code](http://www.eyecon.ro/bootstrap-datepicker/);
4
- thanks go to him for getting this thing started!
5
-
6
- Please note that this fork is not used on Stefan's page, nor is it maintained or contributed to by him.
7
-
8
- Versions are incremented according to [semver](http://semver.org/).
9
-
10
- * [Online Demo](http://eternicode.github.io/bootstrap-datepicker/)
11
- * [Online Docs](http://bootstrap-datepicker.readthedocs.org/) (ReadTheDocs.com)
12
- * [Google Group](https://groups.google.com/group/bootstrap-datepicker/)
13
- * [Travis CI ![Build Status](https://travis-ci.org/eternicode/bootstrap-datepicker.png?branch=master)](https://travis-ci.org/eternicode/bootstrap-datepicker)
vendor/bootstrap-datepicker/bower.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "name": "bootstrap-datepicker",
3
- "version": "1.1.1",
4
- "main": ["js/bootstrap-datepicker.js", "css/datepicker.css", "css/datepicker3.css"],
5
- "dependencies": {
6
- "jquery" : ">=1.7.1",
7
- "bootstrap" : ">=3.0 <4.0"
8
- }
9
- }
vendor/bootstrap-datepicker/build/build.less DELETED
@@ -1,67 +0,0 @@
1
- // Datepicker .less buildfile. Includes select mixins/variables from bootstrap
2
- // and imports the included datepicker.less to output a minimal datepicker.css
3
- //
4
- // Usage:
5
- // lessc build.less datepicker.css
6
- //
7
- // Variables and mixins copied from bootstrap 2.0.2
8
-
9
- // Variables
10
- @grayLight: #999;
11
- @grayLighter: #eee;
12
- @white: #fff;
13
- @linkColor: #08c;
14
- @btnPrimaryBackground: @linkColor;
15
- @orange: #f89406;
16
- @baseLineHeight: 18px;
17
-
18
- // Mixins
19
-
20
- // Border Radius
21
- .border-radius(@radius: 5px) {
22
- -webkit-border-radius: @radius;
23
- -moz-border-radius: @radius;
24
- border-radius: @radius;
25
- }
26
-
27
- // Button backgrounds
28
- .buttonBackground(@startColor, @endColor) {
29
- .gradientBar(@startColor, @endColor);
30
- .reset-filter();
31
- &:hover, &:active, &.active, &.disabled, &[disabled] {
32
- background-color: @endColor;
33
- }
34
- &:active,
35
- &.active {
36
- background-color: darken(@endColor, 10%) e("\9");
37
- }
38
- }
39
-
40
- // Reset filters for IE
41
- .reset-filter() {
42
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
43
- }
44
-
45
- // Gradient Bar Colors for buttons and alerts
46
- .gradientBar(@primaryColor, @secondaryColor) {
47
- #gradient > .vertical(@primaryColor, @secondaryColor);
48
- border-color: @secondaryColor @secondaryColor darken(@secondaryColor, 15%);
49
- border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
50
- }
51
-
52
- // Gradients
53
- #gradient {
54
- .vertical(@startColor: #555, @endColor: #333) {
55
- background-color: mix(@startColor, @endColor, 60%);
56
- background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
57
- background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10
58
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
59
- background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
60
- background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
61
- background-image: linear-gradient(top, @startColor, @endColor); // The standard
62
- background-repeat: repeat-x;
63
- filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down
64
- }
65
- }
66
-
67
- @import "../less/datepicker.less";
vendor/bootstrap-datepicker/build/build3.less DELETED
@@ -1,71 +0,0 @@
1
- // Datepicker .less buildfile. Includes select mixins/variables from bootstrap
2
- // and imports the included datepicker.less to output a minimal datepicker.css
3
- //
4
- // Usage:
5
- // lessc build.less datepicker.css
6
- //
7
- // Variables and mixins copied from bootstrap 2.0.2
8
-
9
- // Variables
10
- @gray: lighten(#000, 33.5%); // #555
11
- @gray-light: lighten(#000, 60%); // #999
12
- @gray-lighter: lighten(#000, 93.5%); // #eee
13
-
14
- @input-border: #ccc;
15
-
16
- @brand-primary: #428bca;
17
- //@btn-default-color: #333;
18
- //@btn-default-bg: #fff;
19
- //@btn-default-border: #ccc;
20
- @btn-primary-color: #fff;
21
- @btn-primary-bg: @brand-primary;
22
- @btn-primary-border: darken(@btn-primary-bg, 5%);
23
-
24
-
25
- @btn-link-disabled-color: @gray-light;
26
-
27
- @input-group-addon-bg: @gray-lighter;
28
- @input-group-addon-border-color: @input-border;
29
-
30
- @font-size-base: 14px;
31
- @line-height-base: 1.428571429; // 20/14
32
- @line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
33
-
34
-
35
- // Mixins
36
-
37
- // Button variants
38
- .button-variant(@color; @background; @border) {
39
- color: @color;
40
- background-color: @background;
41
- border-color: @border;
42
-
43
- &:hover,
44
- &:focus,
45
- &:active,
46
- &.active,
47
- .open .dropdown-toggle& {
48
- color: @color;
49
- background-color: darken(@background, 8%);
50
- border-color: darken(@border, 12%);
51
- }
52
- &:active,
53
- &.active,
54
- .open .dropdown-toggle& {
55
- background-image: none;
56
- }
57
- &.disabled,
58
- &[disabled],
59
- fieldset[disabled] & {
60
- &,
61
- &:hover,
62
- &:focus,
63
- &:active,
64
- &.active {
65
- background-color: @background;
66
- border-color: @border
67
- }
68
- }
69
- }
70
-
71
- @import "../less/datepicker3.less";
vendor/bootstrap-datepicker/build/build_standalone.less DELETED
@@ -1,61 +0,0 @@
1
- // Datepicker standalone .less buildfile. Includes all necessary mixins/variables/rules from bootstrap
2
- // and imports the included datepicker.less to output a minimal standalone datepicker.css
3
- //
4
- // Usage:
5
- // lessc build_standalone.less datepicker.css
6
- //
7
- // Variables, mixins, and rules copied from bootstrap 2.0.2
8
-
9
- @import "build.less";
10
-
11
- // Dropdown css
12
-
13
- @zindexDropdown: 1000;
14
- @grayDark: #333;
15
- @baseLineHeight: 20px;
16
- @tableBackground: transparent; // overall background-color
17
- @dropdownBackground: @white;
18
- @dropdownBorder: rgba(0,0,0,.2);
19
- @dropdownLinkColor: @grayDark;
20
- @dropdownLinkColorHover: @white;
21
- @dropdownLinkBackgroundHover: @linkColor;
22
-
23
- // Drop shadows
24
- .box-shadow(@shadow) {
25
- -webkit-box-shadow: @shadow;
26
- -moz-box-shadow: @shadow;
27
- box-shadow: @shadow;
28
- }
29
-
30
- // The dropdown menu (ul)
31
- // ----------------------
32
- .datepicker.dropdown-menu {
33
- position: absolute;
34
- top: 100%;
35
- left: 0;
36
- z-index: @zindexDropdown;
37
- float: left;
38
- display: none; // none by default, but block on "open" of the menu
39
- min-width: 160px;
40
- list-style: none;
41
- background-color: @dropdownBackground;
42
- border: 1px solid #ccc;
43
- border: 1px solid rgba(0,0,0,.2);
44
- .border-radius(5px);
45
- .box-shadow(0 5px 10px rgba(0,0,0,.2));
46
- -webkit-background-clip: padding-box;
47
- -moz-background-clip: padding;
48
- background-clip: padding-box;
49
- *border-right-width: 2px;
50
- *border-bottom-width: 2px;
51
-
52
- // Normally inherited from bootstrap's `body`
53
- color: #333333;
54
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
55
- font-size:13px;
56
- line-height: @baseLineHeight;
57
-
58
- th, td {
59
- padding: 4px 5px;
60
- }
61
- }
vendor/bootstrap-datepicker/build/build_standalone3.less DELETED
@@ -1,63 +0,0 @@
1
- // Datepicker standalone .less buildfile. Includes all necessary mixins/variables/rules from bootstrap
2
- // and imports the included datepicker.less to output a minimal standalone datepicker.css
3
- //
4
- // Usage:
5
- // lessc build_standalone.less datepicker.css
6
- //
7
- // Variables, mixins, and rules copied from bootstrap 2.0.2
8
-
9
- @import "build3.less";
10
-
11
- // Dropdown css
12
-
13
- @zindex-dropdown: 1000;
14
- @gray-dark: #333;
15
- @line-height-base: 1.428571429; // 20/14
16
- @table-bg: transparent; // overall background-color
17
- @dropdown-bg: #fff;
18
- @dropdow-border: rgba(0,0,0,.15);
19
- @dropdown-link-color: @gray-dark;
20
- @dropdown-link-hover-color: #fff;
21
- @component-active-bg: @brand-primary;
22
- @dropdown-link-active-bg: @component-active-bg;
23
- @dropdown-link-hover-bg: @dropdown-link-active-bg;
24
-
25
- // Drop shadows
26
- .box-shadow(@shadow) {
27
- -webkit-box-shadow: @shadow;
28
- -moz-box-shadow: @shadow;
29
- box-shadow: @shadow;
30
- }
31
-
32
- // The dropdown menu (ul)
33
- // ----------------------
34
- .datepicker.dropdown-menu {
35
- position: absolute;
36
- top: 100%;
37
- left: 0;
38
- z-index: @zindex-dropdown;
39
- float: left;
40
- display: none; // none by default, but block on "open" of the menu
41
- min-width: 160px;
42
- list-style: none;
43
- background-color: @dropdown-bg;
44
- border: 1px solid #ccc;
45
- border: 1px solid rgba(0,0,0,.2);
46
- border-radius: 5px;
47
- .box-shadow(0 5px 10px rgba(0,0,0,.2));
48
- -webkit-background-clip: padding-box;
49
- -moz-background-clip: padding;
50
- background-clip: padding-box;
51
- *border-right-width: 2px;
52
- *border-bottom-width: 2px;
53
-
54
- // Normally inherited from bootstrap's `body`
55
- color: #333333;
56
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
57
- font-size:13px;
58
- line-height: @line-height-base;
59
-
60
- th, td {
61
- padding: 4px 5px;
62
- }
63
- }
vendor/bootstrap-datepicker/composer.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "name": "eternicode/bootstrap-datepicker",
3
- "type": "component",
4
- "require": {
5
- "robloach/component-installer": "*",
6
- "components/bootstrap" : ">=3.0, <4.0",
7
- "components/jquery": ">=1.7.1"
8
- },
9
- "extra": {
10
- "component": {
11
- "scripts": [
12
- "js/bootstrap-datepicker.js"
13
- ],
14
- "styles": [
15
- "css/datepicker.css",
16
- "css/datepicker3.css"
17
- ]
18
- }
19
- }
20
- }
vendor/bootstrap-datepicker/docs/Makefile DELETED
@@ -1,153 +0,0 @@
1
- # Makefile for Sphinx documentation
2
- #
3
-
4
- # You can set these variables from the command line.
5
- SPHINXOPTS =
6
- SPHINXBUILD = sphinx-build
7
- PAPER =
8
- BUILDDIR = _build
9
-
10
- # Internal variables.
11
- PAPEROPT_a4 = -D latex_paper_size=a4
12
- PAPEROPT_letter = -D latex_paper_size=letter
13
- ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
14
- # the i18n builder cannot share the environment and doctrees with the others
15
- I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
16
-
17
- .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
18
-
19
- help:
20
- @echo "Please use \`make <target>' where <target> is one of"
21
- @echo " html to make standalone HTML files"
22
- @echo " dirhtml to make HTML files named index.html in directories"
23
- @echo " singlehtml to make a single large HTML file"
24
- @echo " pickle to make pickle files"
25
- @echo " json to make JSON files"
26
- @echo " htmlhelp to make HTML files and a HTML help project"
27
- @echo " qthelp to make HTML files and a qthelp project"
28
- @echo " devhelp to make HTML files and a Devhelp project"
29
- @echo " epub to make an epub"
30
- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
31
- @echo " latexpdf to make LaTeX files and run them through pdflatex"
32
- @echo " text to make text files"
33
- @echo " man to make manual pages"
34
- @echo " texinfo to make Texinfo files"
35
- @echo " info to make Texinfo files and run them through makeinfo"
36
- @echo " gettext to make PO message catalogs"
37
- @echo " changes to make an overview of all changed/added/deprecated items"
38
- @echo " linkcheck to check all external links for integrity"
39
- @echo " doctest to run all doctests embedded in the documentation (if enabled)"
40
-
41
- clean:
42
- -rm -rf $(BUILDDIR)/*
43
-
44
- html:
45
- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
46
- @echo
47
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
48
-
49
- dirhtml:
50
- $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
51
- @echo
52
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
53
-
54
- singlehtml:
55
- $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
56
- @echo
57
- @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
58
-
59
- pickle:
60
- $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
61
- @echo
62
- @echo "Build finished; now you can process the pickle files."
63
-
64
- json:
65
- $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
66
- @echo
67
- @echo "Build finished; now you can process the JSON files."
68
-
69
- htmlhelp:
70
- $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
71
- @echo
72
- @echo "Build finished; now you can run HTML Help Workshop with the" \
73
- ".hhp project file in $(BUILDDIR)/htmlhelp."
74
-
75
- qthelp:
76
- $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
77
- @echo
78
- @echo "Build finished; now you can run "qcollectiongenerator" with the" \
79
- ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
80
- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/bootstrap-datepicker.qhcp"
81
- @echo "To view the help file:"
82
- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/bootstrap-datepicker.qhc"
83
-
84
- devhelp:
85
- $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
86
- @echo
87
- @echo "Build finished."
88
- @echo "To view the help file:"
89
- @echo "# mkdir -p $HOME/.local/share/devhelp/bootstrap-datepicker"
90
- @echo "# ln -s $(BUILDDIR)/devhelp $HOME/.local/share/devhelp/bootstrap-datepicker"
91
- @echo "# devhelp"
92
-
93
- epub:
94
- $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
95
- @echo
96
- @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
97
-
98
- latex:
99
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
100
- @echo
101
- @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
102
- @echo "Run \`make' in that directory to run these through (pdf)latex" \
103
- "(use \`make latexpdf' here to do that automatically)."
104
-
105
- latexpdf:
106
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
107
- @echo "Running LaTeX files through pdflatex..."
108
- $(MAKE) -C $(BUILDDIR)/latex all-pdf
109
- @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
110
-
111
- text:
112
- $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
113
- @echo
114
- @echo "Build finished. The text files are in $(BUILDDIR)/text."
115
-
116
- man:
117
- $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
118
- @echo
119
- @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
120
-
121
- texinfo:
122
- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
123
- @echo
124
- @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
125
- @echo "Run \`make' in that directory to run these through makeinfo" \
126
- "(use \`make info' here to do that automatically)."
127
-
128
- info:
129
- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
130
- @echo "Running Texinfo files through makeinfo..."
131
- make -C $(BUILDDIR)/texinfo info
132
- @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
133
-
134
- gettext:
135
- $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
136
- @echo
137
- @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
138
-
139
- changes:
140
- $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
141
- @echo
142
- @echo "The overview file is in $(BUILDDIR)/changes."
143
-
144
- linkcheck:
145
- $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
146
- @echo
147
- @echo "Link check complete; look for any errors in the above output " \
148
- "or in $(BUILDDIR)/linkcheck/output.txt."
149
-
150
- doctest:
151
- $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
152
- @echo "Testing of doctests in the sources finished, look at the " \
153
- "results in $(BUILDDIR)/doctest/output.txt."
vendor/bootstrap-datepicker/docs/REAME.md DELETED
@@ -1,8 +0,0 @@
1
- Documentation
2
- =============
3
-
4
- Project documentation is built using [Sphinx docs](http://sphinx-doc.org/), which uses [ReST](http://docutils.sf.net/rst.html) for markup. This allows the docs to cover a vast amount of topics without using a thousand-line README file.
5
-
6
- Sphinx docs is pip-installable via `pip install sphinx`. Once installed, open a command line in the docs folder and run `make html`; the output files will be placed in the `_build/html/` directory, and can be browsed (locally) with any browser.
7
-
8
- The docs can also be found online at http://bootstrap-datepicker.readthedocs.org/.
vendor/bootstrap-datepicker/docs/_static/demo_head.png DELETED
Binary file
vendor/bootstrap-datepicker/docs/conf.py DELETED
@@ -1,248 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
- # bootstrap-datepicker documentation build configuration file, created by
4
- # sphinx-quickstart on Fri Aug 2 14:45:57 2013.
5
- #
6
- # This file is execfile()d with the current directory set to its containing dir.
7
- #
8
- # Note that not all possible configuration values are present in this
9
- # autogenerated file.
10
- #
11
- # All configuration values have a default; values that are commented out
12
- # serve to show the default.
13
-
14
- import sys, os
15
-
16
- # The version info for the project you're documenting, acts as replacement for
17
- # |version| and |release|, also used in various other places throughout the
18
- # built documents.
19
- #
20
- # The short X.Y version.
21
- #version = ''
22
- # The full version, including alpha/beta/rc tags.
23
- #release = ''
24
-
25
-
26
-
27
- # If extensions (or modules to document with autodoc) are in another directory,
28
- # add these directories to sys.path here. If the directory is relative to the
29
- # documentation root, use os.path.abspath to make it absolute, like shown here.
30
- #sys.path.insert(0, os.path.abspath('.'))
31
-
32
- # -- General configuration -----------------------------------------------------
33
-
34
- # If your documentation needs a minimal Sphinx version, state it here.
35
- #needs_sphinx = '1.0'
36
-
37
- primary_domain = 'js'
38
-
39
- # Add any Sphinx extension module names here, as strings. They can be extensions
40
- # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
41
- extensions = []
42
-
43
- # Add any paths that contain templates here, relative to this directory.
44
- templates_path = ['_templates']
45
-
46
- # The suffix of source filenames.
47
- source_suffix = '.rst'
48
-
49
- # The encoding of source files.
50
- #source_encoding = 'utf-8-sig'
51
-
52
- # The master toctree document.
53
- master_doc = 'index'
54
-
55
- # General information about the project.
56
- project = u'bootstrap-datepicker'
57
- copyright = u'2013, eternicode'
58
-
59
- # The language for content autogenerated by Sphinx. Refer to documentation
60
- # for a list of supported languages.
61
- #language = None
62
-
63
- # There are two options for replacing |today|: either, you set today to some
64
- # non-false value, then it is used:
65
- #today = ''
66
- # Else, today_fmt is used as the format for a strftime call.
67
- #today_fmt = '%B %d, %Y'
68
-
69
- # List of patterns, relative to source directory, that match files and
70
- # directories to ignore when looking for source files.
71
- exclude_patterns = ['_build']
72
-
73
- # The reST default role (used for this markup: `text`) to use for all documents.
74
- #default_role = None
75
-
76
- # If true, '()' will be appended to :func: etc. cross-reference text.
77
- #add_function_parentheses = True
78
-
79
- # If true, the current module name will be prepended to all description
80
- # unit titles (such as .. function::).
81
- #add_module_names = True
82
-
83
- # If true, sectionauthor and moduleauthor directives will be shown in the
84
- # output. They are ignored by default.
85
- #show_authors = False
86
-
87
- # The name of the Pygments (syntax highlighting) style to use.
88
- pygments_style = 'sphinx'
89
-
90
- highlight_language = 'javascript'
91
-
92
- # A list of ignored prefixes for module index sorting.
93
- #modindex_common_prefix = []
94
-
95
-
96
- # -- Options for HTML output ---------------------------------------------------
97
-
98
- # The theme to use for HTML and HTML Help pages. See the documentation for
99
- # a list of builtin themes.
100
- html_theme = 'default'
101
-
102
- # Theme options are theme-specific and customize the look and feel of a theme
103
- # further. For a list of options available for each theme, see the
104
- # documentation.
105
- #html_theme_options = {}
106
-
107
- # Add any paths that contain custom themes here, relative to this directory.
108
- #html_theme_path = []
109
-
110
- # The name for this set of Sphinx documents. If None, it defaults to
111
- # "<project> v<release> documentation".
112
- #html_title = None
113
-
114
- # A shorter title for the navigation bar. Default is the same as html_title.
115
- #html_short_title = None
116
-
117
- # The name of an image file (relative to this directory) to place at the top
118
- # of the sidebar.
119
- #html_logo = None
120
-
121
- # The name of an image file (within the static path) to use as favicon of the
122
- # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
123
- # pixels large.
124
- #html_favicon = None
125
-
126
- # Add any paths that contain custom static files (such as style sheets) here,
127
- # relative to this directory. They are copied after the builtin static files,
128
- # so a file named "default.css" will overwrite the builtin "default.css".
129
- html_static_path = ['_static']
130
-
131
- # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
132
- # using the given strftime format.
133
- #html_last_updated_fmt = '%b %d, %Y'
134
-
135
- # If true, SmartyPants will be used to convert quotes and dashes to
136
- # typographically correct entities.
137
- #html_use_smartypants = True
138
-
139
- # Custom sidebar templates, maps document names to template names.
140
- #html_sidebars = {}
141
-
142
- # Additional templates that should be rendered to pages, maps page names to
143
- # template names.
144
- #html_additional_pages = {}
145
-
146
- # If false, no module index is generated.
147
- #html_domain_indices = True
148
-
149
- # If false, no index is generated.
150
- #html_use_index = True
151
-
152
- # If true, the index is split into individual pages for each letter.
153
- #html_split_index = False
154
-
155
- # If true, links to the reST sources are added to the pages.
156
- #html_show_sourcelink = True
157
-
158
- # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
159
- #html_show_sphinx = True
160
-
161
- # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
162
- #html_show_copyright = True
163
-
164
- # If true, an OpenSearch description file will be output, and all pages will
165
- # contain a <link> tag referring to it. The value of this option must be the
166
- # base URL from which the finished HTML is served.
167
- #html_use_opensearch = ''
168
-
169
- # This is the file name suffix for HTML files (e.g. ".xhtml").
170
- #html_file_suffix = None
171
-
172
- # Output file base name for HTML help builder.
173
- htmlhelp_basename = 'bootstrap-datepickerdoc'
174
-
175
-
176
- # -- Options for LaTeX output --------------------------------------------------
177
-
178
- latex_elements = {
179
- # The paper size ('letterpaper' or 'a4paper').
180
- #'papersize': 'letterpaper',
181
-
182
- # The font size ('10pt', '11pt' or '12pt').
183
- #'pointsize': '10pt',
184
-
185
- # Additional stuff for the LaTeX preamble.
186
- #'preamble': '',
187
- }
188
-
189
- # Grouping the document tree into LaTeX files. List of tuples
190
- # (source start file, target name, title, author, documentclass [howto/manual]).
191
- latex_documents = [
192
- ('index', 'bootstrap-datepicker.tex', u'bootstrap-datepicker Documentation',
193
- u'eternicode', 'manual'),
194
- ]
195
-
196
- # The name of an image file (relative to this directory) to place at the top of
197
- # the title page.
198
- #latex_logo = None
199
-
200
- # For "manual" documents, if this is true, then toplevel headings are parts,
201
- # not chapters.
202
- #latex_use_parts = False
203
-
204
- # If true, show page references after internal links.
205
- #latex_show_pagerefs = False
206
-
207
- # If true, show URL addresses after external links.
208
- #latex_show_urls = False
209
-
210
- # Documents to append as an appendix to all manuals.
211
- #latex_appendices = []
212
-
213
- # If false, no module index is generated.
214
- #latex_domain_indices = True
215
-
216
-
217
- # -- Options for manual page output --------------------------------------------
218
-
219
- # One entry per manual page. List of tuples
220
- # (source start file, name, description, authors, manual section).
221
- man_pages = [
222
- ('index', 'bootstrap-datepicker', u'bootstrap-datepicker Documentation',
223
- [u'eternicode'], 1)
224
- ]
225
-
226
- # If true, show URL addresses after external links.
227
- #man_show_urls = False
228
-
229
-
230
- # -- Options for Texinfo output ------------------------------------------------
231
-
232
- # Grouping the document tree into Texinfo files. List of tuples
233
- # (source start file, target name, title, author,
234
- # dir menu entry, description, category)
235
- texinfo_documents = [
236
- ('index', 'bootstrap-datepicker', u'bootstrap-datepicker Documentation',
237
- u'eternicode', 'bootstrap-datepicker', 'One line description of project.',
238
- 'Miscellaneous'),
239
- ]
240
-
241
- # Documents to append as an appendix to all manuals.
242
- #texinfo_appendices = []
243
-
244
- # If false, no module index is generated.
245
- #texinfo_domain_indices = True
246
-
247
- # How to display URL addresses: 'footnote', 'no', or 'inline'.
248
- #texinfo_show_urls = 'footnote'
vendor/bootstrap-datepicker/docs/events.rst DELETED
@@ -1,48 +0,0 @@
1
- Events
2
- ======
3
-
4
- Datepicker triggers a number of events in certain circumstances. All events have extra data attached to the event object that is passed to any event handlers::
5
-
6
- $('.datepicker').datepicker()
7
- .on(picker_event, function(e){
8
- # `e` here contains the extra attributes
9
- });
10
-
11
- * ``date``: the relevant Date object, in local timezone. For a multidate picker, this will be the latest date picked.
12
- * ``dates``: an Array of Date objects, in local timezone, when using a multidate picker.
13
- * ``format([ix], [format])``: a function to make formatting ``date`` easier. ``ix`` can be the index of a Date in the ``dates`` array to format; if absent, the last date selected will be used. ``format`` can be any format string that datepicker supports; if absent, the format set on the datepicker will be used. Both arguments are optional.
14
-
15
-
16
- show
17
- ----
18
-
19
- Fired when the date picker is displayed.
20
-
21
-
22
- hide
23
- ----
24
-
25
- Fired when the date picker is hidden.
26
-
27
-
28
- clearDate
29
- ---------
30
-
31
- Fired when the date is cleared, normally when the "clear" button (enabled with the ``clearBtn`` option) is pressed.
32
-
33
-
34
- changeDate
35
- ----------
36
-
37
- Fired when the date is changed.
38
-
39
-
40
- changeYear
41
- ----------
42
-
43
- Fired when the *view* year is changed from decade view.
44
-
45
- changeMonth
46
- -----------
47
-
48
- Fired when the *view* month is changed from year view.
vendor/bootstrap-datepicker/docs/i18n.rst DELETED
@@ -1,28 +0,0 @@
1
- I18N
2
- ====
3
-
4
- The plugin supports i18n for the month and weekday names and the ``weekStart`` option. The default is English ("en"); other available translations are avilable in the ``js/locales/`` directory, simply include your desired locale after the plugin. To add more languages, simply add a key to ``$.fn.datepicker.dates``, before calling ``.datepicker()``. Example::
5
-
6
- $.fn.datepicker.dates['en'] = {
7
- days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
8
- daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
9
- daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"],
10
- months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
11
- monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
12
- today: "Today",
13
- clear: "Clear"
14
- };
15
-
16
- Right-to-left languages may also include ``rtl: true`` to make the calendar display appropriately.
17
-
18
- If your browser (or those of your users) is displaying characters wrong, chances are the browser is loading the javascript file with a non-unicode encoding. Simply add ``charset="UTF-8"`` to your ``script`` tag:
19
-
20
- .. code-block:: html
21
-
22
- <script type="text/javascript" src="bootstrap-datepicker.XX.js" charset="UTF-8"></script>
23
-
24
- ::
25
-
26
- $('.datepicker').datepicker({
27
- language: 'XX'
28
- });
vendor/bootstrap-datepicker/docs/index.rst DELETED
@@ -1,122 +0,0 @@
1
- bootstrap-datepicker
2
- ====================
3
-
4
- Bootstrap-datepicker provides a flexible datepicker widget in the Twitter bootstrap style.
5
-
6
- .. figure:: _static/demo_head.png
7
- :align: center
8
-
9
- This is a fork of Stefan Petre's `original code <http://www.eyecon.ro/bootstrap-datepicker/>`_; thanks go to him for getting this thing started!
10
-
11
- Please note that this fork is not used on Stefan's page at this time, nor is it maintained or contributed to by him.
12
-
13
- Versions are incremented according to `semver <http://semver.org/>`_.
14
-
15
- `Online Demo <http://eternicode.github.io/bootstrap-datepicker/>`_
16
-
17
-
18
- Requirements
19
- ------------
20
-
21
- * `Bootstrap`_ 2.0.4+
22
- * `jQuery`_ 1.7.1+
23
-
24
- .. _Bootstrap: http://twitter.github.com/bootstrap/
25
- .. _jQuery: http://jquery.com/
26
-
27
- These are the specific versions bootstrap-datepicker is tested against (``js`` files) and built against (``css`` files). Use other versions at your own risk.
28
-
29
-
30
- Dependencies
31
- ------------
32
-
33
- Requires bootstrap's dropdown component (``dropdowns.less``) for some styles, and bootstrap's sprites (``sprites.less`` and associated images) for arrows.
34
-
35
- A standalone .css file (including necessary dropdown styles and alternative, text-based arrows) can be generated by running ``build/build_standalone.less`` through the ``lessc`` compiler::
36
-
37
- $ lessc build/build_standalone.less datepicker.css
38
-
39
-
40
- Usage
41
- -----
42
-
43
- Call the datepicker via javascript::
44
-
45
- $('.datepicker').datepicker()
46
-
47
-
48
- Data API
49
- ^^^^^^^^
50
-
51
- As with bootstrap's own plugins, datepicker provides a data-api that can be used to instantiate datepickers without the need for custom javascript. For most datepickers, simply set ``data-provide="datepicker"`` on the element you want to initialize, and it will be intialized lazily, in true bootstrap fashion. For inline datepickers, use ``data-provide="datepicker-inline"``; these will be immediately initialized on page load, and cannot be lazily loaded.
52
-
53
- .. code-block:: html
54
-
55
- <input data-provide="datepicker">
56
-
57
- You can disable datepicker's data-api in the same way as you would disable other bootstrap plugins::
58
-
59
- $(document).off('.datepicker.data-api');
60
-
61
-
62
- Configuration
63
- ^^^^^^^^^^^^^
64
-
65
- :doc:`options` are passed to the ``datepicker`` function via an options hash at instantiation::
66
-
67
- $('.datepicker').datepicker({
68
- format: 'mm/dd/yyyy',
69
- startDate: '-3d'
70
- })
71
-
72
- Most options may be provided as data-attributes on the target element:
73
-
74
- .. code-block:: html
75
-
76
- <input class="datepicker" data-date-format="mm/dd/yyyy">
77
-
78
- ::
79
-
80
- $('.datepicker').datepicker({
81
- startDate: '-3d'
82
- })
83
-
84
- Defaults for all options can be modified directly by changing values in the ``$.fn.datepicker.defaults`` hash::
85
-
86
- $.fn.datepicker.defaults.format = "mm/dd/yyyy";
87
- $('.datepicker').datepicker({
88
- startDate: '-3d'
89
- })
90
-
91
-
92
- No Conflict mode
93
- ^^^^^^^^^^^^^^^^
94
-
95
- ``$.fn.datepicker.noConflict`` provides a way to avoid conflict with other jQuery datepicker plugins::
96
-
97
- var datepicker = $.fn.datepicker.noConflict(); // return $.fn.datepicker to previously assigned value
98
- $.fn.bootstrapDP = datepicker; // give $().bootstrapDP the bootstrap-datepicker functionality
99
-
100
-
101
-
102
- Table of Contents
103
- -----------------
104
-
105
- .. toctree::
106
-
107
- markup
108
- options
109
- methods
110
- events
111
- keyboard
112
- i18n
113
-
114
-
115
-
116
- Indices and tables
117
- ==================
118
-
119
- * :ref:`genindex`
120
- * :ref:`modindex`
121
- * :ref:`search`
122
-
vendor/bootstrap-datepicker/docs/keyboard.rst DELETED
@@ -1,27 +0,0 @@
1
- Keyboard support
2
- ================
3
-
4
- The datepicker includes keyboard navigation. The "focused date" is kept track of and highlighted (as with mouse hover) during keyboard nav, and is cleared when a date is toggled or the picker is hidden.
5
-
6
- up, down, left, right arrow keys
7
- --------------------------------
8
-
9
- By themselves, left/right will move focus backward/forward one day, up/down will move focus back/forward one week.
10
-
11
- With the shift key, up/left will move focus backward one month, down/right will move focus forward one month.
12
-
13
- With the ctrl key, up/left will move focus backward one year, down/right will move focus forward one year.
14
-
15
- Shift+ctrl behaves the same as ctrl -- that is, it does not change both month and year simultaneously, only the year.
16
-
17
- enter
18
- -----
19
-
20
- When the picker is visible, enter will toggle the focused date (if there is one). When the picker is not visible, enter will have normal effects -- submitting the current form, etc.
21
-
22
- When the date is deselected, the ``clearDate`` event is triggered; otherwise, the ``changeDate`` event is triggered. If ``autoclose`` is enabled, the picker will be hidden after selection or deselection.
23
-
24
- escape
25
- ------
26
-
27
- The escape key can be used to clear the focused date and hide and re-show the datepicker; hiding the picker is necessary if the user wants to manually edit the value.
vendor/bootstrap-datepicker/docs/make.bat DELETED
@@ -1,190 +0,0 @@
1
- @ECHO OFF
2
-
3
- REM Command file for Sphinx documentation
4
-
5
- if "%SPHINXBUILD%" == "" (
6
- set SPHINXBUILD=sphinx-build
7
- )
8
- set BUILDDIR=_build
9
- set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
10
- set I18NSPHINXOPTS=%SPHINXOPTS% .
11
- if NOT "%PAPER%" == "" (
12
- set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
13
- set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
14
- )
15
-
16
- if "%1" == "" goto help
17
-
18
- if "%1" == "help" (
19
- :help
20
- echo.Please use `make ^<target^>` where ^<target^> is one of
21
- echo. html to make standalone HTML files
22
- echo. dirhtml to make HTML files named index.html in directories
23
- echo. singlehtml to make a single large HTML file
24
- echo. pickle to make pickle files
25
- echo. json to make JSON files
26
- echo. htmlhelp to make HTML files and a HTML help project
27
- echo. qthelp to make HTML files and a qthelp project
28
- echo. devhelp to make HTML files and a Devhelp project
29
- echo. epub to make an epub
30
- echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
31
- echo. text to make text files
32
- echo. man to make manual pages
33
- echo. texinfo to make Texinfo files
34
- echo. gettext to make PO message catalogs
35
- echo. changes to make an overview over all changed/added/deprecated items
36
- echo. linkcheck to check all external links for integrity
37
- echo. doctest to run all doctests embedded in the documentation if enabled
38
- goto end
39
- )
40
-
41
- if "%1" == "clean" (
42
- for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
43
- del /q /s %BUILDDIR%\*
44
- goto end
45
- )
46
-
47
- if "%1" == "html" (
48
- %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
49
- if errorlevel 1 exit /b 1
50
- echo.
51
- echo.Build finished. The HTML pages are in %BUILDDIR%/html.
52
- goto end
53
- )
54
-
55
- if "%1" == "dirhtml" (
56
- %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
57
- if errorlevel 1 exit /b 1
58
- echo.
59
- echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
60
- goto end
61
- )
62
-
63
- if "%1" == "singlehtml" (
64
- %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
65
- if errorlevel 1 exit /b 1
66
- echo.
67
- echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
68
- goto end
69
- )
70
-
71
- if "%1" == "pickle" (
72
- %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
73
- if errorlevel 1 exit /b 1
74
- echo.
75
- echo.Build finished; now you can process the pickle files.
76
- goto end
77
- )
78
-
79
- if "%1" == "json" (
80
- %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
81
- if errorlevel 1 exit /b 1
82
- echo.
83
- echo.Build finished; now you can process the JSON files.
84
- goto end
85
- )
86
-
87
- if "%1" == "htmlhelp" (
88
- %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
89
- if errorlevel 1 exit /b 1
90
- echo.
91
- echo.Build finished; now you can run HTML Help Workshop with the ^
92
- .hhp project file in %BUILDDIR%/htmlhelp.
93
- goto end
94
- )
95
-
96
- if "%1" == "qthelp" (
97
- %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
98
- if errorlevel 1 exit /b 1
99
- echo.
100
- echo.Build finished; now you can run "qcollectiongenerator" with the ^
101
- .qhcp project file in %BUILDDIR%/qthelp, like this:
102
- echo.^> qcollectiongenerator %BUILDDIR%\qthelp\bootstrap-datepicker.qhcp
103
- echo.To view the help file:
104
- echo.^> assistant -collectionFile %BUILDDIR%\qthelp\bootstrap-datepicker.ghc
105
- goto end
106
- )
107
-
108
- if "%1" == "devhelp" (
109
- %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
110
- if errorlevel 1 exit /b 1
111
- echo.
112
- echo.Build finished.
113
- goto end
114
- )
115
-
116
- if "%1" == "epub" (
117
- %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
118
- if errorlevel 1 exit /b 1
119
- echo.
120
- echo.Build finished. The epub file is in %BUILDDIR%/epub.
121
- goto end
122
- )
123
-
124
- if "%1" == "latex" (
125
- %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
126
- if errorlevel 1 exit /b 1
127
- echo.
128
- echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
129
- goto end
130
- )
131
-
132
- if "%1" == "text" (
133
- %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
134
- if errorlevel 1 exit /b 1
135
- echo.
136
- echo.Build finished. The text files are in %BUILDDIR%/text.
137
- goto end
138
- )
139
-
140
- if "%1" == "man" (
141
- %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
142
- if errorlevel 1 exit /b 1
143
- echo.
144
- echo.Build finished. The manual pages are in %BUILDDIR%/man.
145
- goto end
146
- )
147
-
148
- if "%1" == "texinfo" (
149
- %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
150
- if errorlevel 1 exit /b 1
151
- echo.
152
- echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
153
- goto end
154
- )
155
-
156
- if "%1" == "gettext" (
157
- %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
158
- if errorlevel 1 exit /b 1
159
- echo.
160
- echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
161
- goto end
162
- )
163
-
164
- if "%1" == "changes" (
165
- %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
166
- if errorlevel 1 exit /b 1
167
- echo.
168
- echo.The overview file is in %BUILDDIR%/changes.
169
- goto end
170
- )
171
-
172
- if "%1" == "linkcheck" (
173
- %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
174
- if errorlevel 1 exit /b 1
175
- echo.
176
- echo.Link check complete; look for any errors in the above output ^
177
- or in %BUILDDIR%/linkcheck/output.txt.
178
- goto end
179
- )
180
-
181
- if "%1" == "doctest" (
182
- %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
183
- if errorlevel 1 exit /b 1
184
- echo.
185
- echo.Testing of doctests in the sources finished, look at the ^
186
- results in %BUILDDIR%/doctest/output.txt.
187
- goto end
188
- )
189
-
190
- :end
vendor/bootstrap-datepicker/docs/markup.rst DELETED
@@ -1,50 +0,0 @@
1
- Markup
2
- =======
3
-
4
- The following are examples of supported markup. On their own, these will not provide a datepicker widget; you will need to instantiate the datepicker on the markup.
5
-
6
-
7
- input
8
- -----
9
-
10
- The simplest case: focusing the input (clicking or tabbing into it) will show the picker.
11
-
12
- .. code-block:: html
13
-
14
- <input value="02-16-2012">
15
-
16
- component
17
- ---------
18
-
19
- Adding the ``date`` class to an ``input-append`` or ``input-prepend`` bootstrap component will allow the ``add-on`` elements to trigger the picker.
20
-
21
- .. code-block:: html
22
-
23
- <div class="input-append date">
24
- <input value="12-02-2012">
25
- <span class="add-on"><i class="icon-th"></i></span>
26
- </div>
27
-
28
-
29
- date-range
30
- ----------
31
-
32
- Using the ``input-daterange`` construct with multiple child inputs will instantiate one picker per input and link them together to allow selecting ranges.
33
-
34
- .. code-block:: html
35
-
36
- <div class="input-daterange">
37
- <input value="2012-04-05" />
38
- <span class="add-on">to</span>
39
- <input value="2012-04-07" />
40
- </div>
41
-
42
-
43
- inline or embedded
44
- ------------------
45
-
46
- Instantiating the datepicker on a simple div will give an embedded picker that is always visible.
47
-
48
- .. code-block:: html
49
-
50
- <div></div>
vendor/bootstrap-datepicker/docs/methods.rst DELETED
@@ -1,156 +0,0 @@
1
- Methods
2
- =======
3
-
4
- Methods are called on a datepicker by call the ``datepicker`` function with a string first argument, followed by any arguments the method takes::
5
-
6
- $('.datepicker').datepicker('method', arg1, arg2);
7
-
8
-
9
- remove
10
- ------
11
-
12
- Arguments: None
13
-
14
- Remove the datepicker. Removes attached events, internal attached objects, and added HTML elements.
15
-
16
-
17
- show
18
- ----
19
-
20
- Arguments: None
21
-
22
- Show the picker.
23
-
24
-
25
- hide
26
- ----
27
-
28
- Arguments: None
29
-
30
- Hide the picker.
31
-
32
-
33
- update
34
- ------
35
-
36
- Arguments:
37
-
38
- * date (String|Date, optional)
39
-
40
- Update the datepicker with given argument or the current input value.
41
-
42
- If ``date`` is provided and is a Date object, it is assumed to be a "local" date object, and will be converted to UTC for internal use.
43
-
44
- ::
45
-
46
- $('.datepicker').datepicker('update');
47
- $('.datepicker').datepicker('update', '2011-03-05');
48
- $('.datepicker').datepicker('update', new Date(2011, 2, 5));
49
-
50
-
51
- setDate
52
- -------
53
-
54
- Arguments:
55
-
56
- * date (Date)
57
-
58
- Sets the internal date. ``date`` is assumed to be a "local" date object, and will be converted to UTC for internal use.
59
-
60
-
61
- setUTCDate
62
- ----------
63
-
64
- Arguments:
65
-
66
- * date (Date)
67
-
68
- Sets the internal date. ``date`` is assumed to be a UTC date object, and will not be converted.
69
-
70
-
71
- setDates
72
- --------
73
-
74
- Arguments:
75
-
76
- * date[, date[, ...]] (Date)
77
-
78
- Sets the internal date list. Each ``date`` is assumed to be a "local" date object, and will be converted to UTC for internal use. For use with multidate pickers.
79
-
80
-
81
- setUTCDates
82
- -----------
83
-
84
- Arguments:
85
-
86
- * date[, date[, ...]] (Date)
87
-
88
- Sets the internal date list. Each ``date`` is assumed to be a UTC date object, and will not be converted. For use with multidate pickers.
89
-
90
-
91
- getDate
92
- -------
93
-
94
- Arguments: None
95
-
96
- Returns a localized date object representing the internal date object of the first datepicker in the selection. For multidate pickers, returns the latest date selected.
97
-
98
-
99
- getUTCDate
100
- ----------
101
-
102
- Arguments: None
103
-
104
- Returns the internal UTC date object, as-is and unconverted to local time, of the first datepicker in the selection. For multidate pickers, returns the latest date selected.
105
-
106
-
107
- getDates
108
- --------
109
-
110
- Arguments: None
111
-
112
- Returns a list of localized date objects representing the internal date objects of the first datepicker in the selection. For use with multidate pickers.
113
-
114
-
115
- getUTCDates
116
- -----------
117
-
118
- Arguments: None
119
-
120
- Returns the internal list of UTC date objects, as they are and unconverted to local time, of the first datepicker in the selection. For use with multidate pickers.
121
-
122
-
123
- setStartDate
124
- ------------
125
-
126
- Arguments:
127
-
128
- * startDate (Date)
129
-
130
- Sets a new lower date limit on the datepicker. See :ref:`startdate` for valid values.
131
-
132
- Omit startDate (or provide an otherwise falsey value) to unset the limit.
133
-
134
-
135
- setEndDate
136
- ----------
137
-
138
- Arguments:
139
-
140
- * endDate (Date)
141
-
142
- Sets a new upper date limit on the datepicker. See :ref:`enddate` for valid values.
143
-
144
- Omit endDate (or provide an otherwise falsey value) to unset the limit.
145
-
146
-
147
- setDaysOfWeekDisabled
148
- ---------------------
149
-
150
- Arguments:
151
-
152
- * daysOfWeekDisabled (String|Array)
153
-
154
- Sets the days of week that should be disabled. See :ref:`daysofweekdisabled` for valid values.
155
-
156
- Omit daysOfWeekDisabled (or provide an otherwise falsey value) to unset the disabled days.
vendor/bootstrap-datepicker/docs/options.rst DELETED
@@ -1,191 +0,0 @@
1
- Options
2
- =======
3
-
4
- All options that take a "Date" can handle a ``Date`` object; a String formatted according to the given ``format``; or a timedelta relative to today, eg "-1d", "+6m +1y", etc, where valid units are "d" (day), "w" (week), "m" (month), and "y" (year).
5
-
6
- Most options can be provided via data-attributes. An option can be converted to a data-attribute by taking its name, replacing each uppercase letter with its lowercase equivalent preceded by a dash, and prepending "data-date-" to the result. For example, ``startDate`` would be ``data-date-start-date``, ``format`` would be ``data-date-format``, and ``daysOfWeekDisabled`` would be ``data-date-days-of-week-disabled``.
7
-
8
-
9
- autoclose
10
- ---------
11
-
12
- Boolean. Default: false
13
-
14
- Whether or not to close the datepicker immediately when a date is selected.
15
-
16
-
17
- beforeShowDay
18
- -------------
19
-
20
- Function(Date). Default: $.noop
21
-
22
- A function that takes a date as a parameter and returns one of the following values:
23
-
24
- * undefined to have no effect
25
- * A Boolean, indicating whether or not this date is selectable
26
- * A String representing additional CSS classes to apply to the date's cell
27
- * An object with the following properties:
28
-
29
- * ``enabled``: same as the Boolean value above
30
- * ``classes``: same as the String value above
31
- * ``tooltip``: a tooltip to apply to this date, via the ``title`` HTML attribute
32
-
33
-
34
- calendarWeeks
35
- -------------
36
-
37
- Boolean. Default: false
38
-
39
- Whether or not to show week numbers to the left of week rows.
40
-
41
-
42
- clearBtn
43
- --------
44
-
45
- Boolean. Default: false
46
-
47
- If true, displays a "Clear" button at the bottom of the datepicker to clear the input value. If "autoclose" is also set to true, this button will also close the datepicker.
48
-
49
-
50
- .. _daysofweekdisabled:
51
-
52
- daysOfWeekDisabled
53
- ------------------
54
-
55
- String, Array. Default: '', []
56
-
57
- Days of the week that should be disabled. Values are 0 (Sunday) to 6 (Saturday). Multiple values should be comma-separated. Example: disable weekends: ``'0,6'`` or ``[0,6]``.
58
-
59
-
60
- .. _enddate:
61
-
62
- endDate
63
- -------
64
-
65
- Date. Default: End of time
66
-
67
- The latest date that may be selected; all later dates will be disabled.
68
-
69
-
70
- forceParse
71
- ----------
72
-