Initial Upload
506
ui/src/vendor/calendar/css/calendar.css
vendored
Normal file
@@ -0,0 +1,506 @@
|
||||
[class*="cal-cell"] {
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
min-height: 1px;
|
||||
}
|
||||
.cal-row-fluid {
|
||||
width: 100%;
|
||||
*zoom: 1;
|
||||
}
|
||||
.cal-row-fluid:before,
|
||||
.cal-row-fluid:after {
|
||||
display: table;
|
||||
content: "";
|
||||
line-height: 0;
|
||||
}
|
||||
.cal-row-fluid:after {
|
||||
clear: both;
|
||||
}
|
||||
.cal-row-fluid [class*="cal-cell"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
margin-left: 0%;
|
||||
*margin-left: -0.05213764337851929%;
|
||||
}
|
||||
.cal-row-fluid [class*="cal-cell"]:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.cal-row-fluid .controls-row [class*="cal-cell"] + [class*="cal-cell"] {
|
||||
margin-left: 0%;
|
||||
}
|
||||
.cal-row-fluid .cal-cell7 {
|
||||
width: 100%;
|
||||
*width: 99.94669509594883%;
|
||||
}
|
||||
.cal-row-fluid .cal-cell6 {
|
||||
width: 85.71428571428571%;
|
||||
*width: 85.66098081023453%;
|
||||
}
|
||||
.cal-row-fluid .cal-cell5 {
|
||||
width: 71.42857142857142%;
|
||||
*width: 71.37526652452024%;
|
||||
}
|
||||
.cal-row-fluid .cal-cell4 {
|
||||
width: 57.14285714285714%;
|
||||
*width: 57.089552238805965%;
|
||||
}
|
||||
.cal-row-fluid .cal-cell3 {
|
||||
width: 42.857142857142854%;
|
||||
*width: 42.80383795309168%;
|
||||
}
|
||||
.cal-row-fluid .cal-cell2 {
|
||||
width: 28.57142857142857%;
|
||||
*width: 28.518123667377395%;
|
||||
}
|
||||
.cal-row-fluid .cal-cell1 {
|
||||
width: 14.285714285714285%;
|
||||
*width: 14.232409381663112%;
|
||||
}
|
||||
.cal-week-box .cal-offset7,
|
||||
.cal-row-fluid .cal-offset7,
|
||||
.cal-row-fluid .cal-offset7:first-child {
|
||||
margin-left: 100%;
|
||||
*margin-left: 99.89339019189765%;
|
||||
}
|
||||
.cal-week-box .cal-offset6,
|
||||
.cal-row-fluid .cal-offset6,
|
||||
.cal-row-fluid .cal-offset6:first-child {
|
||||
margin-left: 85.71428571428571%;
|
||||
*margin-left: 85.60767590618336%;
|
||||
}
|
||||
.cal-week-box .cal-offset5,
|
||||
.cal-row-fluid .cal-offset5,
|
||||
.cal-row-fluid .cal-offset5:first-child {
|
||||
margin-left: 71.42857142857142%;
|
||||
*margin-left: 71.32196162046907%;
|
||||
}
|
||||
.cal-week-box .cal-offset4,
|
||||
.cal-row-fluid .cal-offset4,
|
||||
.cal-row-fluid .cal-offset4:first-child {
|
||||
margin-left: 57.14285714285714%;
|
||||
*margin-left: 57.03624733475479%;
|
||||
}
|
||||
.cal-week-box .cal-offset3,
|
||||
.cal-row-fluid .cal-offset3,
|
||||
.cal-row-fluid .cal-offset3:first-child {
|
||||
margin-left: 42.857142857142854%;
|
||||
*margin-left: 42.750533049040506%;
|
||||
}
|
||||
.cal-week-box .cal-offset2,
|
||||
.cal-row-fluid .cal-offset2,
|
||||
.cal-row-fluid .cal-offset2:first-child {
|
||||
margin-left: 28.57142857142857%;
|
||||
*margin-left: 28.46481876332622%;
|
||||
}
|
||||
.cal-week-box .cal-offset1,
|
||||
.cal-row-fluid .cal-offset1,
|
||||
.cal-row-fluid .cal-offset1:first-child {
|
||||
margin-left: 14.285714285714285%;
|
||||
*margin-left: 14.17910447761194%;
|
||||
}
|
||||
.cal-row-fluid .cal-cell1 {
|
||||
width: 14.285714285714285%;
|
||||
*width: 14.233576642335766%;
|
||||
}
|
||||
[class*="cal-cell"].hide,
|
||||
.cal-row-fluid [class*="cal-cell"].hide {
|
||||
display: none;
|
||||
}
|
||||
[class*="cal-cell"].pull-right,
|
||||
.cal-row-fluid [class*="cal-cell"].pull-right {
|
||||
float: right;
|
||||
}
|
||||
.cal-row-head [class*="cal-cell"]:first-child,
|
||||
.cal-row-head [class*="cal-cell"] {
|
||||
min-height: auto;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.cal-events-num {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.cal-month-day {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
#cal-week-box {
|
||||
position: absolute;
|
||||
width: 70px;
|
||||
left: -71px;
|
||||
top: -1px;
|
||||
padding: 8px 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
#cal-day-tick {
|
||||
position: absolute;
|
||||
right: 50%;
|
||||
bottom: -21px;
|
||||
padding: 0px 5px;
|
||||
cursor: pointer;
|
||||
z-index: 5;
|
||||
text-align: center;
|
||||
width: 26px;
|
||||
margin-right: -17px;
|
||||
}
|
||||
.cal-year-box #cal-day-tick {
|
||||
margin-right: -7px;
|
||||
}
|
||||
#cal-slide-box {
|
||||
position: relative;
|
||||
}
|
||||
#cal-slide-tick {
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
margin-left: -7px;
|
||||
height: 9px;
|
||||
top: -1px;
|
||||
z-index: 1;
|
||||
}
|
||||
#cal-slide-tick.tick-month1 {
|
||||
left: 12.5%;
|
||||
}
|
||||
#cal-slide-tick.tick-month2 {
|
||||
left: 37.5%;
|
||||
}
|
||||
#cal-slide-tick.tick-month3 {
|
||||
left: 62.5%;
|
||||
}
|
||||
#cal-slide-tick.tick-month4 {
|
||||
left: 87.5%;
|
||||
}
|
||||
#cal-slide-tick.tick-day1 {
|
||||
left: 7.14285714285715%;
|
||||
}
|
||||
#cal-slide-tick.tick-day2 {
|
||||
left: 21.42857142857143%;
|
||||
}
|
||||
#cal-slide-tick.tick-day3 {
|
||||
left: 35.71428571428572%;
|
||||
}
|
||||
#cal-slide-tick.tick-day4 {
|
||||
left: 50%;
|
||||
}
|
||||
#cal-slide-tick.tick-day5 {
|
||||
left: 64.2857142857143%;
|
||||
}
|
||||
#cal-slide-tick.tick-day6 {
|
||||
left: 78.57142857142859%;
|
||||
}
|
||||
#cal-slide-tick.tick-day7 {
|
||||
left: 92.85714285714285%;
|
||||
}
|
||||
.events-list {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
#cal-slide-content ul.unstyled {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.cal-week-box {
|
||||
position: relative;
|
||||
}
|
||||
.cal-week-box [data-event-class] {
|
||||
white-space: nowrap;
|
||||
height: 30px;
|
||||
margin: 1px 1px;
|
||||
line-height: 30px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.cal-week-box .cal-column {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
.cal-week-box .arrow-before,
|
||||
.cal-week-box .arrow-after {
|
||||
position: relative;
|
||||
}
|
||||
.cal-week-box .arrow-after:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
right: 0;
|
||||
border-top: 15px solid #ffffff;
|
||||
border-left: 8px solid;
|
||||
border-bottom: 15px solid #FFFFFF;
|
||||
}
|
||||
.cal-week-box .arrow-before:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
left: 1px;
|
||||
border-top: 15px solid transparent;
|
||||
border-left: 8px solid #FFFFFF;
|
||||
border-bottom: 15px solid transparent;
|
||||
}
|
||||
#cal-day-box {
|
||||
text-wrap: none;
|
||||
}
|
||||
#cal-day-box .cal-day-hour-part {
|
||||
height: 30px;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
border-bottom: thin dashed #e1e1e1;
|
||||
}
|
||||
#cal-day-box .cal-day-hour .day-highlight {
|
||||
height: 30px;
|
||||
}
|
||||
#cal-day-box .cal-hours {
|
||||
font-weight: bolder;
|
||||
}
|
||||
#cal-day-box .cal-day-hour:nth-child(odd) {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
#cal-day-box #cal-day-panel {
|
||||
position: relative;
|
||||
padding-left: 60px;
|
||||
}
|
||||
#cal-day-box #cal-day-panel-hour {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
margin-left: -60px;
|
||||
}
|
||||
#cal-day-box .day-event {
|
||||
position: relative;
|
||||
max-width: 200px;
|
||||
overflow: hidden;
|
||||
}
|
||||
#cal-day-box .day-highlight {
|
||||
line-height: 30px;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
border: 1px solid #c3c3c3;
|
||||
margin: 1px 1px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
#cal-day-box .day-highlight.dh-event-important {
|
||||
border: 1px solid #ad2121;
|
||||
}
|
||||
#cal-day-box .day-highlight.dh-event-warning {
|
||||
border: 1px solid #e3bc08;
|
||||
}
|
||||
#cal-day-box .day-highlight.dh-event-info {
|
||||
border: 1px solid #1e90ff;
|
||||
}
|
||||
#cal-day-box .day-highlight.dh-event-inverse {
|
||||
border: 1px solid #1b1b1b;
|
||||
}
|
||||
#cal-day-box .day-highlight.dh-event-success {
|
||||
border: 1px solid #006400;
|
||||
}
|
||||
#cal-day-box .day-highlight.dh-event-special {
|
||||
background-color: #ffe6ff;
|
||||
border: 1px solid #800080;
|
||||
}
|
||||
.event {
|
||||
display: block;
|
||||
}
|
||||
.event-block {
|
||||
display: block;
|
||||
background-color: #c3c3c3;
|
||||
width: 20px;
|
||||
height: 100%;
|
||||
}
|
||||
.cal-event-list .event.pull-left {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.event-important {
|
||||
color: #ad2121;
|
||||
}
|
||||
.event-info {
|
||||
color: #1e90ff;
|
||||
}
|
||||
.event-warning {
|
||||
color: #e3bc08;
|
||||
}
|
||||
.event-inverse {
|
||||
color: #1b1b1b;
|
||||
}
|
||||
.event-success {
|
||||
color: #006400;
|
||||
}
|
||||
.event-special {
|
||||
color: #800080;
|
||||
}
|
||||
.day-highlight:hover,
|
||||
.day-highlight {
|
||||
background-color: #dddddd;
|
||||
}
|
||||
.day-highlight.dh-event-important:hover,
|
||||
.day-highlight.dh-event-important {
|
||||
background-color: #fae3e3;
|
||||
}
|
||||
.day-highlight.dh-event-warning:hover,
|
||||
.day-highlight.dh-event-warning {
|
||||
background-color: #fdf1ba;
|
||||
}
|
||||
.day-highlight.dh-event-info:hover,
|
||||
.day-highlight.dh-event-info {
|
||||
background-color: #d1e8ff;
|
||||
}
|
||||
.day-highlight.dh-event-inverse:hover,
|
||||
.day-highlight.dh-event-inverse {
|
||||
background-color: #c1c1c1;
|
||||
}
|
||||
.day-highlight.dh-event-success:hover,
|
||||
.day-highlight.dh-event-success {
|
||||
background-color: #caffca;
|
||||
}
|
||||
.day-highlight.dh-event-special:hover,
|
||||
.day-highlight.dh-event-special {
|
||||
background-color: #ffe6ff;
|
||||
}
|
||||
.cal-row-head [class*="cal-cell"]:first-child,
|
||||
.cal-row-head [class*="cal-cell"] {
|
||||
font-weight: bolder;
|
||||
text-align: center;
|
||||
border: 0px solid;
|
||||
padding: 5px 0;
|
||||
}
|
||||
.cal-row-head [class*="cal-cell"] small {
|
||||
font-weight: normal;
|
||||
}
|
||||
.cal-year-box .row-fluid:hover,
|
||||
.cal-row-fluid:hover {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
.cal-month-day {
|
||||
height: 100px;
|
||||
}
|
||||
[class*="cal-cell"]:hover {
|
||||
background-color: #ededed;
|
||||
}
|
||||
.cal-year-box [class*="span"],
|
||||
.cal-month-box [class*="cal-cell"] {
|
||||
min-height: 100px;
|
||||
border-right: 1px solid #e1e1e1;
|
||||
position: relative;
|
||||
}
|
||||
.cal-year-box [class*="span"] {
|
||||
min-height: 60px;
|
||||
}
|
||||
.cal-year-box .row-fluid [class*="span"]:last-child,
|
||||
.cal-month-box .cal-row-fluid [class*="cal-cell"]:last-child {
|
||||
border-right: 0px;
|
||||
}
|
||||
.cal-year-box .row-fluid,
|
||||
.cal-month-box .cal-row-fluid {
|
||||
border-bottom: 1px solid #e1e1e1;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
.cal-year-box .row-fluid:last-child,
|
||||
.cal-month-box .cal-row-fluid:last-child {
|
||||
border-bottom: 0px;
|
||||
}
|
||||
.cal-month-box,
|
||||
.cal-year-box,
|
||||
.cal-week-box {
|
||||
border-top: 1px solid #e1e1e1;
|
||||
border-bottom: 1px solid #e1e1e1;
|
||||
border-right: 1px solid #e1e1e1;
|
||||
border-left: 1px solid #e1e1e1;
|
||||
border-radius: 2px;
|
||||
}
|
||||
span[data-cal-date] {
|
||||
font-size: 1.2em;
|
||||
font-weight: normal;
|
||||
opacity: 0.5;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease-in-out;
|
||||
-webkit-transition: all 0.1s ease-in-out;
|
||||
-moz-transition: all 0.1s ease-in-out;
|
||||
-ms-transition: all 0.1s ease-in-out;
|
||||
-o-transition: all 0.1s ease-in-out;
|
||||
margin-top: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
span[data-cal-date]:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.cal-day-outmonth span[data-cal-date] {
|
||||
opacity: 0.1;
|
||||
cursor: default;
|
||||
}
|
||||
.cal-day-today {
|
||||
background-color: #e8fde7;
|
||||
}
|
||||
.cal-day-today span[data-cal-date] {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cal-month-box .cal-day-today span[data-cal-date] {
|
||||
font-size: 1.9em;
|
||||
}
|
||||
.cal-day-holiday span[data-cal-date] {
|
||||
color: #800080;
|
||||
}
|
||||
.cal-day-weekend span[data-cal-date] {
|
||||
color: darkred;
|
||||
}
|
||||
#cal-week-box {
|
||||
border: 1px solid #e1e1e1;
|
||||
border-right: 0px;
|
||||
border-radius: 5px 0 0 5px;
|
||||
background-color: #fafafa;
|
||||
text-align: right;
|
||||
}
|
||||
#cal-day-tick {
|
||||
border: 1px solid #e1e1e1;
|
||||
border-top: 0px solid;
|
||||
border-radius: 0 0 5px 5px;
|
||||
background-color: #ededed;
|
||||
text-align: center;
|
||||
}
|
||||
#cal-slide-box {
|
||||
border-top: 0px solid #8c8c8c;
|
||||
}
|
||||
#cal-slide-content {
|
||||
padding: 20px;
|
||||
color: #ffffff;
|
||||
background-image: url("../img/dark_wood.png");
|
||||
-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
#cal-slide-tick {
|
||||
background-image: url("../img/tick.png?2");
|
||||
}
|
||||
#cal-slide-content:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
#cal-slide-content a.event-item {
|
||||
color: #ffffff;
|
||||
font-weight: normal;
|
||||
line-height: 22px;
|
||||
}
|
||||
.events-list {
|
||||
max-height: 47px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
.cal-column {
|
||||
border-left: 1px solid #e1e1e1;
|
||||
}
|
||||
a.cal-event-week {
|
||||
text-decoration: none;
|
||||
color: #151515;
|
||||
}
|
||||
.badge-important {
|
||||
background-color: #b94a48;
|
||||
}
|
||||
1
ui/src/vendor/calendar/css/calendar.min.css
vendored
Normal file
BIN
ui/src/vendor/calendar/img/dark_wood.png
vendored
Normal file
|
After Width: | Height: | Size: 132 KiB |
BIN
ui/src/vendor/calendar/img/slide-bg.png
vendored
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
ui/src/vendor/calendar/img/tick.png
vendored
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
1611
ui/src/vendor/calendar/js/calendar-jalali.js
vendored
Normal file
1464
ui/src/vendor/calendar/js/calendar.js
vendored
Normal file
63
ui/src/vendor/calendar/js/language/ar.js
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['ar'] = {
|
||||
error_noview: 'التقويم: العرض {0} غير موجود',
|
||||
error_dateformat: 'التقويم: تنسيق خاطئ للتاريخ {0}. يجب أن يكون التاريخ "الآن" أو "yyyy-mm-dd"',
|
||||
error_loadurl: 'التقويم: لم يتم تحديد رابط الحدث',
|
||||
error_where: 'التقويم: اتجاه تصفح خاطئ {0}. يجب أن يحتوي فقط على "التالي" أو "السابق" أو "اليوم"',
|
||||
error_timedevide: 'التقويم: تقسيم الوقت يجب أن يمكن قسمة 60 عليه بدون باقي . مثل 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'لا يوجد أحداث في هذا اليوم',
|
||||
|
||||
title_year: 'العام {0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'الأسبوع {0} من {1}',
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week:'الأسبوع {0}',
|
||||
all_day: 'كامل اليوم',
|
||||
time: 'الوقت',
|
||||
events: 'الأحداث',
|
||||
before_time: 'ينتهي قبل الخط الزمني',
|
||||
after_time: 'يبدء بعد الخط الزمني',
|
||||
|
||||
m0: 'يناير',
|
||||
m1: 'فبراير',
|
||||
m2: 'مارس',
|
||||
m3: 'أبريل',
|
||||
m4: 'مايو',
|
||||
m5: 'يونيو',
|
||||
m6: 'يوليو',
|
||||
m7: 'أغسطس',
|
||||
m8: 'سبتمبر',
|
||||
m9: 'أكتوبر',
|
||||
m10: 'نوفمبر',
|
||||
m11: 'ديسمبر',
|
||||
|
||||
ms0: 'يناير',
|
||||
ms1: 'فبراير',
|
||||
ms2: 'مارس',
|
||||
ms3: 'أبريل',
|
||||
ms4: 'مايو',
|
||||
ms5: 'يونيو',
|
||||
ms6: 'يوليو',
|
||||
ms7: 'أغسطس',
|
||||
ms8: 'سبتمبر',
|
||||
ms9: 'أكتوبر',
|
||||
ms10: 'نوفمبر',
|
||||
ms11: 'ديسمبر',
|
||||
|
||||
d0: 'الأحد',
|
||||
d1: 'الإثنين',
|
||||
d2: 'الثلاثاء',
|
||||
d3: 'الأربعاء',
|
||||
d4: 'الخميس',
|
||||
d5: 'الجمعة',
|
||||
d6: 'السبت',
|
||||
|
||||
first_day: 2,
|
||||
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
110
ui/src/vendor/calendar/js/language/bg.js
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
// If you want to suggest a new language you can use this file as a template.
|
||||
// To reduce the file size you should remove the comment lines (the ones that start with // )
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
// Here you define the language and Country code. Replace en-US with your own.
|
||||
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
|
||||
window.calendar_languages['bg'] = {
|
||||
error_noview: 'Календар: Изглед {0} не беше открит',
|
||||
error_dateformat: 'Календар: Грешен формат за дата {0}. Трябва да бъде или "now", или "yyyy-mm-dd"',
|
||||
error_loadurl: 'Календар: URL адресът на събитието не е зададен',
|
||||
error_where: 'Календар: Грешна посока {0}. Може да бъде зададено само "next", "prev", или "today"',
|
||||
error_timedevide: 'Календар: Параметърът за разделяне на времето трябва да може да се дели на 60, без остатък. Например 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Няма събития за този ден.',
|
||||
|
||||
// {0} will be replaced with the year (example: 2013)
|
||||
title_year: '{0}',
|
||||
// {0} will be replaced with the month name (example: September)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_month: '{0} {1}',
|
||||
// {0} will be replaced with the week number (example: 37)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_week: 'Седмица {0} от {1}',
|
||||
// {0} will be replaced with the weekday name (example: Thursday)
|
||||
// {1} will be replaced with the day of the month (example: 12)
|
||||
// {2} will be replaced with the month name (example: September)
|
||||
// {3} will be replaced with the year (example: 2013)
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week: 'Седмица {0}',
|
||||
all_day: 'Цял ден',
|
||||
time: 'Часове',
|
||||
events: 'Събития',
|
||||
before_time: 'Приключва преди времевата линия',
|
||||
after_time: 'Започва след началото на времевата линия',
|
||||
|
||||
m0: 'януари',
|
||||
m1: 'февруари',
|
||||
m2: 'март',
|
||||
m3: 'април',
|
||||
m4: 'май',
|
||||
m5: 'юни',
|
||||
m6: 'юли',
|
||||
m7: 'август',
|
||||
m8: 'септември',
|
||||
m9: 'октомври',
|
||||
m10: 'ноември',
|
||||
m11: 'декември',
|
||||
|
||||
ms0: 'яну',
|
||||
ms1: 'фев',
|
||||
ms2: 'мар',
|
||||
ms3: 'апр',
|
||||
ms4: 'май',
|
||||
ms5: 'юни',
|
||||
ms6: 'юли',
|
||||
ms7: 'авг',
|
||||
ms8: 'сеп',
|
||||
ms9: 'окт',
|
||||
ms10: 'ное',
|
||||
ms11: 'дек',
|
||||
|
||||
d0: 'неделя',
|
||||
d1: 'понеделник',
|
||||
d2: 'вторник',
|
||||
d3: 'сряда',
|
||||
d4: 'четвъртък',
|
||||
d5: 'петък',
|
||||
d6: 'събота',
|
||||
|
||||
// Which is the first day of the week (2 for sunday, 1 for monday)
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
// The list of the holidays.
|
||||
// Each holiday has a date definition and a name (in your language)
|
||||
// For instance:
|
||||
// holidays: {
|
||||
// 'date': 'name',
|
||||
// 'date': 'name',
|
||||
// ...
|
||||
// 'date': 'name' //No ending comma for the last holiday
|
||||
// }
|
||||
// The format of the date may be one of the following:
|
||||
// # For a holiday recurring every year in the same day: 'dd-mm' (dd is the day of the month, mm is the month). For example: '25-12'.
|
||||
// # For a holiday that exists only in one specific year: 'dd-mm-yyyy' (dd is the day of the month, mm is the month, yyyy is the year). For example: '31-01-2013'
|
||||
// # For Easter: use simply 'easter'
|
||||
// # For holidays that are based on the Easter date: 'easter+offset in days'.
|
||||
// Some examples:
|
||||
// - 'easter-2' is Good Friday (2 days before Easter)
|
||||
// - 'easter+1' is Easter Monday (1 day after Easter)
|
||||
// - 'easter+39' is the Ascension Day
|
||||
// - 'easter+49' is Pentecost
|
||||
// # For holidays that are on a specific weekday after the beginning of a month: 'mm+n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Second (2) Monday (1) in October (10): '10+2*1'
|
||||
// # For holidays that are on a specific weekday before the ending of a month: 'mm-n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Last (1) Saturnday (6) in Match (03): '03-1*6'
|
||||
// - Last (1) Monday (1) in May (05): '05-1*1'
|
||||
// # You can also specify a holiday that lasts more than one day. To do that use the format 'start>end' where 'start' and 'end' are specified as above.
|
||||
// For example:
|
||||
// - From 1 January to 6 January: '01-01>06-01'
|
||||
// - Easter and the day after Easter: 'easter>easter+1'
|
||||
// Limitations: currently the multi-day holydays can't cross an year. So, for example, you can't specify a range as '30-12>01-01'; as a workaround you can specify two distinct holidays (for instance '30-12>31-12' and '01-01').
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
69
ui/src/vendor/calendar/js/language/bs.js
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
|
||||
window.calendar_languages['bs'] = {
|
||||
error_noview: 'Kalendar: View {0} nije pronađen',
|
||||
error_dateformat: 'Kalendar: Pogrešan format datuma {0}. Trebao bi biti ili "now" ili "yyyy-mm-dd"',
|
||||
error_loadurl: 'Kalendar: URL za događaje nije definisan',
|
||||
error_where: 'Kalendar: Pogrešna naredba za navigaciju {0}. Dozvoljene navigacije su "next", "prev" ili "today"',
|
||||
error_timedevide: 'Kalendar: Parametar za dijeljenje vremena mora broj 60 dijeliti bez ostatka. Dozvoljeni parametri su npr. 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Na ovaj dan nema događaja.',
|
||||
|
||||
title_year: '{0}. godina',
|
||||
title_month: '{0} {1}',
|
||||
title_week: '{0}. sedmica u {1}. godini',
|
||||
title_day: '{0}, {1}. {2} {3}.',
|
||||
|
||||
week: 'Sedmica {0}',
|
||||
all_day: 'Cijeli dan',
|
||||
time: 'Vrijeme',
|
||||
events: 'Događaj',
|
||||
before_time: 'Završava prije',
|
||||
after_time: 'Započinje nakon',
|
||||
|
||||
m0: 'Januar',
|
||||
m1: 'Februar',
|
||||
m2: 'Mart',
|
||||
m3: 'April',
|
||||
m4: 'Maj',
|
||||
m5: 'Juni',
|
||||
m6: 'Juli',
|
||||
m7: 'August',
|
||||
m8: 'Septembar',
|
||||
m9: 'Oktobar',
|
||||
m10: 'Novembar',
|
||||
m11: 'Decembar',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Maj',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Nedelja',
|
||||
d1: 'Ponedeljak',
|
||||
d2: 'Utorak',
|
||||
d3: 'Srijeda',
|
||||
d4: 'Četvrtak',
|
||||
d5: 'Petak',
|
||||
d6: 'Subota',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
"01-01>02-01": "Nova godina",
|
||||
"01-03": "Dan nezavisnosti Bosne i Hercegovine",
|
||||
"01-05>02-05": "Praznik rada",
|
||||
"25-11": "Dan državnosti Bosne i Hercegovine"
|
||||
}
|
||||
};
|
||||
81
ui/src/vendor/calendar/js/language/ca.js
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['ca'] = {
|
||||
error_noview: 'Calendari: Vista {0} no trobada',
|
||||
error_dateformat: 'Calendari: Format de data invàlid {0}. Ha de ser "now" o "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendari: URL de càrrega d\'esdeveniments no configurada',
|
||||
error_where: 'Calendari: Adreça de navegació incorrecta {0}. Els valors correctes són "next" o "prev" o "today"',
|
||||
error_timedevide: 'Calendari: paràmetre per al separador d\'hora ha de dividir 60 per un sencer. Per exemple 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Avui no hi ha esdeveniments',
|
||||
|
||||
title_year: 'Any {0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'Setmana {0} del {1}',
|
||||
title_day: '{0} {1} {2} {3}',
|
||||
|
||||
week: 'Setmana {0}',
|
||||
all_day: 'Tot el dia',
|
||||
time: 'Temps',
|
||||
events: 'Desenvolupament',
|
||||
before_time: 'Temps abans de la línia de temps',
|
||||
after_time: 'Fi després d\'una línia de temps',
|
||||
|
||||
m0: 'Gener',
|
||||
m1: 'Febrer',
|
||||
m2: 'Març',
|
||||
m3: 'Abril',
|
||||
m4: 'Maig',
|
||||
m5: 'Juny',
|
||||
m6: 'Juliol',
|
||||
m7: 'Agost',
|
||||
m8: 'Setembre',
|
||||
m9: 'Octubre',
|
||||
m10: 'Novembre',
|
||||
m11: 'Desembre',
|
||||
|
||||
ms0: 'Gen',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Març',
|
||||
ms3: 'Abr',
|
||||
ms4: 'Maig',
|
||||
ms5: 'Juny',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Ag',
|
||||
ms8: 'Set',
|
||||
ms9: 'Oct',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Des',
|
||||
|
||||
d0: 'Diumenge',
|
||||
d1: 'Dilluns',
|
||||
d2: 'Dimarts',
|
||||
d3: 'Dimecres',
|
||||
d4: 'Dijous',
|
||||
d5: 'Divendres',
|
||||
d6: 'Dissabte',
|
||||
|
||||
easter: 'Pasqües',
|
||||
easterMonday: 'Dilluns de Pasqües',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': "Any nou",
|
||||
'06-01': "Dia de Reis",
|
||||
'19-03': "San Josep",
|
||||
'easter-3': "Dijous Sant",
|
||||
'easter-2': "Divendres Sant",
|
||||
'easter': "Pasqua",
|
||||
'easter+1': "Dilluns de Pasqua",
|
||||
'01-05': "Dia del Treballador",
|
||||
'15-08': "Asunció",
|
||||
'12-10': "Festa Nacional d'Espanya",
|
||||
'01-11': "Dia de tots Sants",
|
||||
'06-12': "Día de la Constitución Espanyola",
|
||||
'08-12': "Inmaculada Concepció",
|
||||
'25-12': "Nadal"
|
||||
}
|
||||
};
|
||||
110
ui/src/vendor/calendar/js/language/cs.js
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
// If you want to suggest a new language you can use this file as a template.
|
||||
// To reduce the file size you should remove the comment lines (the ones that start with // )
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
// Here you define the language and Country code. Replace en-US with your own.
|
||||
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
|
||||
window.calendar_languages['cs'] = {
|
||||
error_noview: 'Kalendář: Pohled {0} nebyl nalezen',
|
||||
error_dateformat: 'Kalendář: Chybný formát data {0}. Zvolte "now" nebo "yyyy-mm-dd"',
|
||||
error_loadurl: 'Kalendář: Není vyplněno URL události',
|
||||
error_where: 'Kalendář: Chyba navigace {0}. Can be only "next" or "prev" or "today"',
|
||||
error_timedevide: 'Kalendář: Rozdělení času musí být dělitelem 60 beze zbytku. Například 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Dnes žádné události.',
|
||||
|
||||
// {0} will be replaced with the year (example: 2013)
|
||||
title_year: '{0}',
|
||||
// {0} will be replaced with the month name (example: September)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_month: '{0} {1}',
|
||||
// {0} will be replaced with the week number (example: 37)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_week: 'týden {0} of {1}',
|
||||
// {0} will be replaced with the weekday name (example: Thursday)
|
||||
// {1} will be replaced with the day of the month (example: 12)
|
||||
// {2} will be replaced with the month name (example: September)
|
||||
// {3} will be replaced with the year (example: 2013)
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week: 'Týden {0}',
|
||||
all_day: 'Celý den',
|
||||
time: 'Čas',
|
||||
events: 'Události',
|
||||
before_time: 'Ends before timeline',
|
||||
after_time: 'Starts after timeline',
|
||||
|
||||
m0: 'Leden',
|
||||
m1: 'Únor',
|
||||
m2: 'Březen',
|
||||
m3: 'Duben',
|
||||
m4: 'Květen',
|
||||
m5: 'Červen',
|
||||
m6: 'Červenec',
|
||||
m7: 'Srpen',
|
||||
m8: 'Září',
|
||||
m9: 'Říjen',
|
||||
m10: 'Listopad',
|
||||
m11: 'Prosinec',
|
||||
|
||||
ms0: 'Led',
|
||||
ms1: 'Úno',
|
||||
ms2: 'Bře',
|
||||
ms3: 'Dub',
|
||||
ms4: 'Kvě',
|
||||
ms5: 'Čer',
|
||||
ms6: 'Črv',
|
||||
ms7: 'Srp',
|
||||
ms8: 'Zář',
|
||||
ms9: 'Říj',
|
||||
ms10: 'Lis',
|
||||
ms11: 'Pro',
|
||||
|
||||
d0: 'Neděle',
|
||||
d1: 'Pondělí',
|
||||
d2: 'Úterý',
|
||||
d3: 'Středa',
|
||||
d4: 'Čtvrtek',
|
||||
d5: 'Pátek',
|
||||
d6: 'Sobota',
|
||||
|
||||
// Which is the first day of the week (2 for sunday, 1 for monday)
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
// The list of the holidays.
|
||||
// Each holiday has a date definition and a name (in your language)
|
||||
// For instance:
|
||||
// holidays: {
|
||||
// 'date': 'name',
|
||||
// 'date': 'name',
|
||||
// ...
|
||||
// 'date': 'name' //No ending comma for the last holiday
|
||||
// }
|
||||
// The format of the date may be one of the following:
|
||||
// # For a holiday recurring every year in the same day: 'dd-mm' (dd is the day of the month, mm is the month). For example: '25-12'.
|
||||
// # For a holiday that exists only in one specific year: 'dd-mm-yyyy' (dd is the day of the month, mm is the month, yyyy is the year). For example: '31-01-2013'
|
||||
// # For Easter: use simply 'easter'
|
||||
// # For holidays that are based on the Easter date: 'easter+offset in days'.
|
||||
// Some examples:
|
||||
// - 'easter-2' is Good Friday (2 days before Easter)
|
||||
// - 'easter+1' is Easter Monday (1 day after Easter)
|
||||
// - 'easter+39' is the Ascension Day
|
||||
// - 'easter+49' is Pentecost
|
||||
// # For holidays that are on a specific weekday after the beginning of a month: 'mm+n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Second (2) Monday (1) in October (10): '10+2*1'
|
||||
// # For holidays that are on a specific weekday before the ending of a month: 'mm-n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Last (1) Saturnday (6) in Match (03): '03-1*6'
|
||||
// - Last (1) Monday (1) in May (05): '05-1*1'
|
||||
// # You can also specify a holiday that lasts more than one day. To do that use the format 'start>end' where 'start' and 'end' are specified as above.
|
||||
// For example:
|
||||
// - From 1 January to 6 January: '01-01>06-01'
|
||||
// - Easter and the day after Easter: 'easter>easter+1'
|
||||
// Limitations: currently the multi-day holydays can't cross an year. So, for example, you can't specify a range as '30-12>01-01'; as a workaround you can specify two distinct holidays (for instance '30-12>31-12' and '01-01').
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
75
ui/src/vendor/calendar/js/language/da.js
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['da'] = {
|
||||
error_noview: 'Kalender: View {0} ikke fundet',
|
||||
error_dateformat: 'Kalender: Forkert dato format {0}. Det skal enten være "now" eller "åååå-mm-dd"',
|
||||
error_loadurl: 'Kalender: Aktivitet URL ikke angivet',
|
||||
error_where: 'Kalender: Forkert navigering {0}. Du kan kun bruge "next" eller "prev" eller "today"',
|
||||
error_timedevide: 'Kalender: Time split parameter skal være dividerbart med 60 uden decimaler. Noget ala 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Ingen aktiviteret på denne dag.',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'uge {0} af {1}',
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week:'Uge {0}',
|
||||
all_day: 'Hele dagen',
|
||||
time: 'Time',
|
||||
events: 'Aktivitet',
|
||||
before_time: 'Slutter før tidslinje',
|
||||
after_time: 'Starter efer tidslinje',
|
||||
|
||||
m0: 'Januar',
|
||||
m1: 'Februar',
|
||||
m2: 'Marst',
|
||||
m3: 'April',
|
||||
m4: 'Maj',
|
||||
m5: 'Juni',
|
||||
m6: 'Juli',
|
||||
m7: 'August',
|
||||
m8: 'September',
|
||||
m9: 'Oktober',
|
||||
m10: 'November',
|
||||
m11: 'December',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Maj',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Søndag',
|
||||
d1: 'Mandag',
|
||||
d2: 'Tirsdag',
|
||||
d3: 'Onsdag',
|
||||
d4: 'Torsdag',
|
||||
d5: 'Fredag',
|
||||
d6: 'Lørdag',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01':'Nytårsdag',
|
||||
'easter-3':'Skærtorsdag',
|
||||
'easter-2':'Langfredag',
|
||||
'easter':'Påskedag',
|
||||
'easter+1':'2. Påskedag',
|
||||
'easter+26':'Store bededag',
|
||||
'easter+39':'Kristi himmelfartsdag',
|
||||
'easter+49':'Pinsedag',
|
||||
'easter+50':'2. Pinsedag',
|
||||
'25-12':'Juledag',
|
||||
'26-12':'2. Juledag'
|
||||
}
|
||||
};
|
||||
80
ui/src/vendor/calendar/js/language/de-AT.js
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['de-AT'] = {
|
||||
error_noview: 'Kalender: Ansicht {0} nicht gefunden',
|
||||
error_dateformat: 'Kalender: Falsches Datumsformat {0}. Sollte entweder "now" oder "yyyy-mm-dd" sein',
|
||||
error_loadurl: 'Kalender: Event-URL nicht gesetzt.',
|
||||
error_where: 'Kalender: Falsche Navigationsrichtung {0}. Nur "next", "prev" oder "today" sind erlaubt',
|
||||
error_timedevide: 'Kalender: Parameter für die Zeiteinteilung muss ein Teiler von 60 sein. Beispielsweise 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Keine Ereignisse an diesem Tag.',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: '{0}. Kalenderwoche {1}',
|
||||
title_day: '{0}, der {1}. {2} {3}',
|
||||
|
||||
week: 'KW {0}',
|
||||
all_day: 'Ganztägig',
|
||||
time: 'Zeit',
|
||||
events: 'Ereignisse',
|
||||
before_time: 'Endet vor Zeitspanne',
|
||||
after_time: 'Beginnt nach Zeitspanne',
|
||||
|
||||
m0: 'Jänner',
|
||||
m1: 'Februar',
|
||||
m2: 'März',
|
||||
m3: 'April',
|
||||
m4: 'Mai',
|
||||
m5: 'Juni',
|
||||
m6: 'Juli',
|
||||
m7: 'August',
|
||||
m8: 'September',
|
||||
m9: 'Oktober',
|
||||
m10: 'November',
|
||||
m11: 'Dezember',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mär',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Mai',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dez',
|
||||
|
||||
d0: 'Sonntag',
|
||||
d1: 'Montag',
|
||||
d2: 'Dienstag',
|
||||
d3: 'Mittwoch',
|
||||
d4: 'Donnerstag',
|
||||
d5: 'Freitag',
|
||||
d6: 'Samstag',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': 'Neujahr',
|
||||
'06-01': 'Heilige Drei Könige',
|
||||
'easter-2': 'Karfreitag',
|
||||
'easter+1': 'Ostermontag',
|
||||
'01-05': 'Staatsfeiertag',
|
||||
'easter+39': 'Christi Himmelfahrt',
|
||||
'easter+49': 'Pfingstsonntag',
|
||||
'easter+50': 'Pfingstmontag',
|
||||
'15-08': 'Mariä Himmelfahrt',
|
||||
'26-10': 'Nationalfeiertag',
|
||||
'01-11': 'Allerheiligen',
|
||||
'08-12': 'Mariä Empfängnis',
|
||||
'24-12': 'Heiliger Abend',
|
||||
'25-12': 'Weihnachten',
|
||||
'26-12': 'Stefanitag',
|
||||
'31-12': 'Silvester'
|
||||
}
|
||||
};
|
||||
79
ui/src/vendor/calendar/js/language/de.js
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['de'] = {
|
||||
error_noview: 'Kalender: Ansicht {0} nicht gefunden',
|
||||
error_dateformat: 'Kalender: Falsches Datumsformat {0}. Sollte entweder "now" oder "yyyy-mm-dd" sein',
|
||||
error_loadurl: 'Kalender: Event-URL nicht gesetzt.',
|
||||
error_where: 'Kalender: Falsche Navigationsrichtung {0}. Nur "next", "prev" oder "today" sind erlaubt',
|
||||
error_timedevide: 'Kalender: Parameter für die Zeiteinteilung muss ein Teiler von 60 sein. Beispielsweise 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Keine Ereignisse an diesem Tag.',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: '{0}. Kalenderwoche {1}',
|
||||
title_day: '{0}, der {1}. {2} {3}',
|
||||
|
||||
week: 'KW {0}',
|
||||
all_day: 'Ganztägig',
|
||||
time: 'Zeit',
|
||||
events: 'Ereignisse',
|
||||
before_time: 'Endet vor Zeitspanne',
|
||||
after_time: 'Beginnt nach Zeitspanne',
|
||||
|
||||
m0: 'Januar',
|
||||
m1: 'Februar',
|
||||
m2: 'März',
|
||||
m3: 'April',
|
||||
m4: 'Mai',
|
||||
m5: 'Juni',
|
||||
m6: 'Juli',
|
||||
m7: 'August',
|
||||
m8: 'September',
|
||||
m9: 'Oktober',
|
||||
m10: 'November',
|
||||
m11: 'Dezember',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mär',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Mai',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dez',
|
||||
|
||||
d0: 'Sonntag',
|
||||
d1: 'Montag',
|
||||
d2: 'Dienstag',
|
||||
d3: 'Mittwoch',
|
||||
d4: 'Donnerstag',
|
||||
d5: 'Freitag',
|
||||
d6: 'Samstag',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': 'Neujahr',
|
||||
'06-01': 'Heilige Drei Könige',
|
||||
'easter-3': 'Gründonnerstag',
|
||||
'easter-2': 'Karfreitag',
|
||||
'easter': 'Ostersonntag',
|
||||
'easter+1': 'Ostermontag',
|
||||
'01-05': 'Tag der Arbeit',
|
||||
'easter+39': 'Himmelfahrt',
|
||||
'easter+49': 'Pfingstsonntag',
|
||||
'easter+50': 'Pfingstmontag',
|
||||
'15-08': 'Mariä Himmelfahrt',
|
||||
'03-10': 'Tag der Deutschen Einheit',
|
||||
'01-11': 'Allerheiligen',
|
||||
'25-12': 'Erster Weihnachtsfeiertag',
|
||||
'26-12': 'Zweiter Weihnachtsfeiertag'
|
||||
}
|
||||
};
|
||||
81
ui/src/vendor/calendar/js/language/el.js
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['el'] = {
|
||||
error_noview: 'Ημερολόγιο: Η προβολή {0} δεν βρέθηκε',
|
||||
error_dateformat: 'Ημερολόγιο: Η μορφή της ημερομηνίας {0} δεν είναι έγκυρη. Παρακαλώ χρησιμοποιήστε "now" ή "yyyy-mm-dd"',
|
||||
error_loadurl: 'Ημερολόγιο: Η διεύθυνση λήψης των event δεν έχει καθοριστεί',
|
||||
error_where: 'Ημερολόγιο: Η μορφή κατεύθυνσης {0} δεν είναι έγκυρη. Παρακαλώ χρησιμοποιήστε μία εκ των "next", "prev" και "today"',
|
||||
error_timedevide: 'Ημερολόγιο: παράμετρος στο διαχωριστή χρόνου πρέπει να διαιρέσει το 60 με έναν ακέραιο αριθμό. Για παράδειγμα 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Δεν υπάρχουν καταχωρήσεις σε αυτήν την ημέρα.',
|
||||
|
||||
title_year: 'Έτος {0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'Εβδομάδα {0} του έτους {1}',
|
||||
title_day: '{0} {1} {2} {3}',
|
||||
|
||||
week: 'Εβδομάδα {0}',
|
||||
all_day: 'Όλη την ημέρα',
|
||||
time: 'χρόνος',
|
||||
events: 'εξελίξεις',
|
||||
before_time: 'Ώρα πριν από το τέλος της ταινίας',
|
||||
after_time: 'Τερματισμός μετά από μια προσωρινή ταινία',
|
||||
|
||||
m0: 'Ιανουάριος',
|
||||
m1: 'Φεβρουάριος',
|
||||
m2: 'Μάρτιος',
|
||||
m3: 'Απρίλιος',
|
||||
m4: 'Μάϊος',
|
||||
m5: 'Ιούνιος',
|
||||
m6: 'Ιούλιος',
|
||||
m7: 'Αύγουστος',
|
||||
m8: 'Σεπτέμβριος',
|
||||
m9: 'Οκτώβριος',
|
||||
m10: 'Νοέμβριος',
|
||||
m11: 'Δεκέμβριος',
|
||||
|
||||
ms0: 'Ιαν',
|
||||
ms1: 'Φεβ',
|
||||
ms2: 'Μαρ',
|
||||
ms3: 'Απρ',
|
||||
ms4: 'Μαϊ',
|
||||
ms5: 'Ιουν',
|
||||
ms6: 'Ιουλ',
|
||||
ms7: 'Αυγ',
|
||||
ms8: 'Σεπ',
|
||||
ms9: 'Οκτ',
|
||||
ms10: 'Νοε',
|
||||
ms11: 'Δεκ',
|
||||
|
||||
d0: 'Κυριακή',
|
||||
d1: 'Δευτέρα',
|
||||
d2: 'Τρίτη',
|
||||
d3: 'Τετάρτη',
|
||||
d4: 'Πέμπτη',
|
||||
d5: 'Παρασκευή',
|
||||
d6: 'Σάββατο',
|
||||
|
||||
easter: 'Πάσχα',
|
||||
easterMonday: 'Δευτέρα του Πάσχα',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': "Πρωτοχρονιά",
|
||||
'06-01': "Θεοφάνεια",
|
||||
'easter-41': "Καθαρά Δευτέρα",
|
||||
'23-03': "Εικοστή Πέμπτη Μαρτιου",
|
||||
'easter-2': "Μεγάλη Παρασκευή",
|
||||
'easter': "Κυριακή του Πάσχα",
|
||||
'easter+1': "Δευτέρα του Πάσχα",
|
||||
'01-05': "Εργατική Πρωτομαγιά",
|
||||
'easter+49': "Πεντηκοστή",
|
||||
'easter+50': "Αγίου Πνεύματος",
|
||||
'15-08': "Η Κοίμηση της Θεοτόκου",
|
||||
'28-10': "Ημέρα του Όχι",
|
||||
'25-12': "Χριστούγεννα",
|
||||
'26-12': "Σύναξις Ὑπεραγίας Θεοτόκου Μαρίας"
|
||||
}
|
||||
};
|
||||
111
ui/src/vendor/calendar/js/language/en-GB.js
vendored
Normal file
@@ -0,0 +1,111 @@
|
||||
// If you want to suggest a new language you can use this file as a template.
|
||||
// To reduce the file size you should remove the comment lines (the ones that start with // )
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
// Here you define the language and Country code. Replace en-US with your own.
|
||||
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
|
||||
window.calendar_languages['en-GB'] = {
|
||||
error_noview: 'Calendar: View {0} not found',
|
||||
error_dateformat: 'Calendar: Wrong date format {0}. Should be either "now" or "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendar: Event URL is not set',
|
||||
error_where: 'Calendar: Wrong navigation direction {0}. Can be only "next" or "prev" or "today"',
|
||||
error_timedevide: 'Calendar: Time split parameter should divide 60 without decimals. Something like 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'No events in this day.',
|
||||
|
||||
// {0} will be replaced with the year (example: 2013)
|
||||
title_year: '{0}',
|
||||
// {0} will be replaced with the month name (example: September)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_month: '{0} {1}',
|
||||
// {0} will be replaced with the week number (example: 37)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_week: 'week {0} of {1}',
|
||||
// {0} will be replaced with the weekday name (example: Thursday)
|
||||
// {1} will be replaced with the day of the month (example: 12)
|
||||
// {2} will be replaced with the month name (example: September)
|
||||
// {3} will be replaced with the year (example: 2013)
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week:'Week {0}',
|
||||
all_day: 'All day',
|
||||
time: 'Time',
|
||||
events: 'Events',
|
||||
before_time: 'Ends before timeline',
|
||||
after_time: 'Starts after timeline',
|
||||
|
||||
m0: 'January',
|
||||
m1: 'February',
|
||||
m2: 'March',
|
||||
m3: 'April',
|
||||
m4: 'May',
|
||||
m5: 'June',
|
||||
m6: 'July',
|
||||
m7: 'August',
|
||||
m8: 'September',
|
||||
m9: 'October',
|
||||
m10: 'November',
|
||||
m11: 'December',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'May',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Oct',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Sunday',
|
||||
d1: 'Monday',
|
||||
d2: 'Tuesday',
|
||||
d3: 'Wednesday',
|
||||
d4: 'Thursday',
|
||||
d5: 'Friday',
|
||||
d6: 'Saturday',
|
||||
|
||||
// Which is the first day of the week (2 for sunday, 1 for monday)
|
||||
first_day: 1,
|
||||
// Week numbering according to ISO 8601 (if false, week 1 starts with January 1st)
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
// The list of the holidays.
|
||||
// Each holiday has a date definition and a name (in your language)
|
||||
// For instance:
|
||||
// holidays: {
|
||||
// 'date': 'name',
|
||||
// 'date': 'name',
|
||||
// ...
|
||||
// 'date': 'name' //No ending comma for the last holiday
|
||||
// }
|
||||
// The format of the date may be one of the following:
|
||||
// # For a holiday recurring every year in the same day: 'dd-mm' (dd is the day of the month, mm is the month). For example: '25-12'.
|
||||
// # For a holiday that exists only in one specific year: 'dd-mm-yyyy' (dd is the day of the month, mm is the month, yyyy is the year). For example: '31-01-2013'
|
||||
// # For Easter: use simply 'easter'
|
||||
// # For holidays that are based on the Easter date: 'easter+offset in days'.
|
||||
// Some examples:
|
||||
// - 'easter-2' is Good Friday (2 days before Easter)
|
||||
// - 'easter+1' is Easter Monday (1 day after Easter)
|
||||
// - 'easter+39' is the Ascension Day
|
||||
// - 'easter+49' is Pentecost
|
||||
// # For holidays that are on a specific weekday after the beginning of a month: 'mm+n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Second (2) Monday (1) in October (10): '10+2*1'
|
||||
// # For holidays that are on a specific weekday before the ending of a month: 'mm-n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Last (1) Saturnday (6) in Match (03): '03-1*6'
|
||||
// - Last (1) Monday (1) in May (05): '05-1*1'
|
||||
// # You can also specify a holiday that lasts more than one day. To do that use the format 'start>end' where 'start' and 'end' are specified as above.
|
||||
// For example:
|
||||
// - From 1 January to 6 January: '01-01>06-01'
|
||||
// - Easter and the day after Easter: 'easter>easter+1'
|
||||
// Limitations: currently the multi-day holydays can't cross an year. So, for example, you can't specify a range as '30-12>01-01'; as a workaround you can specify two distinct holidays (for instance '30-12>31-12' and '01-01').
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
110
ui/src/vendor/calendar/js/language/es-CO.js
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['es-CO'] = {
|
||||
error_noview: 'Calendar: Vista {0} no encontrada',
|
||||
error_dateformat: 'Calendar: Formato de Fecha Inválido {0}. Debe ser "now" o con el formato "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendar: URL de datos no definida',
|
||||
error_where: 'Calendar: Dirección de navegación errónea {0}. Valores válidos: "next" o "prev" o "today"',
|
||||
error_timedevide: 'Calendario: parámetro para el separador de hora debe dividir 60 por un entero. Por ejemplo 10, 15, 30',
|
||||
|
||||
title_year: 'Año {0}',
|
||||
title_month: '{0} año {1}',
|
||||
title_week: '{0} semana del año {1}',
|
||||
title_day: '{0} {1} {2} año {3}',
|
||||
|
||||
week: 'Semana {0}',
|
||||
all_day: 'Todo el día',
|
||||
time: 'Hora',
|
||||
events: 'Eventos',
|
||||
before_time: 'Cita antes de la hora de atención',
|
||||
after_time: 'Cita después de la hora de atención',
|
||||
|
||||
|
||||
m0: 'Enero',
|
||||
m1: 'Febrero',
|
||||
m2: 'Marzo',
|
||||
m3: 'Abril',
|
||||
m4: 'Mayo',
|
||||
m5: 'Junio',
|
||||
m6: 'Julio',
|
||||
m7: 'Agosto',
|
||||
m8: 'Septiembre',
|
||||
m9: 'Octubre',
|
||||
m10: 'Noviembre',
|
||||
m11: 'Diciembre',
|
||||
|
||||
ms0: 'Ene',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Abr',
|
||||
ms4: 'May',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Ago',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Oct',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dic',
|
||||
|
||||
d0: 'Domingo',
|
||||
d1: 'Lunes',
|
||||
d2: 'Martes',
|
||||
d3: 'Miércoles',
|
||||
d4: 'Jueves',
|
||||
d5: 'Viernes',
|
||||
d6: 'Sábado',
|
||||
|
||||
easter: 'Semana Santa',
|
||||
easterMonday: 'Lunes de Pascua',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
// for 2014
|
||||
"01-01": "Año Nuevo",
|
||||
"06-01": "Día de los Reyes Magos",
|
||||
"24-03": "Día de San José",
|
||||
"13-04": "Domingo de Ramos",
|
||||
"17-04": "Jueves Santo",
|
||||
"18-04": "Viernes Santo",
|
||||
"20-04": "Domingo de Resurrección",
|
||||
"01-05": "Día del Trabajo",
|
||||
"02-06": "Día de la Ascensión",
|
||||
"23-06": "Corpus Christi",
|
||||
"30-06": "Sagrado Corazón",
|
||||
"30-06": "San Pedro y San Pablo",
|
||||
"20-07": "Día de la Independenci",
|
||||
"07-08": "Batalla de Boyaca",
|
||||
"18-08": "La asunción de la Virgen",
|
||||
"13-10": "Día de la Raza",
|
||||
"03-11": "Todos los Santo",
|
||||
"17-11": "Independencia de Cartagena",
|
||||
"08-12": "Día de la Inmaculada Concepción",
|
||||
"25-12": "Día de Navidad"
|
||||
/* For 2015
|
||||
"01-01": "Año Nuevo",
|
||||
"12-01": "Día de los Reyes Magos",
|
||||
"23-03": "Día de San José",
|
||||
"29-03": "Domingo de Ramos",
|
||||
"02-04": "Jueves Santo",
|
||||
"03-04": "Viernes Santo",
|
||||
"05-04": "Domingo de Resurrección",
|
||||
"01-05": "Día del Trabajo",
|
||||
"18-05": "Día de la Ascensión",
|
||||
"08-06": "Corpus Christi",
|
||||
"15-06": "Sagrado Corazón",
|
||||
"29-06": "San Pedro y San Pablo",
|
||||
"20-07": "Día de la Independencia",
|
||||
"07-08": "Batalla de Boyacá",
|
||||
"17-08": "La asunción de la Virgen",
|
||||
"12-10": "Día de la Raza",
|
||||
"02-10": "Todos los Santos",
|
||||
"16-10": "Independencia de Cartagena",
|
||||
"08-12": "Día de la Inmaculada Concepción",
|
||||
"25-12": "Día de Navidad"
|
||||
*/
|
||||
}
|
||||
|
||||
};
|
||||
73
ui/src/vendor/calendar/js/language/es-MX.js
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['es-MX'] = {
|
||||
error_noview: 'Calendar: Vista {0} no encontrada',
|
||||
error_dateformat: 'Calendar: Formato de Fecha Inválido {0}. Debe ser "now" o con el formato "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendar: URL de datos no definida',
|
||||
error_where: 'Calendar: Dirección de navegación errónea {0}. Valores válidos: "next" o "prev" o "today"',
|
||||
error_timedevide: 'Calendario: parámetro para el separador de hora debe dividir 60 por un entero. Por ejemplo 10, 15, 30',
|
||||
|
||||
title_year: 'Año {0}',
|
||||
title_month: '{0} año {1}',
|
||||
title_week: '{0} semana del año {1}',
|
||||
title_day: '{0} {1} {2} año {3}',
|
||||
|
||||
week: 'Semana {0}',
|
||||
all_day: 'Todo el día',
|
||||
time: 'Tiempo',
|
||||
events: 'Desarrollos',
|
||||
before_time: 'Tiempo antes de la cinta final',
|
||||
after_time: 'Fin después de una cinta temporal',
|
||||
|
||||
|
||||
m0: 'Enero',
|
||||
m1: 'Febrero',
|
||||
m2: 'Marzo',
|
||||
m3: 'Abril',
|
||||
m4: 'Mayo',
|
||||
m5: 'Junio',
|
||||
m6: 'Julio',
|
||||
m7: 'Agosto',
|
||||
m8: 'Septiembre',
|
||||
m9: 'Octubre',
|
||||
m10: 'Noviembre',
|
||||
m11: 'Diciembre',
|
||||
|
||||
ms0: 'Ene',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Abr',
|
||||
ms4: 'May',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Ago',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Oct',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dic',
|
||||
|
||||
d0: 'Domingo',
|
||||
d1: 'Lunes',
|
||||
d2: 'Martes',
|
||||
d3: 'Miércoles',
|
||||
d4: 'Jueves',
|
||||
d5: 'Viernes',
|
||||
d6: 'Sábado',
|
||||
|
||||
easter: 'Pascuas',
|
||||
easterMonday: 'Lunes de Pascuas',
|
||||
|
||||
first_day: 2,
|
||||
|
||||
holidays: {
|
||||
'01-01': "Año Nuevo",
|
||||
'05-02': "Día de la Constitución",
|
||||
'21-03': "Natalicio de Benito Juárez",
|
||||
'01-05': "Día del Trabajo",
|
||||
'16-09': "Día de la Independencia",
|
||||
'20-11': "Día de la Revolución",
|
||||
'01-12': "Transmisión del Poder Ejecutivo Federal",
|
||||
'25-12': "Navidad"
|
||||
}
|
||||
};
|
||||
81
ui/src/vendor/calendar/js/language/es.js
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['es'] = {
|
||||
error_noview: 'Calendario: Vista {0} no encontrada',
|
||||
error_dateformat: 'Calendario: Formato de fecha inválido {0}. Debe ser "now" o "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendario: URL de carga de eventos no configurada',
|
||||
error_where: 'Calendario: Dirección de navegación incorrecta {0}. Los valores correctos son "next" o "prev" o "today"',
|
||||
error_timedevide: 'Calendario: parámetro para el separador de hora debe dividir 60 por un entero. Por ejemplo 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'No hay eventos hoy',
|
||||
|
||||
title_year: 'Año {0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'Semana {0} del {1}',
|
||||
title_day: '{0} {1} {2} {3}',
|
||||
|
||||
week: 'Semana {0}',
|
||||
all_day: 'Todo el día',
|
||||
time: 'Tiempo',
|
||||
events: 'Eventos',
|
||||
before_time: 'Horas previas',
|
||||
after_time: 'Horas posteriores',
|
||||
|
||||
m0: 'Enero',
|
||||
m1: 'Febrero',
|
||||
m2: 'Marzo',
|
||||
m3: 'Abril',
|
||||
m4: 'Mayo',
|
||||
m5: 'Junio',
|
||||
m6: 'Julio',
|
||||
m7: 'Agosto',
|
||||
m8: 'Septiembre',
|
||||
m9: 'Octubre',
|
||||
m10: 'Noviembre',
|
||||
m11: 'Diciembre',
|
||||
|
||||
ms0: 'Ene',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Abr',
|
||||
ms4: 'May',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Ago',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Oct',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dic',
|
||||
|
||||
d0: 'Domingo',
|
||||
d1: 'Lunes',
|
||||
d2: 'Martes',
|
||||
d3: 'Miércoles',
|
||||
d4: 'Jueves',
|
||||
d5: 'Viernes',
|
||||
d6: 'Sábado',
|
||||
|
||||
easter: 'Pascua',
|
||||
easterMonday: 'Lunes de Pascua',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': "Año Nuevo",
|
||||
'06-01': "Día de Reyes",
|
||||
'19-03': "San José",
|
||||
'easter-3': "Jueves Santo",
|
||||
'easter-2': "Viernes Santo",
|
||||
'easter': "Pascua",
|
||||
'easter+1': "Lunes de Pascua",
|
||||
'01-05': "Día del Trabajador",
|
||||
'15-08': "Asunción",
|
||||
'12-10': "Fiesta Nacional de España",
|
||||
'01-11': "Día de todos los Santos",
|
||||
'06-12': "Día de la Constitución",
|
||||
'08-12': "Inmaculada Concepción",
|
||||
'25-12': "Navidad"
|
||||
}
|
||||
};
|
||||
123
ui/src/vendor/calendar/js/language/fi.js
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
// If you want to suggest a new language you can use this file as a template.
|
||||
// To reduce the file size you should remove the comment lines (the ones that start with // )
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
// Here you define the language and Country code. Replace en-US with your own.
|
||||
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
|
||||
window.calendar_languages['fi'] = {
|
||||
error_noview: 'Kalenteri: {0} näkymää ei löytynyt',
|
||||
error_dateformat: 'Kalenteri: väärä päivämääräformaatti {0}. Oikea formaatti on "yyyy-mm-dd"',
|
||||
error_loadurl: 'Kalenteri: Tapahtuman osoitetta ei ole asetettu',
|
||||
error_where: 'Kalenteri: Väärä navigointisuunta {0}. Suunta voi olla vain "seuraava" tai "edellinen" or "tänään"',
|
||||
error_timedevide: 'Kalenteri: Aikajaon tulee olla alle 60 ja kokonaisluku, kuten 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Ei tapahtumia.',
|
||||
|
||||
// {0} will be replaced with the year (example: 2013)
|
||||
title_year: '{0}',
|
||||
// {0} will be replaced with the month name (example: September)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_month: '{0} {1}',
|
||||
// {0} will be replaced with the week number (example: 37)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_week: 'viikko {0}/{1}',
|
||||
// {0} will be replaced with the weekday name (example: Thursday)
|
||||
// {1} will be replaced with the day of the month (example: 12)
|
||||
// {2} will be replaced with the month name (example: September)
|
||||
// {3} will be replaced with the year (example: 2013)
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week: 'Viikko',
|
||||
all_day: 'Koko päivä',
|
||||
time: 'Aika',
|
||||
events: 'Tapahtumat',
|
||||
before_time: 'Loppu ennen aikajanaa',
|
||||
after_time: 'Alkaa aikajanan jälkeen',
|
||||
|
||||
m0: 'Tammikuu',
|
||||
m1: 'Helmikuu',
|
||||
m2: 'Maaliskuu',
|
||||
m3: 'Huhtikuu',
|
||||
m4: 'Toukokuu',
|
||||
m5: 'Kesäkuu',
|
||||
m6: 'Heinäkuu',
|
||||
m7: 'Elokuu',
|
||||
m8: 'Syyskuu',
|
||||
m9: 'Lokakuu',
|
||||
m10: 'Marraskuu',
|
||||
m11: 'Joulukuu',
|
||||
|
||||
ms0: 'Tammi',
|
||||
ms1: 'Helmi',
|
||||
ms2: 'Maalis',
|
||||
ms3: 'Huhti',
|
||||
ms4: 'Touko',
|
||||
ms5: 'Kesä',
|
||||
ms6: 'Heinä',
|
||||
ms7: 'Elo',
|
||||
ms8: 'Syys',
|
||||
ms9: 'Loka',
|
||||
ms10: 'Marras',
|
||||
ms11: 'Joulu',
|
||||
|
||||
d0: 'Sunnuntai',
|
||||
d1: 'Maanantai',
|
||||
d2: 'Tiistai',
|
||||
d3: 'Keskiviikko',
|
||||
d4: 'Torstai',
|
||||
d5: 'Perjantai',
|
||||
d6: 'Lauantai',
|
||||
|
||||
// Which is the first day of the week (2 for sunday, 1 for monday)
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
// The list of the holidays.
|
||||
// Each holiday has a date definition and a name (in your language)
|
||||
// For instance:
|
||||
// holidays: {
|
||||
// 'date': 'name',
|
||||
// 'date': 'name',
|
||||
// ...
|
||||
// 'date': 'name' //No ending comma for the last holiday
|
||||
// }
|
||||
// The format of the date may be one of the following:
|
||||
// # For a holiday recurring every year in the same day: 'dd-mm' (dd is the day of the month, mm is the month). For example: '25-12'.
|
||||
// # For a holiday that exists only in one specific year: 'dd-mm-yyyy' (dd is the day of the month, mm is the month, yyyy is the year). For example: '31-01-2013'
|
||||
// # For Easter: use simply 'easter'
|
||||
// # For holidays that are based on the Easter date: 'easter+offset in days'.
|
||||
// Some examples:
|
||||
// - 'easter-2' is Good Friday (2 days before Easter)
|
||||
// - 'easter+1' is Easter Monday (1 day after Easter)
|
||||
// - 'easter+39' is the Ascension Day
|
||||
// - 'easter+49' is Pentecost
|
||||
// # For holidays that are on a specific weekday after the beginning of a month: 'mm+n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Second (2) Monday (1) in October (10): '10+2*1'
|
||||
// # For holidays that are on a specific weekday before the ending of a month: 'mm-n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Last (1) Saturnday (6) in Match (03): '03-1*6'
|
||||
// - Last (1) Monday (1) in May (05): '05-1*1'
|
||||
// # You can also specify a holiday that lasts more than one day. To do that use the format 'start>end' where 'start' and 'end' are specified as above.
|
||||
// For example:
|
||||
// - From 1 January to 6 January: '01-01>06-01'
|
||||
// - Easter and the day after Easter: 'easter>easter+1'
|
||||
// Limitations: currently the multi-day holydays can't cross an year. So, for example, you can't specify a range as '30-12>01-01'; as a workaround you can specify two distinct holidays (for instance '30-12>31-12' and '01-01').
|
||||
holidays: {
|
||||
// January 1, 6
|
||||
'01-01': "Uudenvuodenpäivä",
|
||||
'06-01': "Loppiainen",
|
||||
'easter-2': "Pitkäperjantai",
|
||||
'easter': "Pääsiäispäivä",
|
||||
'easter+1': "2. pääsiäispäivä",
|
||||
'easter+39': "Helatorstai",
|
||||
'easter+49': "Helluntaipäivä",
|
||||
'01-05': "Vappu",
|
||||
'06-12': "Itsenäisyyspäivä",
|
||||
'24-12': "Jouluaatto",
|
||||
'25-12': "Joulupäivä",
|
||||
'26-12': "Tapaninpäivä"
|
||||
}
|
||||
};
|
||||
75
ui/src/vendor/calendar/js/language/fr.js
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['fr'] = {
|
||||
error_noview: 'Calendrier: Vue {0} introuvable',
|
||||
error_dateformat: 'Calendrier: Format de date incorrect {0}. Formats acceptés : "now" ou "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendrier: L\'adresse de chargement des évènements n\'est pas définie',
|
||||
error_where: 'Calendrier: Mauvaise commande de navigation {0}. Commandes acceptées : "suivant", "précédent" or "aujourd\'hui"',
|
||||
error_timedevide: 'Calendrier: La valeur des espaces-temps doit diviser 60 avec une valeur exacte. Par exemple 10, 15, 30',
|
||||
|
||||
title_year: 'Année {0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'Semaine {0}',
|
||||
title_day: '{0} {1} {2} {3}',
|
||||
|
||||
week: 'Semaine {0}',
|
||||
all_day: 'Toute la journée',
|
||||
time: 'Heure',
|
||||
events: 'Evènements',
|
||||
before_time: 'Se terminant avant le début de plage horaire',
|
||||
after_time: 'Se terminant après la fin de la plage horaire',
|
||||
|
||||
m0: 'Janvier',
|
||||
m1: 'Février',
|
||||
m2: 'Mars',
|
||||
m3: 'Avril',
|
||||
m4: 'Mai',
|
||||
m5: 'Juin',
|
||||
m6: 'Juillet',
|
||||
m7: 'Août',
|
||||
m8: 'Septembre',
|
||||
m9: 'Octobre',
|
||||
m10: 'Novembre',
|
||||
m11: 'Décembre',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Fév',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Avr',
|
||||
ms4: 'Mai',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aoû',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Oct',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Déc',
|
||||
|
||||
d0: 'Dimanche',
|
||||
d1: 'Lundi',
|
||||
d2: 'Mardi',
|
||||
d3: 'Mercredi',
|
||||
d4: 'Jeudi',
|
||||
d5: 'Vendredi',
|
||||
d6: 'Samedi',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': "Premier de l'an",
|
||||
'easter': "Pâques",
|
||||
'easter+1': "Lundi de Pâques",
|
||||
'01-05': "Fête du Travail",
|
||||
'08-05': "Fête de la Victoire 1945",
|
||||
'easter+39': "Ascension",
|
||||
'easter+49': "Pentecôte",
|
||||
'easter+50': "Lundi de Pentecôte",
|
||||
'14-07': "Fête Nationale",
|
||||
'15-08': "Assomption",
|
||||
'01-11': "Toussaint",
|
||||
'11-11': "Armistice 1918",
|
||||
'25-12': "Noël"
|
||||
}
|
||||
};
|
||||
62
ui/src/vendor/calendar/js/language/hr.js
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
|
||||
window.calendar_languages['hr'] = {
|
||||
error_noview: 'Kalendar: Prikaz {0} nije pronađen.',
|
||||
error_dateformat: 'Kalendar: Neispravan format datuma {0}. Unesite "now" ili "yyyy-mm-dd"',
|
||||
error_loadurl: 'Kalendar: Poveznica događaja nije postavljena.',
|
||||
error_where: 'Kalendar: Pogrešan smjer navigacije {0}. Moguće je birati "sljedeće", "prethodno" ili "danas"',
|
||||
error_timedevide: 'Kalendar: Rezultat dijeljenja vremena ne smije sadržavati decimalna mjesta. Djelitelj može biti, primjerice, 10, 15, 30.',
|
||||
|
||||
no_events_in_day: 'Nema događanja za današnji dan.',
|
||||
|
||||
title_year: 'Godina {0}.',
|
||||
title_month: 'Mjesec {0} {1}. godine',
|
||||
title_week: '{0}. tjedan {1}. godine',
|
||||
title_day: '{0}, {1}. {2} {3}.',
|
||||
|
||||
week: '{0}. tjedan',
|
||||
all_day: 'Cijeli dan',
|
||||
time: 'Vrijeme',
|
||||
events: 'Događaji i zbivanja',
|
||||
before_time: 'Nema završetka',
|
||||
after_time: 'Nema početka',
|
||||
|
||||
m0: 'Siječanj',
|
||||
m1: 'Veljača',
|
||||
m2: 'Ožujak',
|
||||
m3: 'Travanj',
|
||||
m4: 'Svibanj',
|
||||
m5: 'Lipanj',
|
||||
m6: 'Srpanj',
|
||||
m7: 'Kolovoz',
|
||||
m8: 'Rujan',
|
||||
m9: 'Listopad',
|
||||
m10: 'Studeni',
|
||||
m11: 'Prosinac',
|
||||
|
||||
ms0: 'Siječanj',
|
||||
ms1: 'Veljača',
|
||||
ms2: 'Ožujak',
|
||||
ms3: 'Travanj',
|
||||
ms4: 'Svibanj',
|
||||
ms5: 'Lipanj',
|
||||
ms6: 'Srpanj',
|
||||
ms7: 'Kolovoz',
|
||||
ms8: 'Rujan',
|
||||
ms9: 'Listopad',
|
||||
ms10: 'Studeni',
|
||||
ms11: 'Prosinac',
|
||||
|
||||
d0: 'Nedjelja',
|
||||
d1: 'Ponedjeljak',
|
||||
d2: 'Utorak',
|
||||
d3: 'Srijeda',
|
||||
d4: 'Četvrtak',
|
||||
d5: 'Petak',
|
||||
d6: 'Subota',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true
|
||||
};
|
||||
79
ui/src/vendor/calendar/js/language/hu.js
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
// If you want to suggest a new language you can use this file as a template.
|
||||
// To reduce the file size you should remove the comment lines (the ones that start with // )
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
// Here you define the language and Country code. Replace en-US with your own.
|
||||
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
|
||||
window.calendar_languages['hu'] = {
|
||||
error_noview: 'Naptár: {0} nézet nem található',
|
||||
error_dateformat: 'Naptár: Hibás dátum formátum {0}. "now" vagy "éééé-hh-nn" lehet',
|
||||
error_loadurl: 'Naptár: Esemény URL nincs beállítva',
|
||||
error_where: 'Naptár: Rossz navigálási irány {0}. Csak "next", "prev" vagy "today" lehet',
|
||||
error_timedevide: 'Naptár: Az idő elválasztó 60 maradék nélküli osztója kell legyen. Például: 10, 15, 30',
|
||||
no_events_in_day: 'Nincs esemény.',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{1} {0}' ,
|
||||
title_week: '{1} {0}. hét',
|
||||
title_day: '{3}. {2} {1}., {0}',
|
||||
|
||||
week:'{0}. hét',
|
||||
all_day: 'Egész napos',
|
||||
time: 'Idő',
|
||||
events: 'Események',
|
||||
before_time: 'Az idővonal előtt végződik',
|
||||
after_time: 'Az idővonal után kezdődik',
|
||||
|
||||
m0: 'Január',
|
||||
m1: 'Február',
|
||||
m2: 'Március',
|
||||
m3: 'Április',
|
||||
m4: 'Május',
|
||||
m5: 'Június',
|
||||
m6: 'Július',
|
||||
m7: 'Augusztus',
|
||||
m8: 'Szeptember',
|
||||
m9: 'Október',
|
||||
m10: 'November',
|
||||
m11: 'December',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Már',
|
||||
ms3: 'Ápr',
|
||||
ms4: 'Máj',
|
||||
ms5: 'Jún',
|
||||
ms6: 'Júl',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Szep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Vasárnap',
|
||||
d1: 'Hétfő',
|
||||
d2: 'Kedd',
|
||||
d3: 'Szerda',
|
||||
d4: 'Csütörtök',
|
||||
d5: 'Péntek',
|
||||
d6: 'Szombat',
|
||||
|
||||
// Which is the first day of the week (2 for sunday, 1 for monday)
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
holidays: {
|
||||
'01-01': 'Újév',
|
||||
'easter+1': 'Húsvéthétfő',
|
||||
'01-05': 'Május elseje',
|
||||
'15-13': '1848–49-es forradalom és szabadságharc',
|
||||
'easter+49': 'Pünkösdvasárnap',
|
||||
'easter+50': 'Pünkösdhétfő',
|
||||
'08-20': 'Államalapítás ünnepe',
|
||||
'10-23': '1956-os forradalom és szabadságharc',
|
||||
'25-12': 'Karácsony',
|
||||
'26-12': 'Karácsony'
|
||||
}
|
||||
|
||||
};
|
||||
95
ui/src/vendor/calendar/js/language/id.js
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
|
||||
window.calendar_languages['id'] = {
|
||||
error_noview: 'Kalender: Tampilan {0} tidak ditemukan',
|
||||
error_dateformat: 'Kalender: Format tanggal salah {0}. Seharusnya "now" atau "yyyy-mm-dd"',
|
||||
error_loadurl: 'Kalender: URL dari jadwal belum di tentukan',
|
||||
error_where: 'Kalender: Arah navigasi salah {0}. Hanya boleh "next" atau "prev" atau "today"',
|
||||
error_timedevide: 'Kalender: Parameter perpecahan waktu harus dibagi 60 tanpa desimal. Seperti 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Tidak ada Jadwal di hari ini.',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'minggu {0} dari {1}',
|
||||
title_day: '{0}, {1} {2} {3}',
|
||||
|
||||
week:'Minggu {0}',
|
||||
all_day: 'Semua hari',
|
||||
time: 'Jam',
|
||||
events: 'Jadwal',
|
||||
before_time: 'Berakhir sebelum waktu',
|
||||
after_time: 'Dimulai setelah waktu',
|
||||
|
||||
m0: 'Januari',
|
||||
m1: 'Februari',
|
||||
m2: 'Maret',
|
||||
m3: 'April',
|
||||
m4: 'Mei',
|
||||
m5: 'Juni',
|
||||
m6: 'Juli',
|
||||
m7: 'Agustus',
|
||||
m8: 'September',
|
||||
m9: 'Oktober',
|
||||
m10: 'November',
|
||||
m11: 'Desember',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Mei',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Ags',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Des',
|
||||
|
||||
d0: 'Minggu',
|
||||
d1: 'Senin',
|
||||
d2: 'Selasa',
|
||||
d3: 'Rabu',
|
||||
d4: 'Kamis',
|
||||
d5: 'Jumat',
|
||||
d6: 'Sabtu',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
holidays: {
|
||||
/* for 2015 */
|
||||
'03-01-2015': 'Maulid Nabi Muhammad SAW',
|
||||
'19-01-2015': 'Tahun Baru Imlek 2566 Kongzili',
|
||||
'21-03-2015': 'Hari Raya Nyepi Tahun Baru Saka 1937',
|
||||
'16-05-2015': 'Isra Mikraj Nabi Muhammad SAW',
|
||||
'02-06-2015': 'Hari Raya Waisak 2559',
|
||||
'17-07-2015': 'Hari Raya Idul Fitri 1436 Hijriah',
|
||||
'18-07-2015': 'Hari Raya Idul Fitri 1436 Hijriah',
|
||||
'24-09-2015': 'Hari Raya Idul Adha 1436 Hijriah',
|
||||
'14-10-2015': 'Tahun Baru Islam 1437 Hijriah',
|
||||
|
||||
'01-01': 'Tahun Baru',
|
||||
'01-05': 'Hari Buruh Internasional',
|
||||
'17-08': 'Hari Kemerdekaan RI (Independence Day)',
|
||||
'25-12': 'Hari Raya Natal',
|
||||
|
||||
'easter-2': 'Jumat Agung',
|
||||
'easter': 'Paskah',
|
||||
'easter+39': 'Kenaikan Yesus Kristus',
|
||||
|
||||
/* for 2016 */
|
||||
'08-02-2016': 'Tahun Baru Imlek 2567',
|
||||
'09-03-2016': 'Hari Raya Nyepi Tahun Baru Saka 1938',
|
||||
'06-05-2016': 'Isra Mikraj Nabi Muhammad SAW 1437 Hijriah',
|
||||
'22-05-2016': 'Hari Raya Waisak 2560',
|
||||
'06-07-2016': 'Hari Raya Idul Fitri 1437 Hijriah',
|
||||
'07-07-2016': 'Hari Raya Idul Fitri 1437 Hijriah',
|
||||
'12-09-2016': 'Hari Raya Idul Adha 1437 Hijriah',
|
||||
'02-10-2016': 'Tahun Baru Islam 1438 Hijriah',
|
||||
'12-12-2016': 'Maulid Nabi Muhammad SAW'
|
||||
|
||||
}
|
||||
};
|
||||
76
ui/src/vendor/calendar/js/language/it.js
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['it'] = {
|
||||
error_noview: 'Calendario: vista {0} non trovata',
|
||||
error_dateformat: 'Calendario: formato data {0} non valido. Dovrebbe essere "now" o "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendario: URL di caricamento degli eventi non impostato',
|
||||
error_where: 'Calendario: direzione di spostamento {0} non valida. I valori validi sono "next" o "prev" o "today"',
|
||||
error_timedevide: 'Calendario: Il divisore del tempo deve poter dividere 60 in un numero intero. Per esempio 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Nessun evento in questo giorno.',
|
||||
|
||||
title_year: 'Anno {0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'Settimana {0} del {1}',
|
||||
title_day: '{0} {1} {2} {3}',
|
||||
|
||||
week: 'Settimana {0}',
|
||||
all_day: 'Tutto il giorno',
|
||||
time: 'Ora',
|
||||
events: 'Eventi',
|
||||
before_time: 'Evento antecedente',
|
||||
after_time: 'Evento che prosegue',
|
||||
|
||||
m0: 'Gennaio',
|
||||
m1: 'Febbraio',
|
||||
m2: 'Marzo',
|
||||
m3: 'Aprile',
|
||||
m4: 'Maggio',
|
||||
m5: 'Giugno',
|
||||
m6: 'Luglio',
|
||||
m7: 'Agosto',
|
||||
m8: 'Settembre',
|
||||
m9: 'Ottobre',
|
||||
m10: 'Novembre',
|
||||
m11: 'Dicembre',
|
||||
|
||||
ms0: 'Gen',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Mag',
|
||||
ms5: 'Giu',
|
||||
ms6: 'Lug',
|
||||
ms7: 'Ago',
|
||||
ms8: 'Set',
|
||||
ms9: 'Ott',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dic',
|
||||
|
||||
d0: 'Domenica',
|
||||
d1: 'Lunedì',
|
||||
d2: 'Martedì',
|
||||
d3: 'Mercoledì',
|
||||
d4: 'Giovedì',
|
||||
d5: 'Venerdì',
|
||||
d6: 'Sabato',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': 'Capodanno',
|
||||
'06-01': 'Epifania',
|
||||
'easter': 'Pasqua',
|
||||
'easter+1': 'Lunedì dell’Angelo',
|
||||
'25-04': 'Festa della Liberazione',
|
||||
'01-05': 'Festa del Lavoro',
|
||||
'02-06': 'Festa della Repubblica',
|
||||
'15-08': 'Ferragosto',
|
||||
'01-11': 'Ognissanti',
|
||||
'08-12': 'Immacolata Concezione',
|
||||
'25-12': 'Natale',
|
||||
'26-12': 'Santo Stefano'
|
||||
}
|
||||
};
|
||||
105
ui/src/vendor/calendar/js/language/ja.js
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
|
||||
window.calendar_languages['ja'] = {
|
||||
error_noview: 'カレンダーのビューが見つかりません: {0}',
|
||||
error_dateformat: '日付のフォーマットが間違っています:{0}。"now" か "yyyy-mm-dd" で指定して下さい。',
|
||||
error_loadurl: 'カレンダーのイベントURLがセットされていません。',
|
||||
error_where: 'カレンダーのナビゲーションが間違っています:{0}。"next" か "prev" か "today" でセットして下さい。',
|
||||
error_timedevide: 'カレンダーの時間分割パラメーターは、10, 15, 30等の60を小数なしで割り切れる整数を指定して下さい。',
|
||||
|
||||
no_events_in_day: 'イベントはありません。',
|
||||
|
||||
// {0} will be replaced with the year (example: 2013)
|
||||
title_year: '{0}年',
|
||||
// {0} will be replaced with the month name (example: September)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_month: '{1}年{0}',
|
||||
// {0} will be replaced with the week number (example: 37)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_week: '{1}年{0}週目',
|
||||
// {0} will be replaced with the weekday name (example: Thursday)
|
||||
// {1} will be replaced with the day of the month (example: 12)
|
||||
// {2} will be replaced with the month name (example: September)
|
||||
// {3} will be replaced with the year (example: 2013)
|
||||
title_day: '{3}年{2}{1}日({0})',
|
||||
|
||||
week: '{0}週目',
|
||||
all_day: '終日',
|
||||
time: '時間',
|
||||
events: 'イベント',
|
||||
before_time: 'タイムラインの前に終了',
|
||||
after_time: 'タイムラインの後に開始',
|
||||
|
||||
m0: '1月',
|
||||
m1: '2月',
|
||||
m2: '3月',
|
||||
m3: '4月',
|
||||
m4: '5月',
|
||||
m5: '6月',
|
||||
m6: '7月',
|
||||
m7: '8月',
|
||||
m8: '9月',
|
||||
m9: '10月',
|
||||
m10: '11月',
|
||||
m11: '12月',
|
||||
|
||||
ms0: '1月',
|
||||
ms1: '2月',
|
||||
ms2: '3月',
|
||||
ms3: '4月',
|
||||
ms4: '5月',
|
||||
ms5: '6月',
|
||||
ms6: '7月',
|
||||
ms7: '8月',
|
||||
ms8: '9月',
|
||||
ms9: '10月',
|
||||
ms10: '11月',
|
||||
ms11: '12月',
|
||||
|
||||
d0: '日',
|
||||
d1: '月',
|
||||
d2: '火',
|
||||
d3: '水',
|
||||
d4: '木',
|
||||
d5: '金',
|
||||
d6: '土',
|
||||
|
||||
// Which is the first day of the week (2 for sunday, 1 for monday)
|
||||
first_day: 2,
|
||||
|
||||
// The list of the holidays.
|
||||
// Each holiday has a date definition and a name (in your language)
|
||||
// For instance:
|
||||
// holidays: {
|
||||
// 'date': 'name',
|
||||
// 'date': 'name',
|
||||
// ...
|
||||
// 'date': 'name' //No ending comma for the last holiday
|
||||
// }
|
||||
// The format of the date may be one of the following:
|
||||
// # For a holiday recurring every year in the same day: 'dd-mm' (dd is the day of the month, mm is the month). For example: '25-12'.
|
||||
// # For a holiday that exists only in one specific year: 'dd-mm-yyyy' (dd is the day of the month, mm is the month, yyyy is the year). For example: '31-01-2013'
|
||||
// # For Easter: use simply 'easter'
|
||||
// # For holidays that are based on the Easter date: 'easter+offset in days'.
|
||||
// Some examples:
|
||||
// - 'easter-2' is Good Friday (2 days before Easter)
|
||||
// - 'easter+1' is Easter Monday (1 day after Easter)
|
||||
// - 'easter+39' is the Ascension Day
|
||||
// - 'easter+49' is Pentecost
|
||||
// # For holidays that are on a specific weekday after the beginning of a month: 'mm+n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Second (2) Monday (1) in October (10): '10+2*1'
|
||||
// # For holidays that are on a specific weekday before the ending of a month: 'mm-n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Last (1) Saturnday (6) in Match (03): '03-1*6'
|
||||
// - Last (1) Monday (1) in May (05): '05-1*1'
|
||||
// # You can also specify a holiday that lasts more than one day. To do that use the format 'start>end' where 'start' and 'end' are specified as above.
|
||||
// For example:
|
||||
// - From 1 January to 6 January: '01-01>06-01'
|
||||
// - Easter and the day after Easter: 'easter>easter+1'
|
||||
// Limitations: currently the multi-day holydays can't cross an year. So, for example, you can't specify a range as '30-12>01-01'; as a workaround you can specify two distinct holidays (for instance '30-12>31-12' and '01-01').
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
70
ui/src/vendor/calendar/js/language/ko.js
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['ko'] = {
|
||||
error_noview: '캘린더: {0} 볼 수 없습니다',
|
||||
error_dateformat: '캘린더: 잘못된 날짜 형식 {0}. "now" 또는 "yyyy-mm-dd" 형식이어야 합니다',
|
||||
error_loadurl: '캘린더: 이벤트 URL이 설정되지 않았습니다',
|
||||
error_where: '캘린더: 잘못된 탐색 방향 {0}. 오직 "next" 또는 "prev" 또는 "today"만 가능합니다',
|
||||
error_timedevide: '캘린더: 시간 분할 매개변수는 소수 없이 60을 분할합니다. 10, 15, 30과 같이 합니다',
|
||||
|
||||
no_events_in_day: '이 날에 이벤트가 없습니다.',
|
||||
|
||||
title_year: '{0}년',
|
||||
title_month: '{1}년 {0}',
|
||||
title_week: '{1}년 {0}째주',
|
||||
title_day: '{3}년 {2} {1}일 {0}',
|
||||
|
||||
week:'주',
|
||||
all_day: '하루종일',
|
||||
time: '시간',
|
||||
events: '이벤트',
|
||||
before_time: '타임라인 전에 끝남',
|
||||
after_time: '타임라인 전에 시작함',
|
||||
|
||||
m0: '1월',
|
||||
m1: '2월',
|
||||
m2: '3월',
|
||||
m3: '4월',
|
||||
m4: '5월',
|
||||
m5: '6월',
|
||||
m6: '7월',
|
||||
m7: '8월',
|
||||
m8: '9월',
|
||||
m9: '10월',
|
||||
m10: '11월',
|
||||
m11: '12월',
|
||||
|
||||
ms0: '1월',
|
||||
ms1: '2월',
|
||||
ms2: '3월',
|
||||
ms3: '4월',
|
||||
ms4: '5월',
|
||||
ms5: '6월',
|
||||
ms6: '7월',
|
||||
ms7: '8월',
|
||||
ms8: '9월',
|
||||
ms9: '10월',
|
||||
ms10: '11월',
|
||||
ms11: '12월',
|
||||
|
||||
d0: '일요일',
|
||||
d1: '월요일',
|
||||
d2: '화요일',
|
||||
d3: '수요일',
|
||||
d4: '목요일',
|
||||
d5: '금요일',
|
||||
d6: '토요일',
|
||||
|
||||
first_day: 2,
|
||||
|
||||
holidays: {
|
||||
'01-01': '신정',
|
||||
'01-03': '삼일절',
|
||||
'05-05': '어린이날',
|
||||
'06-06': '현충일',
|
||||
'15-08': '광복절',
|
||||
'03-10': '개천절',
|
||||
'25-12': '크리스마스'
|
||||
}
|
||||
};
|
||||
73
ui/src/vendor/calendar/js/language/ms.js
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
|
||||
window.calendar_languages['ms'] = {
|
||||
error_noview: 'Kalendar: Paparan {0} tidak wujud',
|
||||
error_dateformat: 'Kalendar: Format waktu salah {0}. Seharusnya "now" atau "yyyy-mm-dd"',
|
||||
error_loadurl: 'Kalendar: alamat URL tidak wujud',
|
||||
error_where: 'Kalendar: Arahan navigasi salah {0}. hanya arahan "next" atau "prev" ataupun "today" sahaja',
|
||||
error_timedevide: 'Kalendar: Parameter masa perlu dibahagikan dengan nilai 60 tanpa nilai desimal. Seperti nilai 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Tiada acara untuk hari ini',
|
||||
|
||||
title_year: '{0}',
|
||||
|
||||
title_month: '{0} {1}',
|
||||
|
||||
title_week: 'minggu {0} daripada {1}',
|
||||
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week:'Minggu {0}',
|
||||
all_day: 'Sepanjang hari',
|
||||
time: 'Waktu',
|
||||
events: 'Acara',
|
||||
before_time: 'Nerakhir sebelum waktu',
|
||||
after_time: 'Bermula selepas waktu',
|
||||
|
||||
m0: 'Januari',
|
||||
m1: 'Februari',
|
||||
m2: 'Mac',
|
||||
m3: 'April',
|
||||
m4: 'Mei',
|
||||
m5: 'Jun',
|
||||
m6: 'Julai',
|
||||
m7: 'Ogos',
|
||||
m8: 'September',
|
||||
m9: 'Oktober',
|
||||
m10: 'November',
|
||||
m11: 'Disember',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mac',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Mei',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Ogs',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dis',
|
||||
|
||||
d0: 'Ahad',
|
||||
d1: 'Isnin',
|
||||
d2: 'Selasa',
|
||||
d3: 'Rabu',
|
||||
d4: 'Khamis',
|
||||
d5: 'Jumaat',
|
||||
d6: 'Sabatu',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'18-07-2015': 'Hari Raya Aidil Fitri 1436 Hijriah',
|
||||
|
||||
'01-01': 'Sambutan Tahun Baru',
|
||||
'01-05': 'Hari Pekerja',
|
||||
'31-08': 'Hari Kemerdekaan Malaysia (Independence Day)'
|
||||
}
|
||||
};
|
||||
76
ui/src/vendor/calendar/js/language/nl.js
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['nl'] = {
|
||||
error_noview: 'Kalender: View {0} niet gevonden',
|
||||
error_dateformat: 'Kalender: Verkeerde datum formaat {0}. Dit formaat moet "now" zijn of "yyyy-mm-dd"',
|
||||
error_loadurl: 'Kalender: Agenda laad URL is niet gezet (loadUrl)',
|
||||
error_where: 'Kalender: Verkeerde navigatie richting {0}. Kan alleen "next", "prev" of "today" zijn',
|
||||
error_timedevide: 'Kalender: De tijd split parameter moet 60 kunnen verdelen naar een geheel getal (zonder decimalen). Bijvoorbeeld 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Geen evenementen gevonden op deze dag.',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'week {0} van {1}',
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week: 'Week {0}',
|
||||
all_day: 'De hele dag door',
|
||||
time: 'Tijd',
|
||||
events: 'Agenda-item',
|
||||
before_time: 'Eindigd voor tijdlijn',
|
||||
after_time: 'Start na tijdlijn',
|
||||
|
||||
m0: 'Januari',
|
||||
m1: 'Februari',
|
||||
m2: 'Maart',
|
||||
m3: 'April',
|
||||
m4: 'Mei',
|
||||
m5: 'Juni',
|
||||
m6: 'Juli',
|
||||
m7: 'Augustus',
|
||||
m8: 'September',
|
||||
m9: 'Oktober',
|
||||
m10: 'November',
|
||||
m11: 'December',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mrt',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Mei',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Zondag',
|
||||
d1: 'Maandag',
|
||||
d2: 'Dinsdag',
|
||||
d3: 'Woensdag',
|
||||
d4: 'Donderdag',
|
||||
d5: 'Vrijdag',
|
||||
d6: 'Zaterdag',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': 'Nieuwjaarsdag',
|
||||
'06-01': 'Drie koningen',
|
||||
'easter-2': 'Goede vrijdag',
|
||||
'easter': '1e paasdag',
|
||||
'easter+1': '2e paasdag',
|
||||
'26-04': 'Koningsdag',
|
||||
'05-05': 'Bevrijdingsdag',
|
||||
'easter+39': 'Hemelvaartsdag',
|
||||
'easter+49': '1e pinksterdag',
|
||||
'easter+50': '2e pinksterdag',
|
||||
'25-12': '1e kerstdag',
|
||||
'26-12': '2e kerstdag'
|
||||
}
|
||||
};
|
||||
65
ui/src/vendor/calendar/js/language/no.js
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['no'] = {
|
||||
error_noview: 'Kalender: {0} ble ikke funnet',
|
||||
error_dateformat: 'Kalender: Feil datoformat {0}. Må være "now" eller "åååå-mm-dd"',
|
||||
error_loadurl: 'Kalender: urlen for events er ikke satt',
|
||||
error_where: 'Kalender: Feil navigeringsrettning {0}. Kan kun være "next", "prev" eller "today"',
|
||||
error_timedevide: 'Kalender: parameter for tidsavgrensning må dele 60 med et heltall. Til eksempel 10, 15, 30',
|
||||
|
||||
title_year: 'År {0}',
|
||||
title_month: '{0} år {1}',
|
||||
title_week: '{0} uke år {1}',
|
||||
title_day: '{0} {1} {2} år {3}',
|
||||
|
||||
week: 'Uke {0}',
|
||||
all_day: 'Hele dagen',
|
||||
time: 'Tid',
|
||||
events: 'Event',
|
||||
before_time: 'Avsluttes før tidslinjen',
|
||||
after_time: 'Starter etter tidslinjen',
|
||||
|
||||
m0: 'Januar',
|
||||
m1: 'Februar',
|
||||
m2: 'Mars',
|
||||
m3: 'April',
|
||||
m4: 'Mai',
|
||||
m5: 'Juni',
|
||||
m6: 'Juli',
|
||||
m7: 'August',
|
||||
m8: 'September',
|
||||
m9: 'Oktober',
|
||||
m10: 'November',
|
||||
m11: 'December',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Mai',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Søndag',
|
||||
d1: 'Mandag',
|
||||
d2: 'Tirsdag',
|
||||
d3: 'Onsdag',
|
||||
d4: 'Torsdag',
|
||||
d5: 'Fredag',
|
||||
d6: 'Lørdag',
|
||||
|
||||
easter: 'Påske',
|
||||
easterMonday: 'Første påskedag',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
78
ui/src/vendor/calendar/js/language/pl.js
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['pl'] = {
|
||||
error_noview: 'Kalendarz: Widok {0} nie znaleziony',
|
||||
error_dateformat: 'Kalendarz: Zły format daty {0}. Powinna być w formacie "now" lub "yyyy-mm-dd"',
|
||||
error_loadurl: 'Kalendarz: Adres URL do ładowania wydarzeń nie ustawiony',
|
||||
error_where: 'Kalendarz: Zły kierunek nawigacji {0}. Może być tylko "następny" or "poprzedni" or "dzisiaj"',
|
||||
error_timedevide: 'Kalendarz: parametr do separatora czasu należy podzielić 60 przez liczbę całkowitą. Na przykład 10, 15, 30',
|
||||
|
||||
title_year: 'Rok {0}',
|
||||
title_month: '{0} rok {1}',
|
||||
title_week: '{0} tydzień roku {1}',
|
||||
title_day: '{0} {1} {2} rok {3}',
|
||||
|
||||
week: 'Tydzień {0}',
|
||||
all_day: 'Cały dzień',
|
||||
time: 'Czas',
|
||||
events: 'Rozwój',
|
||||
before_time: 'Czasu, zanim taśma koniec',
|
||||
after_time: 'Kończy się po taśmie tymczasowej',
|
||||
|
||||
m0: 'Styczeń',
|
||||
m1: 'Luty',
|
||||
m2: 'Marzec',
|
||||
m3: 'Kwiecień',
|
||||
m4: 'Maj',
|
||||
m5: 'Czerwiec',
|
||||
m6: 'Lipiec',
|
||||
m7: 'Sierpień',
|
||||
m8: 'Wrzesień',
|
||||
m9: 'Październik',
|
||||
m10: 'Listopad',
|
||||
m11: 'Grudzień',
|
||||
|
||||
ms0: 'Sty',
|
||||
ms1: 'Lut',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Kwi',
|
||||
ms4: 'Maj',
|
||||
ms5: 'Cze',
|
||||
ms6: 'Lip',
|
||||
ms7: 'Sie',
|
||||
ms8: 'Wrz',
|
||||
ms9: 'Paź',
|
||||
ms10: 'Lis',
|
||||
ms11: 'Gru',
|
||||
|
||||
d0: 'Niedziela',
|
||||
d1: 'Poniedziałek',
|
||||
d2: 'Wtorek',
|
||||
d3: 'Środa',
|
||||
d4: 'Czwartek',
|
||||
d5: 'Piątek',
|
||||
d6: 'Sobota',
|
||||
|
||||
easter: 'Wielkanoc',
|
||||
easterMonday: 'Poniedziałek wielkanocny',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': "Nowy Rok",
|
||||
'06-01': "Trzech Króli",
|
||||
'easter': "Niedziela Wielkanocna",
|
||||
'easter+1': "Poniedziałek Wielkanocny",
|
||||
'01-05': "Święto Pracy",
|
||||
'03-05': "Święto Konstytucji Trzeciego Maja",
|
||||
'easter+49': "Zielone Świątki",
|
||||
'easter+60': "Boże Ciało",
|
||||
'15-08': "Wniebowzięcie Najświętszej Maryi Panny",
|
||||
'01-11': "Wszystkich Świętych",
|
||||
'11-11': "Dzień Niepodległości",
|
||||
'25-12': "Pierwszy dzień Bożego Narodzenia",
|
||||
'26-12': "Drugi dzień Bożego Narodzenia"
|
||||
}
|
||||
};
|
||||
72
ui/src/vendor/calendar/js/language/pt-BR.js
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['pt-BR'] = {
|
||||
error_noview: 'Calendar: View {0} not found',
|
||||
error_dateformat: 'Calendar: Formato de data inválido {0}. Deve ser "now" ou "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendar: URL de carregamento de eventos não está atribuida',
|
||||
error_where: 'Calendar: Direção de navegação errada {0}. Só pode ser "next", "prev" ou "today"',
|
||||
error_timedevide: 'Calendário: parâmetro para o separador de hora deve dividir 60 por um número inteiro. Por exemplo, 10, 15, 30',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} de {1}',
|
||||
title_week: '{1} - Semana {0}',
|
||||
title_day: '{0}, {1} de {2} de {3}',
|
||||
|
||||
week: 'Week {0}',
|
||||
all_day: 'Durante todo o dia',
|
||||
time: 'Tempo',
|
||||
events: 'Desenvolvimentos',
|
||||
before_time: 'Tempo antes da fita final',
|
||||
after_time: 'End depois de uma fita temporária',
|
||||
|
||||
m0: 'Janeiro',
|
||||
m1: 'Fevereiro',
|
||||
m2: 'Março',
|
||||
m3: 'Abril',
|
||||
m4: 'Maio',
|
||||
m5: 'Junho',
|
||||
m6: 'Julho',
|
||||
m7: 'Agosto',
|
||||
m8: 'Setembro',
|
||||
m9: 'Outubro',
|
||||
m10: 'Novembro',
|
||||
m11: 'Dezembro',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Fev',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Abr',
|
||||
ms4: 'Mai',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Ago',
|
||||
ms8: 'Set',
|
||||
ms9: 'Out',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dez',
|
||||
|
||||
d0: 'Domingo',
|
||||
d1: 'Segunda',
|
||||
d2: 'Terça',
|
||||
d3: 'Quarta',
|
||||
d4: 'Quinta',
|
||||
d5: 'Sexta',
|
||||
d6: 'Sábado',
|
||||
|
||||
easter: 'Easter',
|
||||
easterMonday: 'Easter Monday',
|
||||
|
||||
first_day: 2,
|
||||
|
||||
holidays: {
|
||||
'01-01': "Ano Novo",
|
||||
'21-04': "Dia de Tiradentes",
|
||||
'01-05': "Dia do Trabalhador",
|
||||
'07-09': "Dia da Independência",
|
||||
'12-10': "Nossa Senhora Aparecida",
|
||||
'02-11': "Dia de Finados",
|
||||
'15-11': "Proclamação da República",
|
||||
'25-12': "Natal"
|
||||
}
|
||||
};
|
||||
92
ui/src/vendor/calendar/js/language/ro.js
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
//Language file: Romană Created by: Iulian Alexe (TotPe.Ro)
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['ro'] = {
|
||||
error_noview: 'Calendar: View-ul {0} nu a fost găsit',
|
||||
error_dateformat: 'Calendar: Format dată greșit {0}. Ar trebui să fie "now" sau "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendar: URL eveniment nu este setat',
|
||||
error_where: 'Calendar: Direcție de navigare greșită {0}. Nu poate fi decât "next" sau "prev" sau "today"',
|
||||
error_timedevide: 'Calendar: Parametru pentru divizat timpul ar trebui să împartă la 60 fără zecimale. Ceva asemănător cu 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Nici un eveniment în această zi.',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'luna {0} din {1}',
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week: 'Luna {0}',
|
||||
all_day: 'Toată ziua',
|
||||
time: 'Ora',
|
||||
events: 'Evenimente',
|
||||
before_time: 'Se încheie înainte de cronologie',
|
||||
after_time: 'Începe după cronologie',
|
||||
|
||||
m0: 'Ianuarie',
|
||||
m1: 'Februarie',
|
||||
m2: 'Martie',
|
||||
m3: 'Aprilie',
|
||||
m4: 'Mai',
|
||||
m5: 'Iunie',
|
||||
m6: 'Iulie',
|
||||
m7: 'August',
|
||||
m8: 'Septembrie',
|
||||
m9: 'Octobrie',
|
||||
m10: 'Noiembrie',
|
||||
m11: 'Decembrie',
|
||||
|
||||
ms0: 'Ian',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Mai',
|
||||
ms5: 'Iun',
|
||||
ms6: 'Iul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Oct',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Duminică',
|
||||
d1: 'Luni',
|
||||
d2: 'Marți',
|
||||
d3: 'Miercuri',
|
||||
d4: 'Joi',
|
||||
d5: 'Vineri',
|
||||
d6: 'Sâmbătă',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': "Anul Nou",
|
||||
'01-01': "A DOUA ZI DE ANUL NOU",
|
||||
'06-01': "Botezul Domnului – Boboteaza",
|
||||
'07-01': "Soborul Sfântului Prooroc Ioan Botezătorul şi Înaintemergătorul Domnului",
|
||||
'24-01': "Ziua UNIRII PRINCIPATELOR ROMÂNE",
|
||||
'02-02': "Întâmpinarea Domnului",
|
||||
'08-03': "Ziua Internaţională a Femeii",
|
||||
'09-03': "Sfiinţii 40 de Mucenici",
|
||||
'25-03': "Buna-Vestire",
|
||||
'04-04': "Floriile",
|
||||
'18-04': "Vinerea Mare",
|
||||
'easter': "Paști",
|
||||
'easter+1': "A doua zi de Paşti",
|
||||
'easter+2': "A treia zi de Paşti",
|
||||
'01-05': "Ziua internaţională a muncii",
|
||||
'24-05': "Naşterea Sfântului Ioan Botezătorul",
|
||||
'15-08': "Adormirea Maicii Domnului",
|
||||
'29-08': "Tăierea Capului Sfântului Ioan Botezătorul",
|
||||
'08-09': "Naşterea Maicii Domnului",
|
||||
'14-10': "Sfânta Cuvioasă Parascheva",
|
||||
'26-10': "Sfântul Mare Mucenic Dimitrie, Izvorâtorul de Mir",
|
||||
'27-10': "Cuviosul Dimitrie cel Nou din Basarabi",
|
||||
'08-11': "Soborul Sfinţilor Arhangheli Mihail şi Gavriil",
|
||||
'01-12': "Ziua Naţională a României",
|
||||
'25-12': "Naşterea Domnului Nostru Iisus Hristos – Crăciunul",
|
||||
'26-12': "A doua zi de Crăciun; Soborul Maicii",
|
||||
'27-12': "Sfântul Întâiul Mucenic şi Arhidiacon Ştefan"
|
||||
}
|
||||
};
|
||||
75
ui/src/vendor/calendar/js/language/ru.js
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['ru'] = {
|
||||
error_noview: 'Календарь: Шаблон вида {0} не найден.',
|
||||
error_dateformat: 'Календарь: неверный формат даты {0}. Должно быть или "now" или "yyyy-mm-dd"',
|
||||
error_loadurl: 'Календарь: не назначен URL для загрузки событий.',
|
||||
error_where: 'Календарь: неправильная навигация {0}. Можно только "next", "prev" или "today"',
|
||||
error_timedevide: 'Календарь: Параметер разделитель времени должен делить 60 на целое число. Например 10, 15, 30',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: '{0} неделя года {1}',
|
||||
title_day: '{0}, {1} {2} {3}',
|
||||
|
||||
week: 'Неделя {0}',
|
||||
all_day: 'Весь день',
|
||||
time: 'Время',
|
||||
events: 'События',
|
||||
before_time: 'Заканчиваются перед временной лентой',
|
||||
after_time: 'Заканчиваются после временной ленты',
|
||||
|
||||
m0: 'Январь',
|
||||
m1: 'Февраль',
|
||||
m2: 'Март',
|
||||
m3: 'Апрель',
|
||||
m4: 'Май',
|
||||
m5: 'Июнь',
|
||||
m6: 'Июль',
|
||||
m7: 'Август',
|
||||
m8: 'Сентябрь',
|
||||
m9: 'Октябрь',
|
||||
m10: 'Ноябрь',
|
||||
m11: 'Декабрь',
|
||||
|
||||
ms0: 'Янв',
|
||||
ms1: 'Фев',
|
||||
ms2: 'Мар',
|
||||
ms3: 'Апр',
|
||||
ms4: 'Май',
|
||||
ms5: 'Июн',
|
||||
ms6: 'Июл',
|
||||
ms7: 'Авг',
|
||||
ms8: 'Сен',
|
||||
ms9: 'Окт',
|
||||
ms10: 'Ноя',
|
||||
ms11: 'Дек',
|
||||
|
||||
d0: 'Воскресенье',
|
||||
d1: 'Понедельник',
|
||||
d2: 'Вторник',
|
||||
d3: 'Среда',
|
||||
d4: 'Четверг',
|
||||
d5: 'Пятница',
|
||||
d6: 'Суббота',
|
||||
|
||||
easter: 'Пасха',
|
||||
easterMonday: 'Пасхальный понедельник',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': 'Новый год',
|
||||
'02-01>06-01': 'Новогодние каникулы',
|
||||
'07-01': 'Рождество Христово',
|
||||
'08-01': 'Новогодние каникулы',
|
||||
'23-02': 'День защитника Отечества',
|
||||
'08-03': 'Международный женский день',
|
||||
'01-05': 'Праздник Весны и Труда',
|
||||
'09-05': 'День Победы',
|
||||
'12-06': 'День России',
|
||||
'04-11': 'День народного единства'
|
||||
}
|
||||
};
|
||||
110
ui/src/vendor/calendar/js/language/sk.js
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
// If you want to suggest a new language you can use this file as a template.
|
||||
// To reduce the file size you should remove the comment lines (the ones that start with // )
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
// Here you define the language and Country code. Replace en-US with your own.
|
||||
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
|
||||
window.calendar_languages['sk'] = {
|
||||
error_noview: 'Calendar: View {0} not found',
|
||||
error_dateformat: 'Calendar: Wrong date format {0}. Should be either "now" or "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendar: Event URL is not set',
|
||||
error_where: 'Calendar: Wrong navigation direction {0}. Can be only "next" or "prev" or "today"',
|
||||
error_timedevide: 'Calendar: Time split parameter should divide 60 without decimals. Something like 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'Dnes žiadne udalosti.',
|
||||
|
||||
// {0} will be replaced with the year (example: 2013)
|
||||
title_year: '{0}',
|
||||
// {0} will be replaced with the month name (example: September)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_month: '{0} {1}',
|
||||
// {0} will be replaced with the week number (example: 37)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_week: 'týždeň {0} of {1}',
|
||||
// {0} will be replaced with the weekday name (example: Thursday)
|
||||
// {1} will be replaced with the day of the month (example: 12)
|
||||
// {2} will be replaced with the month name (example: September)
|
||||
// {3} will be replaced with the year (example: 2013)
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week:'Týždeň {0}',
|
||||
all_day: 'Celý deň',
|
||||
time: 'Čas',
|
||||
events: 'Udalosti',
|
||||
before_time: 'Pred rozvrhom',
|
||||
after_time: 'Po rozvrhu',
|
||||
|
||||
m0: 'Január',
|
||||
m1: 'Február',
|
||||
m2: 'Marec',
|
||||
m3: 'Apríl',
|
||||
m4: 'Máj',
|
||||
m5: 'Jún',
|
||||
m6: 'Júl',
|
||||
m7: 'August',
|
||||
m8: 'September',
|
||||
m9: 'Október',
|
||||
m10: 'November',
|
||||
m11: 'December',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Maj',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Nedeľa',
|
||||
d1: 'Pondelok',
|
||||
d2: 'Utorok',
|
||||
d3: 'Streda',
|
||||
d4: 'Štvrtok',
|
||||
d5: 'Piatok',
|
||||
d6: 'Sobota',
|
||||
|
||||
// Which is the first day of the week (2 for sunday, 1 for monday)
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
// The list of the holidays.
|
||||
// Each holiday has a date definition and a name (in your language)
|
||||
// For instance:
|
||||
// holidays: {
|
||||
// 'date': 'name',
|
||||
// 'date': 'name',
|
||||
// ...
|
||||
// 'date': 'name' //No ending comma for the last holiday
|
||||
// }
|
||||
// The format of the date may be one of the following:
|
||||
// # For a holiday recurring every year in the same day: 'dd-mm' (dd is the day of the month, mm is the month). For example: '25-12'.
|
||||
// # For a holiday that exists only in one specific year: 'dd-mm-yyyy' (dd is the day of the month, mm is the month, yyyy is the year). For example: '31-01-2013'
|
||||
// # For Easter: use simply 'easter'
|
||||
// # For holidays that are based on the Easter date: 'easter+offset in days'.
|
||||
// Some examples:
|
||||
// - 'easter-2' is Good Friday (2 days before Easter)
|
||||
// - 'easter+1' is Easter Monday (1 day after Easter)
|
||||
// - 'easter+39' is the Ascension Day
|
||||
// - 'easter+49' is Pentecost
|
||||
// # For holidays that are on a specific weekday after the beginning of a month: 'mm+n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Second (2) Monday (1) in October (10): '10+2*1'
|
||||
// # For holidays that are on a specific weekday before the ending of a month: 'mm-n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Last (1) Saturnday (6) in Match (03): '03-1*6'
|
||||
// - Last (1) Monday (1) in May (05): '05-1*1'
|
||||
// # You can also specify a holiday that lasts more than one day. To do that use the format 'start>end' where 'start' and 'end' are specified as above.
|
||||
// For example:
|
||||
// - From 1 January to 6 January: '01-01>06-01'
|
||||
// - Easter and the day after Easter: 'easter>easter+1'
|
||||
// Limitations: currently the multi-day holydays can't cross an year. So, for example, you can't specify a range as '30-12>01-01'; as a workaround you can specify two distinct holidays (for instance '30-12>31-12' and '01-01').
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
110
ui/src/vendor/calendar/js/language/sl.js
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
// If you want to suggest a new language you can use this file as a template.
|
||||
// To reduce the file size you should remove the comment lines (the ones that start with // )
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
// Here you define the language and Country code. Replace en-US with your own.
|
||||
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
|
||||
window.calendar_languages['sl'] = {
|
||||
error_noview: 'Koledar: Ne najdem pogleda {0}',
|
||||
error_dateformat: 'Koledar: Napačna oblika datuma {0}. Mora biti bodisi "now" ali "yyyy-mm-dd"',
|
||||
error_loadurl: 'Koledar: URL dogodek ni nastavljen',
|
||||
error_where: 'Koledar: Napačna smer navigacije {0}. Lahko je le "next", "prev" ali "today"',
|
||||
error_timedevide: 'Koledar: Time split parameter should divide 60 without decimals. Something like 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'V tem dnevu ni dogodkov.',
|
||||
|
||||
// {0} will be replaced with the year (example: 2013)
|
||||
title_year: '{0}',
|
||||
// {0} will be replaced with the month name (example: September)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_month: '{0} {1}',
|
||||
// {0} will be replaced with the week number (example: 37)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_week: 'teden {0} v letu {1}',
|
||||
// {0} will be replaced with the weekday name (example: Thursday)
|
||||
// {1} will be replaced with the day of the month (example: 12)
|
||||
// {2} will be replaced with the month name (example: September)
|
||||
// {3} will be replaced with the year (example: 2013)
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week:'Teden {0}',
|
||||
all_day: 'Cel dan',
|
||||
time: 'Čas',
|
||||
events: 'Dogodki',
|
||||
before_time: 'Ends before timeline',
|
||||
after_time: 'Starts after timeline',
|
||||
|
||||
m0: 'Januar',
|
||||
m1: 'Februar',
|
||||
m2: 'Marec',
|
||||
m3: 'April',
|
||||
m4: 'Maj',
|
||||
m5: 'Junij',
|
||||
m6: 'Julij',
|
||||
m7: 'Avgust',
|
||||
m8: 'September',
|
||||
m9: 'Oktober',
|
||||
m10: 'November',
|
||||
m11: 'December',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Maj',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Avg',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Nedelja',
|
||||
d1: 'Ponedeljek',
|
||||
d2: 'Torek',
|
||||
d3: 'Sreda',
|
||||
d4: 'Četrtek',
|
||||
d5: 'Petek',
|
||||
d6: 'Sobota',
|
||||
|
||||
// Which is the first day of the week (2 for sunday, 1 for monday)
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
// The list of the holidays.
|
||||
// Each holiday has a date definition and a name (in your language)
|
||||
// For instance:
|
||||
// holidays: {
|
||||
// 'date': 'name',
|
||||
// 'date': 'name',
|
||||
// ...
|
||||
// 'date': 'name' //No ending comma for the last holiday
|
||||
// }
|
||||
// The format of the date may be one of the following:
|
||||
// # For a holiday recurring every year in the same day: 'dd-mm' (dd is the day of the month, mm is the month). For example: '25-12'.
|
||||
// # For a holiday that exists only in one specific year: 'dd-mm-yyyy' (dd is the day of the month, mm is the month, yyyy is the year). For example: '31-01-2013'
|
||||
// # For Easter: use simply 'easter'
|
||||
// # For holidays that are based on the Easter date: 'easter+offset in days'.
|
||||
// Some examples:
|
||||
// - 'easter-2' is Good Friday (2 days before Easter)
|
||||
// - 'easter+1' is Easter Monday (1 day after Easter)
|
||||
// - 'easter+39' is the Ascension Day
|
||||
// - 'easter+49' is Pentecost
|
||||
// # For holidays that are on a specific weekday after the beginning of a month: 'mm+n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Second (2) Monday (1) in October (10): '10+2*1'
|
||||
// # For holidays that are on a specific weekday before the ending of a month: 'mm-n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Last (1) Saturnday (6) in Match (03): '03-1*6'
|
||||
// - Last (1) Monday (1) in May (05): '05-1*1'
|
||||
// # You can also specify a holiday that lasts more than one day. To do that use the format 'start>end' where 'start' and 'end' are specified as above.
|
||||
// For example:
|
||||
// - From 1 January to 6 January: '01-01>06-01'
|
||||
// - Easter and the day after Easter: 'easter>easter+1'
|
||||
// Limitations: currently the multi-day holydays can't cross an year. So, for example, you can't specify a range as '30-12>01-01'; as a workaround you can specify two distinct holidays (for instance '30-12>31-12' and '01-01').
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
76
ui/src/vendor/calendar/js/language/sv.js
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
window.calendar_languages['sv'] = {
|
||||
error_noview: 'Kalender: Vy {0} ej funnen',
|
||||
error_dateformat: 'Kalender: Felaktigt datumformat {0}. Skall vara antingen "now" eller "yyyy-mm-dd"',
|
||||
error_loadurl: 'Kalender: Laddnings-URL för händelser är ej satt',
|
||||
error_where: 'Kalender: Felaktig navigeringsriktning {0}. Kan endast vara "next", "prev" eller "today"',
|
||||
error_timedevide: 'Kalender: Parameter till tidsavgränsare måste dela 60 med ett heltal. Till exempel 10, 15, 30',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: 'Vecka {0} {1}',
|
||||
title_day: '{0} {1} {2} {3}',
|
||||
|
||||
week: 'Vecka {0}',
|
||||
all_day: 'Hela dagen',
|
||||
time: 'Tid',
|
||||
events: 'Händelser',
|
||||
before_time: 'Slutar före tidsperiod',
|
||||
after_time: 'Börjar efter tidsperiod',
|
||||
|
||||
m0: 'Januari',
|
||||
m1: 'Februari',
|
||||
m2: 'Mars',
|
||||
m3: 'April',
|
||||
m4: 'Maj',
|
||||
m5: 'Juni',
|
||||
m6: 'Juli',
|
||||
m7: 'Augusti',
|
||||
m8: 'September',
|
||||
m9: 'Oktober',
|
||||
m10: 'November',
|
||||
m11: 'December',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'Maj',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Okt',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Söndag',
|
||||
d1: 'Måndag',
|
||||
d2: 'Tisdag',
|
||||
d3: 'Onsdag',
|
||||
d4: 'Torsdag',
|
||||
d5: 'Fredag',
|
||||
d6: 'Lördag',
|
||||
|
||||
easter: 'Påsk',
|
||||
easterMonday: 'Måndagen efter påsk',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01': "Nyårsdagen",
|
||||
'06-01': "Trettondedag jul",
|
||||
'easter-2': "Långfredagen",
|
||||
'easter': "Påskdagen",
|
||||
'easter+1': "Annandag påsk",
|
||||
'01-05': "Första maj",
|
||||
'easter+39': "Kristi himmelsfärdsdag",
|
||||
'easter+49': "Pingstdagen",
|
||||
'06-06': "Sveriges nationaldag",
|
||||
'25-12': "Juldagen",
|
||||
'26-12': "Annandag jul"
|
||||
}
|
||||
};
|
||||
111
ui/src/vendor/calendar/js/language/template.js
vendored
Normal file
@@ -0,0 +1,111 @@
|
||||
// If you want to suggest a new language you can use this file as a template.
|
||||
// To reduce the file size you should remove the comment lines (the ones that start with // )
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
// Here you define the language and Country code. Replace en-US with your own.
|
||||
// First letters: the language code (lower case). See http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||
// Last letters: the Country code (upper case). See http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm
|
||||
window.calendar_languages['en-US'] = {
|
||||
error_noview: 'Calendar: View {0} not found',
|
||||
error_dateformat: 'Calendar: Wrong date format {0}. Should be either "now" or "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendar: Event URL is not set',
|
||||
error_where: 'Calendar: Wrong navigation direction {0}. Can be only "next" or "prev" or "today"',
|
||||
error_timedevide: 'Calendar: Time split parameter should divide 60 without decimals. Something like 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'No events in this day.',
|
||||
|
||||
// {0} will be replaced with the year (example: 2013)
|
||||
title_year: '{0}',
|
||||
// {0} will be replaced with the month name (example: September)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_month: '{0} {1}',
|
||||
// {0} will be replaced with the week number (example: 37)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_week: 'week {0} of {1}',
|
||||
// {0} will be replaced with the weekday name (example: Thursday)
|
||||
// {1} will be replaced with the day of the month (example: 12)
|
||||
// {2} will be replaced with the month name (example: September)
|
||||
// {3} will be replaced with the year (example: 2013)
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week:'Week {0}',
|
||||
all_day: 'All day',
|
||||
time: 'Time',
|
||||
events: 'Events',
|
||||
before_time: 'Ends before timeline',
|
||||
after_time: 'Starts after timeline',
|
||||
|
||||
m0: 'January',
|
||||
m1: 'February',
|
||||
m2: 'March',
|
||||
m3: 'April',
|
||||
m4: 'May',
|
||||
m5: 'June',
|
||||
m6: 'July',
|
||||
m7: 'August',
|
||||
m8: 'September',
|
||||
m9: 'October',
|
||||
m10: 'November',
|
||||
m11: 'December',
|
||||
|
||||
ms0: 'Jan',
|
||||
ms1: 'Feb',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Apr',
|
||||
ms4: 'May',
|
||||
ms5: 'Jun',
|
||||
ms6: 'Jul',
|
||||
ms7: 'Aug',
|
||||
ms8: 'Sep',
|
||||
ms9: 'Oct',
|
||||
ms10: 'Nov',
|
||||
ms11: 'Dec',
|
||||
|
||||
d0: 'Sunday',
|
||||
d1: 'Monday',
|
||||
d2: 'Tuesday',
|
||||
d3: 'Wednesday',
|
||||
d4: 'Thursday',
|
||||
d5: 'Friday',
|
||||
d6: 'Saturday',
|
||||
|
||||
// Which is the first day of the week (2 for sunday, 1 for monday)
|
||||
first_day: 2,
|
||||
// Week numbering according to ISO 8601 (if false, week 1 starts with January 1st)
|
||||
week_numbers_iso_8601: false,
|
||||
|
||||
// The list of the holidays.
|
||||
// Each holiday has a date definition and a name (in your language)
|
||||
// For instance:
|
||||
// holidays: {
|
||||
// 'date': 'name',
|
||||
// 'date': 'name',
|
||||
// ...
|
||||
// 'date': 'name' //No ending comma for the last holiday
|
||||
// }
|
||||
// The format of the date may be one of the following:
|
||||
// # For a holiday recurring every year in the same day: 'dd-mm' (dd is the day of the month, mm is the month). For example: '25-12'.
|
||||
// # For a holiday that exists only in one specific year: 'dd-mm-yyyy' (dd is the day of the month, mm is the month, yyyy is the year). For example: '31-01-2013'
|
||||
// # For Easter: use simply 'easter'
|
||||
// # For holidays that are based on the Easter date: 'easter+offset in days'.
|
||||
// Some examples:
|
||||
// - 'easter-2' is Good Friday (2 days before Easter)
|
||||
// - 'easter+1' is Easter Monday (1 day after Easter)
|
||||
// - 'easter+39' is the Ascension Day
|
||||
// - 'easter+49' is Pentecost
|
||||
// # For holidays that are on a specific weekday after the beginning of a month: 'mm+n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Second (2) Monday (1) in October (10): '10+2*1'
|
||||
// # For holidays that are on a specific weekday before the ending of a month: 'mm-n*w', where 'mm' is the month, 'n' is the ordinal position, 'w' is the weekday being 0: Sunday, 1: Monday, ..., 6: Saturnday
|
||||
// For example:
|
||||
// - Last (1) Saturnday (6) in Match (03): '03-1*6'
|
||||
// - Last (1) Monday (1) in May (05): '05-1*1'
|
||||
// # You can also specify a holiday that lasts more than one day. To do that use the format 'start>end' where 'start' and 'end' are specified as above.
|
||||
// For example:
|
||||
// - From 1 January to 6 January: '01-01>06-01'
|
||||
// - Easter and the day after Easter: 'easter>easter+1'
|
||||
// Limitations: currently the multi-day holydays can't cross an year. So, for example, you can't specify a range as '30-12>01-01'; as a workaround you can specify two distinct holidays (for instance '30-12>31-12' and '01-01').
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
74
ui/src/vendor/calendar/js/language/th.js
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
|
||||
window.calendar_languages['th'] = {
|
||||
error_noview: 'ปฏิทิน: ไม่พบ View {0}',
|
||||
error_dateformat: 'ปฏิทิน: รูปแบบวันที่ไม่ถูกต้อง {0}. ควรจะเป็นค่า "now" หรือ "yyyy-mm-dd"',
|
||||
error_loadurl: 'ปฏิทิน: URL ของเหตุการณ์ไม่ได้ตั้งค่าไว้',
|
||||
error_where: 'ปฏิทิน: เกิดข้อผิดพลาด {0}. สามารถเป็นได้แค่ค่า "ถัดไป" หรือ "ก่อนหน้า" หรือ "วันนี้" เท่านั้น',
|
||||
error_timedevide: 'ปฏิทิน: Time split parameter ควรนำไปหาร 60 ลงตัวเท่านั้น. อย่างเช่น 10, 15, 30',
|
||||
|
||||
no_events_in_day: 'วันนี้ไม่มีเหตุการณ์ใดๆ',
|
||||
|
||||
// {0} will be replaced with the year (example: 2013)
|
||||
title_year: '{0}',
|
||||
// {0} will be replaced with the month name (example: September)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_month: '{0} {1}',
|
||||
// {0} will be replaced with the week number (example: 37)
|
||||
// {1} will be replaced with the year (example: 2013)
|
||||
title_week: 'สัปดาห์ที่ {0} ของปี {1}',
|
||||
// {0} will be replaced with the weekday name (example: Thursday)
|
||||
// {1} will be replaced with the day of the month (example: 12)
|
||||
// {2} will be replaced with the month name (example: September)
|
||||
// {3} will be replaced with the year (example: 2013)
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week:'สัปดาห์ที่ {0}',
|
||||
all_day: 'ทุกวัน',
|
||||
time: 'เวลา',
|
||||
events: 'เหตุการณ์',
|
||||
before_time: 'เริ่มก่อน Timeline',
|
||||
after_time: 'เริ่มหลัง Timeline',
|
||||
|
||||
m0: 'มกราคม',
|
||||
m1: 'กุมภาพันธ์',
|
||||
m2: 'มีนาคม',
|
||||
m3: 'เมษายน',
|
||||
m4: 'พฤษภาคม',
|
||||
m5: 'มิถุนายน',
|
||||
m6: 'กรกฎาคม',
|
||||
m7: 'สิงหาคม',
|
||||
m8: 'กันยายน',
|
||||
m9: 'ตุลาคม',
|
||||
m10: 'พฤศจิกายน',
|
||||
m11: 'ธันวาคม',
|
||||
|
||||
ms0: 'ม.ค.',
|
||||
ms1: 'ก.พ.',
|
||||
ms2: 'มี.ค.',
|
||||
ms3: 'เม.ย.',
|
||||
ms4: 'พ.ค.',
|
||||
ms5: 'มิ.ย.',
|
||||
ms6: 'ก.ค.',
|
||||
ms7: 'ส.ค.',
|
||||
ms8: 'ก.ย.',
|
||||
ms9: 'ต.ค.',
|
||||
ms10: 'พ.ย.',
|
||||
ms11: 'ธ.ค.',
|
||||
|
||||
d0: 'อาทิตย์',
|
||||
d1: 'จันทร์',
|
||||
d2: 'อังคาร',
|
||||
d3: 'พุธ',
|
||||
d4: 'พฤหัสบดี',
|
||||
d5: 'ศุกร์',
|
||||
d6: 'เสาร์',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
holidays: {
|
||||
}
|
||||
};
|
||||
72
ui/src/vendor/calendar/js/language/tr.js
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
|
||||
window.calendar_languages['tr'] = {
|
||||
error_noview: 'Takvim: Görünüm {0} bulunamadı',
|
||||
error_dateformat: 'Takvim: Yanlış tarih formatı {0}. Şunlardan biri olmalı "now" veya "yyyy-mm-dd"',
|
||||
error_loadurl: 'Takvim: Etkinlik bağlantısı belirtilmemiş',
|
||||
error_where: 'Takvim: Yanlış gezinme yönü {0}. Sadece bunlardan biri olabilir "next" veya "prev" veya "today"',
|
||||
error_timedevide: 'Takvim: Zaman bölme parametresi 60\'ı kalansız bölmelidir. 10, 15, 30 gibi',
|
||||
|
||||
no_events_in_day: 'Bugün etkinlik yok',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{0} {1}',
|
||||
title_week: '{1} {0}. Hafta',
|
||||
title_day: '{0} {1} {2}, {3}',
|
||||
|
||||
week: '{0}. Hafta',
|
||||
all_day: 'Tüm gün',
|
||||
time: 'Zaman',
|
||||
events: 'Etkinlikler',
|
||||
before_time: 'Zamanından önce biter',
|
||||
after_time: 'Zamanından sonra başlar',
|
||||
|
||||
m0: 'Ocak',
|
||||
m1: 'Şubat',
|
||||
m2: 'Mart',
|
||||
m3: 'Nisan',
|
||||
m4: 'Mayıs',
|
||||
m5: 'Haziran',
|
||||
m6: 'Temmuz',
|
||||
m7: 'Ağustos',
|
||||
m8: 'Eylül',
|
||||
m9: 'Ekim',
|
||||
m10: 'Kasım',
|
||||
m11: 'Aralık',
|
||||
|
||||
ms0: 'Oca',
|
||||
ms1: 'Şub',
|
||||
ms2: 'Mar',
|
||||
ms3: 'Nis',
|
||||
ms4: 'May',
|
||||
ms5: 'Haz',
|
||||
ms6: 'Tem',
|
||||
ms7: 'Ağu',
|
||||
ms8: 'Eyl',
|
||||
ms9: 'Eki',
|
||||
ms10: 'Kas',
|
||||
ms11: 'Ara',
|
||||
|
||||
d0: 'Pazar',
|
||||
d1: 'Pazartesi',
|
||||
d2: 'Salı',
|
||||
d3: 'Çarşamba',
|
||||
d4: 'Perşembe',
|
||||
d5: 'Cuma',
|
||||
d6: 'Cumartesi',
|
||||
|
||||
first_day: 1,
|
||||
week_numbers_iso_8601: true,
|
||||
|
||||
holidays: {
|
||||
'01-01' : 'Yılbaşı',
|
||||
'23-04' : 'Ulusal Egemenlik ve Çocuk Bayramı',
|
||||
'01-05' : 'İşçi Bayramı',
|
||||
'19-05' : 'Atatürk\'ü Anma, Gençlik ve Spor Bayramı',
|
||||
'30-08' : 'Zafer Bayramı',
|
||||
'29-10' : 'Cumhuriyet Bayramı'
|
||||
}
|
||||
};
|
||||
70
ui/src/vendor/calendar/js/language/zh-CN.js
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
|
||||
window.calendar_languages['zh-CN'] = {
|
||||
error_noview: 'Calendar: 没有发现视图 {0} ',
|
||||
error_dateformat: 'Calendar: 日期格式不正确: {0}. 应当为 "now" 或者 "yyyy-mm-dd"',
|
||||
error_loadurl: 'Calendar: 没有设置事件的 URL',
|
||||
error_where: 'Calendar: 导航指示错误 {0}. 只能是 "next" 或 "prev" 或 "today"',
|
||||
error_timedevide: 'Calendar: 时间分隔参数只能是被60整除的整数. 例如 10、15、30',
|
||||
|
||||
no_events_in_day: '今天没有事件。',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{1} 年 {0}',
|
||||
title_week: '{1} 年 第 {0} 周 ',
|
||||
title_day: '{3} 年 {2} {1} 日, {0} ',
|
||||
|
||||
week: '第{0}周',
|
||||
all_day: '全天',
|
||||
time: '时间',
|
||||
events: '事件',
|
||||
before_time: '结束早于时间轴',
|
||||
after_time: '开始晚于时间轴',
|
||||
|
||||
m0: '1 月',
|
||||
m1: '2 月',
|
||||
m2: '3 月',
|
||||
m3: '4 月',
|
||||
m4: '5 月',
|
||||
m5: '6 月',
|
||||
m6: '7 月',
|
||||
m7: '8 月',
|
||||
m8: '9 月',
|
||||
m9: '10 月',
|
||||
m10: '11 月',
|
||||
m11: '12 月',
|
||||
|
||||
ms0: '1 月',
|
||||
ms1: '2 月',
|
||||
ms2: '3 月',
|
||||
ms3: '4 月',
|
||||
ms4: '5 月',
|
||||
ms5: '6 月',
|
||||
ms6: '7 月',
|
||||
ms7: '8 月',
|
||||
ms8: '9 月',
|
||||
ms9: '10 月',
|
||||
ms10: '11 月',
|
||||
ms11: '12 月',
|
||||
|
||||
d0: '周日',
|
||||
d1: '周一',
|
||||
d2: '周二',
|
||||
d3: '周三',
|
||||
d4: '周四',
|
||||
d5: '周五',
|
||||
d6: '周六',
|
||||
|
||||
first_day: 2,
|
||||
|
||||
holidays: {
|
||||
'01-01': '元旦',
|
||||
'08-03': '妇女节',
|
||||
'01-05': '国际劳动节',
|
||||
'04-05': '青年节',
|
||||
'01-06': '儿童节',
|
||||
'01-10': '国庆节'
|
||||
}
|
||||
};
|
||||
66
ui/src/vendor/calendar/js/language/zh-TW.js
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
if(!window.calendar_languages) {
|
||||
window.calendar_languages = {};
|
||||
}
|
||||
|
||||
window.calendar_languages['zh-TW'] = {
|
||||
error_noview: 'Calendar: 找不到圖片 {0} ',
|
||||
error_dateformat: 'Calendar: 日期格式錯誤: {0}. 應該以「now」表示,或「yyyy-mm-dd」',
|
||||
error_loadurl: 'Calendar: 事件網址尚未設定',
|
||||
error_where: 'Calendar: 錯誤的瀏覽方向 {0}。瀏覽方向只能是「下一個」或「上一個」或「今天」',
|
||||
error_timedevide: 'Calendar: 時間分割的參數單位應該在 60 以內且無小數。例如說 10, 15, 30',
|
||||
|
||||
no_events_in_day: '今天沒有事件。',
|
||||
|
||||
title_year: '{0}',
|
||||
title_month: '{1} 年 {0}',
|
||||
title_week: '{1} 年 第 {0} 周 ',
|
||||
title_day: '{3} 年 {2} {1} 日, {0} ',
|
||||
|
||||
week: '第{0}周',
|
||||
all_day: '整天',
|
||||
time: '時間',
|
||||
events: '事件',
|
||||
before_time: '時間軸結束前',
|
||||
after_time: '時間軸結束後',
|
||||
|
||||
m0: '1 月',
|
||||
m1: '2 月',
|
||||
m2: '3 月',
|
||||
m3: '4 月',
|
||||
m4: '5 月',
|
||||
m5: '6 月',
|
||||
m6: '7 月',
|
||||
m7: '8 月',
|
||||
m8: '9 月',
|
||||
m9: '10 月',
|
||||
m10: '11 月',
|
||||
m11: '12 月',
|
||||
|
||||
ms0: '1 月',
|
||||
ms1: '2 月',
|
||||
ms2: '3 月',
|
||||
ms3: '4 月',
|
||||
ms4: '5 月',
|
||||
ms5: '6 月',
|
||||
ms6: '7 月',
|
||||
ms7: '8 月',
|
||||
ms8: '9 月',
|
||||
ms9: '10 月',
|
||||
ms10: '11 月',
|
||||
ms11: '12 月',
|
||||
|
||||
d0: '周日',
|
||||
d1: '周一',
|
||||
d2: '周二',
|
||||
d3: '周三',
|
||||
d4: '周四',
|
||||
d5: '周五',
|
||||
d6: '周六',
|
||||
|
||||
first_day: 2,
|
||||
|
||||
holidays: {
|
||||
'01-01': '元旦',
|
||||
'10-10': '國慶日'
|
||||
}
|
||||
};
|
||||
448
ui/src/vendor/html5preloader/html5Preloader.js
vendored
Normal file
@@ -0,0 +1,448 @@
|
||||
var html5Preloader = (function () {
|
||||
|
||||
var XHR = typeof XMLHttpRequest === 'undefined' ? function () { // IE FIX
|
||||
try {
|
||||
return new ActiveXObject("Msxml2.XMLHTTP.6.0");
|
||||
} catch (err1) {}
|
||||
try {
|
||||
return new ActiveXObject("Msxml2.XMLHTTP.3.0");
|
||||
} catch (err2) {}
|
||||
|
||||
return null;
|
||||
} : XMLHttpRequest,
|
||||
AudioElement = typeof Audio !== 'undefined' ? // IE FIX
|
||||
function(){
|
||||
return new Audio();
|
||||
} :
|
||||
function(){
|
||||
return document.createElement('audio');
|
||||
},
|
||||
VideoElement = typeof Video !== 'undefined' ? // IE FIX
|
||||
function () {
|
||||
return new Video();
|
||||
} :
|
||||
function () {
|
||||
return document.createElement('video');
|
||||
},
|
||||
ImageElement = function () {
|
||||
return new Image();
|
||||
},
|
||||
codecs = { // Chart from jPlayer
|
||||
oga: { // OGG
|
||||
codec: 'audio/ogg; codecs="vorbis"',
|
||||
media: 'audio'
|
||||
},
|
||||
wav: { // PCM
|
||||
codec: 'audio/wav; codecs="1"',
|
||||
media: 'audio'
|
||||
},
|
||||
webma: { // WEBM
|
||||
codec: 'audio/webm; codecs="vorbis"',
|
||||
media: 'audio'
|
||||
},
|
||||
mp3: {
|
||||
codec: 'audio/mpeg; codecs="mp3"',
|
||||
media: 'audio'
|
||||
},
|
||||
m4a: { // AAC / MP4
|
||||
codec: 'audio/mp4; codecs="mp4a.40.2"',
|
||||
media: 'audio'
|
||||
},
|
||||
ogv: { // OGG
|
||||
codec: 'video/ogg; codecs="theora, vorbis"',
|
||||
media: 'video'
|
||||
},
|
||||
webmv: { // WEBM
|
||||
codec: 'video/webm; codecs="vorbis, vp8"',
|
||||
media: 'video'
|
||||
},
|
||||
m4v: { // H.264 / MP4
|
||||
codec: 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',
|
||||
media: 'video'
|
||||
}
|
||||
},
|
||||
support = {
|
||||
imageTypes: ['jpg', 'png', 'jpeg', 'tiff', 'gif']
|
||||
},
|
||||
ID_PREFIX = 'FILE@';
|
||||
/* :) may fail sometimes, but these are the most common cases */
|
||||
codecs.ogg = codecs.oga;
|
||||
codecs.mp4 = codecs.m4v;
|
||||
codecs.webm = codecs.webmv;
|
||||
|
||||
function isIn (needle, haystack) {
|
||||
for (var i=0; i<haystack.length; i++) {
|
||||
if (haystack[i] === needle) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function map (arr, callback) {
|
||||
if (arr.map) {
|
||||
return arr.map(callback);
|
||||
}
|
||||
|
||||
var r = [],
|
||||
i;
|
||||
for (i=0; i<arr.length; i++) {
|
||||
r.push(callback(arr[i]));
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
function bind (func, self) {
|
||||
return func.bind ? func.bind(self) : function () {
|
||||
return func.apply(self, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
function delay (callback) {
|
||||
var args = [].slice.call(arguments, 1);
|
||||
setTimeout(function () {
|
||||
callback.apply(this, args);
|
||||
}, 0);
|
||||
}
|
||||
|
||||
function EventEmitter () {
|
||||
var k;
|
||||
for (k in EventEmitter.prototype) {
|
||||
if (EventEmitter.prototype.hasOwnProperty(k)) {
|
||||
this[k] = EventEmitter.prototype[k];
|
||||
}
|
||||
}
|
||||
this._listeners = {};
|
||||
};
|
||||
|
||||
EventEmitter.prototype = {
|
||||
_listeners: null,
|
||||
|
||||
emit: function (name, args) {
|
||||
args = args || [];
|
||||
if (this._listeners[name]) {
|
||||
for (var i=0; i<this._listeners[name].length; i++) {
|
||||
this._listeners[name][i].apply(this, args);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
},
|
||||
|
||||
on: function (name, listener) {
|
||||
this._listeners[name] = this._listeners[name] || [];
|
||||
this._listeners[name].push(listener);
|
||||
return this;
|
||||
},
|
||||
|
||||
off: function (name, listener) {
|
||||
if (this._listeners[name]) {
|
||||
if (!listener) {
|
||||
delete this._listeners[name];
|
||||
return this;
|
||||
}
|
||||
for (var i=0; i<this._listeners[name].length; i++) {
|
||||
if (this._listeners[name][i] === listener) {
|
||||
this._listeners[name].splice(i--, 1);
|
||||
}
|
||||
}
|
||||
this._listeners[name].length || delete this._listeners[name];
|
||||
}
|
||||
return this;
|
||||
},
|
||||
|
||||
once: function (name, listener) {
|
||||
function ev () {
|
||||
this.off(ev);
|
||||
return listener.apply(this, arguments);
|
||||
}
|
||||
|
||||
return this.on(name, ev);
|
||||
}
|
||||
};
|
||||
|
||||
function loadFile (file, callback, timeout) {
|
||||
if (!(this instanceof loadFile)) {
|
||||
return new loadFile(file, callback, timeout);
|
||||
}
|
||||
|
||||
var self = this,
|
||||
alternates = [],
|
||||
a, b, c, t;
|
||||
|
||||
if (typeof file === 'string') {
|
||||
a = file.split('*:');
|
||||
b = a[ a[1] ? 1 : 0 ].split('||');
|
||||
self.id = a[1] ? a[0] : b[0];
|
||||
self.alternates = alternates;
|
||||
|
||||
for (a=0; a<b.length; a++) {
|
||||
c = b[a].split('.');
|
||||
c = c[c.length - 1].toLowerCase();
|
||||
|
||||
t = codecs[c] ? codecs[c].media : isIn(c, support.imageTypes) ? 'image' : 'document';
|
||||
|
||||
if (codecs[c] && !codecs[c].supported) {
|
||||
continue;
|
||||
}
|
||||
|
||||
alternates.push({
|
||||
type: t,
|
||||
path: b[a]
|
||||
});
|
||||
}
|
||||
|
||||
alternates.length || alternates.push({
|
||||
type: t,
|
||||
path: b[a-1]
|
||||
});
|
||||
} else {
|
||||
delay(callback, TypeError('Invalid path'), self);
|
||||
return;
|
||||
}
|
||||
|
||||
function loadNext() {
|
||||
var file = alternates.shift(),
|
||||
_timeoutTimer = null;
|
||||
|
||||
if (!file) {
|
||||
delay(callback, {e: Error('No viable alternatives')}, null);
|
||||
return;
|
||||
}
|
||||
|
||||
if (typeof timeout === 'number') {
|
||||
_timeoutTimer = setTimeout(function() {
|
||||
delay(callback, {e: Error('Load event not fired within ' + timeout + 'ms')}, self);
|
||||
}, timeout);
|
||||
}
|
||||
|
||||
new loadFile[file.type](
|
||||
file.path,
|
||||
function (e, f) {
|
||||
|
||||
_timeoutTimer && clearTimeout(_timeoutTimer);
|
||||
|
||||
self.dom = f && f.dom;
|
||||
|
||||
if (e && self.alternates.length) {
|
||||
return loadNext();
|
||||
}
|
||||
|
||||
callback(e, self);
|
||||
});
|
||||
}
|
||||
|
||||
loadNext();
|
||||
}
|
||||
|
||||
function MediaFile (construct) {
|
||||
return function (filename, callback) {
|
||||
var self = this,
|
||||
file = construct();
|
||||
|
||||
function onready () {
|
||||
file.onload = file.onerror = null;
|
||||
file.removeEventListener && file.removeEventListener('canplaythrough', onready, true);
|
||||
|
||||
callback(null, self);
|
||||
}
|
||||
|
||||
file.addEventListener && file.addEventListener('canplaythrough', onready, true);
|
||||
file.onload = onready;
|
||||
file.onerror = function (e) {
|
||||
callback(e, self);
|
||||
};
|
||||
|
||||
self.dom = file;
|
||||
file.src = filename;
|
||||
|
||||
file.load && file.load();
|
||||
};
|
||||
}
|
||||
|
||||
loadFile.audio = MediaFile(AudioElement);
|
||||
loadFile.video = MediaFile(VideoElement);
|
||||
loadFile.image = MediaFile(ImageElement);
|
||||
|
||||
loadFile.document = function (file, callback) {
|
||||
var self = this,
|
||||
parsedUrl = /(\[(!)?(.+)?\])?$/.exec(file),
|
||||
mimeType = parsedUrl[3],
|
||||
xhr = self.dom = new XHR();
|
||||
|
||||
if (!xhr) {
|
||||
delay(callback, Error('No XHR!'), self);
|
||||
return;
|
||||
}
|
||||
|
||||
file = file.substr(0, file.length - parsedUrl[0].length);
|
||||
file += parsedUrl[2] ? (file.indexOf('?') === -1 ? '?' : '&') + 'fobarz=' + (+new Date) : '';
|
||||
|
||||
mimeType && xhr.overrideMimeType(mimeType === '@' ? 'text/plain; charset=x-user-defined' : mimeType);
|
||||
|
||||
xhr.onreadystatechange = function () {
|
||||
if (xhr.readyState !== 4) return;
|
||||
|
||||
try {
|
||||
self.dom = xhr.responseXML && xhr.responseXML.documentElement ?
|
||||
xhr.responseXML :
|
||||
String(xhr.responseText || '') ;
|
||||
|
||||
xhr.status === 200 ?
|
||||
callback(null, self) :
|
||||
callback({e: Error('Request failed: ' + xhr.status)}, self) ;
|
||||
} catch (e) {
|
||||
callback({e: e}, self);
|
||||
}
|
||||
};
|
||||
|
||||
xhr.onerror = function (e) {
|
||||
callback(e, self);
|
||||
};
|
||||
|
||||
xhr.open('GET', file, true);
|
||||
xhr.send();
|
||||
};
|
||||
|
||||
(function () {
|
||||
var dummyAudio = AudioElement(),
|
||||
dummyVideo = VideoElement(),
|
||||
i;
|
||||
|
||||
support.audio = !!dummyAudio.canPlayType;
|
||||
support.video = !!dummyVideo.canPlayType;
|
||||
|
||||
support.audioTypes = [];
|
||||
support.videoTypes = [];
|
||||
|
||||
for (i in codecs) {
|
||||
if (codecs.hasOwnProperty(i)) {
|
||||
if (codecs[i].media === 'video') {
|
||||
(codecs[i].supported = support.video &&
|
||||
dummyVideo.canPlayType(codecs[i].codec)) &&
|
||||
support.videoTypes.push(i);
|
||||
} else if (codecs[i].media === 'audio') {
|
||||
(codecs[i].supported = support.audio &&
|
||||
dummyAudio.canPlayType(codecs[i].codec)) &&
|
||||
support.audioTypes.push(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
}());
|
||||
|
||||
if (!support.audio) {
|
||||
loadFile.audio = function (a, callback) {
|
||||
delay(callback, Error('<AUDIO> not supported.'), a);
|
||||
};
|
||||
}
|
||||
if (!support.video) {
|
||||
loadFile.video = function (a, callback) {
|
||||
delay(callback, Error('<VIDEO> not supported.'), a);
|
||||
};
|
||||
}
|
||||
|
||||
function html5Preloader () {
|
||||
var self = this,
|
||||
args = arguments;
|
||||
|
||||
if (!(self instanceof html5Preloader)) {
|
||||
self = new html5Preloader();
|
||||
args.length && self.loadFiles.apply(self, args);
|
||||
return self;
|
||||
}
|
||||
|
||||
self.files = [];
|
||||
|
||||
html5Preloader.EventEmitter.call(self);
|
||||
|
||||
self.loadCallback = bind(self.loadCallback, self);
|
||||
|
||||
args.length && self.loadFiles.apply(self, args);
|
||||
}
|
||||
|
||||
html5Preloader.prototype = {
|
||||
active: false,
|
||||
files: null,
|
||||
filesLoading: 0,
|
||||
filesLoaded: 0,
|
||||
filesLoadedMap: {},
|
||||
timeout: null,
|
||||
|
||||
loadCallback: function (e, f) {
|
||||
|
||||
if (!this.filesLoadedMap[f.id]) {
|
||||
this.filesLoaded++;
|
||||
this.filesLoadedMap[f.id] = f;
|
||||
}
|
||||
|
||||
this.emit(e ? 'error' : 'fileloaded', e ? [e, f] : [f]);
|
||||
|
||||
if (this.filesLoading - this.filesLoaded === 0) {
|
||||
this.active = false;
|
||||
this.emit('finish');
|
||||
this.filesLoading = 0;
|
||||
this.filesLoaded = 0;
|
||||
}
|
||||
},
|
||||
|
||||
getFile: function (id) {
|
||||
return typeof id === 'undefined' ? map(this.files, function (f) {
|
||||
return f.dom;
|
||||
}) :
|
||||
typeof id === 'number' ? this.files[id].dom :
|
||||
typeof id === 'string' ? this.files[ID_PREFIX + id].dom :
|
||||
null;
|
||||
},
|
||||
|
||||
removeFile: function (id) {
|
||||
var f, i;
|
||||
switch (typeof id) {
|
||||
case 'undefined':
|
||||
this.files = [];
|
||||
break;
|
||||
case 'number':
|
||||
f = this.files[id];
|
||||
this.files[ID_PREFIX + f.id] && delete this.files[ID_PREFIX + f.id];
|
||||
this.files.splice(id, 1);
|
||||
break;
|
||||
case 'string':
|
||||
f = this.files[ID_PREFIX + id];
|
||||
f && delete this.files[ID_PREFIX + id];
|
||||
|
||||
for (i=0; i<this.files.length; i++) {
|
||||
this.files[i] === f && this.files.splice(i--, 1);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
loadFiles: function () {
|
||||
var files = [].slice.call(arguments),
|
||||
i, f;
|
||||
|
||||
for (i=0; i<files.length; i++) {
|
||||
f = html5Preloader.loadFile(files[i], this.loadCallback, this.timeout);
|
||||
this.files.push(f);
|
||||
this.files[ID_PREFIX + f.id] = f;
|
||||
this.filesLoading++;
|
||||
}
|
||||
|
||||
this.active = this.active || !!this.filesLoading;
|
||||
},
|
||||
|
||||
addFiles: function (list) {
|
||||
return this.loadFiles.apply(this, list instanceof Array ? list : arguments);
|
||||
},
|
||||
|
||||
getProgress: function () {
|
||||
return this.filesLoading ? this.filesLoaded / this.filesLoading : 1.0;
|
||||
}
|
||||
};
|
||||
|
||||
html5Preloader.support = support;
|
||||
html5Preloader.loadFile = loadFile;
|
||||
html5Preloader.EventEmitter = EventEmitter;
|
||||
|
||||
return html5Preloader;
|
||||
|
||||
}());
|
||||
107
ui/src/vendor/jquery-file-upload/README.md
vendored
Normal file
@@ -0,0 +1,107 @@
|
||||
# jQuery File Upload Plugin
|
||||
|
||||
## Demo
|
||||
[Demo File Upload](https://blueimp.github.io/jQuery-File-Upload/)
|
||||
|
||||
## Description
|
||||
File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for jQuery.
|
||||
Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.
|
||||
|
||||
## Setup
|
||||
* [How to setup the plugin on your website](https://github.com/blueimp/jQuery-File-Upload/wiki/Setup)
|
||||
* [How to use only the basic plugin (minimal setup guide).](https://github.com/blueimp/jQuery-File-Upload/wiki/Basic-plugin)
|
||||
|
||||
## Features
|
||||
* **Multiple file upload:**
|
||||
Allows to select multiple files at once and upload them simultaneously.
|
||||
* **Drag & Drop support:**
|
||||
Allows to upload files by dragging them from your desktop or filemanager and dropping them on your browser window.
|
||||
* **Upload progress bar:**
|
||||
Shows a progress bar indicating the upload progress for individual files and for all uploads combined.
|
||||
* **Cancelable uploads:**
|
||||
Individual file uploads can be canceled to stop the upload progress.
|
||||
* **Resumable uploads:**
|
||||
Aborted uploads can be resumed with browsers supporting the Blob API.
|
||||
* **Chunked uploads:**
|
||||
Large files can be uploaded in smaller chunks with browsers supporting the Blob API.
|
||||
* **Client-side image resizing:**
|
||||
Images can be automatically resized on client-side with browsers supporting the required JS APIs.
|
||||
* **Preview images, audio and video:**
|
||||
A preview of image, audio and video files can be displayed before uploading with browsers supporting the required APIs.
|
||||
* **No browser plugins (e.g. Adobe Flash) required:**
|
||||
The implementation is based on open standards like HTML5 and JavaScript and requires no additional browser plugins.
|
||||
* **Graceful fallback for legacy browsers:**
|
||||
Uploads files via XMLHttpRequests if supported and uses iframes as fallback for legacy browsers.
|
||||
* **HTML file upload form fallback:**
|
||||
Allows progressive enhancement by using a standard HTML file upload form as widget element.
|
||||
* **Cross-site file uploads:**
|
||||
Supports uploading files to a different domain with cross-site XMLHttpRequests or iframe redirects.
|
||||
* **Multiple plugin instances:**
|
||||
Allows to use multiple plugin instances on the same webpage.
|
||||
* **Customizable and extensible:**
|
||||
Provides an API to set individual options and define callBack methods for various upload events.
|
||||
* **Multipart and file contents stream uploads:**
|
||||
Files can be uploaded as standard "multipart/form-data" or file contents stream (HTTP PUT file upload).
|
||||
* **Compatible with any server-side application platform:**
|
||||
Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.
|
||||
|
||||
## Requirements
|
||||
|
||||
### Mandatory requirements
|
||||
* [jQuery](https://jquery.com/) v. 1.6+
|
||||
* [jQuery UI widget factory](https://api.jqueryui.com/jQuery.widget/) v. 1.9+ (included): Required for the basic File Upload plugin, but very lightweight without any other dependencies from the jQuery UI suite.
|
||||
* [jQuery Iframe Transport plugin](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js) (included): Required for [browsers without XHR file upload support](https://github.com/blueimp/jQuery-File-Upload/wiki/Browser-support).
|
||||
|
||||
### Optional requirements
|
||||
* [JavaScript Templates engine](https://github.com/blueimp/JavaScript-Templates) v. 2.5.4+: Used to render the selected and uploaded files for the Basic Plus UI and jQuery UI versions.
|
||||
* [JavaScript Load Image library](https://github.com/blueimp/JavaScript-Load-Image) v. 1.13.0+: Required for the image previews and resizing functionality.
|
||||
* [JavaScript Canvas to Blob polyfill](https://github.com/blueimp/JavaScript-Canvas-to-Blob) v. 2.1.1+:Required for the image previews and resizing functionality.
|
||||
* [blueimp Gallery](https://github.com/blueimp/Gallery) v. 2.15.1+: Used to display the uploaded images in a lightbox.
|
||||
* [Bootstrap](http://getbootstrap.com/) v. 3.2.0+
|
||||
* [Glyphicons](http://glyphicons.com/)
|
||||
|
||||
The user interface of all versions except the jQuery UI version is built with [Bootstrap](http://getbootstrap.com/) and icons from [Glyphicons](http://glyphicons.com/).
|
||||
|
||||
### Cross-domain requirements
|
||||
[Cross-domain File Uploads](https://github.com/blueimp/jQuery-File-Upload/wiki/Cross-domain-uploads) using the [Iframe Transport plugin](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js) require a redirect back to the origin server to retrieve the upload results. The [example implementation](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/main.js) makes use of [result.html](https://github.com/blueimp/jQuery-File-Upload/blob/master/cors/result.html) as a static redirect page for the origin server.
|
||||
|
||||
The repository also includes the [jQuery XDomainRequest Transport plugin](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/cors/jquery.xdr-transport.js), which enables limited cross-domain AJAX requests in Microsoft Internet Explorer 8 and 9 (IE 10 supports cross-domain XHR requests).
|
||||
The XDomainRequest object allows GET and POST requests only and doesn't support file uploads. It is used on the [Demo](https://blueimp.github.io/jQuery-File-Upload/) to delete uploaded files from the cross-domain demo file upload service.
|
||||
|
||||
### Custom Backend's
|
||||
|
||||
You can add support for various backends by adhering to the specification [outlined here](https://github.com/blueimp/jQuery-File-Upload/wiki/JSON-Response).
|
||||
|
||||
## Browsers
|
||||
|
||||
### Desktop browsers
|
||||
The File Upload plugin is regularly tested with the latest browser versions and supports the following minimal versions:
|
||||
|
||||
* Google Chrome
|
||||
* Apple Safari 4.0+
|
||||
* Mozilla Firefox 3.0+
|
||||
* Opera 11.0+
|
||||
* Microsoft Internet Explorer 6.0+
|
||||
|
||||
### Mobile browsers
|
||||
The File Upload plugin has been tested with and supports the following mobile browsers:
|
||||
|
||||
* Apple Safari on iOS 6.0+
|
||||
* Google Chrome on iOS 6.0+
|
||||
* Google Chrome on Android 4.0+
|
||||
* Default Browser on Android 2.3+
|
||||
* Opera Mobile 12.0+
|
||||
|
||||
### Supported features
|
||||
For a detailed overview of the features supported by each browser version, please have a look at the [Extended browser support information](https://github.com/blueimp/jQuery-File-Upload/wiki/Browser-support).
|
||||
|
||||
## Contributing
|
||||
**Bug fixes** and **new features** can be proposed using [pull requests](https://github.com/blueimp/jQuery-File-Upload/pulls).
|
||||
Please read the [contribution guidelines](https://github.com/blueimp/jQuery-File-Upload/blob/master/CONTRIBUTING.md) before submitting a pull request.
|
||||
|
||||
## Support
|
||||
This project is actively maintained, but there is no official support channel.
|
||||
If you have a question that another developer might help you with, please post to [Stack Overflow](http://stackoverflow.com/questions/tagged/blueimp+jquery+file-upload) and tag your question with `blueimp jquery file upload`.
|
||||
|
||||
## License
|
||||
Released under the [MIT license](http://www.opensource.org/licenses/MIT).
|
||||
75
ui/src/vendor/jquery-file-upload/cors/postmessage.html
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!--
|
||||
/*
|
||||
* jQuery File Upload Plugin postMessage API
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2011, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
-->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery File Upload Plugin postMessage API</title>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
/*jslint unparam: true, regexp: true */
|
||||
/*global $, Blob, FormData, location */
|
||||
'use strict';
|
||||
var origin = /^http:\/\/example.org/,
|
||||
target = new RegExp('^(http(s)?:)?\\/\\/' + location.host + '\\/');
|
||||
$(window).on('message', function (e) {
|
||||
e = e.originalEvent;
|
||||
var s = e.data,
|
||||
xhr = $.ajaxSettings.xhr(),
|
||||
f;
|
||||
if (!origin.test(e.origin)) {
|
||||
throw new Error('Origin "' + e.origin + '" does not match ' + origin);
|
||||
}
|
||||
if (!target.test(e.data.url)) {
|
||||
throw new Error('Target "' + e.data.url + '" does not match ' + target);
|
||||
}
|
||||
$(xhr.upload).on('progress', function (ev) {
|
||||
ev = ev.originalEvent;
|
||||
e.source.postMessage({
|
||||
id: s.id,
|
||||
type: ev.type,
|
||||
timeStamp: ev.timeStamp,
|
||||
lengthComputable: ev.lengthComputable,
|
||||
loaded: ev.loaded,
|
||||
total: ev.total
|
||||
}, e.origin);
|
||||
});
|
||||
s.xhr = function () {
|
||||
return xhr;
|
||||
};
|
||||
if (!(s.data instanceof Blob)) {
|
||||
f = new FormData();
|
||||
$.each(s.data, function (i, v) {
|
||||
f.append(v.name, v.value);
|
||||
});
|
||||
s.data = f;
|
||||
}
|
||||
$.ajax(s).always(function (result, statusText, jqXHR) {
|
||||
if (!jqXHR.done) {
|
||||
jqXHR = result;
|
||||
result = null;
|
||||
}
|
||||
e.source.postMessage({
|
||||
id: s.id,
|
||||
status: jqXHR.status,
|
||||
statusText: statusText,
|
||||
result: result,
|
||||
headers: jqXHR.getAllResponseHeaders()
|
||||
}, e.origin);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
24
ui/src/vendor/jquery-file-upload/cors/result.html
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!--
|
||||
/*
|
||||
* jQuery Iframe Transport Plugin Redirect Page
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2010, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
-->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery Iframe Transport Plugin Redirect Page</title>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
document.body.innerText=document.body.textContent=decodeURIComponent(window.location.search.slice(1));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
57
ui/src/vendor/jquery-file-upload/css/jquery.fileupload-ui.css
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
* jQuery File Upload UI Plugin CSS
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2010, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
.fileupload-buttonbar .btn,
|
||||
.fileupload-buttonbar .toggle {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.progress-animated .progress-bar,
|
||||
.progress-animated .bar {
|
||||
background: url("../img/progressbar.gif") !important;
|
||||
filter: none;
|
||||
}
|
||||
.fileupload-process {
|
||||
float: right;
|
||||
display: none;
|
||||
}
|
||||
.fileupload-processing .fileupload-process,
|
||||
.files .processing .preview {
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: url("../img/loading.gif") center no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
.files audio,
|
||||
.files video {
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.fileupload-buttonbar .toggle,
|
||||
.files .toggle,
|
||||
.files .btn span {
|
||||
display: none;
|
||||
}
|
||||
.files .name {
|
||||
width: 80px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.files audio,
|
||||
.files video {
|
||||
max-width: 80px;
|
||||
}
|
||||
.files img,
|
||||
.files canvas {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
37
ui/src/vendor/jquery-file-upload/css/jquery.fileupload.css
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
@charset "UTF-8";
|
||||
/*
|
||||
* jQuery File Upload Plugin CSS
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
.fileinput-button {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
}
|
||||
.fileinput-button input {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
-ms-filter: 'alpha(opacity=0)';
|
||||
font-size: 200px !important;
|
||||
direction: ltr;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Fixes for IE < 8 */
|
||||
@media screen\9 {
|
||||
.fileinput-button input {
|
||||
filter: alpha(opacity=0);
|
||||
font-size: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
BIN
ui/src/vendor/jquery-file-upload/img/loading.gif
vendored
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
ui/src/vendor/jquery-file-upload/img/progressbar.gif
vendored
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
120
ui/src/vendor/jquery-file-upload/js/cors/jquery.postmessage-transport.js
vendored
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* jQuery postMessage Transport Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2011, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/* global define, require, window, document */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(window.jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
'use strict';
|
||||
|
||||
var counter = 0,
|
||||
names = [
|
||||
'accepts',
|
||||
'cache',
|
||||
'contents',
|
||||
'contentType',
|
||||
'crossDomain',
|
||||
'data',
|
||||
'dataType',
|
||||
'headers',
|
||||
'ifModified',
|
||||
'mimeType',
|
||||
'password',
|
||||
'processData',
|
||||
'timeout',
|
||||
'traditional',
|
||||
'type',
|
||||
'url',
|
||||
'username'
|
||||
],
|
||||
convert = function (p) {
|
||||
return p;
|
||||
};
|
||||
|
||||
$.ajaxSetup({
|
||||
converters: {
|
||||
'postmessage text': convert,
|
||||
'postmessage json': convert,
|
||||
'postmessage html': convert
|
||||
}
|
||||
});
|
||||
|
||||
$.ajaxTransport('postmessage', function (options) {
|
||||
if (options.postMessage && window.postMessage) {
|
||||
var iframe,
|
||||
loc = $('<a>').prop('href', options.postMessage)[0],
|
||||
target = loc.protocol + '//' + loc.host,
|
||||
xhrUpload = options.xhr().upload;
|
||||
return {
|
||||
send: function (_, completeCallback) {
|
||||
counter += 1;
|
||||
var message = {
|
||||
id: 'postmessage-transport-' + counter
|
||||
},
|
||||
eventName = 'message.' + message.id;
|
||||
iframe = $(
|
||||
'<iframe style="display:none;" src="' +
|
||||
options.postMessage + '" name="' +
|
||||
message.id + '"></iframe>'
|
||||
).bind('load', function () {
|
||||
$.each(names, function (i, name) {
|
||||
message[name] = options[name];
|
||||
});
|
||||
message.dataType = message.dataType.replace('postmessage ', '');
|
||||
$(window).bind(eventName, function (e) {
|
||||
e = e.originalEvent;
|
||||
var data = e.data,
|
||||
ev;
|
||||
if (e.origin === target && data.id === message.id) {
|
||||
if (data.type === 'progress') {
|
||||
ev = document.createEvent('Event');
|
||||
ev.initEvent(data.type, false, true);
|
||||
$.extend(ev, data);
|
||||
xhrUpload.dispatchEvent(ev);
|
||||
} else {
|
||||
completeCallback(
|
||||
data.status,
|
||||
data.statusText,
|
||||
{postmessage: data.result},
|
||||
data.headers
|
||||
);
|
||||
iframe.remove();
|
||||
$(window).unbind(eventName);
|
||||
}
|
||||
}
|
||||
});
|
||||
iframe[0].contentWindow.postMessage(
|
||||
message,
|
||||
target
|
||||
);
|
||||
}).appendTo(document.body);
|
||||
},
|
||||
abort: function () {
|
||||
if (iframe) {
|
||||
iframe.remove();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
}));
|
||||
89
ui/src/vendor/jquery-file-upload/js/cors/jquery.xdr-transport.js
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* jQuery XDomainRequest Transport Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2011, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*
|
||||
* Based on Julian Aubourg's ajaxHooks xdr.js:
|
||||
* https://github.com/jaubourg/ajaxHooks/
|
||||
*/
|
||||
|
||||
/* global define, require, window, XDomainRequest */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(window.jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
'use strict';
|
||||
if (window.XDomainRequest && !$.support.cors) {
|
||||
$.ajaxTransport(function (s) {
|
||||
if (s.crossDomain && s.async) {
|
||||
if (s.timeout) {
|
||||
s.xdrTimeout = s.timeout;
|
||||
delete s.timeout;
|
||||
}
|
||||
var xdr;
|
||||
return {
|
||||
send: function (headers, completeCallback) {
|
||||
var addParamChar = /\?/.test(s.url) ? '&' : '?';
|
||||
function callback(status, statusText, responses, responseHeaders) {
|
||||
xdr.onload = xdr.onerror = xdr.ontimeout = $.noop;
|
||||
xdr = null;
|
||||
completeCallback(status, statusText, responses, responseHeaders);
|
||||
}
|
||||
xdr = new XDomainRequest();
|
||||
// XDomainRequest only supports GET and POST:
|
||||
if (s.type === 'DELETE') {
|
||||
s.url = s.url + addParamChar + '_method=DELETE';
|
||||
s.type = 'POST';
|
||||
} else if (s.type === 'PUT') {
|
||||
s.url = s.url + addParamChar + '_method=PUT';
|
||||
s.type = 'POST';
|
||||
} else if (s.type === 'PATCH') {
|
||||
s.url = s.url + addParamChar + '_method=PATCH';
|
||||
s.type = 'POST';
|
||||
}
|
||||
xdr.open(s.type, s.url);
|
||||
xdr.onload = function () {
|
||||
callback(
|
||||
200,
|
||||
'OK',
|
||||
{text: xdr.responseText},
|
||||
'Content-Type: ' + xdr.contentType
|
||||
);
|
||||
};
|
||||
xdr.onerror = function () {
|
||||
callback(404, 'Not Found');
|
||||
};
|
||||
if (s.xdrTimeout) {
|
||||
xdr.ontimeout = function () {
|
||||
callback(0, 'timeout');
|
||||
};
|
||||
xdr.timeout = s.xdrTimeout;
|
||||
}
|
||||
xdr.send((s.hasContent && s.data) || null);
|
||||
},
|
||||
abort: function () {
|
||||
if (xdr) {
|
||||
xdr.onerror = $.noop();
|
||||
xdr.abort();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
||||
}));
|
||||
112
ui/src/vendor/jquery-file-upload/js/jquery.fileupload-audio.js
vendored
Normal file
@@ -0,0 +1,112 @@
|
||||
/*
|
||||
* jQuery File Upload Audio Preview Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/* jshint nomen:false */
|
||||
/* global define, require, window, document */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define([
|
||||
'jquery',
|
||||
'load-image',
|
||||
'./jquery.fileupload-process'
|
||||
], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(
|
||||
require('jquery'),
|
||||
require('load-image')
|
||||
);
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(
|
||||
window.jQuery,
|
||||
window.loadImage
|
||||
);
|
||||
}
|
||||
}(function ($, loadImage) {
|
||||
'use strict';
|
||||
|
||||
// Prepend to the default processQueue:
|
||||
$.blueimp.fileupload.prototype.options.processQueue.unshift(
|
||||
{
|
||||
action: 'loadAudio',
|
||||
// Use the action as prefix for the "@" options:
|
||||
prefix: true,
|
||||
fileTypes: '@',
|
||||
maxFileSize: '@',
|
||||
disabled: '@disableAudioPreview'
|
||||
},
|
||||
{
|
||||
action: 'setAudio',
|
||||
name: '@audioPreviewName',
|
||||
disabled: '@disableAudioPreview'
|
||||
}
|
||||
);
|
||||
|
||||
// The File Upload Audio Preview plugin extends the fileupload widget
|
||||
// with audio preview functionality:
|
||||
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
|
||||
|
||||
options: {
|
||||
// The regular expression for the types of audio files to load,
|
||||
// matched against the file type:
|
||||
loadAudioFileTypes: /^audio\/.*$/
|
||||
},
|
||||
|
||||
_audioElement: document.createElement('audio'),
|
||||
|
||||
processActions: {
|
||||
|
||||
// Loads the audio file given via data.files and data.index
|
||||
// as audio element if the browser supports playing it.
|
||||
// Accepts the options fileTypes (regular expression)
|
||||
// and maxFileSize (integer) to limit the files to load:
|
||||
loadAudio: function (data, options) {
|
||||
if (options.disabled) {
|
||||
return data;
|
||||
}
|
||||
var file = data.files[data.index],
|
||||
url,
|
||||
audio;
|
||||
if (this._audioElement.canPlayType &&
|
||||
this._audioElement.canPlayType(file.type) &&
|
||||
($.type(options.maxFileSize) !== 'number' ||
|
||||
file.size <= options.maxFileSize) &&
|
||||
(!options.fileTypes ||
|
||||
options.fileTypes.test(file.type))) {
|
||||
url = loadImage.createObjectURL(file);
|
||||
if (url) {
|
||||
audio = this._audioElement.cloneNode(false);
|
||||
audio.src = url;
|
||||
audio.controls = true;
|
||||
data.audio = audio;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
return data;
|
||||
},
|
||||
|
||||
// Sets the audio element as a property of the file object:
|
||||
setAudio: function (data, options) {
|
||||
if (data.audio && !options.disabled) {
|
||||
data.files[data.index][options.name || 'preview'] = data.audio;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
324
ui/src/vendor/jquery-file-upload/js/jquery.fileupload-image.js
vendored
Normal file
@@ -0,0 +1,324 @@
|
||||
/*
|
||||
* jQuery File Upload Image Preview & Resize Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/* jshint nomen:false */
|
||||
/* global define, require, window, Blob */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define([
|
||||
'jquery',
|
||||
'load-image',
|
||||
'load-image-meta',
|
||||
'load-image-exif',
|
||||
'canvas-to-blob',
|
||||
'./jquery.fileupload-process'
|
||||
], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(
|
||||
require('jquery'),
|
||||
require('blueimp-load-image/js/load-image'),
|
||||
require('blueimp-load-image/js/load-image-meta'),
|
||||
require('blueimp-load-image/js/load-image-exif'),
|
||||
require('blueimp-canvas-to-blob'),
|
||||
require('./jquery.fileupload-process')
|
||||
);
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(
|
||||
window.jQuery,
|
||||
window.loadImage
|
||||
);
|
||||
}
|
||||
}(function ($, loadImage) {
|
||||
'use strict';
|
||||
|
||||
// Prepend to the default processQueue:
|
||||
$.blueimp.fileupload.prototype.options.processQueue.unshift(
|
||||
{
|
||||
action: 'loadImageMetaData',
|
||||
disableImageHead: '@',
|
||||
disableExif: '@',
|
||||
disableExifThumbnail: '@',
|
||||
disableExifSub: '@',
|
||||
disableExifGps: '@',
|
||||
disabled: '@disableImageMetaDataLoad'
|
||||
},
|
||||
{
|
||||
action: 'loadImage',
|
||||
// Use the action as prefix for the "@" options:
|
||||
prefix: true,
|
||||
fileTypes: '@',
|
||||
maxFileSize: '@',
|
||||
noRevoke: '@',
|
||||
disabled: '@disableImageLoad'
|
||||
},
|
||||
{
|
||||
action: 'resizeImage',
|
||||
// Use "image" as prefix for the "@" options:
|
||||
prefix: 'image',
|
||||
maxWidth: '@',
|
||||
maxHeight: '@',
|
||||
minWidth: '@',
|
||||
minHeight: '@',
|
||||
crop: '@',
|
||||
orientation: '@',
|
||||
forceResize: '@',
|
||||
disabled: '@disableImageResize'
|
||||
},
|
||||
{
|
||||
action: 'saveImage',
|
||||
quality: '@imageQuality',
|
||||
type: '@imageType',
|
||||
disabled: '@disableImageResize'
|
||||
},
|
||||
{
|
||||
action: 'saveImageMetaData',
|
||||
disabled: '@disableImageMetaDataSave'
|
||||
},
|
||||
{
|
||||
action: 'resizeImage',
|
||||
// Use "preview" as prefix for the "@" options:
|
||||
prefix: 'preview',
|
||||
maxWidth: '@',
|
||||
maxHeight: '@',
|
||||
minWidth: '@',
|
||||
minHeight: '@',
|
||||
crop: '@',
|
||||
orientation: '@',
|
||||
thumbnail: '@',
|
||||
canvas: '@',
|
||||
disabled: '@disableImagePreview'
|
||||
},
|
||||
{
|
||||
action: 'setImage',
|
||||
name: '@imagePreviewName',
|
||||
disabled: '@disableImagePreview'
|
||||
},
|
||||
{
|
||||
action: 'deleteImageReferences',
|
||||
disabled: '@disableImageReferencesDeletion'
|
||||
}
|
||||
);
|
||||
|
||||
// The File Upload Resize plugin extends the fileupload widget
|
||||
// with image resize functionality:
|
||||
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
|
||||
|
||||
options: {
|
||||
// The regular expression for the types of images to load:
|
||||
// matched against the file type:
|
||||
loadImageFileTypes: /^image\/(gif|jpeg|png|svg\+xml)$/,
|
||||
// The maximum file size of images to load:
|
||||
loadImageMaxFileSize: 10000000, // 10MB
|
||||
// The maximum width of resized images:
|
||||
imageMaxWidth: 1920,
|
||||
// The maximum height of resized images:
|
||||
imageMaxHeight: 1080,
|
||||
// Defines the image orientation (1-8) or takes the orientation
|
||||
// value from Exif data if set to true:
|
||||
imageOrientation: false,
|
||||
// Define if resized images should be cropped or only scaled:
|
||||
imageCrop: false,
|
||||
// Disable the resize image functionality by default:
|
||||
disableImageResize: true,
|
||||
// The maximum width of the preview images:
|
||||
previewMaxWidth: 80,
|
||||
// The maximum height of the preview images:
|
||||
previewMaxHeight: 80,
|
||||
// Defines the preview orientation (1-8) or takes the orientation
|
||||
// value from Exif data if set to true:
|
||||
previewOrientation: true,
|
||||
// Create the preview using the Exif data thumbnail:
|
||||
previewThumbnail: true,
|
||||
// Define if preview images should be cropped or only scaled:
|
||||
previewCrop: false,
|
||||
// Define if preview images should be resized as canvas elements:
|
||||
previewCanvas: true
|
||||
},
|
||||
|
||||
processActions: {
|
||||
|
||||
// Loads the image given via data.files and data.index
|
||||
// as img element, if the browser supports the File API.
|
||||
// Accepts the options fileTypes (regular expression)
|
||||
// and maxFileSize (integer) to limit the files to load:
|
||||
loadImage: function (data, options) {
|
||||
if (options.disabled) {
|
||||
return data;
|
||||
}
|
||||
var that = this,
|
||||
file = data.files[data.index],
|
||||
dfd = $.Deferred();
|
||||
if (($.type(options.maxFileSize) === 'number' &&
|
||||
file.size > options.maxFileSize) ||
|
||||
(options.fileTypes &&
|
||||
!options.fileTypes.test(file.type)) ||
|
||||
!loadImage(
|
||||
file,
|
||||
function (img) {
|
||||
if (img.src) {
|
||||
data.img = img;
|
||||
}
|
||||
dfd.resolveWith(that, [data]);
|
||||
},
|
||||
options
|
||||
)) {
|
||||
return data;
|
||||
}
|
||||
return dfd.promise();
|
||||
},
|
||||
|
||||
// Resizes the image given as data.canvas or data.img
|
||||
// and updates data.canvas or data.img with the resized image.
|
||||
// Also stores the resized image as preview property.
|
||||
// Accepts the options maxWidth, maxHeight, minWidth,
|
||||
// minHeight, canvas and crop:
|
||||
resizeImage: function (data, options) {
|
||||
if (options.disabled || !(data.canvas || data.img)) {
|
||||
return data;
|
||||
}
|
||||
options = $.extend({canvas: true}, options);
|
||||
var that = this,
|
||||
dfd = $.Deferred(),
|
||||
img = (options.canvas && data.canvas) || data.img,
|
||||
resolve = function (newImg) {
|
||||
if (newImg && (newImg.width !== img.width ||
|
||||
newImg.height !== img.height ||
|
||||
options.forceResize)) {
|
||||
data[newImg.getContext ? 'canvas' : 'img'] = newImg;
|
||||
}
|
||||
data.preview = newImg;
|
||||
dfd.resolveWith(that, [data]);
|
||||
},
|
||||
thumbnail;
|
||||
if (data.exif) {
|
||||
if (options.orientation === true) {
|
||||
options.orientation = data.exif.get('Orientation');
|
||||
}
|
||||
if (options.thumbnail) {
|
||||
thumbnail = data.exif.get('Thumbnail');
|
||||
if (thumbnail) {
|
||||
loadImage(thumbnail, resolve, options);
|
||||
return dfd.promise();
|
||||
}
|
||||
}
|
||||
// Prevent orienting the same image twice:
|
||||
if (data.orientation) {
|
||||
delete options.orientation;
|
||||
} else {
|
||||
data.orientation = options.orientation;
|
||||
}
|
||||
}
|
||||
if (img) {
|
||||
resolve(loadImage.scale(img, options));
|
||||
return dfd.promise();
|
||||
}
|
||||
return data;
|
||||
},
|
||||
|
||||
// Saves the processed image given as data.canvas
|
||||
// inplace at data.index of data.files:
|
||||
saveImage: function (data, options) {
|
||||
if (!data.canvas || options.disabled) {
|
||||
return data;
|
||||
}
|
||||
var that = this,
|
||||
file = data.files[data.index],
|
||||
dfd = $.Deferred();
|
||||
if (data.canvas.toBlob) {
|
||||
data.canvas.toBlob(
|
||||
function (blob) {
|
||||
if (!blob.name) {
|
||||
if (file.type === blob.type) {
|
||||
blob.name = file.name;
|
||||
} else if (file.name) {
|
||||
blob.name = file.name.replace(
|
||||
/\.\w+$/,
|
||||
'.' + blob.type.substr(6)
|
||||
);
|
||||
}
|
||||
}
|
||||
// Don't restore invalid meta data:
|
||||
if (file.type !== blob.type) {
|
||||
delete data.imageHead;
|
||||
}
|
||||
// Store the created blob at the position
|
||||
// of the original file in the files list:
|
||||
data.files[data.index] = blob;
|
||||
dfd.resolveWith(that, [data]);
|
||||
},
|
||||
options.type || file.type,
|
||||
options.quality
|
||||
);
|
||||
} else {
|
||||
return data;
|
||||
}
|
||||
return dfd.promise();
|
||||
},
|
||||
|
||||
loadImageMetaData: function (data, options) {
|
||||
if (options.disabled) {
|
||||
return data;
|
||||
}
|
||||
var that = this,
|
||||
dfd = $.Deferred();
|
||||
loadImage.parseMetaData(data.files[data.index], function (result) {
|
||||
$.extend(data, result);
|
||||
dfd.resolveWith(that, [data]);
|
||||
}, options);
|
||||
return dfd.promise();
|
||||
},
|
||||
|
||||
saveImageMetaData: function (data, options) {
|
||||
if (!(data.imageHead && data.canvas &&
|
||||
data.canvas.toBlob && !options.disabled)) {
|
||||
return data;
|
||||
}
|
||||
var file = data.files[data.index],
|
||||
blob = new Blob([
|
||||
data.imageHead,
|
||||
// Resized images always have a head size of 20 bytes,
|
||||
// including the JPEG marker and a minimal JFIF header:
|
||||
this._blobSlice.call(file, 20)
|
||||
], {type: file.type});
|
||||
blob.name = file.name;
|
||||
data.files[data.index] = blob;
|
||||
return data;
|
||||
},
|
||||
|
||||
// Sets the resized version of the image as a property of the
|
||||
// file object, must be called after "saveImage":
|
||||
setImage: function (data, options) {
|
||||
if (data.preview && !options.disabled) {
|
||||
data.files[data.index][options.name || 'preview'] = data.preview;
|
||||
}
|
||||
return data;
|
||||
},
|
||||
|
||||
deleteImageReferences: function (data, options) {
|
||||
if (!options.disabled) {
|
||||
delete data.img;
|
||||
delete data.canvas;
|
||||
delete data.preview;
|
||||
delete data.imageHead;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
155
ui/src/vendor/jquery-file-upload/js/jquery.fileupload-jquery-ui.js
vendored
Normal file
@@ -0,0 +1,155 @@
|
||||
/*
|
||||
* jQuery File Upload jQuery UI Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/* jshint nomen:false */
|
||||
/* global define, require, window */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define(['jquery', './jquery.fileupload-ui'], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(window.jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
'use strict';
|
||||
|
||||
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
|
||||
|
||||
options: {
|
||||
processdone: function (e, data) {
|
||||
data.context.find('.start').button('enable');
|
||||
},
|
||||
progress: function (e, data) {
|
||||
if (data.context) {
|
||||
data.context.find('.progress').progressbar(
|
||||
'option',
|
||||
'value',
|
||||
parseInt(data.loaded / data.total * 100, 10)
|
||||
);
|
||||
}
|
||||
},
|
||||
progressall: function (e, data) {
|
||||
var $this = $(this);
|
||||
$this.find('.fileupload-progress')
|
||||
.find('.progress').progressbar(
|
||||
'option',
|
||||
'value',
|
||||
parseInt(data.loaded / data.total * 100, 10)
|
||||
).end()
|
||||
.find('.progress-extended').each(function () {
|
||||
$(this).html(
|
||||
($this.data('blueimp-fileupload') ||
|
||||
$this.data('fileupload'))
|
||||
._renderExtendedProgress(data)
|
||||
);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
_renderUpload: function (func, files) {
|
||||
var node = this._super(func, files),
|
||||
showIconText = $(window).width() > 480;
|
||||
node.find('.progress').empty().progressbar();
|
||||
node.find('.start').button({
|
||||
icons: {primary: 'ui-icon-circle-arrow-e'},
|
||||
text: showIconText
|
||||
});
|
||||
node.find('.cancel').button({
|
||||
icons: {primary: 'ui-icon-cancel'},
|
||||
text: showIconText
|
||||
});
|
||||
if (node.hasClass('fade')) {
|
||||
node.hide();
|
||||
}
|
||||
return node;
|
||||
},
|
||||
|
||||
_renderDownload: function (func, files) {
|
||||
var node = this._super(func, files),
|
||||
showIconText = $(window).width() > 480;
|
||||
node.find('.delete').button({
|
||||
icons: {primary: 'ui-icon-trash'},
|
||||
text: showIconText
|
||||
});
|
||||
if (node.hasClass('fade')) {
|
||||
node.hide();
|
||||
}
|
||||
return node;
|
||||
},
|
||||
|
||||
_startHandler: function (e) {
|
||||
$(e.currentTarget).button('disable');
|
||||
this._super(e);
|
||||
},
|
||||
|
||||
_transition: function (node) {
|
||||
var deferred = $.Deferred();
|
||||
if (node.hasClass('fade')) {
|
||||
node.fadeToggle(
|
||||
this.options.transitionDuration,
|
||||
this.options.transitionEasing,
|
||||
function () {
|
||||
deferred.resolveWith(node);
|
||||
}
|
||||
);
|
||||
} else {
|
||||
deferred.resolveWith(node);
|
||||
}
|
||||
return deferred;
|
||||
},
|
||||
|
||||
_create: function () {
|
||||
this._super();
|
||||
this.element
|
||||
.find('.fileupload-buttonbar')
|
||||
.find('.fileinput-button').each(function () {
|
||||
var input = $(this).find('input:file').detach();
|
||||
$(this)
|
||||
.button({icons: {primary: 'ui-icon-plusthick'}})
|
||||
.append(input);
|
||||
})
|
||||
.end().find('.start')
|
||||
.button({icons: {primary: 'ui-icon-circle-arrow-e'}})
|
||||
.end().find('.cancel')
|
||||
.button({icons: {primary: 'ui-icon-cancel'}})
|
||||
.end().find('.delete')
|
||||
.button({icons: {primary: 'ui-icon-trash'}})
|
||||
.end().find('.progress').progressbar();
|
||||
},
|
||||
|
||||
_destroy: function () {
|
||||
this.element
|
||||
.find('.fileupload-buttonbar')
|
||||
.find('.fileinput-button').each(function () {
|
||||
var input = $(this).find('input:file').detach();
|
||||
$(this)
|
||||
.button('destroy')
|
||||
.append(input);
|
||||
})
|
||||
.end().find('.start')
|
||||
.button('destroy')
|
||||
.end().find('.cancel')
|
||||
.button('destroy')
|
||||
.end().find('.delete')
|
||||
.button('destroy')
|
||||
.end().find('.progress').progressbar('destroy');
|
||||
this._super();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
175
ui/src/vendor/jquery-file-upload/js/jquery.fileupload-process.js
vendored
Normal file
@@ -0,0 +1,175 @@
|
||||
/*
|
||||
* jQuery File Upload Processing Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2012, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/* jshint nomen:false */
|
||||
/* global define, require, window */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define([
|
||||
'jquery',
|
||||
'./jquery.fileupload'
|
||||
], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(
|
||||
window.jQuery
|
||||
);
|
||||
}
|
||||
}(function ($) {
|
||||
'use strict';
|
||||
|
||||
var originalAdd = $.blueimp.fileupload.prototype.options.add;
|
||||
|
||||
// The File Upload Processing plugin extends the fileupload widget
|
||||
// with file processing functionality:
|
||||
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
|
||||
|
||||
options: {
|
||||
// The list of processing actions:
|
||||
processQueue: [
|
||||
/*
|
||||
{
|
||||
action: 'log',
|
||||
type: 'debug'
|
||||
}
|
||||
*/
|
||||
],
|
||||
add: function (e, data) {
|
||||
var $this = $(this);
|
||||
data.process(function () {
|
||||
return $this.fileupload('process', data);
|
||||
});
|
||||
originalAdd.call(this, e, data);
|
||||
}
|
||||
},
|
||||
|
||||
processActions: {
|
||||
/*
|
||||
log: function (data, options) {
|
||||
console[options.type](
|
||||
'Processing "' + data.files[data.index].name + '"'
|
||||
);
|
||||
}
|
||||
*/
|
||||
},
|
||||
|
||||
_processFile: function (data, originalData) {
|
||||
var that = this,
|
||||
dfd = $.Deferred().resolveWith(that, [data]),
|
||||
chain = dfd.promise();
|
||||
this._trigger('process', null, data);
|
||||
$.each(data.processQueue, function (i, settings) {
|
||||
var func = function (data) {
|
||||
if (originalData.errorThrown) {
|
||||
return $.Deferred()
|
||||
.rejectWith(that, [originalData]).promise();
|
||||
}
|
||||
return that.processActions[settings.action].call(
|
||||
that,
|
||||
data,
|
||||
settings
|
||||
);
|
||||
};
|
||||
chain = chain.then(func, settings.always && func);
|
||||
});
|
||||
chain
|
||||
.done(function () {
|
||||
that._trigger('processdone', null, data);
|
||||
that._trigger('processalways', null, data);
|
||||
})
|
||||
.fail(function () {
|
||||
that._trigger('processfail', null, data);
|
||||
that._trigger('processalways', null, data);
|
||||
});
|
||||
return chain;
|
||||
},
|
||||
|
||||
// Replaces the settings of each processQueue item that
|
||||
// are strings starting with an "@", using the remaining
|
||||
// substring as key for the option map,
|
||||
// e.g. "@autoUpload" is replaced with options.autoUpload:
|
||||
_transformProcessQueue: function (options) {
|
||||
var processQueue = [];
|
||||
$.each(options.processQueue, function () {
|
||||
var settings = {},
|
||||
action = this.action,
|
||||
prefix = this.prefix === true ? action : this.prefix;
|
||||
$.each(this, function (key, value) {
|
||||
if ($.type(value) === 'string' &&
|
||||
value.charAt(0) === '@') {
|
||||
settings[key] = options[
|
||||
value.slice(1) || (prefix ? prefix +
|
||||
key.charAt(0).toUpperCase() + key.slice(1) : key)
|
||||
];
|
||||
} else {
|
||||
settings[key] = value;
|
||||
}
|
||||
|
||||
});
|
||||
processQueue.push(settings);
|
||||
});
|
||||
options.processQueue = processQueue;
|
||||
},
|
||||
|
||||
// Returns the number of files currently in the processsing queue:
|
||||
processing: function () {
|
||||
return this._processing;
|
||||
},
|
||||
|
||||
// Processes the files given as files property of the data parameter,
|
||||
// returns a Promise object that allows to bind callbacks:
|
||||
process: function (data) {
|
||||
var that = this,
|
||||
options = $.extend({}, this.options, data);
|
||||
if (options.processQueue && options.processQueue.length) {
|
||||
this._transformProcessQueue(options);
|
||||
if (this._processing === 0) {
|
||||
this._trigger('processstart');
|
||||
}
|
||||
$.each(data.files, function (index) {
|
||||
var opts = index ? $.extend({}, options) : options,
|
||||
func = function () {
|
||||
if (data.errorThrown) {
|
||||
return $.Deferred()
|
||||
.rejectWith(that, [data]).promise();
|
||||
}
|
||||
return that._processFile(opts, data);
|
||||
};
|
||||
opts.index = index;
|
||||
that._processing += 1;
|
||||
that._processingQueue = that._processingQueue.then(func, func)
|
||||
.always(function () {
|
||||
that._processing -= 1;
|
||||
if (that._processing === 0) {
|
||||
that._trigger('processstop');
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
return this._processingQueue;
|
||||
},
|
||||
|
||||
_create: function () {
|
||||
this._super();
|
||||
this._processing = 0;
|
||||
this._processingQueue = $.Deferred().resolveWith(this)
|
||||
.promise();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
212
ui/src/vendor/jquery-file-upload/js/jquery.fileupload-resize.js
vendored
Normal file
@@ -0,0 +1,212 @@
|
||||
/*
|
||||
* jQuery File Upload Image Resize Plugin 1.1.2
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/*jslint nomen: true, unparam: true, regexp: true */
|
||||
/*global define, window */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define([
|
||||
'jquery',
|
||||
'load-image',
|
||||
'canvas-to-blob',
|
||||
'./jquery.fileupload-process'
|
||||
], factory);
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(
|
||||
window.jQuery,
|
||||
window.loadImage
|
||||
);
|
||||
}
|
||||
}(function ($, loadImage) {
|
||||
'use strict';
|
||||
|
||||
// Prepend to the default processQueue:
|
||||
$.blueimp.fileupload.prototype.options.processQueue.unshift(
|
||||
{
|
||||
action: 'loadImage',
|
||||
fileTypes: '@loadImageFileTypes',
|
||||
maxFileSize: '@loadImageMaxFileSize',
|
||||
noRevoke: '@loadImageNoRevoke',
|
||||
disabled: '@disableImageLoad'
|
||||
},
|
||||
{
|
||||
action: 'resizeImage',
|
||||
maxWidth: '@imageMaxWidth',
|
||||
maxHeight: '@imageMaxHeight',
|
||||
minWidth: '@imageMinWidth',
|
||||
minHeight: '@imageMinHeight',
|
||||
crop: '@imageCrop',
|
||||
disabled: '@disableImageResize'
|
||||
},
|
||||
{
|
||||
action: 'saveImage',
|
||||
disabled: '@disableImageResize'
|
||||
},
|
||||
{
|
||||
action: 'resizeImage',
|
||||
maxWidth: '@previewMaxWidth',
|
||||
maxHeight: '@previewMaxHeight',
|
||||
minWidth: '@previewMinWidth',
|
||||
minHeight: '@previewMinHeight',
|
||||
crop: '@previewCrop',
|
||||
canvas: '@previewAsCanvas',
|
||||
disabled: '@disableImagePreview'
|
||||
},
|
||||
{
|
||||
action: 'setImage',
|
||||
// The name of the property the resized image
|
||||
// is saved as on the associated file object:
|
||||
name: 'preview',
|
||||
disabled: '@disableImagePreview'
|
||||
}
|
||||
);
|
||||
|
||||
// The File Upload Resize plugin extends the fileupload widget
|
||||
// with image resize functionality:
|
||||
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
|
||||
|
||||
options: {
|
||||
// The regular expression for the types of images to load:
|
||||
// matched against the file type:
|
||||
loadImageFileTypes: /^image\/(gif|jpeg|png)$/,
|
||||
// The maximum file size of images to load:
|
||||
loadImageMaxFileSize: 5000000, // 5MB
|
||||
// The maximum width of resized images:
|
||||
imageMaxWidth: 1920,
|
||||
// The maximum height of resized images:
|
||||
imageMaxHeight: 1080,
|
||||
// Define if resized images should be cropped or only scaled:
|
||||
imageCrop: false,
|
||||
// Disable the resize image functionality by default:
|
||||
disableImageResize: true,
|
||||
// The maximum width of the preview images:
|
||||
previewMaxWidth: 80,
|
||||
// The maximum height of the preview images:
|
||||
previewMaxHeight: 80,
|
||||
// Define if preview images should be cropped or only scaled:
|
||||
previewCrop: false,
|
||||
// Define if preview images should be resized as canvas elements:
|
||||
previewAsCanvas: true
|
||||
},
|
||||
|
||||
processActions: {
|
||||
|
||||
// Loads the image given via data.files and data.index
|
||||
// as img element if the browser supports canvas.
|
||||
// Accepts the options fileTypes (regular expression)
|
||||
// and maxFileSize (integer) to limit the files to load:
|
||||
loadImage: function (data, options) {
|
||||
if (options.disabled) {
|
||||
return data;
|
||||
}
|
||||
var that = this,
|
||||
file = data.files[data.index],
|
||||
dfd = $.Deferred();
|
||||
if (($.type(options.maxFileSize) === 'number' &&
|
||||
file.size > options.maxFileSize) ||
|
||||
(options.fileTypes &&
|
||||
!options.fileTypes.test(file.type)) ||
|
||||
!loadImage(
|
||||
file,
|
||||
function (img) {
|
||||
if (!img.src) {
|
||||
return dfd.rejectWith(that, [data]);
|
||||
}
|
||||
data.img = img;
|
||||
dfd.resolveWith(that, [data]);
|
||||
},
|
||||
options
|
||||
)) {
|
||||
dfd.rejectWith(that, [data]);
|
||||
}
|
||||
return dfd.promise();
|
||||
},
|
||||
|
||||
// Resizes the image given as data.canvas or data.img
|
||||
// and updates data.canvas or data.img with the resized image.
|
||||
// Accepts the options maxWidth, maxHeight, minWidth,
|
||||
// minHeight, canvas and crop:
|
||||
resizeImage: function (data, options) {
|
||||
options = $.extend({canvas: true}, options);
|
||||
var img = (options.canvas && data.canvas) || data.img,
|
||||
canvas;
|
||||
if (img && !options.disabled) {
|
||||
canvas = loadImage.scale(img, options);
|
||||
if (canvas && (canvas.width !== img.width ||
|
||||
canvas.height !== img.height)) {
|
||||
data[canvas.getContext ? 'canvas' : 'img'] = canvas;
|
||||
}
|
||||
}
|
||||
return data;
|
||||
},
|
||||
|
||||
// Saves the processed image given as data.canvas
|
||||
// inplace at data.index of data.files:
|
||||
saveImage: function (data, options) {
|
||||
if (!data.canvas || options.disabled) {
|
||||
return data;
|
||||
}
|
||||
var that = this,
|
||||
file = data.files[data.index],
|
||||
name = file.name,
|
||||
dfd = $.Deferred(),
|
||||
callback = function (blob) {
|
||||
if (!blob.name) {
|
||||
if (file.type === blob.type) {
|
||||
blob.name = file.name;
|
||||
} else if (file.name) {
|
||||
blob.name = file.name.replace(
|
||||
/\..+$/,
|
||||
'.' + blob.type.substr(6)
|
||||
);
|
||||
}
|
||||
}
|
||||
// Store the created blob at the position
|
||||
// of the original file in the files list:
|
||||
data.files[data.index] = blob;
|
||||
dfd.resolveWith(that, [data]);
|
||||
};
|
||||
// Use canvas.mozGetAsFile directly, to retain the filename, as
|
||||
// Gecko doesn't support the filename option for FormData.append:
|
||||
if (data.canvas.mozGetAsFile) {
|
||||
callback(data.canvas.mozGetAsFile(
|
||||
(/^image\/(jpeg|png)$/.test(file.type) && name) ||
|
||||
((name && name.replace(/\..+$/, '')) ||
|
||||
'blob') + '.png',
|
||||
file.type
|
||||
));
|
||||
} else if (data.canvas.toBlob) {
|
||||
data.canvas.toBlob(callback, file.type);
|
||||
} else {
|
||||
return data;
|
||||
}
|
||||
return dfd.promise();
|
||||
},
|
||||
|
||||
// Sets the resized version of the image as a property of the
|
||||
// file object, must be called after "saveImage":
|
||||
setImage: function (data, options) {
|
||||
var img = data.canvas || data.img;
|
||||
if (img && !options.disabled) {
|
||||
data.files[data.index][options.name] = img;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
710
ui/src/vendor/jquery-file-upload/js/jquery.fileupload-ui.js
vendored
Normal file
@@ -0,0 +1,710 @@
|
||||
/*
|
||||
* jQuery File Upload User Interface Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2010, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/* jshint nomen:false */
|
||||
/* global define, require, window */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define([
|
||||
'jquery',
|
||||
'tmpl',
|
||||
'./jquery.fileupload-image',
|
||||
'./jquery.fileupload-audio',
|
||||
'./jquery.fileupload-video',
|
||||
'./jquery.fileupload-validate'
|
||||
], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(
|
||||
require('jquery'),
|
||||
require('tmpl')
|
||||
);
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(
|
||||
window.jQuery,
|
||||
window.tmpl
|
||||
);
|
||||
}
|
||||
}(function ($, tmpl) {
|
||||
'use strict';
|
||||
|
||||
$.blueimp.fileupload.prototype._specialOptions.push(
|
||||
'filesContainer',
|
||||
'uploadTemplateId',
|
||||
'downloadTemplateId'
|
||||
);
|
||||
|
||||
// The UI version extends the file upload widget
|
||||
// and adds complete user interface interaction:
|
||||
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
|
||||
|
||||
options: {
|
||||
// By default, files added to the widget are uploaded as soon
|
||||
// as the user clicks on the start buttons. To enable automatic
|
||||
// uploads, set the following option to true:
|
||||
autoUpload: false,
|
||||
// The ID of the upload template:
|
||||
uploadTemplateId: 'template-upload',
|
||||
// The ID of the download template:
|
||||
downloadTemplateId: 'template-download',
|
||||
// The container for the list of files. If undefined, it is set to
|
||||
// an element with class "files" inside of the widget element:
|
||||
filesContainer: undefined,
|
||||
// By default, files are appended to the files container.
|
||||
// Set the following option to true, to prepend files instead:
|
||||
prependFiles: false,
|
||||
// The expected data type of the upload response, sets the dataType
|
||||
// option of the $.ajax upload requests:
|
||||
dataType: 'json',
|
||||
|
||||
// Error and info messages:
|
||||
messages: {
|
||||
unknownError: 'Unknown error'
|
||||
},
|
||||
|
||||
// Function returning the current number of files,
|
||||
// used by the maxNumberOfFiles validation:
|
||||
getNumberOfFiles: function () {
|
||||
return this.filesContainer.children()
|
||||
.not('.processing').length;
|
||||
},
|
||||
|
||||
// Callback to retrieve the list of files from the server response:
|
||||
getFilesFromResponse: function (data) {
|
||||
if (data.result && $.isArray(data.result.files)) {
|
||||
return data.result.files;
|
||||
}
|
||||
return [];
|
||||
},
|
||||
|
||||
// The add callback is invoked as soon as files are added to the fileupload
|
||||
// widget (via file input selection, drag & drop or add API call).
|
||||
// See the basic file upload widget for more information:
|
||||
add: function (e, data) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
var $this = $(this),
|
||||
that = $this.data('blueimp-fileupload') ||
|
||||
$this.data('fileupload'),
|
||||
options = that.options;
|
||||
data.context = that._renderUpload(data.files)
|
||||
.data('data', data)
|
||||
.addClass('processing');
|
||||
options.filesContainer[
|
||||
options.prependFiles ? 'prepend' : 'append'
|
||||
](data.context);
|
||||
that._forceReflow(data.context);
|
||||
that._transition(data.context);
|
||||
data.process(function () {
|
||||
return $this.fileupload('process', data);
|
||||
}).always(function () {
|
||||
data.context.each(function (index) {
|
||||
$(this).find('.size').text(
|
||||
that._formatFileSize(data.files[index].size)
|
||||
);
|
||||
}).removeClass('processing');
|
||||
that._renderPreviews(data);
|
||||
}).done(function () {
|
||||
data.context.find('.start').prop('disabled', false);
|
||||
if ((that._trigger('added', e, data) !== false) &&
|
||||
(options.autoUpload || data.autoUpload) &&
|
||||
data.autoUpload !== false) {
|
||||
data.submit();
|
||||
}
|
||||
}).fail(function () {
|
||||
if (data.files.error) {
|
||||
data.context.each(function (index) {
|
||||
var error = data.files[index].error;
|
||||
if (error) {
|
||||
$(this).find('.error').text(error);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
// Callback for the start of each file upload request:
|
||||
send: function (e, data) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
var that = $(this).data('blueimp-fileupload') ||
|
||||
$(this).data('fileupload');
|
||||
if (data.context && data.dataType &&
|
||||
data.dataType.substr(0, 6) === 'iframe') {
|
||||
// Iframe Transport does not support progress events.
|
||||
// In lack of an indeterminate progress bar, we set
|
||||
// the progress to 100%, showing the full animated bar:
|
||||
data.context
|
||||
.find('.progress').addClass(
|
||||
!$.support.transition && 'progress-animated'
|
||||
)
|
||||
.attr('aria-valuenow', 100)
|
||||
.children().first().css(
|
||||
'width',
|
||||
'100%'
|
||||
);
|
||||
}
|
||||
return that._trigger('sent', e, data);
|
||||
},
|
||||
// Callback for successful uploads:
|
||||
done: function (e, data) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
var that = $(this).data('blueimp-fileupload') ||
|
||||
$(this).data('fileupload'),
|
||||
getFilesFromResponse = data.getFilesFromResponse ||
|
||||
that.options.getFilesFromResponse,
|
||||
files = getFilesFromResponse(data),
|
||||
template,
|
||||
deferred;
|
||||
if (data.context) {
|
||||
data.context.each(function (index) {
|
||||
var file = files[index] ||
|
||||
{error: 'Empty file upload result'};
|
||||
deferred = that._addFinishedDeferreds();
|
||||
that._transition($(this)).done(
|
||||
function () {
|
||||
var node = $(this);
|
||||
template = that._renderDownload([file])
|
||||
.replaceAll(node);
|
||||
that._forceReflow(template);
|
||||
that._transition(template).done(
|
||||
function () {
|
||||
data.context = $(this);
|
||||
that._trigger('completed', e, data);
|
||||
that._trigger('finished', e, data);
|
||||
deferred.resolve();
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
});
|
||||
} else {
|
||||
template = that._renderDownload(files)[
|
||||
that.options.prependFiles ? 'prependTo' : 'appendTo'
|
||||
](that.options.filesContainer);
|
||||
that._forceReflow(template);
|
||||
deferred = that._addFinishedDeferreds();
|
||||
that._transition(template).done(
|
||||
function () {
|
||||
data.context = $(this);
|
||||
that._trigger('completed', e, data);
|
||||
that._trigger('finished', e, data);
|
||||
deferred.resolve();
|
||||
}
|
||||
);
|
||||
}
|
||||
},
|
||||
// Callback for failed (abort or error) uploads:
|
||||
fail: function (e, data) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
var that = $(this).data('blueimp-fileupload') ||
|
||||
$(this).data('fileupload'),
|
||||
template,
|
||||
deferred;
|
||||
if (data.context) {
|
||||
data.context.each(function (index) {
|
||||
if (data.errorThrown !== 'abort') {
|
||||
var file = data.files[index];
|
||||
file.error = file.error || data.errorThrown ||
|
||||
data.i18n('unknownError');
|
||||
deferred = that._addFinishedDeferreds();
|
||||
that._transition($(this)).done(
|
||||
function () {
|
||||
var node = $(this);
|
||||
template = that._renderDownload([file])
|
||||
.replaceAll(node);
|
||||
that._forceReflow(template);
|
||||
that._transition(template).done(
|
||||
function () {
|
||||
data.context = $(this);
|
||||
that._trigger('failed', e, data);
|
||||
that._trigger('finished', e, data);
|
||||
deferred.resolve();
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
} else {
|
||||
deferred = that._addFinishedDeferreds();
|
||||
that._transition($(this)).done(
|
||||
function () {
|
||||
$(this).remove();
|
||||
that._trigger('failed', e, data);
|
||||
that._trigger('finished', e, data);
|
||||
deferred.resolve();
|
||||
}
|
||||
);
|
||||
}
|
||||
});
|
||||
} else if (data.errorThrown !== 'abort') {
|
||||
data.context = that._renderUpload(data.files)[
|
||||
that.options.prependFiles ? 'prependTo' : 'appendTo'
|
||||
](that.options.filesContainer)
|
||||
.data('data', data);
|
||||
that._forceReflow(data.context);
|
||||
deferred = that._addFinishedDeferreds();
|
||||
that._transition(data.context).done(
|
||||
function () {
|
||||
data.context = $(this);
|
||||
that._trigger('failed', e, data);
|
||||
that._trigger('finished', e, data);
|
||||
deferred.resolve();
|
||||
}
|
||||
);
|
||||
} else {
|
||||
that._trigger('failed', e, data);
|
||||
that._trigger('finished', e, data);
|
||||
that._addFinishedDeferreds().resolve();
|
||||
}
|
||||
},
|
||||
// Callback for upload progress events:
|
||||
progress: function (e, data) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
var progress = Math.floor(data.loaded / data.total * 100);
|
||||
if (data.context) {
|
||||
data.context.each(function () {
|
||||
$(this).find('.progress')
|
||||
.attr('aria-valuenow', progress)
|
||||
.children().first().css(
|
||||
'width',
|
||||
progress + '%'
|
||||
);
|
||||
});
|
||||
}
|
||||
},
|
||||
// Callback for global upload progress events:
|
||||
progressall: function (e, data) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
var $this = $(this),
|
||||
progress = Math.floor(data.loaded / data.total * 100),
|
||||
globalProgressNode = $this.find('.fileupload-progress'),
|
||||
extendedProgressNode = globalProgressNode
|
||||
.find('.progress-extended');
|
||||
if (extendedProgressNode.length) {
|
||||
extendedProgressNode.html(
|
||||
($this.data('blueimp-fileupload') || $this.data('fileupload'))
|
||||
._renderExtendedProgress(data)
|
||||
);
|
||||
}
|
||||
globalProgressNode
|
||||
.find('.progress')
|
||||
.attr('aria-valuenow', progress)
|
||||
.children().first().css(
|
||||
'width',
|
||||
progress + '%'
|
||||
);
|
||||
},
|
||||
// Callback for uploads start, equivalent to the global ajaxStart event:
|
||||
start: function (e) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
var that = $(this).data('blueimp-fileupload') ||
|
||||
$(this).data('fileupload');
|
||||
that._resetFinishedDeferreds();
|
||||
that._transition($(this).find('.fileupload-progress')).done(
|
||||
function () {
|
||||
that._trigger('started', e);
|
||||
}
|
||||
);
|
||||
},
|
||||
// Callback for uploads stop, equivalent to the global ajaxStop event:
|
||||
stop: function (e) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
var that = $(this).data('blueimp-fileupload') ||
|
||||
$(this).data('fileupload'),
|
||||
deferred = that._addFinishedDeferreds();
|
||||
$.when.apply($, that._getFinishedDeferreds())
|
||||
.done(function () {
|
||||
that._trigger('stopped', e);
|
||||
});
|
||||
that._transition($(this).find('.fileupload-progress')).done(
|
||||
function () {
|
||||
$(this).find('.progress')
|
||||
.attr('aria-valuenow', '0')
|
||||
.children().first().css('width', '0%');
|
||||
$(this).find('.progress-extended').html(' ');
|
||||
deferred.resolve();
|
||||
}
|
||||
);
|
||||
},
|
||||
processstart: function (e) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
$(this).addClass('fileupload-processing');
|
||||
},
|
||||
processstop: function (e) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
$(this).removeClass('fileupload-processing');
|
||||
},
|
||||
// Callback for file deletion:
|
||||
destroy: function (e, data) {
|
||||
if (e.isDefaultPrevented()) {
|
||||
return false;
|
||||
}
|
||||
var that = $(this).data('blueimp-fileupload') ||
|
||||
$(this).data('fileupload'),
|
||||
removeNode = function () {
|
||||
that._transition(data.context).done(
|
||||
function () {
|
||||
$(this).remove();
|
||||
that._trigger('destroyed', e, data);
|
||||
}
|
||||
);
|
||||
};
|
||||
if (data.url) {
|
||||
data.dataType = data.dataType || that.options.dataType;
|
||||
$.ajax(data).done(removeNode).fail(function () {
|
||||
that._trigger('destroyfailed', e, data);
|
||||
});
|
||||
} else {
|
||||
removeNode();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
_resetFinishedDeferreds: function () {
|
||||
this._finishedUploads = [];
|
||||
},
|
||||
|
||||
_addFinishedDeferreds: function (deferred) {
|
||||
if (!deferred) {
|
||||
deferred = $.Deferred();
|
||||
}
|
||||
this._finishedUploads.push(deferred);
|
||||
return deferred;
|
||||
},
|
||||
|
||||
_getFinishedDeferreds: function () {
|
||||
return this._finishedUploads;
|
||||
},
|
||||
|
||||
// Link handler, that allows to download files
|
||||
// by drag & drop of the links to the desktop:
|
||||
_enableDragToDesktop: function () {
|
||||
var link = $(this),
|
||||
url = link.prop('href'),
|
||||
name = link.prop('download'),
|
||||
type = 'application/octet-stream';
|
||||
link.bind('dragstart', function (e) {
|
||||
try {
|
||||
e.originalEvent.dataTransfer.setData(
|
||||
'DownloadURL',
|
||||
[type, name, url].join(':')
|
||||
);
|
||||
} catch (ignore) {}
|
||||
});
|
||||
},
|
||||
|
||||
_formatFileSize: function (bytes) {
|
||||
if (typeof bytes !== 'number') {
|
||||
return '';
|
||||
}
|
||||
if (bytes >= 1000000000) {
|
||||
return (bytes / 1000000000).toFixed(2) + ' GB';
|
||||
}
|
||||
if (bytes >= 1000000) {
|
||||
return (bytes / 1000000).toFixed(2) + ' MB';
|
||||
}
|
||||
return (bytes / 1000).toFixed(2) + ' KB';
|
||||
},
|
||||
|
||||
_formatBitrate: function (bits) {
|
||||
if (typeof bits !== 'number') {
|
||||
return '';
|
||||
}
|
||||
if (bits >= 1000000000) {
|
||||
return (bits / 1000000000).toFixed(2) + ' Gbit/s';
|
||||
}
|
||||
if (bits >= 1000000) {
|
||||
return (bits / 1000000).toFixed(2) + ' Mbit/s';
|
||||
}
|
||||
if (bits >= 1000) {
|
||||
return (bits / 1000).toFixed(2) + ' kbit/s';
|
||||
}
|
||||
return bits.toFixed(2) + ' bit/s';
|
||||
},
|
||||
|
||||
_formatTime: function (seconds) {
|
||||
var date = new Date(seconds * 1000),
|
||||
days = Math.floor(seconds / 86400);
|
||||
days = days ? days + 'd ' : '';
|
||||
return days +
|
||||
('0' + date.getUTCHours()).slice(-2) + ':' +
|
||||
('0' + date.getUTCMinutes()).slice(-2) + ':' +
|
||||
('0' + date.getUTCSeconds()).slice(-2);
|
||||
},
|
||||
|
||||
_formatPercentage: function (floatValue) {
|
||||
return (floatValue * 100).toFixed(2) + ' %';
|
||||
},
|
||||
|
||||
_renderExtendedProgress: function (data) {
|
||||
return this._formatBitrate(data.bitrate) + ' | ' +
|
||||
this._formatTime(
|
||||
(data.total - data.loaded) * 8 / data.bitrate
|
||||
) + ' | ' +
|
||||
this._formatPercentage(
|
||||
data.loaded / data.total
|
||||
) + ' | ' +
|
||||
this._formatFileSize(data.loaded) + ' / ' +
|
||||
this._formatFileSize(data.total);
|
||||
},
|
||||
|
||||
_renderTemplate: function (func, files) {
|
||||
if (!func) {
|
||||
return $();
|
||||
}
|
||||
var result = func({
|
||||
files: files,
|
||||
formatFileSize: this._formatFileSize,
|
||||
options: this.options
|
||||
});
|
||||
if (result instanceof $) {
|
||||
return result;
|
||||
}
|
||||
return $(this.options.templatesContainer).html(result).children();
|
||||
},
|
||||
|
||||
_renderPreviews: function (data) {
|
||||
data.context.find('.preview').each(function (index, elm) {
|
||||
$(elm).append(data.files[index].preview);
|
||||
});
|
||||
},
|
||||
|
||||
_renderUpload: function (files) {
|
||||
return this._renderTemplate(
|
||||
this.options.uploadTemplate,
|
||||
files
|
||||
);
|
||||
},
|
||||
|
||||
_renderDownload: function (files) {
|
||||
return this._renderTemplate(
|
||||
this.options.downloadTemplate,
|
||||
files
|
||||
).find('a[download]').each(this._enableDragToDesktop).end();
|
||||
},
|
||||
|
||||
_startHandler: function (e) {
|
||||
e.preventDefault();
|
||||
var button = $(e.currentTarget),
|
||||
template = button.closest('.template-upload'),
|
||||
data = template.data('data');
|
||||
button.prop('disabled', true);
|
||||
if (data && data.submit) {
|
||||
data.submit();
|
||||
}
|
||||
},
|
||||
|
||||
_cancelHandler: function (e) {
|
||||
e.preventDefault();
|
||||
var template = $(e.currentTarget)
|
||||
.closest('.template-upload,.template-download'),
|
||||
data = template.data('data') || {};
|
||||
data.context = data.context || template;
|
||||
if (data.abort) {
|
||||
data.abort();
|
||||
} else {
|
||||
data.errorThrown = 'abort';
|
||||
this._trigger('fail', e, data);
|
||||
}
|
||||
},
|
||||
|
||||
_deleteHandler: function (e) {
|
||||
e.preventDefault();
|
||||
var button = $(e.currentTarget);
|
||||
this._trigger('destroy', e, $.extend({
|
||||
context: button.closest('.template-download'),
|
||||
type: 'DELETE'
|
||||
}, button.data()));
|
||||
},
|
||||
|
||||
_forceReflow: function (node) {
|
||||
return $.support.transition && node.length &&
|
||||
node[0].offsetWidth;
|
||||
},
|
||||
|
||||
_transition: function (node) {
|
||||
var dfd = $.Deferred();
|
||||
if ($.support.transition && node.hasClass('fade') && node.is(':visible')) {
|
||||
node.bind(
|
||||
$.support.transition.end,
|
||||
function (e) {
|
||||
// Make sure we don't respond to other transitions events
|
||||
// in the container element, e.g. from button elements:
|
||||
if (e.target === node[0]) {
|
||||
node.unbind($.support.transition.end);
|
||||
dfd.resolveWith(node);
|
||||
}
|
||||
}
|
||||
).toggleClass('in');
|
||||
} else {
|
||||
node.toggleClass('in');
|
||||
dfd.resolveWith(node);
|
||||
}
|
||||
return dfd;
|
||||
},
|
||||
|
||||
_initButtonBarEventHandlers: function () {
|
||||
var fileUploadButtonBar = this.element.find('.fileupload-buttonbar'),
|
||||
filesList = this.options.filesContainer;
|
||||
this._on(fileUploadButtonBar.find('.start'), {
|
||||
click: function (e) {
|
||||
e.preventDefault();
|
||||
filesList.find('.start').click();
|
||||
}
|
||||
});
|
||||
this._on(fileUploadButtonBar.find('.cancel'), {
|
||||
click: function (e) {
|
||||
e.preventDefault();
|
||||
filesList.find('.cancel').click();
|
||||
}
|
||||
});
|
||||
this._on(fileUploadButtonBar.find('.delete'), {
|
||||
click: function (e) {
|
||||
e.preventDefault();
|
||||
filesList.find('.toggle:checked')
|
||||
.closest('.template-download')
|
||||
.find('.delete').click();
|
||||
fileUploadButtonBar.find('.toggle')
|
||||
.prop('checked', false);
|
||||
}
|
||||
});
|
||||
this._on(fileUploadButtonBar.find('.toggle'), {
|
||||
change: function (e) {
|
||||
filesList.find('.toggle').prop(
|
||||
'checked',
|
||||
$(e.currentTarget).is(':checked')
|
||||
);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
_destroyButtonBarEventHandlers: function () {
|
||||
this._off(
|
||||
this.element.find('.fileupload-buttonbar')
|
||||
.find('.start, .cancel, .delete'),
|
||||
'click'
|
||||
);
|
||||
this._off(
|
||||
this.element.find('.fileupload-buttonbar .toggle'),
|
||||
'change.'
|
||||
);
|
||||
},
|
||||
|
||||
_initEventHandlers: function () {
|
||||
this._super();
|
||||
this._on(this.options.filesContainer, {
|
||||
'click .start': this._startHandler,
|
||||
'click .cancel': this._cancelHandler,
|
||||
'click .delete': this._deleteHandler
|
||||
});
|
||||
this._initButtonBarEventHandlers();
|
||||
},
|
||||
|
||||
_destroyEventHandlers: function () {
|
||||
this._destroyButtonBarEventHandlers();
|
||||
this._off(this.options.filesContainer, 'click');
|
||||
this._super();
|
||||
},
|
||||
|
||||
_enableFileInputButton: function () {
|
||||
this.element.find('.fileinput-button input')
|
||||
.prop('disabled', false)
|
||||
.parent().removeClass('disabled');
|
||||
},
|
||||
|
||||
_disableFileInputButton: function () {
|
||||
this.element.find('.fileinput-button input')
|
||||
.prop('disabled', true)
|
||||
.parent().addClass('disabled');
|
||||
},
|
||||
|
||||
_initTemplates: function () {
|
||||
var options = this.options;
|
||||
options.templatesContainer = this.document[0].createElement(
|
||||
options.filesContainer.prop('nodeName')
|
||||
);
|
||||
if (tmpl) {
|
||||
if (options.uploadTemplateId) {
|
||||
options.uploadTemplate = tmpl(options.uploadTemplateId);
|
||||
}
|
||||
if (options.downloadTemplateId) {
|
||||
options.downloadTemplate = tmpl(options.downloadTemplateId);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
_initFilesContainer: function () {
|
||||
var options = this.options;
|
||||
if (options.filesContainer === undefined) {
|
||||
options.filesContainer = this.element.find('.files');
|
||||
} else if (!(options.filesContainer instanceof $)) {
|
||||
options.filesContainer = $(options.filesContainer);
|
||||
}
|
||||
},
|
||||
|
||||
_initSpecialOptions: function () {
|
||||
this._super();
|
||||
this._initFilesContainer();
|
||||
this._initTemplates();
|
||||
},
|
||||
|
||||
_create: function () {
|
||||
this._super();
|
||||
this._resetFinishedDeferreds();
|
||||
if (!$.support.fileInput) {
|
||||
this._disableFileInputButton();
|
||||
}
|
||||
},
|
||||
|
||||
enable: function () {
|
||||
var wasDisabled = false;
|
||||
if (this.options.disabled) {
|
||||
wasDisabled = true;
|
||||
}
|
||||
this._super();
|
||||
if (wasDisabled) {
|
||||
this.element.find('input, button').prop('disabled', false);
|
||||
this._enableFileInputButton();
|
||||
}
|
||||
},
|
||||
|
||||
disable: function () {
|
||||
if (!this.options.disabled) {
|
||||
this.element.find('input, button').prop('disabled', true);
|
||||
this._disableFileInputButton();
|
||||
}
|
||||
this._super();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
122
ui/src/vendor/jquery-file-upload/js/jquery.fileupload-validate.js
vendored
Normal file
@@ -0,0 +1,122 @@
|
||||
/*
|
||||
* jQuery File Upload Validation Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/* global define, require, window */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define([
|
||||
'jquery',
|
||||
'./jquery.fileupload-process'
|
||||
], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(
|
||||
window.jQuery
|
||||
);
|
||||
}
|
||||
}(function ($) {
|
||||
'use strict';
|
||||
|
||||
// Append to the default processQueue:
|
||||
$.blueimp.fileupload.prototype.options.processQueue.push(
|
||||
{
|
||||
action: 'validate',
|
||||
// Always trigger this action,
|
||||
// even if the previous action was rejected:
|
||||
always: true,
|
||||
// Options taken from the global options map:
|
||||
acceptFileTypes: '@',
|
||||
maxFileSize: '@',
|
||||
minFileSize: '@',
|
||||
maxNumberOfFiles: '@',
|
||||
disabled: '@disableValidation'
|
||||
}
|
||||
);
|
||||
|
||||
// The File Upload Validation plugin extends the fileupload widget
|
||||
// with file validation functionality:
|
||||
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
|
||||
|
||||
options: {
|
||||
/*
|
||||
// The regular expression for allowed file types, matches
|
||||
// against either file type or file name:
|
||||
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
|
||||
// The maximum allowed file size in bytes:
|
||||
maxFileSize: 10000000, // 10 MB
|
||||
// The minimum allowed file size in bytes:
|
||||
minFileSize: undefined, // No minimal file size
|
||||
// The limit of files to be uploaded:
|
||||
maxNumberOfFiles: 10,
|
||||
*/
|
||||
|
||||
// Function returning the current number of files,
|
||||
// has to be overriden for maxNumberOfFiles validation:
|
||||
getNumberOfFiles: $.noop,
|
||||
|
||||
// Error and info messages:
|
||||
messages: {
|
||||
maxNumberOfFiles: 'Maximum number of files exceeded',
|
||||
acceptFileTypes: 'File type not allowed',
|
||||
maxFileSize: 'File is too large',
|
||||
minFileSize: 'File is too small'
|
||||
}
|
||||
},
|
||||
|
||||
processActions: {
|
||||
|
||||
validate: function (data, options) {
|
||||
if (options.disabled) {
|
||||
return data;
|
||||
}
|
||||
var dfd = $.Deferred(),
|
||||
settings = this.options,
|
||||
file = data.files[data.index],
|
||||
fileSize;
|
||||
if (options.minFileSize || options.maxFileSize) {
|
||||
fileSize = file.size;
|
||||
}
|
||||
if ($.type(options.maxNumberOfFiles) === 'number' &&
|
||||
(settings.getNumberOfFiles() || 0) + data.files.length >
|
||||
options.maxNumberOfFiles) {
|
||||
file.error = settings.i18n('maxNumberOfFiles');
|
||||
} else if (options.acceptFileTypes &&
|
||||
!(options.acceptFileTypes.test(file.type) ||
|
||||
options.acceptFileTypes.test(file.name))) {
|
||||
file.error = settings.i18n('acceptFileTypes');
|
||||
} else if (fileSize > options.maxFileSize) {
|
||||
file.error = settings.i18n('maxFileSize');
|
||||
} else if ($.type(fileSize) === 'number' &&
|
||||
fileSize < options.minFileSize) {
|
||||
file.error = settings.i18n('minFileSize');
|
||||
} else {
|
||||
delete file.error;
|
||||
}
|
||||
if (file.error || data.files.error) {
|
||||
data.files.error = true;
|
||||
dfd.rejectWith(this, [data]);
|
||||
} else {
|
||||
dfd.resolveWith(this, [data]);
|
||||
}
|
||||
return dfd.promise();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
112
ui/src/vendor/jquery-file-upload/js/jquery.fileupload-video.js
vendored
Normal file
@@ -0,0 +1,112 @@
|
||||
/*
|
||||
* jQuery File Upload Video Preview Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2013, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/* jshint nomen:false */
|
||||
/* global define, require, window, document */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define([
|
||||
'jquery',
|
||||
'load-image',
|
||||
'./jquery.fileupload-process'
|
||||
], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(
|
||||
require('jquery'),
|
||||
require('load-image')
|
||||
);
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(
|
||||
window.jQuery,
|
||||
window.loadImage
|
||||
);
|
||||
}
|
||||
}(function ($, loadImage) {
|
||||
'use strict';
|
||||
|
||||
// Prepend to the default processQueue:
|
||||
$.blueimp.fileupload.prototype.options.processQueue.unshift(
|
||||
{
|
||||
action: 'loadVideo',
|
||||
// Use the action as prefix for the "@" options:
|
||||
prefix: true,
|
||||
fileTypes: '@',
|
||||
maxFileSize: '@',
|
||||
disabled: '@disableVideoPreview'
|
||||
},
|
||||
{
|
||||
action: 'setVideo',
|
||||
name: '@videoPreviewName',
|
||||
disabled: '@disableVideoPreview'
|
||||
}
|
||||
);
|
||||
|
||||
// The File Upload Video Preview plugin extends the fileupload widget
|
||||
// with video preview functionality:
|
||||
$.widget('blueimp.fileupload', $.blueimp.fileupload, {
|
||||
|
||||
options: {
|
||||
// The regular expression for the types of video files to load,
|
||||
// matched against the file type:
|
||||
loadVideoFileTypes: /^video\/.*$/
|
||||
},
|
||||
|
||||
_videoElement: document.createElement('video'),
|
||||
|
||||
processActions: {
|
||||
|
||||
// Loads the video file given via data.files and data.index
|
||||
// as video element if the browser supports playing it.
|
||||
// Accepts the options fileTypes (regular expression)
|
||||
// and maxFileSize (integer) to limit the files to load:
|
||||
loadVideo: function (data, options) {
|
||||
if (options.disabled) {
|
||||
return data;
|
||||
}
|
||||
var file = data.files[data.index],
|
||||
url,
|
||||
video;
|
||||
if (this._videoElement.canPlayType &&
|
||||
this._videoElement.canPlayType(file.type) &&
|
||||
($.type(options.maxFileSize) !== 'number' ||
|
||||
file.size <= options.maxFileSize) &&
|
||||
(!options.fileTypes ||
|
||||
options.fileTypes.test(file.type))) {
|
||||
url = loadImage.createObjectURL(file);
|
||||
if (url) {
|
||||
video = this._videoElement.cloneNode(false);
|
||||
video.src = url;
|
||||
video.controls = true;
|
||||
data.video = video;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
return data;
|
||||
},
|
||||
|
||||
// Sets the video element as a property of the file object:
|
||||
setVideo: function (data, options) {
|
||||
if (data.video && !options.disabled) {
|
||||
data.files[data.index][options.name || 'preview'] = data.video;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}));
|
||||
1477
ui/src/vendor/jquery-file-upload/js/jquery.fileupload.js
vendored
Normal file
217
ui/src/vendor/jquery-file-upload/js/jquery.iframe-transport.js
vendored
Normal file
@@ -0,0 +1,217 @@
|
||||
/*
|
||||
* jQuery Iframe Transport Plugin
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2011, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
/* global define, require, window, document */
|
||||
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// Register as an anonymous AMD module:
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node/CommonJS:
|
||||
factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals:
|
||||
factory(window.jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
'use strict';
|
||||
|
||||
// Helper variable to create unique names for the transport iframes:
|
||||
var counter = 0;
|
||||
|
||||
// The iframe transport accepts four additional options:
|
||||
// options.fileInput: a jQuery collection of file input fields
|
||||
// options.paramName: the parameter name for the file form data,
|
||||
// overrides the name property of the file input field(s),
|
||||
// can be a string or an array of strings.
|
||||
// options.formData: an array of objects with name and value properties,
|
||||
// equivalent to the return data of .serializeArray(), e.g.:
|
||||
// [{name: 'a', value: 1}, {name: 'b', value: 2}]
|
||||
// options.initialIframeSrc: the URL of the initial iframe src,
|
||||
// by default set to "javascript:false;"
|
||||
$.ajaxTransport('iframe', function (options) {
|
||||
if (options.async) {
|
||||
// javascript:false as initial iframe src
|
||||
// prevents warning popups on HTTPS in IE6:
|
||||
/*jshint scripturl: true */
|
||||
var initialIframeSrc = options.initialIframeSrc || 'javascript:false;',
|
||||
/*jshint scripturl: false */
|
||||
form,
|
||||
iframe,
|
||||
addParamChar;
|
||||
return {
|
||||
send: function (_, completeCallback) {
|
||||
form = $('<form style="display:none;"></form>');
|
||||
form.attr('accept-charset', options.formAcceptCharset);
|
||||
addParamChar = /\?/.test(options.url) ? '&' : '?';
|
||||
// XDomainRequest only supports GET and POST:
|
||||
if (options.type === 'DELETE') {
|
||||
options.url = options.url + addParamChar + '_method=DELETE';
|
||||
options.type = 'POST';
|
||||
} else if (options.type === 'PUT') {
|
||||
options.url = options.url + addParamChar + '_method=PUT';
|
||||
options.type = 'POST';
|
||||
} else if (options.type === 'PATCH') {
|
||||
options.url = options.url + addParamChar + '_method=PATCH';
|
||||
options.type = 'POST';
|
||||
}
|
||||
// IE versions below IE8 cannot set the name property of
|
||||
// elements that have already been added to the DOM,
|
||||
// so we set the name along with the iframe HTML markup:
|
||||
counter += 1;
|
||||
iframe = $(
|
||||
'<iframe src="' + initialIframeSrc +
|
||||
'" name="iframe-transport-' + counter + '"></iframe>'
|
||||
).bind('load', function () {
|
||||
var fileInputClones,
|
||||
paramNames = $.isArray(options.paramName) ?
|
||||
options.paramName : [options.paramName];
|
||||
iframe
|
||||
.unbind('load')
|
||||
.bind('load', function () {
|
||||
var response;
|
||||
// Wrap in a try/catch block to catch exceptions thrown
|
||||
// when trying to access cross-domain iframe contents:
|
||||
try {
|
||||
response = iframe.contents();
|
||||
// Google Chrome and Firefox do not throw an
|
||||
// exception when calling iframe.contents() on
|
||||
// cross-domain requests, so we unify the response:
|
||||
if (!response.length || !response[0].firstChild) {
|
||||
throw new Error();
|
||||
}
|
||||
} catch (e) {
|
||||
response = undefined;
|
||||
}
|
||||
// The complete callback returns the
|
||||
// iframe content document as response object:
|
||||
completeCallback(
|
||||
200,
|
||||
'success',
|
||||
{'iframe': response}
|
||||
);
|
||||
// Fix for IE endless progress bar activity bug
|
||||
// (happens on form submits to iframe targets):
|
||||
$('<iframe src="' + initialIframeSrc + '"></iframe>')
|
||||
.appendTo(form);
|
||||
window.setTimeout(function () {
|
||||
// Removing the form in a setTimeout call
|
||||
// allows Chrome's developer tools to display
|
||||
// the response result
|
||||
form.remove();
|
||||
}, 0);
|
||||
});
|
||||
form
|
||||
.prop('target', iframe.prop('name'))
|
||||
.prop('action', options.url)
|
||||
.prop('method', options.type);
|
||||
if (options.formData) {
|
||||
$.each(options.formData, function (index, field) {
|
||||
$('<input type="hidden"/>')
|
||||
.prop('name', field.name)
|
||||
.val(field.value)
|
||||
.appendTo(form);
|
||||
});
|
||||
}
|
||||
if (options.fileInput && options.fileInput.length &&
|
||||
options.type === 'POST') {
|
||||
fileInputClones = options.fileInput.clone();
|
||||
// Insert a clone for each file input field:
|
||||
options.fileInput.after(function (index) {
|
||||
return fileInputClones[index];
|
||||
});
|
||||
if (options.paramName) {
|
||||
options.fileInput.each(function (index) {
|
||||
$(this).prop(
|
||||
'name',
|
||||
paramNames[index] || options.paramName
|
||||
);
|
||||
});
|
||||
}
|
||||
// Appending the file input fields to the hidden form
|
||||
// removes them from their original location:
|
||||
form
|
||||
.append(options.fileInput)
|
||||
.prop('enctype', 'multipart/form-data')
|
||||
// enctype must be set as encoding for IE:
|
||||
.prop('encoding', 'multipart/form-data');
|
||||
// Remove the HTML5 form attribute from the input(s):
|
||||
options.fileInput.removeAttr('form');
|
||||
}
|
||||
form.submit();
|
||||
// Insert the file input fields at their original location
|
||||
// by replacing the clones with the originals:
|
||||
if (fileInputClones && fileInputClones.length) {
|
||||
options.fileInput.each(function (index, input) {
|
||||
var clone = $(fileInputClones[index]);
|
||||
// Restore the original name and form properties:
|
||||
$(input)
|
||||
.prop('name', clone.prop('name'))
|
||||
.attr('form', clone.attr('form'));
|
||||
clone.replaceWith(input);
|
||||
});
|
||||
}
|
||||
});
|
||||
form.append(iframe).appendTo(document.body);
|
||||
},
|
||||
abort: function () {
|
||||
if (iframe) {
|
||||
// javascript:false as iframe src aborts the request
|
||||
// and prevents warning popups on HTTPS in IE6.
|
||||
// concat is used to avoid the "Script URL" JSLint error:
|
||||
iframe
|
||||
.unbind('load')
|
||||
.prop('src', initialIframeSrc);
|
||||
}
|
||||
if (form) {
|
||||
form.remove();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// The iframe transport returns the iframe content document as response.
|
||||
// The following adds converters from iframe to text, json, html, xml
|
||||
// and script.
|
||||
// Please note that the Content-Type for JSON responses has to be text/plain
|
||||
// or text/html, if the browser doesn't include application/json in the
|
||||
// Accept header, else IE will show a download dialog.
|
||||
// The Content-Type for XML responses on the other hand has to be always
|
||||
// application/xml or text/xml, so IE properly parses the XML response.
|
||||
// See also
|
||||
// https://github.com/blueimp/jQuery-File-Upload/wiki/Setup#content-type-negotiation
|
||||
$.ajaxSetup({
|
||||
converters: {
|
||||
'iframe text': function (iframe) {
|
||||
return iframe && $(iframe[0].body).text();
|
||||
},
|
||||
'iframe json': function (iframe) {
|
||||
return iframe && $.parseJSON($(iframe[0].body).text());
|
||||
},
|
||||
'iframe html': function (iframe) {
|
||||
return iframe && $(iframe[0].body).html();
|
||||
},
|
||||
'iframe xml': function (iframe) {
|
||||
var xmlDoc = iframe && iframe[0];
|
||||
return xmlDoc && $.isXMLDoc(xmlDoc) ? xmlDoc :
|
||||
$.parseXML((xmlDoc.XMLDocument && xmlDoc.XMLDocument.xml) ||
|
||||
$(xmlDoc.body).html());
|
||||
},
|
||||
'iframe script': function (iframe) {
|
||||
return iframe && $.globalEval($(iframe[0].body).text());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}));
|
||||
1
ui/src/vendor/jquery-file-upload/js/load-image.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(e){"use strict";var t=function(e,a,n){var r,i,c=document.createElement("img");if(c.onerror=a,c.onload=function(){!i||n&&n.noRevoke||t.revokeObjectURL(i),a&&a(t.scale(c,n))},t.isInstanceOf("Blob",e)||t.isInstanceOf("File",e))r=i=t.createObjectURL(e),c._type=e.type;else{if("string"!=typeof e)return!1;r=e,n&&n.crossOrigin&&(c.crossOrigin=n.crossOrigin)}return r?(c.src=r,c):t.readFile(e,function(e){var t=e.target;t&&t.result?c.src=t.result:a&&a(e)})},a=window.createObjectURL&&window||window.URL&&URL.revokeObjectURL&&URL||window.webkitURL&&webkitURL;t.isInstanceOf=function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"},t.detectSubsampling=function(e){var t,a;return e.width*e.height>1048576?(t=document.createElement("canvas"),t.width=t.height=1,a=t.getContext("2d"),a.drawImage(e,-e.width+1,0),0===a.getImageData(0,0,1,1).data[3]):!1},t.detectVerticalSquash=function(e,t){var a,n,r,i,c,o=document.createElement("canvas"),d=o.getContext("2d");for(o.width=1,o.height=t,d.drawImage(e,0,0),a=d.getImageData(0,0,1,t).data,n=0,r=t,i=t;i>n;)c=a[4*(i-1)+3],0===c?r=i:n=i,i=r+n>>1;return i/t||1},t.renderImageToCanvas=function(e,a,n,r,i,c,o,d,g,s){var h,u,l,m=e.getContext("2d"),f=document.createElement("canvas"),w=f.width=f.height=1024,v=f.getContext("2d");for(m.save(),t.detectSubsampling(a)&&(i/=2,c/=2),h=t.detectVerticalSquash(a,c),g=Math.ceil(w*g/i),s=Math.ceil(w*s/c/h),d=0,l=0;c>l;){for(o=0,u=0;i>u;)v.clearRect(0,0,w,w),v.drawImage(a,n,r,i,c,-u,-l,i,c),m.drawImage(f,0,0,w,w,o,d,g,s),u+=w,o+=g;l+=w,d+=s}m.restore()},t.scale=function(e,a){a=a||{};var n,r,i,c=document.createElement("canvas"),o=e.getContext||(a.canvas||a.crop)&&c.getContext,d=e.width,g=e.height,s=a.maxWidth,h=a.maxHeight,u=d,l=g,m=0,f=0,w=0,v=0;return o&&s&&h&&a.crop?(n=s,r=h,s/h>d/g?(l=h*d/s,f=(g-l)/2):(u=s*g/h,m=(d-u)/2)):(n=d,r=g,i=Math.max((a.minWidth||n)/n,(a.minHeight||r)/r),i>1&&(n=Math.ceil(n*i),r=Math.ceil(r*i)),i=Math.min((s||n)/n,(h||r)/r),1>i&&(n=Math.ceil(n*i),r=Math.ceil(r*i))),o?(c.width=n,c.height=r,"image/jpeg"===e._type?t.renderImageToCanvas(c,e,m,f,u,l,w,v,n,r):c.getContext("2d").drawImage(e,m,f,u,l,w,v,n,r),c):(e.width=n,e.height=r,e)},t.createObjectURL=function(e){return a?a.createObjectURL(e):!1},t.revokeObjectURL=function(e){return a?a.revokeObjectURL(e):!1},t.readFile=function(e,t){if(window.FileReader&&FileReader.prototype.readAsDataURL){var a=new FileReader;return a.onload=a.onerror=t,a.readAsDataURL(e),a}return!1},"function"==typeof define&&define.amd?define(function(){return t}):e.loadImage=t})(this);
|
||||
1
ui/src/vendor/jquery-file-upload/js/tmpl.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(a){"use strict";var b=function(a,c){var d=/[^\w\-\.:]/.test(a)?new Function(b.arg+",tmpl","var _e=tmpl.encode"+b.helper+",_s='"+a.replace(b.regexp,b.func)+"';return _s;"):b.cache[a]=b.cache[a]||b(b.load(a));return c?d(c,b):function(a){return d(a,b)}};b.cache={},b.load=function(a){return document.getElementById(a).innerHTML},b.regexp=/([\s'\\])(?![^%]*%\})|(?:\{%(=|#)([\s\S]+?)%\})|(\{%)|(%\})/g,b.func=function(a,b,c,d,e,f){if(b)return{"\n":"\\n","\r":"\\r","\t":"\\t"," ":" "}[a]||"\\"+a;if(c)return c==="="?"'+_e("+d+")+'":"'+("+d+"||'')+'";if(e)return"';";if(f)return"_s+='"},b.encReg=/[<>&"'\x00]/g,b.encMap={"<":"<",">":">","&":"&",'"':""","'":"'"},b.encode=function(a){return String(a||"").replace(b.encReg,function(a){return b.encMap[a]||""})},b.arg="o",b.helper=",print=function(s,e){_s+=e&&(s||'')||_e(s);},include=function(s,d){_s+=tmpl(s,d);}",typeof define=="function"&&define.amd?define(function(){return b}):a.tmpl=b})(this);
|
||||
2
ui/src/vendor/jquery-load-image/load-image.all.min.js
vendored
Normal file
1
ui/src/vendor/jquery-load-image/load-image.all.min.js.map
vendored
Normal file
9
ui/src/vendor/jquery-message-queuing/jquery.ba-jqmq.min.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* jQuery Message Queuing - v1.0 - 1/5/2010
|
||||
* http://benalman.com/projects/jquery-message-queuing-plugin/
|
||||
*
|
||||
* Copyright (c) 2010 "Cowboy" Ben Alman
|
||||
* Dual licensed under the MIT and GPL licenses.
|
||||
* http://benalman.com/about/license/
|
||||
*/
|
||||
(function($,b){var a={delay:100,batch:1,queue:[]};$.jqmq=function(c){var l={},j=$.extend(true,{},a,c),f=j.queue,k=j.paused,i=[],g,d,n,m,e;l.add=function(p,o){return n([p],o)};l.addEach=n=function(o,p){if(o){d=false;f=p?o.concat(f):f.concat(o);k||e()}return m()};l.start=e=function(){k=false;if(m()&&!g&&!i.length){(function o(){var q=j.delay,p=j.batch,r=j.complete,s=j.callback;h();if(!m()){d=true;r&&r.call(l);return}i=f.splice(0,p);if(s&&s.call(l,p===1?i[0]:i)===true){f=i.concat(f);i=[]}if(typeof q==="number"&&q>=0){i=[];g=setTimeout(o,q)}})()}};l.next=function(o){var p=j.complete;if(o){f=i.concat(f)}i=[];if(m()){k||e()}else{if(!d){d=true;p&&p.call(l)}}};l.clear=function(){var o=f;h();f=[];d=true;i=[];return o};l.pause=function(){h();k=true};l.update=function(o){$.extend(j,o)};l.size=m=function(){return f.length};l.indexOf=function(o){return $.inArray(o,f)};function h(){g&&clearTimeout(g);g=b}k||e();return l};$.fn.jqmqAdd=function(d,c){d.add(this.get(),c);return this};$.fn.jqmqAddEach=function(d,c){d.addEach(this.get(),c);return this}})(jQuery);
|
||||
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/animated-overlay.gif
vendored
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
vendored
Normal file
|
After Width: | Height: | Size: 418 B |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
vendored
Normal file
|
After Width: | Height: | Size: 312 B |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
vendored
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
vendored
Normal file
|
After Width: | Height: | Size: 262 B |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
vendored
Normal file
|
After Width: | Height: | Size: 348 B |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
vendored
Normal file
|
After Width: | Height: | Size: 207 B |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
vendored
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
vendored
Normal file
|
After Width: | Height: | Size: 278 B |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
vendored
Normal file
|
After Width: | Height: | Size: 328 B |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-icons_222222_256x240.png
vendored
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-icons_228ef1_256x240.png
vendored
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
vendored
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
vendored
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
ui/src/vendor/jquery-ui/css/ui-lightness/images/ui-icons_ffffff_256x240.png
vendored
Normal file
|
After Width: | Height: | Size: 6.2 KiB |