mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Source formatting: Removing trailing spaces
This commit is contained in:
parent
352287b7ef
commit
558218f2aa
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Blind
|
||||
*
|
||||
* Depends:
|
||||
@ -33,7 +33,7 @@ $.effects.blind = function(o) {
|
||||
// Animation
|
||||
var animation = {};
|
||||
animation[ref] = mode == 'show' ? distance : 0;
|
||||
|
||||
|
||||
// Animate
|
||||
wrapper.animate(animation, o.duration, o.options.easing, function() {
|
||||
if(mode == 'hide') el.hide(); // Hide
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Bounce
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Clip
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/
|
||||
*/
|
||||
;(function($) {
|
||||
@ -308,33 +308,33 @@ var colors = {
|
||||
* to offer multiple easing options
|
||||
*
|
||||
* TERMS OF USE - jQuery Easing
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
* Copyright © 2008 George McGinley Smith
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this list of
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* Neither the name of the author nor the names of contributors may be used to endorse
|
||||
*
|
||||
* Neither the name of the author nor the names of contributors may be used to endorse
|
||||
* or promote products derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
@ -477,33 +477,33 @@ $.extend($.easing,
|
||||
/*
|
||||
*
|
||||
* TERMS OF USE - EASING EQUATIONS
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
* Copyright © 2001 Robert Penner
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this list of
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* Neither the name of the author nor the names of contributors may be used to endorse
|
||||
*
|
||||
* Neither the name of the author nor the names of contributors may be used to endorse
|
||||
* or promote products derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Drop
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Paul Bakaus (ui.jquery.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Explode
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Fold
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Highlight
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Pulsate
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Scale
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Shake
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Slide
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Transfer
|
||||
*
|
||||
* Depends:
|
||||
|
@ -20,7 +20,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
|
||||
dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
|
||||
dayStatus: 'اختر DD لليوم الأول من الأسبوع', dateStatus: 'اختر D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: 'اختر يوم', isRTL: true};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ar']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
|
||||
dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'mm/dd/yy', firstDay: 0,
|
||||
dateFormat: 'mm/dd/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ca']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
||||
dayNamesMin: ['ne','po','út','st','čt','pá','so'],
|
||||
dayStatus: 'Nastavit DD jako první den v týdnu', dateStatus: '\'Vyber\' DD, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Vyberte datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['cs']);
|
||||
});
|
||||
|
@ -9,9 +9,9 @@ jQuery(function($){
|
||||
nextText: 'Næste>', nextStatus: 'Vis næste måned',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Idag', currentStatus: 'Vis aktuel måned',
|
||||
monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
|
||||
monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
|
||||
'Juli','August','September','Oktober','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: 'Vis en anden måned', yearStatus: 'Vis et andet år',
|
||||
weekHeader: 'Uge', weekStatus: 'Årets uge',
|
||||
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
|
||||
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
||||
dayStatus: 'Sæt DD som første ugedag', dateStatus: 'Vælg D, M d',
|
||||
dateFormat: 'dd-mm-yy', firstDay: 0,
|
||||
dateFormat: 'dd-mm-yy', firstDay: 0,
|
||||
initStatus: 'Vælg en dato', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['da']);
|
||||
$.datepicker.setDefaults($.datepicker.regional['da']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayStatus: 'Setze DD als ersten Wochentag', dateStatus: 'Wähle D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Wähle ein Datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['de']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
|
||||
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['es']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
|
||||
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
|
||||
dayStatus: 'Utiliser DD comme premier jour de la semaine', dateStatus: 'Choisir le DD, MM d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: 'Choisir la date', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['fr']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
||||
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
||||
dayStatus: 'DD', dateStatus: 'DD, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: true};
|
||||
$.datepicker.setDefaults($.datepicker.regional['he']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
|
||||
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['hu']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
|
||||
dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['hy']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
|
||||
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
|
||||
dayStatus: 'gunakan DD sebagai awal hari dalam minggu', dateStatus: 'pilih le DD, MM d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: 'Pilih Tanggal', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['id']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
|
||||
dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['is']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
|
||||
dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'],
|
||||
dayStatus: 'Usa DD come primo giorno della settimana', dateStatus: 'Seleziona D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 1,
|
||||
dateFormat: 'dd/mm/yy', firstDay: 1,
|
||||
initStatus: 'Scegliere una data', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['it']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['日','月','火','水','木','金','土'],
|
||||
dayNamesMin: ['日','月','火','水','木','金','土'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy/mm/dd', firstDay: 0,
|
||||
dateFormat: 'yy/mm/dd', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ja']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['일','월','화','수','목','금','토'],
|
||||
dayNamesMin: ['일','월','화','수','목','금','토'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 0,
|
||||
dateFormat: 'yy-mm-dd', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ko']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
|
||||
dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['lt']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
|
||||
dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd-mm-yy', firstDay: 1,
|
||||
dateFormat: 'dd-mm-yy', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['lv']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Zon','Maa','Din','Woe','Don','Vri','Zat'],
|
||||
dayNamesMin: ['Zo','Ma','Di','Wo','Do','Vr','Za'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Kies een datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['nl']);
|
||||
});
|
@ -9,9 +9,9 @@ jQuery(function($){
|
||||
nextText: 'Neste»', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'I dag', currentStatus: '',
|
||||
monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
|
||||
monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
|
||||
'Juli','August','September','Oktober','November','Desember'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun',
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Des'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Uke', weekStatus: '',
|
||||
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
|
||||
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 0,
|
||||
dateFormat: 'yy-mm-dd', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['no']);
|
||||
$.datepicker.setDefaults($.datepicker.regional['no']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
|
||||
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
|
||||
dayStatus: 'Ustaw DD jako pierwszy dzień tygodnia', dateStatus: 'Wybierz D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: 'Wybierz datę', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['pl']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
|
||||
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'],
|
||||
dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sa'],
|
||||
dayStatus: 'Seteaza DD ca prima saptamana zi', dateStatus: 'Selecteaza D, M d',
|
||||
dateFormat: 'mm/dd/yy', firstDay: 0,
|
||||
dateFormat: 'mm/dd/yy', firstDay: 0,
|
||||
initStatus: 'Selecteaza o data', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ro']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
|
||||
dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ru']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
|
||||
dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 0,
|
||||
dateFormat: 'dd.mm.yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sk']);
|
||||
});
|
||||
|
@ -20,7 +20,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],
|
||||
dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'],
|
||||
dayStatus: 'Nastavi DD za prvi dan v tednu', dateStatus: 'Izberi DD, d MM yy',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Izbira datuma', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sl']);
|
||||
});
|
||||
|
@ -9,9 +9,9 @@ jQuery(function($){
|
||||
nextText: 'Nästa»', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Idag', currentStatus: '',
|
||||
monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
|
||||
monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
|
||||
'Juli','Augusti','September','Oktober','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Ve', weekStatus: '',
|
||||
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
|
||||
dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sv']);
|
||||
$.datepicker.setDefaults($.datepicker.regional['sv']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
|
||||
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['th']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
|
||||
dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
|
||||
dayStatus: 'Haftanın ilk gününü belirleyin', dateStatus: 'D, M d seçiniz',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Bir tarih seçiniz', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['tr']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
|
||||
dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['uk']);
|
||||
});
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
|
||||
dayNamesMin: ['日','一','二','三','四','五','六'],
|
||||
dayStatus: '设置 DD 为一周起始', dateStatus: '选择 m月 d日, DD',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '请选择日期', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['zh-CN']);
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ jQuery(function($){
|
||||
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
|
||||
dayNamesMin: ['日','一','二','三','四','五','六'],
|
||||
dayStatus: '設定 DD 為一周起始', dateStatus: '選擇 m月 d日, DD',
|
||||
dateFormat: 'yy/mm/dd', firstDay: 1,
|
||||
dateFormat: 'yy/mm/dd', firstDay: 1,
|
||||
initStatus: '請選擇日期', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['zh-TW']);
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* jQuery UI Accordion @VERSION
|
||||
*
|
||||
*
|
||||
* Copyright (c) 2007, 2008 Jörn Zaefferer
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2006, 2007, 2008 Marc Grabanski
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Datepicker
|
||||
*
|
||||
* Depends:
|
||||
@ -12,7 +12,7 @@
|
||||
*
|
||||
* Marc Grabanski (m@marcgrabanski.com) and Keith Wood (kbwood@virginbroadband.com.au).
|
||||
*/
|
||||
|
||||
|
||||
(function($) { // hide the namespace
|
||||
|
||||
$.extend($.ui, { datepicker: { version: "@VERSION" } });
|
||||
@ -146,7 +146,7 @@ $.extend(Datepicker.prototype, {
|
||||
console.log.apply('', arguments);
|
||||
},
|
||||
|
||||
/* Override the default settings for all instances of the date picker.
|
||||
/* Override the default settings for all instances of the date picker.
|
||||
@param settings object - the new settings to use as defaults (anonymous object)
|
||||
@return the manager object */
|
||||
setDefaults: function(settings) {
|
||||
@ -176,7 +176,7 @@ $.extend(Datepicker.prototype, {
|
||||
if (!target.id)
|
||||
target.id = 'dp' + (++this.uuid);
|
||||
var inst = this._newInst($(target), inline);
|
||||
inst.settings = $.extend({}, settings || {}, inlineSettings || {});
|
||||
inst.settings = $.extend({}, settings || {}, inlineSettings || {});
|
||||
if (nodeName == 'input') {
|
||||
this._connectDatepicker(target, inst);
|
||||
} else if (inline) {
|
||||
@ -210,7 +210,7 @@ $.extend(Datepicker.prototype, {
|
||||
if (showOn == 'button' || showOn == 'both') { // pop-up date picker when button clicked
|
||||
var buttonText = this._get(inst, 'buttonText');
|
||||
var buttonImage = this._get(inst, 'buttonImage');
|
||||
var trigger = $(this._get(inst, 'buttonImageOnly') ?
|
||||
var trigger = $(this._get(inst, 'buttonImageOnly') ?
|
||||
$('<img/>').addClass(this._triggerClass).
|
||||
attr({ src: buttonImage, alt: buttonText, title: buttonText }) :
|
||||
$('<button type="button"></button>').addClass(this._triggerClass).
|
||||
@ -248,7 +248,7 @@ $.extend(Datepicker.prototype, {
|
||||
$.data(target, PROP_NAME, inst);
|
||||
this._setDate(inst, this._getDefaultDate(inst));
|
||||
this._updateDatepicker(inst);
|
||||
this._updateAlternate(inst);
|
||||
this._updateAlternate(inst);
|
||||
},
|
||||
|
||||
/* Pop-up the date picker in a "dialog" box.
|
||||
@ -464,7 +464,7 @@ $.extend(Datepicker.prototype, {
|
||||
_getDateDatepicker: function(target) {
|
||||
var inst = this._getInst(target);
|
||||
if (inst && !inst.inline)
|
||||
this._setDateFromField(inst);
|
||||
this._setDateFromField(inst);
|
||||
return (inst ? this._getDate(inst) : null);
|
||||
},
|
||||
|
||||
@ -497,7 +497,7 @@ $.extend(Datepicker.prototype, {
|
||||
break; // next month/year on page down/+ ctrl
|
||||
case 35: if (event.ctrlKey || event.metaKey) $.datepicker._clearDate(event.target);
|
||||
handled = event.ctrlKey || event.metaKey;
|
||||
break; // clear on ctrl or command +end
|
||||
break; // clear on ctrl or command +end
|
||||
case 36: if (event.ctrlKey || event.metaKey) $.datepicker._gotoToday(event.target);
|
||||
handled = event.ctrlKey || event.metaKey;
|
||||
break; // current on ctrl or command +home
|
||||
@ -508,7 +508,7 @@ $.extend(Datepicker.prototype, {
|
||||
-$.datepicker._get(inst, 'stepBigMonths') :
|
||||
-$.datepicker._get(inst, 'stepMonths')), 'M');
|
||||
// next month/year on alt +left on Mac
|
||||
break;
|
||||
break;
|
||||
case 38: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, -7, 'D');
|
||||
handled = event.ctrlKey || event.metaKey;
|
||||
break; // -1 week on ctrl or command +up
|
||||
@ -519,7 +519,7 @@ $.extend(Datepicker.prototype, {
|
||||
+$.datepicker._get(inst, 'stepBigMonths') :
|
||||
+$.datepicker._get(inst, 'stepMonths')), 'M');
|
||||
// next month/year on alt +right
|
||||
break;
|
||||
break;
|
||||
case 40: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, +7, 'D');
|
||||
handled = event.ctrlKey || event.metaKey;
|
||||
break; // +1 week on ctrl or command +down
|
||||
@ -631,7 +631,7 @@ $.extend(Datepicker.prototype, {
|
||||
_checkOffset: function(inst, offset, isFixed) {
|
||||
var pos = inst.input ? this._findPos(inst.input[0]) : null;
|
||||
var browserWidth = window.innerWidth || (document.documentElement ?
|
||||
document.documentElement.clientWidth : document.body.clientWidth);
|
||||
document.documentElement.clientWidth : document.body.clientWidth);
|
||||
var browserHeight = window.innerHeight || (document.documentElement ?
|
||||
document.documentElement.clientHeight : document.body.clientHeight);
|
||||
var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
|
||||
@ -793,7 +793,7 @@ $.extend(Datepicker.prototype, {
|
||||
if (inst.stayOpen) {
|
||||
$('.ui-datepicker td', inst.dpDiv).removeClass(this._currentClass);
|
||||
$(td).addClass(this._currentClass);
|
||||
}
|
||||
}
|
||||
}
|
||||
inst.selectedDay = inst.currentDay = $('a', td).html();
|
||||
inst.selectedMonth = inst.currentMonth = month;
|
||||
@ -998,17 +998,17 @@ $.extend(Datepicker.prototype, {
|
||||
case 'd':
|
||||
day = getNumber('d');
|
||||
break;
|
||||
case 'D':
|
||||
case 'D':
|
||||
getName('D', dayNamesShort, dayNames);
|
||||
break;
|
||||
case 'o':
|
||||
doy = getNumber('o');
|
||||
break;
|
||||
case 'm':
|
||||
case 'm':
|
||||
month = getNumber('m');
|
||||
break;
|
||||
case 'M':
|
||||
month = getName('M', monthNamesShort, monthNames);
|
||||
month = getName('M', monthNamesShort, monthNames);
|
||||
break;
|
||||
case 'y':
|
||||
year = getNumber('y');
|
||||
@ -1130,7 +1130,7 @@ $.extend(Datepicker.prototype, {
|
||||
case 'd':
|
||||
output += formatNumber('d', date.getDate(), 2);
|
||||
break;
|
||||
case 'D':
|
||||
case 'D':
|
||||
output += formatName('D', date.getDay(), dayNamesShort, dayNames);
|
||||
break;
|
||||
case 'o':
|
||||
@ -1139,18 +1139,18 @@ $.extend(Datepicker.prototype, {
|
||||
doy += this._getDaysInMonth(date.getFullYear(), m);
|
||||
output += formatNumber('o', doy, 3);
|
||||
break;
|
||||
case 'm':
|
||||
case 'm':
|
||||
output += formatNumber('m', date.getMonth() + 1, 2);
|
||||
break;
|
||||
case 'M':
|
||||
output += formatName('M', date.getMonth(), monthNamesShort, monthNames);
|
||||
output += formatName('M', date.getMonth(), monthNamesShort, monthNames);
|
||||
break;
|
||||
case 'y':
|
||||
output += (lookAhead('y') ? date.getFullYear() :
|
||||
output += (lookAhead('y') ? date.getFullYear() :
|
||||
(date.getYear() % 100 < 10 ? '0' : '') + date.getYear() % 100);
|
||||
break;
|
||||
case '@':
|
||||
output += date.getTime();
|
||||
output += date.getTime();
|
||||
break;
|
||||
case "'":
|
||||
if (lookAhead("'"))
|
||||
@ -1178,7 +1178,7 @@ $.extend(Datepicker.prototype, {
|
||||
else
|
||||
switch (format.charAt(iFormat)) {
|
||||
case 'd': case 'm': case 'y': case '@':
|
||||
chars += '0123456789';
|
||||
chars += '0123456789';
|
||||
break;
|
||||
case 'D': case 'M':
|
||||
return null; // Accept anything
|
||||
@ -1203,7 +1203,7 @@ $.extend(Datepicker.prototype, {
|
||||
/* Parse existing date and initialise date picker. */
|
||||
_setDateFromField: function(inst) {
|
||||
var dateFormat = this._get(inst, 'dateFormat');
|
||||
var dates = inst.input ? inst.input.val().split(this._get(inst, 'rangeSeparator')) : null;
|
||||
var dates = inst.input ? inst.input.val().split(this._get(inst, 'rangeSeparator')) : null;
|
||||
inst.endDay = inst.endMonth = inst.endYear = null;
|
||||
var date = defaultDate = this._getDefaultDate(inst);
|
||||
if (dates.length > 0) {
|
||||
@ -1261,7 +1261,7 @@ $.extend(Datepicker.prototype, {
|
||||
case 'w' : case 'W' :
|
||||
day += parseInt(matches[1],10) * 7; break;
|
||||
case 'm' : case 'M' :
|
||||
month += parseInt(matches[1],10);
|
||||
month += parseInt(matches[1],10);
|
||||
day = Math.min(day, getDaysInMonth(year, month));
|
||||
break;
|
||||
case 'y': case 'Y' :
|
||||
@ -1288,7 +1288,7 @@ $.extend(Datepicker.prototype, {
|
||||
|
||||
/* Handle switch to/from daylight saving.
|
||||
Hours may be non-zero on daylight saving cut-over:
|
||||
> 12 when midnight changeover, but then cannot generate
|
||||
> 12 when midnight changeover, but then cannot generate
|
||||
midnight datetime, so jump to 1AM, otherwise reset.
|
||||
@param date (Date) the date to check
|
||||
@return (Date) the corrected date */
|
||||
@ -1399,7 +1399,7 @@ $.extend(Datepicker.prototype, {
|
||||
prevBigText = (!navigationAsDateFormat ? prevBigText : this.formatDate(prevBigText,
|
||||
this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepBigMonths, 1)),
|
||||
this._getFormatConfig(inst)));
|
||||
var prev = '<div class="ui-datepicker-prev">' + (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
|
||||
var prev = '<div class="ui-datepicker-prev">' + (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
|
||||
(showBigPrevNext ? '<a onclick="jQuery.datepicker._adjustDate(\'#' + inst.id + '\', -' + stepBigMonths + ', \'M\');"' +
|
||||
this._addStatus(showStatus, inst.id, this._get(inst, 'prevBigStatus'), initStatus) + '>' + prevBigText + '</a>' : '') +
|
||||
'<a onclick="jQuery.datepicker._adjustDate(\'#' + inst.id + '\', -' + stepMonths + ', \'M\');"' +
|
||||
@ -1422,7 +1422,7 @@ $.extend(Datepicker.prototype, {
|
||||
(hideIfNoPrevNext ? '' : '<label>' + nextText + '</label>' +
|
||||
(showBigPrevNext ? '<label>' + nextBigText + '</label>' : ''))) + '</div>';
|
||||
var currentText = this._get(inst, 'currentText');
|
||||
var gotoDate = (this._get(inst, 'gotoCurrent') && inst.currentDay ? currentDate : today);
|
||||
var gotoDate = (this._get(inst, 'gotoCurrent') && inst.currentDay ? currentDate : today);
|
||||
currentText = (!navigationAsDateFormat ? currentText :
|
||||
this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));
|
||||
var html = (closeAtTop && !inst.inline ? controls : '') +
|
||||
@ -1455,7 +1455,7 @@ $.extend(Datepicker.prototype, {
|
||||
html += '<div class="ui-datepicker-one-month' + (col == 0 ? ' ui-datepicker-new-row' : '') + '">' +
|
||||
this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate,
|
||||
selectedDate, row > 0 || col > 0, showStatus, initStatus, monthNames) + // draw month headers
|
||||
'<table class="ui-datepicker" cellpadding="0" cellspacing="0"><thead>' +
|
||||
'<table class="ui-datepicker" cellpadding="0" cellspacing="0"><thead>' +
|
||||
'<tr class="ui-datepicker-title-row">' +
|
||||
(showWeeks ? '<td' + this._addStatus(showStatus, inst.id, weekStatus, initStatus) + '>' +
|
||||
this._get(inst, 'weekHeader') + '</td>' : '');
|
||||
@ -1465,7 +1465,7 @@ $.extend(Datepicker.prototype, {
|
||||
status.replace(/D/, dayNamesShort[day]));
|
||||
html += '<td' + ((dow + firstDay + 6) % 7 >= 5 ? ' class="ui-datepicker-week-end-cell"' : '') + '>' +
|
||||
(!changeFirstDay ? '<span' :
|
||||
'<a onclick="jQuery.datepicker._changeFirstDay(\'#' + inst.id + '\', ' + day + ');"') +
|
||||
'<a onclick="jQuery.datepicker._changeFirstDay(\'#' + inst.id + '\', ' + day + ');"') +
|
||||
this._addStatus(showStatus, inst.id, dayStatus, initStatus) + ' title="' + dayNames[day] + '">' +
|
||||
dayNamesMin[day] + (changeFirstDay ? '</a>' : '</span>') + '</td>';
|
||||
}
|
||||
@ -1526,11 +1526,11 @@ $.extend(Datepicker.prototype, {
|
||||
}
|
||||
html += '</tbody></table></div>';
|
||||
}
|
||||
html += (showStatus ? '<div style="clear: both;"></div><div id="ui-datepicker-status-' + inst.id +
|
||||
html += (showStatus ? '<div style="clear: both;"></div><div id="ui-datepicker-status-' + inst.id +
|
||||
'" class="ui-datepicker-status">' + initStatus + '</div>' : '') +
|
||||
(!closeAtTop && !inst.inline ? controls : '') +
|
||||
'<div style="clear: both;"></div>' +
|
||||
($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ?
|
||||
'<div style="clear: both;"></div>' +
|
||||
($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ?
|
||||
'<iframe src="javascript:false;" class="ui-datepicker-cover"></iframe>' : '');
|
||||
inst._keyEvent = false;
|
||||
return html;
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Richard D. Worth (rdworth.org)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Dialog
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Paul Bakaus
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Droppables
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Eduardo Lundgren
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Resizables
|
||||
*
|
||||
* Depends:
|
||||
@ -82,7 +82,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
var oel = this.element; this.element = this.element.parent();
|
||||
|
||||
// store instance on wrapper
|
||||
this.element.data('resizable', this);
|
||||
this.element.data('resizable', this);
|
||||
|
||||
//Move margins to the wrapper
|
||||
this.element.css({ marginLeft: oel.css("marginLeft"), marginTop: oel.css("marginTop"),
|
||||
@ -126,13 +126,13 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
};
|
||||
|
||||
for(var i = 0; i < n.length; i++) {
|
||||
var handle = $.trim(n[i]), dt = o.defaultTheme, hname = 'ui-resizable-'+handle, loadDefault = !$.ui.css(hname) && !o.knobHandles, userKnobClass = $.ui.css('ui-resizable-knob-handle'),
|
||||
var handle = $.trim(n[i]), dt = o.defaultTheme, hname = 'ui-resizable-'+handle, loadDefault = !$.ui.css(hname) && !o.knobHandles, userKnobClass = $.ui.css('ui-resizable-knob-handle'),
|
||||
allDefTheme = $.extend(dt[hname], dt['ui-resizable-handle']), allKnobTheme = $.extend(o.knobTheme[hname], !userKnobClass ? o.knobTheme['ui-resizable-handle'] : {});
|
||||
|
||||
// increase zIndex of sw, se, ne, nw axis
|
||||
var applyZIndex = /sw|se|ne|nw/.test(handle) ? { zIndex: ++o.zIndex } : {};
|
||||
|
||||
var defCss = (loadDefault ? insertionsDefault[handle] : ''),
|
||||
var defCss = (loadDefault ? insertionsDefault[handle] : ''),
|
||||
axis = $(['<div class="ui-resizable-handle ', hname, '" style="', defCss, insertionsDefault.handle, '"></div>'].join('')).css( applyZIndex );
|
||||
o.handles[handle] = '.ui-resizable-'+handle;
|
||||
|
||||
@ -158,7 +158,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
o.handles[i].css({opacity:0});
|
||||
|
||||
//Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls)
|
||||
if (this.element.is('.ui-wrapper') &&
|
||||
if (this.element.is('.ui-wrapper') &&
|
||||
o._nodeName.match(/textarea|input|select|button/i)) {
|
||||
|
||||
var axis = $(o.handles[i], this.element), padWrapper = 0;
|
||||
@ -167,10 +167,10 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
padWrapper = /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth();
|
||||
|
||||
//The padding type i have to apply...
|
||||
var padPos = [ 'padding',
|
||||
var padPos = [ 'padding',
|
||||
/ne|nw|n/.test(i) ? 'Top' :
|
||||
/se|sw|s/.test(i) ? 'Bottom' :
|
||||
/^e$/.test(i) ? 'Right' : 'Left' ].join("");
|
||||
/se|sw|s/.test(i) ? 'Bottom' :
|
||||
/^e$/.test(i) ? 'Right' : 'Left' ].join("");
|
||||
|
||||
if (!o.transparent)
|
||||
target.css(padPos, padWrapper);
|
||||
@ -274,7 +274,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
|
||||
_mouseStart: function(event) {
|
||||
|
||||
var o = this.options, iniPos = this.element.position(), el = this.element,
|
||||
var o = this.options, iniPos = this.element.position(), el = this.element,
|
||||
num = function(v) { return parseInt(v, 10) || 0; }, ie6 = $.browser.msie && $.browser.version < 7;
|
||||
o.resizing = true;
|
||||
o.documentScroll = { top: $(document).scrollTop(), left: $(document).scrollLeft() };
|
||||
@ -344,7 +344,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
this._propagate("resize", event);
|
||||
|
||||
el.css({
|
||||
top: this.position.top + "px", left: this.position.left + "px",
|
||||
top: this.position.top + "px", left: this.position.left + "px",
|
||||
width: this.size.width + "px", height: this.size.height + "px"
|
||||
});
|
||||
|
||||
@ -364,12 +364,12 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
var o = this.options, num = function(v) { return parseInt(v, 10) || 0; }, self = this;
|
||||
|
||||
if(o.helper) {
|
||||
var pr = o.proportionallyResize, ista = pr && (/textarea/i).test(pr.get(0).nodeName),
|
||||
var pr = o.proportionallyResize, ista = pr && (/textarea/i).test(pr.get(0).nodeName),
|
||||
soffseth = ista && $.ui.hasScroll(pr.get(0), 'left') /* TODO - jump height */ ? 0 : self.sizeDiff.height,
|
||||
soffsetw = ista ? 0 : self.sizeDiff.width;
|
||||
|
||||
var s = { width: (self.size.width - soffsetw), height: (self.size.height - soffseth) },
|
||||
left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null,
|
||||
left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null,
|
||||
top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || null;
|
||||
|
||||
if (!o.animate)
|
||||
@ -406,7 +406,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
data.left = cpos.left + (csize.width - data.width);
|
||||
data.top = null;
|
||||
}
|
||||
if (a == 'nw') {
|
||||
if (a == 'nw') {
|
||||
data.top = cpos.top + (csize.height - data.height);
|
||||
data.left = cpos.left + (csize.width - data.width);
|
||||
}
|
||||
@ -415,7 +415,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
},
|
||||
_respectSize: function(data, event) {
|
||||
|
||||
var el = this.helper, o = this.options, pRatio = o._aspectRatio || event.shiftKey, a = this.axis,
|
||||
var el = this.helper, o = this.options, pRatio = o._aspectRatio || event.shiftKey, a = this.axis,
|
||||
ismaxw = data.width && o.maxWidth && o.maxWidth < data.width, ismaxh = data.height && o.maxHeight && o.maxHeight < data.height,
|
||||
isminw = data.width && o.minWidth && o.minWidth > data.width, isminh = data.height && o.minHeight && o.minHeight > data.height;
|
||||
|
||||
@ -450,7 +450,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
|
||||
o.borderDif = $.map(b, function(v, i) {
|
||||
var border = parseInt(v,10)||0, padding = parseInt(p[i],10)||0;
|
||||
return border + padding;
|
||||
return border + padding;
|
||||
});
|
||||
}
|
||||
prel.css({
|
||||
@ -484,7 +484,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
||||
$.ui.disableSelection(this.helper.get(0));
|
||||
|
||||
} else {
|
||||
this.helper = el;
|
||||
this.helper = el;
|
||||
}
|
||||
},
|
||||
_change: {
|
||||
@ -562,8 +562,8 @@ $.ui.plugin.add("resizable", "containment", {
|
||||
self.containerOffset = { left: 0, top: 0 };
|
||||
self.containerPosition = { left: 0, top: 0 };
|
||||
|
||||
self.parentData = {
|
||||
element: $(document), left: 0, top: 0,
|
||||
self.parentData = {
|
||||
element: $(document), left: 0, top: 0,
|
||||
width: $(document).width(), height: $(document).height() || document.body.parentNode.scrollHeight
|
||||
};
|
||||
}
|
||||
@ -574,17 +574,17 @@ $.ui.plugin.add("resizable", "containment", {
|
||||
self.containerPosition = $(ce).position();
|
||||
self.containerSize = { height: $(ce).innerHeight(), width: $(ce).innerWidth() };
|
||||
|
||||
var co = self.containerOffset, ch = self.containerSize.height, cw = self.containerSize.width,
|
||||
var co = self.containerOffset, ch = self.containerSize.height, cw = self.containerSize.width,
|
||||
width = ($.ui.hasScroll(ce, "left") ? ce.scrollWidth : cw ), height = ($.ui.hasScroll(ce) ? ce.scrollHeight : ch);
|
||||
|
||||
self.parentData = {
|
||||
self.parentData = {
|
||||
element: ce, left: co.left, top: co.top, width: width, height: height
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
resize: function(event, ui) {
|
||||
var o = ui.options, self = $(this).data("resizable"),
|
||||
var o = ui.options, self = $(this).data("resizable"),
|
||||
ps = self.containerSize, co = self.containerOffset, cs = self.size, cp = self.position,
|
||||
pRatio = o._aspectRatio || event.shiftKey, cop = { top:0, left:0 }, ce = self.containerElement;
|
||||
|
||||
@ -603,7 +603,7 @@ $.ui.plugin.add("resizable", "containment", {
|
||||
self.position.top = o.helper ? co.top : 0;
|
||||
}
|
||||
|
||||
var woset = (o.helper ? self.offset.left - co.left : (self.position.left - cop.left)) + self.sizeDiff.width,
|
||||
var woset = (o.helper ? self.offset.left - co.left : (self.position.left - cop.left)) + self.sizeDiff.width,
|
||||
hoset = (o.helper ? self.offset.top - co.top : self.position.top) + self.sizeDiff.height;
|
||||
|
||||
if (woset + self.size.width >= self.parentData.width) {
|
||||
@ -668,18 +668,18 @@ $.ui.plugin.add("resizable", "animate", {
|
||||
stop: function(event, ui) {
|
||||
var o = ui.options, self = $(this).data("resizable");
|
||||
|
||||
var pr = o.proportionallyResize, ista = pr && (/textarea/i).test(pr.get(0).nodeName),
|
||||
var pr = o.proportionallyResize, ista = pr && (/textarea/i).test(pr.get(0).nodeName),
|
||||
soffseth = ista && $.ui.hasScroll(pr.get(0), 'left') /* TODO - jump height */ ? 0 : self.sizeDiff.height,
|
||||
soffsetw = ista ? 0 : self.sizeDiff.width;
|
||||
|
||||
var style = { width: (self.size.width - soffsetw), height: (self.size.height - soffseth) },
|
||||
left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null,
|
||||
top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || null;
|
||||
left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null,
|
||||
top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || null;
|
||||
|
||||
self.element.animate(
|
||||
$.extend(style, top && left ? { top: top, left: left } : {}), {
|
||||
$.extend(style, top && left ? { top: top, left: left } : {}), {
|
||||
duration: o.animateDuration,
|
||||
easing: o.animateEasing,
|
||||
easing: o.animateEasing,
|
||||
step: function() {
|
||||
|
||||
var data = {
|
||||
@ -736,7 +736,7 @@ $.ui.plugin.add("resizable", "ghost", {
|
||||
$.ui.plugin.add("resizable", "alsoResize", {
|
||||
|
||||
start: function(event, ui) {
|
||||
var o = ui.options, self = $(this).data("resizable"),
|
||||
var o = ui.options, self = $(this).data("resizable"),
|
||||
|
||||
_store = function(exp) {
|
||||
$(exp).each(function() {
|
||||
@ -752,13 +752,13 @@ $.ui.plugin.add("resizable", "alsoResize", {
|
||||
else { $.each(o.alsoResize, function(exp, c) { _store(exp); }); }
|
||||
}else{
|
||||
_store(o.alsoResize);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
resize: function(event, ui){
|
||||
var o = ui.options, self = $(this).data("resizable"), os = self.originalSize, op = self.originalPosition;
|
||||
|
||||
var delta = {
|
||||
var delta = {
|
||||
height: (self.size.height - os.height) || 0, width: (self.size.width - os.width) || 0,
|
||||
top: (self.position.top - op.top) || 0, left: (self.position.left - op.left) || 0
|
||||
},
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Richard D. Worth (rdworth.org)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Selectables
|
||||
*
|
||||
* Depends:
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2008 Paul Bakaus
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* and GPL (GPL-LICENSE.txt) licenses.
|
||||
*
|
||||
*
|
||||
* http://docs.jquery.com/UI/Slider
|
||||
*
|
||||
* Depends:
|
||||
|
@ -193,7 +193,7 @@ $.widget("ui.tabs", {
|
||||
};
|
||||
|
||||
// Hide a tab, $show is optional...
|
||||
var hideTab = hideFx ?
|
||||
var hideTab = hideFx ?
|
||||
function(clicked, $hide, $show) {
|
||||
$hide.animate(hideFx, hideFx.duration || 'normal', function() {
|
||||
$hide.addClass(o.hideClass);
|
||||
@ -222,7 +222,7 @@ $.widget("ui.tabs", {
|
||||
$hide = self.$panels.filter(':visible'),
|
||||
$show = $(self._sanitizeSelector(this.hash));
|
||||
|
||||
// If tab is already selected and not deselectable or tab disabled or
|
||||
// If tab is already selected and not deselectable or tab disabled or
|
||||
// or is already loading or click callback returns false stop here.
|
||||
// Check if click handler returns false last so that it is not executed
|
||||
// for a disabled or loading tab!
|
||||
@ -266,7 +266,7 @@ $.widget("ui.tabs", {
|
||||
// show new tab
|
||||
if ($show.length) {
|
||||
var a = this;
|
||||
self.load(self.$tabs.index(this), $hide.length ?
|
||||
self.load(self.$tabs.index(this), $hide.length ?
|
||||
function() {
|
||||
switchTab(a, $li, $hide, $show);
|
||||
} :
|
||||
@ -438,7 +438,7 @@ $.widget("ui.tabs", {
|
||||
catch (event) {}
|
||||
|
||||
// This callback is required because the switch has to take
|
||||
// place after loading has completed. Call last in order to
|
||||
// place after loading has completed. Call last in order to
|
||||
// fire load before show callback...
|
||||
callback();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user