update
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
||||
Download more cultures from: http://jqwidgets.com/builds/cultures.zip
|
||||
License: https://github.com/jquery/globalize/blob/master/LICENSE
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Globalize Culture cs-CZ
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "cs-CZ", "default", {
|
||||
name: "cs-CZ",
|
||||
englishName: "Czech (Czech Republic)",
|
||||
nativeName: "čeština (Česká republika)",
|
||||
language: "cs",
|
||||
numberFormat: {
|
||||
",": " ",
|
||||
".": ",",
|
||||
"NaN": "Není číslo",
|
||||
negativeInfinity: "-nekonečno",
|
||||
positiveInfinity: "+nekonečno",
|
||||
percent: {
|
||||
pattern: ["-n%","n%"],
|
||||
",": " ",
|
||||
".": ","
|
||||
},
|
||||
currency: {
|
||||
pattern: ["-n $","n $"],
|
||||
",": " ",
|
||||
".": ",",
|
||||
symbol: "Kč"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
"/": ".",
|
||||
firstDay: 1,
|
||||
days: {
|
||||
names: ["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],
|
||||
namesAbbr: ["ne","po","út","st","čt","pá","so"],
|
||||
namesShort: ["ne","po","út","st","čt","pá","so"]
|
||||
},
|
||||
months: {
|
||||
names: ["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""],
|
||||
namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
|
||||
},
|
||||
monthsGenitive: {
|
||||
names: ["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""],
|
||||
namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
|
||||
},
|
||||
AM: ["dop.","dop.","DOP."],
|
||||
PM: ["odp.","odp.","ODP."],
|
||||
eras: [{"name":"n. l.","start":null,"offset":0}],
|
||||
patterns: {
|
||||
d: "d.M.yyyy",
|
||||
D: "d. MMMM yyyy",
|
||||
t: "H:mm",
|
||||
T: "H:mm:ss",
|
||||
f: "d. MMMM yyyy H:mm",
|
||||
F: "d. MMMM yyyy H:mm:ss",
|
||||
M: "dd MMMM",
|
||||
Y: "MMMM yyyy"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Globalize Culture de-DE
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "de-DE", "default", {
|
||||
name: "de-DE",
|
||||
englishName: "German (Germany)",
|
||||
nativeName: "Deutsch (Deutschland)",
|
||||
language: "de",
|
||||
numberFormat: {
|
||||
",": ".",
|
||||
".": ",",
|
||||
"NaN": "n. def.",
|
||||
negativeInfinity: "-unendlich",
|
||||
positiveInfinity: "+unendlich",
|
||||
percent: {
|
||||
pattern: ["-n%","n%"],
|
||||
",": ".",
|
||||
".": ","
|
||||
},
|
||||
currency: {
|
||||
pattern: ["-n $","n $"],
|
||||
",": ".",
|
||||
".": ",",
|
||||
symbol: "€"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
"/": ".",
|
||||
firstDay: 1,
|
||||
days: {
|
||||
names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],
|
||||
namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"],
|
||||
namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"]
|
||||
},
|
||||
months: {
|
||||
names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],
|
||||
namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""]
|
||||
},
|
||||
AM: null,
|
||||
PM: null,
|
||||
eras: [{"name":"n. Chr.","start":null,"offset":0}],
|
||||
patterns: {
|
||||
d: "dd.MM.yyyy",
|
||||
D: "dddd, d. MMMM yyyy",
|
||||
t: "HH:mm",
|
||||
T: "HH:mm:ss",
|
||||
f: "dddd, d. MMMM yyyy HH:mm",
|
||||
F: "dddd, d. MMMM yyyy HH:mm:ss",
|
||||
M: "dd MMMM",
|
||||
Y: "MMMM yyyy"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Globalize Culture en-CA
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "en-CA", "default", {
|
||||
name: "en-CA",
|
||||
englishName: "English (Canada)",
|
||||
nativeName: "English (Canada)",
|
||||
numberFormat: {
|
||||
currency: {
|
||||
pattern: ["-$n","$n"]
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
patterns: {
|
||||
d: "dd/MM/yyyy",
|
||||
D: "MMMM-dd-yy",
|
||||
f: "MMMM-dd-yy h:mm tt",
|
||||
F: "MMMM-dd-yy h:mm:ss tt"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Globalize Culture en-US
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "en-US", "default", {
|
||||
name: "en-US",
|
||||
englishName: "English (United States)"
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Globalize Culture fr-FR
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "fr-FR", "default", {
|
||||
name: "fr-FR",
|
||||
englishName: "French (France)",
|
||||
nativeName: "français (France)",
|
||||
language: "fr",
|
||||
numberFormat: {
|
||||
",": " ",
|
||||
".": ",",
|
||||
"NaN": "Non Numérique",
|
||||
negativeInfinity: "-Infini",
|
||||
positiveInfinity: "+Infini",
|
||||
percent: {
|
||||
",": " ",
|
||||
".": ","
|
||||
},
|
||||
currency: {
|
||||
pattern: ["-n $","n $"],
|
||||
",": " ",
|
||||
".": ",",
|
||||
symbol: "€"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
firstDay: 1,
|
||||
days: {
|
||||
names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],
|
||||
namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],
|
||||
namesShort: ["di","lu","ma","me","je","ve","sa"]
|
||||
},
|
||||
months: {
|
||||
names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],
|
||||
namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""]
|
||||
},
|
||||
AM: null,
|
||||
PM: null,
|
||||
eras: [{"name":"ap. J.-C.","start":null,"offset":0}],
|
||||
patterns: {
|
||||
d: "dd/MM/yyyy",
|
||||
D: "dddd d MMMM yyyy",
|
||||
t: "HH:mm",
|
||||
T: "HH:mm:ss",
|
||||
f: "dddd d MMMM yyyy HH:mm",
|
||||
F: "dddd d MMMM yyyy HH:mm:ss",
|
||||
M: "d MMMM",
|
||||
Y: "MMMM yyyy"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* Globalize Culture he-IL
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "he-IL", "default", {
|
||||
name: "he-IL",
|
||||
englishName: "Hebrew (Israel)",
|
||||
nativeName: "עברית (ישראל)",
|
||||
language: "he",
|
||||
isRTL: true,
|
||||
numberFormat: {
|
||||
"NaN": "לא מספר",
|
||||
negativeInfinity: "אינסוף שלילי",
|
||||
positiveInfinity: "אינסוף חיובי",
|
||||
percent: {
|
||||
pattern: ["-n%","n%"]
|
||||
},
|
||||
currency: {
|
||||
pattern: ["$-n","$ n"],
|
||||
symbol: "₪"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
days: {
|
||||
names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],
|
||||
namesAbbr: ["יום א","יום ב","יום ג","יום ד","יום ה","יום ו","שבת"],
|
||||
namesShort: ["א","ב","ג","ד","ה","ו","ש"]
|
||||
},
|
||||
months: {
|
||||
names: ["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],
|
||||
namesAbbr: ["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""]
|
||||
},
|
||||
eras: [{"name":"לספירה","start":null,"offset":0}],
|
||||
patterns: {
|
||||
d: "dd/MM/yyyy",
|
||||
D: "dddd dd MMMM yyyy",
|
||||
t: "HH:mm",
|
||||
T: "HH:mm:ss",
|
||||
f: "dddd dd MMMM yyyy HH:mm",
|
||||
F: "dddd dd MMMM yyyy HH:mm:ss",
|
||||
M: "dd MMMM",
|
||||
Y: "MMMM yyyy"
|
||||
}
|
||||
},
|
||||
Hebrew: {
|
||||
name: "Hebrew",
|
||||
"/": " ",
|
||||
days: {
|
||||
names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],
|
||||
namesAbbr: ["א","ב","ג","ד","ה","ו","ש"],
|
||||
namesShort: ["א","ב","ג","ד","ה","ו","ש"]
|
||||
},
|
||||
months: {
|
||||
names: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"],
|
||||
namesAbbr: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"]
|
||||
},
|
||||
eras: [{"name":"C.E.","start":null,"offset":0}],
|
||||
twoDigitYearMax: 5790,
|
||||
patterns: {
|
||||
d: "dd MMMM yyyy",
|
||||
D: "dddd dd MMMM yyyy",
|
||||
t: "HH:mm",
|
||||
T: "HH:mm:ss",
|
||||
f: "dddd dd MMMM yyyy HH:mm",
|
||||
F: "dddd dd MMMM yyyy HH:mm:ss",
|
||||
M: "dd MMMM",
|
||||
Y: "MMMM yyyy"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Globalize Culture hr-HR
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "hr-HR", "default", {
|
||||
name: "hr-HR",
|
||||
englishName: "Croatian (Croatia)",
|
||||
nativeName: "hrvatski (Hrvatska)",
|
||||
language: "hr",
|
||||
numberFormat: {
|
||||
pattern: ["- n"],
|
||||
",": ".",
|
||||
".": ",",
|
||||
percent: {
|
||||
pattern: ["-n%","n%"],
|
||||
",": ".",
|
||||
".": ","
|
||||
},
|
||||
currency: {
|
||||
pattern: ["-n $","n $"],
|
||||
",": ".",
|
||||
".": ",",
|
||||
symbol: "kn"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
"/": ".",
|
||||
firstDay: 1,
|
||||
days: {
|
||||
names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],
|
||||
namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"],
|
||||
namesShort: ["ne","po","ut","sr","če","pe","su"]
|
||||
},
|
||||
months: {
|
||||
names: ["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""],
|
||||
namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""]
|
||||
},
|
||||
monthsGenitive: {
|
||||
names: ["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""],
|
||||
namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""]
|
||||
},
|
||||
AM: null,
|
||||
PM: null,
|
||||
patterns: {
|
||||
d: "d.M.yyyy.",
|
||||
D: "d. MMMM yyyy.",
|
||||
t: "H:mm",
|
||||
T: "H:mm:ss",
|
||||
f: "d. MMMM yyyy. H:mm",
|
||||
F: "d. MMMM yyyy. H:mm:ss",
|
||||
M: "d. MMMM"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Globalize Culture hu-HU
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "hu-HU", "default", {
|
||||
name: "hu-HU",
|
||||
englishName: "Hungarian (Hungary)",
|
||||
nativeName: "magyar (Magyarország)",
|
||||
language: "hu",
|
||||
numberFormat: {
|
||||
",": " ",
|
||||
".": ",",
|
||||
"NaN": "nem szám",
|
||||
negativeInfinity: "negatív végtelen",
|
||||
positiveInfinity: "végtelen",
|
||||
percent: {
|
||||
",": " ",
|
||||
".": ","
|
||||
},
|
||||
currency: {
|
||||
pattern: ["-n $","n $"],
|
||||
",": " ",
|
||||
".": ",",
|
||||
symbol: "Ft"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
"/": ".",
|
||||
firstDay: 1,
|
||||
days: {
|
||||
names: ["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],
|
||||
namesAbbr: ["V","H","K","Sze","Cs","P","Szo"],
|
||||
namesShort: ["V","H","K","Sze","Cs","P","Szo"]
|
||||
},
|
||||
months: {
|
||||
names: ["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],
|
||||
namesAbbr: ["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""]
|
||||
},
|
||||
AM: ["de.","de.","DE."],
|
||||
PM: ["du.","du.","DU."],
|
||||
eras: [{"name":"i.sz.","start":null,"offset":0}],
|
||||
patterns: {
|
||||
d: "yyyy.MM.dd.",
|
||||
D: "yyyy. MMMM d.",
|
||||
t: "H:mm",
|
||||
T: "H:mm:ss",
|
||||
f: "yyyy. MMMM d. H:mm",
|
||||
F: "yyyy. MMMM d. H:mm:ss",
|
||||
M: "MMMM d.",
|
||||
Y: "yyyy. MMMM"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Globalize Culture it-IT
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "it-IT", "default", {
|
||||
name: "it-IT",
|
||||
englishName: "Italian (Italy)",
|
||||
nativeName: "italiano (Italia)",
|
||||
language: "it",
|
||||
numberFormat: {
|
||||
",": ".",
|
||||
".": ",",
|
||||
"NaN": "Non un numero reale",
|
||||
negativeInfinity: "-Infinito",
|
||||
positiveInfinity: "+Infinito",
|
||||
percent: {
|
||||
pattern: ["-n%","n%"],
|
||||
",": ".",
|
||||
".": ","
|
||||
},
|
||||
currency: {
|
||||
pattern: ["-$ n","$ n"],
|
||||
",": ".",
|
||||
".": ",",
|
||||
symbol: "€"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
firstDay: 1,
|
||||
days: {
|
||||
names: ["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],
|
||||
namesAbbr: ["dom","lun","mar","mer","gio","ven","sab"],
|
||||
namesShort: ["do","lu","ma","me","gi","ve","sa"]
|
||||
},
|
||||
months: {
|
||||
names: ["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],
|
||||
namesAbbr: ["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""]
|
||||
},
|
||||
AM: null,
|
||||
PM: null,
|
||||
eras: [{"name":"d.C.","start":null,"offset":0}],
|
||||
patterns: {
|
||||
d: "dd/MM/yyyy",
|
||||
D: "dddd d MMMM yyyy",
|
||||
t: "HH:mm",
|
||||
T: "HH:mm:ss",
|
||||
f: "dddd d MMMM yyyy HH:mm",
|
||||
F: "dddd d MMMM yyyy HH:mm:ss",
|
||||
M: "dd MMMM",
|
||||
Y: "MMMM yyyy"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Globalize Culture ja-JP
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "ja-JP", "default", {
|
||||
name: "ja-JP",
|
||||
englishName: "Japanese (Japan)",
|
||||
nativeName: "日本語 (日本)",
|
||||
language: "ja",
|
||||
numberFormat: {
|
||||
"NaN": "NaN (非数値)",
|
||||
negativeInfinity: "-∞",
|
||||
positiveInfinity: "+∞",
|
||||
percent: {
|
||||
pattern: ["-n%","n%"]
|
||||
},
|
||||
currency: {
|
||||
pattern: ["-$n","$n"],
|
||||
decimals: 0,
|
||||
symbol: "¥"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
days: {
|
||||
names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],
|
||||
namesAbbr: ["日","月","火","水","木","金","土"],
|
||||
namesShort: ["日","月","火","水","木","金","土"]
|
||||
},
|
||||
months: {
|
||||
names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],
|
||||
namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
|
||||
},
|
||||
AM: ["午前","午前","午前"],
|
||||
PM: ["午後","午後","午後"],
|
||||
eras: [{"name":"西暦","start":null,"offset":0}],
|
||||
patterns: {
|
||||
d: "yyyy/MM/dd",
|
||||
D: "yyyy'年'M'月'd'日'",
|
||||
t: "H:mm",
|
||||
T: "H:mm:ss",
|
||||
f: "yyyy'年'M'月'd'日' H:mm",
|
||||
F: "yyyy'年'M'月'd'日' H:mm:ss",
|
||||
M: "M'月'd'日'",
|
||||
Y: "yyyy'年'M'月'"
|
||||
}
|
||||
},
|
||||
Japanese: {
|
||||
name: "Japanese",
|
||||
days: {
|
||||
names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],
|
||||
namesAbbr: ["日","月","火","水","木","金","土"],
|
||||
namesShort: ["日","月","火","水","木","金","土"]
|
||||
},
|
||||
months: {
|
||||
names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],
|
||||
namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
|
||||
},
|
||||
AM: ["午前","午前","午前"],
|
||||
PM: ["午後","午後","午後"],
|
||||
eras: [{"name":"平成","start":null,"offset":1867},{"name":"昭和","start":-1812153600000,"offset":1911},{"name":"大正","start":-1357603200000,"offset":1925},{"name":"明治","start":60022080000,"offset":1988}],
|
||||
twoDigitYearMax: 99,
|
||||
patterns: {
|
||||
d: "gg y/M/d",
|
||||
D: "gg y'年'M'月'd'日'",
|
||||
t: "H:mm",
|
||||
T: "H:mm:ss",
|
||||
f: "gg y'年'M'月'd'日' H:mm",
|
||||
F: "gg y'年'M'月'd'日' H:mm:ss",
|
||||
M: "M'月'd'日'",
|
||||
Y: "gg y'年'M'月'"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Globalize Culture lt
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "lt", "default", {
|
||||
name: "lt",
|
||||
englishName: "Lithuanian",
|
||||
nativeName: "lietuvių",
|
||||
language: "lt",
|
||||
numberFormat: {
|
||||
",": ".",
|
||||
".": ",",
|
||||
negativeInfinity: "-begalybė",
|
||||
positiveInfinity: "begalybė",
|
||||
percent: {
|
||||
pattern: ["-n%","n%"],
|
||||
",": ".",
|
||||
".": ","
|
||||
},
|
||||
currency: {
|
||||
pattern: ["-n $","n $"],
|
||||
",": ".",
|
||||
".": ",",
|
||||
symbol: "Lt"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
"/": ".",
|
||||
firstDay: 1,
|
||||
days: {
|
||||
names: ["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],
|
||||
namesAbbr: ["Sk","Pr","An","Tr","Kt","Pn","Št"],
|
||||
namesShort: ["S","P","A","T","K","Pn","Š"]
|
||||
},
|
||||
months: {
|
||||
names: ["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""],
|
||||
namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""]
|
||||
},
|
||||
monthsGenitive: {
|
||||
names: ["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""],
|
||||
namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""]
|
||||
},
|
||||
AM: null,
|
||||
PM: null,
|
||||
patterns: {
|
||||
d: "yyyy.MM.dd",
|
||||
D: "yyyy 'm.' MMMM d 'd.'",
|
||||
t: "HH:mm",
|
||||
T: "HH:mm:ss",
|
||||
f: "yyyy 'm.' MMMM d 'd.' HH:mm",
|
||||
F: "yyyy 'm.' MMMM d 'd.' HH:mm:ss",
|
||||
M: "MMMM d 'd.'",
|
||||
Y: "yyyy 'm.' MMMM"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Globalize Culture ru-RU
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "ru-RU", "default", {
|
||||
name: "ru-RU",
|
||||
englishName: "Russian (Russia)",
|
||||
nativeName: "русский (Россия)",
|
||||
language: "ru",
|
||||
numberFormat: {
|
||||
",": " ",
|
||||
".": ",",
|
||||
negativeInfinity: "-бесконечность",
|
||||
positiveInfinity: "бесконечность",
|
||||
percent: {
|
||||
pattern: ["-n%","n%"],
|
||||
",": " ",
|
||||
".": ","
|
||||
},
|
||||
currency: {
|
||||
pattern: ["-n$","n$"],
|
||||
",": " ",
|
||||
".": ",",
|
||||
symbol: "р."
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
"/": ".",
|
||||
firstDay: 1,
|
||||
days: {
|
||||
names: ["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],
|
||||
namesAbbr: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],
|
||||
namesShort: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"]
|
||||
},
|
||||
months: {
|
||||
names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],
|
||||
namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""]
|
||||
},
|
||||
monthsGenitive: {
|
||||
names: ["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""],
|
||||
namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""]
|
||||
},
|
||||
AM: null,
|
||||
PM: null,
|
||||
patterns: {
|
||||
d: "dd.MM.yyyy",
|
||||
D: "d MMMM yyyy 'г.'",
|
||||
t: "H:mm",
|
||||
T: "H:mm:ss",
|
||||
f: "d MMMM yyyy 'г.' H:mm",
|
||||
F: "d MMMM yyyy 'г.' H:mm:ss",
|
||||
Y: "MMMM yyyy"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Globalize Culture sa-IN
|
||||
*
|
||||
* http://github.com/jquery/globalize
|
||||
*
|
||||
* Copyright Software Freedom Conservancy, Inc.
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* This file was generated by the Globalize Culture Generator
|
||||
* Translation: bugs found in this file need to be fixed in the generator
|
||||
*/
|
||||
|
||||
(function( window, undefined ) {
|
||||
|
||||
var Globalize;
|
||||
|
||||
if ( typeof require !== "undefined" &&
|
||||
typeof exports !== "undefined" &&
|
||||
typeof module !== "undefined" ) {
|
||||
// Assume CommonJS
|
||||
Globalize = require( "globalize" );
|
||||
} else {
|
||||
// Global variable
|
||||
Globalize = window.Globalize;
|
||||
}
|
||||
|
||||
Globalize.addCultureInfo( "sa-IN", "default", {
|
||||
name: "sa-IN",
|
||||
englishName: "Sanskrit (India)",
|
||||
nativeName: "संस्कृत (भारतम्)",
|
||||
language: "sa",
|
||||
numberFormat: {
|
||||
groupSizes: [3,2],
|
||||
percent: {
|
||||
groupSizes: [3,2]
|
||||
},
|
||||
currency: {
|
||||
pattern: ["$ -n","$ n"],
|
||||
groupSizes: [3,2],
|
||||
symbol: "रु"
|
||||
}
|
||||
},
|
||||
calendars: {
|
||||
standard: {
|
||||
"/": "-",
|
||||
days: {
|
||||
names: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"],
|
||||
namesAbbr: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"],
|
||||
namesShort: ["र","स","म","ब","ग","श","श"]
|
||||
},
|
||||
months: {
|
||||
names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],
|
||||
namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""]
|
||||
},
|
||||
AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"],
|
||||
PM: ["अपराह्न","अपराह्न","अपराह्न"],
|
||||
patterns: {
|
||||
d: "dd-MM-yyyy",
|
||||
D: "dd MMMM yyyy dddd",
|
||||
t: "HH:mm",
|
||||
T: "HH:mm:ss",
|
||||
f: "dd MMMM yyyy dddd HH:mm",
|
||||
F: "dd MMMM yyyy dddd HH:mm:ss",
|
||||
M: "dd MMMM"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}( this ));
|
||||
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,181 @@
|
||||
/// <reference path="http://code.jquery.com/jquery-1.4.1-vsdoc.js" />
|
||||
/*
|
||||
* Print Element Plugin 1.2
|
||||
*
|
||||
* Copyright (c) 2010 Erik Zaadi
|
||||
*
|
||||
* Inspired by PrintArea (http://plugins.jquery.com/project/PrintArea) and
|
||||
* http://stackoverflow.com/questions/472951/how-do-i-print-an-iframe-from-javascript-in-safari-chrome
|
||||
*
|
||||
* Home Page : http://projects.erikzaadi/jQueryPlugins/jQuery.printElement
|
||||
* Issues (bug reporting) : http://github.com/erikzaadi/jQueryPlugins/issues/labels/printElement
|
||||
* jQuery plugin page : http://plugins.jquery.com/project/printElement
|
||||
*
|
||||
* Thanks to David B (http://github.com/ungenio) and icgJohn (http://www.blogger.com/profile/11881116857076484100)
|
||||
* For their great contributions!
|
||||
*
|
||||
* Dual licensed under the MIT and GPL licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* Note, Iframe Printing is not supported in Opera and Chrome 3.0, a popup window will be shown instead
|
||||
*/
|
||||
; (function (window, undefined) {
|
||||
var document = window["document"];
|
||||
var $ = window["jQuery"];
|
||||
$.fn["printElement"] = function (options) {
|
||||
var mainOptions = $.extend({}, $.fn["printElement"]["defaults"], options);
|
||||
//iframe mode is not supported for opera and chrome 3.0 (it prints the entire page).
|
||||
//http://www.google.com/support/forum/p/Webmasters/thread?tid=2cb0f08dce8821c3&hl=en
|
||||
if (mainOptions["printMode"] == 'iframe') {
|
||||
if ($.browser.opera || (/chrome/.test(navigator.userAgent.toLowerCase())))
|
||||
mainOptions["printMode"] = 'popup';
|
||||
}
|
||||
//Remove previously printed iframe if exists
|
||||
$("[id^='printElement_']").remove();
|
||||
|
||||
return this.each(function () {
|
||||
//Support Metadata Plug-in if available
|
||||
var opts = $.meta ? $.extend({}, mainOptions, $(this).data()) : mainOptions;
|
||||
_printElement($(this), opts);
|
||||
});
|
||||
};
|
||||
$.fn["printElement"]["defaults"] = {
|
||||
"printMode": 'iframe', //Usage : iframe / popup
|
||||
"pageTitle": '', //Print Page Title
|
||||
"overrideElementCSS": null,
|
||||
/* Can be one of the following 3 options:
|
||||
* 1 : boolean (pass true for stripping all css linked)
|
||||
* 2 : array of $.fn.printElement.cssElement (s)
|
||||
* 3 : array of strings with paths to alternate css files (optimized for print)
|
||||
*/
|
||||
"printBodyOptions": {
|
||||
"styleToAdd": 'padding:10px;margin:10px;', //style attributes to add to the body of print document
|
||||
"classNameToAdd": '' //css class to add to the body of print document
|
||||
},
|
||||
"leaveOpen": false, // in case of popup, leave the print page open or not
|
||||
"iframeElementOptions": {
|
||||
"styleToAdd": 'border:none;position:absolute;width:0px;height:0px;bottom:0px;left:0px;', //style attributes to add to the iframe element
|
||||
"classNameToAdd": '' //css class to add to the iframe element
|
||||
}
|
||||
};
|
||||
$.fn["printElement"]["cssElement"] = {
|
||||
"href": '',
|
||||
"media": ''
|
||||
};
|
||||
function _printElement(element, opts) {
|
||||
//Create markup to be printed
|
||||
var html = _getMarkup(element, opts);
|
||||
|
||||
var popupOrIframe = null;
|
||||
var documentToWriteTo = null;
|
||||
if (opts["printMode"].toLowerCase() == 'popup') {
|
||||
popupOrIframe = window.open('about:blank', 'printElementWindow', 'width=650,height=440,scrollbars=yes');
|
||||
documentToWriteTo = popupOrIframe.document;
|
||||
}
|
||||
else {
|
||||
//The random ID is to overcome a safari bug http://www.cjboco.com.sharedcopy.com/post.cfm/442dc92cd1c0ca10a5c35210b8166882.html
|
||||
var printElementID = "printElement_" + (Math.round(Math.random() * 99999)).toString();
|
||||
//Native creation of the element is faster..
|
||||
var iframe = document.createElement('IFRAME');
|
||||
$(iframe).attr({
|
||||
style: opts["iframeElementOptions"]["styleToAdd"],
|
||||
id: printElementID,
|
||||
className: opts["iframeElementOptions"]["classNameToAdd"],
|
||||
frameBorder: 0,
|
||||
scrolling: 'no',
|
||||
src: 'about:blank'
|
||||
});
|
||||
document.body.appendChild(iframe);
|
||||
documentToWriteTo = (iframe.contentWindow || iframe.contentDocument);
|
||||
if (documentToWriteTo.document)
|
||||
documentToWriteTo = documentToWriteTo.document;
|
||||
iframe = document.frames ? document.frames[printElementID] : document.getElementById(printElementID);
|
||||
popupOrIframe = iframe.contentWindow || iframe;
|
||||
}
|
||||
focus();
|
||||
documentToWriteTo.open();
|
||||
documentToWriteTo.write(html);
|
||||
documentToWriteTo.close();
|
||||
_callPrint(popupOrIframe);
|
||||
};
|
||||
|
||||
function _callPrint(element) {
|
||||
if (element && element["printPage"])
|
||||
element["printPage"]();
|
||||
else
|
||||
setTimeout(function () {
|
||||
_callPrint(element);
|
||||
}, 50);
|
||||
}
|
||||
|
||||
function _getElementHTMLIncludingFormElements(element) {
|
||||
var $element = $(element);
|
||||
//Radiobuttons and checkboxes
|
||||
$(":checked", $element).each(function () {
|
||||
this.setAttribute('checked', 'checked');
|
||||
});
|
||||
//simple text inputs
|
||||
$("input[type='text']", $element).each(function () {
|
||||
this.setAttribute('value', $(this).val());
|
||||
});
|
||||
$("select", $element).each(function () {
|
||||
var $select = $(this);
|
||||
$("option", $select).each(function () {
|
||||
if ($select.val() == $(this).val())
|
||||
this.setAttribute('selected', 'selected');
|
||||
});
|
||||
});
|
||||
$("textarea", $element).each(function () {
|
||||
//Thanks http://blog.ekini.net/2009/02/24/jquery-getting-the-latest-textvalue-inside-a-textarea/
|
||||
var value = $(this).attr('value');
|
||||
//fix for issue 7 (http://plugins.jquery.com/node/13503 and http://github.com/erikzaadi/jQueryPlugins/issues#issue/7)
|
||||
if ($.browser.mozilla && this.firstChild)
|
||||
this.firstChild.textContent = value;
|
||||
else
|
||||
this.innerHTML = value;
|
||||
});
|
||||
//http://dbj.org/dbj/?p=91
|
||||
var elementHtml = $('<div></div>').append($element.clone()).html();
|
||||
return elementHtml;
|
||||
}
|
||||
|
||||
function _getBaseHref() {
|
||||
var port = (window.location.port) ? ':' + window.location.port : '';
|
||||
return window.location.protocol + '//' + window.location.hostname + port + window.location.pathname;
|
||||
}
|
||||
|
||||
function _getMarkup(element, opts) {
|
||||
var $element = $(element);
|
||||
var elementHtml = _getElementHTMLIncludingFormElements(element);
|
||||
|
||||
var html = new Array();
|
||||
html.push('<html><head><title>' + opts["pageTitle"] + '</title>');
|
||||
if (opts["overrideElementCSS"]) {
|
||||
if (opts["overrideElementCSS"].length > 0) {
|
||||
for (var x = 0; x < opts["overrideElementCSS"].length; x++) {
|
||||
var current = opts["overrideElementCSS"][x];
|
||||
if (typeof (current) == 'string')
|
||||
html.push('<link type="text/css" rel="stylesheet" href="' + current + '" >');
|
||||
else
|
||||
html.push('<link type="text/css" rel="stylesheet" href="' + current["href"] + '" media="' + current["media"] + '" >');
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
$("link", document).filter(function () {
|
||||
return $(this).attr("rel").toLowerCase() == "stylesheet";
|
||||
}).each(function () {
|
||||
html.push('<link type="text/css" rel="stylesheet" href="' + $(this).attr("href") + '" media="' + $(this).attr('media') + '" >');
|
||||
});
|
||||
}
|
||||
//Ensure that relative links work
|
||||
html.push('<base href="' + _getBaseHref() + '" />');
|
||||
html.push('</head><body style="' + opts["printBodyOptions"]["styleToAdd"] + '" class="' + opts["printBodyOptions"]["classNameToAdd"] + '">');
|
||||
html.push('<div class="' + $element.attr('class') + '">' + elementHtml + '</div>');
|
||||
html.push('<script type="text/javascript">function printPage(){focus();print();' + ((!$.browser.opera && !opts["leaveOpen"] && opts["printMode"].toLowerCase() == 'popup') ? 'close();' : '') + '}</script>');
|
||||
html.push('</body></html>');
|
||||
|
||||
return html.join('');
|
||||
};
|
||||
})(window);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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,7 @@
|
||||
/*
|
||||
jQWidgets v4.0.0 (2016-Jan)
|
||||
Copyright (c) 2011-2016 jQWidgets.
|
||||
License: http://jqwidgets.com/license/
|
||||
*/
|
||||
|
||||
(function(a){a.extend(a.jqx._jqxChart.prototype,{_moduleAnnotations:true,_renderAnnotation:function(f,g,c){var j=this.seriesGroups[f];var q=this.renderer;if(isNaN(f)){return}var l=this._get([this.getXAxisDataPointOffset(g.xValue,f),g.x]);var k=this._get([this.getValueAxisDataPointOffset(g.yValue,f),g.y]);var v=this._get([this.getXAxisDataPointOffset(g.xValue2,f),g.x2]);var e=this._get([this.getValueAxisDataPointOffset(g.yValue2,f),g.y2]);if(j.polar||j.spider){var r=this.getPolarDataPointOffset(g.xValue,g.yValue,f);if(r&&!isNaN(r.x)&&!isNaN(r.y)){l=r.x;k=r.y}else{l=g.x;k=g.y}}if(isNaN(k)||isNaN(l)){return false}if(j.orientation=="horizontal"){var w=l;l=k;k=w;w=v;v=e;e=w}if(g.offset){if(!isNaN(g.offset.x)){l+=g.offset.x;v+=g.offset.x}if(!isNaN(g.offset.y)){k+=g.offset.y;e+=g.offset.y}}var p=this._get([g.width,v-l]);var o=this._get([g.height,e-k]);var d;switch(g.type){case"rect":d=q.rect(l,k,p,o);break;case"circle":d=q.rect(l,k,g.radius);break;case"line":d=q.rect(l,k,v,e);break;case"path":d=q.path(g.path);break}q.attr(d,{fill:g.fillColor,stroke:g.lineColor,opacity:this._get([g.fillOpacity,g.opacity]),"stroke-opacity":this._get([g.lineOpacity,g.opacity]),"stroke-width":g.lineWidth,"stroke-dasharray":g.dashStyle||"none"});var u;if(g.text){var m=g.text;var z=0,h=0;if(m.offset){if(!isNaN(m.offset.x)){z+=m.offset.x}if(!isNaN(m.offset.y)){h+=m.offset.y}}u=q.text(m.value,l+z,k+h,NaN,NaN,m.angle,{},m.clip===true,m.horizontalAlignment||"center",m.verticalAlignment||"center",m.rotationPoint||"centermiddle");q.attr(u,{fill:m.fillColor,stroke:m.lineColor,"class":m["class"]})}var b=["click","mouseenter","mouseleave"];var n=this;for(var t=0;t<b.length;t++){var s=this._getEvent(b[t])||b[t];if(d){this.renderer.addHandler(d,s,function(){n._raiseAnnotationEvent(g,s)})}if(u){this.renderer.addHandler(u,s,function(){n._raiseAnnotationEvent(g,s)})}}},_raiseAnnotationEvent:function(b,c){this._raiseEvent("annotation_"+c,{annotation:b})}})})(jqxBaseFramework);
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
jQWidgets v4.0.0 (2016-Jan)
|
||||
Copyright (c) 2011-2016 jQWidgets.
|
||||
License: http://jqwidgets.com/license/
|
||||
*/
|
||||
|
||||
(function(a){a.extend(a.jqx._jqxChart.prototype,{_moduleApi:true,getItemsCount:function(f,b){var d=this.seriesGroups[f];if(!this._isSerieVisible(f,b)){return 0}var e=this._renderData;if(!d||!e||e.length<=f){return 0}var c=d.series[b];if(!c){return 0}return e[f].offsets[b].length},getXAxisRect:function(c){var b=this._renderData;if(!b||b.length<=c){return undefined}if(!b[c].xAxis){return undefined}return b[c].xAxis.rect},getXAxisLabels:function(k){var d=[];var l=this._renderData;if(!l||l.length<=k){return d}l=l[k].xAxis;if(!l){return d}var j=this.seriesGroups[k];if(j.polar||j.spider){for(var e=0;e<l.polarLabels.length;e++){var h=l.polarLabels[e];d.push({offset:{x:h.x,y:h.y},value:h.value})}return d}var c=this._getXAxis(k);var g=this.getXAxisRect(k);var b=c.position=="top"||c.position=="right";var f=j.orientation=="horizontal";for(var e=0;e<l.data.length;e++){if(f){d.push({offset:{x:g.x+(b?0:g.width),y:g.y+l.data.data[e]},value:l.data.xvalues[e]})}else{d.push({offset:{x:g.x+l.data.data[e],y:g.y+(b?g.height:0)},value:l.data.xvalues[e]})}}return d},getValueAxisRect:function(c){var b=this._renderData;if(!b||b.length<=c){return undefined}if(!b[c].valueAxis){return undefined}return b[c].valueAxis.rect},getValueAxisLabels:function(h){var c=[];var j=this._renderData;if(!j||j.length<=h){return c}j=j[h].valueAxis;if(!j){return c}var k=this._getValueAxis(h);var b=k.position=="top"||k.position=="right";var g=this.seriesGroups[h];var e=g.orientation=="horizontal";if(g.polar||g.spider){for(var d=0;d<j.polarLabels.length;d++){var f=j.polarLabels[d];c.push({offset:{x:f.x,y:f.y},value:f.value})}return c}for(var d=0;d<j.items.length;d++){if(e){c.push({offset:{x:j.itemOffsets[j.items[d]].x+j.itemWidth/2,y:j.rect.y+(b?j.rect.height:0)},value:j.items[d]})}else{c.push({offset:{x:j.rect.x+j.rect.width,y:j.itemOffsets[j.items[d]].y+j.itemWidth/2},value:j.items[d]})}}return c},getPlotAreaRect:function(){return this._plotRect},getRect:function(){return this._rect},showToolTip:function(f,c,e,b,d){var g=this.getItemCoord(f,c,e);if(isNaN(g.x)||isNaN(g.y)){return}this._startTooltipTimer(f,c,e,g.x,g.y,b,d)},hideToolTip:function(c){if(isNaN(c)){c=0}var b=this;b._cancelTooltipTimer();setTimeout(function(){b._hideToolTip(0)},c)}})})(jqxBaseFramework);
|
||||
File diff suppressed because one or more lines are too long
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,7 @@
|
||||
/*
|
||||
jQWidgets v4.0.0 (2016-Jan)
|
||||
Copyright (c) 2011-2016 jQWidgets.
|
||||
License: http://jqwidgets.com/license/
|
||||
*/
|
||||
|
||||
(function(a){a.extend(a.jqx._jqxChart.prototype,{_moduleWaterfall:true,_isSummary:function(d,b){var e=this.seriesGroups[d];for(var c=0;c<e.series.length;c++){if(undefined===e.series[c].summary){continue}summaryValue=this._getDataValue(b,e.series[c].summary,d);if(undefined!==summaryValue){return true}}return false},_applyWaterfall:function(x,z,g,f,A,h,C,e,p){var o=this.seriesGroups[g];if(x.length==0){return x}var t=f;var b={};var c=[];var d=undefined;var D=[];for(var v=0;v<o.series.length;v++){D.push(this._isSerieVisible(g,v))}var r={};for(var w=0;w<z;w++){var m=f;var n=0;var l=this._isSummary(g,w);for(var v=0;v<x.length;v++){if(!D[v]){continue}var B=0;if(l){B=m==f?A:0;x[v][w].value=b[v];x[v][w].summary=true;d=x[v][w].value<B;if(e){d=!d}var s=0;if(!isNaN(h)){s=this._getDataPointOffsetDiff(x[v][w].value+n,n==0?A:n,B||A,h,C,f,e)}else{s=this._getDataPointOffsetDiff(x[v][w].value,B,B,NaN,C,f,e)}x[v][w].to=m+(d?s:-s);x[v][w].from=m;if(p){n+=x[v][w].value;m=x[v][w].to}continue}var u=p?-1:v;if(isNaN(x[v][w].value)){continue}if(undefined===r[u]){B=A;r[u]=true}d=x[v][w].value<B;if(e){d=!d}var q=NaN,s=NaN;if(!p){q=w==0?f:x[v][c[v]].to}else{q=t}var s=0;if(!isNaN(h)){s=this._getDataPointOffsetDiff(x[v][w].value+(isNaN(b[u])?0:b[u]),isNaN(b[u])?A:b[u],B||A,h,C,q,e)}else{s=this._getDataPointOffsetDiff(x[v][w].value,B,B,NaN,C,f,e)}x[v][w].to=t=q+(d?s:-s);x[v][w].from=q;if(isNaN(b[u])){b[u]=x[v][w].value}else{b[u]+=x[v][w].value}if(u==-1){if(isNaN(b[v])){b[v]=x[v][w].value}else{b[v]+=x[v][w].value}}if(!p){c[v]=w}}}return x}})})(jqxBaseFramework);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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,7 @@
|
||||
/*
|
||||
jQWidgets v4.0.0 (2016-Jan)
|
||||
Copyright (c) 2011-2016 jQWidgets.
|
||||
License: http://jqwidgets.com/license/
|
||||
*/
|
||||
|
||||
(function(a){a.jqx.jqxWidget("jqxDockPanel","",{});a.extend(a.jqx._jqxDockPanel.prototype,{defineInstance:function(){var b={width:null,height:null,lastchildfill:true,disabled:false,events:["layout"]};a.extend(true,this,b);return b},createInstance:function(c){var b=this;this.host.addClass(this.toThemeProperty("jqx-dockpanel"));this.host.addClass(this.toThemeProperty("jqx-rc-all"));this.childrenCount=a(this.host).children().length;this.host.wrapInner('<div style="overflow: hidden; width: 100%; height: 100%;" class="innerContainer"></div>');this.$wrapper=this.host.find(".innerContainer");this.$wrapper.css("position","relative");this.sizeCache=new Array();this.performLayout();a.jqx.utilities.resize(this.host,function(){b.refresh()})},render:function(){if(this.width!=null&&this.width.toString().indexOf("px")!=-1){this.host.width(this.width)}else{if(this.width!=undefined&&!isNaN(this.width)){this.host.width(this.width)}}if(this.height!=null&&this.height.toString().indexOf("px")!=-1){this.host.height(this.height)}else{if(this.height!=undefined&&!isNaN(this.height)){this.host.height(this.height)}}this.sizeCache=new Array();this.performLayout()},resize:function(c,b){this.width=c;this.height=b;this.render()},performLayout:function(){if(this.disabled){return}var e=this.childrenCount;var d=0;var c=0;var b=0;var h=0;var f=this;var g={width:this.host.width(),height:this.host.height()};if(this.sizeCache.length<this.$wrapper.children().length){a.each(this.$wrapper.children(),function(i){var k=a(this);k.css("position","absolute");var j={width:k.css("width"),height:k.css("height")};f.sizeCache[i]=j})}a.each(this.$wrapper.children(),function(j){var l=this.getAttribute("dock");if(l==undefined){l="left"}if(j==e-1&&f.lastchildfill){l="fill"}var k=a(this);k.css("position","absolute");k.css("width",f.sizeCache[j].width);k.css("height",f.sizeCache[j].height);var i={width:k.outerWidth(),height:k.outerHeight()};var m={x:b,y:h,width:Math.max(0,g.width-(b+d)),height:Math.max(0,g.height-(h+c))};if(j<e){switch(l){case"left":b+=i.width;m.width=i.width;break;case"top":h+=i.height;m.height=i.height;break;case"right":d+=i.width;m.x=Math.max(0,(g.width-d));m.width=i.width;break;case"bottom":c+=i.height;m.y=Math.max(0,(g.height-c));m.height=i.height;break}}k.css("left",m.x);k.css("top",m.y);k.css("width",m.width);k.css("height",m.height)});this._raiseevent(0)},destroy:function(){a.jqx.utilities.resize(this.host,null,true);this.host.remove()},_raiseevent:function(g,d,f){if(this.isInitialized!=undefined&&this.isInitialized==true){var c=this.events[g];var e=new a.Event(c);e.previousValue=d;e.currentValue=f;e.owner=this;var b=this.host.trigger(e);return b}},propertyChangedHandler:function(c,d,b,e){if(!this.isInitialized){return}c.render()},refresh:function(){this.render()}})})(jqxBaseFramework);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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,7 @@
|
||||
/*
|
||||
jQWidgets v4.0.0 (2016-Jan)
|
||||
Copyright (c) 2011-2016 jQWidgets.
|
||||
License: http://jqwidgets.com/license/
|
||||
*/
|
||||
|
||||
(function(a){a.extend(a.jqx._jqxGrid.prototype,{_calculateaggregate:function(g,j,h,c){var f=g.aggregates;if(!f){f=j}if(f){var e=new Array();for(var d=0;d<f.length;d++){if(f[d]=="count"){continue}e[e.length]=g.cellsformat}if(this.source&&this.source.getAggregatedData){if(c==undefined){c=this.getrows()}if(this.virtualmode){var c=new Array();a.each(this.source._source.records,function(){c.push(this)})}if(h==undefined||h==true){var b=this.source.getAggregatedData([{name:g.datafield,aggregates:f,formatStrings:e}],this.gridlocalization,c);return b}else{var b=this.source.getAggregatedData([{name:g.datafield,aggregates:f}],this.gridlocalization,c);return b}}}return null},getcolumnaggregateddata:function(c,g,h,d){var e=this.getcolumn(c);var j=(h==undefined||h==false)?false:h;if(g==null){return""}var b=e.aggregates;e.aggregates=null;var i=this._calculateaggregate(e,g,j,d);var f={};if(i){f=i[c]}e.aggregates=b;return f},refreshaggregates:function(){this._updatecolumnsaggregates()},renderaggregates:function(){this._updateaggregates()},_updatecolumnaggregates:function(d,g,b){var e=this;if(!g){b.children().remove();b.html("");if(d.aggregatesrenderer){var f={};if(d.aggregates){f=this.getcolumnaggregateddata(d.datafield,d.aggregates)}var c=d.aggregatesrenderer({},d,b,null);b.html(c)}return}b.children().remove();b.html("");if(d.aggregatesrenderer){if(g){var c=d.aggregatesrenderer(g[d.datafield],d,b,this.getcolumnaggregateddata(d.datafield,g[d.datafield]));b.html(c)}}else{a.each(g,function(){var i=this;for(f in i){var j=a('<div style="position: relative; margin: 4px; overflow: hidden;"></div>');var h=f;h=e._getaggregatename(h);j.html(h+":"+i[f]);if(e.rtl){j.addClass(e.toThemeProperty("jqx-rtl"))}b.append(j)}})}},_getaggregatetype:function(c){switch(c){case"min":case"max":case"count":case"avg":case"product":case"var":case"varp":case"stdev":case"stdevp":case"sum":return c}var b=c;for(var d in c){b=d;break}return b},_getaggregatename:function(c){var b=c;switch(c){case"min":b="Min";break;case"max":b="Max";break;case"count":b="Count";break;case"avg":b="Avg";break;case"product":b="Product";break;case"var":b="Var";break;case"stdevp":b="StDevP";break;case"stdev":b="StDev";break;case"varp":b="VarP";case"sum":b="Sum";break}if(c===b&&typeof(b)!="string"){for(var d in c){b=d;break}}return b},_updatecolumnsaggregates:function(){var f=this.getrows();var b=this.columns.records.length;if(undefined!=this.statusbar[0].cells){for(var e=0;e<b;e++){var g=a(this.statusbar[0].cells[e]);var d=this.columns.records[e];var c=this._calculateaggregate(d,null,true,f);this._updatecolumnaggregates(d,c,g)}}},_updateaggregates:function(){var b=a('<div style="position: relative;" id="statusrow'+this.element.id+'"></div>');var f=0;var l=this.columns.records.length;var k=this.toThemeProperty("jqx-grid-cell");if(this.rtl){k+=" "+this.toThemeProperty("jqx-grid-cell-rtl");f=-1}k+=" "+this.toThemeProperty("jqx-grid-cell-pinned");var m=l+10;var n=new Array();this.statusbar[0].cells=n;var o=this.getrows();for(var g=0;g<l;g++){var e=this.columns.records[g];var h=this._calculateaggregate(e,e.aggregates,true,o);var c=e.width;if(c<e.minwidth){c=e.minwidth}if(c>e.maxwidth){c=e.maxwidth}var d=k;if(e.cellsalign){d+=" "+this.toThemeProperty("jqx-"+e.cellsalign+"-align")}var i=a('<div style="overflow: hidden; position: absolute; height: 100%;" class="'+d+'"></div>');b.append(i);i.css("left",f);if(!this.rtl){i.css("z-index",m--)}else{i.css("z-index",m++)}i.width(c);i[0].left=f;if(!(e.hidden&&e.hideable)){f+=c}else{i.css("display","none")}n[n.length]=i[0];this._updatecolumnaggregates(e,h,i)}if(a.jqx.browser.msie&&a.jqx.browser.version<8){b.css("z-index",m--)}b.width(parseFloat(f)+2);b.height(this.statusbarheight);this.statusbar.children().remove();this.statusbar.append(b);this.statusbar.removeClass(this.toThemeProperty("jqx-widget-header"));this.statusbar.addClass(k);this.statusbar.css("border-bottom-color","transparent");this.statusbar.css("border-top-width","1px");if(this.rtl&&this.hScrollBar.css("visibility")!="hidden"){this._renderhorizontalscroll()}this._arrange()}})})(jqxBaseFramework);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user