This commit is contained in:
parent
4b35583782
commit
e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions
106
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.d.ts
vendored
Normal file
106
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.d.ts
vendored
Normal file
|
@ -0,0 +1,106 @@
|
|||
export function clear(): void;
|
||||
export function setAxisFormat(txt: any): void;
|
||||
export function getAxisFormat(): string;
|
||||
export function setTickInterval(txt: any): void;
|
||||
export function getTickInterval(): any;
|
||||
export function setTodayMarker(txt: any): void;
|
||||
export function getTodayMarker(): string;
|
||||
export function setDateFormat(txt: any): void;
|
||||
export function enableInclusiveEndDates(): void;
|
||||
export function endDatesAreInclusive(): boolean;
|
||||
export function enableTopAxis(): void;
|
||||
export function topAxisEnabled(): boolean;
|
||||
export function setDisplayMode(txt: any): void;
|
||||
export function getDisplayMode(): string;
|
||||
export function getDateFormat(): string;
|
||||
export function setIncludes(txt: any): void;
|
||||
export function getIncludes(): any[];
|
||||
export function setExcludes(txt: any): void;
|
||||
export function getExcludes(): any[];
|
||||
export function getLinks(): {};
|
||||
export function addSection(txt: any): void;
|
||||
export function getSections(): any[];
|
||||
export function getTasks(): any[];
|
||||
export function isInvalidDate(date: any, dateFormat: any, excludes: any, includes: any): any;
|
||||
export function setWeekday(txt: any): void;
|
||||
export function getWeekday(): string;
|
||||
export function addTask(descr: any, data: any): void;
|
||||
export function findTaskById(id: any): any;
|
||||
export function addTaskOrg(descr: any, data: any): void;
|
||||
export function setLink(ids: any, _linkStr: any): void;
|
||||
export function setClass(ids: any, className: any): void;
|
||||
export function setClickEvent(ids: any, functionName: any, functionArgs: any): void;
|
||||
export function bindFunctions(element: any): void;
|
||||
declare namespace _default {
|
||||
export function getConfig(): import("../../config.type.js").GanttDiagramConfig | undefined;
|
||||
export { clear };
|
||||
export { setDateFormat };
|
||||
export { getDateFormat };
|
||||
export { enableInclusiveEndDates };
|
||||
export { endDatesAreInclusive };
|
||||
export { enableTopAxis };
|
||||
export { topAxisEnabled };
|
||||
export { setAxisFormat };
|
||||
export { getAxisFormat };
|
||||
export { setTickInterval };
|
||||
export { getTickInterval };
|
||||
export { setTodayMarker };
|
||||
export { getTodayMarker };
|
||||
export { setAccTitle };
|
||||
export { getAccTitle };
|
||||
export { setDiagramTitle };
|
||||
export { getDiagramTitle };
|
||||
export { setDisplayMode };
|
||||
export { getDisplayMode };
|
||||
export { setAccDescription };
|
||||
export { getAccDescription };
|
||||
export { addSection };
|
||||
export { getSections };
|
||||
export { getTasks };
|
||||
export { addTask };
|
||||
export { findTaskById };
|
||||
export { addTaskOrg };
|
||||
export { setIncludes };
|
||||
export { getIncludes };
|
||||
export { setExcludes };
|
||||
export { getExcludes };
|
||||
export { setClickEvent };
|
||||
export { setLink };
|
||||
export { getLinks };
|
||||
export { bindFunctions };
|
||||
export { parseDuration };
|
||||
export { isInvalidDate };
|
||||
export { setWeekday };
|
||||
export { getWeekday };
|
||||
}
|
||||
export default _default;
|
||||
import { setAccTitle } from '../common/commonDb.js';
|
||||
import { getAccTitle } from '../common/commonDb.js';
|
||||
import { setDiagramTitle } from '../common/commonDb.js';
|
||||
import { getDiagramTitle } from '../common/commonDb.js';
|
||||
import { setAccDescription } from '../common/commonDb.js';
|
||||
import { getAccDescription } from '../common/commonDb.js';
|
||||
/**
|
||||
* Parse a string into the args for `dayjs.add()`.
|
||||
*
|
||||
* The string have to be compound by a value and a shorthand duration unit. For example `5d`
|
||||
* represents 5 days.
|
||||
*
|
||||
* Please be aware that 1 day may be 23 or 25 hours, if the user lives in an area
|
||||
* that has daylight savings time (or even 23.5/24.5 hours in Lord Howe Island!)
|
||||
*
|
||||
* Shorthand unit supported are:
|
||||
*
|
||||
* - `y` for years
|
||||
* - `M` for months
|
||||
* - `w` for weeks
|
||||
* - `d` for days
|
||||
* - `h` for hours
|
||||
* - `s` for seconds
|
||||
* - `ms` for milliseconds
|
||||
*
|
||||
* @param {string} str - A string representing the duration.
|
||||
* @returns {[value: number, unit: dayjs.ManipulateType]} Arguments to pass to `dayjs.add()`
|
||||
*/
|
||||
declare function parseDuration(str: string): [value: number, unit: dayjs.ManipulateType];
|
||||
import dayjs from 'dayjs';
|
1
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.spec.d.ts
vendored
Normal file
1
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDb.spec.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
3
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDetector.d.ts
vendored
Normal file
3
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDetector.d.ts
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
import type { ExternalDiagramDefinition } from '../../diagram-api/types.js';
|
||||
declare const plugin: ExternalDiagramDefinition;
|
||||
export default plugin;
|
2
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDiagram.d.ts
vendored
Normal file
2
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttDiagram.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
import type { DiagramDefinition } from '../../diagram-api/types.js';
|
||||
export declare const diagram: DiagramDefinition;
|
7
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttRenderer.d.ts
vendored
Normal file
7
themes/blowfish/assets/lib/mermaid/diagrams/gantt/ganttRenderer.d.ts
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
export function setConf(): void;
|
||||
export function draw(text: any, id: any, version: any, diagObj: any): void;
|
||||
declare namespace _default {
|
||||
export { setConf };
|
||||
export { draw };
|
||||
}
|
||||
export default _default;
|
2
themes/blowfish/assets/lib/mermaid/diagrams/gantt/styles.d.ts
vendored
Normal file
2
themes/blowfish/assets/lib/mermaid/diagrams/gantt/styles.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
export default getStyles;
|
||||
declare function getStyles(options: any): string;
|
Loading…
Add table
Add a link
Reference in a new issue