@diagrammo/dgmo 0.7.1 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +165 -165
- package/dist/index.cjs +231 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +231 -72
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/d3.ts +2 -0
- package/src/gantt/parser.ts +5 -0
- package/src/gantt/renderer.ts +353 -87
- package/src/gantt/types.ts +4 -0
- package/src/initiative-status/renderer.ts +41 -9
package/dist/index.d.cts
CHANGED
|
@@ -1947,6 +1947,7 @@ interface GanttEra {
|
|
|
1947
1947
|
endDate: string;
|
|
1948
1948
|
label: string;
|
|
1949
1949
|
color: string | null;
|
|
1950
|
+
lineNumber: number;
|
|
1950
1951
|
}
|
|
1951
1952
|
interface GanttMarker {
|
|
1952
1953
|
date: string;
|
|
@@ -1964,6 +1965,9 @@ interface GanttOptions {
|
|
|
1964
1965
|
dependencies: boolean;
|
|
1965
1966
|
sort: 'default' | 'tag';
|
|
1966
1967
|
defaultSwimlaneGroup: string | null;
|
|
1968
|
+
/** Line numbers for option/block keywords — maps key to source line */
|
|
1969
|
+
optionLineNumbers: Record<string, number>;
|
|
1970
|
+
holidaysLineNumber: number | null;
|
|
1967
1971
|
}
|
|
1968
1972
|
interface ParsedGantt {
|
|
1969
1973
|
nodes: GanttNode[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1947,6 +1947,7 @@ interface GanttEra {
|
|
|
1947
1947
|
endDate: string;
|
|
1948
1948
|
label: string;
|
|
1949
1949
|
color: string | null;
|
|
1950
|
+
lineNumber: number;
|
|
1950
1951
|
}
|
|
1951
1952
|
interface GanttMarker {
|
|
1952
1953
|
date: string;
|
|
@@ -1964,6 +1965,9 @@ interface GanttOptions {
|
|
|
1964
1965
|
dependencies: boolean;
|
|
1965
1966
|
sort: 'default' | 'tag';
|
|
1966
1967
|
defaultSwimlaneGroup: string | null;
|
|
1968
|
+
/** Line numbers for option/block keywords — maps key to source line */
|
|
1969
|
+
optionLineNumbers: Record<string, number>;
|
|
1970
|
+
holidaysLineNumber: number | null;
|
|
1967
1971
|
}
|
|
1968
1972
|
interface ParsedGantt {
|
|
1969
1973
|
nodes: GanttNode[];
|