jsgantt-improved
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -282,4 +282,5 @@ "use strict"; | ||
if (vTmpCell.children[0] && vTmpCell.children[0].children && vTmpCell.children[0].children[0]) { | ||
var selectInputOrButton = ['SELECT', 'INPUT', 'BUTTON'].filter(function (k) { return k === vTmpCell.children[0].children[0].tagName; }); | ||
if (selectInputOrButton && selectInputOrButton.length > 0) { | ||
var tagName = vTmpCell.children[0].children[0].tagName; | ||
var selectInputOrButton = tagName === 'SELECT' || tagName === 'INPUT' || tagName === 'BUTTON'; | ||
if (selectInputOrButton) { | ||
exports.addListener(event, function (e) { | ||
@@ -286,0 +287,0 @@ if (callback) { |
@@ -872,2 +872,76 @@ "use strict"; | ||
exports.ja = ja; | ||
var cs = { | ||
'format': 'Zobrazení', | ||
'hour': 'Hodina', | ||
'day': 'Den', | ||
'week': 'Týden', | ||
'month': 'Měsíc', | ||
'quarter': 'Kvartál', | ||
'hours': 'Hodiny', | ||
'days': 'Dni', | ||
'weeks': 'Týdny', | ||
'months': 'Měsíce', | ||
'quarters': 'Kvartály', | ||
'hr': 'Ho', | ||
'dy': 'Den', | ||
'wk': 'Tyd', | ||
'mth': 'Měs', | ||
'qtr': 'Kvar', | ||
'hrs': 'Ho', | ||
'dys': 'Dni', | ||
'wks': 'Tyd', | ||
'mths': 'Měs', | ||
'qtrs': 'Kvar', | ||
'resource': 'Přiřazeno', | ||
'duration': 'Trvání', | ||
'comp': '% Hotovo', | ||
'completion': 'Hotovo', | ||
'startdate': 'Start', | ||
'planstartdate': 'Plánovaný start', | ||
'enddate': 'Konec', | ||
'planenddate': 'Plánovaný konec', | ||
'cost': 'Náklady', | ||
'moreinfo': 'Více informací', | ||
'notes': 'Poznámky', | ||
'january': 'Leden', | ||
'february': 'Únor', | ||
'march': 'Březen', | ||
'april': 'Duben', | ||
'maylong': 'Květen', | ||
'june': 'Červen', | ||
'july': 'Červenec', | ||
'august': 'Srpen', | ||
'september': 'Září', | ||
'october': 'Říjen', | ||
'november': 'Listopad', | ||
'december': 'Prosinec', | ||
'jan': 'Led', | ||
'feb': 'Úno', | ||
'mar': 'Bře', | ||
'apr': 'Dub', | ||
'may': 'Kvě', | ||
'jun': 'Čer', | ||
'jul': 'Čvc', | ||
'aug': 'Srp', | ||
'sep': 'Zář', | ||
'oct': 'Říj', | ||
'nov': 'Lis', | ||
'dec': 'Pro', | ||
'sunday': 'Neděle', | ||
'monday': 'Pondělí', | ||
'tuesday': 'Úterý', | ||
'wednesday': 'Středa', | ||
'thursday': 'Čtvrtek', | ||
'friday': 'Pátek', | ||
'saturday': 'Sobota', | ||
'sun': 'Ne', | ||
'mon': 'Po', | ||
'tue': 'Út', | ||
'wed': 'St', | ||
'thu': 'Čt', | ||
'fri': 'Pa', | ||
'sat': 'So', | ||
'tooltipLoading': 'Nahrávám...' | ||
}; | ||
exports.cs = cs; | ||
//# sourceMappingURL=lang.js.map |
@@ -17,12 +17,6 @@ let dataurl; | ||
let vColumnOrder; | ||
if(document.querySelector('#vColumnOrder').value){ | ||
if (document.querySelector('#vColumnOrder').value) { | ||
vColumnOrder = document.querySelector('#vColumnOrder').value.split(',') | ||
} | ||
// Parameters (pID, pName, pStart, pEnd, pStyle, pLink (unused) pLink: pMilpMile: e, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGantt) | ||
if (dataurl !== newDataurl) { | ||
dataurl = newDataurl; | ||
jsonObj = JSGantt.parseJSON(dataurl, g, vDebug); | ||
} else { | ||
JSGantt.addJSONTask(g, jsonObj) | ||
} | ||
const vScrollTo = 'today'; // or new Date() or a Date object with a specific date | ||
@@ -156,2 +150,11 @@ | ||
// Parameters (pID, pName, pStart, pEnd, pStyle, pLink (unused) pLink: pMilpMile: e, pRes, pComp, pGroup, pParent, pOpen, pDepend, pCaption, pNotes, pGantt) | ||
if (dataurl !== newDataurl) { | ||
dataurl = newDataurl; | ||
JSGantt.parseJSON(dataurl, g, vDebug) | ||
.then(j => jsonObj = j); | ||
} else { | ||
JSGantt.addJSONTask(g, jsonObj) | ||
} | ||
if (vDebug) { | ||
@@ -158,0 +161,0 @@ bd = new Date(); |
{ | ||
"name": "jsgantt-improved", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "jsgantt-improved", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -303,4 +303,5 @@ import { | ||
if (vTmpCell.children[0] && vTmpCell.children[0].children && vTmpCell.children[0].children[0]) { | ||
const selectInputOrButton = ['SELECT', 'INPUT', 'BUTTON'].filter(k => k === vTmpCell.children[0].children[0].tagName); | ||
if (selectInputOrButton && selectInputOrButton.length > 0) { | ||
const tagName = vTmpCell.children[0].children[0].tagName; | ||
const selectInputOrButton = tagName === 'SELECT' || tagName === 'INPUT' || tagName === 'BUTTON'; | ||
if (selectInputOrButton) { | ||
addListener(event, function (e) { | ||
@@ -307,0 +308,0 @@ if (callback) { |
@@ -876,3 +876,76 @@ const es = { | ||
const cs = { | ||
'format': 'Zobrazení', | ||
'hour': 'Hodina', | ||
'day': 'Den', | ||
'week': 'Týden', | ||
'month': 'Měsíc', | ||
'quarter': 'Kvartál', | ||
'hours': 'Hodiny', | ||
'days': 'Dni', | ||
'weeks': 'Týdny', | ||
'months': 'Měsíce', | ||
'quarters': 'Kvartály', | ||
'hr': 'Ho', | ||
'dy': 'Den', | ||
'wk': 'Tyd', | ||
'mth': 'Měs', | ||
'qtr': 'Kvar', | ||
'hrs': 'Ho', | ||
'dys': 'Dni', | ||
'wks': 'Tyd', | ||
'mths': 'Měs', | ||
'qtrs': 'Kvar', | ||
'resource': 'Přiřazeno', | ||
'duration': 'Trvání', | ||
'comp': '% Hotovo', | ||
'completion': 'Hotovo', | ||
'startdate': 'Start', | ||
'planstartdate': 'Plánovaný start', | ||
'enddate': 'Konec', | ||
'planenddate': 'Plánovaný konec', | ||
'cost': 'Náklady', | ||
'moreinfo': 'Více informací', | ||
'notes': 'Poznámky', | ||
'january': 'Leden', | ||
'february': 'Únor', | ||
'march': 'Březen', | ||
'april': 'Duben', | ||
'maylong': 'Květen', | ||
'june': 'Červen', | ||
'july': 'Červenec', | ||
'august': 'Srpen', | ||
'september': 'Září', | ||
'october': 'Říjen', | ||
'november': 'Listopad', | ||
'december': 'Prosinec', | ||
'jan': 'Led', | ||
'feb': 'Úno', | ||
'mar': 'Bře', | ||
'apr': 'Dub', | ||
'may': 'Kvě', | ||
'jun': 'Čer', | ||
'jul': 'Čvc', | ||
'aug': 'Srp', | ||
'sep': 'Zář', | ||
'oct': 'Říj', | ||
'nov': 'Lis', | ||
'dec': 'Pro', | ||
'sunday': 'Neděle', | ||
'monday': 'Pondělí', | ||
'tuesday': 'Úterý', | ||
'wednesday': 'Středa', | ||
'thursday': 'Čtvrtek', | ||
'friday': 'Pátek', | ||
'saturday': 'Sobota', | ||
'sun': 'Ne', | ||
'mon': 'Po', | ||
'tue': 'Út', | ||
'wed': 'St', | ||
'thu': 'Čt', | ||
'fri': 'Pa', | ||
'sat': 'So', | ||
'tooltipLoading': 'Nahrávám...' | ||
} | ||
export { en, es, de, pt, fr, ru, cn, sv, nl, id, tr, ja } | ||
export { en, es, de, pt, fr, ru, cn, sv, nl, id, tr, ja, cs } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5352646
124270