mirror of https://github.com/ColorlibHQ/AdminLTE
update dependencies
parent
12c6c12907
commit
82fb5d5f80
|
@ -1278,9 +1278,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@sweetalert2/theme-bootstrap-4": {
|
"@sweetalert2/theme-bootstrap-4": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@sweetalert2/theme-bootstrap-4/-/theme-bootstrap-4-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@sweetalert2/theme-bootstrap-4/-/theme-bootstrap-4-4.0.1.tgz",
|
||||||
"integrity": "sha512-ZU0sYNpo783ihs4VHWRswYkwQQ/g+T5dI8c19RhDigHoIXHS6GXqic6atsP1BmVHPbq/LvFJTpgoRJQU3/SMCQ=="
|
"integrity": "sha512-5yGhEMkn5Rfo2sOiQVui62S5i/TaAnS6PvV3OnDdVFvZptesleDHgM1ci5u+sg4DGuh4ePPKuuTX80C9q2/TJA=="
|
||||||
},
|
},
|
||||||
"@szmarczak/http-timer": {
|
"@szmarczak/http-timer": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
|
@ -1923,9 +1923,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bootstrap": {
|
"bootstrap": {
|
||||||
"version": "4.5.2",
|
"version": "4.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.5.2.tgz",
|
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.5.3.tgz",
|
||||||
"integrity": "sha512-vlGn0bcySYl/iV+BGA544JkkZP5LB3jsmkeKLFQakCOwCM3AOk7VkldBz4jrzSe+Z0Ezn99NVXa1o45cQY4R6A=="
|
"integrity": "sha512-o9ppKQioXGqhw8Z7mah6KdTYpNQY//tipnkxppWhPbiSWdD+1raYsnhwEZjkTHYbGee4cVQ0Rx65EhOY/HNLcQ=="
|
||||||
},
|
},
|
||||||
"bootstrap-colorpicker": {
|
"bootstrap-colorpicker": {
|
||||||
"version": "3.2.0",
|
"version": "3.2.0",
|
||||||
|
@ -2668,9 +2668,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"chart.js": {
|
"chart.js": {
|
||||||
"version": "2.9.3",
|
"version": "2.9.4",
|
||||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.9.3.tgz",
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.9.4.tgz",
|
||||||
"integrity": "sha512-+2jlOobSk52c1VU6fzkh3UwqHMdSlgH1xFv9FKMqHiNCpXsGPQa/+81AFa+i3jZ253Mq9aAycPwDjnn1XbRNNw==",
|
"integrity": "sha512-B07aAzxcrikjAPyV+01j7BmOpxtQETxTSlQ26BEYJ+3iUkbNKaOJ/nDbT6JjyqYxseM0ON12COHYdU2cTIjC7A==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"chartjs-color": "^2.1.0",
|
"chartjs-color": "^2.1.0",
|
||||||
"moment": "^2.10.2"
|
"moment": "^2.10.2"
|
||||||
|
@ -5340,9 +5340,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fullcalendar": {
|
"fullcalendar": {
|
||||||
"version": "5.3.2",
|
"version": "5.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/fullcalendar/-/fullcalendar-5.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/fullcalendar/-/fullcalendar-5.4.0.tgz",
|
||||||
"integrity": "sha512-yoNPnz51so+nWV+Ge/X1NECsTy+viP6nhHgRql5U3WvV7XL09yDIWXSCcuEaU4C/0ZmpUApgZ+e7wvWB0TYwRA=="
|
"integrity": "sha512-TYAycz4vCrcBpZQYc1AJA8C5bZD1rKEr1+2LL2AZ/TW5Ga+FSu88OTo8/Q0mP469LzBXNbp3AXn1TQv9UKDW6g=="
|
||||||
},
|
},
|
||||||
"function-bind": {
|
"function-bind": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
|
@ -7077,9 +7077,9 @@
|
||||||
"integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ=="
|
"integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ=="
|
||||||
},
|
},
|
||||||
"moment-timezone": {
|
"moment-timezone": {
|
||||||
"version": "0.5.31",
|
"version": "0.5.32",
|
||||||
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.31.tgz",
|
"resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.32.tgz",
|
||||||
"integrity": "sha512-+GgHNg8xRhMXfEbv81iDtrVeTcWt0kWmTEY1XQK14dICTXnWJnT0dxdlPspwqF3keKMVPXwayEsk1DI0AA/jdA==",
|
"integrity": "sha512-Z8QNyuQHQAmWucp8Knmgei8YNo28aLjJq6Ma+jy1ZSpSk5nyfRT8xgUbSQvD2+2UajISfenndwvFuH3NGS+nvA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"moment": ">= 2.9.0"
|
"moment": ">= 2.9.0"
|
||||||
}
|
}
|
||||||
|
@ -9791,9 +9791,9 @@
|
||||||
"integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA=="
|
"integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA=="
|
||||||
},
|
},
|
||||||
"sparklines": {
|
"sparklines": {
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/sparklines/-/sparklines-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/sparklines/-/sparklines-1.3.0.tgz",
|
||||||
"integrity": "sha512-6OFlZzdFXyfFGJ8R5wrc9GdjoeQpjFuwkMKF1yVehLATHVrf4dSyZ4veGOFQ0mQ3xdJ0bCQSbd0idsm1gd2qWg=="
|
"integrity": "sha512-CkFtpDE3hmOeu1IJyIQIOH0AQtHnPj1c61ALxJZQ9cPEFKDgWC1fcNAHuwPi1i1klTDYvlKKseoYHSwe7JmdLA=="
|
||||||
},
|
},
|
||||||
"spdx-correct": {
|
"spdx-correct": {
|
||||||
"version": "3.1.1",
|
"version": "3.1.1",
|
||||||
|
@ -10614,9 +10614,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sweetalert2": {
|
"sweetalert2": {
|
||||||
"version": "10.3.5",
|
"version": "10.10.2",
|
||||||
"resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-10.3.5.tgz",
|
"resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-10.10.2.tgz",
|
||||||
"integrity": "sha512-8XBQvW2frWVn0Xs80qyraRXcb3Mg/aKG+9sdVPlzViDIYJfLhMeda3pRuyGzyvrPXbBQ3KRjs+66xKH3kz8/og=="
|
"integrity": "sha512-5uhfhuYRshsx5anrIdA1bmsn2Uju73PX7mmwZgKvOOWZv2tfkPwLlxvFgNJRdy8T6qX92UH8Im338lLoy9KyYg=="
|
||||||
},
|
},
|
||||||
"symbol-observable": {
|
"symbol-observable": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
|
@ -10682,15 +10682,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tempusdominus-bootstrap-4": {
|
"tempusdominus-bootstrap-4": {
|
||||||
"version": "5.1.2",
|
"version": "5.39.0",
|
||||||
"resolved": "https://registry.npmjs.org/tempusdominus-bootstrap-4/-/tempusdominus-bootstrap-4-5.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/tempusdominus-bootstrap-4/-/tempusdominus-bootstrap-4-5.39.0.tgz",
|
||||||
"integrity": "sha512-ksD8qc4wOJeE19wvryXmEpRzMUSZu4wSOdG6zKSn8l4ccad16249KOX1j0CccyZpuuES/n4FLqLAUB+Dd1LTBA==",
|
"integrity": "sha512-vYnkmQYQq4+A51WyRc/6e03eM0BHDoPaxd556K1pd4Nhr0eGeB3+Mi9b+3CDx4189fg3gQlrsKzgJiHPRwSX3Q==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"bootstrap": ">=4.1.2",
|
"bootstrap": "^4.5.2",
|
||||||
"jquery": "^3.0",
|
"jquery": "^3.5.1",
|
||||||
"moment": "^2.22.2",
|
"moment": "^2.29.0",
|
||||||
"moment-timezone": "^0.5.11",
|
"moment-timezone": "^0.5.31",
|
||||||
"popper.js": "^1.14.3"
|
"popper.js": "^1.16.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"term-size": {
|
"term-size": {
|
||||||
|
|
14
package.json
14
package.json
|
@ -69,16 +69,16 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.15.1",
|
"@fortawesome/fontawesome-free": "^5.15.1",
|
||||||
"@lgaitan/pace-progress": "^1.0.7",
|
"@lgaitan/pace-progress": "^1.0.7",
|
||||||
"@sweetalert2/theme-bootstrap-4": "^4.0.0",
|
"@sweetalert2/theme-bootstrap-4": "^4.0.1",
|
||||||
"@ttskch/select2-bootstrap4-theme": "^1.4.0",
|
"@ttskch/select2-bootstrap4-theme": "^1.4.0",
|
||||||
"bootstrap": "^4.5.2",
|
"bootstrap": "^4.5.3",
|
||||||
"bootstrap-colorpicker": "^3.2.0",
|
"bootstrap-colorpicker": "^3.2.0",
|
||||||
"bootstrap-slider": "^11.0.2",
|
"bootstrap-slider": "^11.0.2",
|
||||||
"bootstrap-switch": "3.3.4",
|
"bootstrap-switch": "3.3.4",
|
||||||
"bootstrap4-duallistbox": "^4.0.2",
|
"bootstrap4-duallistbox": "^4.0.2",
|
||||||
"bs-custom-file-input": "^1.3.4",
|
"bs-custom-file-input": "^1.3.4",
|
||||||
"bs-stepper": "^1.7.0",
|
"bs-stepper": "^1.7.0",
|
||||||
"chart.js": "^2.9.3",
|
"chart.js": "^2.9.4",
|
||||||
"codemirror": "^5.58.3",
|
"codemirror": "^5.58.3",
|
||||||
"datatables.net": "^1.10.22",
|
"datatables.net": "^1.10.22",
|
||||||
"datatables.net-autofill-bs4": "^2.3.5",
|
"datatables.net-autofill-bs4": "^2.3.5",
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
"flag-icon-css": "^3.5.0",
|
"flag-icon-css": "^3.5.0",
|
||||||
"flot": "^4.2.1",
|
"flot": "^4.2.1",
|
||||||
"fs-extra": "^9.0.1",
|
"fs-extra": "^9.0.1",
|
||||||
"fullcalendar": "^5.3.2",
|
"fullcalendar": "^5.4.0",
|
||||||
"icheck-bootstrap": "^3.0.1",
|
"icheck-bootstrap": "^3.0.1",
|
||||||
"inputmask": "^5.0.5",
|
"inputmask": "^5.0.5",
|
||||||
"ion-rangeslider": "^2.3.1",
|
"ion-rangeslider": "^2.3.1",
|
||||||
|
@ -121,10 +121,10 @@
|
||||||
"popper.js": "^1.16.1",
|
"popper.js": "^1.16.1",
|
||||||
"raphael": "^2.3.0",
|
"raphael": "^2.3.0",
|
||||||
"select2": "^4.0.13",
|
"select2": "^4.0.13",
|
||||||
"sparklines": "^1.2.0",
|
"sparklines": "^1.3.0",
|
||||||
"summernote": "^0.8.18",
|
"summernote": "^0.8.18",
|
||||||
"sweetalert2": "^10.3.5",
|
"sweetalert2": "^10.10.2",
|
||||||
"tempusdominus-bootstrap-4": "^5.1.2",
|
"tempusdominus-bootstrap-4": "^5.39.0",
|
||||||
"toastr": "^2.1.4",
|
"toastr": "^2.1.4",
|
||||||
"uplot": "^1.4.4"
|
"uplot": "^1.4.4"
|
||||||
},
|
},
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* Chart.js v2.9.3
|
* Chart.js v2.9.4
|
||||||
* https://www.chartjs.org
|
* https://www.chartjs.org
|
||||||
* (c) 2019 Chart.js Contributors
|
* (c) 2020 Chart.js Contributors
|
||||||
* Released under the MIT License
|
* Released under the MIT License
|
||||||
*/
|
*/
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
|
@ -2107,6 +2107,10 @@ if (typeof window !== 'undefined') {
|
||||||
|
|
||||||
var chartjsColor = Color;
|
var chartjsColor = Color;
|
||||||
|
|
||||||
|
function isValidKey(key) {
|
||||||
|
return ['__proto__', 'prototype', 'constructor'].indexOf(key) === -1;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace Chart.helpers
|
* @namespace Chart.helpers
|
||||||
*/
|
*/
|
||||||
|
@ -2282,7 +2286,7 @@ var helpers = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (helpers.isObject(source)) {
|
if (helpers.isObject(source)) {
|
||||||
var target = {};
|
var target = Object.create(source);
|
||||||
var keys = Object.keys(source);
|
var keys = Object.keys(source);
|
||||||
var klen = keys.length;
|
var klen = keys.length;
|
||||||
var k = 0;
|
var k = 0;
|
||||||
|
@ -2303,6 +2307,12 @@ var helpers = {
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
_merger: function(key, target, source, options) {
|
_merger: function(key, target, source, options) {
|
||||||
|
if (!isValidKey(key)) {
|
||||||
|
// We want to ensure we do not copy prototypes over
|
||||||
|
// as this can pollute global namespaces
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var tval = target[key];
|
var tval = target[key];
|
||||||
var sval = source[key];
|
var sval = source[key];
|
||||||
|
|
||||||
|
@ -2318,6 +2328,12 @@ var helpers = {
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
_mergerIf: function(key, target, source) {
|
_mergerIf: function(key, target, source) {
|
||||||
|
if (!isValidKey(key)) {
|
||||||
|
// We want to ensure we do not copy prototypes over
|
||||||
|
// as this can pollute global namespaces
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var tval = target[key];
|
var tval = target[key];
|
||||||
var sval = source[key];
|
var sval = source[key];
|
||||||
|
|
||||||
|
@ -3816,7 +3832,7 @@ helpers$1.extend(DatasetController.prototype, {
|
||||||
*/
|
*/
|
||||||
_configure: function() {
|
_configure: function() {
|
||||||
var me = this;
|
var me = this;
|
||||||
me._config = helpers$1.merge({}, [
|
me._config = helpers$1.merge(Object.create(null), [
|
||||||
me.chart.options.datasets[me._type],
|
me.chart.options.datasets[me._type],
|
||||||
me.getDataset(),
|
me.getDataset(),
|
||||||
], {
|
], {
|
||||||
|
@ -7086,7 +7102,8 @@ function updateDims(chartArea, params, layout) {
|
||||||
chartArea.h = newHeight;
|
chartArea.h = newHeight;
|
||||||
|
|
||||||
// return true if chart area changed in layout's direction
|
// return true if chart area changed in layout's direction
|
||||||
return layout.horizontal ? newWidth !== chartArea.w : newHeight !== chartArea.h;
|
var sizes = layout.horizontal ? [newWidth, chartArea.w] : [newHeight, chartArea.h];
|
||||||
|
return sizes[0] !== sizes[1] && (!isNaN(sizes[0]) || !isNaN(sizes[1]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7390,7 +7407,7 @@ var platform_basic = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var platform_dom = "/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n";
|
var platform_dom = "/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n";
|
||||||
|
|
||||||
var platform_dom$1 = /*#__PURE__*/Object.freeze({
|
var platform_dom$1 = /*#__PURE__*/Object.freeze({
|
||||||
__proto__: null,
|
__proto__: null,
|
||||||
|
@ -8098,7 +8115,7 @@ var core_scaleService = {
|
||||||
},
|
},
|
||||||
getScaleDefaults: function(type) {
|
getScaleDefaults: function(type) {
|
||||||
// Return the scale defaults merged with the global settings so that we always use the latest ones
|
// Return the scale defaults merged with the global settings so that we always use the latest ones
|
||||||
return this.defaults.hasOwnProperty(type) ? helpers$1.merge({}, [core_defaults.scale, this.defaults[type]]) : {};
|
return this.defaults.hasOwnProperty(type) ? helpers$1.merge(Object.create(null), [core_defaults.scale, this.defaults[type]]) : {};
|
||||||
},
|
},
|
||||||
updateScaleDefaults: function(type, additions) {
|
updateScaleDefaults: function(type, additions) {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
@ -9173,7 +9190,7 @@ core_defaults._set('global', {
|
||||||
* returns a deep copy of the result, thus doesn't alter inputs.
|
* returns a deep copy of the result, thus doesn't alter inputs.
|
||||||
*/
|
*/
|
||||||
function mergeScaleConfig(/* config objects ... */) {
|
function mergeScaleConfig(/* config objects ... */) {
|
||||||
return helpers$1.merge({}, [].slice.call(arguments), {
|
return helpers$1.merge(Object.create(null), [].slice.call(arguments), {
|
||||||
merger: function(key, target, source, options) {
|
merger: function(key, target, source, options) {
|
||||||
if (key === 'xAxes' || key === 'yAxes') {
|
if (key === 'xAxes' || key === 'yAxes') {
|
||||||
var slen = source[key].length;
|
var slen = source[key].length;
|
||||||
|
@ -9213,9 +9230,9 @@ function mergeScaleConfig(/* config objects ... */) {
|
||||||
* a deep copy of the result, thus doesn't alter inputs.
|
* a deep copy of the result, thus doesn't alter inputs.
|
||||||
*/
|
*/
|
||||||
function mergeConfig(/* config objects ... */) {
|
function mergeConfig(/* config objects ... */) {
|
||||||
return helpers$1.merge({}, [].slice.call(arguments), {
|
return helpers$1.merge(Object.create(null), [].slice.call(arguments), {
|
||||||
merger: function(key, target, source, options) {
|
merger: function(key, target, source, options) {
|
||||||
var tval = target[key] || {};
|
var tval = target[key] || Object.create(null);
|
||||||
var sval = source[key];
|
var sval = source[key];
|
||||||
|
|
||||||
if (key === 'scales') {
|
if (key === 'scales') {
|
||||||
|
@ -9232,7 +9249,7 @@ function mergeConfig(/* config objects ... */) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function initConfig(config) {
|
function initConfig(config) {
|
||||||
config = config || {};
|
config = config || Object.create(null);
|
||||||
|
|
||||||
// Do NOT use mergeConfig for the data object because this method merges arrays
|
// Do NOT use mergeConfig for the data object because this method merges arrays
|
||||||
// and so would change references to labels and datasets, preventing data updates.
|
// and so would change references to labels and datasets, preventing data updates.
|
||||||
|
@ -11213,6 +11230,8 @@ function computeLabelSizes(ctx, tickFonts, ticks, caches) {
|
||||||
var widths = [];
|
var widths = [];
|
||||||
var heights = [];
|
var heights = [];
|
||||||
var offsets = [];
|
var offsets = [];
|
||||||
|
var widestLabelSize = 0;
|
||||||
|
var highestLabelSize = 0;
|
||||||
var i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel, widest, highest;
|
var i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel, widest, highest;
|
||||||
|
|
||||||
for (i = 0; i < length; ++i) {
|
for (i = 0; i < length; ++i) {
|
||||||
|
@ -11240,11 +11259,13 @@ function computeLabelSizes(ctx, tickFonts, ticks, caches) {
|
||||||
widths.push(width);
|
widths.push(width);
|
||||||
heights.push(height);
|
heights.push(height);
|
||||||
offsets.push(lineHeight / 2);
|
offsets.push(lineHeight / 2);
|
||||||
|
widestLabelSize = Math.max(width, widestLabelSize);
|
||||||
|
highestLabelSize = Math.max(height, highestLabelSize);
|
||||||
}
|
}
|
||||||
garbageCollect(caches, length);
|
garbageCollect(caches, length);
|
||||||
|
|
||||||
widest = widths.indexOf(Math.max.apply(null, widths));
|
widest = widths.indexOf(widestLabelSize);
|
||||||
highest = heights.indexOf(Math.max.apply(null, heights));
|
highest = heights.indexOf(highestLabelSize);
|
||||||
|
|
||||||
function valueAt(idx) {
|
function valueAt(idx) {
|
||||||
return {
|
return {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* Chart.js v2.9.3
|
* Chart.js v2.9.4
|
||||||
* https://www.chartjs.org
|
* https://www.chartjs.org
|
||||||
* (c) 2019 Chart.js Contributors
|
* (c) 2020 Chart.js Contributors
|
||||||
* Released under the MIT License
|
* Released under the MIT License
|
||||||
*/
|
*/
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
|
@ -2103,6 +2103,10 @@ if (typeof window !== 'undefined') {
|
||||||
|
|
||||||
var chartjsColor = Color;
|
var chartjsColor = Color;
|
||||||
|
|
||||||
|
function isValidKey(key) {
|
||||||
|
return ['__proto__', 'prototype', 'constructor'].indexOf(key) === -1;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace Chart.helpers
|
* @namespace Chart.helpers
|
||||||
*/
|
*/
|
||||||
|
@ -2278,7 +2282,7 @@ var helpers = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (helpers.isObject(source)) {
|
if (helpers.isObject(source)) {
|
||||||
var target = {};
|
var target = Object.create(source);
|
||||||
var keys = Object.keys(source);
|
var keys = Object.keys(source);
|
||||||
var klen = keys.length;
|
var klen = keys.length;
|
||||||
var k = 0;
|
var k = 0;
|
||||||
|
@ -2299,6 +2303,12 @@ var helpers = {
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
_merger: function(key, target, source, options) {
|
_merger: function(key, target, source, options) {
|
||||||
|
if (!isValidKey(key)) {
|
||||||
|
// We want to ensure we do not copy prototypes over
|
||||||
|
// as this can pollute global namespaces
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var tval = target[key];
|
var tval = target[key];
|
||||||
var sval = source[key];
|
var sval = source[key];
|
||||||
|
|
||||||
|
@ -2314,6 +2324,12 @@ var helpers = {
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
_mergerIf: function(key, target, source) {
|
_mergerIf: function(key, target, source) {
|
||||||
|
if (!isValidKey(key)) {
|
||||||
|
// We want to ensure we do not copy prototypes over
|
||||||
|
// as this can pollute global namespaces
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var tval = target[key];
|
var tval = target[key];
|
||||||
var sval = source[key];
|
var sval = source[key];
|
||||||
|
|
||||||
|
@ -3812,7 +3828,7 @@ helpers$1.extend(DatasetController.prototype, {
|
||||||
*/
|
*/
|
||||||
_configure: function() {
|
_configure: function() {
|
||||||
var me = this;
|
var me = this;
|
||||||
me._config = helpers$1.merge({}, [
|
me._config = helpers$1.merge(Object.create(null), [
|
||||||
me.chart.options.datasets[me._type],
|
me.chart.options.datasets[me._type],
|
||||||
me.getDataset(),
|
me.getDataset(),
|
||||||
], {
|
], {
|
||||||
|
@ -7082,7 +7098,8 @@ function updateDims(chartArea, params, layout) {
|
||||||
chartArea.h = newHeight;
|
chartArea.h = newHeight;
|
||||||
|
|
||||||
// return true if chart area changed in layout's direction
|
// return true if chart area changed in layout's direction
|
||||||
return layout.horizontal ? newWidth !== chartArea.w : newHeight !== chartArea.h;
|
var sizes = layout.horizontal ? [newWidth, chartArea.w] : [newHeight, chartArea.h];
|
||||||
|
return sizes[0] !== sizes[1] && (!isNaN(sizes[0]) || !isNaN(sizes[1]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7386,7 +7403,7 @@ var platform_basic = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var platform_dom = "/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n";
|
var platform_dom = "/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n";
|
||||||
|
|
||||||
var platform_dom$1 = /*#__PURE__*/Object.freeze({
|
var platform_dom$1 = /*#__PURE__*/Object.freeze({
|
||||||
__proto__: null,
|
__proto__: null,
|
||||||
|
@ -8094,7 +8111,7 @@ var core_scaleService = {
|
||||||
},
|
},
|
||||||
getScaleDefaults: function(type) {
|
getScaleDefaults: function(type) {
|
||||||
// Return the scale defaults merged with the global settings so that we always use the latest ones
|
// Return the scale defaults merged with the global settings so that we always use the latest ones
|
||||||
return this.defaults.hasOwnProperty(type) ? helpers$1.merge({}, [core_defaults.scale, this.defaults[type]]) : {};
|
return this.defaults.hasOwnProperty(type) ? helpers$1.merge(Object.create(null), [core_defaults.scale, this.defaults[type]]) : {};
|
||||||
},
|
},
|
||||||
updateScaleDefaults: function(type, additions) {
|
updateScaleDefaults: function(type, additions) {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
@ -9169,7 +9186,7 @@ core_defaults._set('global', {
|
||||||
* returns a deep copy of the result, thus doesn't alter inputs.
|
* returns a deep copy of the result, thus doesn't alter inputs.
|
||||||
*/
|
*/
|
||||||
function mergeScaleConfig(/* config objects ... */) {
|
function mergeScaleConfig(/* config objects ... */) {
|
||||||
return helpers$1.merge({}, [].slice.call(arguments), {
|
return helpers$1.merge(Object.create(null), [].slice.call(arguments), {
|
||||||
merger: function(key, target, source, options) {
|
merger: function(key, target, source, options) {
|
||||||
if (key === 'xAxes' || key === 'yAxes') {
|
if (key === 'xAxes' || key === 'yAxes') {
|
||||||
var slen = source[key].length;
|
var slen = source[key].length;
|
||||||
|
@ -9209,9 +9226,9 @@ function mergeScaleConfig(/* config objects ... */) {
|
||||||
* a deep copy of the result, thus doesn't alter inputs.
|
* a deep copy of the result, thus doesn't alter inputs.
|
||||||
*/
|
*/
|
||||||
function mergeConfig(/* config objects ... */) {
|
function mergeConfig(/* config objects ... */) {
|
||||||
return helpers$1.merge({}, [].slice.call(arguments), {
|
return helpers$1.merge(Object.create(null), [].slice.call(arguments), {
|
||||||
merger: function(key, target, source, options) {
|
merger: function(key, target, source, options) {
|
||||||
var tval = target[key] || {};
|
var tval = target[key] || Object.create(null);
|
||||||
var sval = source[key];
|
var sval = source[key];
|
||||||
|
|
||||||
if (key === 'scales') {
|
if (key === 'scales') {
|
||||||
|
@ -9228,7 +9245,7 @@ function mergeConfig(/* config objects ... */) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function initConfig(config) {
|
function initConfig(config) {
|
||||||
config = config || {};
|
config = config || Object.create(null);
|
||||||
|
|
||||||
// Do NOT use mergeConfig for the data object because this method merges arrays
|
// Do NOT use mergeConfig for the data object because this method merges arrays
|
||||||
// and so would change references to labels and datasets, preventing data updates.
|
// and so would change references to labels and datasets, preventing data updates.
|
||||||
|
@ -11209,6 +11226,8 @@ function computeLabelSizes(ctx, tickFonts, ticks, caches) {
|
||||||
var widths = [];
|
var widths = [];
|
||||||
var heights = [];
|
var heights = [];
|
||||||
var offsets = [];
|
var offsets = [];
|
||||||
|
var widestLabelSize = 0;
|
||||||
|
var highestLabelSize = 0;
|
||||||
var i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel, widest, highest;
|
var i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel, widest, highest;
|
||||||
|
|
||||||
for (i = 0; i < length; ++i) {
|
for (i = 0; i < length; ++i) {
|
||||||
|
@ -11236,11 +11255,13 @@ function computeLabelSizes(ctx, tickFonts, ticks, caches) {
|
||||||
widths.push(width);
|
widths.push(width);
|
||||||
heights.push(height);
|
heights.push(height);
|
||||||
offsets.push(lineHeight / 2);
|
offsets.push(lineHeight / 2);
|
||||||
|
widestLabelSize = Math.max(width, widestLabelSize);
|
||||||
|
highestLabelSize = Math.max(height, highestLabelSize);
|
||||||
}
|
}
|
||||||
garbageCollect(caches, length);
|
garbageCollect(caches, length);
|
||||||
|
|
||||||
widest = widths.indexOf(Math.max.apply(null, widths));
|
widest = widths.indexOf(widestLabelSize);
|
||||||
highest = heights.indexOf(Math.max.apply(null, heights));
|
highest = heights.indexOf(highestLabelSize);
|
||||||
|
|
||||||
function valueAt(idx) {
|
function valueAt(idx) {
|
||||||
return {
|
return {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var af = {
|
var af = {
|
||||||
code: "af",
|
code: 'af',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Maandag is die eerste dag van die week.
|
dow: 1, // Maandag is die eerste dag van die week.
|
||||||
doy: 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
|
doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Vorige",
|
prev: 'Vorige',
|
||||||
next: "Volgende",
|
next: 'Volgende',
|
||||||
today: "Vandag",
|
today: 'Vandag',
|
||||||
year: "Jaar",
|
year: 'Jaar',
|
||||||
month: "Maand",
|
month: 'Maand',
|
||||||
week: "Week",
|
week: 'Week',
|
||||||
day: "Dag",
|
day: 'Dag',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
allDayText: "Heeldag",
|
allDayText: 'Heeldag',
|
||||||
moreLinkText: "Addisionele",
|
moreLinkText: 'Addisionele',
|
||||||
noEventsText: "Daar is geen gebeurtenisse nie"
|
noEventsText: 'Daar is geen gebeurtenisse nie',
|
||||||
};
|
};
|
||||||
|
|
||||||
return af;
|
return af;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var arDz = {
|
var arDz = {
|
||||||
code: "ar-dz",
|
code: 'ar-dz',
|
||||||
week: {
|
week: {
|
||||||
dow: 0, // Sunday is the first day of the week.
|
dow: 0, // Sunday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 1st is the first week of the year.
|
doy: 4, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "السابق",
|
prev: 'السابق',
|
||||||
next: "التالي",
|
next: 'التالي',
|
||||||
today: "اليوم",
|
today: 'اليوم',
|
||||||
month: "شهر",
|
month: 'شهر',
|
||||||
week: "أسبوع",
|
week: 'أسبوع',
|
||||||
day: "يوم",
|
day: 'يوم',
|
||||||
list: "أجندة"
|
list: 'أجندة',
|
||||||
},
|
},
|
||||||
weekText: "أسبوع",
|
weekText: 'أسبوع',
|
||||||
allDayText: "اليوم كله",
|
allDayText: 'اليوم كله',
|
||||||
moreLinkText: "أخرى",
|
moreLinkText: 'أخرى',
|
||||||
noEventsText: "أي أحداث لعرض"
|
noEventsText: 'أي أحداث لعرض',
|
||||||
};
|
};
|
||||||
|
|
||||||
return arDz;
|
return arDz;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var arKw = {
|
var arKw = {
|
||||||
code: "ar-kw",
|
code: 'ar-kw',
|
||||||
week: {
|
week: {
|
||||||
dow: 0, // Sunday is the first day of the week.
|
dow: 0, // Sunday is the first day of the week.
|
||||||
doy: 12 // The week that contains Jan 1st is the first week of the year.
|
doy: 12, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "السابق",
|
prev: 'السابق',
|
||||||
next: "التالي",
|
next: 'التالي',
|
||||||
today: "اليوم",
|
today: 'اليوم',
|
||||||
month: "شهر",
|
month: 'شهر',
|
||||||
week: "أسبوع",
|
week: 'أسبوع',
|
||||||
day: "يوم",
|
day: 'يوم',
|
||||||
list: "أجندة"
|
list: 'أجندة',
|
||||||
},
|
},
|
||||||
weekText: "أسبوع",
|
weekText: 'أسبوع',
|
||||||
allDayText: "اليوم كله",
|
allDayText: 'اليوم كله',
|
||||||
moreLinkText: "أخرى",
|
moreLinkText: 'أخرى',
|
||||||
noEventsText: "أي أحداث لعرض"
|
noEventsText: 'أي أحداث لعرض',
|
||||||
};
|
};
|
||||||
|
|
||||||
return arKw;
|
return arKw;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var arLy = {
|
var arLy = {
|
||||||
code: "ar-ly",
|
code: 'ar-ly',
|
||||||
week: {
|
week: {
|
||||||
dow: 6, // Saturday is the first day of the week.
|
dow: 6, // Saturday is the first day of the week.
|
||||||
doy: 12 // The week that contains Jan 1st is the first week of the year.
|
doy: 12, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "السابق",
|
prev: 'السابق',
|
||||||
next: "التالي",
|
next: 'التالي',
|
||||||
today: "اليوم",
|
today: 'اليوم',
|
||||||
month: "شهر",
|
month: 'شهر',
|
||||||
week: "أسبوع",
|
week: 'أسبوع',
|
||||||
day: "يوم",
|
day: 'يوم',
|
||||||
list: "أجندة"
|
list: 'أجندة',
|
||||||
},
|
},
|
||||||
weekText: "أسبوع",
|
weekText: 'أسبوع',
|
||||||
allDayText: "اليوم كله",
|
allDayText: 'اليوم كله',
|
||||||
moreLinkText: "أخرى",
|
moreLinkText: 'أخرى',
|
||||||
noEventsText: "أي أحداث لعرض"
|
noEventsText: 'أي أحداث لعرض',
|
||||||
};
|
};
|
||||||
|
|
||||||
return arLy;
|
return arLy;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var arMa = {
|
var arMa = {
|
||||||
code: "ar-ma",
|
code: 'ar-ma',
|
||||||
week: {
|
week: {
|
||||||
dow: 6, // Saturday is the first day of the week.
|
dow: 6, // Saturday is the first day of the week.
|
||||||
doy: 12 // The week that contains Jan 1st is the first week of the year.
|
doy: 12, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "السابق",
|
prev: 'السابق',
|
||||||
next: "التالي",
|
next: 'التالي',
|
||||||
today: "اليوم",
|
today: 'اليوم',
|
||||||
month: "شهر",
|
month: 'شهر',
|
||||||
week: "أسبوع",
|
week: 'أسبوع',
|
||||||
day: "يوم",
|
day: 'يوم',
|
||||||
list: "أجندة"
|
list: 'أجندة',
|
||||||
},
|
},
|
||||||
weekText: "أسبوع",
|
weekText: 'أسبوع',
|
||||||
allDayText: "اليوم كله",
|
allDayText: 'اليوم كله',
|
||||||
moreLinkText: "أخرى",
|
moreLinkText: 'أخرى',
|
||||||
noEventsText: "أي أحداث لعرض"
|
noEventsText: 'أي أحداث لعرض',
|
||||||
};
|
};
|
||||||
|
|
||||||
return arMa;
|
return arMa;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var arSa = {
|
var arSa = {
|
||||||
code: "ar-sa",
|
code: 'ar-sa',
|
||||||
week: {
|
week: {
|
||||||
dow: 0, // Sunday is the first day of the week.
|
dow: 0, // Sunday is the first day of the week.
|
||||||
doy: 6 // The week that contains Jan 1st is the first week of the year.
|
doy: 6, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "السابق",
|
prev: 'السابق',
|
||||||
next: "التالي",
|
next: 'التالي',
|
||||||
today: "اليوم",
|
today: 'اليوم',
|
||||||
month: "شهر",
|
month: 'شهر',
|
||||||
week: "أسبوع",
|
week: 'أسبوع',
|
||||||
day: "يوم",
|
day: 'يوم',
|
||||||
list: "أجندة"
|
list: 'أجندة',
|
||||||
},
|
},
|
||||||
weekText: "أسبوع",
|
weekText: 'أسبوع',
|
||||||
allDayText: "اليوم كله",
|
allDayText: 'اليوم كله',
|
||||||
moreLinkText: "أخرى",
|
moreLinkText: 'أخرى',
|
||||||
noEventsText: "أي أحداث لعرض"
|
noEventsText: 'أي أحداث لعرض',
|
||||||
};
|
};
|
||||||
|
|
||||||
return arSa;
|
return arSa;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var arTn = {
|
var arTn = {
|
||||||
code: "ar-tn",
|
code: 'ar-tn',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "السابق",
|
prev: 'السابق',
|
||||||
next: "التالي",
|
next: 'التالي',
|
||||||
today: "اليوم",
|
today: 'اليوم',
|
||||||
month: "شهر",
|
month: 'شهر',
|
||||||
week: "أسبوع",
|
week: 'أسبوع',
|
||||||
day: "يوم",
|
day: 'يوم',
|
||||||
list: "أجندة"
|
list: 'أجندة',
|
||||||
},
|
},
|
||||||
weekText: "أسبوع",
|
weekText: 'أسبوع',
|
||||||
allDayText: "اليوم كله",
|
allDayText: 'اليوم كله',
|
||||||
moreLinkText: "أخرى",
|
moreLinkText: 'أخرى',
|
||||||
noEventsText: "أي أحداث لعرض"
|
noEventsText: 'أي أحداث لعرض',
|
||||||
};
|
};
|
||||||
|
|
||||||
return arTn;
|
return arTn;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ar = {
|
var ar = {
|
||||||
code: "ar",
|
code: 'ar',
|
||||||
week: {
|
week: {
|
||||||
dow: 6, // Saturday is the first day of the week.
|
dow: 6, // Saturday is the first day of the week.
|
||||||
doy: 12 // The week that contains Jan 1st is the first week of the year.
|
doy: 12, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "السابق",
|
prev: 'السابق',
|
||||||
next: "التالي",
|
next: 'التالي',
|
||||||
today: "اليوم",
|
today: 'اليوم',
|
||||||
month: "شهر",
|
month: 'شهر',
|
||||||
week: "أسبوع",
|
week: 'أسبوع',
|
||||||
day: "يوم",
|
day: 'يوم',
|
||||||
list: "أجندة"
|
list: 'أجندة',
|
||||||
},
|
},
|
||||||
weekText: "أسبوع",
|
weekText: 'أسبوع',
|
||||||
allDayText: "اليوم كله",
|
allDayText: 'اليوم كله',
|
||||||
moreLinkText: "أخرى",
|
moreLinkText: 'أخرى',
|
||||||
noEventsText: "أي أحداث لعرض"
|
noEventsText: 'أي أحداث لعرض',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ar;
|
return ar;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var az = {
|
var az = {
|
||||||
code: "az",
|
code: 'az',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Əvvəl",
|
prev: 'Əvvəl',
|
||||||
next: "Sonra",
|
next: 'Sonra',
|
||||||
today: "Bu Gün",
|
today: 'Bu Gün',
|
||||||
month: "Ay",
|
month: 'Ay',
|
||||||
week: "Həftə",
|
week: 'Həftə',
|
||||||
day: "Gün",
|
day: 'Gün',
|
||||||
list: "Gündəm"
|
list: 'Gündəm',
|
||||||
},
|
},
|
||||||
weekText: "Həftə",
|
weekText: 'Həftə',
|
||||||
allDayText: "Bütün Gün",
|
allDayText: 'Bütün Gün',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ daha çox " + n;
|
return '+ daha çox ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Göstərmək üçün hadisə yoxdur"
|
noEventsText: 'Göstərmək üçün hadisə yoxdur',
|
||||||
};
|
};
|
||||||
|
|
||||||
return az;
|
return az;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var bg = {
|
var bg = {
|
||||||
code: "bg",
|
code: 'bg',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "назад",
|
prev: 'назад',
|
||||||
next: "напред",
|
next: 'напред',
|
||||||
today: "днес",
|
today: 'днес',
|
||||||
month: "Месец",
|
month: 'Месец',
|
||||||
week: "Седмица",
|
week: 'Седмица',
|
||||||
day: "Ден",
|
day: 'Ден',
|
||||||
list: "График"
|
list: 'График',
|
||||||
},
|
},
|
||||||
allDayText: "Цял ден",
|
allDayText: 'Цял ден',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+още " + n;
|
return '+още ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Няма събития за показване"
|
noEventsText: 'Няма събития за показване',
|
||||||
};
|
};
|
||||||
|
|
||||||
return bg;
|
return bg;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var bs = {
|
var bs = {
|
||||||
code: "bs",
|
code: 'bs',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Prošli",
|
prev: 'Prošli',
|
||||||
next: "Sljedeći",
|
next: 'Sljedeći',
|
||||||
today: "Danas",
|
today: 'Danas',
|
||||||
month: "Mjesec",
|
month: 'Mjesec',
|
||||||
week: "Sedmica",
|
week: 'Sedmica',
|
||||||
day: "Dan",
|
day: 'Dan',
|
||||||
list: "Raspored"
|
list: 'Raspored',
|
||||||
},
|
},
|
||||||
weekText: "Sed",
|
weekText: 'Sed',
|
||||||
allDayText: "Cijeli dan",
|
allDayText: 'Cijeli dan',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ još " + n;
|
return '+ još ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Nema događaja za prikazivanje"
|
noEventsText: 'Nema događaja za prikazivanje',
|
||||||
};
|
};
|
||||||
|
|
||||||
return bs;
|
return bs;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ca = {
|
var ca = {
|
||||||
code: "ca",
|
code: 'ca',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Anterior",
|
prev: 'Anterior',
|
||||||
next: "Següent",
|
next: 'Següent',
|
||||||
today: "Avui",
|
today: 'Avui',
|
||||||
month: "Mes",
|
month: 'Mes',
|
||||||
week: "Setmana",
|
week: 'Setmana',
|
||||||
day: "Dia",
|
day: 'Dia',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Set",
|
weekText: 'Set',
|
||||||
allDayText: "Tot el dia",
|
allDayText: 'Tot el dia',
|
||||||
moreLinkText: "més",
|
moreLinkText: 'més',
|
||||||
noEventsText: "No hi ha esdeveniments per mostrar"
|
noEventsText: 'No hi ha esdeveniments per mostrar',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ca;
|
return ca;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var cs = {
|
var cs = {
|
||||||
code: "cs",
|
code: 'cs',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Dříve",
|
prev: 'Dříve',
|
||||||
next: "Později",
|
next: 'Později',
|
||||||
today: "Nyní",
|
today: 'Nyní',
|
||||||
month: "Měsíc",
|
month: 'Měsíc',
|
||||||
week: "Týden",
|
week: 'Týden',
|
||||||
day: "Den",
|
day: 'Den',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Týd",
|
weekText: 'Týd',
|
||||||
allDayText: "Celý den",
|
allDayText: 'Celý den',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+další: " + n;
|
return '+další: ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Žádné akce k zobrazení"
|
noEventsText: 'Žádné akce k zobrazení',
|
||||||
};
|
};
|
||||||
|
|
||||||
return cs;
|
return cs;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var da = {
|
var da = {
|
||||||
code: "da",
|
code: 'da',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Forrige",
|
prev: 'Forrige',
|
||||||
next: "Næste",
|
next: 'Næste',
|
||||||
today: "I dag",
|
today: 'I dag',
|
||||||
month: "Måned",
|
month: 'Måned',
|
||||||
week: "Uge",
|
week: 'Uge',
|
||||||
day: "Dag",
|
day: 'Dag',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Uge",
|
weekText: 'Uge',
|
||||||
allDayText: "Hele dagen",
|
allDayText: 'Hele dagen',
|
||||||
moreLinkText: "flere",
|
moreLinkText: 'flere',
|
||||||
noEventsText: "Ingen arrangementer at vise"
|
noEventsText: 'Ingen arrangementer at vise',
|
||||||
};
|
};
|
||||||
|
|
||||||
return da;
|
return da;
|
||||||
|
|
|
@ -2,27 +2,27 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var de = {
|
var de = {
|
||||||
code: "de",
|
code: 'de',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Zurück",
|
prev: 'Zurück',
|
||||||
next: "Vor",
|
next: 'Vor',
|
||||||
today: "Heute",
|
today: 'Heute',
|
||||||
year: "Jahr",
|
year: 'Jahr',
|
||||||
month: "Monat",
|
month: 'Monat',
|
||||||
week: "Woche",
|
week: 'Woche',
|
||||||
day: "Tag",
|
day: 'Tag',
|
||||||
list: "Terminübersicht"
|
list: 'Terminübersicht',
|
||||||
},
|
},
|
||||||
weekText: "KW",
|
weekText: 'KW',
|
||||||
allDayText: "Ganztägig",
|
allDayText: 'Ganztägig',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ weitere " + n;
|
return '+ weitere ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Keine Ereignisse anzuzeigen"
|
noEventsText: 'Keine Ereignisse anzuzeigen',
|
||||||
};
|
};
|
||||||
|
|
||||||
return de;
|
return de;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var el = {
|
var el = {
|
||||||
code: "el",
|
code: 'el',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4st is the first week of the year.
|
doy: 4, // The week that contains Jan 4st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Προηγούμενος",
|
prev: 'Προηγούμενος',
|
||||||
next: "Επόμενος",
|
next: 'Επόμενος',
|
||||||
today: "Σήμερα",
|
today: 'Σήμερα',
|
||||||
month: "Μήνας",
|
month: 'Μήνας',
|
||||||
week: "Εβδομάδα",
|
week: 'Εβδομάδα',
|
||||||
day: "Ημέρα",
|
day: 'Ημέρα',
|
||||||
list: "Ατζέντα"
|
list: 'Ατζέντα',
|
||||||
},
|
},
|
||||||
weekText: "Εβδ",
|
weekText: 'Εβδ',
|
||||||
allDayText: "Ολοήμερο",
|
allDayText: 'Ολοήμερο',
|
||||||
moreLinkText: "περισσότερα",
|
moreLinkText: 'περισσότερα',
|
||||||
noEventsText: "Δεν υπάρχουν γεγονότα προς εμφάνιση"
|
noEventsText: 'Δεν υπάρχουν γεγονότα προς εμφάνιση',
|
||||||
};
|
};
|
||||||
|
|
||||||
return el;
|
return el;
|
||||||
|
|
|
@ -2,11 +2,11 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var enAu = {
|
var enAu = {
|
||||||
code: "en-au",
|
code: 'en-au',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
return enAu;
|
return enAu;
|
||||||
|
|
|
@ -2,11 +2,11 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var enGb = {
|
var enGb = {
|
||||||
code: "en-gb",
|
code: 'en-gb',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
return enGb;
|
return enGb;
|
||||||
|
|
|
@ -2,11 +2,11 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var enNz = {
|
var enNz = {
|
||||||
code: "en-nz",
|
code: 'en-nz',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
return enNz;
|
return enNz;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var esUs = {
|
var esUs = {
|
||||||
code: "es",
|
code: 'es',
|
||||||
week: {
|
week: {
|
||||||
dow: 0, // Sunday is the first day of the week.
|
dow: 0, // Sunday is the first day of the week.
|
||||||
doy: 6 // The week that contains Jan 1st is the first week of the year.
|
doy: 6, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Ant",
|
prev: 'Ant',
|
||||||
next: "Sig",
|
next: 'Sig',
|
||||||
today: "Hoy",
|
today: 'Hoy',
|
||||||
month: "Mes",
|
month: 'Mes',
|
||||||
week: "Semana",
|
week: 'Semana',
|
||||||
day: "Día",
|
day: 'Día',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Sm",
|
weekText: 'Sm',
|
||||||
allDayText: "Todo el día",
|
allDayText: 'Todo el día',
|
||||||
moreLinkText: "más",
|
moreLinkText: 'más',
|
||||||
noEventsText: "No hay eventos para mostrar"
|
noEventsText: 'No hay eventos para mostrar',
|
||||||
};
|
};
|
||||||
|
|
||||||
return esUs;
|
return esUs;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var es = {
|
var es = {
|
||||||
code: "es",
|
code: 'es',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Ant",
|
prev: 'Ant',
|
||||||
next: "Sig",
|
next: 'Sig',
|
||||||
today: "Hoy",
|
today: 'Hoy',
|
||||||
month: "Mes",
|
month: 'Mes',
|
||||||
week: "Semana",
|
week: 'Semana',
|
||||||
day: "Día",
|
day: 'Día',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Sm",
|
weekText: 'Sm',
|
||||||
allDayText: "Todo el día",
|
allDayText: 'Todo el día',
|
||||||
moreLinkText: "más",
|
moreLinkText: 'más',
|
||||||
noEventsText: "No hay eventos para mostrar"
|
noEventsText: 'No hay eventos para mostrar',
|
||||||
};
|
};
|
||||||
|
|
||||||
return es;
|
return es;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var et = {
|
var et = {
|
||||||
code: "et",
|
code: 'et',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Eelnev",
|
prev: 'Eelnev',
|
||||||
next: "Järgnev",
|
next: 'Järgnev',
|
||||||
today: "Täna",
|
today: 'Täna',
|
||||||
month: "Kuu",
|
month: 'Kuu',
|
||||||
week: "Nädal",
|
week: 'Nädal',
|
||||||
day: "Päev",
|
day: 'Päev',
|
||||||
list: "Päevakord"
|
list: 'Päevakord',
|
||||||
},
|
},
|
||||||
weekText: "näd",
|
weekText: 'näd',
|
||||||
allDayText: "Kogu päev",
|
allDayText: 'Kogu päev',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ veel " + n;
|
return '+ veel ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Kuvamiseks puuduvad sündmused"
|
noEventsText: 'Kuvamiseks puuduvad sündmused',
|
||||||
};
|
};
|
||||||
|
|
||||||
return et;
|
return et;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var eu = {
|
var eu = {
|
||||||
code: "eu",
|
code: 'eu',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Aur",
|
prev: 'Aur',
|
||||||
next: "Hur",
|
next: 'Hur',
|
||||||
today: "Gaur",
|
today: 'Gaur',
|
||||||
month: "Hilabetea",
|
month: 'Hilabetea',
|
||||||
week: "Astea",
|
week: 'Astea',
|
||||||
day: "Eguna",
|
day: 'Eguna',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "As",
|
weekText: 'As',
|
||||||
allDayText: "Egun osoa",
|
allDayText: 'Egun osoa',
|
||||||
moreLinkText: "gehiago",
|
moreLinkText: 'gehiago',
|
||||||
noEventsText: "Ez dago ekitaldirik erakusteko"
|
noEventsText: 'Ez dago ekitaldirik erakusteko',
|
||||||
};
|
};
|
||||||
|
|
||||||
return eu;
|
return eu;
|
||||||
|
|
|
@ -2,27 +2,27 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var fa = {
|
var fa = {
|
||||||
code: "fa",
|
code: 'fa',
|
||||||
week: {
|
week: {
|
||||||
dow: 6, // Saturday is the first day of the week.
|
dow: 6, // Saturday is the first day of the week.
|
||||||
doy: 12 // The week that contains Jan 1st is the first week of the year.
|
doy: 12, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "قبلی",
|
prev: 'قبلی',
|
||||||
next: "بعدی",
|
next: 'بعدی',
|
||||||
today: "امروز",
|
today: 'امروز',
|
||||||
month: "ماه",
|
month: 'ماه',
|
||||||
week: "هفته",
|
week: 'هفته',
|
||||||
day: "روز",
|
day: 'روز',
|
||||||
list: "برنامه"
|
list: 'برنامه',
|
||||||
},
|
},
|
||||||
weekText: "هف",
|
weekText: 'هف',
|
||||||
allDayText: "تمام روز",
|
allDayText: 'تمام روز',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "بیش از " + n;
|
return 'بیش از ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "هیچ رویدادی به نمایش"
|
noEventsText: 'هیچ رویدادی به نمایش',
|
||||||
};
|
};
|
||||||
|
|
||||||
return fa;
|
return fa;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var fi = {
|
var fi = {
|
||||||
code: "fi",
|
code: 'fi',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Edellinen",
|
prev: 'Edellinen',
|
||||||
next: "Seuraava",
|
next: 'Seuraava',
|
||||||
today: "Tänään",
|
today: 'Tänään',
|
||||||
month: "Kuukausi",
|
month: 'Kuukausi',
|
||||||
week: "Viikko",
|
week: 'Viikko',
|
||||||
day: "Päivä",
|
day: 'Päivä',
|
||||||
list: "Tapahtumat"
|
list: 'Tapahtumat',
|
||||||
},
|
},
|
||||||
weekText: "Vk",
|
weekText: 'Vk',
|
||||||
allDayText: "Koko päivä",
|
allDayText: 'Koko päivä',
|
||||||
moreLinkText: "lisää",
|
moreLinkText: 'lisää',
|
||||||
noEventsText: "Ei näytettäviä tapahtumia"
|
noEventsText: 'Ei näytettäviä tapahtumia',
|
||||||
};
|
};
|
||||||
|
|
||||||
return fi;
|
return fi;
|
||||||
|
|
|
@ -2,21 +2,21 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var frCa = {
|
var frCa = {
|
||||||
code: "fr",
|
code: 'fr',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Précédent",
|
prev: 'Précédent',
|
||||||
next: "Suivant",
|
next: 'Suivant',
|
||||||
today: "Aujourd'hui",
|
today: "Aujourd'hui",
|
||||||
year: "Année",
|
year: 'Année',
|
||||||
month: "Mois",
|
month: 'Mois',
|
||||||
week: "Semaine",
|
week: 'Semaine',
|
||||||
day: "Jour",
|
day: 'Jour',
|
||||||
list: "Mon planning"
|
list: 'Mon planning',
|
||||||
},
|
},
|
||||||
weekText: "Sem.",
|
weekText: 'Sem.',
|
||||||
allDayText: "Toute la journée",
|
allDayText: 'Toute la journée',
|
||||||
moreLinkText: "en plus",
|
moreLinkText: 'en plus',
|
||||||
noEventsText: "Aucun événement à afficher"
|
noEventsText: 'Aucun événement à afficher',
|
||||||
};
|
};
|
||||||
|
|
||||||
return frCa;
|
return frCa;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var frCh = {
|
var frCh = {
|
||||||
code: "fr-ch",
|
code: 'fr-ch',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Précédent",
|
prev: 'Précédent',
|
||||||
next: "Suivant",
|
next: 'Suivant',
|
||||||
today: "Courant",
|
today: 'Courant',
|
||||||
year: "Année",
|
year: 'Année',
|
||||||
month: "Mois",
|
month: 'Mois',
|
||||||
week: "Semaine",
|
week: 'Semaine',
|
||||||
day: "Jour",
|
day: 'Jour',
|
||||||
list: "Mon planning"
|
list: 'Mon planning',
|
||||||
},
|
},
|
||||||
weekText: "Sm",
|
weekText: 'Sm',
|
||||||
allDayText: "Toute la journée",
|
allDayText: 'Toute la journée',
|
||||||
moreLinkText: "en plus",
|
moreLinkText: 'en plus',
|
||||||
noEventsText: "Aucun événement à afficher"
|
noEventsText: 'Aucun événement à afficher',
|
||||||
};
|
};
|
||||||
|
|
||||||
return frCh;
|
return frCh;
|
||||||
|
|
|
@ -2,25 +2,25 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var fr = {
|
var fr = {
|
||||||
code: "fr",
|
code: 'fr',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Précédent",
|
prev: 'Précédent',
|
||||||
next: "Suivant",
|
next: 'Suivant',
|
||||||
today: "Aujourd'hui",
|
today: "Aujourd'hui",
|
||||||
year: "Année",
|
year: 'Année',
|
||||||
month: "Mois",
|
month: 'Mois',
|
||||||
week: "Semaine",
|
week: 'Semaine',
|
||||||
day: "Jour",
|
day: 'Jour',
|
||||||
list: "Planning"
|
list: 'Planning',
|
||||||
},
|
},
|
||||||
weekText: "Sem.",
|
weekText: 'Sem.',
|
||||||
allDayText: "Toute la journée",
|
allDayText: 'Toute la journée',
|
||||||
moreLinkText: "en plus",
|
moreLinkText: 'en plus',
|
||||||
noEventsText: "Aucun événement à afficher"
|
noEventsText: 'Aucun événement à afficher',
|
||||||
};
|
};
|
||||||
|
|
||||||
return fr;
|
return fr;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var gl = {
|
var gl = {
|
||||||
code: "gl",
|
code: 'gl',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Ant",
|
prev: 'Ant',
|
||||||
next: "Seg",
|
next: 'Seg',
|
||||||
today: "Hoxe",
|
today: 'Hoxe',
|
||||||
month: "Mes",
|
month: 'Mes',
|
||||||
week: "Semana",
|
week: 'Semana',
|
||||||
day: "Día",
|
day: 'Día',
|
||||||
list: "Axenda"
|
list: 'Axenda',
|
||||||
},
|
},
|
||||||
weekText: "Sm",
|
weekText: 'Sm',
|
||||||
allDayText: "Todo o día",
|
allDayText: 'Todo o día',
|
||||||
moreLinkText: "máis",
|
moreLinkText: 'máis',
|
||||||
noEventsText: "Non hai eventos para amosar"
|
noEventsText: 'Non hai eventos para amosar',
|
||||||
};
|
};
|
||||||
|
|
||||||
return gl;
|
return gl;
|
||||||
|
|
|
@ -2,21 +2,21 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var he = {
|
var he = {
|
||||||
code: "he",
|
code: 'he',
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "הקודם",
|
prev: 'הקודם',
|
||||||
next: "הבא",
|
next: 'הבא',
|
||||||
today: "היום",
|
today: 'היום',
|
||||||
month: "חודש",
|
month: 'חודש',
|
||||||
week: "שבוע",
|
week: 'שבוע',
|
||||||
day: "יום",
|
day: 'יום',
|
||||||
list: "סדר יום"
|
list: 'סדר יום',
|
||||||
},
|
},
|
||||||
allDayText: "כל היום",
|
allDayText: 'כל היום',
|
||||||
moreLinkText: "אחר",
|
moreLinkText: 'אחר',
|
||||||
noEventsText: "אין אירועים להצגה",
|
noEventsText: 'אין אירועים להצגה',
|
||||||
weekText: "שבוע"
|
weekText: 'שבוע',
|
||||||
};
|
};
|
||||||
|
|
||||||
return he;
|
return he;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var hi = {
|
var hi = {
|
||||||
code: "hi",
|
code: 'hi',
|
||||||
week: {
|
week: {
|
||||||
dow: 0, // Sunday is the first day of the week.
|
dow: 0, // Sunday is the first day of the week.
|
||||||
doy: 6 // The week that contains Jan 1st is the first week of the year.
|
doy: 6, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "पिछला",
|
prev: 'पिछला',
|
||||||
next: "अगला",
|
next: 'अगला',
|
||||||
today: "आज",
|
today: 'आज',
|
||||||
month: "महीना",
|
month: 'महीना',
|
||||||
week: "सप्ताह",
|
week: 'सप्ताह',
|
||||||
day: "दिन",
|
day: 'दिन',
|
||||||
list: "कार्यसूची"
|
list: 'कार्यसूची',
|
||||||
},
|
},
|
||||||
weekText: "हफ्ता",
|
weekText: 'हफ्ता',
|
||||||
allDayText: "सभी दिन",
|
allDayText: 'सभी दिन',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+अधिक " + n;
|
return '+अधिक ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "कोई घटनाओं को प्रदर्शित करने के लिए"
|
noEventsText: 'कोई घटनाओं को प्रदर्शित करने के लिए',
|
||||||
};
|
};
|
||||||
|
|
||||||
return hi;
|
return hi;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var hr = {
|
var hr = {
|
||||||
code: "hr",
|
code: 'hr',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Prijašnji",
|
prev: 'Prijašnji',
|
||||||
next: "Sljedeći",
|
next: 'Sljedeći',
|
||||||
today: "Danas",
|
today: 'Danas',
|
||||||
month: "Mjesec",
|
month: 'Mjesec',
|
||||||
week: "Tjedan",
|
week: 'Tjedan',
|
||||||
day: "Dan",
|
day: 'Dan',
|
||||||
list: "Raspored"
|
list: 'Raspored',
|
||||||
},
|
},
|
||||||
weekText: "Tje",
|
weekText: 'Tje',
|
||||||
allDayText: "Cijeli dan",
|
allDayText: 'Cijeli dan',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ još " + n;
|
return '+ još ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Nema događaja za prikaz"
|
noEventsText: 'Nema događaja za prikaz',
|
||||||
};
|
};
|
||||||
|
|
||||||
return hr;
|
return hr;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var hu = {
|
var hu = {
|
||||||
code: "hu",
|
code: 'hu',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "vissza",
|
prev: 'vissza',
|
||||||
next: "előre",
|
next: 'előre',
|
||||||
today: "ma",
|
today: 'ma',
|
||||||
month: "Hónap",
|
month: 'Hónap',
|
||||||
week: "Hét",
|
week: 'Hét',
|
||||||
day: "Nap",
|
day: 'Nap',
|
||||||
list: "Napló"
|
list: 'Napló',
|
||||||
},
|
},
|
||||||
weekText: "Hét",
|
weekText: 'Hét',
|
||||||
allDayText: "Egész nap",
|
allDayText: 'Egész nap',
|
||||||
moreLinkText: "további",
|
moreLinkText: 'további',
|
||||||
noEventsText: "Nincs megjeleníthető esemény"
|
noEventsText: 'Nincs megjeleníthető esemény',
|
||||||
};
|
};
|
||||||
|
|
||||||
return hu;
|
return hu;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var id = {
|
var id = {
|
||||||
code: "id",
|
code: 'id',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "mundur",
|
prev: 'mundur',
|
||||||
next: "maju",
|
next: 'maju',
|
||||||
today: "hari ini",
|
today: 'hari ini',
|
||||||
month: "Bulan",
|
month: 'Bulan',
|
||||||
week: "Minggu",
|
week: 'Minggu',
|
||||||
day: "Hari",
|
day: 'Hari',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Mg",
|
weekText: 'Mg',
|
||||||
allDayText: "Sehari penuh",
|
allDayText: 'Sehari penuh',
|
||||||
moreLinkText: "lebih",
|
moreLinkText: 'lebih',
|
||||||
noEventsText: "Tidak ada acara untuk ditampilkan"
|
noEventsText: 'Tidak ada acara untuk ditampilkan',
|
||||||
};
|
};
|
||||||
|
|
||||||
return id;
|
return id;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var is = {
|
var is = {
|
||||||
code: "is",
|
code: 'is',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Fyrri",
|
prev: 'Fyrri',
|
||||||
next: "Næsti",
|
next: 'Næsti',
|
||||||
today: "Í dag",
|
today: 'Í dag',
|
||||||
month: "Mánuður",
|
month: 'Mánuður',
|
||||||
week: "Vika",
|
week: 'Vika',
|
||||||
day: "Dagur",
|
day: 'Dagur',
|
||||||
list: "Dagskrá"
|
list: 'Dagskrá',
|
||||||
},
|
},
|
||||||
weekText: "Vika",
|
weekText: 'Vika',
|
||||||
allDayText: "Allan daginn",
|
allDayText: 'Allan daginn',
|
||||||
moreLinkText: "meira",
|
moreLinkText: 'meira',
|
||||||
noEventsText: "Engir viðburðir til að sýna"
|
noEventsText: 'Engir viðburðir til að sýna',
|
||||||
};
|
};
|
||||||
|
|
||||||
return is;
|
return is;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var it = {
|
var it = {
|
||||||
code: "it",
|
code: 'it',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Prec",
|
prev: 'Prec',
|
||||||
next: "Succ",
|
next: 'Succ',
|
||||||
today: "Oggi",
|
today: 'Oggi',
|
||||||
month: "Mese",
|
month: 'Mese',
|
||||||
week: "Settimana",
|
week: 'Settimana',
|
||||||
day: "Giorno",
|
day: 'Giorno',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Sm",
|
weekText: 'Sm',
|
||||||
allDayText: "Tutto il giorno",
|
allDayText: 'Tutto il giorno',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+altri " + n;
|
return '+altri ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Non ci sono eventi da visualizzare"
|
noEventsText: 'Non ci sono eventi da visualizzare',
|
||||||
};
|
};
|
||||||
|
|
||||||
return it;
|
return it;
|
||||||
|
|
|
@ -2,22 +2,22 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ja = {
|
var ja = {
|
||||||
code: "ja",
|
code: 'ja',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "前",
|
prev: '前',
|
||||||
next: "次",
|
next: '次',
|
||||||
today: "今日",
|
today: '今日',
|
||||||
month: "月",
|
month: '月',
|
||||||
week: "週",
|
week: '週',
|
||||||
day: "日",
|
day: '日',
|
||||||
list: "予定リスト"
|
list: '予定リスト',
|
||||||
},
|
},
|
||||||
weekText: "週",
|
weekText: '週',
|
||||||
allDayText: "終日",
|
allDayText: '終日',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "他 " + n + " 件";
|
return '他 ' + n + ' 件'
|
||||||
},
|
},
|
||||||
noEventsText: "表示する予定はありません"
|
noEventsText: '表示する予定はありません',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ja;
|
return ja;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ka = {
|
var ka = {
|
||||||
code: "ka",
|
code: 'ka',
|
||||||
week: {
|
week: {
|
||||||
dow: 1,
|
dow: 1,
|
||||||
doy: 7
|
doy: 7,
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "წინა",
|
prev: 'წინა',
|
||||||
next: "შემდეგი",
|
next: 'შემდეგი',
|
||||||
today: "დღეს",
|
today: 'დღეს',
|
||||||
month: "თვე",
|
month: 'თვე',
|
||||||
week: "კვირა",
|
week: 'კვირა',
|
||||||
day: "დღე",
|
day: 'დღე',
|
||||||
list: "დღის წესრიგი"
|
list: 'დღის წესრიგი',
|
||||||
},
|
},
|
||||||
weekText: "კვ",
|
weekText: 'კვ',
|
||||||
allDayText: "მთელი დღე",
|
allDayText: 'მთელი დღე',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ კიდევ " + n;
|
return '+ კიდევ ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "ღონისძიებები არ არის"
|
noEventsText: 'ღონისძიებები არ არის',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ka;
|
return ka;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var kk = {
|
var kk = {
|
||||||
code: "kk",
|
code: 'kk',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Алдыңғы",
|
prev: 'Алдыңғы',
|
||||||
next: "Келесі",
|
next: 'Келесі',
|
||||||
today: "Бүгін",
|
today: 'Бүгін',
|
||||||
month: "Ай",
|
month: 'Ай',
|
||||||
week: "Апта",
|
week: 'Апта',
|
||||||
day: "Күн",
|
day: 'Күн',
|
||||||
list: "Күн тәртібі"
|
list: 'Күн тәртібі',
|
||||||
},
|
},
|
||||||
weekText: "Не",
|
weekText: 'Не',
|
||||||
allDayText: "Күні бойы",
|
allDayText: 'Күні бойы',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ тағы " + n;
|
return '+ тағы ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Көрсету үшін оқиғалар жоқ"
|
noEventsText: 'Көрсету үшін оқиғалар жоқ',
|
||||||
};
|
};
|
||||||
|
|
||||||
return kk;
|
return kk;
|
||||||
|
|
|
@ -2,20 +2,20 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ko = {
|
var ko = {
|
||||||
code: "ko",
|
code: 'ko',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "이전달",
|
prev: '이전달',
|
||||||
next: "다음달",
|
next: '다음달',
|
||||||
today: "오늘",
|
today: '오늘',
|
||||||
month: "월",
|
month: '월',
|
||||||
week: "주",
|
week: '주',
|
||||||
day: "일",
|
day: '일',
|
||||||
list: "일정목록"
|
list: '일정목록',
|
||||||
},
|
},
|
||||||
weekText: "주",
|
weekText: '주',
|
||||||
allDayText: "종일",
|
allDayText: '종일',
|
||||||
moreLinkText: "개",
|
moreLinkText: '개',
|
||||||
noEventsText: "일정이 없습니다"
|
noEventsText: '일정이 없습니다',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ko;
|
return ko;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var lb = {
|
var lb = {
|
||||||
code: "lb",
|
code: 'lb',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Zréck",
|
prev: 'Zréck',
|
||||||
next: "Weider",
|
next: 'Weider',
|
||||||
today: "Haut",
|
today: 'Haut',
|
||||||
month: "Mount",
|
month: 'Mount',
|
||||||
week: "Woch",
|
week: 'Woch',
|
||||||
day: "Dag",
|
day: 'Dag',
|
||||||
list: "Terminiwwersiicht"
|
list: 'Terminiwwersiicht',
|
||||||
},
|
},
|
||||||
weekText: "W",
|
weekText: 'W',
|
||||||
allDayText: "Ganzen Dag",
|
allDayText: 'Ganzen Dag',
|
||||||
moreLinkText: "méi",
|
moreLinkText: 'méi',
|
||||||
noEventsText: "Nee Evenementer ze affichéieren"
|
noEventsText: 'Nee Evenementer ze affichéieren',
|
||||||
};
|
};
|
||||||
|
|
||||||
return lb;
|
return lb;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var lt = {
|
var lt = {
|
||||||
code: "lt",
|
code: 'lt',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Atgal",
|
prev: 'Atgal',
|
||||||
next: "Pirmyn",
|
next: 'Pirmyn',
|
||||||
today: "Šiandien",
|
today: 'Šiandien',
|
||||||
month: "Mėnuo",
|
month: 'Mėnuo',
|
||||||
week: "Savaitė",
|
week: 'Savaitė',
|
||||||
day: "Diena",
|
day: 'Diena',
|
||||||
list: "Darbotvarkė"
|
list: 'Darbotvarkė',
|
||||||
},
|
},
|
||||||
weekText: "SAV",
|
weekText: 'SAV',
|
||||||
allDayText: "Visą dieną",
|
allDayText: 'Visą dieną',
|
||||||
moreLinkText: "daugiau",
|
moreLinkText: 'daugiau',
|
||||||
noEventsText: "Nėra įvykių rodyti"
|
noEventsText: 'Nėra įvykių rodyti',
|
||||||
};
|
};
|
||||||
|
|
||||||
return lt;
|
return lt;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var lv = {
|
var lv = {
|
||||||
code: "lv",
|
code: 'lv',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Iepr.",
|
prev: 'Iepr.',
|
||||||
next: "Nāk.",
|
next: 'Nāk.',
|
||||||
today: "Šodien",
|
today: 'Šodien',
|
||||||
month: "Mēnesis",
|
month: 'Mēnesis',
|
||||||
week: "Nedēļa",
|
week: 'Nedēļa',
|
||||||
day: "Diena",
|
day: 'Diena',
|
||||||
list: "Dienas kārtība"
|
list: 'Dienas kārtība',
|
||||||
},
|
},
|
||||||
weekText: "Ned.",
|
weekText: 'Ned.',
|
||||||
allDayText: "Visu dienu",
|
allDayText: 'Visu dienu',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+vēl " + n;
|
return '+vēl ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Nav notikumu"
|
noEventsText: 'Nav notikumu',
|
||||||
};
|
};
|
||||||
|
|
||||||
return lv;
|
return lv;
|
||||||
|
|
|
@ -2,22 +2,22 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var mk = {
|
var mk = {
|
||||||
code: "mk",
|
code: 'mk',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "претходно",
|
prev: 'претходно',
|
||||||
next: "следно",
|
next: 'следно',
|
||||||
today: "Денес",
|
today: 'Денес',
|
||||||
month: "Месец",
|
month: 'Месец',
|
||||||
week: "Недела",
|
week: 'Недела',
|
||||||
day: "Ден",
|
day: 'Ден',
|
||||||
list: "График"
|
list: 'График',
|
||||||
},
|
},
|
||||||
weekText: "Сед",
|
weekText: 'Сед',
|
||||||
allDayText: "Цел ден",
|
allDayText: 'Цел ден',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+повеќе " + n;
|
return '+повеќе ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Нема настани за прикажување"
|
noEventsText: 'Нема настани за прикажување',
|
||||||
};
|
};
|
||||||
|
|
||||||
return mk;
|
return mk;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ms = {
|
var ms = {
|
||||||
code: "ms",
|
code: 'ms',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Sebelum",
|
prev: 'Sebelum',
|
||||||
next: "Selepas",
|
next: 'Selepas',
|
||||||
today: "hari ini",
|
today: 'hari ini',
|
||||||
month: "Bulan",
|
month: 'Bulan',
|
||||||
week: "Minggu",
|
week: 'Minggu',
|
||||||
day: "Hari",
|
day: 'Hari',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Mg",
|
weekText: 'Mg',
|
||||||
allDayText: "Sepanjang hari",
|
allDayText: 'Sepanjang hari',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "masih ada " + n + " acara";
|
return 'masih ada ' + n + ' acara'
|
||||||
},
|
},
|
||||||
noEventsText: "Tiada peristiwa untuk dipaparkan"
|
noEventsText: 'Tiada peristiwa untuk dipaparkan',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ms;
|
return ms;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var nb = {
|
var nb = {
|
||||||
code: "nb",
|
code: 'nb',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Forrige",
|
prev: 'Forrige',
|
||||||
next: "Neste",
|
next: 'Neste',
|
||||||
today: "I dag",
|
today: 'I dag',
|
||||||
month: "Måned",
|
month: 'Måned',
|
||||||
week: "Uke",
|
week: 'Uke',
|
||||||
day: "Dag",
|
day: 'Dag',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Uke",
|
weekText: 'Uke',
|
||||||
allDayText: "Hele dagen",
|
allDayText: 'Hele dagen',
|
||||||
moreLinkText: "til",
|
moreLinkText: 'til',
|
||||||
noEventsText: "Ingen hendelser å vise"
|
noEventsText: 'Ingen hendelser å vise',
|
||||||
};
|
};
|
||||||
|
|
||||||
return nb;
|
return nb;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ne = {
|
var ne = {
|
||||||
code: "ne", //code for nepal
|
code: 'ne', // code for nepal
|
||||||
week: {
|
week: {
|
||||||
dow: 7, // Sunday is the first day of the week.
|
dow: 7, // Sunday is the first day of the week.
|
||||||
doy: 1 // The week that contains Jan 1st is the first week of the year.
|
doy: 1, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "अघिल्लो",
|
prev: 'अघिल्लो',
|
||||||
next: "अर्को",
|
next: 'अर्को',
|
||||||
today: "आज",
|
today: 'आज',
|
||||||
month: "महिना",
|
month: 'महिना',
|
||||||
week: "हप्ता",
|
week: 'हप्ता',
|
||||||
day: "दिन",
|
day: 'दिन',
|
||||||
list: "सूची"
|
list: 'सूची',
|
||||||
},
|
},
|
||||||
weekText: "हप्ता",
|
weekText: 'हप्ता',
|
||||||
allDayText: "दिनभरि",
|
allDayText: 'दिनभरि',
|
||||||
moreLinkText: "थप लिंक",
|
moreLinkText: 'थप लिंक',
|
||||||
noEventsText: "देखाउनको लागि कुनै घटनाहरू छैनन्"
|
noEventsText: 'देखाउनको लागि कुनै घटनाहरू छैनन्',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ne;
|
return ne;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var nl = {
|
var nl = {
|
||||||
code: "nl",
|
code: 'nl',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Voorgaand",
|
prev: 'Voorgaand',
|
||||||
next: "Volgende",
|
next: 'Volgende',
|
||||||
today: "Vandaag",
|
today: 'Vandaag',
|
||||||
year: "Jaar",
|
year: 'Jaar',
|
||||||
month: "Maand",
|
month: 'Maand',
|
||||||
week: "Week",
|
week: 'Week',
|
||||||
day: "Dag",
|
day: 'Dag',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
allDayText: "Hele dag",
|
allDayText: 'Hele dag',
|
||||||
moreLinkText: "extra",
|
moreLinkText: 'extra',
|
||||||
noEventsText: "Geen evenementen om te laten zien"
|
noEventsText: 'Geen evenementen om te laten zien',
|
||||||
};
|
};
|
||||||
|
|
||||||
return nl;
|
return nl;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var nn = {
|
var nn = {
|
||||||
code: "nn",
|
code: 'nn',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Førre",
|
prev: 'Førre',
|
||||||
next: "Neste",
|
next: 'Neste',
|
||||||
today: "I dag",
|
today: 'I dag',
|
||||||
month: "Månad",
|
month: 'Månad',
|
||||||
week: "Veke",
|
week: 'Veke',
|
||||||
day: "Dag",
|
day: 'Dag',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Veke",
|
weekText: 'Veke',
|
||||||
allDayText: "Heile dagen",
|
allDayText: 'Heile dagen',
|
||||||
moreLinkText: "til",
|
moreLinkText: 'til',
|
||||||
noEventsText: "Ingen hendelser å vise"
|
noEventsText: 'Ingen hendelser å vise',
|
||||||
};
|
};
|
||||||
|
|
||||||
return nn;
|
return nn;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var pl = {
|
var pl = {
|
||||||
code: "pl",
|
code: 'pl',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Poprzedni",
|
prev: 'Poprzedni',
|
||||||
next: "Następny",
|
next: 'Następny',
|
||||||
today: "Dziś",
|
today: 'Dziś',
|
||||||
month: "Miesiąc",
|
month: 'Miesiąc',
|
||||||
week: "Tydzień",
|
week: 'Tydzień',
|
||||||
day: "Dzień",
|
day: 'Dzień',
|
||||||
list: "Plan dnia"
|
list: 'Plan dnia',
|
||||||
},
|
},
|
||||||
weekText: "Tydz",
|
weekText: 'Tydz',
|
||||||
allDayText: "Cały dzień",
|
allDayText: 'Cały dzień',
|
||||||
moreLinkText: "więcej",
|
moreLinkText: 'więcej',
|
||||||
noEventsText: "Brak wydarzeń do wyświetlenia"
|
noEventsText: 'Brak wydarzeń do wyświetlenia',
|
||||||
};
|
};
|
||||||
|
|
||||||
return pl;
|
return pl;
|
||||||
|
|
|
@ -2,22 +2,22 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ptBr = {
|
var ptBr = {
|
||||||
code: "pt-br",
|
code: 'pt-br',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Anterior",
|
prev: 'Anterior',
|
||||||
next: "Próximo",
|
next: 'Próximo',
|
||||||
today: "Hoje",
|
today: 'Hoje',
|
||||||
month: "Mês",
|
month: 'Mês',
|
||||||
week: "Semana",
|
week: 'Semana',
|
||||||
day: "Dia",
|
day: 'Dia',
|
||||||
list: "Lista"
|
list: 'Lista',
|
||||||
},
|
},
|
||||||
weekText: "Sm",
|
weekText: 'Sm',
|
||||||
allDayText: "dia inteiro",
|
allDayText: 'dia inteiro',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "mais +" + n;
|
return 'mais +' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Não há eventos para mostrar"
|
noEventsText: 'Não há eventos para mostrar',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ptBr;
|
return ptBr;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var pt = {
|
var pt = {
|
||||||
code: "pt",
|
code: 'pt',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Anterior",
|
prev: 'Anterior',
|
||||||
next: "Seguinte",
|
next: 'Seguinte',
|
||||||
today: "Hoje",
|
today: 'Hoje',
|
||||||
month: "Mês",
|
month: 'Mês',
|
||||||
week: "Semana",
|
week: 'Semana',
|
||||||
day: "Dia",
|
day: 'Dia',
|
||||||
list: "Agenda"
|
list: 'Agenda',
|
||||||
},
|
},
|
||||||
weekText: "Sem",
|
weekText: 'Sem',
|
||||||
allDayText: "Todo o dia",
|
allDayText: 'Todo o dia',
|
||||||
moreLinkText: "mais",
|
moreLinkText: 'mais',
|
||||||
noEventsText: "Não há eventos para mostrar"
|
noEventsText: 'Não há eventos para mostrar',
|
||||||
};
|
};
|
||||||
|
|
||||||
return pt;
|
return pt;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ro = {
|
var ro = {
|
||||||
code: "ro",
|
code: 'ro',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "precedentă",
|
prev: 'precedentă',
|
||||||
next: "următoare",
|
next: 'următoare',
|
||||||
today: "Azi",
|
today: 'Azi',
|
||||||
month: "Lună",
|
month: 'Lună',
|
||||||
week: "Săptămână",
|
week: 'Săptămână',
|
||||||
day: "Zi",
|
day: 'Zi',
|
||||||
list: "Agendă"
|
list: 'Agendă',
|
||||||
},
|
},
|
||||||
weekText: "Săpt",
|
weekText: 'Săpt',
|
||||||
allDayText: "Toată ziua",
|
allDayText: 'Toată ziua',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+alte " + n;
|
return '+alte ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Nu există evenimente de afișat"
|
noEventsText: 'Nu există evenimente de afișat',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ro;
|
return ro;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ru = {
|
var ru = {
|
||||||
code: "ru",
|
code: 'ru',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Пред",
|
prev: 'Пред',
|
||||||
next: "След",
|
next: 'След',
|
||||||
today: "Сегодня",
|
today: 'Сегодня',
|
||||||
month: "Месяц",
|
month: 'Месяц',
|
||||||
week: "Неделя",
|
week: 'Неделя',
|
||||||
day: "День",
|
day: 'День',
|
||||||
list: "Повестка дня"
|
list: 'Повестка дня',
|
||||||
},
|
},
|
||||||
weekText: "Нед",
|
weekText: 'Нед',
|
||||||
allDayText: "Весь день",
|
allDayText: 'Весь день',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ ещё " + n;
|
return '+ ещё ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Нет событий для отображения"
|
noEventsText: 'Нет событий для отображения',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ru;
|
return ru;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var sk = {
|
var sk = {
|
||||||
code: "sk",
|
code: 'sk',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Predchádzajúci",
|
prev: 'Predchádzajúci',
|
||||||
next: "Nasledujúci",
|
next: 'Nasledujúci',
|
||||||
today: "Dnes",
|
today: 'Dnes',
|
||||||
month: "Mesiac",
|
month: 'Mesiac',
|
||||||
week: "Týždeň",
|
week: 'Týždeň',
|
||||||
day: "Deň",
|
day: 'Deň',
|
||||||
list: "Rozvrh"
|
list: 'Rozvrh',
|
||||||
},
|
},
|
||||||
weekText: "Ty",
|
weekText: 'Ty',
|
||||||
allDayText: "Celý deň",
|
allDayText: 'Celý deň',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ďalšie: " + n;
|
return '+ďalšie: ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Žiadne akcie na zobrazenie"
|
noEventsText: 'Žiadne akcie na zobrazenie',
|
||||||
};
|
};
|
||||||
|
|
||||||
return sk;
|
return sk;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var sl = {
|
var sl = {
|
||||||
code: "sl",
|
code: 'sl',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Prejšnji",
|
prev: 'Prejšnji',
|
||||||
next: "Naslednji",
|
next: 'Naslednji',
|
||||||
today: "Trenutni",
|
today: 'Trenutni',
|
||||||
month: "Mesec",
|
month: 'Mesec',
|
||||||
week: "Teden",
|
week: 'Teden',
|
||||||
day: "Dan",
|
day: 'Dan',
|
||||||
list: "Dnevni red"
|
list: 'Dnevni red',
|
||||||
},
|
},
|
||||||
weekText: "Teden",
|
weekText: 'Teden',
|
||||||
allDayText: "Ves dan",
|
allDayText: 'Ves dan',
|
||||||
moreLinkText: "več",
|
moreLinkText: 'več',
|
||||||
noEventsText: "Ni dogodkov za prikaz"
|
noEventsText: 'Ni dogodkov za prikaz',
|
||||||
};
|
};
|
||||||
|
|
||||||
return sl;
|
return sl;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var sq = {
|
var sq = {
|
||||||
code: "sq",
|
code: 'sq',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "mbrapa",
|
prev: 'mbrapa',
|
||||||
next: "Përpara",
|
next: 'Përpara',
|
||||||
today: "sot",
|
today: 'sot',
|
||||||
month: "Muaj",
|
month: 'Muaj',
|
||||||
week: "Javë",
|
week: 'Javë',
|
||||||
day: "Ditë",
|
day: 'Ditë',
|
||||||
list: "Listë"
|
list: 'Listë',
|
||||||
},
|
},
|
||||||
weekText: "Ja",
|
weekText: 'Ja',
|
||||||
allDayText: "Gjithë ditën",
|
allDayText: 'Gjithë ditën',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+më tepër " + n;
|
return '+më tepër ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Nuk ka evente për të shfaqur"
|
noEventsText: 'Nuk ka evente për të shfaqur',
|
||||||
};
|
};
|
||||||
|
|
||||||
return sq;
|
return sq;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var srCyrl = {
|
var srCyrl = {
|
||||||
code: "sr-cyrl",
|
code: 'sr-cyrl',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Претходна",
|
prev: 'Претходна',
|
||||||
next: "следећи",
|
next: 'следећи',
|
||||||
today: "Данас",
|
today: 'Данас',
|
||||||
month: "Месец",
|
month: 'Месец',
|
||||||
week: "Недеља",
|
week: 'Недеља',
|
||||||
day: "Дан",
|
day: 'Дан',
|
||||||
list: "Планер"
|
list: 'Планер',
|
||||||
},
|
},
|
||||||
weekText: "Сед",
|
weekText: 'Сед',
|
||||||
allDayText: "Цео дан",
|
allDayText: 'Цео дан',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ још " + n;
|
return '+ још ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Нема догађаја за приказ"
|
noEventsText: 'Нема догађаја за приказ',
|
||||||
};
|
};
|
||||||
|
|
||||||
return srCyrl;
|
return srCyrl;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var sr = {
|
var sr = {
|
||||||
code: "sr",
|
code: 'sr',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Prethodna",
|
prev: 'Prethodna',
|
||||||
next: "Sledeći",
|
next: 'Sledeći',
|
||||||
today: "Danas",
|
today: 'Danas',
|
||||||
month: "Mеsеc",
|
month: 'Mеsеc',
|
||||||
week: "Nеdеlja",
|
week: 'Nеdеlja',
|
||||||
day: "Dan",
|
day: 'Dan',
|
||||||
list: "Planеr"
|
list: 'Planеr',
|
||||||
},
|
},
|
||||||
weekText: "Sed",
|
weekText: 'Sed',
|
||||||
allDayText: "Cеo dan",
|
allDayText: 'Cеo dan',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ još " + n;
|
return '+ još ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Nеma događaja za prikaz"
|
noEventsText: 'Nеma događaja za prikaz',
|
||||||
};
|
};
|
||||||
|
|
||||||
return sr;
|
return sr;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var sv = {
|
var sv = {
|
||||||
code: "sv",
|
code: 'sv',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Förra",
|
prev: 'Förra',
|
||||||
next: "Nästa",
|
next: 'Nästa',
|
||||||
today: "Idag",
|
today: 'Idag',
|
||||||
month: "Månad",
|
month: 'Månad',
|
||||||
week: "Vecka",
|
week: 'Vecka',
|
||||||
day: "Dag",
|
day: 'Dag',
|
||||||
list: "Program"
|
list: 'Program',
|
||||||
},
|
},
|
||||||
weekText: "v.",
|
weekText: 'v.',
|
||||||
allDayText: "Heldag",
|
allDayText: 'Heldag',
|
||||||
moreLinkText: "till",
|
moreLinkText: 'till',
|
||||||
noEventsText: "Inga händelser att visa"
|
noEventsText: 'Inga händelser att visa',
|
||||||
};
|
};
|
||||||
|
|
||||||
return sv;
|
return sv;
|
||||||
|
|
|
@ -2,27 +2,27 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var th = {
|
var th = {
|
||||||
code: "th",
|
code: 'th',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "ก่อนหน้า",
|
prev: 'ก่อนหน้า',
|
||||||
next: "ถัดไป",
|
next: 'ถัดไป',
|
||||||
prevYear: 'ปีก่อนหน้า',
|
prevYear: 'ปีก่อนหน้า',
|
||||||
nextYear: 'ปีถัดไป',
|
nextYear: 'ปีถัดไป',
|
||||||
year: 'ปี',
|
year: 'ปี',
|
||||||
today: "วันนี้",
|
today: 'วันนี้',
|
||||||
month: "เดือน",
|
month: 'เดือน',
|
||||||
week: "สัปดาห์",
|
week: 'สัปดาห์',
|
||||||
day: "วัน",
|
day: 'วัน',
|
||||||
list: "กำหนดการ"
|
list: 'กำหนดการ',
|
||||||
},
|
},
|
||||||
weekText: "สัปดาห์",
|
weekText: 'สัปดาห์',
|
||||||
allDayText: "ตลอดวัน",
|
allDayText: 'ตลอดวัน',
|
||||||
moreLinkText: "เพิ่มเติม",
|
moreLinkText: 'เพิ่มเติม',
|
||||||
noEventsText: "ไม่มีกิจกรรมที่จะแสดง"
|
noEventsText: 'ไม่มีกิจกรรมที่จะแสดง',
|
||||||
};
|
};
|
||||||
|
|
||||||
return th;
|
return th;
|
||||||
|
|
|
@ -2,24 +2,24 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var tr = {
|
var tr = {
|
||||||
code: "tr",
|
code: 'tr',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "geri",
|
prev: 'geri',
|
||||||
next: "ileri",
|
next: 'ileri',
|
||||||
today: "bugün",
|
today: 'bugün',
|
||||||
month: "Ay",
|
month: 'Ay',
|
||||||
week: "Hafta",
|
week: 'Hafta',
|
||||||
day: "Gün",
|
day: 'Gün',
|
||||||
list: "Ajanda"
|
list: 'Ajanda',
|
||||||
},
|
},
|
||||||
weekText: "Hf",
|
weekText: 'Hf',
|
||||||
allDayText: "Tüm gün",
|
allDayText: 'Tüm gün',
|
||||||
moreLinkText: "daha fazla",
|
moreLinkText: 'daha fazla',
|
||||||
noEventsText: "Gösterilecek etkinlik yok"
|
noEventsText: 'Gösterilecek etkinlik yok',
|
||||||
};
|
};
|
||||||
|
|
||||||
return tr;
|
return tr;
|
||||||
|
|
|
@ -2,14 +2,14 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ug = {
|
var ug = {
|
||||||
code: "ug",
|
code: 'ug',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
month: "ئاي",
|
month: 'ئاي',
|
||||||
week: "ھەپتە",
|
week: 'ھەپتە',
|
||||||
day: "كۈن",
|
day: 'كۈن',
|
||||||
list: "كۈنتەرتىپ"
|
list: 'كۈنتەرتىپ',
|
||||||
},
|
},
|
||||||
allDayText: "پۈتۈن كۈن"
|
allDayText: 'پۈتۈن كۈن',
|
||||||
};
|
};
|
||||||
|
|
||||||
return ug;
|
return ug;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var uk = {
|
var uk = {
|
||||||
code: "uk",
|
code: 'uk',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 7 // The week that contains Jan 1st is the first week of the year.
|
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Попередній",
|
prev: 'Попередній',
|
||||||
next: "далі",
|
next: 'далі',
|
||||||
today: "Сьогодні",
|
today: 'Сьогодні',
|
||||||
month: "Місяць",
|
month: 'Місяць',
|
||||||
week: "Тиждень",
|
week: 'Тиждень',
|
||||||
day: "День",
|
day: 'День',
|
||||||
list: "Порядок денний"
|
list: 'Порядок денний',
|
||||||
},
|
},
|
||||||
weekText: "Тиж",
|
weekText: 'Тиж',
|
||||||
allDayText: "Увесь день",
|
allDayText: 'Увесь день',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ще " + n + "...";
|
return '+ще ' + n + '...'
|
||||||
},
|
},
|
||||||
noEventsText: "Немає подій для відображення"
|
noEventsText: 'Немає подій для відображення',
|
||||||
};
|
};
|
||||||
|
|
||||||
return uk;
|
return uk;
|
||||||
|
|
|
@ -2,18 +2,18 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var uz = {
|
var uz = {
|
||||||
code: "uz",
|
code: 'uz',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
month: "Oy",
|
month: 'Oy',
|
||||||
week: "Xafta",
|
week: 'Xafta',
|
||||||
day: "Kun",
|
day: 'Kun',
|
||||||
list: "Kun tartibi"
|
list: 'Kun tartibi',
|
||||||
},
|
},
|
||||||
allDayText: "Kun bo'yi",
|
allDayText: "Kun bo'yi",
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ yana " + n;
|
return '+ yana ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Ko'rsatish uchun voqealar yo'q"
|
noEventsText: "Ko'rsatish uchun voqealar yo'q",
|
||||||
};
|
};
|
||||||
|
|
||||||
return uz;
|
return uz;
|
||||||
|
|
|
@ -2,26 +2,26 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var vi = {
|
var vi = {
|
||||||
code: "vi",
|
code: 'vi',
|
||||||
week: {
|
week: {
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "Trước",
|
prev: 'Trước',
|
||||||
next: "Tiếp",
|
next: 'Tiếp',
|
||||||
today: "Hôm nay",
|
today: 'Hôm nay',
|
||||||
month: "Tháng",
|
month: 'Tháng',
|
||||||
week: "Tuần",
|
week: 'Tuần',
|
||||||
day: "Ngày",
|
day: 'Ngày',
|
||||||
list: "Lịch biểu"
|
list: 'Lịch biểu',
|
||||||
},
|
},
|
||||||
weekText: "Tu",
|
weekText: 'Tu',
|
||||||
allDayText: "Cả ngày",
|
allDayText: 'Cả ngày',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "+ thêm " + n;
|
return '+ thêm ' + n
|
||||||
},
|
},
|
||||||
noEventsText: "Không có sự kiện để hiển thị"
|
noEventsText: 'Không có sự kiện để hiển thị',
|
||||||
};
|
};
|
||||||
|
|
||||||
return vi;
|
return vi;
|
||||||
|
|
|
@ -2,27 +2,27 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var zhCn = {
|
var zhCn = {
|
||||||
code: "zh-cn",
|
code: 'zh-cn',
|
||||||
week: {
|
week: {
|
||||||
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
|
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
|
||||||
dow: 1, // Monday is the first day of the week.
|
dow: 1, // Monday is the first day of the week.
|
||||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "上月",
|
prev: '上月',
|
||||||
next: "下月",
|
next: '下月',
|
||||||
today: "今天",
|
today: '今天',
|
||||||
month: "月",
|
month: '月',
|
||||||
week: "周",
|
week: '周',
|
||||||
day: "日",
|
day: '日',
|
||||||
list: "日程"
|
list: '日程',
|
||||||
},
|
},
|
||||||
weekText: "周",
|
weekText: '周',
|
||||||
allDayText: "全天",
|
allDayText: '全天',
|
||||||
moreLinkText: function(n) {
|
moreLinkText(n) {
|
||||||
return "另外 " + n + " 个";
|
return '另外 ' + n + ' 个'
|
||||||
},
|
},
|
||||||
noEventsText: "没有事件显示"
|
noEventsText: '没有事件显示',
|
||||||
};
|
};
|
||||||
|
|
||||||
return zhCn;
|
return zhCn;
|
||||||
|
|
|
@ -2,20 +2,20 @@ FullCalendar.globalLocales.push(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var zhTw = {
|
var zhTw = {
|
||||||
code: "zh-tw",
|
code: 'zh-tw',
|
||||||
buttonText: {
|
buttonText: {
|
||||||
prev: "上月",
|
prev: '上月',
|
||||||
next: "下月",
|
next: '下月',
|
||||||
today: "今天",
|
today: '今天',
|
||||||
month: "月",
|
month: '月',
|
||||||
week: "週",
|
week: '週',
|
||||||
day: "天",
|
day: '天',
|
||||||
list: "活動列表"
|
list: '活動列表',
|
||||||
},
|
},
|
||||||
weekText: "周",
|
weekText: '周',
|
||||||
allDayText: "整天",
|
allDayText: '整天',
|
||||||
moreLinkText: '顯示更多',
|
moreLinkText: '顯示更多',
|
||||||
noEventsText: "没有任何活動"
|
noEventsText: '没有任何活動',
|
||||||
};
|
};
|
||||||
|
|
||||||
return zhTw;
|
return zhTw;
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,179 @@
|
||||||
|
export default class Sparkline {
|
||||||
|
constructor(element, options = {}) {
|
||||||
|
this.element = element;
|
||||||
|
this.options = { ...Sparkline.options, ...options };
|
||||||
|
|
||||||
|
init: {
|
||||||
|
this.element.innerHTML = "<canvas></canvas>";
|
||||||
|
this.canvas = this.element.firstChild;
|
||||||
|
this.context = this.canvas.getContext("2d");
|
||||||
|
this.ratio = window.devicePixelRatio || 1;
|
||||||
|
|
||||||
|
if (this.options.tooltip) {
|
||||||
|
this.canvas.style.position = "relative";
|
||||||
|
this.canvas.addEventListener('mousemove', e => {
|
||||||
|
const x = e.offsetX || e.layerX || 0;
|
||||||
|
const delta = ((this.options.width - this.options.dotRadius * 2) / (this._points.length - 1));
|
||||||
|
const index = minmax(0, Math.round((x - this.options.dotRadius) / delta), this._points.length - 1);
|
||||||
|
|
||||||
|
this.canvas.title = this.options.tooltip(this._points[index], index, this._points);
|
||||||
|
}, false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
set points(points) {
|
||||||
|
this.draw(points);
|
||||||
|
}
|
||||||
|
|
||||||
|
get points() {
|
||||||
|
return this._points;
|
||||||
|
}
|
||||||
|
|
||||||
|
draw(points = []) {
|
||||||
|
this._points = points;
|
||||||
|
|
||||||
|
this.canvas.width = this.options.width * this.ratio;
|
||||||
|
this.canvas.style.width = `${this.options.width}px`;
|
||||||
|
|
||||||
|
const pxHeight = this.options.height || this.element.offsetHeight;
|
||||||
|
this.canvas.height = pxHeight * this.ratio;
|
||||||
|
this.canvas.style.height = `${pxHeight}px`;
|
||||||
|
|
||||||
|
const lineWidth = this.options.lineWidth * this.ratio;
|
||||||
|
const offsetX = Math.max(this.options.dotRadius * this.ratio, lineWidth / 2);
|
||||||
|
const offsetY = Math.max(this.options.dotRadius * this.ratio, lineWidth / 2);
|
||||||
|
const width = this.canvas.width - offsetX * 2;
|
||||||
|
const height = this.canvas.height - offsetY * 2;
|
||||||
|
|
||||||
|
const minValue = Math.min.apply(Math, points);
|
||||||
|
const maxValue = Math.max.apply(Math, points);
|
||||||
|
const bottomValue = this.options.minValue != undefined ? this.options.minValue : Math.min(minValue, this.options.maxMinValue != undefined ? this.options.maxMinValue : minValue);
|
||||||
|
const topValue = this.options.maxValue != undefined ? this.options.maxValue : Math.max(maxValue, this.options.minMaxValue != undefined ? this.options.minMaxValue : maxValue);
|
||||||
|
let minX = offsetX;
|
||||||
|
let maxX = offsetX;
|
||||||
|
|
||||||
|
let x = offsetX;
|
||||||
|
const y = index => (topValue === bottomValue)
|
||||||
|
? offsetY + height / 2
|
||||||
|
: (offsetY + height) - ((points[index] - bottomValue) / (topValue - bottomValue)) * height;
|
||||||
|
const delta = width / (points.length - 1);
|
||||||
|
|
||||||
|
const line = (style, x, y) => {
|
||||||
|
if (!style) return;
|
||||||
|
|
||||||
|
this.context.save();
|
||||||
|
this.context.strokeStyle = style.color || 'black';
|
||||||
|
this.context.lineWidth = (style.width || 1) * this.ratio;
|
||||||
|
this.context.globalAlpha = style.alpha || 1;
|
||||||
|
this.context.beginPath();
|
||||||
|
this.context.moveTo(style.direction != 'right' ? offsetX : x, y);
|
||||||
|
this.context.lineTo(style.direction != 'left' ? width + offsetX : x, y);
|
||||||
|
this.context.stroke();
|
||||||
|
this.context.restore();
|
||||||
|
}
|
||||||
|
|
||||||
|
const dot = (color, lineStyle, x, y) => {
|
||||||
|
this.context.beginPath();
|
||||||
|
this.context.fillStyle = color;
|
||||||
|
this.context.arc(x, y, this.options.dotRadius * this.ratio, 0, Math.PI * 2, false);
|
||||||
|
this.context.fill();
|
||||||
|
line(lineStyle, x, y);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.context.save();
|
||||||
|
|
||||||
|
this.context.strokeStyle = this.options.lineColor;
|
||||||
|
this.context.fillStyle = this.options.lineColor;
|
||||||
|
this.context.lineWidth = lineWidth;
|
||||||
|
this.context.lineCap = 'round';
|
||||||
|
this.context.lineJoin = 'round';
|
||||||
|
|
||||||
|
if (this.options.fillBelow && points.length > 1) {
|
||||||
|
this.context.save();
|
||||||
|
this.context.beginPath();
|
||||||
|
this.context.moveTo(x, y(0));
|
||||||
|
for (let i = 1; i < points.length; i++) {
|
||||||
|
x += delta;
|
||||||
|
|
||||||
|
minX = points[i] == minValue ? x : minX;
|
||||||
|
maxX = points[i] == maxValue ? x : maxX;
|
||||||
|
|
||||||
|
this.context.lineTo(x, y(i));
|
||||||
|
}
|
||||||
|
this.context.lineTo(width + offsetX, height + offsetY + lineWidth / 2);
|
||||||
|
this.context.lineTo(offsetX, height + offsetY + lineWidth / 2);
|
||||||
|
this.context.fill();
|
||||||
|
if (this.options.fillLighten > 0) {
|
||||||
|
this.context.fillStyle = 'white';
|
||||||
|
this.context.globalAlpha = this.options.fillLighten;
|
||||||
|
this.context.fill();
|
||||||
|
this.context.globalAlpha = 1;
|
||||||
|
} else if (this.options.fillLighten < 0) {
|
||||||
|
this.context.fillStyle = 'black';
|
||||||
|
this.context.globalAlpha = -this.options.fillLighten;
|
||||||
|
this.context.fill();
|
||||||
|
}
|
||||||
|
this.context.restore();
|
||||||
|
}
|
||||||
|
|
||||||
|
x = offsetX;
|
||||||
|
this.context.beginPath();
|
||||||
|
this.context.moveTo(x, y(0));
|
||||||
|
for (let i = 1; i < points.length; i++) {
|
||||||
|
x += delta;
|
||||||
|
this.context.lineTo(x, y(i));
|
||||||
|
}
|
||||||
|
this.context.stroke();
|
||||||
|
|
||||||
|
this.context.restore();
|
||||||
|
|
||||||
|
line(this.options.bottomLine, 0, offsetY);
|
||||||
|
line(this.options.topLine, 0, height + offsetY + lineWidth / 2);
|
||||||
|
|
||||||
|
dot(this.options.startColor, this.options.startLine, offsetX + (points.length == 1 ? width / 2 : 0), y(0));
|
||||||
|
dot(this.options.endColor, this.options.endLine, offsetX + (points.length == 1 ? width / 2 : width), y(points.length - 1));
|
||||||
|
dot(this.options.minColor, this.options.minLine, minX + (points.length == 1 ? width / 2 : 0), y(points.indexOf(minValue)));
|
||||||
|
dot(this.options.maxColor, this.options.maxLine, maxX + (points.length == 1 ? width / 2 : 0), y(points.indexOf(maxValue)));
|
||||||
|
}
|
||||||
|
|
||||||
|
static init(element, options) {
|
||||||
|
return new Sparkline(element, options);
|
||||||
|
}
|
||||||
|
|
||||||
|
static draw(element, points, options) {
|
||||||
|
const sparkline = new Sparkline(element, options);
|
||||||
|
sparkline.draw(points);
|
||||||
|
return sparkline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Sparkline.options = {
|
||||||
|
width: 100,
|
||||||
|
height: null,
|
||||||
|
lineColor: "black",
|
||||||
|
lineWidth: 1.5,
|
||||||
|
startColor: "transparent",
|
||||||
|
endColor: "black",
|
||||||
|
maxColor: "transparent",
|
||||||
|
minColor: "transparent",
|
||||||
|
minValue: null,
|
||||||
|
maxValue: null,
|
||||||
|
minMaxValue: null,
|
||||||
|
maxMinValue: null,
|
||||||
|
dotRadius: 2.5,
|
||||||
|
tooltip: null,
|
||||||
|
fillBelow: true,
|
||||||
|
fillLighten: 0.5,
|
||||||
|
startLine: false,
|
||||||
|
endLine: false,
|
||||||
|
minLine: false,
|
||||||
|
maxLine: false,
|
||||||
|
bottomLine: false,
|
||||||
|
topLine: false,
|
||||||
|
averageLine: false
|
||||||
|
};
|
||||||
|
|
||||||
|
function minmax(a, b, c) {
|
||||||
|
return Math.max(a, Math.min(b, c));
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* @sweetalert2/themes v4.0.0
|
* @sweetalert2/themes v4.0.1
|
||||||
* Released under the MIT License.
|
* Released under the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -89,13 +89,14 @@
|
||||||
flex-basis: auto !important;
|
flex-basis: auto !important;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
margin: 0 .3125em; }
|
margin: 0 .3125em;
|
||||||
|
padding: 0; }
|
||||||
.swal2-popup.swal2-toast .swal2-styled {
|
.swal2-popup.swal2-toast .swal2-styled {
|
||||||
margin: 0 .3125em;
|
margin: 0 .3125em;
|
||||||
padding: .3125em .625em;
|
padding: .3125em .625em;
|
||||||
font-size: 0.875rem; }
|
font-size: 0.875rem; }
|
||||||
.swal2-popup.swal2-toast .swal2-styled:focus {
|
.swal2-popup.swal2-toast .swal2-styled:focus {
|
||||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(50, 100, 150, 0.4); }
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(100, 150, 200, 0.5); }
|
||||||
.swal2-popup.swal2-toast .swal2-success {
|
.swal2-popup.swal2-toast .swal2-success {
|
||||||
border-color: #28a745; }
|
border-color: #28a745; }
|
||||||
.swal2-popup.swal2-toast .swal2-success [class^='swal2-success-circular-line'] {
|
.swal2-popup.swal2-toast .swal2-success [class^='swal2-success-circular-line'] {
|
||||||
|
@ -293,7 +294,7 @@
|
||||||
border-width: 0.25em;
|
border-width: 0.25em;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
border-color: #3085d6 transparent #3085d6 transparent; }
|
border-color: #2778c4 transparent #2778c4 transparent; }
|
||||||
|
|
||||||
.swal2-styled {
|
.swal2-styled {
|
||||||
margin: .3125em;
|
margin: .3125em;
|
||||||
|
@ -313,7 +314,7 @@
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 0.25em;
|
border-radius: 0.25em;
|
||||||
background: initial;
|
background: initial;
|
||||||
background-color: #dd6b55;
|
background-color: #d14529;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 1.0625em; }
|
font-size: 1.0625em; }
|
||||||
.swal2-styled.swal2-cancel {
|
.swal2-styled.swal2-cancel {
|
||||||
|
@ -325,7 +326,7 @@
|
||||||
font-size: 1.0625em; }
|
font-size: 1.0625em; }
|
||||||
.swal2-styled:focus {
|
.swal2-styled:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(50, 100, 150, 0.4); }
|
box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.5); }
|
||||||
.swal2-styled::-moz-focus-inner {
|
.swal2-styled::-moz-focus-inner {
|
||||||
border: 0; }
|
border: 0; }
|
||||||
|
|
||||||
|
@ -369,7 +370,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: color 0.1s ease-out;
|
transition: color 0.1s ease-out;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 5px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: rgba(0, 0, 0, 0.5);
|
color: rgba(0, 0, 0, 0.5);
|
||||||
font-family: serif;
|
font-family: serif;
|
||||||
|
@ -380,6 +381,9 @@
|
||||||
transform: none;
|
transform: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #000; }
|
color: #000; }
|
||||||
|
.swal2-close:focus {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: inset 0 0 0 3px rgba(100, 150, 200, 0.5); }
|
||||||
.swal2-close::-moz-focus-inner {
|
.swal2-close::-moz-focus-inner {
|
||||||
border: 0; }
|
border: 0; }
|
||||||
|
|
||||||
|
@ -425,7 +429,7 @@
|
||||||
.swal2-textarea:focus {
|
.swal2-textarea:focus {
|
||||||
border: 1px solid #b4dbed;
|
border: 1px solid #b4dbed;
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: 0 0 3px #c4e6f5; }
|
box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.5); }
|
||||||
.swal2-input::-moz-placeholder, .swal2-file::-moz-placeholder, .swal2-textarea::-moz-placeholder {
|
.swal2-input::-moz-placeholder, .swal2-file::-moz-placeholder, .swal2-textarea::-moz-placeholder {
|
||||||
color: #cccccc; }
|
color: #cccccc; }
|
||||||
.swal2-input:-ms-input-placeholder, .swal2-file:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder {
|
.swal2-input:-ms-input-placeholder, .swal2-file:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder {
|
||||||
|
@ -488,10 +492,16 @@
|
||||||
.swal2-checkbox input {
|
.swal2-checkbox input {
|
||||||
margin: 0 .4em; }
|
margin: 0 .4em; }
|
||||||
|
|
||||||
|
.swal2-input-label {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin: 1em auto; }
|
||||||
|
|
||||||
.swal2-validation-message {
|
.swal2-validation-message {
|
||||||
display: none;
|
display: none;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
margin: 0 -2.7em;
|
||||||
padding: 0.625em;
|
padding: 0.625em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
|
@ -634,7 +644,9 @@
|
||||||
animation: swal2-rotate-success-circular-line 4.25s ease-in; }
|
animation: swal2-rotate-success-circular-line 4.25s ease-in; }
|
||||||
|
|
||||||
.swal2-progress-steps {
|
.swal2-progress-steps {
|
||||||
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
max-width: 100%;
|
||||||
margin: 0 0 1.25em;
|
margin: 0 0 1.25em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: inherit;
|
background: inherit;
|
||||||
|
@ -644,15 +656,16 @@
|
||||||
position: relative; }
|
position: relative; }
|
||||||
.swal2-progress-steps .swal2-progress-step {
|
.swal2-progress-steps .swal2-progress-step {
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
|
flex-shrink: 0;
|
||||||
width: 2em;
|
width: 2em;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
border-radius: 2em;
|
border-radius: 2em;
|
||||||
background: #3085d6;
|
background: #2778c4;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
text-align: center; }
|
text-align: center; }
|
||||||
.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
|
.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
|
||||||
background: #3085d6; }
|
background: #2778c4; }
|
||||||
.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
|
.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
|
||||||
background: #add8e6;
|
background: #add8e6;
|
||||||
color: #fff; }
|
color: #fff; }
|
||||||
|
@ -660,10 +673,11 @@
|
||||||
background: #add8e6; }
|
background: #add8e6; }
|
||||||
.swal2-progress-steps .swal2-progress-step-line {
|
.swal2-progress-steps .swal2-progress-step-line {
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
flex-shrink: 0;
|
||||||
width: 2.5em;
|
width: 2.5em;
|
||||||
height: .4em;
|
height: .4em;
|
||||||
margin: 0 -1px;
|
margin: 0 -1px;
|
||||||
background: #3085d6; }
|
background: #2778c4; }
|
||||||
|
|
||||||
[class^='swal2'] {
|
[class^='swal2'] {
|
||||||
-webkit-tap-highlight-color: transparent; }
|
-webkit-tap-highlight-color: transparent; }
|
||||||
|
@ -706,10 +720,6 @@
|
||||||
.swal2-range output {
|
.swal2-range output {
|
||||||
display: none; } }
|
display: none; } }
|
||||||
|
|
||||||
@-moz-document url-prefix() {
|
|
||||||
.swal2-close:focus {
|
|
||||||
outline: 2px solid rgba(50, 100, 150, 0.4); } }
|
|
||||||
|
|
||||||
@-webkit-keyframes swal2-toast-show {
|
@-webkit-keyframes swal2-toast-show {
|
||||||
0% {
|
0% {
|
||||||
transform: translateY(-0.625em) rotateZ(2deg); }
|
transform: translateY(-0.625em) rotateZ(2deg); }
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -77,7 +77,7 @@
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
.swal2-popup.swal2-toast .swal2-styled:focus {
|
.swal2-popup.swal2-toast .swal2-styled:focus {
|
||||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(50, 100, 150, 0.4);
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(100, 150, 200, 0.5);
|
||||||
}
|
}
|
||||||
.swal2-popup.swal2-toast .swal2-success {
|
.swal2-popup.swal2-toast .swal2-success {
|
||||||
border-color: #a5dc86;
|
border-color: #a5dc86;
|
||||||
|
@ -253,7 +253,7 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 1.25em;
|
padding: 1.25em;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0.3125em;
|
border-radius: 5px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
@ -318,12 +318,12 @@
|
||||||
border-width: 0.25em;
|
border-width: 0.25em;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
border-color: #3085d6 transparent #3085d6 transparent;
|
border-color: #2778c4 transparent #2778c4 transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swal2-styled {
|
.swal2-styled {
|
||||||
margin: 0.3125em;
|
margin: 0.3125em;
|
||||||
padding: 0.625em 2em;
|
padding: 0.625em 1.1em;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
@ -334,7 +334,7 @@
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 0.25em;
|
border-radius: 0.25em;
|
||||||
background: initial;
|
background: initial;
|
||||||
background-color: #3085d6;
|
background-color: #2778c4;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 1.0625em;
|
font-size: 1.0625em;
|
||||||
}
|
}
|
||||||
|
@ -342,7 +342,7 @@
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 0.25em;
|
border-radius: 0.25em;
|
||||||
background: initial;
|
background: initial;
|
||||||
background-color: #dd6b55;
|
background-color: #d14529;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 1.0625em;
|
font-size: 1.0625em;
|
||||||
}
|
}
|
||||||
|
@ -350,13 +350,13 @@
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 0.25em;
|
border-radius: 0.25em;
|
||||||
background: initial;
|
background: initial;
|
||||||
background-color: #aaa;
|
background-color: #757575;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 1.0625em;
|
font-size: 1.0625em;
|
||||||
}
|
}
|
||||||
.swal2-styled:focus {
|
.swal2-styled:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(50, 100, 150, 0.4);
|
box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.5);
|
||||||
}
|
}
|
||||||
.swal2-styled::-moz-focus-inner {
|
.swal2-styled::-moz-focus-inner {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -378,8 +378,8 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 0.25em;
|
height: 0.25em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-bottom-right-radius: 0.3125em;
|
border-bottom-right-radius: 5px;
|
||||||
border-bottom-left-radius: 0.3125em;
|
border-bottom-left-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swal2-timer-progress-bar {
|
.swal2-timer-progress-bar {
|
||||||
|
@ -406,7 +406,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: color 0.1s ease-out;
|
transition: color 0.1s ease-out;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 5px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
font-family: serif;
|
font-family: serif;
|
||||||
|
@ -419,6 +419,10 @@
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #f27474;
|
color: #f27474;
|
||||||
}
|
}
|
||||||
|
.swal2-close:focus {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: inset 0 0 0 3px rgba(100, 150, 200, 0.5);
|
||||||
|
}
|
||||||
.swal2-close::-moz-focus-inner {
|
.swal2-close::-moz-focus-inner {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
@ -469,7 +473,7 @@
|
||||||
.swal2-textarea:focus {
|
.swal2-textarea:focus {
|
||||||
border: 1px solid #b4dbed;
|
border: 1px solid #b4dbed;
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: 0 0 3px #c4e6f5;
|
box-shadow: 0 0 0 3px rgba(100, 150, 200, 0.5);
|
||||||
}
|
}
|
||||||
.swal2-input::-moz-placeholder, .swal2-file::-moz-placeholder, .swal2-textarea::-moz-placeholder {
|
.swal2-input::-moz-placeholder, .swal2-file::-moz-placeholder, .swal2-textarea::-moz-placeholder {
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
|
@ -477,9 +481,6 @@
|
||||||
.swal2-input:-ms-input-placeholder, .swal2-file:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder {
|
.swal2-input:-ms-input-placeholder, .swal2-file:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder {
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
}
|
}
|
||||||
.swal2-input::-ms-input-placeholder, .swal2-file::-ms-input-placeholder, .swal2-textarea::-ms-input-placeholder {
|
|
||||||
color: #cccccc;
|
|
||||||
}
|
|
||||||
.swal2-input::placeholder,
|
.swal2-input::placeholder,
|
||||||
.swal2-file::placeholder,
|
.swal2-file::placeholder,
|
||||||
.swal2-textarea::placeholder {
|
.swal2-textarea::placeholder {
|
||||||
|
@ -551,10 +552,17 @@
|
||||||
margin: 0 0.4em;
|
margin: 0 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.swal2-input-label {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin: 1em auto;
|
||||||
|
}
|
||||||
|
|
||||||
.swal2-validation-message {
|
.swal2-validation-message {
|
||||||
display: none;
|
display: none;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
margin: 0 -2.7em;
|
||||||
padding: 0.625em;
|
padding: 0.625em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
|
@ -723,7 +731,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.swal2-progress-steps {
|
.swal2-progress-steps {
|
||||||
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
max-width: 100%;
|
||||||
margin: 0 0 1.25em;
|
margin: 0 0 1.25em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: inherit;
|
background: inherit;
|
||||||
|
@ -735,16 +745,17 @@
|
||||||
}
|
}
|
||||||
.swal2-progress-steps .swal2-progress-step {
|
.swal2-progress-steps .swal2-progress-step {
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
|
flex-shrink: 0;
|
||||||
width: 2em;
|
width: 2em;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
border-radius: 2em;
|
border-radius: 2em;
|
||||||
background: #3085d6;
|
background: #2778c4;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
|
.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
|
||||||
background: #3085d6;
|
background: #2778c4;
|
||||||
}
|
}
|
||||||
.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
|
.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
|
||||||
background: #add8e6;
|
background: #add8e6;
|
||||||
|
@ -755,10 +766,11 @@
|
||||||
}
|
}
|
||||||
.swal2-progress-steps .swal2-progress-step-line {
|
.swal2-progress-steps .swal2-progress-step-line {
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
flex-shrink: 0;
|
||||||
width: 2.5em;
|
width: 2.5em;
|
||||||
height: 0.4em;
|
height: 0.4em;
|
||||||
margin: 0 -1px;
|
margin: 0 -1px;
|
||||||
background: #3085d6;
|
background: #2778c4;
|
||||||
}
|
}
|
||||||
|
|
||||||
[class^=swal2] {
|
[class^=swal2] {
|
||||||
|
@ -812,11 +824,6 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@-moz-document url-prefix() {
|
|
||||||
.swal2-close:focus {
|
|
||||||
outline: 2px solid rgba(50, 100, 150, 0.4);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@-webkit-keyframes swal2-toast-show {
|
@-webkit-keyframes swal2-toast-show {
|
||||||
0% {
|
0% {
|
||||||
transform: translateY(-0.625em) rotateZ(2deg);
|
transform: translateY(-0.625em) rotateZ(2deg);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*!
|
/*!
|
||||||
* sweetalert2 v10.3.5
|
* sweetalert2 v10.10.2
|
||||||
* Released under the MIT License.
|
* Released under the MIT License.
|
||||||
*/
|
*/
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
|
@ -339,7 +339,7 @@
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
var swalClasses = prefix(['container', 'shown', 'height-auto', 'iosfix', 'popup', 'modal', 'no-backdrop', 'no-transition', 'toast', 'toast-shown', 'toast-column', 'show', 'hide', 'close', 'title', 'header', 'content', 'html-container', 'actions', 'confirm', 'deny', 'cancel', 'footer', 'icon', 'icon-content', 'image', 'input', 'file', 'range', 'select', 'radio', 'checkbox', 'label', 'textarea', 'inputerror', 'validation-message', 'progress-steps', 'active-progress-step', 'progress-step', 'progress-step-line', 'loader', 'loading', 'styled', 'top', 'top-start', 'top-end', 'top-left', 'top-right', 'center', 'center-start', 'center-end', 'center-left', 'center-right', 'bottom', 'bottom-start', 'bottom-end', 'bottom-left', 'bottom-right', 'grow-row', 'grow-column', 'grow-fullscreen', 'rtl', 'timer-progress-bar', 'timer-progress-bar-container', 'scrollbar-measure', 'icon-success', 'icon-warning', 'icon-info', 'icon-question', 'icon-error']);
|
var swalClasses = prefix(['container', 'shown', 'height-auto', 'iosfix', 'popup', 'modal', 'no-backdrop', 'no-transition', 'toast', 'toast-shown', 'toast-column', 'show', 'hide', 'close', 'title', 'header', 'content', 'html-container', 'actions', 'confirm', 'deny', 'cancel', 'footer', 'icon', 'icon-content', 'image', 'input', 'file', 'range', 'select', 'radio', 'checkbox', 'label', 'textarea', 'inputerror', 'input-label', 'validation-message', 'progress-steps', 'active-progress-step', 'progress-step', 'progress-step-line', 'loader', 'loading', 'styled', 'top', 'top-start', 'top-end', 'top-left', 'top-right', 'center', 'center-start', 'center-end', 'center-left', 'center-right', 'bottom', 'bottom-start', 'bottom-end', 'bottom-left', 'bottom-right', 'grow-row', 'grow-column', 'grow-fullscreen', 'rtl', 'timer-progress-bar', 'timer-progress-bar-container', 'scrollbar-measure', 'icon-success', 'icon-warning', 'icon-info', 'icon-question', 'icon-error']);
|
||||||
var iconTypes = prefix(['success', 'warning', 'info', 'question', 'error']);
|
var iconTypes = prefix(['success', 'warning', 'info', 'question', 'error']);
|
||||||
|
|
||||||
var getContainer = function getContainer() {
|
var getContainer = function getContainer() {
|
||||||
|
@ -391,6 +391,9 @@
|
||||||
var getDenyButton = function getDenyButton() {
|
var getDenyButton = function getDenyButton() {
|
||||||
return elementBySelector(".".concat(swalClasses.actions, " .").concat(swalClasses.deny));
|
return elementBySelector(".".concat(swalClasses.actions, " .").concat(swalClasses.deny));
|
||||||
};
|
};
|
||||||
|
var getInputLabel = function getInputLabel() {
|
||||||
|
return elementByClass(swalClasses['input-label']);
|
||||||
|
};
|
||||||
var getLoader = function getLoader() {
|
var getLoader = function getLoader() {
|
||||||
return elementBySelector(".".concat(swalClasses.loader));
|
return elementBySelector(".".concat(swalClasses.loader));
|
||||||
};
|
};
|
||||||
|
@ -565,6 +568,10 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var applyNumericalStyle = function applyNumericalStyle(elem, property, value) {
|
var applyNumericalStyle = function applyNumericalStyle(elem, property, value) {
|
||||||
|
if (value === "".concat(parseInt(value))) {
|
||||||
|
value = parseInt(value);
|
||||||
|
}
|
||||||
|
|
||||||
if (value || parseInt(value) === 0) {
|
if (value || parseInt(value) === 0) {
|
||||||
elem.style[property] = typeof value === 'number' ? "".concat(value, "px") : value;
|
elem.style[property] = typeof value === 'number' ? "".concat(value, "px") : value;
|
||||||
} else {
|
} else {
|
||||||
|
@ -592,8 +599,9 @@
|
||||||
var isVisible = function isVisible(elem) {
|
var isVisible = function isVisible(elem) {
|
||||||
return !!(elem && (elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length));
|
return !!(elem && (elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length));
|
||||||
};
|
};
|
||||||
/* istanbul ignore next */
|
var allButtonsAreHidden = function allButtonsAreHidden() {
|
||||||
|
return !isVisible(getConfirmButton()) && !isVisible(getDenyButton()) && !isVisible(getCancelButton());
|
||||||
|
};
|
||||||
var isScrollable = function isScrollable(elem) {
|
var isScrollable = function isScrollable(elem) {
|
||||||
return !!(elem.scrollHeight > elem.clientHeight);
|
return !!(elem.scrollHeight > elem.clientHeight);
|
||||||
}; // borrowed from https://stackoverflow.com/a/46352119
|
}; // borrowed from https://stackoverflow.com/a/46352119
|
||||||
|
@ -823,24 +831,25 @@
|
||||||
|
|
||||||
renderButton(confirmButton, 'confirm', params);
|
renderButton(confirmButton, 'confirm', params);
|
||||||
renderButton(denyButton, 'deny', params);
|
renderButton(denyButton, 'deny', params);
|
||||||
renderButton(cancelButton, 'cancel', params); // Loader
|
renderButton(cancelButton, 'cancel', params);
|
||||||
|
|
||||||
loader.innerHTML = params.loaderHtml;
|
|
||||||
|
|
||||||
if (params.buttonsStyling) {
|
|
||||||
handleButtonsStyling(confirmButton, denyButton, cancelButton, params);
|
handleButtonsStyling(confirmButton, denyButton, cancelButton, params);
|
||||||
} else {
|
|
||||||
removeClass([confirmButton, denyButton, cancelButton], swalClasses.styled);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (params.reverseButtons) {
|
if (params.reverseButtons) {
|
||||||
actions.insertBefore(cancelButton, loader);
|
actions.insertBefore(cancelButton, loader);
|
||||||
actions.insertBefore(denyButton, loader);
|
actions.insertBefore(denyButton, loader);
|
||||||
actions.insertBefore(confirmButton, loader);
|
actions.insertBefore(confirmButton, loader);
|
||||||
}
|
} // Loader
|
||||||
|
|
||||||
|
|
||||||
|
loader.innerHTML = params.loaderHtml;
|
||||||
|
applyCustomClass(loader, params, 'loader');
|
||||||
};
|
};
|
||||||
|
|
||||||
function handleButtonsStyling(confirmButton, denyButton, cancelButton, params) {
|
function handleButtonsStyling(confirmButton, denyButton, cancelButton, params) {
|
||||||
|
if (!params.buttonsStyling) {
|
||||||
|
return removeClass([confirmButton, denyButton, cancelButton], swalClasses.styled);
|
||||||
|
}
|
||||||
|
|
||||||
addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); // Buttons background colors
|
addClass([confirmButton, denyButton, cancelButton], swalClasses.styled); // Buttons background colors
|
||||||
|
|
||||||
if (params.confirmButtonColor) {
|
if (params.confirmButtonColor) {
|
||||||
|
@ -853,13 +862,6 @@
|
||||||
|
|
||||||
if (params.cancelButtonColor) {
|
if (params.cancelButtonColor) {
|
||||||
cancelButton.style.backgroundColor = params.cancelButtonColor;
|
cancelButton.style.backgroundColor = params.cancelButtonColor;
|
||||||
} // Loading state
|
|
||||||
|
|
||||||
|
|
||||||
if (!isLoading()) {
|
|
||||||
var confirmButtonBackgroundColor = window.getComputedStyle(confirmButton).getPropertyValue('background-color');
|
|
||||||
confirmButton.style.borderLeftColor = confirmButtonBackgroundColor;
|
|
||||||
confirmButton.style.borderRightColor = confirmButtonBackgroundColor;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1029,6 +1031,18 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var setInputLabel = function setInputLabel(input, prependTo, params) {
|
||||||
|
if (params.inputLabel) {
|
||||||
|
input.id = swalClasses.input;
|
||||||
|
var label = document.createElement('label');
|
||||||
|
var labelClass = swalClasses['input-label'];
|
||||||
|
label.setAttribute('for', input.id);
|
||||||
|
label.className = labelClass;
|
||||||
|
label.innerText = params.inputLabel;
|
||||||
|
prependTo.insertAdjacentElement('beforebegin', label);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
var getInputContainer = function getInputContainer(inputType) {
|
var getInputContainer = function getInputContainer(inputType) {
|
||||||
var inputClass = swalClasses[inputType] ? swalClasses[inputType] : swalClasses.input;
|
var inputClass = swalClasses[inputType] ? swalClasses[inputType] : swalClasses.input;
|
||||||
return getChildByClass(getContent(), inputClass);
|
return getChildByClass(getContent(), inputClass);
|
||||||
|
@ -1043,12 +1057,14 @@
|
||||||
warn("Unexpected type of inputValue! Expected \"string\", \"number\" or \"Promise\", got \"".concat(_typeof(params.inputValue), "\""));
|
warn("Unexpected type of inputValue! Expected \"string\", \"number\" or \"Promise\", got \"".concat(_typeof(params.inputValue), "\""));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setInputLabel(input, input, params);
|
||||||
setInputPlaceholder(input, params);
|
setInputPlaceholder(input, params);
|
||||||
input.type = params.input;
|
input.type = params.input;
|
||||||
return input;
|
return input;
|
||||||
};
|
};
|
||||||
|
|
||||||
renderInputType.file = function (input, params) {
|
renderInputType.file = function (input, params) {
|
||||||
|
setInputLabel(input, input, params);
|
||||||
setInputPlaceholder(input, params);
|
setInputPlaceholder(input, params);
|
||||||
return input;
|
return input;
|
||||||
};
|
};
|
||||||
|
@ -1059,6 +1075,7 @@
|
||||||
rangeInput.value = params.inputValue;
|
rangeInput.value = params.inputValue;
|
||||||
rangeInput.type = params.input;
|
rangeInput.type = params.input;
|
||||||
rangeOutput.value = params.inputValue;
|
rangeOutput.value = params.inputValue;
|
||||||
|
setInputLabel(rangeInput, range, params);
|
||||||
return range;
|
return range;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1074,6 +1091,7 @@
|
||||||
select.appendChild(placeholder);
|
select.appendChild(placeholder);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setInputLabel(select, select, params);
|
||||||
return select;
|
return select;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1095,6 +1113,7 @@
|
||||||
renderInputType.textarea = function (textarea, params) {
|
renderInputType.textarea = function (textarea, params) {
|
||||||
textarea.value = params.inputValue;
|
textarea.value = params.inputValue;
|
||||||
setInputPlaceholder(textarea, params);
|
setInputPlaceholder(textarea, params);
|
||||||
|
setInputLabel(textarea, textarea, params);
|
||||||
|
|
||||||
if ('MutationObserver' in window) {
|
if ('MutationObserver' in window) {
|
||||||
// #1699
|
// #1699
|
||||||
|
@ -1554,10 +1573,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show spinner instead of Confirm button
|
* Shows loader (spinner), this is useful with AJAX requests.
|
||||||
|
* By default the loader be shown instead of the "Confirm" button.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var showLoading = function showLoading() {
|
var showLoading = function showLoading(buttonToReplace) {
|
||||||
var popup = getPopup();
|
var popup = getPopup();
|
||||||
|
|
||||||
if (!popup) {
|
if (!popup) {
|
||||||
|
@ -1566,10 +1586,20 @@
|
||||||
|
|
||||||
popup = getPopup();
|
popup = getPopup();
|
||||||
var actions = getActions();
|
var actions = getActions();
|
||||||
var confirmButton = getConfirmButton();
|
|
||||||
var loader = getLoader();
|
var loader = getLoader();
|
||||||
|
|
||||||
|
if (!buttonToReplace && isVisible(getConfirmButton())) {
|
||||||
|
buttonToReplace = getConfirmButton();
|
||||||
|
}
|
||||||
|
|
||||||
show(actions);
|
show(actions);
|
||||||
hide(confirmButton);
|
|
||||||
|
if (buttonToReplace) {
|
||||||
|
hide(buttonToReplace);
|
||||||
|
loader.setAttribute('data-button-to-replace', buttonToReplace.className);
|
||||||
|
}
|
||||||
|
|
||||||
|
loader.parentNode.insertBefore(loader, buttonToReplace);
|
||||||
addClass([popup, actions], swalClasses.loading);
|
addClass([popup, actions], swalClasses.loading);
|
||||||
show(loader);
|
show(loader);
|
||||||
popup.setAttribute('data-loading', true);
|
popup.setAttribute('data-loading', true);
|
||||||
|
@ -1705,6 +1735,7 @@
|
||||||
showDenyButton: false,
|
showDenyButton: false,
|
||||||
showCancelButton: false,
|
showCancelButton: false,
|
||||||
preConfirm: undefined,
|
preConfirm: undefined,
|
||||||
|
preDeny: undefined,
|
||||||
confirmButtonText: 'OK',
|
confirmButtonText: 'OK',
|
||||||
confirmButtonAriaLabel: '',
|
confirmButtonAriaLabel: '',
|
||||||
confirmButtonColor: undefined,
|
confirmButtonColor: undefined,
|
||||||
|
@ -1735,11 +1766,13 @@
|
||||||
background: undefined,
|
background: undefined,
|
||||||
input: undefined,
|
input: undefined,
|
||||||
inputPlaceholder: '',
|
inputPlaceholder: '',
|
||||||
|
inputLabel: '',
|
||||||
inputValue: '',
|
inputValue: '',
|
||||||
inputOptions: {},
|
inputOptions: {},
|
||||||
inputAutoTrim: true,
|
inputAutoTrim: true,
|
||||||
inputAttributes: {},
|
inputAttributes: {},
|
||||||
inputValidator: undefined,
|
inputValidator: undefined,
|
||||||
|
returnInputValueOnDeny: false,
|
||||||
validationMessage: undefined,
|
validationMessage: undefined,
|
||||||
grow: false,
|
grow: false,
|
||||||
position: 'center',
|
position: 'center',
|
||||||
|
@ -1851,11 +1884,13 @@
|
||||||
getImage: getImage,
|
getImage: getImage,
|
||||||
getIcon: getIcon,
|
getIcon: getIcon,
|
||||||
getIcons: getIcons,
|
getIcons: getIcons,
|
||||||
|
getInputLabel: getInputLabel,
|
||||||
getCloseButton: getCloseButton,
|
getCloseButton: getCloseButton,
|
||||||
getActions: getActions,
|
getActions: getActions,
|
||||||
getConfirmButton: getConfirmButton,
|
getConfirmButton: getConfirmButton,
|
||||||
getDenyButton: getDenyButton,
|
getDenyButton: getDenyButton,
|
||||||
getCancelButton: getCancelButton,
|
getCancelButton: getCancelButton,
|
||||||
|
getLoader: getLoader,
|
||||||
getHeader: getHeader,
|
getHeader: getHeader,
|
||||||
getFooter: getFooter,
|
getFooter: getFooter,
|
||||||
getTimerProgressBar: getTimerProgressBar,
|
getTimerProgressBar: getTimerProgressBar,
|
||||||
|
@ -1879,7 +1914,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables buttons and hide loader.
|
* Hides loader and shows back the button which was hidden by .showLoading()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function hideLoading() {
|
function hideLoading() {
|
||||||
|
@ -1892,10 +1927,11 @@
|
||||||
|
|
||||||
var domCache = privateProps.domCache.get(this);
|
var domCache = privateProps.domCache.get(this);
|
||||||
hide(domCache.loader);
|
hide(domCache.loader);
|
||||||
|
var buttonToReplace = domCache.popup.getElementsByClassName(domCache.loader.getAttribute('data-button-to-replace'));
|
||||||
|
|
||||||
if (innerParams.showConfirmButton) {
|
if (buttonToReplace.length) {
|
||||||
show(domCache.confirmButton);
|
show(buttonToReplace[0], 'inline-block');
|
||||||
} else if (!innerParams.showConfirmButton && !innerParams.showCancelButton) {
|
} else if (allButtonsAreHidden()) {
|
||||||
hide(domCache.actions);
|
hide(domCache.actions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1970,7 +2006,7 @@
|
||||||
var preventTouchMove;
|
var preventTouchMove;
|
||||||
|
|
||||||
container.ontouchstart = function (e) {
|
container.ontouchstart = function (e) {
|
||||||
preventTouchMove = shouldPreventTouchMove(e.target);
|
preventTouchMove = shouldPreventTouchMove(e);
|
||||||
};
|
};
|
||||||
|
|
||||||
container.ontouchmove = function (e) {
|
container.ontouchmove = function (e) {
|
||||||
|
@ -1981,9 +2017,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
var shouldPreventTouchMove = function shouldPreventTouchMove(target) {
|
var shouldPreventTouchMove = function shouldPreventTouchMove(event) {
|
||||||
|
var target = event.target;
|
||||||
var container = getContainer();
|
var container = getContainer();
|
||||||
|
|
||||||
|
if (isStylys(event) || isZoom(event)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (target === container) {
|
if (target === container) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1997,6 +2038,16 @@
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var isStylys = function isStylys(event) {
|
||||||
|
// #1786
|
||||||
|
return event.touches && event.touches.length && event.touches[0].touchType === 'stylus';
|
||||||
|
};
|
||||||
|
|
||||||
|
var isZoom = function isZoom(event) {
|
||||||
|
// #1891
|
||||||
|
return event.touches && event.touches.length > 1;
|
||||||
|
};
|
||||||
|
|
||||||
var undoIOSfix = function undoIOSfix() {
|
var undoIOSfix = function undoIOSfix() {
|
||||||
if (hasClass(document.body, swalClasses.iosfix)) {
|
if (hasClass(document.body, swalClasses.iosfix)) {
|
||||||
var offset = parseInt(document.body.style.top, 10);
|
var offset = parseInt(document.body.style.top, 10);
|
||||||
|
@ -2240,10 +2291,14 @@
|
||||||
|
|
||||||
function showValidationMessage(error) {
|
function showValidationMessage(error) {
|
||||||
var domCache = privateProps.domCache.get(this);
|
var domCache = privateProps.domCache.get(this);
|
||||||
|
var params = privateProps.innerParams.get(this);
|
||||||
setInnerHtml(domCache.validationMessage, error);
|
setInnerHtml(domCache.validationMessage, error);
|
||||||
var popupComputedStyle = window.getComputedStyle(domCache.popup);
|
domCache.validationMessage.className = swalClasses['validation-message'];
|
||||||
domCache.validationMessage.style.marginLeft = "-".concat(popupComputedStyle.getPropertyValue('padding-left'));
|
|
||||||
domCache.validationMessage.style.marginRight = "-".concat(popupComputedStyle.getPropertyValue('padding-right'));
|
if (params.customClass && params.customClass.validationMessage) {
|
||||||
|
addClass(domCache.validationMessage, params.customClass.validationMessage);
|
||||||
|
}
|
||||||
|
|
||||||
show(domCache.validationMessage);
|
show(domCache.validationMessage);
|
||||||
var input = this.getInput();
|
var input = this.getInput();
|
||||||
|
|
||||||
|
@ -2692,25 +2747,43 @@
|
||||||
instance.disableButtons();
|
instance.disableButtons();
|
||||||
|
|
||||||
if (innerParams.input) {
|
if (innerParams.input) {
|
||||||
handleConfirmWithInput(instance, innerParams);
|
handleConfirmOrDenyWithInput(instance, innerParams, 'confirm');
|
||||||
} else {
|
} else {
|
||||||
confirm(instance, innerParams, true);
|
confirm(instance, innerParams, true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var handleDenyButtonClick = function handleDenyButtonClick(instance) {
|
var handleDenyButtonClick = function handleDenyButtonClick(instance, innerParams) {
|
||||||
instance.disableButtons(); // here we could add preDeny in future, if needed
|
instance.disableButtons();
|
||||||
|
|
||||||
deny(instance);
|
if (innerParams.returnInputValueOnDeny) {
|
||||||
|
handleConfirmOrDenyWithInput(instance, innerParams, 'deny');
|
||||||
|
} else {
|
||||||
|
deny(instance, innerParams, false);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
var handleCancelButtonClick = function handleCancelButtonClick(instance, dismissWith) {
|
var handleCancelButtonClick = function handleCancelButtonClick(instance, dismissWith) {
|
||||||
instance.disableButtons();
|
instance.disableButtons();
|
||||||
dismissWith(DismissReason.cancel);
|
dismissWith(DismissReason.cancel);
|
||||||
};
|
};
|
||||||
|
|
||||||
var handleConfirmWithInput = function handleConfirmWithInput(instance, innerParams) {
|
var handleConfirmOrDenyWithInput = function handleConfirmOrDenyWithInput(instance, innerParams, type
|
||||||
|
/* type is either 'confirm' or 'deny' */
|
||||||
|
) {
|
||||||
var inputValue = getInputValue(instance, innerParams);
|
var inputValue = getInputValue(instance, innerParams);
|
||||||
|
|
||||||
if (innerParams.inputValidator) {
|
if (innerParams.inputValidator) {
|
||||||
|
handleInputValidator(instance, innerParams, inputValue);
|
||||||
|
} else if (!instance.getInput().checkValidity()) {
|
||||||
|
instance.enableButtons();
|
||||||
|
instance.showValidationMessage(innerParams.validationMessage);
|
||||||
|
} else if (type === 'deny') {
|
||||||
|
deny(instance, innerParams, inputValue);
|
||||||
|
} else {
|
||||||
|
confirm(instance, innerParams, inputValue);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
var handleInputValidator = function handleInputValidator(instance, innerParams, inputValue) {
|
||||||
instance.disableInput();
|
instance.disableInput();
|
||||||
var validationPromise = Promise.resolve().then(function () {
|
var validationPromise = Promise.resolve().then(function () {
|
||||||
return asPromise(innerParams.inputValidator(inputValue, innerParams.validationMessage));
|
return asPromise(innerParams.inputValidator(inputValue, innerParams.validationMessage));
|
||||||
|
@ -2725,19 +2798,29 @@
|
||||||
confirm(instance, innerParams, inputValue);
|
confirm(instance, innerParams, inputValue);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else if (!instance.getInput().checkValidity()) {
|
|
||||||
instance.enableButtons();
|
|
||||||
instance.showValidationMessage(innerParams.validationMessage);
|
|
||||||
} else {
|
|
||||||
confirm(instance, innerParams, inputValue);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var deny = function deny(instance) {
|
var deny = function deny(instance, innerParams, value) {
|
||||||
|
if (innerParams.preDeny) {
|
||||||
|
var preDenyPromise = Promise.resolve().then(function () {
|
||||||
|
return asPromise(innerParams.preDeny(value, innerParams.validationMessage));
|
||||||
|
});
|
||||||
|
preDenyPromise.then(function (preDenyValue) {
|
||||||
|
if (preDenyValue === false) {
|
||||||
|
instance.hideLoading();
|
||||||
|
} else {
|
||||||
instance.closePopup({
|
instance.closePopup({
|
||||||
isDenied: true,
|
isDenied: true,
|
||||||
value: false
|
value: typeof preDenyValue === 'undefined' ? value : preDenyValue
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
instance.closePopup({
|
||||||
|
isDenied: true,
|
||||||
|
value: value
|
||||||
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var succeedWith = function succeedWith(instance, value) {
|
var succeedWith = function succeedWith(instance, value) {
|
||||||
|
@ -3032,7 +3115,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
domCache.denyButton.onclick = function () {
|
domCache.denyButton.onclick = function () {
|
||||||
return handleDenyButtonClick(instance);
|
return handleDenyButtonClick(instance, innerParams);
|
||||||
};
|
};
|
||||||
|
|
||||||
domCache.cancelButton.onclick = function () {
|
domCache.cancelButton.onclick = function () {
|
||||||
|
@ -3320,7 +3403,7 @@
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
SweetAlert.DismissReason = DismissReason;
|
SweetAlert.DismissReason = DismissReason;
|
||||||
SweetAlert.version = '10.3.5';
|
SweetAlert.version = '10.10.2';
|
||||||
|
|
||||||
var Swal = SweetAlert;
|
var Swal = SweetAlert;
|
||||||
Swal["default"] = Swal;
|
Swal["default"] = Swal;
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,10 +1,10 @@
|
||||||
/*@preserve
|
/*!@preserve
|
||||||
* Tempus Dominus Bootstrap4 v5.1.2 (https://tempusdominus.github.io/bootstrap-4/)
|
* Tempus Dominus Bootstrap4 v5.39.0 (https://tempusdominus.github.io/bootstrap-4/)
|
||||||
* Copyright 2016-2018 Jonathan Peterson
|
* Copyright 2016-2020 Jonathan Peterson and contributors
|
||||||
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.sr-only, .bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after, .bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after, .bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after, .bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after, .bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after, .bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after, .bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after, .bootstrap-datetimepicker-widget .btn[data-action="clear"]::after, .bootstrap-datetimepicker-widget .btn[data-action="today"]::after, .bootstrap-datetimepicker-widget .picker-switch::after, .bootstrap-datetimepicker-widget table th.prev::after, .bootstrap-datetimepicker-widget table th.next::after {
|
.sr-only, .bootstrap-datetimepicker-widget table th.next::after, .bootstrap-datetimepicker-widget table th.prev::after, .bootstrap-datetimepicker-widget .picker-switch::after, .bootstrap-datetimepicker-widget .btn[data-action=today]::after, .bootstrap-datetimepicker-widget .btn[data-action=clear]::after, .bootstrap-datetimepicker-widget .btn[data-action=togglePeriod]::after, .bootstrap-datetimepicker-widget .btn[data-action=showMinutes]::after, .bootstrap-datetimepicker-widget .btn[data-action=showHours]::after, .bootstrap-datetimepicker-widget .btn[data-action=decrementMinutes]::after, .bootstrap-datetimepicker-widget .btn[data-action=decrementHours]::after, .bootstrap-datetimepicker-widget .btn[data-action=incrementMinutes]::after, .bootstrap-datetimepicker-widget .btn[data-action=incrementHours]::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
|
@ -12,154 +12,246 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
clip: rect(0, 0, 0, 0);
|
clip: rect(0, 0, 0, 0);
|
||||||
border: 0; }
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.tempusdominus-bootstrap-datetimepicker-widget-day-click,
|
||||||
|
body.tempusdominus-bootstrap-datetimepicker-widget-day-click * {
|
||||||
|
cursor: pointer !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.tempusdominus-bootstrap-datetimepicker-widget-day-click {
|
||||||
|
position: relative !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tempusdominus-bootstrap-datetimepicker-widget-day-click-glass-panel {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 999999999999;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
cursor: pointer !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bootstrap-datetimepicker-widget .datepicker-days tbody td {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
.bootstrap-datetimepicker-widget {
|
.bootstrap-datetimepicker-widget {
|
||||||
list-style: none; }
|
list-style: none;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu {
|
.bootstrap-datetimepicker-widget.dropdown-menu {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 2px 0;
|
margin: 2px 0;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
width: 14rem; }
|
width: 14rem;
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget.dropdown-menu.tempusdominus-bootstrap-datetimepicker-widget-with-feather-icons {
|
||||||
|
width: 16rem;
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget.dropdown-menu.tempusdominus-bootstrap-datetimepicker-widget-with-calendar-weeks {
|
||||||
|
width: 16rem;
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget.dropdown-menu.tempusdominus-bootstrap-datetimepicker-widget-with-calendar-weeks.tempusdominus-bootstrap-datetimepicker-widget-with-feather-icons {
|
||||||
|
width: 17rem;
|
||||||
|
}
|
||||||
@media (min-width: 576px) {
|
@media (min-width: 576px) {
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
||||||
width: 38em; } }
|
width: 38em;
|
||||||
|
}
|
||||||
|
}
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
||||||
width: 38em; } }
|
width: 38em;
|
||||||
|
}
|
||||||
|
}
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
||||||
width: 38em; } }
|
width: 38em;
|
||||||
|
}
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu:before, .bootstrap-datetimepicker-widget.dropdown-menu:after {
|
.bootstrap-datetimepicker-widget.dropdown-menu:before, .bootstrap-datetimepicker-widget.dropdown-menu:after {
|
||||||
content: '';
|
content: "";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute; }
|
position: absolute;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
|
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
|
||||||
border-left: 7px solid transparent;
|
border-left: 7px solid transparent;
|
||||||
border-right: 7px solid transparent;
|
border-right: 7px solid transparent;
|
||||||
border-bottom: 7px solid #ccc;
|
border-bottom: 7px solid #ccc;
|
||||||
border-bottom-color: rgba(0, 0, 0, 0.2);
|
border-bottom-color: rgba(0, 0, 0, 0.2);
|
||||||
top: -7px;
|
top: -7px;
|
||||||
left: 7px; }
|
left: 7px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
|
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
|
||||||
border-left: 6px solid transparent;
|
border-left: 6px solid transparent;
|
||||||
border-right: 6px solid transparent;
|
border-right: 6px solid transparent;
|
||||||
border-bottom: 6px solid white;
|
border-bottom: 6px solid white;
|
||||||
top: -6px;
|
top: -6px;
|
||||||
left: 8px; }
|
left: 8px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.top:before {
|
.bootstrap-datetimepicker-widget.dropdown-menu.top:before {
|
||||||
border-left: 7px solid transparent;
|
border-left: 7px solid transparent;
|
||||||
border-right: 7px solid transparent;
|
border-right: 7px solid transparent;
|
||||||
border-top: 7px solid #ccc;
|
border-top: 7px solid #ccc;
|
||||||
border-top-color: rgba(0, 0, 0, 0.2);
|
border-top-color: rgba(0, 0, 0, 0.2);
|
||||||
bottom: -7px;
|
bottom: -7px;
|
||||||
left: 6px; }
|
left: 6px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.top:after {
|
.bootstrap-datetimepicker-widget.dropdown-menu.top:after {
|
||||||
border-left: 6px solid transparent;
|
border-left: 6px solid transparent;
|
||||||
border-right: 6px solid transparent;
|
border-right: 6px solid transparent;
|
||||||
border-top: 6px solid white;
|
border-top: 6px solid white;
|
||||||
bottom: -6px;
|
bottom: -6px;
|
||||||
left: 7px; }
|
left: 7px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.float-right:before {
|
.bootstrap-datetimepicker-widget.dropdown-menu.float-right:before {
|
||||||
left: auto;
|
left: auto;
|
||||||
right: 6px; }
|
right: 6px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.float-right:after {
|
.bootstrap-datetimepicker-widget.dropdown-menu.float-right:after {
|
||||||
left: auto;
|
left: auto;
|
||||||
right: 7px; }
|
right: 7px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.dropdown-menu.wider {
|
.bootstrap-datetimepicker-widget.dropdown-menu.wider {
|
||||||
width: 16rem; }
|
width: 16rem;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget .list-unstyled {
|
.bootstrap-datetimepicker-widget .list-unstyled {
|
||||||
margin: 0; }
|
margin: 0;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget a[data-action] {
|
.bootstrap-datetimepicker-widget a[data-action] {
|
||||||
padding: 6px 0; }
|
padding: 6px 0;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget a[data-action]:active {
|
.bootstrap-datetimepicker-widget a[data-action]:active {
|
||||||
box-shadow: none; }
|
box-shadow: none;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget .timepicker-hour, .bootstrap-datetimepicker-widget .timepicker-minute, .bootstrap-datetimepicker-widget .timepicker-second {
|
.bootstrap-datetimepicker-widget .timepicker-hour, .bootstrap-datetimepicker-widget .timepicker-minute, .bootstrap-datetimepicker-widget .timepicker-second {
|
||||||
width: 54px;
|
width: 54px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
margin: 0; }
|
margin: 0;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget button[data-action] {
|
.bootstrap-datetimepicker-widget button[data-action] {
|
||||||
padding: 6px; }
|
padding: 6px;
|
||||||
.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after {
|
}
|
||||||
content: "Increment Hours"; }
|
.bootstrap-datetimepicker-widget .btn[data-action=togglePeriod] {
|
||||||
.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after {
|
text-align: center;
|
||||||
content: "Increment Minutes"; }
|
font-family: Arial, sans-serif, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after {
|
width: 38px;
|
||||||
content: "Decrement Hours"; }
|
height: 38px;
|
||||||
.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after {
|
}
|
||||||
content: "Decrement Minutes"; }
|
.bootstrap-datetimepicker-widget .btn[data-action=incrementHours]::after {
|
||||||
.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after {
|
content: "Increment Hours";
|
||||||
content: "Show Hours"; }
|
}
|
||||||
.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after {
|
.bootstrap-datetimepicker-widget .btn[data-action=incrementMinutes]::after {
|
||||||
content: "Show Minutes"; }
|
content: "Increment Minutes";
|
||||||
.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after {
|
}
|
||||||
content: "Toggle AM/PM"; }
|
.bootstrap-datetimepicker-widget .btn[data-action=decrementHours]::after {
|
||||||
.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after {
|
content: "Decrement Hours";
|
||||||
content: "Clear the picker"; }
|
}
|
||||||
.bootstrap-datetimepicker-widget .btn[data-action="today"]::after {
|
.bootstrap-datetimepicker-widget .btn[data-action=decrementMinutes]::after {
|
||||||
content: "Set the date to today"; }
|
content: "Decrement Minutes";
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget .btn[data-action=showHours]::after {
|
||||||
|
content: "Show Hours";
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget .btn[data-action=showMinutes]::after {
|
||||||
|
content: "Show Minutes";
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget .btn[data-action=togglePeriod]::after {
|
||||||
|
content: "Toggle AM/PM";
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget .btn[data-action=clear]::after {
|
||||||
|
content: "Clear the picker";
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget .btn[data-action=today]::after {
|
||||||
|
content: "Set the date to today";
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget .picker-switch {
|
.bootstrap-datetimepicker-widget .picker-switch {
|
||||||
text-align: center; }
|
text-align: center;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget .picker-switch::after {
|
.bootstrap-datetimepicker-widget .picker-switch::after {
|
||||||
content: "Toggle Date and Time Screens"; }
|
content: "Toggle Date and Time Screens";
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget .picker-switch td {
|
.bootstrap-datetimepicker-widget .picker-switch td {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: auto;
|
height: auto;
|
||||||
width: auto;
|
width: auto;
|
||||||
line-height: inherit; }
|
line-height: inherit;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget .picker-switch td span {
|
.bootstrap-datetimepicker-widget .picker-switch td span {
|
||||||
line-height: 2.5;
|
line-height: 2.5;
|
||||||
height: 2.5em;
|
height: 2.5em;
|
||||||
width: 100%; }
|
width: 100%;
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget .picker-switch.picker-switch-with-feathers-icons td span {
|
||||||
|
line-height: 2.8;
|
||||||
|
height: 2.8em;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table {
|
.bootstrap-datetimepicker-widget table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0; }
|
margin: 0;
|
||||||
.bootstrap-datetimepicker-widget table td,
|
}
|
||||||
.bootstrap-datetimepicker-widget table th {
|
.bootstrap-datetimepicker-widget table td, .bootstrap-datetimepicker-widget table th {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 0.25rem; }
|
border-radius: 0.25rem;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table th {
|
.bootstrap-datetimepicker-widget table th {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
width: 20px; }
|
width: 20px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table th.picker-switch {
|
.bootstrap-datetimepicker-widget table th.picker-switch {
|
||||||
width: 145px; }
|
width: 145px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table th.disabled, .bootstrap-datetimepicker-widget table th.disabled:hover {
|
.bootstrap-datetimepicker-widget table th.disabled, .bootstrap-datetimepicker-widget table th.disabled:hover {
|
||||||
background: none;
|
background: none;
|
||||||
color: #6c757d;
|
color: #6c757d;
|
||||||
cursor: not-allowed; }
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table th.prev::after {
|
.bootstrap-datetimepicker-widget table th.prev::after {
|
||||||
content: "Previous Month"; }
|
content: "Previous Month";
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table th.next::after {
|
.bootstrap-datetimepicker-widget table th.next::after {
|
||||||
content: "Next Month"; }
|
content: "Next Month";
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table thead tr:first-child th {
|
.bootstrap-datetimepicker-widget table thead tr:first-child th {
|
||||||
cursor: pointer; }
|
cursor: pointer;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
|
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
|
||||||
background: #e9ecef; }
|
background: #e9ecef;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td {
|
.bootstrap-datetimepicker-widget table td {
|
||||||
height: 54px;
|
height: 54px;
|
||||||
line-height: 54px;
|
line-height: 54px;
|
||||||
width: 54px; }
|
width: 54px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td.cw {
|
.bootstrap-datetimepicker-widget table td.cw {
|
||||||
font-size: .8em;
|
font-size: 0.8em;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: #6c757d; }
|
color: #6c757d;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td.day {
|
.bootstrap-datetimepicker-widget table td.day {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
width: 20px; }
|
width: 20px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td.day:hover, .bootstrap-datetimepicker-widget table td.hour:hover, .bootstrap-datetimepicker-widget table td.minute:hover, .bootstrap-datetimepicker-widget table td.second:hover {
|
.bootstrap-datetimepicker-widget table td.day:hover, .bootstrap-datetimepicker-widget table td.hour:hover, .bootstrap-datetimepicker-widget table td.minute:hover, .bootstrap-datetimepicker-widget table td.second:hover {
|
||||||
background: #e9ecef;
|
background: #e9ecef;
|
||||||
cursor: pointer; }
|
cursor: pointer;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td.old, .bootstrap-datetimepicker-widget table td.new {
|
.bootstrap-datetimepicker-widget table td.old, .bootstrap-datetimepicker-widget table td.new {
|
||||||
color: #6c757d; }
|
color: #6c757d;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td.today {
|
.bootstrap-datetimepicker-widget table td.today {
|
||||||
position: relative; }
|
position: relative;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td.today:before {
|
.bootstrap-datetimepicker-widget table td.today:before {
|
||||||
content: '';
|
content: "";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: solid transparent;
|
border: solid transparent;
|
||||||
border-width: 0 0 7px 7px;
|
border-width: 0 0 7px 7px;
|
||||||
|
@ -167,40 +259,74 @@
|
||||||
border-top-color: rgba(0, 0, 0, 0.2);
|
border-top-color: rgba(0, 0, 0, 0.2);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 4px;
|
bottom: 4px;
|
||||||
right: 4px; }
|
right: 4px;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
|
.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
|
||||||
background-color: #007bff;
|
background-color: #007bff;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); }
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td.active.today:before {
|
.bootstrap-datetimepicker-widget table td.active.today:before {
|
||||||
border-bottom-color: #fff; }
|
border-bottom-color: #fff;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td.disabled, .bootstrap-datetimepicker-widget table td.disabled:hover {
|
.bootstrap-datetimepicker-widget table td.disabled, .bootstrap-datetimepicker-widget table td.disabled:hover {
|
||||||
background: none;
|
background: none;
|
||||||
color: #6c757d;
|
color: #6c757d;
|
||||||
cursor: not-allowed; }
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td span {
|
.bootstrap-datetimepicker-widget table td span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 54px;
|
width: 54px;
|
||||||
height: 54px;
|
height: 54px;
|
||||||
line-height: 54px;
|
line-height: 54px;
|
||||||
margin: 2px 1.5px;
|
margin-top: 2px;
|
||||||
|
margin-bottom: 2px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 0.25rem; }
|
border-radius: 0.25rem;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td span:hover {
|
.bootstrap-datetimepicker-widget table td span:hover {
|
||||||
background: #e9ecef; }
|
background: #e9ecef;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td span.active {
|
.bootstrap-datetimepicker-widget table td span.active {
|
||||||
background-color: #007bff;
|
background-color: #007bff;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); }
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td span.old {
|
.bootstrap-datetimepicker-widget table td span.old {
|
||||||
color: #6c757d; }
|
color: #6c757d;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget table td span.disabled, .bootstrap-datetimepicker-widget table td span.disabled:hover {
|
.bootstrap-datetimepicker-widget table td span.disabled, .bootstrap-datetimepicker-widget table td span.disabled:hover {
|
||||||
background: none;
|
background: none;
|
||||||
color: #6c757d;
|
color: #6c757d;
|
||||||
cursor: not-allowed; }
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
.bootstrap-datetimepicker-widget.usetwentyfour td.hour {
|
.bootstrap-datetimepicker-widget.usetwentyfour td.hour {
|
||||||
height: 27px;
|
height: 27px;
|
||||||
line-height: 27px; }
|
line-height: 27px;
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget .timepicker .timepicker-picker a.btn {
|
||||||
|
color: #007bff;
|
||||||
|
color: var(--blue, #007bff);
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget .timepicker .timepicker-picker a.btn:hover {
|
||||||
|
color: #0056b3;
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.day, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.hour, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.minute, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.second,
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementHours], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementMinutes], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementSeconds],
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementHours], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementMinutes], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementSeconds],
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showHours], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showMinutes], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showSeconds],
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=togglePeriod] {
|
||||||
|
pointer-events: none;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.day:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.hour:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.minute:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.second:hover,
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementHours]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementMinutes]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementSeconds]:hover,
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementHours]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementMinutes]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementSeconds]:hover,
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showHours]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showMinutes]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showSeconds]:hover,
|
||||||
|
.bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=togglePeriod]:hover {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
.input-group [data-toggle="datetimepicker"] {
|
.input-group [data-toggle=datetimepicker] {
|
||||||
cursor: pointer; }
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue