begin
This commit is contained in:
3055
style/Animate/animate.css
vendored
Normal file
3055
style/Animate/animate.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
style/Charisb.ttf
Normal file
BIN
style/Charisb.ttf
Normal file
Binary file not shown.
4
style/Datepicker/css/date-font.css
Normal file
4
style/Datepicker/css/date-font.css
Normal file
File diff suppressed because one or more lines are too long
64
style/Datepicker/css/example.css
Normal file
64
style/Datepicker/css/example.css
Normal file
@@ -0,0 +1,64 @@
|
||||
body {
|
||||
padding-bottom: 40px
|
||||
}
|
||||
h1 {
|
||||
color:#fff;
|
||||
font-size:38px;
|
||||
font-weight:300;
|
||||
margin:12px 0px;
|
||||
}
|
||||
h2 {
|
||||
font-size:27px;
|
||||
color:#aaa;
|
||||
}
|
||||
ol.linenums {
|
||||
list-style-position: outside!important;
|
||||
font-size: 14px!important;
|
||||
list-style-type: decimal!important;
|
||||
background: #fff!important
|
||||
}
|
||||
ol.linenums li {
|
||||
list-style-type: decimal!important;
|
||||
width: 500px
|
||||
}
|
||||
#dp-margin {
|
||||
margin: 50px 0
|
||||
}
|
||||
pre.prettyprint {
|
||||
border: 1px solid #ccc;
|
||||
border-left: 5px solid #2ba6cb;
|
||||
width: auto;
|
||||
background: #fff!important;
|
||||
padding: 5px 20px;
|
||||
text-shadow: 0 1px 0 #fff
|
||||
}
|
||||
pre.prettyprint ol li {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word
|
||||
}
|
||||
#sidebar-wrap a {
|
||||
color: #000;
|
||||
text-decoration: underline;
|
||||
}
|
||||
#sidebar-wrap ul {
|
||||
margin-left: 20px
|
||||
}
|
||||
input[disabled],
|
||||
select[disabled],
|
||||
textarea[disabled],
|
||||
input[readonly],
|
||||
select[readonly],
|
||||
textarea[readonly] {
|
||||
cursor: not-allowed;
|
||||
background-color: #eee
|
||||
}
|
||||
[data-magellan-expedition] {
|
||||
background:#000 !important;
|
||||
|
||||
|
||||
}
|
||||
[data-magellan-expedition] a {
|
||||
color:#fff !important;
|
||||
text-align:left;
|
||||
}
|
||||
146
style/Datepicker/css/foundation-datepicker.css
Normal file
146
style/Datepicker/css/foundation-datepicker.css
Normal file
@@ -0,0 +1,146 @@
|
||||
.datepicker {
|
||||
display: none;
|
||||
position: absolute;
|
||||
padding: 4px;
|
||||
margin-top: 1px;
|
||||
direction: ltr; }
|
||||
.datepicker.dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
float: left;
|
||||
display: none;
|
||||
min-width: 160px;
|
||||
list-style: none;
|
||||
background-color: #fff;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
*border-right-width: 2px;
|
||||
*border-bottom-width: 2px;
|
||||
color: #333;
|
||||
font-size: 13px;
|
||||
line-height: 18px; }
|
||||
.datepicker.dropdown-menu th {
|
||||
padding: 4px 5px; }
|
||||
.datepicker.dropdown-menu td {
|
||||
padding: 4px 5px; }
|
||||
.datepicker table {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
width: auto; }
|
||||
.datepicker table tr td span {
|
||||
display: block;
|
||||
width: 23%;
|
||||
height: 54px;
|
||||
line-height: 54px;
|
||||
float: left;
|
||||
margin: 1%;
|
||||
cursor: pointer; }
|
||||
.datepicker td {
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 0;
|
||||
font-size: 12px;
|
||||
padding: 4px 8px;
|
||||
background: #fff;
|
||||
cursor: pointer; }
|
||||
.datepicker td.active.day, .datepicker td.active.year {
|
||||
background: #2ba6cb; }
|
||||
.datepicker td.old, .datepicker td.new {
|
||||
color: #999; }
|
||||
.datepicker td span.active {
|
||||
background: #2ba6cb; }
|
||||
.datepicker td.day.disabled {
|
||||
color: #eee; }
|
||||
.datepicker th {
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 0;
|
||||
font-size: 12px;
|
||||
padding: 4px 8px;
|
||||
background: #fff;
|
||||
cursor: pointer; }
|
||||
.datepicker th.active.day, .datepicker th.active.year {
|
||||
background: #2ba6cb; }
|
||||
.datepicker th.date-switch {
|
||||
width: 145px; }
|
||||
.datepicker th span.active {
|
||||
background: #2ba6cb; }
|
||||
.datepicker .cw {
|
||||
font-size: 10px;
|
||||
width: 12px;
|
||||
padding: 0 2px 0 5px;
|
||||
vertical-align: middle; }
|
||||
.datepicker.days div.datepicker-days {
|
||||
display: block; }
|
||||
.datepicker.months div.datepicker-months {
|
||||
display: block; }
|
||||
.datepicker.years div.datepicker-years {
|
||||
display: block; }
|
||||
.datepicker thead tr:first-child th {
|
||||
cursor: pointer; }
|
||||
.datepicker thead tr:first-child th.cw {
|
||||
cursor: default;
|
||||
background-color: transparent; }
|
||||
.datepicker tfoot tr:first-child th {
|
||||
cursor: pointer; }
|
||||
|
||||
.datepicker-inline {
|
||||
width: 220px; }
|
||||
|
||||
.datepicker-rtl {
|
||||
direction: rtl; }
|
||||
.datepicker-rtl table tr td span {
|
||||
float: right; }
|
||||
|
||||
.datepicker-dropdown {
|
||||
top: 0;
|
||||
left: 0; }
|
||||
.datepicker-dropdown:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 7px solid transparent;
|
||||
border-right: 7px solid transparent;
|
||||
border-bottom: 7px solid #ccc;
|
||||
border-bottom-color: 1px solid rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
top: -7px;
|
||||
left: 6px; }
|
||||
.datepicker-dropdown:after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 6px solid transparent;
|
||||
border-right: 6px solid transparent;
|
||||
border-bottom: 6px solid #fff;
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
left: 7px; }
|
||||
|
||||
.datepicker > div,
|
||||
.datepicker-dropdown::before,
|
||||
.datepicker-dropdown::after {
|
||||
display: none; }
|
||||
|
||||
.datepicker-close {
|
||||
position: absolute;
|
||||
top: -30px;
|
||||
right: 0;
|
||||
width: 15px;
|
||||
height: 30px;
|
||||
padding: 0;
|
||||
display: none; }
|
||||
|
||||
.table-striped .datepicker table tr td,
|
||||
.table-striped .datepicker table tr th {
|
||||
background-color: transparent; }
|
||||
1
style/Datepicker/css/foundation-datepicker.min.css
vendored
Normal file
1
style/Datepicker/css/foundation-datepicker.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.datepicker{display:none;position:absolute;padding:4px;margin-top:1px;direction:ltr}.datepicker.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;display:none;min-width:160px;list-style:none;background-color:#fff;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;color:#333;font-size:13px;line-height:18px}.datepicker.dropdown-menu td,.datepicker.dropdown-menu th{padding:4px 5px}.datepicker table{border:0;margin:0;width:auto}.datepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer}.datepicker td,.datepicker th{text-align:center;width:20px;height:20px;border:0;font-size:12px;padding:4px 8px;cursor:pointer}.datepicker td{background:#fff}.datepicker td span.active,.datepicker td.active.day,.datepicker td.active.year{background:#2ba6cb}.datepicker td.new,.datepicker td.old{color:#999}.datepicker td.day.disabled{color:#eee}.datepicker th{background:#fff}.datepicker th span.active,.datepicker th.active.day,.datepicker th.active.year{background:#2ba6cb}.datepicker th.date-switch{width:145px}.datepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.datepicker.days div.datepicker-days,.datepicker.months div.datepicker-months,.datepicker.years div.datepicker-years{display:block}.datepicker-dropdown:after,.datepicker-dropdown:before{content:'';display:inline-block;position:absolute}.datepicker thead tr:first-child th{cursor:pointer}.datepicker thead tr:first-child th.cw{cursor:default;background-color:transparent}.datepicker tfoot tr:first-child th{cursor:pointer}.datepicker-inline{width:220px}.datepicker-rtl{direction:rtl}.datepicker-rtl table tr td span{float:right}.datepicker-dropdown{top:0;left:0}.datepicker-dropdown:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:1px solid rgba(0,0,0,.2);top:-7px;left:6px}.datepicker-dropdown:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;top:-6px;left:7px}.datepicker-dropdown::after,.datepicker-dropdown::before,.datepicker>div{display:none}.datepicker-close{position:absolute;top:-30px;right:0;width:15px;height:30px;padding:0;display:none}.table-striped .datepicker table tr td,.table-striped .datepicker table tr th{background-color:transparent}
|
||||
1
style/Datepicker/css/foundation.min.css
vendored
Normal file
1
style/Datepicker/css/foundation.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
79
style/Datepicker/index.html
Normal file
79
style/Datepicker/index.html
Normal file
@@ -0,0 +1,79 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Datepicker日期选择器插件 | jQuery日历</title>
|
||||
<link rel="stylesheet" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
|
||||
<link href="css/foundation.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="css/foundation-datepicker.css" rel="stylesheet" type="text/css">
|
||||
<style>
|
||||
.container { margin:0 auto; max-width:960px;padding:20px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Datepicker日期选择器插件</h1>
|
||||
<h2>Datepicker</h2>
|
||||
<input type="text" value="" id="demo-1">
|
||||
<h2>With timepicker</h2>
|
||||
<input type="text" value="" id="demo-2">
|
||||
<h2>Month picker</h2>
|
||||
<div class="row collapse date" id="demo-3" data-date="07/2015" data-format="mm/yyyy" data-start-view="year" data-min-view="year">
|
||||
<div class="small-2 columns"> <span class="prefix"><i class="fa fa-calendar"></i></span> </div>
|
||||
<div class="small-10 columns">
|
||||
<input size="16" type="text" value="07/2015" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Dependent datepicker</h2>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Check in:
|
||||
<input type="text" class="span2" value="" id="dpd1">
|
||||
</th>
|
||||
<th>Check out:
|
||||
<input type="text" class="span2" value="" id="dpd2">
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<script src="js/jquery-1.11.3.min.js"></script>
|
||||
<script src="js/foundation-datepicker.js"></script>
|
||||
<script src="js/locales/foundation-datepicker.zh-CN.js"></script>
|
||||
<script>
|
||||
$('#demo-1').fdatepicker();
|
||||
$('#demo-2').fdatepicker({
|
||||
format: 'yyyy-mm-dd hh:ii',
|
||||
pickTime: true
|
||||
});
|
||||
$('#demo-3').fdatepicker();
|
||||
|
||||
var nowTemp = new Date();
|
||||
var now = new Date(nowTemp.getFullYear(), nowTemp.getMonth(), nowTemp.getDate(), 0, 0, 0, 0);
|
||||
var checkin = $('#dpd1').fdatepicker({
|
||||
onRender: function (date) {
|
||||
return date.valueOf() < now.valueOf() ? 'disabled' : '';
|
||||
}
|
||||
}).on('changeDate', function (ev) {
|
||||
if (ev.date.valueOf() > checkout.date.valueOf()) {
|
||||
var newDate = new Date(ev.date)
|
||||
newDate.setDate(newDate.getDate() + 1);
|
||||
checkout.update(newDate);
|
||||
}
|
||||
checkin.hide();
|
||||
$('#dpd2')[0].focus();
|
||||
}).data('datepicker');
|
||||
var checkout = $('#dpd2').fdatepicker({
|
||||
onRender: function (date) {
|
||||
return date.valueOf() <= checkin.date.valueOf() ? 'disabled' : '';
|
||||
}
|
||||
}).on('changeDate', function (ev) {
|
||||
checkout.hide();
|
||||
}).data('datepicker');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
6
style/Datepicker/jquery插件库.url
Normal file
6
style/Datepicker/jquery插件库.url
Normal file
@@ -0,0 +1,6 @@
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,2
|
||||
[InternetShortcut]
|
||||
URL=http://www.jq22.com/
|
||||
IDList=
|
||||
HotKey=0
|
||||
1362
style/Datepicker/js/foundation-datepicker.js
Normal file
1362
style/Datepicker/js/foundation-datepicker.js
Normal file
File diff suppressed because it is too large
Load Diff
1
style/Datepicker/js/foundation-datepicker.min.js
vendored
Normal file
1
style/Datepicker/js/foundation-datepicker.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
20
style/Datepicker/js/foundation.min.js
vendored
Normal file
20
style/Datepicker/js/foundation.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
5
style/Datepicker/js/jquery-1.11.3.min.js
vendored
Normal file
5
style/Datepicker/js/jquery-1.11.3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
15
style/Datepicker/js/locales/foundation-datepicker.ar.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.ar.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Arabic translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Mohammed Alshehri <alshehri866@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['ar'] = {
|
||||
days: ["الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت", "الأحد"],
|
||||
daysShort: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت", "أحد"],
|
||||
daysMin: ["ح", "ن", "ث", "ع", "خ", "ج", "س", "ح"],
|
||||
months: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"],
|
||||
monthsShort: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"],
|
||||
today: "هذا اليوم",
|
||||
rtl: true
|
||||
};
|
||||
}(jQuery));
|
||||
12
style/Datepicker/js/locales/foundation-datepicker.az.js
Normal file
12
style/Datepicker/js/locales/foundation-datepicker.az.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// Azerbaijani
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['az'] = {
|
||||
days: ["Bazar", "Bazar ertəsi", "Çərşənbə axşamı", "Çərşənbə", "Cümə axşamı", "Cümə", "Şənbə"],
|
||||
daysShort: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş."],
|
||||
daysMin: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş."],
|
||||
months: ["Yanvar", "Fevral", "Mart", "Aprel", "May", "İyun", "İyul", "Avqust", "Sentyabr", "Oktyabr", "Noyabr", "Dekabr"],
|
||||
monthsShort: ["Yan", "Fev", "Mar", "Apr", "May", "İyun", "İyul", "Avq", "Sen", "Okt", "Noy", "Dek"],
|
||||
today: "Bu gün",
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.bg.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.bg.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Bulgarian translation for foundation-datepicker
|
||||
* Apostol Apostolov <apostol.s.apostolov@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['bg'] = {
|
||||
days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"],
|
||||
daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"],
|
||||
daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"],
|
||||
months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"],
|
||||
monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"],
|
||||
today: "днес"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.bs.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.bs.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Bosnian translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['bs'] = {
|
||||
days: ["Nedjelja","Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"],
|
||||
daysShort: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
|
||||
daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su"],
|
||||
months: ["Januar", "Februar", "Mart", "April", "Maj", "Juni", "Juli", "August", "Septembar", "Oktobar", "Novembar", "Decembar"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Danas",
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
17
style/Datepicker/js/locales/foundation-datepicker.ca.js
Normal file
17
style/Datepicker/js/locales/foundation-datepicker.ca.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Catalan translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* J. Garcia <jogaco.en@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['ca'] = {
|
||||
days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"],
|
||||
daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis"],
|
||||
daysMin: ["dg", "dl", "dt", "dc", "dj", "dv", "ds"],
|
||||
months: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"],
|
||||
monthsShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"],
|
||||
today: "Avui",
|
||||
clear: "Esborrar",
|
||||
weekStart: 1,
|
||||
format: "dd/mm/yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.cs.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.cs.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Czech translation for foundation-datepicker
|
||||
* Matěj Koubík <matej@koubik.name>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['cs'] = {
|
||||
days: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota", "Neděle"],
|
||||
daysShort: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So", "Ne"],
|
||||
daysMin: ["N", "P", "Ú", "St", "Č", "P", "So", "N"],
|
||||
months: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"],
|
||||
monthsShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čnc", "Srp", "Zář", "Říj", "Lis", "Pro"],
|
||||
today: "Dnes"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.cy.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.cy.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Welsh translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* S. Morris <s.morris@bangor.ac.uk>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['cy'] = {
|
||||
days: ["Sul", "Llun", "Mawrth", "Mercher", "Iau", "Gwener", "Sadwrn"],
|
||||
daysShort: ["Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad"],
|
||||
daysMin: ["Su", "Ll", "Ma", "Me", "Ia", "Gwe", "Sa"],
|
||||
months: ["Ionawr", "Chewfror", "Mawrth", "Ebrill", "Mai", "Mehefin", "Gorfennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr"],
|
||||
monthsShort: ["Ion", "Chw", "Maw", "Ebr", "Mai", "Meh", "Gor", "Aws", "Med", "Hyd", "Tach", "Rha"],
|
||||
today: "Heddiw"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.da.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.da.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Danish translation for foundation-datepicker
|
||||
* Christian Pedersen <http://github.com/chripede>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['da'] = {
|
||||
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
|
||||
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
|
||||
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
||||
months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "I Dag"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.de.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.de.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* German translation for foundation-datepicker
|
||||
* Sam Zurcher <sam@orelias.ch>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['de'] = {
|
||||
days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"],
|
||||
daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"],
|
||||
daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"],
|
||||
months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
|
||||
monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
|
||||
today: "Heute"
|
||||
};
|
||||
}(jQuery));
|
||||
13
style/Datepicker/js/locales/foundation-datepicker.el.js
Normal file
13
style/Datepicker/js/locales/foundation-datepicker.el.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['el'] = {
|
||||
days: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"],
|
||||
daysShort: ["Κυρ", "Δευ", "Τρί", "Τετ", "Πέμ", "Παρ", "Σάβ", "Κυρ"],
|
||||
daysMin: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά", "Κυ"],
|
||||
months: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"],
|
||||
monthsShort: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαϊ", "Ιου", "Ιου", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"],
|
||||
today: "Σήμερα"
|
||||
};
|
||||
}(jQuery));
|
||||
17
style/Datepicker/js/locales/foundation-datepicker.en-GB.js
Normal file
17
style/Datepicker/js/locales/foundation-datepicker.en-GB.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* British English translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Xavier Dutreilh <xavier@dutreilh.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['en-GB'] = {
|
||||
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
||||
daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
||||
daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
||||
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
today: "Today",
|
||||
clear: "Clear",
|
||||
weekStart: 1,
|
||||
format: "dd/mm/yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
17
style/Datepicker/js/locales/foundation-datepicker.eo.js
Normal file
17
style/Datepicker/js/locales/foundation-datepicker.eo.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Esperanto translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Emmanuel Debanne <https://github.com/debanne>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['eo'] = {
|
||||
days: ["dimanĉo", "lundo", "mardo", "merkredo", "ĵaŭdo", "vendredo", "sabato"],
|
||||
daysShort: ["dim.", "lun.", "mar.", "mer.", "ĵaŭ.", "ven.", "sam."],
|
||||
daysMin: ["d", "l", "ma", "me", "ĵ", "v", "s"],
|
||||
months: ["januaro", "februaro", "marto", "aprilo", "majo", "junio", "julio", "aŭgusto", "septembro", "oktobro", "novembro", "decembro"],
|
||||
monthsShort: ["jan.", "feb.", "mar.", "apr.", "majo", "jun.", "jul.", "aŭg.", "sep.", "okt.", "nov.", "dec."],
|
||||
today: "Hodiaŭ",
|
||||
clear: "Nuligi",
|
||||
weekStart: 1,
|
||||
format: "yyyy-mm-dd"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.es.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.es.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Spanish translation for foundation-datepicker
|
||||
* Bruno Bonamin <bruno.bonamin@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['es'] = {
|
||||
days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
|
||||
daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"],
|
||||
daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"],
|
||||
months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
|
||||
monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
|
||||
today: "Hoy"
|
||||
};
|
||||
}(jQuery));
|
||||
18
style/Datepicker/js/locales/foundation-datepicker.et.js
Normal file
18
style/Datepicker/js/locales/foundation-datepicker.et.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Estonian translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Ando Roots <https://github.com/anroots>
|
||||
* Fixes by Illimar Tambek <<https://github.com/ragulka>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['et'] = {
|
||||
days: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev"],
|
||||
daysShort: ["Pühap", "Esmasp", "Teisip", "Kolmap", "Neljap", "Reede", "Laup"],
|
||||
daysMin: ["P", "E", "T", "K", "N", "R", "L"],
|
||||
months: ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"],
|
||||
monthsShort: ["Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"],
|
||||
today: "Täna",
|
||||
clear: "Tühjenda",
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.eu.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.eu.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Basque translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Arkaitz Etxeberria <kondi80@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['eu'] = {
|
||||
days: ['Igandea', 'Astelehena', 'Asteartea', 'Asteazkena', 'Osteguna', 'Ostirala', 'Larunbata'],
|
||||
daysShort: ['Ig', 'Al', 'Ar', 'Az', 'Og', 'Ol', 'Lr'],
|
||||
daysMin: ['Ig', 'Al', 'Ar', 'Az', 'Og', 'Ol', 'Lr'],
|
||||
months: ['Urtarrila', 'Otsaila', 'Martxoa', 'Apirila', 'Maiatza', 'Ekaina', 'Uztaila', 'Abuztua', 'Iraila', 'Urria', 'Azaroa', 'Abendua'],
|
||||
monthsShort: ['Urt', 'Ots', 'Mar', 'Api', 'Mai', 'Eka', 'Uzt', 'Abu', 'Ira', 'Urr', 'Aza', 'Abe'],
|
||||
today: "Gaur"
|
||||
};
|
||||
}(jQuery));
|
||||
|
||||
17
style/Datepicker/js/locales/foundation-datepicker.fa.js
Normal file
17
style/Datepicker/js/locales/foundation-datepicker.fa.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Persian translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Mostafa Rokooie <mostafa.rokooie@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['fa'] = {
|
||||
days: ["یکشنبه", "دوشنبه", "سهشنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه", "یکشنبه"],
|
||||
daysShort: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه", "یک"],
|
||||
daysMin: ["ی", "د", "س", "چ", "پ", "ج", "ش", "ی"],
|
||||
months: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"],
|
||||
monthsShort: ["ژان", "فور", "مار", "آور", "مه", "ژون", "ژوی", "اوت", "سپت", "اکت", "نوا", "دسا"],
|
||||
today: "امروز",
|
||||
clear: "پاک کن",
|
||||
weekStart: 1,
|
||||
format: "yyyy/mm/dd"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.fi.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.fi.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Finnish translation for foundation-datepicker
|
||||
* Jaakko Salonen <https://github.com/jsalonen>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['fi'] = {
|
||||
days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"],
|
||||
daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"],
|
||||
daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"],
|
||||
months: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"],
|
||||
monthsShort: ["tam", "hel", "maa", "huh", "tou", "kes", "hei", "elo", "syy", "lok", "mar", "jou"],
|
||||
today: "tänään"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.fo.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.fo.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Faroese translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Theodor Johannesen <http://github.com/theodorjohannesen>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['fo'] = {
|
||||
days: ["Sunnudagur", "Mánadagur", "Týsdagur", "Mikudagur", "Hósdagur", "Fríggjadagur", "Leygardagur"],
|
||||
daysShort: ["Sun", "Mán", "Týs", "Mik", "Hós", "Frí", "Ley"],
|
||||
daysMin: ["Su", "Má", "Tý", "Mi", "Hó", "Fr", "Le"],
|
||||
months: ["Januar", "Februar", "Marts", "Apríl", "Mei", "Juni", "Juli", "August", "Septembur", "Oktobur", "Novembur", "Desembur"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
|
||||
today: "Í Dag",
|
||||
clear: "Reinsa"
|
||||
};
|
||||
}(jQuery));
|
||||
20
style/Datepicker/js/locales/foundation-datepicker.fr-CH.js
Normal file
20
style/Datepicker/js/locales/foundation-datepicker.fr-CH.js
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* French (Switzerland) translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Christoph Jossi <c.jossi@ascami.ch>
|
||||
* Based on
|
||||
* French translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Nico Mollet <nico.mollet@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['fr'] = {
|
||||
days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"],
|
||||
daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"],
|
||||
daysMin: ["D", "L", "Ma", "Me", "J", "V", "S"],
|
||||
months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"],
|
||||
monthsShort: ["Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc"],
|
||||
today: "Aujourd'hui",
|
||||
clear: "Effacer",
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.fr.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.fr.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* French translation for foundation-datepicker
|
||||
* Nico Mollet <nico.mollet@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['fr'] = {
|
||||
days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
|
||||
daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"],
|
||||
daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"],
|
||||
months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"],
|
||||
monthsShort: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Dec"],
|
||||
today: "Aujourd'hui"
|
||||
};
|
||||
}(jQuery));
|
||||
13
style/Datepicker/js/locales/foundation-datepicker.gl.js
Normal file
13
style/Datepicker/js/locales/foundation-datepicker.gl.js
Normal file
@@ -0,0 +1,13 @@
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['gl'] = {
|
||||
days: ["Domingo", "Luns", "Martes", "Mércores", "Xoves", "Venres", "Sábado"],
|
||||
daysShort: ["Dom", "Lun", "Mar", "Mér", "Xov", "Ven", "Sáb"],
|
||||
daysMin: ["Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa"],
|
||||
months: ["Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"],
|
||||
monthsShort: ["Xan", "Feb", "Mar", "Abr", "Mai", "Xun", "Xul", "Ago", "Sep", "Out", "Nov", "Dec"],
|
||||
today: "Hoxe",
|
||||
clear: "Limpar",
|
||||
weekStart: 1,
|
||||
format: "dd/mm/yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.he.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.he.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Hebrew translation for foundation-datepicker
|
||||
* Sagie Maoz <sagie@maoz.info>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['he'] = {
|
||||
days: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת", "ראשון"],
|
||||
daysShort: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"],
|
||||
daysMin: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"],
|
||||
months: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"],
|
||||
monthsShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"],
|
||||
today: "היום",
|
||||
rtl: true
|
||||
};
|
||||
}(jQuery));
|
||||
13
style/Datepicker/js/locales/foundation-datepicker.hr.js
Normal file
13
style/Datepicker/js/locales/foundation-datepicker.hr.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Croatian localisation
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['hr'] = {
|
||||
days: ["Nedjelja", "Ponedjelja", "Utorak", "Srijeda", "Četrtak", "Petak", "Subota", "Nedjelja"],
|
||||
daysShort: ["Ned", "Pon", "Uto", "Srr", "Čet", "Pet", "Sub", "Ned"],
|
||||
daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su", "Ne"],
|
||||
months: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"],
|
||||
monthsShort: ["Sije", "Velj", "Ožu", "Tra", "Svi", "Lip", "Jul", "Kol", "Ruj", "Lis", "Stu", "Pro"],
|
||||
today: "Danas"
|
||||
};
|
||||
}(jQuery));
|
||||
13
style/Datepicker/js/locales/foundation-datepicker.hu.js
Normal file
13
style/Datepicker/js/locales/foundation-datepicker.hu.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Hungarian localisation
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['hu'] = {
|
||||
days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"],
|
||||
daysShort: ["Vas", "Hét", "Kedd", "Sze", "Csü", "Pén", "Szo", "Vas"],
|
||||
daysMin: ["Va", "Hé", "Ke", "Sz", "Cs", "Pé", "Sz", "Va"],
|
||||
months: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Szep", "Okt", "Nov", "Dec"],
|
||||
today: "Ma"
|
||||
};
|
||||
}(jQuery));
|
||||
17
style/Datepicker/js/locales/foundation-datepicker.hy.js
Normal file
17
style/Datepicker/js/locales/foundation-datepicker.hy.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Armenian translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Hayk Chamyan <hamshen@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['hy'] = {
|
||||
days: ["Կիրակի", "Երկուշաբթի", "Երեքշաբթի", "Չորեքշաբթի", "Հինգշաբթի", "Ուրբաթ", "Շաբաթ"],
|
||||
daysShort: ["Կիր", "Երկ", "Երք", "Չոր", "Հնգ", "Ուր", "Շաբ"],
|
||||
daysMin: ["Կի", "Եկ", "Եք", "Չո", "Հի", "Ու", "Շա"],
|
||||
months: ["Հունվար", "Փետրվար", "Մարտ", "Ապրիլ", "Մայիս", "Հունիս", "Հուլիս", "Օգոստոս", "Սեպտեմբեր", "Հոկտեմբեր", "Նոյեմբեր", "Դեկտեմբեր"],
|
||||
monthsShort: ["Հնվ", "Փետ", "Մար", "Ապր", "Մայ", "Հուն", "Հուլ", "Օգս", "Սեպ", "Հոկ", "Նոյ", "Դեկ"],
|
||||
today: "Այսօր",
|
||||
clear: "Ջնջել",
|
||||
format: "dd.mm.yyyy",
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
||||
13
style/Datepicker/js/locales/foundation-datepicker.id.js
Normal file
13
style/Datepicker/js/locales/foundation-datepicker.id.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Bahasa translation for foundation-datepicker
|
||||
* Azwar Akbar <azwar.akbar@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['id'] = {
|
||||
days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"],
|
||||
daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"],
|
||||
daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"],
|
||||
months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ags", "Sep", "Okt", "Nov", "Des"]
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.is.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.is.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Icelandic translation for foundation-datepicker
|
||||
* Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['is'] = {
|
||||
days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"],
|
||||
daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"],
|
||||
daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"],
|
||||
months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"],
|
||||
today: "Í Dag"
|
||||
};
|
||||
}(jQuery));
|
||||
20
style/Datepicker/js/locales/foundation-datepicker.it-CH.js
Normal file
20
style/Datepicker/js/locales/foundation-datepicker.it-CH.js
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Italian (Switzerland) translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Christoph Jossi <c.jossi@ascami.ch>
|
||||
* Based on
|
||||
* Italian translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Enrico Rubboli <rubboli@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['it'] = {
|
||||
days: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"],
|
||||
daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"],
|
||||
daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa"],
|
||||
months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
|
||||
monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"],
|
||||
today: "Oggi",
|
||||
clear: "Cancella",
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.it.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.it.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Italian translation for foundation-datepicker
|
||||
* Enrico Rubboli <rubboli@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['it'] = {
|
||||
days: ["Domenica", "Lunedi", "Martedi", "Mercoledi", "Giovedi", "Venerdi", "Sabato", "Domenica"],
|
||||
daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"],
|
||||
daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"],
|
||||
months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
|
||||
monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"],
|
||||
today: "Oggi"
|
||||
};
|
||||
}(jQuery));
|
||||
16
style/Datepicker/js/locales/foundation-datepicker.ja.js
Normal file
16
style/Datepicker/js/locales/foundation-datepicker.ja.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Japanese translation for foundation-datepicker
|
||||
* Norio Suzuki <https://github.com/suzuki/>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['ja'] = {
|
||||
days: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"],
|
||||
daysShort: ["日", "月", "火", "水", "木", "金", "土"],
|
||||
daysMin: ["日", "月", "火", "水", "木", "金", "土"],
|
||||
months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
|
||||
monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
|
||||
today: "今日",
|
||||
format: "yyyy/mm/dd",
|
||||
titleFormat: "yyyy年 mm月"
|
||||
};
|
||||
}(jQuery));
|
||||
17
style/Datepicker/js/locales/foundation-datepicker.ka.js
Normal file
17
style/Datepicker/js/locales/foundation-datepicker.ka.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Georgian translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Levan Melikishvili <levani0101@yahoo.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['ka'] = {
|
||||
days: ["კვირა", "ორშაბათი", "სამშაბათი", "ოთხშაბათი", "ხუთშაბათი", "პარასკევი", "შაბათი"],
|
||||
daysShort: ["კვი", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ"],
|
||||
daysMin: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"],
|
||||
months: ["იანვარი", "თებერვალი", "მარტი", "აპრილი", "მაისი", "ივნისი", "ივლისი", "აგვისტო", "სექტემბერი", "ოქტომები", "ნოემბერი", "დეკემბერი"],
|
||||
monthsShort: ["იან", "თებ", "მარ", "აპრ", "მაი", "ივნ", "ივლ", "აგვ", "სექ", "ოქტ", "ნოე", "დეკ"],
|
||||
today: "დღეს",
|
||||
clear: "გასუფთავება",
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.kh.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.kh.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Cambodia (Khmer) translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Lytay TOUCH <lytaytouch@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['kh'] = {
|
||||
days: ["អាទិត្យ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រហស្បតិ៍", "សុក្រ", "សៅរ៍", "អាទិត្យ"],
|
||||
daysShort: ["អា.ទិ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រ.ហ", "សុក្រ", "សៅរ៍", "អា.ទិ"],
|
||||
daysMin: ["អា.ទិ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រ.ហ", "សុក្រ", "សៅរ៍", "អា.ទិ"],
|
||||
months: ["មករា", "កុម្ភះ", "មិនា", "មេសា", "ឧសភា", "មិថុនា", "កក្កដា", "សីហា", "កញ្ញា", "តុលា", "វិច្ឆិកា", "ធ្នូ"],
|
||||
monthsShort: ["មករា", "កុម្ភះ", "មិនា", "មេសា", "ឧសភា", "មិថុនា", "កក្កដា", "សីហា", "កញ្ញា", "តុលា", "វិច្ឆិកា", "ធ្នូ"],
|
||||
today: "ថ្ងៃនេះ",
|
||||
clear: "សំអាត"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.kk.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.kk.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Kazakh translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Yerzhan Tolekov <era.tolekov@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['kk'] = {
|
||||
days: ["Жексенбі", "Дүйсенбі", "Сейсенбі", "Сәрсенбі", "Бейсенбі", "Жұма", "Сенбі"],
|
||||
daysShort: ["Жек", "Дүй", "Сей", "Сәр", "Бей", "Жұм", "Сен"],
|
||||
daysMin: ["Жк", "Дс", "Сс", "Ср", "Бс", "Жм", "Сн"],
|
||||
months: ["Қаңтар", "Ақпан", "Наурыз", "Сәуір", "Мамыр", "Маусым", "Шілде", "Тамыз", "Қыркүйек", "Қазан", "Қараша", "Желтоқсан"],
|
||||
monthsShort: ["Қаң", "Ақп", "Нау", "Сәу", "Мамыр", "Мау", "Шлд", "Тмз", "Қыр", "Қзн", "Қар", "Жел"],
|
||||
today: "Бүгін",
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
||||
18
style/Datepicker/js/locales/foundation-datepicker.ko.js
Normal file
18
style/Datepicker/js/locales/foundation-datepicker.ko.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Korean translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* This is a port from https://github.com/moment/moment/blob/develop/src/locale/ko.js
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['ko'] = {
|
||||
days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"],
|
||||
daysShort: ["일", "월", "화", "수", "목", "금", "토"],
|
||||
daysMin: ["일", "월", "화", "수", "목", "금", "토"],
|
||||
months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
|
||||
monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
|
||||
today: "오늘",
|
||||
clear: "삭제",
|
||||
format: "YYYY-MM-DD",
|
||||
titleFormat: "yyyy년mm월",
|
||||
weekStart: 0
|
||||
};
|
||||
}(jQuery));
|
||||
13
style/Datepicker/js/locales/foundation-datepicker.kr.js
Normal file
13
style/Datepicker/js/locales/foundation-datepicker.kr.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Korean translation for foundation-datepicker
|
||||
* Gu Youn <http://github.com/guyoun>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['kr'] = {
|
||||
days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"],
|
||||
daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"],
|
||||
daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"],
|
||||
months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
|
||||
monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"]
|
||||
};
|
||||
}(jQuery));
|
||||
16
style/Datepicker/js/locales/foundation-datepicker.lt.js
Normal file
16
style/Datepicker/js/locales/foundation-datepicker.lt.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Lithuanian translation for foundation-datepicker
|
||||
* Šarūnas Gliebus <ssharunas@yahoo.co.uk>
|
||||
*/
|
||||
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['lt'] = {
|
||||
days: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis", "Sekmadienis"],
|
||||
daysShort: ["S", "Pr", "A", "T", "K", "Pn", "Š", "S"],
|
||||
daysMin: ["Sk", "Pr", "An", "Tr", "Ke", "Pn", "Št", "Sk"],
|
||||
months: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"],
|
||||
monthsShort: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru"],
|
||||
today: "Šiandien",
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
||||
16
style/Datepicker/js/locales/foundation-datepicker.lv.js
Normal file
16
style/Datepicker/js/locales/foundation-datepicker.lv.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Latvian translation for foundation-datepicker
|
||||
* Artis Avotins <artis@apit.lv>
|
||||
*/
|
||||
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['lv'] = {
|
||||
days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"],
|
||||
daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S", "Sv"],
|
||||
daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "St", "Sv"],
|
||||
months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec."],
|
||||
today: "Šodien",
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
||||
17
style/Datepicker/js/locales/foundation-datepicker.me.js
Normal file
17
style/Datepicker/js/locales/foundation-datepicker.me.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Montenegrin translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Miodrag Nikač <miodrag@restartit.me>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['me'] = {
|
||||
days: ["Nedjelja","Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"],
|
||||
daysShort: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
|
||||
daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su"],
|
||||
months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Danas",
|
||||
weekStart: 1,
|
||||
clear: "Izbriši",
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.mk.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.mk.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Macedonian translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Marko Aleksic <psybaron@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['mk'] = {
|
||||
days: ["Недела", "Понеделник", "Вторник", "Среда", "Четврток", "Петок", "Сабота"],
|
||||
daysShort: ["Нед", "Пон", "Вто", "Сре", "Чет", "Пет", "Саб"],
|
||||
daysMin: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са"],
|
||||
months: ["Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември"],
|
||||
monthsShort: ["Јан", "Фев", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Ное", "Дек"],
|
||||
today: "Денес",
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
17
style/Datepicker/js/locales/foundation-datepicker.mn.js
Normal file
17
style/Datepicker/js/locales/foundation-datepicker.mn.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Mongolian translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Andrey Torsunov <andrey.torsunov@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['mn'] = {
|
||||
days: ["Ням", "Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба"],
|
||||
daysShort: ["Ням", "Дав", "Мяг", "Лха", "Пүр", "Баа", "Бям"],
|
||||
daysMin: ["Ня", "Да", "Мя", "Лх", "Пү", "Ба", "Бя"],
|
||||
months: ["Хулгана", "Үхэр", "Бар", "Туулай", "Луу", "Могой", "Морь", "Хонь", "Бич", "Тахиа", "Нохой", "Гахай"],
|
||||
monthsShort: ["Хул", "Үхэ", "Бар", "Туу", "Луу", "Мог", "Мор", "Хон", "Бич", "Тах", "Нох", "Гах"],
|
||||
today: "Өнөөдөр",
|
||||
clear: "Тодорхой",
|
||||
format: "yyyy.mm.dd",
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.ms.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.ms.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Malay translation for foundation-datepicker
|
||||
* Ateman Faiz <noorulfaiz@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['ms'] = {
|
||||
days: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad"],
|
||||
daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"],
|
||||
daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"],
|
||||
months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"],
|
||||
today: "Hari Ini"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.nb.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.nb.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Norwegian (bokmål) translation for foundation-datepicker
|
||||
* Fredrik Sundmyhr <http://github.com/fsundmyhr>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['nb'] = {
|
||||
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
|
||||
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
|
||||
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
||||
months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
|
||||
today: "I Dag"
|
||||
};
|
||||
}(jQuery));
|
||||
17
style/Datepicker/js/locales/foundation-datepicker.nl-BE.js
Normal file
17
style/Datepicker/js/locales/foundation-datepicker.nl-BE.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Belgium-Dutch translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Julien Poulin <poulin_julien@hotmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['nl-BE'] = {
|
||||
days: ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"],
|
||||
daysShort: ["zo", "ma", "di", "wo", "do", "vr", "za"],
|
||||
daysMin: ["zo", "ma", "di", "wo", "do", "vr", "za"],
|
||||
months: ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"],
|
||||
monthsShort: ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec"],
|
||||
today: "Vandaag",
|
||||
clear: "Leegmaken",
|
||||
weekStart: 1,
|
||||
format: "dd/mm/yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.nl.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.nl.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Dutch translation for foundation-datepicker
|
||||
* Reinier Goltstein <mrgoltstein@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['nl'] = {
|
||||
days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
|
||||
daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
||||
daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
||||
months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Vandaag"
|
||||
};
|
||||
}(jQuery));
|
||||
13
style/Datepicker/js/locales/foundation-datepicker.no.js
Normal file
13
style/Datepicker/js/locales/foundation-datepicker.no.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Norwegian translation for foundation-datepicker
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['no'] = {
|
||||
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
|
||||
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
|
||||
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
||||
months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
|
||||
today: "I dag"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.pl.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.pl.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Polish translation for foundation-datepicker
|
||||
* Robert <rtpm@gazeta.pl>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['pl'] = {
|
||||
days: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"],
|
||||
daysShort: ["Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So", "Nie"],
|
||||
daysMin: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"],
|
||||
months: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"],
|
||||
monthsShort: ["Sty", "Lu", "Mar", "Kw", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru"],
|
||||
today: "Dzisiaj",
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.pt-br.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.pt-br.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Brazilian translation for foundation-datepicker
|
||||
* Cauan Cabral <cauan@radig.com.br>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['pt-br'] = {
|
||||
days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
|
||||
daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
|
||||
daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
|
||||
months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
|
||||
monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
|
||||
today: "Hoje"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.pt.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.pt.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Portuguese translation for foundation-datepicker
|
||||
* Original code: Cauan Cabral <cauan@radig.com.br>
|
||||
* Tiago Melo <tiago.blackcode@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['pt'] = {
|
||||
days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
|
||||
daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
|
||||
daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
|
||||
months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
|
||||
monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"]
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.ro.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.ro.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Romanian translation for foundation-datepicker
|
||||
* Cristian Vasile <cristi.mie@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['ro'] = {
|
||||
days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"],
|
||||
daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"],
|
||||
daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"],
|
||||
months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"],
|
||||
monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
today: "Astăzi",
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
||||
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Serbian latin translation for foundation-datepicker
|
||||
* Bojan Milosavlević <milboj@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['rs-latin'] = {
|
||||
days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"],
|
||||
daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
|
||||
daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"],
|
||||
months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Danas"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.rs.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.rs.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Serbian cyrillic translation for foundation-datepicker
|
||||
* Bojan Milosavlević <milboj@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['rs'] = {
|
||||
days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"],
|
||||
daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"],
|
||||
daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"],
|
||||
months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"],
|
||||
monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"],
|
||||
today: "Данас"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.ru.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.ru.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Russian translation for foundation-datepicker
|
||||
* Victor Taranenko <darwin@snowdale.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['ru'] = {
|
||||
days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"],
|
||||
daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"],
|
||||
daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"],
|
||||
months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
|
||||
monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"],
|
||||
today: "Сегодня"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.sk.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.sk.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Slovak translation for foundation-datepicker
|
||||
* Peter Beňo <najlepsiwebdesigner@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates["sk"] = {
|
||||
days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"],
|
||||
daysShort: ["Ne", "Po", "Ut", "St", "Št", "Pi", "So", "Ne"],
|
||||
daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pi", "So", "Ne"],
|
||||
months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Dnes"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.sl.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.sl.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Slovene translation for foundation-datepicker
|
||||
* Gregor Rudolf <gregor.rudolf@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['sl'] = {
|
||||
days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"],
|
||||
daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"],
|
||||
daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"],
|
||||
months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Danes"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.sq.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.sq.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Albanian translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Tomor Pupovci <http://www.github.com/ttomor>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['sq'] = {
|
||||
days: ["E Diel", "E Hënë", "E Martē", "E Mërkurë", "E Enjte", "E Premte", "E Shtunë"],
|
||||
daysShort: ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Shtu"],
|
||||
daysMin: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sht"],
|
||||
months: ["Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", "Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor"],
|
||||
monthsShort: ["Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Korr", "Gu", "Sht", "Tet", "Nën", "Dhjet"],
|
||||
today: "Sot"
|
||||
};
|
||||
}(jQuery));
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Serbian latin translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Bojan Milosavlević <milboj@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['sr-latin'] = {
|
||||
days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota"],
|
||||
daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
|
||||
daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su"],
|
||||
months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Danas",
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
16
style/Datepicker/js/locales/foundation-datepicker.sr.js
Normal file
16
style/Datepicker/js/locales/foundation-datepicker.sr.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Serbian cyrillic translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Bojan Milosavlević <milboj@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['sr'] = {
|
||||
days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"],
|
||||
daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб"],
|
||||
daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су"],
|
||||
months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"],
|
||||
monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"],
|
||||
today: "Данас",
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.sv.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.sv.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Swedish translation for foundation-datepicker
|
||||
* Patrik Ragnarsson <patrik@starkast.net>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['sv'] = {
|
||||
days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
|
||||
daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"],
|
||||
daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"],
|
||||
months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "I Dag"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.sw.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.sw.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Swahili translation for foundation-datepicker, language file from bootstrap-datepicker
|
||||
* Edwin Mugendi <https://github.com/edwinmugendi>
|
||||
* Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['sw'] = {
|
||||
days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi"],
|
||||
daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1"],
|
||||
daysMin: ["2", "3", "4", "5", "A", "I", "1"],
|
||||
months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"],
|
||||
monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"],
|
||||
today: "Leo"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.th.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.th.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Thai translation for foundation-datepicker
|
||||
* Suchau Jiraprapot <seroz24@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['th'] = {
|
||||
days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"],
|
||||
daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
|
||||
daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
|
||||
months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"],
|
||||
monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
|
||||
today: "วันนี้"
|
||||
};
|
||||
}(jQuery));
|
||||
15
style/Datepicker/js/locales/foundation-datepicker.tr.js
Normal file
15
style/Datepicker/js/locales/foundation-datepicker.tr.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Turkish translation for foundation-datepicker
|
||||
* Serkan Algur <kaisercrazy_2@hotmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['tr'] = {
|
||||
days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"],
|
||||
daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"],
|
||||
daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"],
|
||||
months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"],
|
||||
monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"],
|
||||
today: "Bugün"
|
||||
};
|
||||
}(jQuery));
|
||||
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.uk.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.uk.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Ukrainian translation for bootstrap-datepicker
|
||||
* Andrey Vityuk <andrey [dot] vityuk [at] gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['uk'] = {
|
||||
days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота", "Неділя"],
|
||||
daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"],
|
||||
daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"],
|
||||
months: ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"],
|
||||
monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"],
|
||||
today: "Сьогодні"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.vi.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.vi.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Vietnamese translation for foundation-datepicker
|
||||
* thanks! https://github.com/handleror
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['vi'] = {
|
||||
days: ["Chủ Nhật","Thứ 2", "Thứ 3", "Thứ 4", "Thứ 5", "Thứ 6", "Thứ 7", "Chủ Nhật"],
|
||||
daysShort: ["CN", "T2", "T3", "T4", "T5", "T6", "T7", "CN"],
|
||||
daysMin: ["CN", "T2", "T3", "T4", "T5", "T6", "T7", "CN"],
|
||||
months: ["Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", "7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12"],
|
||||
monthsShort: ["Thg1", "Thg2", "Thg3", "Thg4", "Thg5", "Thg6", "Thg7", "Thg8", "Thg9", "Thg10", "Thg11", "Thg12"],
|
||||
today: "Hôm nay"
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.zh-CN.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.zh-CN.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Simplified Chinese translation for foundation-datepicker
|
||||
* Yuan Cheung <advanimal@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['zh-CN'] = {
|
||||
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
|
||||
daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
|
||||
daysMin: ["日", "一", "二", "三", "四", "五", "六"],
|
||||
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
monthsShort: ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"],
|
||||
today: '今天'
|
||||
};
|
||||
}(jQuery));
|
||||
14
style/Datepicker/js/locales/foundation-datepicker.zh-TW.js
Normal file
14
style/Datepicker/js/locales/foundation-datepicker.zh-TW.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Traditional Chinese translation for fondation-datepicker
|
||||
* Rung-Sheng Jang <daniel@i-trend.co.cc>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.fdatepicker.dates['zh-TW'] = {
|
||||
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
|
||||
daysShort: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
|
||||
daysMin: ["日", "一", "二", "三", "四", "五", "六"],
|
||||
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
monthsShort: ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"],
|
||||
today: '今天'
|
||||
};
|
||||
}(jQuery));
|
||||
7
style/Datepicker/www.jq22.com.txt
Normal file
7
style/Datepicker/www.jq22.com.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
jQuery<72><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
http://www.jq22.com
|
||||
|
||||
<20>ҵĸ<D2B5><C4B8>٣<EFBFBD><D9A3><EFBFBD><EFBFBD>ĸ<EFBFBD><C4B8>࣡ jQuery<72><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻΪ<D6BB><CEAA><EFBFBD>ṩ<EFBFBD><E1B9A9><EFBFBD>õģ<C3B5>
|
||||
|
||||
BIN
style/Merriweather.ttf
Normal file
BIN
style/Merriweather.ttf
Normal file
Binary file not shown.
BIN
style/SalmaalfasansLight-d9MJx.otf
Normal file
BIN
style/SalmaalfasansLight-d9MJx.otf
Normal file
Binary file not shown.
162
style/combobox/combobox.css
Normal file
162
style/combobox/combobox.css
Normal file
@@ -0,0 +1,162 @@
|
||||
.content-box {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/*去掉input默认样式*/
|
||||
.filter-box input {
|
||||
background: none;
|
||||
outline: none;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
/**
|
||||
* selectFilter --v1.0
|
||||
*
|
||||
**/
|
||||
|
||||
|
||||
|
||||
.filter-disabled {
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
.filter-box {
|
||||
position: relative;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.filter-box select {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.filter-text {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
padding: 0 20px 0 10px;
|
||||
background: #fff;
|
||||
border: 1px solid #024393;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.filter-text input {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.filter-text .filter-title {
|
||||
width: 100%;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.filter-text[disabled="disabled"], .ui-combobox-disabled, span[disabled="disabled"]:hover {
|
||||
cursor: not-allowed!important;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.filter-list {
|
||||
display: none;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
font-size: 14px;
|
||||
position: absolute;
|
||||
top: 42px;
|
||||
left: 0;
|
||||
z-index: 99;
|
||||
border: 1px solid #e6e6e6;
|
||||
max-height: 180px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.filter-list li.filter-null a {
|
||||
color: #d2d2d2;
|
||||
}
|
||||
|
||||
.filter-list li a {
|
||||
display: block;
|
||||
padding: 0 10px;
|
||||
line-height: 36px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.filter-list li:hover {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.filter-list li.filter-selected {
|
||||
background-color: #006699;
|
||||
}
|
||||
|
||||
.filter-list li.filter-selected a{
|
||||
display: block;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.filter-list li.filter-disabled {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.filter-list li.filter-disabled a{
|
||||
display: block;
|
||||
color: #d2d2d2;
|
||||
}
|
||||
|
||||
.filter-list li.filter-disabled:hover a {
|
||||
cursor: not-allowed!important;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.icon {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.icon-filter-arrow {
|
||||
width: 9px;
|
||||
height: 6px;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url(./icon_arrow_down.png);
|
||||
background-image: image-set(url(./icon_arrow_down.png) 1x,url(./icon_arrow_down_x2.png) 2x);
|
||||
background-image: -webkit-image-set(url(./icon_arrow_down.png) 1x,url(./icon_arrow_down_x2.png) 2x);
|
||||
background-size: 100%;
|
||||
right: 5px;
|
||||
top: 10px;
|
||||
transition: all .2s;
|
||||
}
|
||||
|
||||
.icon-filter-arrow.filter-show {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
|
||||
|
||||
/*滚动条样式*/
|
||||
*::-webkit-scrollbar {/*滚动条整体样式*/
|
||||
width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
|
||||
height: 4px;
|
||||
}
|
||||
*::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
|
||||
border-radius: 5px;
|
||||
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
|
||||
background: rgba(0,0,0,0.2);
|
||||
}
|
||||
*::-webkit-scrollbar-track {/*滚动条里面轨道*/
|
||||
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
|
||||
border-radius: 0;
|
||||
background: rgba(0,0,0,0.1);
|
||||
}
|
||||
342
style/combobox/combobox.js
Normal file
342
style/combobox/combobox.js
Normal file
@@ -0,0 +1,342 @@
|
||||
!(function($) {
|
||||
var iconHtml = '<span class="icon icon-filter-arrow"></span>';
|
||||
var wrapHtml = `<div class="filter-box">` +
|
||||
`<div class="filter-text">` +
|
||||
`</div>` +
|
||||
`</div>`;
|
||||
var ulHtml = `<ul class="filter-list"></ul>`;
|
||||
$.widget('ui.combobox', {
|
||||
options: {
|
||||
/**
|
||||
* @cfg {String} placeholder 为空时的提示信息
|
||||
*/
|
||||
placeholder: '-- Please Select --',
|
||||
/**
|
||||
* @cfg {Boolean} editable 是否手动输入,默认为 true
|
||||
*/
|
||||
editable: true,
|
||||
/**
|
||||
* @cfg {String} [dataTextField='name'] 数据源显示字段
|
||||
*/
|
||||
dataTextField: "name",
|
||||
/**
|
||||
* @cfg {String} [dataValueField='value'] 数据源取值字段
|
||||
*/
|
||||
dataValueField: "value",
|
||||
/**
|
||||
* @cfg {Array} [dataSource='name'] 数据源
|
||||
*/
|
||||
dataSource: [],
|
||||
/**
|
||||
* @cfg {Number} [delay=500] 延迟搜索,避免过多无效搜索,单位毫秒ms,默认是500ms
|
||||
*/
|
||||
delay: 500,
|
||||
/**
|
||||
* @cfg {Function} [change=null] 定义改变下拉框值事件函数,事件名称combobox:change
|
||||
*/
|
||||
change: null
|
||||
},
|
||||
/**
|
||||
jQueryUI Widget生命周期方法,生成HTML,事件绑定
|
||||
*/
|
||||
_create: function() {
|
||||
console.log('--- create ---');
|
||||
// 包装节点
|
||||
this.element.addClass('filter-title').attr('placeholder', this.options.placeholder);
|
||||
this.element.wrap(wrapHtml);
|
||||
this.element.after(iconHtml);
|
||||
this.element.parent().after(ulHtml);
|
||||
this.$filterText = this.element.parent();
|
||||
this.$ul = this.element.parent().siblings('ul');
|
||||
this.$icon = this.element.siblings('span');
|
||||
// 存放输入框搜索的定时器
|
||||
this.timeoutArr = [];
|
||||
// 设置是否可编辑
|
||||
this.setEditable(this.options.editable);
|
||||
// 读取 dataSource,处理数据
|
||||
this._initDataSource();
|
||||
// 绑定事件
|
||||
this._delegateEvent();
|
||||
},
|
||||
/**
|
||||
jQueryUI Widget生命周期方法
|
||||
*/
|
||||
_init: function() {
|
||||
console.log('--- init ---');
|
||||
},
|
||||
_setOptions: function(options) {
|
||||
for (var key in options) {
|
||||
this._setOption(key, options[key]);
|
||||
}
|
||||
return this;
|
||||
},
|
||||
_setOption: function (key, value) {
|
||||
$.Widget.prototype._setOption.apply(this, arguments);
|
||||
if (key === 'editable') {
|
||||
this.setEditable(value);
|
||||
}
|
||||
if (key === 'disabled') {
|
||||
this.$filterText.attr('disabled', value);
|
||||
this.element.attr('disabled', value);
|
||||
this.$icon.attr('disabled', value);
|
||||
}
|
||||
return this;
|
||||
},
|
||||
setEditable: function (editable) {
|
||||
editable = !!editable;
|
||||
this.options.editable = editable;
|
||||
if (editable) {
|
||||
this.element.removeAttr('readonly');
|
||||
this._on(this.element, {
|
||||
'keydown': '_onKeyDown'
|
||||
});
|
||||
} else {
|
||||
this.element.attr("readonly", true);
|
||||
this._off(this.element);
|
||||
}
|
||||
return this;
|
||||
},
|
||||
_destroy: function() {
|
||||
// 移除属性
|
||||
this.element.removeClass('input-combobox filter-title').removeAttr('data-value')
|
||||
.attr('readonly', false).val('');
|
||||
// 移除 dom
|
||||
this.$filterText.parent().after(this.element);
|
||||
this.$filterText.parent().remove();
|
||||
},
|
||||
_onKeyDown: function(e) {
|
||||
console.log('--- keydown ---');
|
||||
var timeout = setTimeout(function(context) {
|
||||
return function() {
|
||||
context.timeoutArr.shift();
|
||||
var inputVal = context.element.val();
|
||||
if (inputVal) {
|
||||
context.$ul.find('li').addClass('hide').not('.filter-disabled')
|
||||
.filter(function(index, item) {
|
||||
return item.firstChild.text.indexOf(inputVal) > -1;
|
||||
}).removeClass('hide');
|
||||
} else {
|
||||
context.$ul.find('li').removeClass('hide');
|
||||
}
|
||||
console.log('--- delay ' + context.options.delay + 'ms search ---');
|
||||
};
|
||||
}(this), this.options.delay);
|
||||
if (this.timeoutArr.length > 0) {
|
||||
var preTimeout = this.timeoutArr.shift();
|
||||
clearTimeout(preTimeout);
|
||||
}
|
||||
this.timeoutArr.push(timeout);
|
||||
},
|
||||
_initDataSource: function() {
|
||||
// dataSource没有数据,不处理
|
||||
if (!this.options.dataSource || this.options.dataSource.length <= 0) {
|
||||
this.options.dataSource = [];
|
||||
return;
|
||||
}
|
||||
// 过滤掉 dataSource中键值对与 dataTextField、dataValueField不符合的记录
|
||||
this.options.dataSource = this.options.dataSource.filter(function(currentValue, index, arr) {
|
||||
return currentValue[this.options.dataTextField] != null
|
||||
&& currentValue[this.options.dataValueField] != null;
|
||||
}, this);
|
||||
// 清空掉 item选项
|
||||
this.$ul.empty();
|
||||
if (this.options.dataSource && this.options.dataSource.length) {
|
||||
$.each(this.options.dataSource, function (i, item) {
|
||||
this._appendToUl(item);
|
||||
}.bind(this));
|
||||
}
|
||||
},
|
||||
_appendToUl: function(item) {
|
||||
// 处理dataTextField的值为非字符串的问题
|
||||
item[this.options.dataTextField] += "";
|
||||
// 组建 item
|
||||
var liHtml =
|
||||
`<li data-value="#{value}" class="#{class}"><a title="#{title}">#{text}</a></li>`;
|
||||
liHtml = $.fn.format(liHtml, {
|
||||
value: item[this.options.dataValueField],
|
||||
text: item[this.options.dataTextField],
|
||||
title: item[this.options.dataTextField],
|
||||
class: ((item.selected ? 'filter-selected' : '')
|
||||
+ ' ' + (item.disabled ? 'filter-disabled' : '')).trim()
|
||||
});
|
||||
this.$ul.append(liHtml);
|
||||
if (item.selected) {
|
||||
// 设置 item选中
|
||||
this._select(item);
|
||||
}
|
||||
},
|
||||
_delegateEvent: function() {
|
||||
// 展示/隐藏 组件内容
|
||||
this.$filterText.on('click.combobox', 'input, span', function() {
|
||||
if (!this.options.disabled) {
|
||||
this.$ul.slideToggle(100);
|
||||
this.$ul.toggleClass('filter-open');
|
||||
this.$icon.toggleClass('filter-show');
|
||||
}
|
||||
}.bind(this));
|
||||
$(this.document).on('mousedown.combobox', function(e) {
|
||||
var target = e.target ? e.target : e.srcElement;
|
||||
// 过滤某些元素,点击后不触发
|
||||
if (target.parentNode !== this.$filterText.get(0) && target !== this.$filterText.get(0)
|
||||
&& target.parentNode.parentNode !== this.$ul.get(0)) {
|
||||
this.$ul.slideUp(100);
|
||||
this.$ul.removeClass('filter-open');
|
||||
this.$icon.removeClass('filter-show');
|
||||
}
|
||||
}.bind(this));
|
||||
// 选择某一项内容,回显
|
||||
$(this.$ul).on('click.combobox', 'li:not(.filter-disabled)', function(e) {
|
||||
var currentTarget = e.currentTarget;
|
||||
// 设置其选中样式
|
||||
this._select({
|
||||
value: $(currentTarget).attr('data-value'),
|
||||
name: currentTarget.firstChild.text
|
||||
});
|
||||
// 隐藏选项组
|
||||
this.$ul.slideToggle(100);
|
||||
this.$ul.toggleClass('filter-open');
|
||||
this.$icon.toggleClass('filter-show');
|
||||
this.$ul.find('li').removeClass('hide');
|
||||
}.bind(this));
|
||||
},
|
||||
/**
|
||||
* @method value 取值或者赋值
|
||||
* @param {String} [value] 设置值选中,为空则取控件值
|
||||
* @return {String} 控件值,赋值操作则没有返回值
|
||||
*/
|
||||
value: function(value) {
|
||||
if (arguments.length === 0) { // 取值操作
|
||||
console.log('--- get value ---');
|
||||
return this.$ul.find('li[class="filter-selected"]').attr('data-value');
|
||||
}
|
||||
// 赋值操作
|
||||
console.log('--- set value ---');
|
||||
var selectedItem = null;
|
||||
for(var i = 0, len = this.options.dataSource.length; i < len; i++) {
|
||||
var item = this.options.dataSource[i], isSelected = item.selected;
|
||||
if (item[this.options.dataValueField] === value && !item.disabled) {
|
||||
selectedItem = item;
|
||||
break;
|
||||
}
|
||||
}
|
||||
this._select(selectedItem);
|
||||
},
|
||||
_select: function(item) {
|
||||
if (item) {
|
||||
var value = item[this.options.dataValueField],
|
||||
text = item[this.options.dataTextField];
|
||||
this.element.val(text);
|
||||
// 判断选择的节点是否和上一个选择的节点相同
|
||||
if (this.element.attr('data-value') !== value) {
|
||||
this.$ul.find('li').removeClass('filter-selected').filter(function(index, element) {
|
||||
return $(element).attr('data-value') === value;
|
||||
}.bind(this)).addClass('filter-selected');
|
||||
this.element.attr('data-value', value);
|
||||
this._trigger('change', null, {
|
||||
value: value,
|
||||
text: text
|
||||
});
|
||||
}
|
||||
} else {
|
||||
this.$ul.find('li').removeClass('filter-selected');
|
||||
this.element.val('');
|
||||
this.element.removeAttr('data-value');
|
||||
this._trigger('change');
|
||||
}
|
||||
},
|
||||
/**
|
||||
* @method clear 清空选择内容
|
||||
*/
|
||||
clear: function() {
|
||||
this._select(null);
|
||||
},
|
||||
/**
|
||||
* @method getSelectedItem 获取被选中的项键值对
|
||||
* @return 键值对
|
||||
*/
|
||||
getSelectedItem: function() {
|
||||
console.log('--- getSelectedItem ---');
|
||||
return {
|
||||
value: this.element.attr('data-value'),
|
||||
text: this.element.val()
|
||||
}
|
||||
},
|
||||
/**
|
||||
* @method append 向 dataSource里追加数据,显示在页面上
|
||||
* @param {Array} [items] 追加的内容
|
||||
* @return this
|
||||
*/
|
||||
append: function(items) {
|
||||
// 传入参数不是数组,直接返回控件对象 this
|
||||
if (!(items instanceof Array)) {
|
||||
return this;
|
||||
}
|
||||
// 过滤掉键值对与 options参数不一致的内容
|
||||
items = items.filter(function(item, index) {
|
||||
return item.hasOwnProperty(this.options.dataValueField)
|
||||
&& item.hasOwnProperty(this.options.dataTextField);
|
||||
}.bind(this));
|
||||
if (items.length === 0) {
|
||||
return this;
|
||||
}
|
||||
// 将追加的数据放入到 options里,并追加到 ul元素里面
|
||||
Array.prototype.push.apply(this.options.dataSource, items);
|
||||
$.each(items, function(index, item) {
|
||||
this._appendToUl(item);
|
||||
}.bind(this));
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
* @method remove 从 dataSource中移除某些项
|
||||
* @param {Array} [items] 移除的内容
|
||||
* @return this
|
||||
*/
|
||||
remove: function(items) {
|
||||
// 传入参数不是数组,直接返回控件对象 this
|
||||
if (!(items instanceof Array)) {
|
||||
return this;
|
||||
}
|
||||
// 过滤掉键值对与 options参数不一致的内容
|
||||
items = items.filter(function(item, index) {
|
||||
return item.hasOwnProperty(this.options.dataValueField)
|
||||
&& item.hasOwnProperty(this.options.dataTextField);
|
||||
}.bind(this));
|
||||
if (items.length === 0) {
|
||||
return this;
|
||||
}
|
||||
// 从 options里移除,并从 ul元素里面移除
|
||||
$.each(items, function(index, item) {
|
||||
var $target = this.$ul.find('li[data-value=' + item[this.options.dataValueField] + ']')
|
||||
.find('a[title='+ item[this.options.dataTextField] +']').end().addClass('hide');
|
||||
var pos = $target.prevAll().length;
|
||||
this.options.dataSource.splice(pos, 1);
|
||||
// 若移除的元素被选中,则需要清空选中
|
||||
if ($target.hasClass('filter-selected')) {
|
||||
this._select(null);
|
||||
}
|
||||
}.bind(this));
|
||||
return this;
|
||||
}
|
||||
});
|
||||
/**
|
||||
在 jQuery的原型链上新增一个格式化函数
|
||||
*/
|
||||
jQuery.fn.format = function(str) {
|
||||
var args = Array.prototype.slice.call(arguments, 1);
|
||||
var reg = /\#{([^{}]+)}/gm;
|
||||
return str.replace(reg, function(match, name, index, str) {
|
||||
// 判断括号匹配的内容是否是数字
|
||||
var content = Number(name);
|
||||
if (content >= 0) {
|
||||
return args[content];
|
||||
}
|
||||
// 不是数字的话,应该就是对象
|
||||
var object = args[0];
|
||||
if (object && object !== void(0)) {
|
||||
return object[name];
|
||||
}
|
||||
// 未匹配到,返回空串
|
||||
return '';
|
||||
});
|
||||
}
|
||||
})(jQuery)
|
||||
BIN
style/combobox/icon_arrow_down.png
Normal file
BIN
style/combobox/icon_arrow_down.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 192 B |
BIN
style/combobox/icon_arrow_down_x2.png
Normal file
BIN
style/combobox/icon_arrow_down_x2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 269 B |
2337
style/font-awesome/css/font-awesome.css
vendored
Normal file
2337
style/font-awesome/css/font-awesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
4
style/font-awesome/css/font-awesome.min.css
vendored
Normal file
4
style/font-awesome/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
style/font-awesome/fonts/FontAwesome.otf
Normal file
BIN
style/font-awesome/fonts/FontAwesome.otf
Normal file
Binary file not shown.
BIN
style/font-awesome/fonts/fontawesome-webfont.eot
Normal file
BIN
style/font-awesome/fonts/fontawesome-webfont.eot
Normal file
Binary file not shown.
2671
style/font-awesome/fonts/fontawesome-webfont.svg
Normal file
2671
style/font-awesome/fonts/fontawesome-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 434 KiB |
BIN
style/font-awesome/fonts/fontawesome-webfont.ttf
Normal file
BIN
style/font-awesome/fonts/fontawesome-webfont.ttf
Normal file
Binary file not shown.
BIN
style/font-awesome/fonts/fontawesome-webfont.woff
Normal file
BIN
style/font-awesome/fonts/fontawesome-webfont.woff
Normal file
Binary file not shown.
BIN
style/font-awesome/fonts/fontawesome-webfont.woff2
Normal file
BIN
style/font-awesome/fonts/fontawesome-webfont.woff2
Normal file
Binary file not shown.
3561
style/form.css
Normal file
3561
style/form.css
Normal file
File diff suppressed because it is too large
Load Diff
1312
style/jquery-ui.css
vendored
Normal file
1312
style/jquery-ui.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
168
style/jquery-yanzhen/index.html
Normal file
168
style/jquery-yanzhen/index.html
Normal file
@@ -0,0 +1,168 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title></title>
|
||||
<style>
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 570px;
|
||||
height: 300px;
|
||||
margin: 100px auto;
|
||||
}
|
||||
|
||||
label {
|
||||
width: 64px;
|
||||
float: left;
|
||||
clear: left;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 300px;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
margin-top: 10px;
|
||||
text-indent: 8px;
|
||||
font-size: 16px;
|
||||
font-family: "微软雅黑";
|
||||
border: 1px solid #ccc;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#sub {
|
||||
width: 302px;
|
||||
height: 40px;
|
||||
border: 1px solid #ccc;
|
||||
background: #888;
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
.spa {
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
width: 204px;
|
||||
display: inline-block;
|
||||
float: left;
|
||||
font-size: 12px;
|
||||
color: #BD362F;
|
||||
text-indent: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="" method="post">
|
||||
<label id="name">姓 名:</label><input type="text" name="username" id="username" value=""
|
||||
placeholder="请输入姓名"/><span class="spa spa1"></span><br/>
|
||||
<label id="phone">手机号:</label><input type="text" name="userphone" id="userphone" value=""
|
||||
placeholder="请输入手机号"/><span class="spa spa2"></span><br/>
|
||||
<label id="address">地 址:</label><input type="text" name="useraddress" id="useraddress" value=""
|
||||
placeholder="请输入地址"/><span class="spa spa3"></span><br/>
|
||||
<label> </label><input type="submit" value="注册" id="sub"/>
|
||||
</form>
|
||||
<script src="js/jquery-1.12.2.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
$("#username").focus()
|
||||
}
|
||||
/************************ 失焦判断 **********************************/
|
||||
$("input").blur(function () {
|
||||
$(".spa").css("color", "#BD362F")
|
||||
if ($(this).is("#username")) { //姓名判断
|
||||
var na = /^[\u4E00-\u9FA5]{2,4}$/
|
||||
if ($("#username").val() != "") {
|
||||
if (!(na.test($("#username").val()))) {
|
||||
$(".spa1").text("请输入2-4个汉字");
|
||||
$(this).css("border", "1px solid #BD362F")
|
||||
return false;
|
||||
} else if (na) {
|
||||
$(".spa1").text("");
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
$(".spa1").text("");
|
||||
}
|
||||
}
|
||||
if ($(this).is("#userphone")) { //手机号判断
|
||||
var ph = /^1[3|5|7|8|][0-9]{9}$/
|
||||
if ($("#userphone").val() != "") {
|
||||
if (!(ph.test($("#userphone").val()))) {
|
||||
$(".spa2").text("请输入正确手机号");
|
||||
$(this).css("border", "1px solid #BD362F")
|
||||
return false;
|
||||
} else if (ph) {
|
||||
$(".spa2").text("");
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
$(".spa2").text("");
|
||||
}
|
||||
}
|
||||
|
||||
if ($(this).is("#useraddress")) { //地址判断
|
||||
var ad = /^(?=.*?[\u4E00-\u9FA5])[\dA-Za-z\u4E00-\u9FA5]{8,32}/;
|
||||
if ($("#useraddress").val() != "") {
|
||||
if (!(ad.test($("#useraddress").val()))) {
|
||||
$(".spa3").text("请输入正确地址");
|
||||
$(this).css("border", "1px solid #BD362F")
|
||||
return false;
|
||||
} else if (ad) {
|
||||
$(".spa3").text("");
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
$(".spa3").text("");
|
||||
}
|
||||
}
|
||||
})
|
||||
/********************** 聚焦提示 ************************/
|
||||
$("input").focus(function () {
|
||||
if ($(this).is("#username")) {
|
||||
$(".spa1").text("2-4个汉字").css("color", "#aaa")
|
||||
$(this).css("border", "1px solid #aaa")
|
||||
}
|
||||
if ($(this).is("#userphone")) {
|
||||
$(".spa2").text("11位手机号码").css("color", "#aaa")
|
||||
$(this).css("border", "1px solid #aaa")
|
||||
}
|
||||
if ($(this).is("#useraddress")) {
|
||||
$(".spa3").text("最少8个字符(汉字、字母和数字)").css("color", "#aaa")
|
||||
$(this).css("border", "1px solid #aaa")
|
||||
}
|
||||
})
|
||||
/*********************** 提交验证 ***************************/
|
||||
$("#sub").click(function () {
|
||||
var na = /^[\u4E00-\u9FA5]{2,4}$/; //姓名正则
|
||||
var ph = /^1[3|5|7|8|][0-9]{9}$/; //手机号正则
|
||||
var ad = /^(?=.*?[\u4E00-\u9FA5])[\dA-Za-z\u4E00-\u9FA5]{8,32}/; //地址正则
|
||||
if (na.test($("#username").val()) && ph.test($("#userphone").val()) && ad.test($("#useraddress").val())) {
|
||||
return true;
|
||||
} else {
|
||||
if ($("#username").val() == "") {
|
||||
$(".spa1").text('请你填写用户名')
|
||||
}
|
||||
if ($("#userphone").val() == "") {
|
||||
$(".spa2").text('请你填写手机号')
|
||||
}
|
||||
if ($("#useraddress").val() == "") {
|
||||
$(".spa3").text('请你填写地址')
|
||||
}
|
||||
return false;
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
5
style/jquery-yanzhen/js/jquery-1.12.2.min.js
vendored
Normal file
5
style/jquery-yanzhen/js/jquery-1.12.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
99
style/jqueryPage/index.html
Normal file
99
style/jqueryPage/index.html
Normal file
@@ -0,0 +1,99 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>兼容IE7以上的分页插件</title>
|
||||
<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
|
||||
<script type="text/javascript" src="js/kkpager.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="style/kkpager_orange.css" />
|
||||
</head>
|
||||
<!--[if !IE ]>
|
||||
<style type="text/css">
|
||||
#kkpager_btn_go {
|
||||
top:-16px !important;
|
||||
}
|
||||
</style> <![endif]-->
|
||||
<!--使用说明 https://github.com/pgkk/kkpager -->
|
||||
<body>
|
||||
<div style="width:800px;margin:0 auto;">
|
||||
<div id="kkpager"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function getParameter(name) {
|
||||
var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
|
||||
var r = window.location.search.substr(1).match(reg);
|
||||
if (r!=null) return unescape(r[2]); return null;
|
||||
}
|
||||
|
||||
//init
|
||||
$(function(){
|
||||
var totalPage = 5;
|
||||
var totalRecords = 90;
|
||||
var pageNo = getParameter('pno');
|
||||
if(!pageNo){
|
||||
pageNo = 1;
|
||||
//原本是实现无刷新跳转,我这是根据自己需求做的有刷新时跳转
|
||||
// 如:www.baidu.com/abcd/index.jhtml
|
||||
/* let str=window.location.pathname;
|
||||
let two; // 第二个斜杠后内容
|
||||
let first = str.indexOf("/") + 1;
|
||||
let heng = str.indexOf("/", first);
|
||||
if (heng == -1) {
|
||||
} else {
|
||||
two = str.substring(heng).substring(1, str.length);
|
||||
}
|
||||
if(two=="index.jhtml"){
|
||||
pageNo = 1;
|
||||
}else{
|
||||
pageNo = num;//num是根据自己要点击第几页写的
|
||||
}*/
|
||||
}
|
||||
//生成分页
|
||||
//有些参数是可选的,比如lang,若不传有默认值
|
||||
kkpager.generPageHtml({
|
||||
pno : pageNo,
|
||||
//总页码
|
||||
total : totalPage,
|
||||
//总数据条数
|
||||
totalRecords : totalRecords,
|
||||
mode : 'click',//默认值是link,可选link或者click
|
||||
click : function(n){
|
||||
this.selectPage(n);
|
||||
|
||||
if(n==1){
|
||||
//原本是实现无刷新跳转,我这是根据自己需求做的有刷新时跳转
|
||||
//第一页写逻辑跳转
|
||||
// 如:window.location.href=......;
|
||||
}else{
|
||||
//除了第一页写逻辑跳转
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/* ,lang: {
|
||||
firstPageText : '首页',
|
||||
firstPageTipText : '首页',
|
||||
lastPageText : '尾页',
|
||||
lastPageTipText : '尾页',
|
||||
prePageText : '上一页',
|
||||
prePageTipText : '上一页',
|
||||
nextPageText : '下一页',
|
||||
nextPageTipText : '下一页',
|
||||
totalPageBeforeText : '共',
|
||||
totalPageAfterText : '页',
|
||||
currPageBeforeText : '当前第',
|
||||
currPageAfterText : '页',
|
||||
totalInfoSplitStr : '/',
|
||||
totalRecordsBeforeText : '共',
|
||||
totalRecordsAfterText : '条数据',
|
||||
gopageBeforeText : ' 转到',
|
||||
gopageButtonOkText : '确定',
|
||||
gopageAfterText : '页',
|
||||
buttonTipBeforeText : '第',
|
||||
buttonTipAfterText : '页'
|
||||
}*/
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
4
style/jqueryPage/js/jquery-1.10.2.min.js
vendored
Normal file
4
style/jqueryPage/js/jquery-1.10.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
330
style/jqueryPage/js/kkpager.js
vendored
Normal file
330
style/jqueryPage/js/kkpager.js
vendored
Normal file
@@ -0,0 +1,330 @@
|
||||
/*
|
||||
kkpager V1.3
|
||||
https://github.com/pgkk/kkpager
|
||||
|
||||
Copyright (c) 2013 cqzhangkang@163.com
|
||||
Licensed under the GNU GENERAL PUBLIC LICENSE
|
||||
*/
|
||||
var kkpager = {
|
||||
pagerid : 'kkpager', //divID
|
||||
mode : 'link', //模式(link 或者 click)
|
||||
pno : 1, //当前页码
|
||||
total : 1, //总页码
|
||||
totalRecords : 0, //总数据条数
|
||||
isShowFirstPageBtn : true, //是否显示首页按钮
|
||||
isShowLastPageBtn : true, //是否显示尾页按钮
|
||||
isShowPrePageBtn : true, //是否显示上一页按钮
|
||||
isShowNextPageBtn : true, //是否显示下一页按钮
|
||||
isShowTotalPage : true, //是否显示总页数
|
||||
isShowCurrPage : true,//是否显示当前页
|
||||
isShowTotalRecords : false, //是否显示总记录数
|
||||
isGoPage : false, //是否显示页码跳转输入框
|
||||
isWrapedPageBtns : true, //是否用span包裹住页码按钮
|
||||
isWrapedInfoTextAndGoPageBtn : true, //是否用span包裹住分页信息和跳转按钮
|
||||
hrefFormer : '', //链接前部
|
||||
hrefLatter : '', //链接尾部
|
||||
gopageWrapId : 'kkpager_gopage_wrap',
|
||||
gopageButtonId : 'kkpager_btn_go',
|
||||
gopageTextboxId : 'kkpager_btn_go_input',
|
||||
lang : {
|
||||
firstPageText : '首页',
|
||||
firstPageTipText : '首页',
|
||||
lastPageText : '尾页',
|
||||
lastPageTipText : '尾页',
|
||||
prePageText : '上一页',
|
||||
prePageTipText : '上一页',
|
||||
nextPageText : '下一页',
|
||||
nextPageTipText : '下一页',
|
||||
totalPageBeforeText : '共',
|
||||
totalPageAfterText : '页',
|
||||
currPageBeforeText : '当前第',
|
||||
currPageAfterText : '页',
|
||||
totalInfoSplitStr : '/',
|
||||
totalRecordsBeforeText : '共',
|
||||
totalRecordsAfterText : '条数据',
|
||||
gopageBeforeText : ' 转到',
|
||||
gopageButtonOkText : '确定',
|
||||
gopageAfterText : '页',
|
||||
buttonTipBeforeText : '第',
|
||||
buttonTipAfterText : '页'
|
||||
},
|
||||
//链接算法(当处于link模式),参数n为页码
|
||||
getLink : function(n){
|
||||
//这里的算法适用于比如:
|
||||
//hrefFormer=http://www.xx.com/news/20131212
|
||||
//hrefLatter=.html
|
||||
//那么首页(第1页)就是http://www.xx.com/news/20131212.html
|
||||
//第2页就是http://www.xx.com/news/20131212_2.html
|
||||
//第n页就是http://www.xx.com/news/20131212_n.html
|
||||
if(n == 1){
|
||||
return this.hrefFormer + this.hrefLatter;
|
||||
}
|
||||
return this.hrefFormer + '_' + n + this.hrefLatter;
|
||||
},
|
||||
//页码单击事件处理函数(当处于mode模式),参数n为页码
|
||||
click : function(n){
|
||||
//这里自己实现
|
||||
//这里可以用this或者kkpager访问kkpager对象
|
||||
return false;
|
||||
},
|
||||
//获取href的值(当处于mode模式),参数n为页码
|
||||
getHref : function(n){
|
||||
//默认返回'#'
|
||||
return '#';
|
||||
},
|
||||
//跳转框得到输入焦点时
|
||||
focus_gopage : function (){
|
||||
var btnGo = $('#'+this.gopageButtonId);
|
||||
$('#'+this.gopageTextboxId).attr('hideFocus',true);
|
||||
btnGo.show();
|
||||
btnGo.css('left','10px');
|
||||
$('#'+this.gopageTextboxId).addClass('focus');
|
||||
btnGo.animate({left: '+=30'}, 50);
|
||||
},
|
||||
//跳转框失去输入焦点时
|
||||
blur_gopage : function(){
|
||||
var _this = this;
|
||||
setTimeout(function(){
|
||||
var btnGo = $('#'+_this.gopageButtonId);
|
||||
btnGo.animate({
|
||||
left: '-=25'
|
||||
}, 100, function(){
|
||||
btnGo.hide();
|
||||
$('#'+_this.gopageTextboxId).removeClass('focus');
|
||||
});
|
||||
},400);
|
||||
},
|
||||
//跳转输入框按键操作
|
||||
keypress_gopage : function(){
|
||||
var event = arguments[0] || window.event;
|
||||
var code = event.keyCode || event.charCode;
|
||||
//delete key
|
||||
if(code == 8) return true;
|
||||
//enter key
|
||||
if(code == 13){
|
||||
kkpager.gopage();
|
||||
return false;
|
||||
}
|
||||
//copy and paste
|
||||
if(event.ctrlKey && (code == 99 || code == 118)) return true;
|
||||
//only number key
|
||||
if(code<48 || code>57)return false;
|
||||
return true;
|
||||
},
|
||||
//跳转框页面跳转
|
||||
gopage : function(){
|
||||
var str_page = $('#'+this.gopageTextboxId).val();
|
||||
if(isNaN(str_page)){
|
||||
$('#'+this.gopageTextboxId).val(this.next);
|
||||
return;
|
||||
}
|
||||
var n = parseInt(str_page);
|
||||
if(n < 1) n = 1;
|
||||
if(n > this.total) n = this.total;
|
||||
if(this.mode == 'click'){
|
||||
this._clickHandler(n);
|
||||
}else{
|
||||
window.location = this.getLink(n);
|
||||
}
|
||||
},
|
||||
//不刷新页面直接手动调用选中某一页码
|
||||
selectPage : function(n){
|
||||
this._config['pno'] = n;
|
||||
this.generPageHtml(this._config,true);
|
||||
},
|
||||
//生成控件代码
|
||||
generPageHtml : function(config,enforceInit){
|
||||
if(enforceInit || !this.inited){
|
||||
this.init(config);
|
||||
}
|
||||
|
||||
var str_first='',str_prv='',str_next='',str_last='';
|
||||
if(this.isShowFirstPageBtn){
|
||||
if(this.hasPrv){
|
||||
str_first = '<a '+this._getHandlerStr(1)+' title="'
|
||||
+(this.lang.firstPageTipText || this.lang.firstPageText)+'">'+this.lang.firstPageText+'</a>';
|
||||
}else{
|
||||
str_first = '<span class="disabled">'+this.lang.firstPageText+'</span>';
|
||||
}
|
||||
}
|
||||
if(this.isShowPrePageBtn){
|
||||
if(this.hasPrv){
|
||||
str_prv = '<a '+this._getHandlerStr(this.prv)+' title="'
|
||||
+(this.lang.prePageTipText || this.lang.prePageText)+'">'+this.lang.prePageText+'</a>';
|
||||
}else{
|
||||
str_prv = '<span class="disabled">'+this.lang.prePageText+'</span>';
|
||||
}
|
||||
}
|
||||
if(this.isShowNextPageBtn){
|
||||
if(this.hasNext){
|
||||
str_next = '<a '+this._getHandlerStr(this.next)+' title="'
|
||||
+(this.lang.nextPageTipText || this.lang.nextPageText)+'">'+this.lang.nextPageText+'</a>';
|
||||
}else{
|
||||
str_next = '<span class="disabled">'+this.lang.nextPageText+'</span>';
|
||||
}
|
||||
}
|
||||
if(this.isShowLastPageBtn){
|
||||
if(this.hasNext){
|
||||
str_last = '<a '+this._getHandlerStr(this.total)+' title="'
|
||||
+(this.lang.lastPageTipText || this.lang.lastPageText)+'">'+this.lang.lastPageText+'</a>';
|
||||
}else{
|
||||
str_last = '<span class="disabled">'+this.lang.lastPageText+'</span>';
|
||||
}
|
||||
}
|
||||
var str = '';
|
||||
var dot = '<span class="spanDot">...</span>';
|
||||
var total_info='<span class="totalText">';
|
||||
var total_info_splitstr = '<span class="totalInfoSplitStr">'+this.lang.totalInfoSplitStr+'</span>';
|
||||
if(this.isShowCurrPage){
|
||||
total_info += this.lang.currPageBeforeText + '<span class="currPageNum">' + this.pno + '</span>' + this.lang.currPageAfterText;
|
||||
if(this.isShowTotalPage){
|
||||
total_info += total_info_splitstr;
|
||||
total_info += this.lang.totalPageBeforeText + '<span class="totalPageNum">'+this.total + '</span>' + this.lang.totalPageAfterText;
|
||||
}else if(this.isShowTotalRecords){
|
||||
total_info += total_info_splitstr;
|
||||
total_info += this.lang.totalRecordsBeforeText + '<span class="totalRecordNum">'+this.totalRecords + '</span>' + this.lang.totalRecordsAfterText;
|
||||
}
|
||||
}else if(this.isShowTotalPage){
|
||||
total_info += this.lang.totalPageBeforeText + '<span class="totalPageNum">'+this.total + '</span>' + this.lang.totalPageAfterText;;
|
||||
if(this.isShowTotalRecords){
|
||||
total_info += total_info_splitstr;
|
||||
total_info += this.lang.totalRecordsBeforeText + '<span class="totalRecordNum">'+this.totalRecords + '</span>' + this.lang.totalRecordsAfterText;
|
||||
}
|
||||
}else if(this.isShowTotalRecords){
|
||||
total_info += this.lang.totalRecordsBeforeText + '<span class="totalRecordNum">'+this.totalRecords + '</span>' + this.lang.totalRecordsAfterText;
|
||||
}
|
||||
total_info += '</span>';
|
||||
|
||||
var gopage_info = '';
|
||||
if(this.isGoPage){
|
||||
gopage_info = '<span class="goPageBox">'+this.lang.gopageBeforeText+'<span id="'+this.gopageWrapId+'">'+
|
||||
'<input type="button" id="'+this.gopageButtonId+'" onclick="kkpager.gopage()" value="'
|
||||
+this.lang.gopageButtonOkText+'" />'+
|
||||
'<input type="text" id="'+this.gopageTextboxId+'" onfocus="kkpager.focus_gopage()" onkeypress="return kkpager.keypress_gopage(event);" onblur="kkpager.blur_gopage()" value="'+this.next+'" /></span>'+this.lang.gopageAfterText+'</span>';
|
||||
}
|
||||
|
||||
//分页处理
|
||||
if(this.total <= 8){
|
||||
for(var i=1;i<=this.total;i++){
|
||||
if(this.pno == i){
|
||||
str += '<span class="curr">'+i+'</span>';
|
||||
}else{
|
||||
str += '<a '+this._getHandlerStr(i)+' title="'
|
||||
+this.lang.buttonTipBeforeText + i + this.lang.buttonTipAfterText+'">'+i+'</a>';
|
||||
}
|
||||
}
|
||||
}else{
|
||||
if(this.pno <= 5){
|
||||
for(var i=1;i<=7;i++){
|
||||
if(this.pno == i){
|
||||
str += '<span class="curr">'+i+'</span>';
|
||||
}else{
|
||||
str += '<a '+this._getHandlerStr(i)+' title="'+
|
||||
this.lang.buttonTipBeforeText + i + this.lang.buttonTipAfterText+'">'+i+'</a>';
|
||||
}
|
||||
}
|
||||
str += dot;
|
||||
}else{
|
||||
str += '<a '+this._getHandlerStr(1)+' title="'
|
||||
+this.lang.buttonTipBeforeText + '1' + this.lang.buttonTipAfterText+'">1</a>';
|
||||
str += '<a '+this._getHandlerStr(2)+' title="'
|
||||
+this.lang.buttonTipBeforeText + '2' + this.lang.buttonTipAfterText +'">2</a>';
|
||||
str += dot;
|
||||
|
||||
var begin = this.pno - 2;
|
||||
var end = this.pno + 2;
|
||||
if(end > this.total){
|
||||
end = this.total;
|
||||
begin = end - 4;
|
||||
if(this.pno - begin < 2){
|
||||
begin = begin-1;
|
||||
}
|
||||
}else if(end + 1 == this.total){
|
||||
end = this.total;
|
||||
}
|
||||
for(var i=begin;i<=end;i++){
|
||||
if(this.pno == i){
|
||||
str += '<span class="curr">'+i+'</span>';
|
||||
}else{
|
||||
str += '<a '+this._getHandlerStr(i)+' title="'
|
||||
+this.lang.buttonTipBeforeText + i + this.lang.buttonTipAfterText+'">'+i+'</a>';
|
||||
}
|
||||
}
|
||||
if(end != this.total){
|
||||
str += dot;
|
||||
}
|
||||
}
|
||||
}
|
||||
var pagerHtml = '<div ">';
|
||||
if(this.isWrapedPageBtns){
|
||||
pagerHtml += '<span class="pageBtnWrap">' + str_first + str_prv + str + str_next + str_last + '</span>'
|
||||
}else{
|
||||
pagerHtml += str_first + str_prv + str + str_next + str_last;
|
||||
}
|
||||
if(this.isWrapedInfoTextAndGoPageBtn){
|
||||
pagerHtml += '<span class="infoTextAndGoPageBtnWrap">' + total_info + gopage_info + '</span>';
|
||||
}else{
|
||||
pagerHtml += total_info + gopage_info;
|
||||
}
|
||||
pagerHtml += '</div><div style="clear:both;"></div>';
|
||||
$("#"+this.pagerid).html(pagerHtml);
|
||||
},
|
||||
//分页按钮控件初始化
|
||||
init : function(config){
|
||||
this.pno = isNaN(config.pno) ? 1 : parseInt(config.pno);
|
||||
this.total = isNaN(config.total) ? 1 : parseInt(config.total);
|
||||
this.totalRecords = isNaN(config.totalRecords) ? 0 : parseInt(config.totalRecords);
|
||||
if(config.pagerid){this.pagerid = config.pagerid;}
|
||||
if(config.mode){this.mode = config.mode;}
|
||||
if(config.gopageWrapId){this.gopageWrapId = config.gopageWrapId;}
|
||||
if(config.gopageButtonId){this.gopageButtonId = config.gopageButtonId;}
|
||||
if(config.gopageTextboxId){this.gopageTextboxId = config.gopageTextboxId;}
|
||||
if(config.isShowFirstPageBtn != undefined){this.isShowFirstPageBtn=config.isShowFirstPageBtn;}
|
||||
if(config.isShowLastPageBtn != undefined){this.isShowLastPageBtn=config.isShowLastPageBtn;}
|
||||
if(config.isShowPrePageBtn != undefined){this.isShowPrePageBtn=config.isShowPrePageBtn;}
|
||||
if(config.isShowNextPageBtn != undefined){this.isShowNextPageBtn=config.isShowNextPageBtn;}
|
||||
if(config.isShowTotalPage != undefined){this.isShowTotalPage=config.isShowTotalPage;}
|
||||
if(config.isShowCurrPage != undefined){this.isShowCurrPage=config.isShowCurrPage;}
|
||||
if(config.isShowTotalRecords != undefined){this.isShowTotalRecords=config.isShowTotalRecords;}
|
||||
if(config.isWrapedPageBtns){this.isWrapedPageBtns=config.isWrapedPageBtns;}
|
||||
if(config.isWrapedInfoTextAndGoPageBtn){this.isWrapedInfoTextAndGoPageBtn=config.isWrapedInfoTextAndGoPageBtn;}
|
||||
if(config.isGoPage != undefined){this.isGoPage=config.isGoPage;}
|
||||
if(config.lang){
|
||||
for(var key in config.lang){
|
||||
this.lang[key] = config.lang[key];
|
||||
}
|
||||
}
|
||||
this.hrefFormer = config.hrefFormer || '';
|
||||
this.hrefLatter = config.hrefLatter || '';
|
||||
if(config.getLink && typeof(config.getLink) == 'function'){this.getLink = config.getLink;}
|
||||
if(config.click && typeof(config.click) == 'function'){this.click = config.click;}
|
||||
if(config.getHref && typeof(config.getHref) == 'function'){this.getHref = config.getHref;}
|
||||
if(!this._config){
|
||||
this._config = config;
|
||||
}
|
||||
//validate
|
||||
if(this.pno < 1) this.pno = 1;
|
||||
this.total = (this.total <= 1) ? 1: this.total;
|
||||
if(this.pno > this.total) this.pno = this.total;
|
||||
this.prv = (this.pno<=2) ? 1 : (this.pno-1);
|
||||
this.next = (this.pno >= this.total-1) ? this.total : (this.pno + 1);
|
||||
this.hasPrv = (this.pno > 1);
|
||||
this.hasNext = (this.pno < this.total);
|
||||
|
||||
this.inited = true;
|
||||
},
|
||||
_getHandlerStr : function(n){
|
||||
if(this.mode == 'click'){
|
||||
return 'href="'+this.getHref(n)+'" onclick="return kkpager._clickHandler('+n+')"';
|
||||
}
|
||||
//link模式,也是默认的
|
||||
return 'href="'+this.getLink(n)+'"';
|
||||
},
|
||||
_clickHandler : function(n){
|
||||
var res = false;
|
||||
if(this.click && typeof this.click == 'function'){
|
||||
res = this.click.call(this,n) || false;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user