Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
gantt-schedule-timeline-calendar
Advanced tools
Gantt, Schedule, Timeline, Calendar components all in one!
gantt-schedule-timeline-calendar is all-in-one component that you can use in different scenarios.
You can use it in react, vue, angular or svelte projects.
You can use it as schedule for reservation system. You can use it for organizing events. You can use it as gantt chart. Or you can use it as calendar for different purposes.
gantt-schedule-timeline-calendar is very extensible and elastic. You can make your own plugins or modify configuration in couple of ways to achieve your goals. You can control almost everything. You can change html structure, stylize every html element and even override original components without any compilation stage!
npm i gantt-schedule-timeline-calendar
// GENERATE OR FETCH SOME DATA
const iterations = 1000;
const rows = {};
for (let i = 0; i < iterations; i++) {
const withParent = i > 0 && i % 2 === 0;
const id = i.toString();
let startDayjs = GSTC.api
.date()
.startOf('day')
.add(i - iterations / 2, 'days');
rows[id] = {
id,
label: 'row id ' + i,
progress: 50,
time: {
start: startDayjs.valueOf(),
end: startDayjs
.clone()
.add(4, 'days')
.valueOf()
},
parentId: withParent ? (i - 1).toString() : undefined,
expanded: false
};
}
const items = {};
for (let i = 0; i < iterations; i++) {
const id = i.toString();
let startDayjs = GSTC.api
.date()
.startOf('day')
.add(i - iterations / 2, 'days');
items[id] = {
id,
label: 'item id ' + i,
time: {
start: startDayjs.valueOf(),
end: startDayjs
.clone()
.add(4, 'days')
.valueOf()
},
progress: 50,
rowId: id
};
}
// CONFIGURE COLUMNS VISIBLE ON THE LEFT
const columns = {
percent: 100,
resizer: {
inRealTime: true
},
data: {
id: {
id: 'id',
data: 'id',
width: 50,
header: {
content: 'ID'
}
},
label: {
id: 'label',
data: 'label',
expander: true,
isHtml: true,
width: 230,
header: {
content: 'Label'
}
},
start: {
id: 'start',
data(row) {
return GSTC.api.date(row.time.start).format('YYYY-MM-DD');
},
width: 100,
header: {
content: 'Start'
}
},
due: {
id: 'due',
data(row) {
return GSTC.api.date(row.time.end).format('YYYY-MM-DD');
},
width: 100,
header: {
content: 'Due'
}
},
progress: {
id: 'progress',
data: 'progress',
width: 30,
header: {
content: '%'
}
}
}
};
// MAKE CONFIGURATION OUT OF IT
const config = {
height: 40 * 12 + 94,
list: {
rows,
columns,
expander: {
padding: 31
}
},
chart: {
items,
time: {
period: 'day'
}
},
classNames: {},
actions: {},
locale: {
name: 'pl',
weekdays: 'Niedziela_Poniedziałek_Wtorek_Środa_Czwartek_Piątek_Sobota'.split('_'),
weekdaysShort: 'Ndz_Pon_Wt_Śr_Czw_Pt_Sob'.split('_'),
weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
months: 'Styczeń_Luty_Marzec_Kwiecień_Maj_Czerwiec_Lipiec_Sierpień_Wrzesień_Październik_Listopad_Grudzień'.split(
'_'
),
monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
weekStart: 1
}
};
// CREATE COMPONENT STATE FROM CONFIGURATION AND MOUNT IT !
let GSTCState = GSTC.api.stateFromConfig(config);
const app = GSTC({
element: document.getElementById('app'),
state: GSTCState
});
FAQs
Gantt, Schedule, Timeline, Calendar components all in one. [gantt, timeline, schedule, scheduler, calendar, booking, gantt chart, reservation, javascript gantt, javascript timeline, javascript schedule, javascript scheduler, javascript calendar, javascrip
We found that gantt-schedule-timeline-calendar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.