• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/www/

Lines Matching defs:datepicker

3 * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.effects.core.js, jquery.effects.blind.js, jquery.effects.bounce.js, jquery.effects.clip.js, jquery.effects.drop.js, jquery.effects.explode.js, jquery.effects.fade.js, jquery.effects.fold.js, jquery.effects.highlight.js, jquery.effects.pulsate.js, jquery.effects.scale.js, jquery.effects.shake.js, jquery.effects.slide.js, jquery.effects.transfer.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.tabs.js
6898 $.extend($.ui, { datepicker: { version: "1.8.24" } });
6900 var PROP_NAME = 'datepicker';
6905 Use the singleton instance of this class, $.datepicker, to interact with the date picker.
6916 this._mainDivId = 'ui-datepicker-div'; // The ID of the main datepicker division
6917 this._inlineClass = 'ui-datepicker-inline'; // The name of the inline marker class
6918 this._appendClass = 'ui-datepicker-append'; // The name of the append marker class
6919 this._triggerClass = 'ui-datepicker-trigger'; // The name of the trigger marker class
6920 this._dialogClass = 'ui-datepicker-dialog'; // The name of the dialog marker class
6921 this._disableClass = 'ui-datepicker-disabled'; // The name of the disabled covering marker class
6922 this._unselectableClass = 'ui-datepicker-unselectable'; // The name of the unselectable cell marker class
6923 this._currentClass = 'ui-datepicker-current-day'; // The name of the current day marker class
6924 this._dayOverClass = 'ui-datepicker-days-cell-over'; // The name of the day hover marker class
6977 // [2] = cell title (optional), e.g. $.datepicker.noWeekends
6982 onClose: null, // Define a callback function when the datepicker is closed
6995 this.dpDiv = bindHover($('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'));
7062 inline: inline, // is datepicker inline or not
7064 bindHover($('<div class="' + this._inlineClass + ' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')))};
7077 bind("setData.datepicker", function(event, key, value) {
7079 }).bind("getData.datepicker", function(event, key) {
7084 //If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)
7117 if ($.datepicker._datepickerShowing && $.datepicker._lastInput == input[0])
7118 $.datepicker._hideDatepicker();
7119 else if ($.datepicker._datepickerShowing && $.datepicker._lastInput != input[0]) {
7120 $.datepicker._hideDatepicker();
7121 $.datepicker._showDatepicker(input[0]);
7123 $.datepicker._showDatepicker(input[0]);
7161 bind("setData.datepicker", function(event, key, value){
7163 }).bind("getData.datepicker", function(event, key){
7170 //If disabled option is true, disable the datepicker before showing it (see ticket #5665)
7227 /* Detach a datepicker from its control.
7267 inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
7292 inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
7300 /* Is the first field in a jQuery collection disabled as a datepicker?
7323 throw 'Missing instance data for this datepicker';
7338 return (name == 'defaults' ? $.extend({}, $.datepicker._defaults) :
7407 var inst = $.datepicker._getInst(event.target);
7409 var isRTL = inst.dpDiv.is('.ui-datepicker-rtl');
7411 if ($.datepicker._datepickerShowing)
7413 case 9: $.datepicker._hideDatepicker();
7416 case 13: var sel = $('td.' + $.datepicker._dayOverClass + ':not(.' +
7417 $.datepicker._currentClass + ')', inst.dpDiv);
7419 $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]);
7420 var onSelect = $.datepicker._get(inst, 'onSelect');
7422 var dateStr = $.datepicker._formatDate(inst);
7428 $.datepicker._hideDatepicker();
7431 case 27: $.datepicker._hideDatepicker();
7433 case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
7434 -$.datepicker._get(inst, 'stepBigMonths') :
7435 -$.datepicker._get(inst, 'stepMonths')), 'M');
7437 case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
7438 +$.datepicker._get(inst, 'stepBigMonths') :
7439 +$.datepicker._get(inst, 'stepMonths')), 'M');
7441 case 35: if (event.ctrlKey || event.metaKey) $.datepicker._clearDate(event.target);
7444 case 36: if (event.ctrlKey || event.metaKey) $.datepicker._gotoToday(event.target);
7447 case 37: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), 'D');
7450 if (event.originalEvent.altKey) $.datepicker._adjustDate(event.target, (event.ctrlKey ?
7451 -$.datepicker._get(inst, 'stepBigMonths') :
7452 -$.datepicker._get(inst, 'stepMonths')), 'M');
7455 case 38: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, -7, 'D');
7458 case 39: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), 'D');
7461 if (event.originalEvent.altKey) $.datepicker._adjustDate(event.target, (event.ctrlKey ?
7462 +$.datepicker._get(inst, 'stepBigMonths') :
7463 +$.datepicker._get(inst, 'stepMonths')), 'M');
7466 case 40: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, +7, 'D');
7472 $.datepicker._showDatepicker(this);
7484 var inst = $.datepicker._getInst(event.target);
7485 if ($.datepicker._get(inst, 'constrainInput')) {
7486 var chars = $.datepicker._possibleChars($.datepicker._get(inst, 'dateFormat'));
7494 var inst = $.datepicker._getInst(event.target);
7497 var date = $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'),
7499 $.datepicker._getFormatConfig(inst));
7501 $.datepicker._setDateFromField(inst);
7502 $.datepicker._updateAlternate(inst);
7503 $.datepicker._updateDatepicker(inst);
7507 $.datepicker.log(err);
7521 if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput == input) // already here
7523 var inst = $.datepicker._getInst(input);
7524 if ($.datepicker._curInst && $.datepicker._curInst != inst) {
7525 $.datepicker._curInst.dpDiv.stop(true, true);
7526 if ( inst && $.datepicker._datepickerShowing ) {
7527 $.datepicker._hideDatepicker( $.datepicker._curInst.input[0] );
7530 var beforeShow = $.datepicker._get(inst, 'beforeShow');
7538 $.datepicker._lastInput = input;
7539 $.datepicker._setDateFromField(inst);
7540 if ($.datepicker._inDialog) // hide cursor
7542 if (!$.datepicker._pos) { // position below input
7543 $.datepicker._pos = $.datepicker._findPos(input);
7544 $.datepicker._pos[1] += input.offsetHeight; // add the height
7552 $.datepicker._pos[0] -= document.documentElement.scrollLeft;
7553 $.datepicker._pos[1] -= document.documentElement.scrollTop;
7555 var offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]};
7556 $.datepicker._pos = null;
7561 $.datepicker._updateDatepicker(inst);
7564 offset = $.datepicker._checkOffset(inst, offset, isFixed);
7565 inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ?
7569 var showAnim = $.datepicker._get(inst, 'showAnim');
7570 var duration = $.datepicker._get(inst, 'duration');
7572 var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only
7574 var borders = $.datepicker._getBorders(inst.dpDiv);
7580 $.datepicker._datepickerShowing = true;
7582 inst.dpDiv.show(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess);
7589 $.datepicker._curInst = inst;
7597 var borders = $.datepicker._getBorders(inst.dpDiv);
7601 var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only
7609 inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width('');
7611 inst.dpDiv.addClass('ui-datepicker-multi-' + cols).css('width', (width * cols) + 'em');
7613 'Class']('ui-datepicker-multi');
7615 'Class']('ui-datepicker-rtl');
7616 if (inst == $.datepicker._curInst && $.datepicker._datepickerShowing && inst.input &&
7627 inst.dpDiv.find('select.ui-datepicker-year:first').replaceWith(inst.yearshtml);
7658 // now check if datepicker is showing outside window viewport - move to a better place if so.
7688 $.datepicker._tidyDialog(inst);
7691 inst.dpDiv.hide(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess);
7716 inst.dpDiv.removeClass(this._dialogClass).unbind('.ui-datepicker-calendar');
7721 if (!$.datepicker._curInst)
7725 inst = $.datepicker._getInst($target[0]);
7727 if ( ( ( $target[0].id != $.datepicker._mainDivId &&
7728 $target.parents('#' + $.datepicker._mainDivId).length == 0 &&
7729 !$target.hasClass($.datepicker.markerClassName) &&
7730 !$target.closest("." + $.datepicker._triggerClass).length &&
7731 $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
7732 ( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst != inst ) )
7733 $.datepicker._hideDatepicker();
8208 return $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'),
8209 offset, $.datepicker._getFormatConfig(inst));
8215 $.datepicker._getDate(inst) : null) || new Date();
8229 day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
8233 day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
8298 window['DP_jQuery_' + dpuuid].datepicker._adjustDate(id, -stepMonths, 'M');
8301 window['DP_jQuery_' + dpuuid].datepicker._adjustDate(id, +stepMonths, 'M');
8304 window['DP_jQuery_' + dpuuid].datepicker._hideDatepicker();
8307 window['DP_jQuery_' + dpuuid].datepicker._gotoToday(id);
8310 window['DP_jQuery_' + dpuuid].datepicker._selectDay(id, +this.getAttribute('data-month'), +this.getAttribute('data-year'), this);
8314 window['DP_jQuery_' + dpuuid].datepicker._selectMonthYear(id, this, 'M');
8318 window['DP_jQuery_' + dpuuid].datepicker._selectMonthYear(id, this, 'Y');
8368 '<a class="ui-datepicker-prev ui-corner-all" data-handler="prev" data-event="click"' +
8370 (hideIfNoPrevNext ? '' : '<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+ prevText +'"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'e' : 'w') + '">' + prevText + '</span></a>'));
8376 '<a class="ui-datepicker-next ui-corner-all" data-handler="next" data-event="click"' +
8378 (hideIfNoPrevNext ? '' : '<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+ nextText + '"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'w' : 'e') + '">' + nextText + '</span></a>'));
8383 var controls = (!inst.inline ? '<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" data-handler="hide" data-event="click">' +
8385 var buttonPanel = (showButtonPanel) ? '<div class="ui-datepicker-buttonpane ui-widget-content">' + (isRTL ? controls : '') +
8386 (this._isInRange(inst, gotoDate) ? '<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" data-handler="today" data-event="click"' +
8410 calender += '<div class="ui-datepicker-group';
8413 case 0: calender += ' ui-datepicker-group-first';
8415 case numMonths[1]-1: calender += ' ui-datepicker-group-last';
8417 default: calender += ' ui-datepicker-group-middle'; cornerClass = ''; break;
8421 calender += '<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix' + cornerClass + '">' +
8426 '</div><table class="ui-datepicker-calendar"><thead>' +
8428 var thead = (showWeek ? '<th class="ui-datepicker-week-col">' + this._get(inst, 'weekHeader') + '</th>' : '');
8431 thead += '<th' + ((dow + firstDay + 6) % 7 >= 5 ? ' class="ui-datepicker-week-end"' : '') + '>' +
8445 var tbody = (!showWeek ? '' : '<td class="ui-datepicker-week-col">' +
8454 ((dow + firstDay + 6) % 7 >= 5 ? ' ui-datepicker-week-end' : '') + // highlight weekends
8455 (otherMonth ? ' ui-datepicker-other-month' : '') + // highlight days from other months
8463 (printDate.getTime() == today.getTime() ? ' ui-datepicker-today' : '')) + '"' + // highlight today (if different)
8483 ((numMonths[0] > 0 && col == numMonths[1]-1) ? '<div class="ui-datepicker-row-break"></div>' : '') : '');
8489 '<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>' : '');
8500 var html = '<div class="ui-datepicker-title">';
8504 monthHtml += '<span class="ui-datepicker-month">' + monthNames[drawMonth] + '</span>';
8508 monthHtml += '<select class="ui-datepicker-month" data-handler="selectMonth" data-event="change">';
8524 html += '<span class="ui-datepicker-year">' + drawYear + '</span>';
8539 inst.yearshtml += '<select class="ui-datepicker-year" data-handler="selectYear" data-event="change">';
8654 * Bind hover events for datepicker elements.
8659 var selector = 'button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a';
8665 elem.removeClass( "ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover" );
8669 if ($.datepicker._isDisabledDatepicker( instActive.inline ? dpDiv.parent()[0] : instActive.input[0]) ||
8673 elem.parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover');
8675 if (elem.hasClass('ui-datepicker-prev')) elem.addClass('ui-datepicker-prev-hover');
8676 if (elem.hasClass('ui-datepicker-next')) elem.addClass('ui-datepicker-next-hover');
8695 /* Invoke the datepicker functionality.
8697 Object - settings for attaching new datepicker functionality
8699 $.fn.datepicker = function(options){
8707 if (!$.datepicker.initialized) {
8708 $(document).mousedown($.datepicker._checkExternalClick).
8709 find('body').append($.datepicker.dpDiv);
8710 $.datepicker.initialized = true;
8715 return $.datepicker['_' + options + 'Datepicker'].
8716 apply($.datepicker, [this[0]].concat(otherArgs));
8718 return $.datepicker['_' + options + 'Datepicker'].
8719 apply($.datepicker, [this[0]].concat(otherArgs));
8722 $.datepicker['_' + options + 'Datepicker'].
8723 apply($.datepicker, [this].concat(otherArgs)) :
8724 $.datepicker._attachDatepicker(this, options);
8728 $.datepicker = new Datepicker(); // singleton instance
8729 $.datepicker.initialized = false;
8730 $.datepicker.uuid = new Date().getTime();
8731 $.datepicker.version = "1.8.24";