Import Ruty
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
+-------------------------------------------------------------------------+
|
||||
|
|
||||
| Author: Cor Bosman (roundcube@wa.ter.net)
|
||||
| Plugin: jqueryui
|
||||
| Version: 1.12.0
|
||||
| Purpose: Add jquery-ui to roundcube for every plugin to use
|
||||
|
|
||||
+-------------------------------------------------------------------------+
|
||||
|
||||
jqueryui adds the complete jquery-ui library including the smoothness
|
||||
theme to roundcube. This allows other plugins to use jquery-ui without
|
||||
having to load their own version. The benefit of using 1 central jquery-ui
|
||||
is that we wont run into problems of conflicting jquery libraries being
|
||||
loaded. All plugins that want to use jquery-ui should use this plugin as
|
||||
a requirement.
|
||||
|
||||
It is possible for plugin authors to override the default smoothness theme.
|
||||
To do this, go to the jquery-ui website, and use the download feature to
|
||||
download your own theme. In the advanced settings, provide a scope class to
|
||||
your theme and add that class to all your UI elements. Finally, load the
|
||||
downloaded css files in your own plugin.
|
||||
|
||||
Some jquery-ui modules provide localization. One example is the datepicker module.
|
||||
If you want to load localization for a specific module, then set up config.inc.php.
|
||||
Check the config.inc.php.dist file on how to set this up for the datepicker module.
|
||||
|
||||
As of version 1.8.6 this plugin also supports other themes. If you're a theme
|
||||
developer and would like a different default theme to be used for your RC theme
|
||||
then let me know and we can set things up.
|
||||
|
||||
This also provides some common UI modules e.g. miniColors extension.
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "roundcube/jqueryui",
|
||||
"type": "roundcube-plugin",
|
||||
"description": "Plugin adds the complete jQuery-UI library including the smoothness theme to Roundcube. This allows other plugins to use jQuery-UI without having to load their own version. The benefit of using one central jQuery-UI is that we wont run into problems of conflicting jQuery libraries being loaded. All plugins that want to use jQuery-UI should use this plugin as a requirement.",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"version": "1.13.2",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Thomas Bruederli",
|
||||
"email": "roundcube@gmail.com",
|
||||
"role": "Lead"
|
||||
},
|
||||
{
|
||||
"name": "Aleksander Machniak",
|
||||
"email": "alec@alec.pl",
|
||||
"role": "Lead"
|
||||
}
|
||||
],
|
||||
"repositories": [
|
||||
{
|
||||
"type": "composer",
|
||||
"url": "https://plugins.roundcube.net"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.3.0",
|
||||
"roundcube/plugin-installer": ">=0.1.3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
// if you want to load localization strings for specific sub-libraries of jquery-ui, configure them here
|
||||
$config['jquery_ui_i18n'] = ['datepicker'];
|
||||
|
||||
// map Roundcube skins with jquery-ui themes here
|
||||
$config['jquery_ui_skin_map'] = [
|
||||
'larry' => 'larry',
|
||||
'default' => 'elastic',
|
||||
];
|
||||
@@ -0,0 +1,159 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* jQuery UI
|
||||
*
|
||||
* Provide the jQuery UI library with according themes.
|
||||
*
|
||||
* @version 1.13.2
|
||||
* @author Cor Bosman <roundcube@wa.ter.net>
|
||||
* @author Thomas Bruederli <roundcube@gmail.com>
|
||||
* @author Aleksander Machniak <alec@alec.pl>
|
||||
* @license GNU GPLv3+
|
||||
*/
|
||||
class jqueryui extends rcube_plugin
|
||||
{
|
||||
public $noajax = true;
|
||||
public $version = '1.13.2';
|
||||
|
||||
private static $features = [];
|
||||
private static $ui_theme;
|
||||
private static $css_path;
|
||||
private static $skin_map = [
|
||||
'larry' => 'larry',
|
||||
'default' => 'elastic',
|
||||
];
|
||||
|
||||
/**
|
||||
* Plugin initialization
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$rcmail = rcmail::get_instance();
|
||||
|
||||
// the plugin might have been force-loaded so do some sanity check first
|
||||
if ($rcmail->output->type != 'html' || self::$ui_theme) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->load_config();
|
||||
|
||||
// include UI scripts
|
||||
$this->include_script("js/jquery-ui.min.js");
|
||||
|
||||
// include UI stylesheet
|
||||
$skin = $rcmail->config->get('skin');
|
||||
$ui_map = $rcmail->config->get('jquery_ui_skin_map', self::$skin_map);
|
||||
$skins = array_keys($rcmail->output->skins);
|
||||
$skins[] = 'elastic';
|
||||
|
||||
foreach ($skins as $skin) {
|
||||
self::$ui_theme = !empty($ui_map[$skin]) ? $ui_map[$skin] : $skin;
|
||||
self::$css_path = $this->local_skin_path('themes', self::$ui_theme);
|
||||
|
||||
$css = self::$css_path . '/jquery-ui.css';
|
||||
if (self::asset_exists($css)) {
|
||||
$this->include_stylesheet($css);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// jquery UI localization
|
||||
$jquery_ui_i18n = $rcmail->config->get('jquery_ui_i18n', ['datepicker']);
|
||||
if (count($jquery_ui_i18n) > 0) {
|
||||
$lang_l = str_replace('_', '-', substr($_SESSION['language'], 0, 5));
|
||||
$lang_s = substr($_SESSION['language'], 0, 2);
|
||||
|
||||
foreach ($jquery_ui_i18n as $package) {
|
||||
if (self::asset_exists("js/i18n/$package-$lang_l.js", false)) {
|
||||
$this->include_script("js/i18n/$package-$lang_l.js");
|
||||
}
|
||||
else if ($lang_s != 'en' && self::asset_exists("js/i18n/$package-$lang_s.js", false)) {
|
||||
$this->include_script("js/i18n/$package-$lang_s.js");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Date format for datepicker
|
||||
$date_format = $date_format_localized = $rcmail->config->get('date_format', 'Y-m-d');
|
||||
$date_format = strtr($date_format, [
|
||||
'y' => 'y',
|
||||
'Y' => 'yy',
|
||||
'm' => 'mm',
|
||||
'n' => 'm',
|
||||
'd' => 'dd',
|
||||
'j' => 'd',
|
||||
]);
|
||||
|
||||
$replaces = ['Y' => 'yyyy', 'y' => 'yy', 'm' => 'mm', 'd' => 'dd', 'j' => 'd', 'n' => 'm'];
|
||||
|
||||
foreach (array_keys($replaces) as $key) {
|
||||
if ($rcmail->text_exists("dateformat$key")) {
|
||||
$replaces[$key] = $rcmail->gettext("dateformat$key");
|
||||
}
|
||||
}
|
||||
|
||||
$date_format_localized = strtr($date_format_localized, $replaces);
|
||||
|
||||
$rcmail->output->set_env('date_format', $date_format);
|
||||
$rcmail->output->set_env('date_format_localized', $date_format_localized);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize and include miniColors widget
|
||||
*/
|
||||
public static function miniColors()
|
||||
{
|
||||
if (in_array('miniColors', self::$features)) {
|
||||
return;
|
||||
}
|
||||
|
||||
self::$features[] = 'miniColors';
|
||||
|
||||
$rcube = rcube::get_instance();
|
||||
$script = 'plugins/jqueryui/js/jquery.minicolors.min.js';
|
||||
$css = self::$css_path . "/jquery.minicolors.css";
|
||||
|
||||
$colors_theme = $rcube->config->get('jquery_ui_colors_theme', 'default');
|
||||
$config = ['theme' => $colors_theme];
|
||||
$config_str = rcube_output::json_serialize($config);
|
||||
|
||||
$rcube->output->include_css('plugins/jqueryui/' . $css);
|
||||
$rcube->output->include_script($script, 'head', false);
|
||||
$rcube->output->add_script('$.fn.miniColors = $.fn.minicolors; $("input.colors").minicolors(' . $config_str . ')', 'docready');
|
||||
$rcube->output->set_env('minicolors_config', $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize and include tagedit widget
|
||||
*/
|
||||
public static function tagedit()
|
||||
{
|
||||
if (in_array('tagedit', self::$features)) {
|
||||
return;
|
||||
}
|
||||
|
||||
self::$features[] = 'tagedit';
|
||||
|
||||
$script = 'plugins/jqueryui/js/jquery.tagedit.js';
|
||||
$rcube = rcube::get_instance();
|
||||
$css = self::$css_path . "/tagedit.css";
|
||||
|
||||
if (!array_key_exists('elastic', (array) $rcube->output->skins)) {
|
||||
$rcube->output->include_css('plugins/jqueryui/' . $css);
|
||||
}
|
||||
|
||||
$rcube->output->include_script($script, 'head', false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if an asset file exists in specified location (with assets_dir support)
|
||||
*/
|
||||
protected static function asset_exists($path, $minified = true)
|
||||
{
|
||||
$rcube = rcube::get_instance();
|
||||
$path = (strpos($path, 'plugins/') !== false ? '/' : '/plugins/jqueryui/') . $path;
|
||||
|
||||
return $rcube->find_asset($path, $minified) !== null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Afrikaans initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Renier Pretorius. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.af = {
|
||||
closeText: "Selekteer",
|
||||
prevText: "Vorige",
|
||||
nextText: "Volgende",
|
||||
currentText: "Vandag",
|
||||
monthNames: [ "Januarie", "Februarie", "Maart", "April", "Mei", "Junie",
|
||||
"Julie", "Augustus", "September", "Oktober", "November", "Desember" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mrt", "Apr", "Mei", "Jun",
|
||||
"Jul", "Aug", "Sep", "Okt", "Nov", "Des" ],
|
||||
dayNames: [ "Sondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag" ],
|
||||
dayNamesShort: [ "Son", "Maa", "Din", "Woe", "Don", "Vry", "Sat" ],
|
||||
dayNamesMin: [ "So", "Ma", "Di", "Wo", "Do", "Vr", "Sa" ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.af );
|
||||
|
||||
return datepicker.regional.af;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,42 @@
|
||||
/* Algerian Arabic Translation for jQuery UI date picker plugin.
|
||||
/* Used in most of Maghreb countries, primarily in Algeria, Tunisia, Morocco.
|
||||
/* Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */
|
||||
/* Mohamed Amine HADDAD -- zatamine@gmail.com */
|
||||
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "ar-DZ" ] = {
|
||||
closeText: "إغلاق",
|
||||
prevText: "السابق",
|
||||
nextText: "التالي",
|
||||
currentText: "اليوم",
|
||||
monthNames: [ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان",
|
||||
"جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر" ],
|
||||
monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ],
|
||||
dayNames: [ "الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت" ],
|
||||
dayNamesShort: [ "الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت" ],
|
||||
dayNamesMin: [ "ح", "ن", "ث", "ر", "خ", "ج", "س" ],
|
||||
weekHeader: "أسبوع",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 6,
|
||||
isRTL: true,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "ar-DZ" ] );
|
||||
|
||||
return datepicker.regional[ "ar-DZ" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,42 @@
|
||||
/* Arabic Translation for jQuery UI date picker plugin. */
|
||||
/* Used in most of Arab countries, primarily in Bahrain, */
|
||||
/* Kuwait, Oman, Qatar, Saudi Arabia and the United Arab Emirates, Egypt, Sudan and Yemen. */
|
||||
/* Written by Mohammed Alshehri -- m@dralshehri.com */
|
||||
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ar = {
|
||||
closeText: "إغلاق",
|
||||
prevText: "السابق",
|
||||
nextText: "التالي",
|
||||
currentText: "اليوم",
|
||||
monthNames: [ "يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو",
|
||||
"يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر" ],
|
||||
monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ],
|
||||
dayNames: [ "الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت" ],
|
||||
dayNamesShort: [ "أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت" ],
|
||||
dayNamesMin: [ "ح", "ن", "ث", "ر", "خ", "ج", "س" ],
|
||||
weekHeader: "أسبوع",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 0,
|
||||
isRTL: true,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.ar );
|
||||
|
||||
return datepicker.regional.ar;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jamil Najafov (necefov33@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.az = {
|
||||
closeText: "Bağla",
|
||||
prevText: "Geri",
|
||||
nextText: "İrəli",
|
||||
currentText: "Bugün",
|
||||
monthNames: [ "Yanvar", "Fevral", "Mart", "Aprel", "May", "İyun",
|
||||
"İyul", "Avqust", "Sentyabr", "Oktyabr", "Noyabr", "Dekabr" ],
|
||||
monthNamesShort: [ "Yan", "Fev", "Mar", "Apr", "May", "İyun",
|
||||
"İyul", "Avq", "Sen", "Okt", "Noy", "Dek" ],
|
||||
dayNames: [ "Bazar", "Bazar ertəsi", "Çərşənbə axşamı", "Çərşənbə", "Cümə axşamı", "Cümə", "Şənbə" ],
|
||||
dayNamesShort: [ "B", "Be", "Ça", "Ç", "Ca", "C", "Ş" ],
|
||||
dayNamesMin: [ "B", "B", "Ç", "С", "Ç", "C", "Ş" ],
|
||||
weekHeader: "Hf",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.az );
|
||||
|
||||
return datepicker.regional.az;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Belarusian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Pavel Selitskas <p.selitskas@gmail.com> */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.be = {
|
||||
closeText: "Зачыніць",
|
||||
prevText: "Папяр.",
|
||||
nextText: "Наст.",
|
||||
currentText: "Сёньня",
|
||||
monthNames: [ "Студзень", "Люты", "Сакавік", "Красавік", "Травень", "Чэрвень",
|
||||
"Ліпень", "Жнівень", "Верасень", "Кастрычнік", "Лістапад", "Сьнежань" ],
|
||||
monthNamesShort: [ "Сту", "Лют", "Сак", "Кра", "Тра", "Чэр",
|
||||
"Ліп", "Жні", "Вер", "Кас", "Ліс", "Сьн" ],
|
||||
dayNames: [ "нядзеля", "панядзелак", "аўторак", "серада", "чацьвер", "пятніца", "субота" ],
|
||||
dayNamesShort: [ "ндз", "пнд", "аўт", "срд", "чцв", "птн", "сбт" ],
|
||||
dayNamesMin: [ "Нд", "Пн", "Аў", "Ср", "Чц", "Пт", "Сб" ],
|
||||
weekHeader: "Тд",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.be );
|
||||
|
||||
return datepicker.regional.be;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,41 @@
|
||||
/* Bulgarian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Stoyan Kyosev (http://svest.org). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.bg = {
|
||||
closeText: "затвори",
|
||||
prevText: "назад",
|
||||
nextText: "напред",
|
||||
nextBigText: ">>",
|
||||
currentText: "днес",
|
||||
monthNames: [ "Януари", "Февруари", "Март", "Април", "Май", "Юни",
|
||||
"Юли", "Август", "Септември", "Октомври", "Ноември", "Декември" ],
|
||||
monthNamesShort: [ "Яну", "Фев", "Мар", "Апр", "Май", "Юни",
|
||||
"Юли", "Авг", "Сеп", "Окт", "Нов", "Дек" ],
|
||||
dayNames: [ "Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота" ],
|
||||
dayNamesShort: [ "Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб" ],
|
||||
dayNamesMin: [ "Не", "По", "Вт", "Ср", "Че", "Пе", "Съ" ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.bg );
|
||||
|
||||
return datepicker.regional.bg;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Bosnian i18n for the jQuery UI date picker plugin. */
|
||||
/* Written by Kenan Konjo. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.bs = {
|
||||
closeText: "Zatvori",
|
||||
prevText: "Prethodno",
|
||||
nextText: "Sljedeći",
|
||||
currentText: "Danas",
|
||||
monthNames: [ "Januar", "Februar", "Mart", "April", "Maj", "Juni",
|
||||
"Juli", "August", "Septembar", "Oktobar", "Novembar", "Decembar" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun",
|
||||
"Jul", "Aug", "Sep", "Okt", "Nov", "Dec" ],
|
||||
dayNames: [ "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota" ],
|
||||
dayNamesShort: [ "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub" ],
|
||||
dayNamesMin: [ "Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su" ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.bs );
|
||||
|
||||
return datepicker.regional.bs;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
|
||||
/* Writers: (joan.leon@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ca = {
|
||||
closeText: "Tanca",
|
||||
prevText: "Anterior",
|
||||
nextText: "Següent",
|
||||
currentText: "Avui",
|
||||
monthNames: [ "gener", "febrer", "març", "abril", "maig", "juny",
|
||||
"juliol", "agost", "setembre", "octubre", "novembre", "desembre" ],
|
||||
monthNamesShort: [ "gen", "feb", "març", "abr", "maig", "juny",
|
||||
"jul", "ag", "set", "oct", "nov", "des" ],
|
||||
dayNames: [ "diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte" ],
|
||||
dayNamesShort: [ "dg", "dl", "dt", "dc", "dj", "dv", "ds" ],
|
||||
dayNamesMin: [ "dg", "dl", "dt", "dc", "dj", "dv", "ds" ],
|
||||
weekHeader: "Set",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.ca );
|
||||
|
||||
return datepicker.regional.ca;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Czech initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Tomas Muller (tomas@tomas-muller.net). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.cs = {
|
||||
closeText: "Zavřít",
|
||||
prevText: "Dříve",
|
||||
nextText: "Později",
|
||||
currentText: "Nyní",
|
||||
monthNames: [ "leden", "únor", "březen", "duben", "květen", "červen",
|
||||
"červenec", "srpen", "září", "říjen", "listopad", "prosinec" ],
|
||||
monthNamesShort: [ "led", "úno", "bře", "dub", "kvě", "čer",
|
||||
"čvc", "srp", "zář", "říj", "lis", "pro" ],
|
||||
dayNames: [ "neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota" ],
|
||||
dayNamesShort: [ "ne", "po", "út", "st", "čt", "pá", "so" ],
|
||||
dayNamesMin: [ "ne", "po", "út", "st", "čt", "pá", "so" ],
|
||||
weekHeader: "Týd",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.cs );
|
||||
|
||||
return datepicker.regional.cs;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Welsh/UK initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by William Griffiths. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "cy-GB" ] = {
|
||||
closeText: "Done",
|
||||
prevText: "Prev",
|
||||
nextText: "Next",
|
||||
currentText: "Today",
|
||||
monthNames: [ "Ionawr", "Chwefror", "Mawrth", "Ebrill", "Mai", "Mehefin",
|
||||
"Gorffennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr" ],
|
||||
monthNamesShort: [ "Ion", "Chw", "Maw", "Ebr", "Mai", "Meh",
|
||||
"Gor", "Aws", "Med", "Hyd", "Tac", "Rha" ],
|
||||
dayNames: [
|
||||
"Dydd Sul",
|
||||
"Dydd Llun",
|
||||
"Dydd Mawrth",
|
||||
"Dydd Mercher",
|
||||
"Dydd Iau",
|
||||
"Dydd Gwener",
|
||||
"Dydd Sadwrn"
|
||||
],
|
||||
dayNamesShort: [ "Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad" ],
|
||||
dayNamesMin: [ "Su", "Ll", "Ma", "Me", "Ia", "Gw", "Sa" ],
|
||||
weekHeader: "Wy",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "cy-GB" ] );
|
||||
|
||||
return datepicker.regional[ "cy-GB" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Danish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jan Christensen ( deletestuff@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.da = {
|
||||
closeText: "Luk",
|
||||
prevText: "Forrige",
|
||||
nextText: "Næste",
|
||||
currentText: "I dag",
|
||||
monthNames: [ "Januar", "Februar", "Marts", "April", "Maj", "Juni",
|
||||
"Juli", "August", "September", "Oktober", "November", "December" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun",
|
||||
"Jul", "Aug", "Sep", "Okt", "Nov", "Dec" ],
|
||||
dayNames: [ "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag" ],
|
||||
dayNamesShort: [ "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør" ],
|
||||
dayNamesMin: [ "Sø", "Ma", "Ti", "On", "To", "Fr", "Lø" ],
|
||||
weekHeader: "Uge",
|
||||
dateFormat: "dd-mm-yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.da );
|
||||
|
||||
return datepicker.regional.da;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,41 @@
|
||||
/* German/Austrian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Based on the de initialisation. */
|
||||
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "de-AT" ] = {
|
||||
closeText: "Schließen",
|
||||
prevText: "Zurück",
|
||||
nextText: "Vor",
|
||||
currentText: "Heute",
|
||||
monthNames: [ "Jänner", "Februar", "März", "April", "Mai", "Juni",
|
||||
"Juli", "August", "September", "Oktober", "November", "Dezember" ],
|
||||
monthNamesShort: [ "Jän", "Feb", "Mär", "Apr", "Mai", "Jun",
|
||||
"Jul", "Aug", "Sep", "Okt", "Nov", "Dez" ],
|
||||
dayNames: [ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" ],
|
||||
dayNamesShort: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ],
|
||||
dayNamesMin: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ],
|
||||
weekHeader: "KW",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "de-AT" ] );
|
||||
|
||||
return datepicker.regional[ "de-AT" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* German initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Milian Wolff (mail@milianw.de). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.de = {
|
||||
closeText: "Schließen",
|
||||
prevText: "Zurück",
|
||||
nextText: "Vor",
|
||||
currentText: "Heute",
|
||||
monthNames: [ "Januar", "Februar", "März", "April", "Mai", "Juni",
|
||||
"Juli", "August", "September", "Oktober", "November", "Dezember" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mär", "Apr", "Mai", "Jun",
|
||||
"Jul", "Aug", "Sep", "Okt", "Nov", "Dez" ],
|
||||
dayNames: [ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" ],
|
||||
dayNamesShort: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ],
|
||||
dayNamesMin: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ],
|
||||
weekHeader: "KW",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.de );
|
||||
|
||||
return datepicker.regional.de;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Greek (el) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Alex Cicovic (http://www.alexcicovic.com) */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.el = {
|
||||
closeText: "Κλείσιμο",
|
||||
prevText: "Προηγούμενος",
|
||||
nextText: "Επόμενος",
|
||||
currentText: "Σήμερα",
|
||||
monthNames: [ "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος",
|
||||
"Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος" ],
|
||||
monthNamesShort: [ "Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν",
|
||||
"Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ" ],
|
||||
dayNames: [ "Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο" ],
|
||||
dayNamesShort: [ "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ" ],
|
||||
dayNamesMin: [ "Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα" ],
|
||||
weekHeader: "Εβδ",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.el );
|
||||
|
||||
return datepicker.regional.el;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* English/Australia initialisation for the jQuery UI date picker plugin. */
|
||||
/* Based on the en-GB initialisation. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "en-AU" ] = {
|
||||
closeText: "Done",
|
||||
prevText: "Prev",
|
||||
nextText: "Next",
|
||||
currentText: "Today",
|
||||
monthNames: [ "January", "February", "March", "April", "May", "June",
|
||||
"July", "August", "September", "October", "November", "December" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ],
|
||||
dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ],
|
||||
dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ],
|
||||
dayNamesMin: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "en-AU" ] );
|
||||
|
||||
return datepicker.regional[ "en-AU" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* English/UK initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Stuart. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "en-GB" ] = {
|
||||
closeText: "Done",
|
||||
prevText: "Prev",
|
||||
nextText: "Next",
|
||||
currentText: "Today",
|
||||
monthNames: [ "January", "February", "March", "April", "May", "June",
|
||||
"July", "August", "September", "October", "November", "December" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ],
|
||||
dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ],
|
||||
dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ],
|
||||
dayNamesMin: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "en-GB" ] );
|
||||
|
||||
return datepicker.regional[ "en-GB" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* English/New Zealand initialisation for the jQuery UI date picker plugin. */
|
||||
/* Based on the en-GB initialisation. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "en-NZ" ] = {
|
||||
closeText: "Done",
|
||||
prevText: "Prev",
|
||||
nextText: "Next",
|
||||
currentText: "Today",
|
||||
monthNames: [ "January", "February", "March", "April", "May", "June",
|
||||
"July", "August", "September", "October", "November", "December" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ],
|
||||
dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ],
|
||||
dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ],
|
||||
dayNamesMin: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "en-NZ" ] );
|
||||
|
||||
return datepicker.regional[ "en-NZ" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Esperanto initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Olivier M. (olivierweb@ifrance.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.eo = {
|
||||
closeText: "Fermi",
|
||||
prevText: "Anta",
|
||||
nextText: "Sekv",
|
||||
currentText: "Nuna",
|
||||
monthNames: [ "Januaro", "Februaro", "Marto", "Aprilo", "Majo", "Junio",
|
||||
"Julio", "Aŭgusto", "Septembro", "Oktobro", "Novembro", "Decembro" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun",
|
||||
"Jul", "Aŭg", "Sep", "Okt", "Nov", "Dec" ],
|
||||
dayNames: [ "Dimanĉo", "Lundo", "Mardo", "Merkredo", "Ĵaŭdo", "Vendredo", "Sabato" ],
|
||||
dayNamesShort: [ "Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab" ],
|
||||
dayNamesMin: [ "Di", "Lu", "Ma", "Me", "Ĵa", "Ve", "Sa" ],
|
||||
weekHeader: "Sb",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.eo );
|
||||
|
||||
return datepicker.regional.eo;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Inicialización en español para la extensión 'UI date picker' para jQuery. */
|
||||
/* Traducido por Vester (xvester@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.es = {
|
||||
closeText: "Cerrar",
|
||||
prevText: "Ant",
|
||||
nextText: "Sig",
|
||||
currentText: "Hoy",
|
||||
monthNames: [ "enero", "febrero", "marzo", "abril", "mayo", "junio",
|
||||
"julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre" ],
|
||||
monthNamesShort: [ "ene", "feb", "mar", "abr", "may", "jun",
|
||||
"jul", "ago", "sep", "oct", "nov", "dic" ],
|
||||
dayNames: [ "domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado" ],
|
||||
dayNamesShort: [ "dom", "lun", "mar", "mié", "jue", "vie", "sáb" ],
|
||||
dayNamesMin: [ "D", "L", "M", "X", "J", "V", "S" ],
|
||||
weekHeader: "Sm",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.es );
|
||||
|
||||
return datepicker.regional.es;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Estonian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.et = {
|
||||
closeText: "Sulge",
|
||||
prevText: "Eelnev",
|
||||
nextText: "Järgnev",
|
||||
currentText: "Täna",
|
||||
monthNames: [ "Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni",
|
||||
"Juuli", "August", "September", "Oktoober", "November", "Detsember" ],
|
||||
monthNamesShort: [ "Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni",
|
||||
"Juuli", "Aug", "Sept", "Okt", "Nov", "Dets" ],
|
||||
dayNames: [
|
||||
"Pühapäev",
|
||||
"Esmaspäev",
|
||||
"Teisipäev",
|
||||
"Kolmapäev",
|
||||
"Neljapäev",
|
||||
"Reede",
|
||||
"Laupäev"
|
||||
],
|
||||
dayNamesShort: [ "Pühap", "Esmasp", "Teisip", "Kolmap", "Neljap", "Reede", "Laup" ],
|
||||
dayNamesMin: [ "P", "E", "T", "K", "N", "R", "L" ],
|
||||
weekHeader: "näd",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.et );
|
||||
|
||||
return datepicker.regional.et;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,39 @@
|
||||
/* Karrikas-ek itzulia (karrikas@karrikas.com) */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.eu = {
|
||||
closeText: "Egina",
|
||||
prevText: "Aur",
|
||||
nextText: "Hur",
|
||||
currentText: "Gaur",
|
||||
monthNames: [ "urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina",
|
||||
"uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua" ],
|
||||
monthNamesShort: [ "urt.", "ots.", "mar.", "api.", "mai.", "eka.",
|
||||
"uzt.", "abu.", "ira.", "urr.", "aza.", "abe." ],
|
||||
dayNames: [ "igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata" ],
|
||||
dayNamesShort: [ "ig.", "al.", "ar.", "az.", "og.", "ol.", "lr." ],
|
||||
dayNamesMin: [ "ig", "al", "ar", "az", "og", "ol", "lr" ],
|
||||
weekHeader: "As",
|
||||
dateFormat: "yy-mm-dd",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.eu );
|
||||
|
||||
return datepicker.regional.eu;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,76 @@
|
||||
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
|
||||
/* Javad Mowlanezhad -- jmowla@gmail.com */
|
||||
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.fa = {
|
||||
closeText: "بستن",
|
||||
prevText: "قبلی",
|
||||
nextText: "بعدی",
|
||||
currentText: "امروز",
|
||||
monthNames: [
|
||||
"ژانویه",
|
||||
"فوریه",
|
||||
"مارس",
|
||||
"آوریل",
|
||||
"مه",
|
||||
"ژوئن",
|
||||
"ژوئیه",
|
||||
"اوت",
|
||||
"سپتامبر",
|
||||
"اکتبر",
|
||||
"نوامبر",
|
||||
"دسامبر"
|
||||
],
|
||||
monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ],
|
||||
dayNames: [
|
||||
"يکشنبه",
|
||||
"دوشنبه",
|
||||
"سهشنبه",
|
||||
"چهارشنبه",
|
||||
"پنجشنبه",
|
||||
"جمعه",
|
||||
"شنبه"
|
||||
],
|
||||
dayNamesShort: [
|
||||
"ی",
|
||||
"د",
|
||||
"س",
|
||||
"چ",
|
||||
"پ",
|
||||
"ج",
|
||||
"ش"
|
||||
],
|
||||
dayNamesMin: [
|
||||
"ی",
|
||||
"د",
|
||||
"س",
|
||||
"چ",
|
||||
"پ",
|
||||
"ج",
|
||||
"ش"
|
||||
],
|
||||
weekHeader: "هف",
|
||||
dateFormat: "yy/mm/dd",
|
||||
firstDay: 6,
|
||||
isRTL: true,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.fa );
|
||||
|
||||
return datepicker.regional.fa;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Finnish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Harri Kilpiö (harrikilpio@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.fi = {
|
||||
closeText: "Sulje",
|
||||
prevText: "Edellinen",
|
||||
nextText: "Seuraava",
|
||||
currentText: "Tänään",
|
||||
monthNames: [ "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu",
|
||||
"Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu" ],
|
||||
monthNamesShort: [ "Tammi", "Helmi", "Maalis", "Huhti", "Touko", "Kesä",
|
||||
"Heinä", "Elo", "Syys", "Loka", "Marras", "Joulu" ],
|
||||
dayNamesShort: [ "Su", "Ma", "Ti", "Ke", "To", "Pe", "La" ],
|
||||
dayNames: [ "Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai" ],
|
||||
dayNamesMin: [ "Su", "Ma", "Ti", "Ke", "To", "Pe", "La" ],
|
||||
weekHeader: "Vk",
|
||||
dateFormat: "d.m.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.fi );
|
||||
|
||||
return datepicker.regional.fi;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Faroese initialisation for the jQuery UI date picker plugin */
|
||||
/* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.fo = {
|
||||
closeText: "Lat aftur",
|
||||
prevText: "Fyrra",
|
||||
nextText: "Næsta",
|
||||
currentText: "Í dag",
|
||||
monthNames: [ "Januar", "Februar", "Mars", "Apríl", "Mei", "Juni",
|
||||
"Juli", "August", "September", "Oktober", "November", "Desember" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Mei", "Jun",
|
||||
"Jul", "Aug", "Sep", "Okt", "Nov", "Des" ],
|
||||
dayNames: [
|
||||
"Sunnudagur",
|
||||
"Mánadagur",
|
||||
"Týsdagur",
|
||||
"Mikudagur",
|
||||
"Hósdagur",
|
||||
"Fríggjadagur",
|
||||
"Leyardagur"
|
||||
],
|
||||
dayNamesShort: [ "Sun", "Mán", "Týs", "Mik", "Hós", "Frí", "Ley" ],
|
||||
dayNamesMin: [ "Su", "Má", "Tý", "Mi", "Hó", "Fr", "Le" ],
|
||||
weekHeader: "Vk",
|
||||
dateFormat: "dd-mm-yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.fo );
|
||||
|
||||
return datepicker.regional.fo;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Canadian-French initialisation for the jQuery UI date picker plugin. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "fr-CA" ] = {
|
||||
closeText: "Fermer",
|
||||
prevText: "Précédent",
|
||||
nextText: "Suivant",
|
||||
currentText: "Aujourd'hui",
|
||||
monthNames: [ "janvier", "février", "mars", "avril", "mai", "juin",
|
||||
"juillet", "août", "septembre", "octobre", "novembre", "décembre" ],
|
||||
monthNamesShort: [ "janv.", "févr.", "mars", "avril", "mai", "juin",
|
||||
"juil.", "août", "sept.", "oct.", "nov.", "déc." ],
|
||||
dayNames: [ "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" ],
|
||||
dayNamesShort: [ "dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam." ],
|
||||
dayNamesMin: [ "D", "L", "M", "M", "J", "V", "S" ],
|
||||
weekHeader: "Sem.",
|
||||
dateFormat: "yy-mm-dd",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ""
|
||||
};
|
||||
datepicker.setDefaults( datepicker.regional[ "fr-CA" ] );
|
||||
|
||||
return datepicker.regional[ "fr-CA" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Swiss-French initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "fr-CH" ] = {
|
||||
closeText: "Fermer",
|
||||
prevText: "Préc",
|
||||
nextText: "Suiv",
|
||||
currentText: "Courant",
|
||||
monthNames: [ "janvier", "février", "mars", "avril", "mai", "juin",
|
||||
"juillet", "août", "septembre", "octobre", "novembre", "décembre" ],
|
||||
monthNamesShort: [ "janv.", "févr.", "mars", "avril", "mai", "juin",
|
||||
"juil.", "août", "sept.", "oct.", "nov.", "déc." ],
|
||||
dayNames: [ "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" ],
|
||||
dayNamesShort: [ "dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam." ],
|
||||
dayNamesMin: [ "D", "L", "M", "M", "J", "V", "S" ],
|
||||
weekHeader: "Sm",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "fr-CH" ] );
|
||||
|
||||
return datepicker.regional[ "fr-CH" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,42 @@
|
||||
/* French initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Keith Wood (kbwood{at}iinet.com.au),
|
||||
Stéphane Nahmani (sholby@sholby.net),
|
||||
Stéphane Raimbault <stephane.raimbault@gmail.com> */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.fr = {
|
||||
closeText: "Fermer",
|
||||
prevText: "Précédent",
|
||||
nextText: "Suivant",
|
||||
currentText: "Aujourd'hui",
|
||||
monthNames: [ "janvier", "février", "mars", "avril", "mai", "juin",
|
||||
"juillet", "août", "septembre", "octobre", "novembre", "décembre" ],
|
||||
monthNamesShort: [ "janv.", "févr.", "mars", "avr.", "mai", "juin",
|
||||
"juil.", "août", "sept.", "oct.", "nov.", "déc." ],
|
||||
dayNames: [ "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" ],
|
||||
dayNamesShort: [ "dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam." ],
|
||||
dayNamesMin: [ "D", "L", "M", "M", "J", "V", "S" ],
|
||||
weekHeader: "Sem.",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.fr );
|
||||
|
||||
return datepicker.regional.fr;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Galician localization for 'UI date picker' jQuery extension. */
|
||||
/* Translated by Jorge Barreiro <yortx.barry@gmail.com>. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.gl = {
|
||||
closeText: "Pechar",
|
||||
prevText: "Ant",
|
||||
nextText: "Seg",
|
||||
currentText: "Hoxe",
|
||||
monthNames: [ "Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño",
|
||||
"Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro" ],
|
||||
monthNamesShort: [ "Xan", "Feb", "Mar", "Abr", "Mai", "Xuñ",
|
||||
"Xul", "Ago", "Set", "Out", "Nov", "Dec" ],
|
||||
dayNames: [ "Domingo", "Luns", "Martes", "Mércores", "Xoves", "Venres", "Sábado" ],
|
||||
dayNamesShort: [ "Dom", "Lun", "Mar", "Mér", "Xov", "Ven", "Sáb" ],
|
||||
dayNamesMin: [ "Do", "Lu", "Ma", "Mé", "Xo", "Ve", "Sá" ],
|
||||
weekHeader: "Sm",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.gl );
|
||||
|
||||
return datepicker.regional.gl;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Hebrew initialisation for the UI Datepicker extension. */
|
||||
/* Written by Amir Hardon (ahardon at gmail dot com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.he = {
|
||||
closeText: "סגור",
|
||||
prevText: "הקודם",
|
||||
nextText: "הבא",
|
||||
currentText: "היום",
|
||||
monthNames: [ "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני",
|
||||
"יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר" ],
|
||||
monthNamesShort: [ "ינו", "פבר", "מרץ", "אפר", "מאי", "יוני",
|
||||
"יולי", "אוג", "ספט", "אוק", "נוב", "דצמ" ],
|
||||
dayNames: [ "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת" ],
|
||||
dayNamesShort: [ "א'", "ב'", "ג'", "ד'", "ה'", "ו'", "שבת" ],
|
||||
dayNamesMin: [ "א'", "ב'", "ג'", "ד'", "ה'", "ו'", "שבת" ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 0,
|
||||
isRTL: true,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.he );
|
||||
|
||||
return datepicker.regional.he;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Hindi initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Michael Dawart. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.hi = {
|
||||
closeText: "बंद",
|
||||
prevText: "पिछला",
|
||||
nextText: "अगला",
|
||||
currentText: "आज",
|
||||
monthNames: [ "जनवरी ", "फरवरी", "मार्च", "अप्रेल", "मई", "जून",
|
||||
"जूलाई", "अगस्त ", "सितम्बर", "अक्टूबर", "नवम्बर", "दिसम्बर" ],
|
||||
monthNamesShort: [ "जन", "फर", "मार्च", "अप्रेल", "मई", "जून",
|
||||
"जूलाई", "अग", "सित", "अक्ट", "नव", "दि" ],
|
||||
dayNames: [ "रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार" ],
|
||||
dayNamesShort: [ "रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि" ],
|
||||
dayNamesMin: [ "रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि" ],
|
||||
weekHeader: "हफ्ता",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.hi );
|
||||
|
||||
return datepicker.regional.hi;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Croatian i18n for the jQuery UI date picker plugin. */
|
||||
/* Written by Vjekoslav Nesek. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.hr = {
|
||||
closeText: "Zatvori",
|
||||
prevText: "Prethodno",
|
||||
nextText: "Sljedeći",
|
||||
currentText: "Danas",
|
||||
monthNames: [ "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj",
|
||||
"Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac" ],
|
||||
monthNamesShort: [ "Sij", "Velj", "Ožu", "Tra", "Svi", "Lip",
|
||||
"Srp", "Kol", "Ruj", "Lis", "Stu", "Pro" ],
|
||||
dayNames: [ "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota" ],
|
||||
dayNamesShort: [ "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub" ],
|
||||
dayNamesMin: [ "Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su" ],
|
||||
weekHeader: "Tje",
|
||||
dateFormat: "dd.mm.yy.",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.hr );
|
||||
|
||||
return datepicker.regional.hr;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,39 @@
|
||||
/* Hungarian initialisation for the jQuery UI date picker plugin. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.hu = {
|
||||
closeText: "Bezár",
|
||||
prevText: "Vissza",
|
||||
nextText: "Előre",
|
||||
currentText: "Ma",
|
||||
monthNames: [ "Január", "Február", "Március", "Április", "Május", "Június",
|
||||
"Július", "Augusztus", "Szeptember", "Október", "November", "December" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Már", "Ápr", "Máj", "Jún",
|
||||
"Júl", "Aug", "Szep", "Okt", "Nov", "Dec" ],
|
||||
dayNames: [ "Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat" ],
|
||||
dayNamesShort: [ "Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo" ],
|
||||
dayNamesMin: [ "V", "H", "K", "Sze", "Cs", "P", "Szo" ],
|
||||
weekHeader: "Hét",
|
||||
dateFormat: "yy.mm.dd.",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: true,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.hu );
|
||||
|
||||
return datepicker.regional.hu;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.hy = {
|
||||
closeText: "Փակել",
|
||||
prevText: "Նախ.",
|
||||
nextText: "Հաջ.",
|
||||
currentText: "Այսօր",
|
||||
monthNames: [ "Հունվար", "Փետրվար", "Մարտ", "Ապրիլ", "Մայիս", "Հունիս",
|
||||
"Հուլիս", "Օգոստոս", "Սեպտեմբեր", "Հոկտեմբեր", "Նոյեմբեր", "Դեկտեմբեր" ],
|
||||
monthNamesShort: [ "Հունվ", "Փետր", "Մարտ", "Ապր", "Մայիս", "Հունիս",
|
||||
"Հուլ", "Օգս", "Սեպ", "Հոկ", "Նոյ", "Դեկ" ],
|
||||
dayNames: [ "կիրակի", "եկուշաբթի", "երեքշաբթի", "չորեքշաբթի", "հինգշաբթի", "ուրբաթ", "շաբաթ" ],
|
||||
dayNamesShort: [ "կիր", "երկ", "երք", "չրք", "հնգ", "ուրբ", "շբթ" ],
|
||||
dayNamesMin: [ "կիր", "երկ", "երք", "չրք", "հնգ", "ուրբ", "շբթ" ],
|
||||
weekHeader: "ՇԲՏ",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.hy );
|
||||
|
||||
return datepicker.regional.hy;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,41 @@
|
||||
/* Indonesian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Deden Fathurahman (dedenf@gmail.com). */
|
||||
/* Fixed by Denny Septian Panggabean (xamidimura@gmail.com) */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.id = {
|
||||
closeText: "Tutup",
|
||||
prevText: "Mundur",
|
||||
nextText: "Maju",
|
||||
currentText: "Hari ini",
|
||||
monthNames: [ "Januari", "Februari", "Maret", "April", "Mei", "Juni",
|
||||
"Juli", "Agustus", "September", "Oktober", "Nopember", "Desember" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Mei", "Jun",
|
||||
"Jul", "Agus", "Sep", "Okt", "Nop", "Des" ],
|
||||
dayNames: [ "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu" ],
|
||||
dayNamesShort: [ "Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab" ],
|
||||
dayNamesMin: [ "Mg", "Sn", "Sl", "Rb", "Km", "Jm", "Sb" ],
|
||||
weekHeader: "Mg",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.id );
|
||||
|
||||
return datepicker.regional.id;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Icelandic initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Haukur H. Thorsson (haukur@eskill.is). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.is = {
|
||||
closeText: "Loka",
|
||||
prevText: "Fyrri",
|
||||
nextText: "Næsti ",
|
||||
currentText: "Í dag",
|
||||
monthNames: [ "Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní",
|
||||
"Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maí", "Jún",
|
||||
"Júl", "Ágú", "Sep", "Okt", "Nóv", "Des" ],
|
||||
dayNames: [
|
||||
"Sunnudagur",
|
||||
"Mánudagur",
|
||||
"Þriðjudagur",
|
||||
"Miðvikudagur",
|
||||
"Fimmtudagur",
|
||||
"Föstudagur",
|
||||
"Laugardagur"
|
||||
],
|
||||
dayNamesShort: [ "Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau" ],
|
||||
dayNamesMin: [ "Su", "Má", "Þr", "Mi", "Fi", "Fö", "La" ],
|
||||
weekHeader: "Vika",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.is );
|
||||
|
||||
return datepicker.regional.is;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Italian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "it-CH" ] = {
|
||||
closeText: "Chiudi",
|
||||
prevText: "Prec",
|
||||
nextText: "Succ",
|
||||
currentText: "Oggi",
|
||||
monthNames: [ "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno",
|
||||
"Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre" ],
|
||||
monthNamesShort: [ "Gen", "Feb", "Mar", "Apr", "Mag", "Giu",
|
||||
"Lug", "Ago", "Set", "Ott", "Nov", "Dic" ],
|
||||
dayNames: [ "Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato" ],
|
||||
dayNamesShort: [ "Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab" ],
|
||||
dayNamesMin: [ "Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa" ],
|
||||
weekHeader: "Sm",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "it-CH" ] );
|
||||
|
||||
return datepicker.regional[ "it-CH" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Italian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.it = {
|
||||
closeText: "Chiudi",
|
||||
prevText: "Prec",
|
||||
nextText: "Succ",
|
||||
currentText: "Oggi",
|
||||
monthNames: [ "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno",
|
||||
"Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre" ],
|
||||
monthNamesShort: [ "Gen", "Feb", "Mar", "Apr", "Mag", "Giu",
|
||||
"Lug", "Ago", "Set", "Ott", "Nov", "Dic" ],
|
||||
dayNames: [ "Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato" ],
|
||||
dayNamesShort: [ "Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab" ],
|
||||
dayNamesMin: [ "Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa" ],
|
||||
weekHeader: "Sm",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.it );
|
||||
|
||||
return datepicker.regional.it;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Japanese initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Kentaro SATO (kentaro@ranvis.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ja = {
|
||||
closeText: "閉じる",
|
||||
prevText: "前",
|
||||
nextText: "次",
|
||||
currentText: "今日",
|
||||
monthNames: [ "1月", "2月", "3月", "4月", "5月", "6月",
|
||||
"7月", "8月", "9月", "10月", "11月", "12月" ],
|
||||
monthNamesShort: [ "1月", "2月", "3月", "4月", "5月", "6月",
|
||||
"7月", "8月", "9月", "10月", "11月", "12月" ],
|
||||
dayNames: [ "日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日" ],
|
||||
dayNamesShort: [ "日", "月", "火", "水", "木", "金", "土" ],
|
||||
dayNamesMin: [ "日", "月", "火", "水", "木", "金", "土" ],
|
||||
weekHeader: "週",
|
||||
dateFormat: "yy/mm/dd",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: true,
|
||||
yearSuffix: "年" };
|
||||
datepicker.setDefaults( datepicker.regional.ja );
|
||||
|
||||
return datepicker.regional.ja;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,51 @@
|
||||
/* Georgian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Lado Lomidze (lado.lomidze@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ka = {
|
||||
closeText: "დახურვა",
|
||||
prevText: "წინა",
|
||||
nextText: "შემდეგი ",
|
||||
currentText: "დღეს",
|
||||
monthNames: [
|
||||
"იანვარი",
|
||||
"თებერვალი",
|
||||
"მარტი",
|
||||
"აპრილი",
|
||||
"მაისი",
|
||||
"ივნისი",
|
||||
"ივლისი",
|
||||
"აგვისტო",
|
||||
"სექტემბერი",
|
||||
"ოქტომბერი",
|
||||
"ნოემბერი",
|
||||
"დეკემბერი"
|
||||
],
|
||||
monthNamesShort: [ "იან", "თებ", "მარ", "აპრ", "მაი", "ივნ", "ივლ", "აგვ", "სექ", "ოქტ", "ნოე", "დეკ" ],
|
||||
dayNames: [ "კვირა", "ორშაბათი", "სამშაბათი", "ოთხშაბათი", "ხუთშაბათი", "პარასკევი", "შაბათი" ],
|
||||
dayNamesShort: [ "კვ", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ" ],
|
||||
dayNamesMin: [ "კვ", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ" ],
|
||||
weekHeader: "კვირა",
|
||||
dateFormat: "dd-mm-yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.ka );
|
||||
|
||||
return datepicker.regional.ka;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.kk = {
|
||||
closeText: "Жабу",
|
||||
prevText: "Алдыңғы",
|
||||
nextText: "Келесі",
|
||||
currentText: "Бүгін",
|
||||
monthNames: [ "Қаңтар", "Ақпан", "Наурыз", "Сәуір", "Мамыр", "Маусым",
|
||||
"Шілде", "Тамыз", "Қыркүйек", "Қазан", "Қараша", "Желтоқсан" ],
|
||||
monthNamesShort: [ "Қаң", "Ақп", "Нау", "Сәу", "Мам", "Мау",
|
||||
"Шіл", "Там", "Қыр", "Қаз", "Қар", "Жел" ],
|
||||
dayNames: [ "Жексенбі", "Дүйсенбі", "Сейсенбі", "Сәрсенбі", "Бейсенбі", "Жұма", "Сенбі" ],
|
||||
dayNamesShort: [ "жкс", "дсн", "ссн", "срс", "бсн", "жма", "снб" ],
|
||||
dayNamesMin: [ "Жк", "Дс", "Сс", "Ср", "Бс", "Жм", "Сн" ],
|
||||
weekHeader: "Не",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.kk );
|
||||
|
||||
return datepicker.regional.kk;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Khmer initialisation for the jQuery calendar extension. */
|
||||
/* Written by Chandara Om (chandara.teacher@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.km = {
|
||||
closeText: "ធ្វើរួច",
|
||||
prevText: "មុន",
|
||||
nextText: "បន្ទាប់",
|
||||
currentText: "ថ្ងៃនេះ",
|
||||
monthNames: [ "មករា", "កុម្ភៈ", "មីនា", "មេសា", "ឧសភា", "មិថុនា",
|
||||
"កក្កដា", "សីហា", "កញ្ញា", "តុលា", "វិច្ឆិកា", "ធ្នូ" ],
|
||||
monthNamesShort: [ "មករា", "កុម្ភៈ", "មីនា", "មេសា", "ឧសភា", "មិថុនា",
|
||||
"កក្កដា", "សីហា", "កញ្ញា", "តុលា", "វិច្ឆិកា", "ធ្នូ" ],
|
||||
dayNames: [ "អាទិត្យ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រហស្បតិ៍", "សុក្រ", "សៅរ៍" ],
|
||||
dayNamesShort: [ "អា", "ច", "អ", "ពុ", "ព្រហ", "សុ", "សៅ" ],
|
||||
dayNamesMin: [ "អា", "ច", "អ", "ពុ", "ព្រហ", "សុ", "សៅ" ],
|
||||
weekHeader: "សប្ដាហ៍",
|
||||
dateFormat: "dd-mm-yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.km );
|
||||
|
||||
return datepicker.regional.km;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Korean initialisation for the jQuery calendar extension. */
|
||||
/* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie and Myeongjin Lee. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ko = {
|
||||
closeText: "닫기",
|
||||
prevText: "이전달",
|
||||
nextText: "다음달",
|
||||
currentText: "오늘",
|
||||
monthNames: [ "1월", "2월", "3월", "4월", "5월", "6월",
|
||||
"7월", "8월", "9월", "10월", "11월", "12월" ],
|
||||
monthNamesShort: [ "1월", "2월", "3월", "4월", "5월", "6월",
|
||||
"7월", "8월", "9월", "10월", "11월", "12월" ],
|
||||
dayNames: [ "일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일" ],
|
||||
dayNamesShort: [ "일", "월", "화", "수", "목", "금", "토" ],
|
||||
dayNamesMin: [ "일", "월", "화", "수", "목", "금", "토" ],
|
||||
weekHeader: "주",
|
||||
dateFormat: "yy. m. d.",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: true,
|
||||
yearSuffix: "년" };
|
||||
datepicker.setDefaults( datepicker.regional.ko );
|
||||
|
||||
return datepicker.regional.ko;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,41 @@
|
||||
/* Kyrgyz (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Sergey Kartashov (ebishkek@yandex.ru). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ky = {
|
||||
closeText: "Жабуу",
|
||||
prevText: "Мур",
|
||||
nextText: "Кий",
|
||||
currentText: "Бүгүн",
|
||||
monthNames: [ "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь",
|
||||
"Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь" ],
|
||||
monthNamesShort: [ "Янв", "Фев", "Мар", "Апр", "Май", "Июн",
|
||||
"Июл", "Авг", "Сен", "Окт", "Ноя", "Дек" ],
|
||||
dayNames: [ "жекшемби", "дүйшөмбү", "шейшемби", "шаршемби", "бейшемби", "жума", "ишемби" ],
|
||||
dayNamesShort: [ "жек", "дүй", "шей", "шар", "бей", "жум", "ише" ],
|
||||
dayNamesMin: [ "Жк", "Дш", "Шш", "Шр", "Бш", "Жм", "Иш" ],
|
||||
weekHeader: "Жум",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ""
|
||||
};
|
||||
datepicker.setDefaults( datepicker.regional.ky );
|
||||
|
||||
return datepicker.regional.ky;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Luxembourgish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Michel Weimerskirch <michel@weimerskirch.net> */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.lb = {
|
||||
closeText: "Fäerdeg",
|
||||
prevText: "Zréck",
|
||||
nextText: "Weider",
|
||||
currentText: "Haut",
|
||||
monthNames: [ "Januar", "Februar", "Mäerz", "Abrëll", "Mee", "Juni",
|
||||
"Juli", "August", "September", "Oktober", "November", "Dezember" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mäe", "Abr", "Mee", "Jun",
|
||||
"Jul", "Aug", "Sep", "Okt", "Nov", "Dez" ],
|
||||
dayNames: [
|
||||
"Sonndeg",
|
||||
"Méindeg",
|
||||
"Dënschdeg",
|
||||
"Mëttwoch",
|
||||
"Donneschdeg",
|
||||
"Freideg",
|
||||
"Samschdeg"
|
||||
],
|
||||
dayNamesShort: [ "Son", "Méi", "Dën", "Mët", "Don", "Fre", "Sam" ],
|
||||
dayNamesMin: [ "So", "Mé", "Dë", "Më", "Do", "Fr", "Sa" ],
|
||||
weekHeader: "W",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.lb );
|
||||
|
||||
return datepicker.regional.lb;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* @author Arturas Paleicikas <arturas@avalon.lt> */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.lt = {
|
||||
closeText: "Uždaryti",
|
||||
prevText: "Atgal",
|
||||
nextText: "Pirmyn",
|
||||
currentText: "Šiandien",
|
||||
monthNames: [ "Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis",
|
||||
"Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis" ],
|
||||
monthNamesShort: [ "Sau", "Vas", "Kov", "Bal", "Geg", "Bir",
|
||||
"Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru" ],
|
||||
dayNames: [
|
||||
"sekmadienis",
|
||||
"pirmadienis",
|
||||
"antradienis",
|
||||
"trečiadienis",
|
||||
"ketvirtadienis",
|
||||
"penktadienis",
|
||||
"šeštadienis"
|
||||
],
|
||||
dayNamesShort: [ "sek", "pir", "ant", "tre", "ket", "pen", "šeš" ],
|
||||
dayNamesMin: [ "Se", "Pr", "An", "Tr", "Ke", "Pe", "Še" ],
|
||||
weekHeader: "SAV",
|
||||
dateFormat: "yy-mm-dd",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: true,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.lt );
|
||||
|
||||
return datepicker.regional.lt;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.lv = {
|
||||
closeText: "Aizvērt",
|
||||
prevText: "Iepr.",
|
||||
nextText: "Nāk.",
|
||||
currentText: "Šodien",
|
||||
monthNames: [ "Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs",
|
||||
"Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Mai", "Jūn",
|
||||
"Jūl", "Aug", "Sep", "Okt", "Nov", "Dec" ],
|
||||
dayNames: [
|
||||
"svētdiena",
|
||||
"pirmdiena",
|
||||
"otrdiena",
|
||||
"trešdiena",
|
||||
"ceturtdiena",
|
||||
"piektdiena",
|
||||
"sestdiena"
|
||||
],
|
||||
dayNamesShort: [ "svt", "prm", "otr", "tre", "ctr", "pkt", "sst" ],
|
||||
dayNamesMin: [ "Sv", "Pr", "Ot", "Tr", "Ct", "Pk", "Ss" ],
|
||||
weekHeader: "Ned.",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.lv );
|
||||
|
||||
return datepicker.regional.lv;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Macedonian i18n for the jQuery UI date picker plugin. */
|
||||
/* Written by Stojce Slavkovski. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.mk = {
|
||||
closeText: "Затвори",
|
||||
prevText: "Претходна",
|
||||
nextText: "Следно",
|
||||
currentText: "Денес",
|
||||
monthNames: [ "Јануари", "Февруари", "Март", "Април", "Мај", "Јуни",
|
||||
"Јули", "Август", "Септември", "Октомври", "Ноември", "Декември" ],
|
||||
monthNamesShort: [ "Јан", "Фев", "Мар", "Апр", "Мај", "Јун",
|
||||
"Јул", "Авг", "Сеп", "Окт", "Ное", "Дек" ],
|
||||
dayNames: [ "Недела", "Понеделник", "Вторник", "Среда", "Четврток", "Петок", "Сабота" ],
|
||||
dayNamesShort: [ "Нед", "Пон", "Вто", "Сре", "Чет", "Пет", "Саб" ],
|
||||
dayNamesMin: [ "Не", "По", "Вт", "Ср", "Че", "Пе", "Са" ],
|
||||
weekHeader: "Сед",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.mk );
|
||||
|
||||
return datepicker.regional.mk;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Malayalam (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Saji Nediyanchath (saji89@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ml = {
|
||||
closeText: "ശരി",
|
||||
prevText: "മുന്നത്തെ",
|
||||
nextText: "അടുത്തത് ",
|
||||
currentText: "ഇന്ന്",
|
||||
monthNames: [ "ജനുവരി", "ഫെബ്രുവരി", "മാര്ച്ച്", "ഏപ്രില്", "മേയ്", "ജൂണ്",
|
||||
"ജൂലൈ", "ആഗസ്റ്റ്", "സെപ്റ്റംബര്", "ഒക്ടോബര്", "നവംബര്", "ഡിസംബര്" ],
|
||||
monthNamesShort: [ "ജനു", "ഫെബ്", "മാര്", "ഏപ്രി", "മേയ്", "ജൂണ്",
|
||||
"ജൂലാ", "ആഗ", "സെപ്", "ഒക്ടോ", "നവം", "ഡിസ" ],
|
||||
dayNames: [ "ഞായര്", "തിങ്കള്", "ചൊവ്വ", "ബുധന്", "വ്യാഴം", "വെള്ളി", "ശനി" ],
|
||||
dayNamesShort: [ "ഞായ", "തിങ്ക", "ചൊവ്വ", "ബുധ", "വ്യാഴം", "വെള്ളി", "ശനി" ],
|
||||
dayNamesMin: [ "ഞാ", "തി", "ചൊ", "ബു", "വ്യാ", "വെ", "ശ" ],
|
||||
weekHeader: "ആ",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.ml );
|
||||
|
||||
return datepicker.regional.ml;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Malaysian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ms = {
|
||||
closeText: "Tutup",
|
||||
prevText: "Sebelum",
|
||||
nextText: "Selepas",
|
||||
currentText: "hari ini",
|
||||
monthNames: [ "Januari", "Februari", "Mac", "April", "Mei", "Jun",
|
||||
"Julai", "Ogos", "September", "Oktober", "November", "Disember" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mac", "Apr", "Mei", "Jun",
|
||||
"Jul", "Ogo", "Sep", "Okt", "Nov", "Dis" ],
|
||||
dayNames: [ "Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu" ],
|
||||
dayNamesShort: [ "Aha", "Isn", "Sel", "Rab", "kha", "Jum", "Sab" ],
|
||||
dayNamesMin: [ "Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa" ],
|
||||
weekHeader: "Mg",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.ms );
|
||||
|
||||
return datepicker.regional.ms;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,52 @@
|
||||
/* Norwegian Bokmål initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Bjørn Johansen (post@bjornjohansen.no). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.nb = {
|
||||
closeText: "Lukk",
|
||||
prevText: "Forrige",
|
||||
nextText: "Neste",
|
||||
currentText: "I dag",
|
||||
monthNames: [
|
||||
"januar",
|
||||
"februar",
|
||||
"mars",
|
||||
"april",
|
||||
"mai",
|
||||
"juni",
|
||||
"juli",
|
||||
"august",
|
||||
"september",
|
||||
"oktober",
|
||||
"november",
|
||||
"desember"
|
||||
],
|
||||
monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ],
|
||||
dayNamesShort: [ "søn", "man", "tir", "ons", "tor", "fre", "lør" ],
|
||||
dayNames: [ "søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag" ],
|
||||
dayNamesMin: [ "sø", "ma", "ti", "on", "to", "fr", "lø" ],
|
||||
weekHeader: "Uke",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ""
|
||||
};
|
||||
datepicker.setDefaults( datepicker.regional.nb );
|
||||
|
||||
return datepicker.regional.nb;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Dutch (Belgium) initialisation for the jQuery UI date picker plugin. */
|
||||
/* David De Sloovere @DavidDeSloovere */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "nl-BE" ] = {
|
||||
closeText: "Sluiten",
|
||||
prevText: "Vorig",
|
||||
nextText: "Volgende",
|
||||
currentText: "Vandaag",
|
||||
monthNames: [ "januari", "februari", "maart", "april", "mei", "juni",
|
||||
"juli", "augustus", "september", "oktober", "november", "december" ],
|
||||
monthNamesShort: [ "jan", "feb", "mrt", "apr", "mei", "jun",
|
||||
"jul", "aug", "sep", "okt", "nov", "dec" ],
|
||||
dayNames: [ "zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag" ],
|
||||
dayNamesShort: [ "zon", "maa", "din", "woe", "don", "vri", "zat" ],
|
||||
dayNamesMin: [ "zo", "ma", "di", "wo", "do", "vr", "za" ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "nl-BE" ] );
|
||||
|
||||
return datepicker.regional[ "nl-BE" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Mathias Bynens <http://mathiasbynens.be/> */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.nl = {
|
||||
closeText: "Sluiten",
|
||||
prevText: "Vorig",
|
||||
nextText: "Volgende",
|
||||
currentText: "Vandaag",
|
||||
monthNames: [ "januari", "februari", "maart", "april", "mei", "juni",
|
||||
"juli", "augustus", "september", "oktober", "november", "december" ],
|
||||
monthNamesShort: [ "jan", "feb", "mrt", "apr", "mei", "jun",
|
||||
"jul", "aug", "sep", "okt", "nov", "dec" ],
|
||||
dayNames: [ "zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag" ],
|
||||
dayNamesShort: [ "zon", "maa", "din", "woe", "don", "vri", "zat" ],
|
||||
dayNamesMin: [ "zo", "ma", "di", "wo", "do", "vr", "za" ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd-mm-yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.nl );
|
||||
|
||||
return datepicker.regional.nl;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,52 @@
|
||||
/* Norwegian Nynorsk initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Bjørn Johansen (post@bjornjohansen.no). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.nn = {
|
||||
closeText: "Lukk",
|
||||
prevText: "Førre",
|
||||
nextText: "Neste",
|
||||
currentText: "I dag",
|
||||
monthNames: [
|
||||
"januar",
|
||||
"februar",
|
||||
"mars",
|
||||
"april",
|
||||
"mai",
|
||||
"juni",
|
||||
"juli",
|
||||
"august",
|
||||
"september",
|
||||
"oktober",
|
||||
"november",
|
||||
"desember"
|
||||
],
|
||||
monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ],
|
||||
dayNamesShort: [ "sun", "mån", "tys", "ons", "tor", "fre", "lau" ],
|
||||
dayNames: [ "sundag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag" ],
|
||||
dayNamesMin: [ "su", "må", "ty", "on", "to", "fr", "la" ],
|
||||
weekHeader: "Veke",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ""
|
||||
};
|
||||
datepicker.setDefaults( datepicker.regional.nn );
|
||||
|
||||
return datepicker.regional.nn;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,53 @@
|
||||
/* Norwegian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
|
||||
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.no = {
|
||||
closeText: "Lukk",
|
||||
prevText: "Forrige",
|
||||
nextText: "Neste",
|
||||
currentText: "I dag",
|
||||
monthNames: [
|
||||
"januar",
|
||||
"februar",
|
||||
"mars",
|
||||
"april",
|
||||
"mai",
|
||||
"juni",
|
||||
"juli",
|
||||
"august",
|
||||
"september",
|
||||
"oktober",
|
||||
"november",
|
||||
"desember"
|
||||
],
|
||||
monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ],
|
||||
dayNamesShort: [ "søn", "man", "tir", "ons", "tor", "fre", "lør" ],
|
||||
dayNames: [ "søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag" ],
|
||||
dayNamesMin: [ "sø", "ma", "ti", "on", "to", "fr", "lø" ],
|
||||
weekHeader: "Uke",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ""
|
||||
};
|
||||
datepicker.setDefaults( datepicker.regional.no );
|
||||
|
||||
return datepicker.regional.no;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Polish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.pl = {
|
||||
closeText: "Zamknij",
|
||||
prevText: "Poprzedni",
|
||||
nextText: "Następny",
|
||||
currentText: "Dziś",
|
||||
monthNames: [ "Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec",
|
||||
"Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień" ],
|
||||
monthNamesShort: [ "Sty", "Lu", "Mar", "Kw", "Maj", "Cze",
|
||||
"Lip", "Sie", "Wrz", "Pa", "Lis", "Gru" ],
|
||||
dayNames: [ "Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota" ],
|
||||
dayNamesShort: [ "Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So" ],
|
||||
dayNamesMin: [ "N", "Pn", "Wt", "Śr", "Cz", "Pt", "So" ],
|
||||
weekHeader: "Tydz",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.pl );
|
||||
|
||||
return datepicker.regional.pl;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,48 @@
|
||||
/* Brazilian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "pt-BR" ] = {
|
||||
closeText: "Fechar",
|
||||
prevText: "Anterior",
|
||||
nextText: "Próximo",
|
||||
currentText: "Hoje",
|
||||
monthNames: [ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho",
|
||||
"Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" ],
|
||||
monthNamesShort: [ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun",
|
||||
"Jul", "Ago", "Set", "Out", "Nov", "Dez" ],
|
||||
dayNames: [
|
||||
"Domingo",
|
||||
"Segunda-feira",
|
||||
"Terça-feira",
|
||||
"Quarta-feira",
|
||||
"Quinta-feira",
|
||||
"Sexta-feira",
|
||||
"Sábado"
|
||||
],
|
||||
dayNamesShort: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ],
|
||||
dayNamesMin: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ],
|
||||
weekHeader: "Sm",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "pt-BR" ] );
|
||||
|
||||
return datepicker.regional[ "pt-BR" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,47 @@
|
||||
/* Portuguese initialisation for the jQuery UI date picker plugin. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.pt = {
|
||||
closeText: "Fechar",
|
||||
prevText: "Anterior",
|
||||
nextText: "Seguinte",
|
||||
currentText: "Hoje",
|
||||
monthNames: [ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho",
|
||||
"Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" ],
|
||||
monthNamesShort: [ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun",
|
||||
"Jul", "Ago", "Set", "Out", "Nov", "Dez" ],
|
||||
dayNames: [
|
||||
"Domingo",
|
||||
"Segunda-feira",
|
||||
"Terça-feira",
|
||||
"Quarta-feira",
|
||||
"Quinta-feira",
|
||||
"Sexta-feira",
|
||||
"Sábado"
|
||||
],
|
||||
dayNamesShort: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ],
|
||||
dayNamesMin: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ],
|
||||
weekHeader: "Sem",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.pt );
|
||||
|
||||
return datepicker.regional.pt;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,64 @@
|
||||
/* Romansh initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Yvonne Gienal (yvonne.gienal@educa.ch). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.rm = {
|
||||
closeText: "Serrar",
|
||||
prevText: "Suandant",
|
||||
nextText: "Precedent",
|
||||
currentText: "Actual",
|
||||
monthNames: [
|
||||
"Schaner",
|
||||
"Favrer",
|
||||
"Mars",
|
||||
"Avrigl",
|
||||
"Matg",
|
||||
"Zercladur",
|
||||
"Fanadur",
|
||||
"Avust",
|
||||
"Settember",
|
||||
"October",
|
||||
"November",
|
||||
"December"
|
||||
],
|
||||
monthNamesShort: [
|
||||
"Scha",
|
||||
"Fev",
|
||||
"Mar",
|
||||
"Avr",
|
||||
"Matg",
|
||||
"Zer",
|
||||
"Fan",
|
||||
"Avu",
|
||||
"Sett",
|
||||
"Oct",
|
||||
"Nov",
|
||||
"Dec"
|
||||
],
|
||||
dayNames: [ "Dumengia", "Glindesdi", "Mardi", "Mesemna", "Gievgia", "Venderdi", "Sonda" ],
|
||||
dayNamesShort: [ "Dum", "Gli", "Mar", "Mes", "Gie", "Ven", "Som" ],
|
||||
dayNamesMin: [ "Du", "Gl", "Ma", "Me", "Gi", "Ve", "So" ],
|
||||
weekHeader: "emna",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.rm );
|
||||
|
||||
return datepicker.regional.rm;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,43 @@
|
||||
/* Romanian initialisation for the jQuery UI date picker plugin.
|
||||
*
|
||||
* Written by Edmond L. (ll_edmond@walla.com)
|
||||
* and Ionut G. Stan (ionut.g.stan@gmail.com)
|
||||
*/
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ro = {
|
||||
closeText: "Închide",
|
||||
prevText: "Luna precedentă",
|
||||
nextText: "Luna următoare ",
|
||||
currentText: "Azi",
|
||||
monthNames: [ "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie",
|
||||
"Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie" ],
|
||||
monthNamesShort: [ "Ian", "Feb", "Mar", "Apr", "Mai", "Iun",
|
||||
"Iul", "Aug", "Sep", "Oct", "Nov", "Dec" ],
|
||||
dayNames: [ "Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă" ],
|
||||
dayNamesShort: [ "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm" ],
|
||||
dayNamesMin: [ "Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ" ],
|
||||
weekHeader: "Săpt",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.ro );
|
||||
|
||||
return datepicker.regional.ro;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Andrew Stromnov (stromnov@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ru = {
|
||||
closeText: "Закрыть",
|
||||
prevText: "Пред",
|
||||
nextText: "След",
|
||||
currentText: "Сегодня",
|
||||
monthNames: [ "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь",
|
||||
"Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь" ],
|
||||
monthNamesShort: [ "Янв", "Фев", "Мар", "Апр", "Май", "Июн",
|
||||
"Июл", "Авг", "Сен", "Окт", "Ноя", "Дек" ],
|
||||
dayNames: [ "воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота" ],
|
||||
dayNamesShort: [ "вск", "пнд", "втр", "срд", "чтв", "птн", "сбт" ],
|
||||
dayNamesMin: [ "Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб" ],
|
||||
weekHeader: "Нед",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.ru );
|
||||
|
||||
return datepicker.regional.ru;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Slovak initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Vojtech Rinik (vojto@hmm.sk). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.sk = {
|
||||
closeText: "Zavrieť",
|
||||
prevText: "Predchádzajúci",
|
||||
nextText: "Nasledujúci",
|
||||
currentText: "Dnes",
|
||||
monthNames: [ "január", "február", "marec", "apríl", "máj", "jún",
|
||||
"júl", "august", "september", "október", "november", "december" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Máj", "Jún",
|
||||
"Júl", "Aug", "Sep", "Okt", "Nov", "Dec" ],
|
||||
dayNames: [ "nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota" ],
|
||||
dayNamesShort: [ "Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob" ],
|
||||
dayNamesMin: [ "Ne", "Po", "Ut", "St", "Št", "Pia", "So" ],
|
||||
weekHeader: "Ty",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.sk );
|
||||
|
||||
return datepicker.regional.sk;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,41 @@
|
||||
/* Slovenian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jaka Jancar (jaka@kubje.org). */
|
||||
/* c = č, s = š z = ž C = Č S = Š Z = Ž */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.sl = {
|
||||
closeText: "Zapri",
|
||||
prevText: "Prejšnji",
|
||||
nextText: "Naslednji",
|
||||
currentText: "Trenutni",
|
||||
monthNames: [ "Januar", "Februar", "Marec", "April", "Maj", "Junij",
|
||||
"Julij", "Avgust", "September", "Oktober", "November", "December" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun",
|
||||
"Jul", "Avg", "Sep", "Okt", "Nov", "Dec" ],
|
||||
dayNames: [ "Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota" ],
|
||||
dayNamesShort: [ "Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob" ],
|
||||
dayNamesMin: [ "Ne", "Po", "To", "Sr", "Če", "Pe", "So" ],
|
||||
weekHeader: "Teden",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.sl );
|
||||
|
||||
return datepicker.regional.sl;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Albanian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Flakron Bytyqi (flakron@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.sq = {
|
||||
closeText: "mbylle",
|
||||
prevText: "mbrapa",
|
||||
nextText: "Përpara",
|
||||
currentText: "sot",
|
||||
monthNames: [ "Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor",
|
||||
"Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor" ],
|
||||
monthNamesShort: [ "Jan", "Shk", "Mar", "Pri", "Maj", "Qer",
|
||||
"Kor", "Gus", "Sht", "Tet", "Nën", "Dhj" ],
|
||||
dayNames: [ "E Diel", "E Hënë", "E Martë", "E Mërkurë", "E Enjte", "E Premte", "E Shtune" ],
|
||||
dayNamesShort: [ "Di", "Hë", "Ma", "Më", "En", "Pr", "Sh" ],
|
||||
dayNamesMin: [ "Di", "Hë", "Ma", "Më", "En", "Pr", "Sh" ],
|
||||
weekHeader: "Ja",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.sq );
|
||||
|
||||
return datepicker.regional.sq;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Serbian i18n for the jQuery UI date picker plugin. */
|
||||
/* Written by Dejan Dimić. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "sr-SR" ] = {
|
||||
closeText: "Zatvori",
|
||||
prevText: "Prethodno",
|
||||
nextText: "Sljedeći",
|
||||
currentText: "Danas",
|
||||
monthNames: [ "Januar", "Februar", "Mart", "April", "Maj", "Jun",
|
||||
"Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar" ],
|
||||
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun",
|
||||
"Jul", "Avg", "Sep", "Okt", "Nov", "Dec" ],
|
||||
dayNames: [ "Nedelja", "Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota" ],
|
||||
dayNamesShort: [ "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub" ],
|
||||
dayNamesMin: [ "Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su" ],
|
||||
weekHeader: "Sed",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional[ "sr-SR" ] );
|
||||
|
||||
return datepicker.regional[ "sr-SR" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Serbian i18n for the jQuery UI date picker plugin. */
|
||||
/* Written by Dejan Dimić. */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.sr = {
|
||||
closeText: "Затвори",
|
||||
prevText: "Претходна",
|
||||
nextText: "Следећи",
|
||||
currentText: "Данас",
|
||||
monthNames: [ "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун",
|
||||
"Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар" ],
|
||||
monthNamesShort: [ "Јан", "Феб", "Мар", "Апр", "Мај", "Јун",
|
||||
"Јул", "Авг", "Сеп", "Окт", "Нов", "Дец" ],
|
||||
dayNames: [ "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота" ],
|
||||
dayNamesShort: [ "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб" ],
|
||||
dayNamesMin: [ "Не", "По", "Ут", "Ср", "Че", "Пе", "Су" ],
|
||||
weekHeader: "Сед",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.sr );
|
||||
|
||||
return datepicker.regional.sr;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Swedish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.sv = {
|
||||
closeText: "Stäng",
|
||||
prevText: "Förra",
|
||||
nextText: "Nästa",
|
||||
currentText: "Idag",
|
||||
monthNames: [ "januari", "februari", "mars", "april", "maj", "juni",
|
||||
"juli", "augusti", "september", "oktober", "november", "december" ],
|
||||
monthNamesShort: [ "jan.", "feb.", "mars", "apr.", "maj", "juni",
|
||||
"juli", "aug.", "sep.", "okt.", "nov.", "dec." ],
|
||||
dayNamesShort: [ "sön", "mån", "tis", "ons", "tor", "fre", "lör" ],
|
||||
dayNames: [ "söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag" ],
|
||||
dayNamesMin: [ "sö", "må", "ti", "on", "to", "fr", "lö" ],
|
||||
weekHeader: "Ve",
|
||||
dateFormat: "yy-mm-dd",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.sv );
|
||||
|
||||
return datepicker.regional.sv;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,56 @@
|
||||
/* Tamil (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by S A Sureshkumar (saskumar@live.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.ta = {
|
||||
closeText: "மூடு",
|
||||
prevText: "முன்னையது",
|
||||
nextText: "அடுத்தது",
|
||||
currentText: "இன்று",
|
||||
monthNames: [ "தை", "மாசி", "பங்குனி", "சித்திரை", "வைகாசி", "ஆனி",
|
||||
"ஆடி", "ஆவணி", "புரட்டாசி", "ஐப்பசி", "கார்த்திகை", "மார்கழி" ],
|
||||
monthNamesShort: [ "தை", "மாசி", "பங்", "சித்", "வைகா", "ஆனி",
|
||||
"ஆடி", "ஆவ", "புர", "ஐப்", "கார்", "மார்" ],
|
||||
dayNames: [
|
||||
"ஞாயிற்றுக்கிழமை",
|
||||
"திங்கட்கிழமை",
|
||||
"செவ்வாய்க்கிழமை",
|
||||
"புதன்கிழமை",
|
||||
"வியாழக்கிழமை",
|
||||
"வெள்ளிக்கிழமை",
|
||||
"சனிக்கிழமை"
|
||||
],
|
||||
dayNamesShort: [
|
||||
"ஞாயிறு",
|
||||
"திங்கள்",
|
||||
"செவ்வாய்",
|
||||
"புதன்",
|
||||
"வியாழன்",
|
||||
"வெள்ளி",
|
||||
"சனி"
|
||||
],
|
||||
dayNamesMin: [ "ஞா", "தி", "செ", "பு", "வி", "வெ", "ச" ],
|
||||
weekHeader: "Не",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.ta );
|
||||
|
||||
return datepicker.regional.ta;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Thai initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by pipo (pipo@sixhead.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.th = {
|
||||
closeText: "ปิด",
|
||||
prevText: "ย้อน",
|
||||
nextText: "ถัดไป",
|
||||
currentText: "วันนี้",
|
||||
monthNames: [ "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน",
|
||||
"กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม" ],
|
||||
monthNamesShort: [ "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.",
|
||||
"ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค." ],
|
||||
dayNames: [ "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศุกร์", "เสาร์" ],
|
||||
dayNamesShort: [ "อา.", "จ.", "อ.", "พ.", "พฤ.", "ศ.", "ส." ],
|
||||
dayNamesMin: [ "อา.", "จ.", "อ.", "พ.", "พฤ.", "ศ.", "ส." ],
|
||||
weekHeader: "Wk",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.th );
|
||||
|
||||
return datepicker.regional.th;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Tajiki (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Abdurahmon Saidov (saidovab@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.tj = {
|
||||
closeText: "Идома",
|
||||
prevText: "Қафо",
|
||||
nextText: "Пеш",
|
||||
currentText: "Имрӯз",
|
||||
monthNames: [ "Январ", "Феврал", "Март", "Апрел", "Май", "Июн",
|
||||
"Июл", "Август", "Сентябр", "Октябр", "Ноябр", "Декабр" ],
|
||||
monthNamesShort: [ "Янв", "Фев", "Мар", "Апр", "Май", "Июн",
|
||||
"Июл", "Авг", "Сен", "Окт", "Ноя", "Дек" ],
|
||||
dayNames: [ "якшанбе", "душанбе", "сешанбе", "чоршанбе", "панҷшанбе", "ҷумъа", "шанбе" ],
|
||||
dayNamesShort: [ "якш", "душ", "сеш", "чор", "пан", "ҷум", "шан" ],
|
||||
dayNamesMin: [ "Як", "Дш", "Сш", "Чш", "Пш", "Ҷм", "Шн" ],
|
||||
weekHeader: "Хф",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.tj );
|
||||
|
||||
return datepicker.regional.tj;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Turkish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.tr = {
|
||||
closeText: "kapat",
|
||||
prevText: "geri",
|
||||
nextText: "ileri",
|
||||
currentText: "bugün",
|
||||
monthNames: [ "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran",
|
||||
"Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık" ],
|
||||
monthNamesShort: [ "Oca", "Şub", "Mar", "Nis", "May", "Haz",
|
||||
"Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara" ],
|
||||
dayNames: [ "Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi" ],
|
||||
dayNamesShort: [ "Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct" ],
|
||||
dayNamesMin: [ "Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct" ],
|
||||
weekHeader: "Hf",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.tr );
|
||||
|
||||
return datepicker.regional.tr;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,41 @@
|
||||
/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */
|
||||
/* Corrected by Igor Milla (igor.fsp.milla@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.uk = {
|
||||
closeText: "Закрити",
|
||||
prevText: "Попередній",
|
||||
nextText: "найближчий",
|
||||
currentText: "Сьогодні",
|
||||
monthNames: [ "Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень",
|
||||
"Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень" ],
|
||||
monthNamesShort: [ "Січ", "Лют", "Бер", "Кві", "Тра", "Чер",
|
||||
"Лип", "Сер", "Вер", "Жов", "Лис", "Гру" ],
|
||||
dayNames: [ "неділя", "понеділок", "вівторок", "середа", "четвер", "п’ятниця", "субота" ],
|
||||
dayNamesShort: [ "нед", "пнд", "вів", "срд", "чтв", "птн", "сбт" ],
|
||||
dayNamesMin: [ "Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб" ],
|
||||
weekHeader: "Тиж",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.uk );
|
||||
|
||||
return datepicker.regional.uk;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Vietnamese initialisation for the jQuery UI date picker plugin. */
|
||||
/* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional.vi = {
|
||||
closeText: "Đóng",
|
||||
prevText: "Trước",
|
||||
nextText: "Tiếp",
|
||||
currentText: "Hôm nay",
|
||||
monthNames: [ "Tháng Một", "Tháng Hai", "Tháng Ba", "Tháng Tư", "Tháng Năm", "Tháng Sáu",
|
||||
"Tháng Bảy", "Tháng Tám", "Tháng Chín", "Tháng Mười", "Tháng Mười Một", "Tháng Mười Hai" ],
|
||||
monthNamesShort: [ "Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6",
|
||||
"Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12" ],
|
||||
dayNames: [ "Chủ Nhật", "Thứ Hai", "Thứ Ba", "Thứ Tư", "Thứ Năm", "Thứ Sáu", "Thứ Bảy" ],
|
||||
dayNamesShort: [ "CN", "T2", "T3", "T4", "T5", "T6", "T7" ],
|
||||
dayNamesMin: [ "CN", "T2", "T3", "T4", "T5", "T6", "T7" ],
|
||||
weekHeader: "Tu",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.vi );
|
||||
|
||||
return datepicker.regional.vi;
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Chinese initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Cloudream (cloudream@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "zh-CN" ] = {
|
||||
closeText: "关闭",
|
||||
prevText: "上月",
|
||||
nextText: "下月",
|
||||
currentText: "今天",
|
||||
monthNames: [ "一月", "二月", "三月", "四月", "五月", "六月",
|
||||
"七月", "八月", "九月", "十月", "十一月", "十二月" ],
|
||||
monthNamesShort: [ "一月", "二月", "三月", "四月", "五月", "六月",
|
||||
"七月", "八月", "九月", "十月", "十一月", "十二月" ],
|
||||
dayNames: [ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" ],
|
||||
dayNamesShort: [ "周日", "周一", "周二", "周三", "周四", "周五", "周六" ],
|
||||
dayNamesMin: [ "日", "一", "二", "三", "四", "五", "六" ],
|
||||
weekHeader: "周",
|
||||
dateFormat: "yy-mm-dd",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: true,
|
||||
yearSuffix: "年" };
|
||||
datepicker.setDefaults( datepicker.regional[ "zh-CN" ] );
|
||||
|
||||
return datepicker.regional[ "zh-CN" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Chinese initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by SCCY (samuelcychan@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "zh-HK" ] = {
|
||||
closeText: "關閉",
|
||||
prevText: "上月",
|
||||
nextText: "下月",
|
||||
currentText: "今天",
|
||||
monthNames: [ "一月", "二月", "三月", "四月", "五月", "六月",
|
||||
"七月", "八月", "九月", "十月", "十一月", "十二月" ],
|
||||
monthNamesShort: [ "一月", "二月", "三月", "四月", "五月", "六月",
|
||||
"七月", "八月", "九月", "十月", "十一月", "十二月" ],
|
||||
dayNames: [ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" ],
|
||||
dayNamesShort: [ "周日", "周一", "周二", "周三", "周四", "周五", "周六" ],
|
||||
dayNamesMin: [ "日", "一", "二", "三", "四", "五", "六" ],
|
||||
weekHeader: "周",
|
||||
dateFormat: "dd-mm-yy",
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: true,
|
||||
yearSuffix: "年" };
|
||||
datepicker.setDefaults( datepicker.regional[ "zh-HK" ] );
|
||||
|
||||
return datepicker.regional[ "zh-HK" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Chinese initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Ressol (ressol@gmail.com). */
|
||||
( function( factory ) {
|
||||
"use strict";
|
||||
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
} )( function( datepicker ) {
|
||||
"use strict";
|
||||
|
||||
datepicker.regional[ "zh-TW" ] = {
|
||||
closeText: "關閉",
|
||||
prevText: "上個月",
|
||||
nextText: "下個月",
|
||||
currentText: "今天",
|
||||
monthNames: [ "一月", "二月", "三月", "四月", "五月", "六月",
|
||||
"七月", "八月", "九月", "十月", "十一月", "十二月" ],
|
||||
monthNamesShort: [ "一月", "二月", "三月", "四月", "五月", "六月",
|
||||
"七月", "八月", "九月", "十月", "十一月", "十二月" ],
|
||||
dayNames: [ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" ],
|
||||
dayNamesShort: [ "週日", "週一", "週二", "週三", "週四", "週五", "週六" ],
|
||||
dayNamesMin: [ "日", "一", "二", "三", "四", "五", "六" ],
|
||||
weekHeader: "週",
|
||||
dateFormat: "yy/mm/dd",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: true,
|
||||
yearSuffix: "年" };
|
||||
datepicker.setDefaults( datepicker.regional[ "zh-TW" ] );
|
||||
|
||||
return datepicker.regional[ "zh-TW" ];
|
||||
|
||||
} );
|
||||
@@ -0,0 +1,237 @@
|
||||
/*! jQuery UI Accessible Datepicker extension
|
||||
* (to be appended to jquery-ui-*.custom.min.js)
|
||||
*
|
||||
* @licstart The following is the entire license notice for the
|
||||
* JavaScript code in this page.
|
||||
*
|
||||
* Copyright 2014 Kolab Systems AG
|
||||
*
|
||||
* The JavaScript code in this page is free software: you can
|
||||
* redistribute it and/or modify it under the terms of the GNU
|
||||
* General Public License (GNU GPL) as published by the Free Software
|
||||
* Foundation, either version 3 of the License, or (at your option)
|
||||
* any later version. The code is distributed WITHOUT ANY WARRANTY;
|
||||
* without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
|
||||
*
|
||||
* As additional permission under GNU GPL version 3 section 7, you
|
||||
* may distribute non-source (e.g., minimized or compacted) forms of
|
||||
* that code without the copy of the GNU GPL normally required by
|
||||
* section 4, provided you include this license notice and a URL
|
||||
* through which recipients can access the Corresponding Source.
|
||||
*
|
||||
* @licend The above is the entire license notice
|
||||
* for the JavaScript code in this page.
|
||||
*/
|
||||
|
||||
(function($, undefined) {
|
||||
|
||||
// references to super class methods
|
||||
var __newInst = $.datepicker._newInst;
|
||||
var __updateDatepicker = $.datepicker._updateDatepicker;
|
||||
var __connectDatepicker = $.datepicker._connectDatepicker;
|
||||
var __showDatepicker = $.datepicker._showDatepicker;
|
||||
var __hideDatepicker = $.datepicker._hideDatepicker;
|
||||
|
||||
// "extend" singleton instance methods
|
||||
$.extend($.datepicker, {
|
||||
|
||||
/* Create a new instance object */
|
||||
_newInst: function(target, inline) {
|
||||
var that = this, inst = __newInst.call(this, target, inline);
|
||||
|
||||
if (inst.inline) {
|
||||
// attach keyboard event handler
|
||||
inst.dpDiv.on('keydown.datepicker', '.ui-datepicker-calendar', function(event) {
|
||||
// we're only interested navigation keys
|
||||
if ($.inArray(event.keyCode, [ 13, 33, 34, 35, 36, 37, 38, 39, 40]) == -1) {
|
||||
return;
|
||||
}
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
inst._hasfocus = true;
|
||||
|
||||
var activeCell;
|
||||
switch (event.keyCode) {
|
||||
case $.ui.keyCode.ENTER:
|
||||
if ((activeCell = $('.' + that._dayOverClass, inst.dpDiv).get(0) || $('.' + that._currentClass, inst.dpDiv).get(0))) {
|
||||
that._selectDay(inst.input, inst.selectedMonth, inst.selectedYear, activeCell);
|
||||
}
|
||||
break;
|
||||
|
||||
case $.ui.keyCode.PAGE_UP:
|
||||
that._adjustDate(inst.input, -that._get(inst, 'stepMonths'), 'M');
|
||||
break;
|
||||
case $.ui.keyCode.PAGE_DOWN:
|
||||
that._adjustDate(inst.input, that._get(inst, 'stepMonths'), 'M');
|
||||
break;
|
||||
|
||||
default:
|
||||
return that._cursorKeydown(event, inst);
|
||||
}
|
||||
})
|
||||
.attr('role', 'region')
|
||||
.attr('aria-labelledby', inst.id + '-dp-title');
|
||||
}
|
||||
else {
|
||||
var widgetId = inst.dpDiv.attr('id') || inst.id + '-dp-widget';
|
||||
inst.dpDiv.attr('id', widgetId)
|
||||
.attr('aria-hidden', 'true')
|
||||
.attr('aria-labelledby', inst.id + '-dp-title');
|
||||
|
||||
$(inst.input).attr('aria-haspopup', 'true')
|
||||
.attr('aria-expanded', 'false')
|
||||
.attr('aria-owns', widgetId);
|
||||
}
|
||||
|
||||
return inst;
|
||||
},
|
||||
|
||||
/* Attach the date picker to an input field */
|
||||
_connectDatepicker: function(target, inst) {
|
||||
__connectDatepicker.call(this, target, inst);
|
||||
|
||||
var that = this;
|
||||
|
||||
// register additional keyboard events to control date selection with cursor keys
|
||||
$(target).unbind('keydown.datepicker-extended').bind('keydown.datepicker-extended', function(event) {
|
||||
var inc = 1;
|
||||
switch (event.keyCode) {
|
||||
case 109:
|
||||
case 173:
|
||||
case 189: // "minus"
|
||||
inc = -1;
|
||||
case 61:
|
||||
case 107:
|
||||
case 187: // "plus"
|
||||
// do nothing if the input does not contain full date string
|
||||
if (this.value.length < that._formatDate(inst, inst.selectedDay, inst.selectedMonth, inst.selectedYear).length) {
|
||||
return true;
|
||||
}
|
||||
that._adjustInstDate(inst, inc, 'D');
|
||||
that._selectDateRC(target, that._formatDate(inst, inst.selectedDay, inst.selectedMonth, inst.selectedYear));
|
||||
return false;
|
||||
|
||||
case $.ui.keyCode.UP:
|
||||
case $.ui.keyCode.DOWN:
|
||||
// unfold datepicker if not visible
|
||||
if ($.datepicker._lastInput !== target && !$.datepicker._isDisabledDatepicker(target)) {
|
||||
that._showDatepicker(event);
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
|
||||
default:
|
||||
if (!$.datepicker._isDisabledDatepicker(target) && !event.ctrlKey && !event.metaKey) {
|
||||
return that._cursorKeydown(event, inst);
|
||||
}
|
||||
}
|
||||
})
|
||||
// fix https://bugs.jqueryui.com/ticket/8593
|
||||
.click(function (event) { that._showDatepicker(event); })
|
||||
.attr('autocomplete', 'off');
|
||||
},
|
||||
|
||||
/* Handle keyboard event on datepicker widget */
|
||||
_cursorKeydown: function(event, inst) {
|
||||
inst._keyEvent = true;
|
||||
|
||||
var isRTL = inst.dpDiv.hasClass('ui-datepicker-rtl');
|
||||
|
||||
switch (event.keyCode) {
|
||||
case $.ui.keyCode.LEFT:
|
||||
this._adjustDate(inst.input, (isRTL ? +1 : -1), 'D');
|
||||
break;
|
||||
case $.ui.keyCode.RIGHT:
|
||||
this._adjustDate(inst.input, (isRTL ? -1 : +1), 'D');
|
||||
break;
|
||||
case $.ui.keyCode.UP:
|
||||
this._adjustDate(inst.input, -7, 'D');
|
||||
break;
|
||||
case $.ui.keyCode.DOWN:
|
||||
this._adjustDate(inst.input, +7, 'D');
|
||||
break;
|
||||
case $.ui.keyCode.HOME:
|
||||
// TODO: jump to first of month
|
||||
break;
|
||||
case $.ui.keyCode.END:
|
||||
// TODO: jump to end of month
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
},
|
||||
|
||||
/* Pop-up the date picker for a given input field */
|
||||
_showDatepicker: function(input) {
|
||||
input = input.target || input;
|
||||
__showDatepicker.call(this, input);
|
||||
|
||||
var inst = $.datepicker._getInst(input);
|
||||
if (inst && $.datepicker._datepickerShowing) {
|
||||
inst.dpDiv.attr('aria-hidden', 'false');
|
||||
$(input).attr('aria-expanded', 'true');
|
||||
}
|
||||
},
|
||||
|
||||
/* Hide the date picker from view */
|
||||
_hideDatepicker: function(input) {
|
||||
__hideDatepicker.call(this, input);
|
||||
|
||||
var inst = this._curInst;
|
||||
if (inst && !$.datepicker._datepickerShowing) {
|
||||
inst.dpDiv.attr('aria-hidden', 'true');
|
||||
$(inst.input).attr('aria-expanded', 'false');
|
||||
}
|
||||
},
|
||||
|
||||
/* Render the date picker content */
|
||||
_updateDatepicker: function(inst) {
|
||||
__updateDatepicker.call(this, inst);
|
||||
|
||||
var activeCell = $('.' + this._dayOverClass, inst.dpDiv).get(0) || $('.' + this._currentClass, inst.dpDiv).get(0);
|
||||
if (activeCell) {
|
||||
activeCell = $(activeCell);
|
||||
activeCell.attr('id', inst.id + '-day-' + activeCell.text());
|
||||
}
|
||||
|
||||
// allow focus on main container only
|
||||
inst.dpDiv.find('.ui-datepicker-calendar')
|
||||
.attr('tabindex', inst.inline ? '0' : '-1')
|
||||
.attr('role', 'grid')
|
||||
.attr('aria-readonly', 'true')
|
||||
.attr('aria-activedescendant', activeCell ? activeCell.attr('id') : '')
|
||||
.find('td').attr('role', 'gridcell').attr('aria-selected', 'false')
|
||||
.find('a').attr('tabindex', '-1');
|
||||
|
||||
$('.ui-datepicker-current-day', inst.dpDiv).attr('aria-selected', 'true');
|
||||
|
||||
inst.dpDiv.find('.ui-datepicker-title')
|
||||
.attr('id', inst.id + '-dp-title')
|
||||
|
||||
// set focus again after update
|
||||
if (inst._hasfocus) {
|
||||
inst.dpDiv.find('.ui-datepicker-calendar').focus();
|
||||
inst._hasfocus = false;
|
||||
}
|
||||
},
|
||||
|
||||
_selectDateRC: function(id, dateStr) {
|
||||
var target = $(id), inst = this._getInst(target[0]);
|
||||
|
||||
dateStr = (dateStr != null ? dateStr : this._formatDate(inst));
|
||||
if (inst.input) {
|
||||
inst.input.val(dateStr);
|
||||
}
|
||||
this._updateAlternate(inst);
|
||||
if (inst.input) {
|
||||
inst.input.trigger("change"); // fire the change event
|
||||
}
|
||||
if (inst.inline) {
|
||||
this._updateDatepicker(inst);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}(jQuery));
|
||||
+243
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,683 @@
|
||||
/*
|
||||
* Tagedit - jQuery Plugin
|
||||
* The Plugin can be used to edit tags from a database the easy way
|
||||
*
|
||||
* Examples and documentation at: tagedit.webwork-albrecht.de
|
||||
*
|
||||
* License:
|
||||
* This work is licensed under a MIT License
|
||||
*
|
||||
* @licstart The following is the entire license notice for the
|
||||
* JavaScript code in this file.
|
||||
*
|
||||
* Copyright (c) 2010 Oliver Albrecht <info@webwork-albrecht.de>
|
||||
* Copyright (c) 2014 Thomas Brüderli <thomas@roundcube.net>
|
||||
*
|
||||
* Licensed under the MIT licenses
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* @licend The above is the entire license notice
|
||||
* for the JavaScript code in this file.
|
||||
*
|
||||
* @author Oliver Albrecht Mial: info@webwork-albrecht.de Twitter: @webworka
|
||||
* @version 1.5.2 (06/2014)
|
||||
* Requires: jQuery v1.4+, jQueryUI v1.8+, jQuerry.autoGrowInput
|
||||
*
|
||||
* Example of usage:
|
||||
*
|
||||
* $( "input.tag" ).tagedit();
|
||||
*
|
||||
* Possible options:
|
||||
*
|
||||
* autocompleteURL: '', // url for a autocompletion
|
||||
* deleteEmptyItems: true, // Deletes items with empty value
|
||||
* deletedPostfix: '-d', // will be put to the Items that are marked as delete
|
||||
* addedPostfix: '-a', // will be put to the Items that are choosem from the database
|
||||
* additionalListClass: '', // put a classname here if the wrapper ul shoud receive a special class
|
||||
* allowEdit: true, // Switch on/off edit entries
|
||||
* allowDelete: true, // Switch on/off deletion of entries. Will be ignored if allowEdit = false
|
||||
* allowAdd: true, // switch on/off the creation of new entries
|
||||
* direction: 'ltr' // Sets the writing direction for Outputs and Inputs
|
||||
* animSpeed: 500 // Sets the animation speed for effects
|
||||
* autocompleteOptions: {}, // Setting Options for the jquery UI Autocomplete (http://jqueryui.com/demos/autocomplete/)
|
||||
* breakKeyCodes: [ 13, 44 ], // Sets the characters to break on to parse the tags (defaults: return, comma)
|
||||
* checkNewEntriesCaseSensitive: false, // If there is a new Entry, it is checked against the autocompletion list. This Flag controlls if the check is (in-)casesensitive
|
||||
* texts: { // some texts
|
||||
* removeLinkTitle: 'Remove from list.',
|
||||
* saveEditLinkTitle: 'Save changes.',
|
||||
* deleteLinkTitle: 'Delete this tag from database.',
|
||||
* deleteConfirmation: 'Are you sure to delete this entry?',
|
||||
* deletedElementTitle: 'This Element will be deleted.',
|
||||
* breakEditLinkTitle: 'Cancel'
|
||||
* }
|
||||
*/
|
||||
|
||||
(function($) {
|
||||
|
||||
$.fn.tagedit = function(options) {
|
||||
/**
|
||||
* Merge Options with defaults
|
||||
*/
|
||||
options = $.extend(true, {
|
||||
// default options here
|
||||
autocompleteURL: null,
|
||||
checkToDeleteURL: null,
|
||||
deletedPostfix: '-d',
|
||||
addedPostfix: '-a',
|
||||
additionalListClass: '',
|
||||
allowEdit: true,
|
||||
allowDelete: true,
|
||||
allowAdd: true,
|
||||
direction: 'ltr',
|
||||
animSpeed: 500,
|
||||
autocompleteOptions: {
|
||||
select: function( event, ui ) {
|
||||
$(this).val(ui.item.value).trigger('transformToTag', [ui.item.id]);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
breakKeyCodes: [ 13, 44 ],
|
||||
checkNewEntriesCaseSensitive: false,
|
||||
texts: {
|
||||
removeLinkTitle: 'Remove from list.',
|
||||
saveEditLinkTitle: 'Save changes.',
|
||||
deleteLinkTitle: 'Delete this tag from database.',
|
||||
deleteConfirmation: 'Are you sure to delete this entry?',
|
||||
deletedElementTitle: 'This Element will be deleted.',
|
||||
breakEditLinkTitle: 'Cancel',
|
||||
forceDeleteConfirmation: 'There are more records using this tag, are you sure do you want to remove it?'
|
||||
},
|
||||
tabindex: false
|
||||
}, options || {});
|
||||
|
||||
// no action if there are no elements
|
||||
if(this.length == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
// set the autocompleteOptions source
|
||||
if(options.autocompleteURL) {
|
||||
options.autocompleteOptions.source = options.autocompleteURL;
|
||||
}
|
||||
|
||||
// Set the direction of the inputs
|
||||
var direction= this.attr('dir');
|
||||
if(direction && direction.length > 0) {
|
||||
options.direction = this.attr('dir');
|
||||
}
|
||||
|
||||
var elements = this;
|
||||
var focusItem = null;
|
||||
|
||||
var baseNameRegexp = new RegExp("^(.*)\\[([0-9]*?("+options.deletedPostfix+"|"+options.addedPostfix+")?)?\]$", "i");
|
||||
|
||||
var baseName = elements.eq(0).attr('name').match(baseNameRegexp);
|
||||
if(baseName && baseName.length == 4) {
|
||||
baseName = baseName[1];
|
||||
}
|
||||
else {
|
||||
// Elementname does not match the expected format, exit
|
||||
alert('elementname dows not match the expected format (regexp: '+baseNameRegexp+')')
|
||||
return;
|
||||
}
|
||||
|
||||
// read tabindex from source element
|
||||
var ti;
|
||||
if (!options.tabindex && (ti = elements.eq(0).attr('tabindex')))
|
||||
options.tabindex = ti;
|
||||
|
||||
// init elements
|
||||
inputsToList();
|
||||
|
||||
/**
|
||||
* Creates the tageditinput from a list of textinputs
|
||||
*
|
||||
*/
|
||||
function inputsToList() {
|
||||
var html = '<ul class="tagedit-list '+options.additionalListClass+'">';
|
||||
|
||||
elements.each(function(i) {
|
||||
var element_name = $(this).attr('name').match(baseNameRegexp);
|
||||
if(element_name && element_name.length == 4 && (options.deleteEmptyItems == false || $(this).val().length > 0)) {
|
||||
if(element_name[1].length > 0) {
|
||||
var elementId = typeof element_name[2] != 'undefined'? element_name[2]: '',
|
||||
domId = 'tagedit-' + baseName + '-' + (elementId || i);
|
||||
|
||||
html += '<li class="tagedit-listelement tagedit-listelement-old" aria-labelledby="'+domId+'">';
|
||||
html += '<span dir="'+options.direction+'" id="'+domId+'">' + $(this).val() + '</span>';
|
||||
html += '<input type="hidden" name="'+baseName+'['+elementId+']" value="'+$(this).val()+'" />';
|
||||
if (options.allowDelete)
|
||||
html += '<a class="tagedit-close" title="'+options.texts.removeLinkTitle+'" aria-label="'+options.texts.removeLinkTitle+' '+$(this).val()+'">x</a>';
|
||||
html += '</li>';
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// replace Elements with the list and save the list in the local variable elements
|
||||
elements.last().after(html)
|
||||
var newList = elements.last().next();
|
||||
elements.remove();
|
||||
elements = newList;
|
||||
|
||||
// Check if some of the elementshav to be marked as deleted
|
||||
if(options.deletedPostfix.length > 0) {
|
||||
elements.find('input[name$="'+options.deletedPostfix+'\]"]').each(function() {
|
||||
markAsDeleted($(this).parent());
|
||||
});
|
||||
}
|
||||
|
||||
// put an input field at the End
|
||||
// Put an empty element at the end
|
||||
html = '<li class="tagedit-listelement tagedit-listelement-new">';
|
||||
if (options.allowAdd)
|
||||
html += '<input type="text" name="'+baseName+'[]" value="" id="tagedit-input" disabled="disabled" class="tagedit-input-disabled" dir="'+options.direction+'"/>';
|
||||
html += '</li>';
|
||||
html += '</ul>';
|
||||
|
||||
elements
|
||||
.append(html)
|
||||
.attr('tabindex', options.tabindex) // set tabindex to <ul> to recieve focus
|
||||
|
||||
// Set function on the input
|
||||
.find('#tagedit-input')
|
||||
.attr('tabindex', options.tabindex)
|
||||
.each(function() {
|
||||
$(this).autoGrowInput({comfortZone: 15, minWidth: 15, maxWidth: 20000});
|
||||
|
||||
// Event is triggert in case of choosing an item from the autocomplete, or finish the input
|
||||
$(this).bind('transformToTag', function(event, id) {
|
||||
var oldValue = (typeof id != 'undefined' && (id.length > 0 || id > 0));
|
||||
|
||||
var checkAutocomplete = oldValue == true || options.autocompleteOptions.noCheck ? false : true;
|
||||
// check if the Value ist new
|
||||
var isNewResult = isNew($(this).val(), checkAutocomplete);
|
||||
if(isNewResult[0] === true || (isNewResult[0] === false && typeof isNewResult[1] == 'string')) {
|
||||
|
||||
if(oldValue == false && typeof isNewResult[1] == 'string') {
|
||||
oldValue = true;
|
||||
id = isNewResult[1];
|
||||
}
|
||||
|
||||
if(options.allowAdd == true || oldValue) {
|
||||
var domId = 'tagedit-' + baseName + '-' + id;
|
||||
// Make a new tag in front the input
|
||||
html = '<li class="tagedit-listelement tagedit-listelement-old" aria-labelledby="'+domId+'">';
|
||||
html += '<span dir="'+options.direction+'" id="'+domId+'">' + $(this).val() + '</span>';
|
||||
var name = oldValue? baseName + '['+id+options.addedPostfix+']' : baseName + '[]';
|
||||
html += '<input type="hidden" name="'+name+'" value="'+$(this).val()+'" />';
|
||||
html += '<a class="tagedit-close" title="'+options.texts.removeLinkTitle+'" aria-label="'+options.texts.removeLinkTitle+' '+$(this).val()+'">x</a>';
|
||||
html += '</li>';
|
||||
|
||||
$(this).parent().before(html);
|
||||
}
|
||||
}
|
||||
$(this).val('');
|
||||
|
||||
// close autocomplete
|
||||
if(options.autocompleteOptions.source) {
|
||||
if($(this).is(':ui-autocomplete'))
|
||||
$(this).autocomplete( "close" );
|
||||
}
|
||||
|
||||
})
|
||||
.keydown(function(event) {
|
||||
var code = event.keyCode > 0? event.keyCode : event.which;
|
||||
|
||||
switch(code) {
|
||||
case 46:
|
||||
if (!focusItem)
|
||||
break;
|
||||
case 8: // BACKSPACE
|
||||
if(focusItem) {
|
||||
focusItem.fadeOut(options.animSpeed, function() {
|
||||
$(this).remove();
|
||||
})
|
||||
unfocusItem();
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
else if($(this).val().length == 0) {
|
||||
// delete Last Tag
|
||||
var elementToRemove = elements.find('li.tagedit-listelement-old').last();
|
||||
elementToRemove.fadeOut(options.animSpeed, function() {elementToRemove.remove();})
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case 9: // TAB
|
||||
if($(this).val().length > 0 && $('ul.ui-autocomplete #ui-active-menuitem').length == 0) {
|
||||
$(this).trigger('transformToTag');
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case 37: // LEFT
|
||||
case 39: // RIGHT
|
||||
if($(this).val().length == 0) {
|
||||
// select previous Tag
|
||||
var inc = code == 37 ? -1 : 1,
|
||||
items = elements.find('li.tagedit-listelement-old')
|
||||
x = items.length, next = 0;
|
||||
items.each(function(i, elem) {
|
||||
if ($(elem).hasClass('tagedit-listelement-focus')) {
|
||||
x = i;
|
||||
return true;
|
||||
}
|
||||
});
|
||||
unfocusItem();
|
||||
next = Math.max(0, x + inc);
|
||||
if (items.get(next)) {
|
||||
focusItem = items.eq(next).addClass('tagedit-listelement-focus');
|
||||
$(this).attr('aria-activedescendant', focusItem.attr('aria-labelledby'))
|
||||
|
||||
if(options.autocompleteOptions.source != false) {
|
||||
$(this).autocomplete('close').autocomplete('disable');
|
||||
}
|
||||
}
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
// ignore input if an item is focused
|
||||
if (focusItem !== null) {
|
||||
event.preventDefault();
|
||||
event.bubble = false;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
})
|
||||
.keypress(function(event) {
|
||||
var code = event.keyCode > 0? event.keyCode : event.which;
|
||||
if($.inArray(code, options.breakKeyCodes) > -1) {
|
||||
if($(this).val().length > 0 && $('ul.ui-autocomplete #ui-active-menuitem').length == 0) {
|
||||
$(this).trigger('transformToTag');
|
||||
}
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
else if($(this).val().length > 0){
|
||||
unfocusItem();
|
||||
}
|
||||
return true;
|
||||
})
|
||||
.bind('paste', function(e){
|
||||
var that = $(this);
|
||||
if (e.type == 'paste'){
|
||||
setTimeout(function(){
|
||||
that.trigger('transformToTag');
|
||||
}, 1);
|
||||
}
|
||||
})
|
||||
.blur(function() {
|
||||
if($(this).val().length == 0) {
|
||||
// disable the field to prevent sending with the form
|
||||
$(this).attr('disabled', 'disabled').addClass('tagedit-input-disabled');
|
||||
}
|
||||
else {
|
||||
// Delete entry after a timeout
|
||||
var input = $(this);
|
||||
$(this).data('blurtimer', window.setTimeout(function() {input.val('');}, 500));
|
||||
}
|
||||
unfocusItem();
|
||||
// restore tabindex when widget looses focus
|
||||
if (options.tabindex)
|
||||
elements.attr('tabindex', options.tabindex);
|
||||
})
|
||||
.focus(function() {
|
||||
window.clearTimeout($(this).data('blurtimer'));
|
||||
// remove tabindex on <ul> because #tagedit-input now has it
|
||||
elements.attr('tabindex', '-1');
|
||||
});
|
||||
|
||||
if(options.autocompleteOptions.source != false) {
|
||||
$(this).autocomplete(options.autocompleteOptions);
|
||||
}
|
||||
})
|
||||
.end()
|
||||
.click(function(event) {
|
||||
switch(event.target.tagName) {
|
||||
case 'A':
|
||||
$(event.target).parent().fadeOut(options.animSpeed, function() {
|
||||
$(event.target).parent().remove();
|
||||
elements.find('#tagedit-input').focus();
|
||||
});
|
||||
break;
|
||||
case 'INPUT':
|
||||
case 'SPAN':
|
||||
case 'LI':
|
||||
if($(event.target).hasClass('tagedit-listelement-deleted') == false &&
|
||||
$(event.target).parent('li').hasClass('tagedit-listelement-deleted') == false) {
|
||||
// Don't edit an deleted Items
|
||||
return doEdit(event);
|
||||
}
|
||||
default:
|
||||
$(this).find('#tagedit-input')
|
||||
.removeAttr('disabled')
|
||||
.removeClass('tagedit-input-disabled')
|
||||
.focus();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
// forward focus event (on tabbing through the form)
|
||||
.focus(function(e){ $(this).click(); })
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove class and reference to currently focused tag item
|
||||
*/
|
||||
function unfocusItem() {
|
||||
if(focusItem){
|
||||
if(options.autocompleteOptions.source != false) {
|
||||
elements.find('#tagedit-input').autocomplete('enable');
|
||||
}
|
||||
focusItem.removeClass('tagedit-listelement-focus');
|
||||
focusItem = null;
|
||||
elements.find('#tagedit-input').removeAttr('aria-activedescendant');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets all Actions and events for editing an Existing Tag.
|
||||
*
|
||||
* @param event {object} The original Event that was given
|
||||
* return {boolean}
|
||||
*/
|
||||
function doEdit(event) {
|
||||
if(options.allowEdit == false) {
|
||||
// Do nothing
|
||||
return;
|
||||
}
|
||||
|
||||
var element = event.target.tagName == 'SPAN'? $(event.target).parent() : $(event.target);
|
||||
|
||||
var closeTimer = null;
|
||||
|
||||
// Event that is fired if the User finishes the edit of a tag
|
||||
element.bind('finishEdit', function(event, doReset) {
|
||||
window.clearTimeout(closeTimer);
|
||||
|
||||
var textfield = $(this).find(':text');
|
||||
var isNewResult = isNew(textfield.val(), true);
|
||||
if(textfield.val().length > 0 && (typeof doReset == 'undefined' || doReset === false) && (isNewResult[0] == true)) {
|
||||
// This is a new Value and we do not want to do a reset. Set the new value
|
||||
$(this).find(':hidden').val(textfield.val());
|
||||
$(this).find('span').html(textfield.val());
|
||||
}
|
||||
|
||||
textfield.remove();
|
||||
$(this).find('a.tagedit-save, a.tagedit-break, a.tagedit-delete').remove(); // Workaround. This normaly has to be done by autogrow Plugin
|
||||
$(this).removeClass('tagedit-listelement-edit').unbind('finishEdit');
|
||||
return false;
|
||||
});
|
||||
|
||||
var hidden = element.find(':hidden');
|
||||
html = '<input type="text" name="tmpinput" autocomplete="off" value="'+hidden.val()+'" class="tagedit-edit-input" dir="'+options.direction+'"/>';
|
||||
html += '<a class="tagedit-save" title="'+options.texts.saveEditLinkTitle+'">o</a>';
|
||||
html += '<a class="tagedit-break" title="'+options.texts.breakEditLinkTitle+'">x</a>';
|
||||
|
||||
// If the Element is one from the Database, it can be deleted
|
||||
if(options.allowDelete == true && element.find(':hidden').length > 0 &&
|
||||
typeof element.find(':hidden').attr('name').match(baseNameRegexp)[3] != 'undefined') {
|
||||
html += '<a class="tagedit-delete" title="'+options.texts.deleteLinkTitle+'">d</a>';
|
||||
}
|
||||
|
||||
hidden.after(html);
|
||||
element
|
||||
.addClass('tagedit-listelement-edit')
|
||||
.find('a.tagedit-save')
|
||||
.click(function() {
|
||||
$(this).parent().trigger('finishEdit');
|
||||
return false;
|
||||
})
|
||||
.end()
|
||||
.find('a.tagedit-break')
|
||||
.click(function() {
|
||||
$(this).parent().trigger('finishEdit', [true]);
|
||||
return false;
|
||||
})
|
||||
.end()
|
||||
.find('a.tagedit-delete')
|
||||
.click(function() {
|
||||
window.clearTimeout(closeTimer);
|
||||
if(confirm(options.texts.deleteConfirmation)) {
|
||||
var canDelete = checkToDelete($(this).parent());
|
||||
if (!canDelete && confirm(options.texts.forceDeleteConfirmation)) {
|
||||
markAsDeleted($(this).parent());
|
||||
}
|
||||
|
||||
if(canDelete) {
|
||||
markAsDeleted($(this).parent());
|
||||
}
|
||||
|
||||
$(this).parent().find(':text').trigger('finishEdit', [true]);
|
||||
}
|
||||
else {
|
||||
$(this).parent().find(':text').trigger('finishEdit', [true]);
|
||||
}
|
||||
return false;
|
||||
})
|
||||
.end()
|
||||
.find(':text')
|
||||
.focus()
|
||||
.autoGrowInput({comfortZone: 10, minWidth: 15, maxWidth: 20000})
|
||||
.keypress(function(event) {
|
||||
switch(event.keyCode) {
|
||||
case 13: // RETURN
|
||||
event.preventDefault();
|
||||
$(this).parent().trigger('finishEdit');
|
||||
return false;
|
||||
case 27: // ESC
|
||||
event.preventDefault();
|
||||
$(this).parent().trigger('finishEdit', [true]);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
})
|
||||
.blur(function() {
|
||||
var that = $(this);
|
||||
closeTimer = window.setTimeout(function() {that.parent().trigger('finishEdit', [true])}, 500);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Verifies if the tag select to be deleted is used by other records using an Ajax request.
|
||||
*
|
||||
* @param element
|
||||
* @returns {boolean}
|
||||
*/
|
||||
function checkToDelete(element) {
|
||||
// if no URL is provide will not verify
|
||||
if(options.checkToDeleteURL === null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var inputName = element.find('input:hidden').attr('name');
|
||||
var idPattern = new RegExp('\\d');
|
||||
var tagId = inputName.match(idPattern);
|
||||
var checkResult = false;
|
||||
|
||||
$.ajax({
|
||||
async : false,
|
||||
url : options.checkToDeleteURL,
|
||||
dataType: 'json',
|
||||
type : 'POST',
|
||||
data : { 'tagId' : tagId},
|
||||
complete: function (XMLHttpRequest, textStatus) {
|
||||
|
||||
// Expected JSON Object: { "success": Boolean, "allowDelete": Boolean}
|
||||
var result = $.parseJSON(XMLHttpRequest.responseText);
|
||||
if(result.success === true){
|
||||
checkResult = result.allowDelete;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return checkResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* Marks a single Tag as deleted.
|
||||
*
|
||||
* @param element {object}
|
||||
*/
|
||||
function markAsDeleted(element) {
|
||||
element
|
||||
.trigger('finishEdit', [true])
|
||||
.addClass('tagedit-listelement-deleted')
|
||||
.attr('title', options.deletedElementTitle);
|
||||
element.find(':hidden').each(function() {
|
||||
var nameEndRegexp = new RegExp('('+options.addedPostfix+'|'+options.deletedPostfix+')?\]');
|
||||
var name = $(this).attr('name').replace(nameEndRegexp, options.deletedPostfix+']');
|
||||
$(this).attr('name', name);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if a tag is already choosen.
|
||||
*
|
||||
* @param value {string}
|
||||
* @param checkAutocomplete {boolean} optional Check also the autocomplet values
|
||||
* @returns {Array} First item is a boolean, telling if the item should be put to the list, second is optional the ID from autocomplete list
|
||||
*/
|
||||
function isNew(value, checkAutocomplete) {
|
||||
checkAutocomplete = typeof checkAutocomplete == 'undefined'? false : checkAutocomplete;
|
||||
var autoCompleteId = null;
|
||||
|
||||
var compareValue = options.checkNewEntriesCaseSensitive == true? value : value.toLowerCase();
|
||||
|
||||
var isNew = true;
|
||||
elements.find('li.tagedit-listelement-old input:hidden').each(function() {
|
||||
var elementValue = options.checkNewEntriesCaseSensitive == true? $(this).val() : $(this).val().toLowerCase();
|
||||
if(elementValue == compareValue) {
|
||||
isNew = false;
|
||||
}
|
||||
});
|
||||
|
||||
if (isNew == true && checkAutocomplete == true && options.autocompleteOptions.source != false) {
|
||||
var result = [];
|
||||
if ($.isArray(options.autocompleteOptions.source)) {
|
||||
result = options.autocompleteOptions.source;
|
||||
}
|
||||
else if ($.isFunction(options.autocompleteOptions.source)) {
|
||||
options.autocompleteOptions.source({term: value}, function (data) {result = data});
|
||||
}
|
||||
else if (typeof options.autocompleteOptions.source === "string") {
|
||||
// Check also autocomplete values
|
||||
var autocompleteURL = options.autocompleteOptions.source;
|
||||
if (autocompleteURL.match(/\?/)) {
|
||||
autocompleteURL += '&';
|
||||
} else {
|
||||
autocompleteURL += '?';
|
||||
}
|
||||
autocompleteURL += 'term=' + value;
|
||||
$.ajax({
|
||||
async: false,
|
||||
url: autocompleteURL,
|
||||
dataType: 'json',
|
||||
complete: function (XMLHttpRequest, textStatus) {
|
||||
result = $.parseJSON(XMLHttpRequest.responseText);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// If there is an entry for that already in the autocomplete, don't use it (Check could be case sensitive or not)
|
||||
for (var i = 0; i < result.length; i++) {
|
||||
var resultValue = result[i].label? result[i].label : result[i];
|
||||
var label = options.checkNewEntriesCaseSensitive == true? resultValue : resultValue.toLowerCase();
|
||||
if (label == compareValue) {
|
||||
isNew = false;
|
||||
autoCompleteId = typeof result[i] == 'string' ? i : result[i].id;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return new Array(isNew, autoCompleteId);
|
||||
}
|
||||
}
|
||||
})(jQuery);
|
||||
|
||||
(function($){
|
||||
|
||||
// jQuery autoGrowInput plugin by James Padolsey
|
||||
// See related thread: http://stackoverflow.com/questions/931207/is-there-a-jquery-autogrow-plugin-for-text-fields
|
||||
|
||||
$.fn.autoGrowInput = function(o) {
|
||||
|
||||
o = $.extend({
|
||||
maxWidth: 1000,
|
||||
minWidth: 0,
|
||||
comfortZone: 70
|
||||
}, o);
|
||||
|
||||
this.filter('input:text').each(function(){
|
||||
|
||||
var minWidth = o.minWidth || $(this).width(),
|
||||
val = '',
|
||||
input = $(this),
|
||||
testSubject = $('<tester/>').css({
|
||||
position: 'absolute',
|
||||
top: -9999,
|
||||
left: -9999,
|
||||
width: 'auto',
|
||||
fontSize: input.css('fontSize'),
|
||||
fontFamily: input.css('fontFamily'),
|
||||
fontWeight: input.css('fontWeight'),
|
||||
letterSpacing: input.css('letterSpacing'),
|
||||
whiteSpace: 'nowrap'
|
||||
}),
|
||||
check = function() {
|
||||
|
||||
if (val === (val = input.val())) {return;}
|
||||
|
||||
// Enter new content into testSubject
|
||||
var escaped = val.replace(/&/g, '&').replace(/\s/g,' ').replace(/</g, '<').replace(/>/g, '>');
|
||||
testSubject.html(escaped);
|
||||
|
||||
// Calculate new width + whether to change
|
||||
var testerWidth = testSubject.width(),
|
||||
newWidth = (testerWidth + o.comfortZone) >= minWidth ? testerWidth + o.comfortZone : minWidth,
|
||||
currentWidth = input.width(),
|
||||
isValidWidthChange = (newWidth < currentWidth && newWidth >= minWidth)
|
||||
|| (newWidth > minWidth && newWidth < o.maxWidth);
|
||||
|
||||
// Animate width
|
||||
if (isValidWidthChange) {
|
||||
input.width(newWidth);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
testSubject.insertAfter(input);
|
||||
|
||||
$(this).bind('keyup keydown blur update', check);
|
||||
|
||||
check();
|
||||
});
|
||||
|
||||
return this;
|
||||
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 323 B |
Binary file not shown.
|
After Width: | Height: | Size: 6.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.9 KiB |
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,389 @@
|
||||
diff --git a/jquery-ui.css.orig b/jquery-ui.css
|
||||
index 2f0601a..819a492 100644
|
||||
--- a/jquery-ui.css.orig
|
||||
+++ b/jquery-ui.css
|
||||
@@ -45,7 +45,6 @@
|
||||
left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
- -ms-filter: "alpha(opacity=0)"; /* support: IE8 */
|
||||
}
|
||||
|
||||
.ui-front {
|
||||
@@ -121,13 +120,16 @@
|
||||
}
|
||||
.ui-menu .ui-menu-item {
|
||||
margin: 0;
|
||||
- cursor: pointer;
|
||||
/* support: IE10, see #8844 */
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
||||
}
|
||||
.ui-menu .ui-menu-item-wrapper {
|
||||
position: relative;
|
||||
- padding: 3px 1em 3px .4em;
|
||||
+ padding: 0 .5em;
|
||||
+ line-height: 2;
|
||||
+ width: 100%;
|
||||
+ display: inline-block;
|
||||
+ text-decoration: none;
|
||||
}
|
||||
.ui-menu .ui-menu-divider {
|
||||
margin: 5px 0;
|
||||
@@ -281,8 +283,6 @@ button.ui-button::-moz-focus-inner {
|
||||
/* Spinner specific style fixes */
|
||||
.ui-controlgroup-vertical .ui-spinner-input {
|
||||
|
||||
- /* Support: IE8 only, Android < 4.4 only */
|
||||
- width: 75%;
|
||||
width: calc( 100% - 2.4em );
|
||||
}
|
||||
.ui-controlgroup-vertical .ui-spinner .ui-spinner-up {
|
||||
@@ -313,63 +313,35 @@ button.ui-button::-moz-focus-inner {
|
||||
pointer-events: none;
|
||||
}
|
||||
.ui-datepicker {
|
||||
- width: 17em;
|
||||
- padding: .2em .2em 0;
|
||||
+ width: 20em;
|
||||
display: none;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-header {
|
||||
position: relative;
|
||||
- padding: .2em 0;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev,
|
||||
.ui-datepicker .ui-datepicker-next {
|
||||
position: absolute;
|
||||
- top: 2px;
|
||||
+ top: 0;
|
||||
width: 1.8em;
|
||||
height: 1.8em;
|
||||
}
|
||||
-.ui-datepicker .ui-datepicker-prev-hover,
|
||||
-.ui-datepicker .ui-datepicker-next-hover {
|
||||
- top: 1px;
|
||||
-}
|
||||
.ui-datepicker .ui-datepicker-prev {
|
||||
- left: 2px;
|
||||
+ left: 0;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-next {
|
||||
- right: 2px;
|
||||
-}
|
||||
-.ui-datepicker .ui-datepicker-prev-hover {
|
||||
- left: 1px;
|
||||
-}
|
||||
-.ui-datepicker .ui-datepicker-next-hover {
|
||||
- right: 1px;
|
||||
-}
|
||||
-.ui-datepicker .ui-datepicker-prev span,
|
||||
-.ui-datepicker .ui-datepicker-next span {
|
||||
- display: block;
|
||||
- position: absolute;
|
||||
- left: 50%;
|
||||
- margin-left: -8px;
|
||||
- top: 50%;
|
||||
- margin-top: -8px;
|
||||
+ right: 0;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-title {
|
||||
margin: 0 2.3em;
|
||||
- line-height: 1.8em;
|
||||
text-align: center;
|
||||
}
|
||||
-.ui-datepicker .ui-datepicker-title select {
|
||||
- font-size: 1em;
|
||||
- margin: 1px 0;
|
||||
-}
|
||||
.ui-datepicker select.ui-datepicker-month,
|
||||
.ui-datepicker select.ui-datepicker-year {
|
||||
width: 45%;
|
||||
}
|
||||
.ui-datepicker table {
|
||||
width: 100%;
|
||||
- font-size: .9em;
|
||||
- border-collapse: collapse;
|
||||
margin: 0 0 .4em;
|
||||
}
|
||||
.ui-datepicker th {
|
||||
@@ -386,7 +358,7 @@ button.ui-button::-moz-focus-inner {
|
||||
.ui-datepicker td a {
|
||||
display: block;
|
||||
padding: .2em;
|
||||
- text-align: right;
|
||||
+ text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane {
|
||||
@@ -454,14 +426,6 @@ button.ui-button::-moz-focus-inner {
|
||||
left: 2px;
|
||||
right: auto;
|
||||
}
|
||||
-.ui-datepicker-rtl .ui-datepicker-prev:hover {
|
||||
- right: 1px;
|
||||
- left: auto;
|
||||
-}
|
||||
-.ui-datepicker-rtl .ui-datepicker-next:hover {
|
||||
- left: 1px;
|
||||
- right: auto;
|
||||
-}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane {
|
||||
clear: right;
|
||||
}
|
||||
@@ -491,50 +455,34 @@ button.ui-button::-moz-focus-inner {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
- padding: .2em;
|
||||
outline: 0;
|
||||
}
|
||||
.ui-dialog .ui-dialog-titlebar {
|
||||
- padding: .4em 1em;
|
||||
position: relative;
|
||||
}
|
||||
.ui-dialog .ui-dialog-title {
|
||||
float: left;
|
||||
- margin: .1em 0;
|
||||
white-space: nowrap;
|
||||
- width: 90%;
|
||||
+ width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
-.ui-dialog .ui-dialog-titlebar-close {
|
||||
- position: absolute;
|
||||
- right: .3em;
|
||||
- top: 50%;
|
||||
- width: 20px;
|
||||
- margin: -10px 0 0 0;
|
||||
- padding: 1px;
|
||||
- height: 20px;
|
||||
-}
|
||||
.ui-dialog .ui-dialog-content {
|
||||
position: relative;
|
||||
border: 0;
|
||||
- padding: .5em 1em;
|
||||
+ padding: 1em 1em .5em 1em;
|
||||
background: none;
|
||||
overflow: auto;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane {
|
||||
- text-align: left;
|
||||
- border-width: 1px 0 0 0;
|
||||
+ text-align: right;
|
||||
+ white-space: nowrap;
|
||||
background-image: none;
|
||||
- margin-top: .5em;
|
||||
- padding: .3em 1em .5em .4em;
|
||||
-}
|
||||
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
|
||||
- float: right;
|
||||
+ padding: 0 1.5rem;
|
||||
+ height: 4rem;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane button {
|
||||
- margin: .5em .4em .5em 0;
|
||||
- cursor: pointer;
|
||||
+ margin: .65rem 0 .65rem .5rem;
|
||||
}
|
||||
.ui-dialog .ui-resizable-n {
|
||||
height: 2px;
|
||||
@@ -560,8 +508,11 @@ button.ui-button::-moz-focus-inner {
|
||||
height: 7px;
|
||||
}
|
||||
.ui-dialog .ui-resizable-se {
|
||||
- right: 0;
|
||||
- bottom: 0;
|
||||
+ width: 14px;
|
||||
+ height: 14px;
|
||||
+ right: 3px;
|
||||
+ bottom: 3px;
|
||||
+ background-position: -80px -224px;
|
||||
}
|
||||
.ui-dialog .ui-resizable-sw {
|
||||
left: 0;
|
||||
@@ -664,7 +615,6 @@ button.ui-button::-moz-focus-inner {
|
||||
.ui-progressbar .ui-progressbar-overlay {
|
||||
background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
|
||||
height: 100%;
|
||||
- -ms-filter: "alpha(opacity=25)"; /* support: IE8 */
|
||||
opacity: 0.25;
|
||||
}
|
||||
.ui-progressbar-indeterminate .ui-progressbar-value {
|
||||
@@ -725,7 +675,7 @@ button.ui-button::-moz-focus-inner {
|
||||
}
|
||||
.ui-slider .ui-slider-handle {
|
||||
position: absolute;
|
||||
- z-index: 2;
|
||||
+ z-index: 1;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
cursor: pointer;
|
||||
@@ -741,12 +691,6 @@ button.ui-button::-moz-focus-inner {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
-/* support: IE8 - See #6727 */
|
||||
-.ui-slider.ui-state-disabled .ui-slider-handle,
|
||||
-.ui-slider.ui-state-disabled .ui-slider-range {
|
||||
- filter: inherit;
|
||||
-}
|
||||
-
|
||||
.ui-slider-horizontal {
|
||||
height: .8em;
|
||||
}
|
||||
@@ -883,39 +827,15 @@ body .ui-tooltip {
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
-.ui-widget {
|
||||
- font-family: Arial,Helvetica,sans-serif;
|
||||
- font-size: 1em;
|
||||
-}
|
||||
.ui-widget .ui-widget {
|
||||
- font-size: 1em;
|
||||
-}
|
||||
-.ui-widget input,
|
||||
-.ui-widget select,
|
||||
-.ui-widget textarea,
|
||||
-.ui-widget button {
|
||||
- font-family: Arial,Helvetica,sans-serif;
|
||||
- font-size: 1em;
|
||||
-}
|
||||
-.ui-widget.ui-widget-content {
|
||||
- border: 1px solid #c5c5c5;
|
||||
+ font-size: 1rem;
|
||||
}
|
||||
.ui-widget-content {
|
||||
- border: 1px solid #dddddd;
|
||||
- background: #ffffff;
|
||||
- color: #333333;
|
||||
-}
|
||||
-.ui-widget-content a {
|
||||
- color: #333333;
|
||||
+ background-color: #fff;
|
||||
}
|
||||
.ui-widget-header {
|
||||
- border: 1px solid #dddddd;
|
||||
- background: #e9e9e9;
|
||||
- color: #333333;
|
||||
font-weight: bold;
|
||||
-}
|
||||
-.ui-widget-header a {
|
||||
- color: #333333;
|
||||
+ background-color: #fff;
|
||||
}
|
||||
|
||||
/* Interaction states
|
||||
@@ -944,19 +864,6 @@ a:visited.ui-button,
|
||||
color: #454545;
|
||||
text-decoration: none;
|
||||
}
|
||||
-.ui-state-hover,
|
||||
-.ui-widget-content .ui-state-hover,
|
||||
-.ui-widget-header .ui-state-hover,
|
||||
-.ui-state-focus,
|
||||
-.ui-widget-content .ui-state-focus,
|
||||
-.ui-widget-header .ui-state-focus,
|
||||
-.ui-button:hover,
|
||||
-.ui-button:focus {
|
||||
- border: 1px solid #cccccc;
|
||||
- background: #ededed;
|
||||
- font-weight: normal;
|
||||
- color: #2b2b2b;
|
||||
-}
|
||||
.ui-state-hover a,
|
||||
.ui-state-hover a:hover,
|
||||
.ui-state-hover a:link,
|
||||
@@ -1040,20 +947,15 @@ a.ui-button:active,
|
||||
.ui-priority-secondary,
|
||||
.ui-widget-content .ui-priority-secondary,
|
||||
.ui-widget-header .ui-priority-secondary {
|
||||
- opacity: .7;
|
||||
- -ms-filter: "alpha(opacity=70)"; /* support: IE8 */
|
||||
+ opacity: .5;
|
||||
font-weight: normal;
|
||||
}
|
||||
.ui-state-disabled,
|
||||
.ui-widget-content .ui-state-disabled,
|
||||
.ui-widget-header .ui-state-disabled {
|
||||
opacity: .35;
|
||||
- -ms-filter: "alpha(opacity=35)"; /* support: IE8 */
|
||||
background-image: none;
|
||||
}
|
||||
-.ui-state-disabled .ui-icon {
|
||||
- -ms-filter: "alpha(opacity=35)"; /* support: IE8 - See #6059 */
|
||||
-}
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
@@ -1070,24 +972,6 @@ a.ui-button:active,
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("images/ui-icons_444444_256x240.png");
|
||||
}
|
||||
-.ui-state-hover .ui-icon,
|
||||
-.ui-state-focus .ui-icon,
|
||||
-.ui-button:hover .ui-icon,
|
||||
-.ui-button:focus .ui-icon {
|
||||
- background-image: url("images/ui-icons_555555_256x240.png");
|
||||
-}
|
||||
-.ui-state-active .ui-icon,
|
||||
-.ui-button:active .ui-icon {
|
||||
- background-image: url("images/ui-icons_ffffff_256x240.png");
|
||||
-}
|
||||
-.ui-state-highlight .ui-icon,
|
||||
-.ui-button .ui-state-highlight.ui-icon {
|
||||
- background-image: url("images/ui-icons_777620_256x240.png");
|
||||
-}
|
||||
-.ui-state-error .ui-icon,
|
||||
-.ui-state-error-text .ui-icon {
|
||||
- background-image: url("images/ui-icons_cc0000_256x240.png");
|
||||
-}
|
||||
.ui-button .ui-icon {
|
||||
background-image: url("images/ui-icons_777777_256x240.png");
|
||||
}
|
||||
@@ -1273,43 +1157,7 @@ a.ui-button:active,
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
-
|
||||
-/* Misc visuals
|
||||
-----------------------------------*/
|
||||
-
|
||||
-/* Corner radius */
|
||||
-.ui-corner-all,
|
||||
-.ui-corner-top,
|
||||
-.ui-corner-left,
|
||||
-.ui-corner-tl {
|
||||
- border-top-left-radius: 3px;
|
||||
-}
|
||||
-.ui-corner-all,
|
||||
-.ui-corner-top,
|
||||
-.ui-corner-right,
|
||||
-.ui-corner-tr {
|
||||
- border-top-right-radius: 3px;
|
||||
-}
|
||||
-.ui-corner-all,
|
||||
-.ui-corner-bottom,
|
||||
-.ui-corner-left,
|
||||
-.ui-corner-bl {
|
||||
- border-bottom-left-radius: 3px;
|
||||
-}
|
||||
-.ui-corner-all,
|
||||
-.ui-corner-bottom,
|
||||
-.ui-corner-right,
|
||||
-.ui-corner-br {
|
||||
- border-bottom-right-radius: 3px;
|
||||
-}
|
||||
-
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
- background: #aaaaaa;
|
||||
- opacity: .003;
|
||||
- -ms-filter: Alpha(Opacity=.3); /* support: IE8 */
|
||||
-}
|
||||
-.ui-widget-shadow {
|
||||
- -webkit-box-shadow: 0px 0px 5px #666666;
|
||||
- box-shadow: 0px 0px 5px #666666;
|
||||
+ opacity: .5;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,363 @@
|
||||
.minicolors {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.minicolors-sprite {
|
||||
background-image: url(images/jquery.minicolors.png);
|
||||
}
|
||||
|
||||
.minicolors-swatch {
|
||||
position: absolute;
|
||||
vertical-align: middle;
|
||||
background-position: -80px 0;
|
||||
cursor: text;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.minicolors-swatch-color {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.minicolors input[type=hidden] + .minicolors-swatch {
|
||||
width: 28px;
|
||||
position: static;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.minicolors input[type=hidden][disabled] + .minicolors-swatch {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* Panel */
|
||||
.minicolors-panel {
|
||||
position: absolute;
|
||||
width: 173px;
|
||||
background: white;
|
||||
z-index: 99999;
|
||||
box-sizing: content-box;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.minicolors-panel.minicolors-visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Panel positioning */
|
||||
.minicolors-position-top .minicolors-panel {
|
||||
top: -154px;
|
||||
}
|
||||
|
||||
.minicolors-position-right .minicolors-panel {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.minicolors-position-bottom .minicolors-panel {
|
||||
top: auto;
|
||||
}
|
||||
|
||||
.minicolors-position-left .minicolors-panel {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.minicolors-with-opacity .minicolors-panel {
|
||||
width: 194px;
|
||||
}
|
||||
|
||||
.minicolors .minicolors-grid {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
left: 1px; /* LTR */
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
margin-bottom: 2px;
|
||||
background-position: -120px 0;
|
||||
cursor: crosshair;
|
||||
}
|
||||
[dir=rtl] .minicolors .minicolors-grid {
|
||||
right: 1px;
|
||||
}
|
||||
|
||||
.minicolors .minicolors-grid-inner {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
.minicolors-slider-saturation .minicolors-grid {
|
||||
background-position: -420px 0;
|
||||
}
|
||||
|
||||
.minicolors-slider-saturation .minicolors-grid-inner {
|
||||
background-position: -270px 0;
|
||||
background-image: inherit;
|
||||
}
|
||||
|
||||
.minicolors-slider-brightness .minicolors-grid {
|
||||
background-position: -570px 0;
|
||||
}
|
||||
|
||||
.minicolors-slider-brightness .minicolors-grid-inner {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.minicolors-slider-wheel .minicolors-grid {
|
||||
background-position: -720px 0;
|
||||
}
|
||||
|
||||
.minicolors-slider,
|
||||
.minicolors-opacity-slider {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 153px; /* LTR */
|
||||
width: 20px;
|
||||
height: 150px;
|
||||
background-color: white;
|
||||
background-position: 0 0;
|
||||
cursor: row-resize;
|
||||
}
|
||||
[dir=rtl] .minicolors-slider,
|
||||
[dir=rtl] .minicolors-opacity-slider {
|
||||
right: 152px;
|
||||
}
|
||||
|
||||
.minicolors-slider-saturation .minicolors-slider {
|
||||
background-position: -60px 0;
|
||||
}
|
||||
|
||||
.minicolors-slider-brightness .minicolors-slider {
|
||||
background-position: -20px 0;
|
||||
}
|
||||
|
||||
.minicolors-slider-wheel .minicolors-slider {
|
||||
background-position: -20px 0;
|
||||
}
|
||||
|
||||
.minicolors-opacity-slider {
|
||||
left: 173px; /* LTR */
|
||||
background-position: -40px 0;
|
||||
display: none;
|
||||
}
|
||||
[dir=rtl] .minicolors-opacity-slider {
|
||||
right: 173px;
|
||||
}
|
||||
|
||||
.minicolors-with-opacity .minicolors-opacity-slider {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Pickers */
|
||||
.minicolors-grid .minicolors-picker {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
left: 70px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border: solid 1px black;
|
||||
border-radius: 10px;
|
||||
margin-top: -6px;
|
||||
margin-left: -6px;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.minicolors-grid .minicolors-picker > div {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 8px;
|
||||
border: solid 2px white;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.minicolors-picker {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 18px;
|
||||
height: 2px;
|
||||
background: white;
|
||||
border: solid 1px black;
|
||||
margin-top: -2px;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/* Swatches */
|
||||
.minicolors-swatches,
|
||||
.minicolors-swatches li {
|
||||
margin: 5px 0 3px 5px; /* LTR */
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
[dir=rtl] .minicolors-swatches,
|
||||
[dir=rtl] .minicolors-swatches li {
|
||||
margin: 5px 5px 3px 0;
|
||||
}
|
||||
|
||||
.minicolors-swatches .minicolors-swatch {
|
||||
position: relative;
|
||||
float: left; /* LTR */
|
||||
cursor: pointer;
|
||||
margin:0 4px 0 0; /* LTR */
|
||||
}
|
||||
[dir=rtl] .minicolors-swatches .minicolors-swatch {
|
||||
float: right;
|
||||
margin:0 0 0 4px;
|
||||
}
|
||||
|
||||
.minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
|
||||
margin-right: 7px; /* LTR */
|
||||
}
|
||||
[dir=rtl] .minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
|
||||
margin-right: 0;
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
.minicolors-swatch.selected {
|
||||
border-color: #000;
|
||||
}
|
||||
|
||||
/* Inline controls */
|
||||
.minicolors-inline {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.minicolors-inline .minicolors-input {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.minicolors-inline .minicolors-panel {
|
||||
position: relative;
|
||||
top: auto;
|
||||
left: auto; /* LTR */
|
||||
box-shadow: none;
|
||||
z-index: auto;
|
||||
display: inline-block;
|
||||
}
|
||||
[dir=rtl] .minicolors-inline .minicolors-panel {
|
||||
right: auto;
|
||||
}
|
||||
|
||||
/* Bootstrap theme */
|
||||
.minicolors-theme-bootstrap .minicolors-swatch {
|
||||
z-index: 2;
|
||||
top: 4px;
|
||||
left: 4px; /* LTR */
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
border-radius: .25rem;
|
||||
}
|
||||
[dir=rtl] .minicolors-theme-bootstrap .minicolors-swatch {
|
||||
right: 3px;
|
||||
}
|
||||
.minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch {
|
||||
margin-bottom: 2px;
|
||||
top: 0;
|
||||
left: 0; /* LTR */
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
[dir=rtl] .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch {
|
||||
right: 0;
|
||||
}
|
||||
.minicolors-theme-bootstrap .minicolors-swatch-color {
|
||||
border-radius: inherit;
|
||||
}
|
||||
.minicolors-theme-bootstrap.minicolors-position-right > .minicolors-swatch {
|
||||
left: auto; /* LTR */
|
||||
right: 3px; /* LTR */
|
||||
}
|
||||
[dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left > .minicolors-swatch {
|
||||
right: auto;
|
||||
left: 3px;
|
||||
}
|
||||
.minicolors-theme-bootstrap .minicolors-input {
|
||||
float: none;
|
||||
padding-left: 36px; /* LTR */
|
||||
}
|
||||
[dir=rtl] .minicolors-theme-bootstrap .minicolors-input {
|
||||
text-align: right;
|
||||
unicode-bidi: plaintext;
|
||||
padding-left: 12px;
|
||||
padding-right: 34px;
|
||||
}
|
||||
.minicolors-theme-bootstrap.minicolors-position-right .minicolors-input {
|
||||
padding-right: 44px; /* LTR */
|
||||
padding-left: 12px; /* LTR */
|
||||
}
|
||||
[dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left .minicolors-input {
|
||||
padding-right: 12px;
|
||||
padding-left: 44px;
|
||||
}
|
||||
.minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
|
||||
top: 4px;
|
||||
left: 4px; /* LTR */
|
||||
width: 37px;
|
||||
height: 37px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
[dir=rtl] .minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
|
||||
right: 4px;
|
||||
}
|
||||
.minicolors-theme-bootstrap .minicolors-input.input-sm + .minicolors-swatch {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
.minicolors-theme-bootstrap .minicolors-input.input-xs + .minicolors-swatch {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
.input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {
|
||||
border-top-left-radius: 0; /* LTR */
|
||||
border-bottom-left-radius: 0; /* LTR */
|
||||
}
|
||||
[dir=rtl] .input-group .minicolors-theme-bootstrap .minicolors-input {
|
||||
border-radius: 4px;
|
||||
}
|
||||
[dir=rtl] .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
[dir=rtl] .input-group .minicolors-theme-bootstrap:not(:last-child) .minicolors-input {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
/* bootstrap input-group rtl override */
|
||||
[dir=rtl] .input-group .form-control,
|
||||
[dir=rtl] .input-group-addon,
|
||||
[dir=rtl] .input-group-btn > .btn,
|
||||
[dir=rtl] .input-group-btn > .btn-group > .btn,
|
||||
[dir=rtl] .input-group-btn > .dropdown-toggle {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
}
|
||||
[dir=rtl] .input-group .form-control:first-child,
|
||||
[dir=rtl] .input-group-addon:first-child,
|
||||
[dir=rtl] .input-group-btn:first-child > .btn,
|
||||
[dir=rtl] .input-group-btn:first-child > .btn-group > .btn,
|
||||
[dir=rtl] .input-group-btn:first-child > .dropdown-toggle,
|
||||
[dir=rtl] .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
||||
[dir=rtl] .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-left: 0;
|
||||
}
|
||||
[dir=rtl] .input-group .form-control:last-child,
|
||||
[dir=rtl] .input-group-addon:last-child,
|
||||
[dir=rtl] .input-group-btn:last-child > .btn,
|
||||
[dir=rtl] .input-group-btn:last-child > .btn-group > .btn,
|
||||
[dir=rtl] .input-group-btn:last-child > .dropdown-toggle,
|
||||
[dir=rtl] .input-group-btn:first-child > .btn:not(:first-child),
|
||||
[dir=rtl] .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
--- jquery.minicolors.css.orig 2019-01-30 11:43:50.000000000 +0100
|
||||
+++ jquery.minicolors.css 2019-01-30 11:53:43.762019000 +0100
|
||||
@@ -10,7 +10,6 @@
|
||||
position: absolute;
|
||||
vertical-align: middle;
|
||||
background-position: -80px 0;
|
||||
- border: solid 1px #ccc;
|
||||
cursor: text;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
@@ -40,8 +39,6 @@
|
||||
position: absolute;
|
||||
width: 173px;
|
||||
background: white;
|
||||
- border: solid 1px #CCC;
|
||||
- box-shadow: 0 0 20px rgba(0, 0, 0, .2);
|
||||
z-index: 99999;
|
||||
box-sizing: content-box;
|
||||
display: none;
|
||||
@@ -118,8 +115,8 @@
|
||||
.minicolors-slider,
|
||||
.minicolors-opacity-slider {
|
||||
position: absolute;
|
||||
- top: 1px;
|
||||
- left: 152px; /* LTR */
|
||||
+ top: 2px;
|
||||
+ left: 153px; /* LTR */
|
||||
width: 20px;
|
||||
height: 150px;
|
||||
background-color: white;
|
||||
@@ -250,67 +247,14 @@
|
||||
right: auto;
|
||||
}
|
||||
|
||||
-/* Default theme */
|
||||
-.minicolors-theme-default .minicolors-swatch {
|
||||
- top: 5px;
|
||||
- left: 5px; /* LTR */
|
||||
- width: 18px;
|
||||
- height: 18px;
|
||||
-}
|
||||
-[dir=rtl] .minicolors-theme-default .minicolors-swatch {
|
||||
- right: 5px;
|
||||
-}
|
||||
-.minicolors-theme-default .minicolors-swatches .minicolors-swatch {
|
||||
- margin-bottom: 2px;
|
||||
- top: 0;
|
||||
- left: 0; /* LTR */
|
||||
- width: 18px;
|
||||
- height: 18px;
|
||||
-}
|
||||
-[dir=rtl] .minicolors-theme-default .minicolors-swatches .minicolors-swatch {
|
||||
- right: 0;
|
||||
-}
|
||||
-.minicolors-theme-default.minicolors-position-right .minicolors-swatch {
|
||||
- left: auto; /* LTR */
|
||||
- right: 5px; /* LTR */
|
||||
-}
|
||||
-[dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-swatch {
|
||||
- right: auto;
|
||||
- left: 5px;
|
||||
-}
|
||||
-.minicolors-theme-default.minicolors {
|
||||
- width: auto;
|
||||
- display: inline-block;
|
||||
-}
|
||||
-.minicolors-theme-default .minicolors-input {
|
||||
- height: 20px;
|
||||
- width: auto;
|
||||
- display: inline-block;
|
||||
- padding-left: 26px; /* LTR */
|
||||
-}
|
||||
-[dir=rtl] .minicolors-theme-default .minicolors-input {
|
||||
- text-align: right;
|
||||
- unicode-bidi: plaintext;
|
||||
- padding-left: 1px;
|
||||
- padding-right: 26px;
|
||||
-}
|
||||
-.minicolors-theme-default.minicolors-position-right .minicolors-input {
|
||||
- padding-right: 26px; /* LTR */
|
||||
- padding-left: inherit; /* LTR */
|
||||
-}
|
||||
-[dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-input {
|
||||
- padding-right: inherit;
|
||||
- padding-left: 26px;
|
||||
-}
|
||||
-
|
||||
/* Bootstrap theme */
|
||||
.minicolors-theme-bootstrap .minicolors-swatch {
|
||||
z-index: 2;
|
||||
- top: 3px;
|
||||
- left: 3px; /* LTR */
|
||||
- width: 28px;
|
||||
- height: 28px;
|
||||
- border-radius: 3px;
|
||||
+ top: 4px;
|
||||
+ left: 4px; /* LTR */
|
||||
+ width: 25px;
|
||||
+ height: 25px;
|
||||
+ border-radius: .25rem;
|
||||
}
|
||||
[dir=rtl] .minicolors-theme-bootstrap .minicolors-swatch {
|
||||
right: 3px;
|
||||
@@ -338,13 +282,13 @@
|
||||
}
|
||||
.minicolors-theme-bootstrap .minicolors-input {
|
||||
float: none;
|
||||
- padding-left: 44px; /* LTR */
|
||||
+ padding-left: 36px; /* LTR */
|
||||
}
|
||||
[dir=rtl] .minicolors-theme-bootstrap .minicolors-input {
|
||||
text-align: right;
|
||||
unicode-bidi: plaintext;
|
||||
padding-left: 12px;
|
||||
- padding-right: 44px;
|
||||
+ padding-right: 34px;
|
||||
}
|
||||
.minicolors-theme-bootstrap.minicolors-position-right .minicolors-input {
|
||||
padding-right: 44px; /* LTR */
|
||||
@@ -417,16 +361,3 @@
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
-
|
||||
-/* Semantic Ui theme */
|
||||
-.minicolors-theme-semanticui .minicolors-swatch {
|
||||
- top: 0;
|
||||
- left: 0; /* LTR */
|
||||
- padding: 18px;
|
||||
-}
|
||||
-[dir=rtl] .minicolors-theme-semanticui .minicolors-swatch {
|
||||
- right: 0;
|
||||
-}
|
||||
-.minicolors-theme-semanticui input {
|
||||
- text-indent: 30px;
|
||||
-}
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user