UNPKG

jsgantt-improved-prime

Version:
91 lines (90 loc) 4.95 kB
"use strict"; /* * Copyright (c) 2013-2018, Paul Geldart, Eduardo Rodrigues, Ricardo Cardoso and Mario Mol. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of AUTHORS nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL AUTHORS BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This project is based on jsGantt 1.2, (which can be obtained from https://code.google.com/p/jsgantt/) and remains under the original BSD license. Copyright (c) 2009, Shlomy Gantz BlueBrick Inc. */ Object.defineProperty(exports, "__esModule", { value: true }); var events_1 = require("./events"); var general_utils_1 = require("./utils/general_utils"); var xml_1 = require("./xml"); var task_1 = require("./task"); var draw_1 = require("./draw"); var json_1 = require("./json"); var date_utils_1 = require("./utils/date_utils"); if (!exports.JSGantt) exports.JSGantt = {}; exports.JSGantt.isIE = general_utils_1.isIE; exports.JSGantt.TaskItem = task_1.TaskItem; exports.JSGantt.GanttChart = draw_1.GanttChart; exports.JSGantt.updateFlyingObj = general_utils_1.updateFlyingObj; exports.JSGantt.showToolTip = events_1.showToolTip; exports.JSGantt.stripIds = general_utils_1.stripIds; exports.JSGantt.stripUnwanted = general_utils_1.stripUnwanted; exports.JSGantt.delayedHide = general_utils_1.delayedHide; exports.JSGantt.hideToolTip = general_utils_1.hideToolTip; exports.JSGantt.fadeToolTip = general_utils_1.fadeToolTip; exports.JSGantt.moveToolTip = general_utils_1.moveToolTip; exports.JSGantt.getZoomFactor = general_utils_1.getZoomFactor; exports.JSGantt.getOffset = general_utils_1.getOffset; exports.JSGantt.getScrollPositions = general_utils_1.getScrollPositions; exports.JSGantt.processRows = task_1.processRows; exports.JSGantt.sortTasks = task_1.sortTasks; // Used to determine the minimum date of all tasks and set lower bound based on format exports.JSGantt.getMinDate = date_utils_1.getMinDate; // Used to determine the maximum date of all tasks and set upper bound based on format exports.JSGantt.getMaxDate = date_utils_1.getMaxDate; // This function finds the document id of the specified object exports.JSGantt.findObj = general_utils_1.findObj; exports.JSGantt.changeFormat = general_utils_1.changeFormat; // Tasks exports.JSGantt.folder = events_1.folder; exports.JSGantt.hide = events_1.hide; exports.JSGantt.show = events_1.show; exports.JSGantt.taskLink = task_1.taskLink; exports.JSGantt.parseDateStr = date_utils_1.parseDateStr; exports.JSGantt.formatDateStr = date_utils_1.formatDateStr; exports.JSGantt.parseDateFormatStr = date_utils_1.parseDateFormatStr; // XML exports.JSGantt.parseXML = xml_1.parseXML; exports.JSGantt.parseXMLString = xml_1.parseXMLString; exports.JSGantt.findXMLNode = xml_1.findXMLNode; exports.JSGantt.getXMLNodeValue = xml_1.getXMLNodeValue; exports.JSGantt.AddXMLTask = xml_1.AddXMLTask; // JSON exports.JSGantt.parseJSON = json_1.parseJSON; exports.JSGantt.parseJSONString = json_1.parseJSONString; exports.JSGantt.addJSONTask = json_1.addJSONTask; exports.JSGantt.benchMark = general_utils_1.benchMark; exports.JSGantt.getIsoWeek = date_utils_1.getIsoWeek; exports.JSGantt.addListener = events_1.addListener; exports.JSGantt.addTooltipListeners = events_1.addTooltipListeners; exports.JSGantt.addThisRowListeners = events_1.addThisRowListeners; exports.JSGantt.addFolderListeners = events_1.addFolderListeners; exports.JSGantt.addFormatListeners = events_1.addFormatListeners; exports.JSGantt.addScrollListeners = events_1.addScrollListeners; exports.JSGantt.criticalPath = general_utils_1.criticalPath; //# sourceMappingURL=jsgantt.js.map