@elaraai/east-ui 0.0.1-beta.0 → 0.0.1-beta.2
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/README.md +106 -0
- package/dist/src/collections/gantt/index.d.ts +17950 -0
- package/dist/src/collections/gantt/index.d.ts.map +1 -0
- package/dist/src/collections/gantt/index.js +295 -0
- package/dist/src/collections/gantt/index.js.map +1 -0
- package/dist/src/collections/gantt/types.d.ts +195 -0
- package/dist/src/collections/gantt/types.d.ts.map +1 -0
- package/dist/src/collections/gantt/types.js +90 -0
- package/dist/src/collections/gantt/types.js.map +1 -0
- package/dist/src/collections/index.d.ts +1 -0
- package/dist/src/collections/index.d.ts.map +1 -1
- package/dist/src/collections/index.js +1 -0
- package/dist/src/collections/index.js.map +1 -1
- package/dist/src/collections/table/index.d.ts +7476 -207
- package/dist/src/collections/table/index.d.ts.map +1 -1
- package/dist/src/collections/table/index.js +54 -20
- package/dist/src/collections/table/index.js.map +1 -1
- package/dist/src/collections/table/types.d.ts +33 -1
- package/dist/src/collections/table/types.d.ts.map +1 -1
- package/dist/src/collections/table/types.js +23 -1
- package/dist/src/collections/table/types.js.map +1 -1
- package/dist/src/component.d.ts +123 -1
- package/dist/src/component.d.ts.map +1 -1
- package/dist/src/component.js +18 -3
- package/dist/src/component.js.map +1 -1
- package/dist/src/container/card/index.d.ts +246 -2
- package/dist/src/container/card/index.d.ts.map +1 -1
- package/dist/src/disclosure/accordion/index.d.ts +492 -4
- package/dist/src/disclosure/accordion/index.d.ts.map +1 -1
- package/dist/src/disclosure/carousel/index.d.ts +246 -2
- package/dist/src/disclosure/carousel/index.d.ts.map +1 -1
- package/dist/src/disclosure/tabs/index.d.ts +492 -4
- package/dist/src/disclosure/tabs/index.d.ts.map +1 -1
- package/dist/src/forms/field/index.d.ts +246 -2
- package/dist/src/forms/field/index.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/layout/box/index.d.ts +246 -2
- package/dist/src/layout/box/index.d.ts.map +1 -1
- package/dist/src/layout/grid/index.d.ts +492 -4
- package/dist/src/layout/grid/index.d.ts.map +1 -1
- package/dist/src/layout/splitter/index.d.ts +492 -4
- package/dist/src/layout/splitter/index.d.ts.map +1 -1
- package/dist/src/layout/stack/index.d.ts +246 -2
- package/dist/src/layout/stack/index.d.ts.map +1 -1
- package/dist/src/overlays/dialog/index.d.ts +492 -4
- package/dist/src/overlays/dialog/index.d.ts.map +1 -1
- package/dist/src/overlays/drawer/index.d.ts +492 -4
- package/dist/src/overlays/drawer/index.d.ts.map +1 -1
- package/dist/src/overlays/hover-card/index.d.ts +492 -4
- package/dist/src/overlays/hover-card/index.d.ts.map +1 -1
- package/dist/src/overlays/menu/index.d.ts +246 -2
- package/dist/src/overlays/menu/index.d.ts.map +1 -1
- package/dist/src/overlays/popover/index.d.ts +492 -4
- package/dist/src/overlays/popover/index.d.ts.map +1 -1
- package/dist/src/overlays/toggle-tip/index.d.ts +246 -2
- package/dist/src/overlays/toggle-tip/index.d.ts.map +1 -1
- package/dist/src/overlays/tooltip/index.d.ts +246 -2
- package/dist/src/overlays/tooltip/index.d.ts.map +1 -1
- package/dist/src/style.d.ts +118 -0
- package/dist/src/style.d.ts.map +1 -1
- package/dist/src/style.js +109 -0
- package/dist/src/style.js.map +1 -1
- package/dist/src/typography/index.d.ts +17 -0
- package/dist/src/typography/index.d.ts.map +1 -1
- package/dist/src/typography/index.js +19 -1
- package/dist/src/typography/index.js.map +1 -1
- package/dist/src/typography/types.d.ts +26 -3
- package/dist/src/typography/types.d.ts.map +1 -1
- package/dist/src/typography/types.js +4 -1
- package/dist/src/typography/types.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/collections/gantt/index.ts"],"names":[],"mappings":"AAAA;;;G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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWtC,CAAC"}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { East, Expr, StructType, ArrayType, DictType, StringType, BooleanType, OptionType, DateTimeType, FloatType, variant, some, } from "@elaraai/east";
|
|
6
|
+
import { ColorSchemeType } from "../../style.js";
|
|
7
|
+
import { UIComponentType } from "../../component.js";
|
|
8
|
+
import { TableCellType, TableColumnType, } from "../table/index.js";
|
|
9
|
+
import { TableValueLiteral, TableValueTypeType } from "../table/types.js";
|
|
10
|
+
import { Text } from "../../typography/index.js";
|
|
11
|
+
import { GanttEventType, GanttTaskType, GanttMilestoneType, GanttStyleType, TableVariantType, TableSizeType, } from "./types.js";
|
|
12
|
+
// Re-export types
|
|
13
|
+
export { GanttEventType, GanttTaskType, GanttMilestoneType, GanttStyleType, } from "./types.js";
|
|
14
|
+
// ============================================================================
|
|
15
|
+
// Gantt Row Type
|
|
16
|
+
// ============================================================================
|
|
17
|
+
/**
|
|
18
|
+
* East type for a Gantt row.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* Each row has table cells (displayed on the left) and events (displayed on the right as a timeline).
|
|
22
|
+
*
|
|
23
|
+
* @property cells - Dict of column key to cell content (same as Table)
|
|
24
|
+
* @property events - Array of events (Task or Milestone variants)
|
|
25
|
+
*/
|
|
26
|
+
export const GanttRowType = StructType({
|
|
27
|
+
cells: DictType(StringType, TableCellType),
|
|
28
|
+
events: ArrayType(GanttEventType),
|
|
29
|
+
});
|
|
30
|
+
// ============================================================================
|
|
31
|
+
// Gantt Root Type
|
|
32
|
+
// ============================================================================
|
|
33
|
+
/**
|
|
34
|
+
* Type for Gantt component data.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Gantt displays rows with time-based events (tasks and milestones).
|
|
38
|
+
* The time range is derived from the events' domain.
|
|
39
|
+
*
|
|
40
|
+
* @property rows - Array of Gantt rows
|
|
41
|
+
* @property columns - Array of column definitions (same as Table)
|
|
42
|
+
* @property style - Optional styling configuration
|
|
43
|
+
*/
|
|
44
|
+
export const GanttRootType = StructType({
|
|
45
|
+
rows: ArrayType(GanttRowType),
|
|
46
|
+
columns: ArrayType(TableColumnType),
|
|
47
|
+
style: OptionType(GanttStyleType),
|
|
48
|
+
});
|
|
49
|
+
// ============================================================================
|
|
50
|
+
// Factory Functions for Events
|
|
51
|
+
// ============================================================================
|
|
52
|
+
/**
|
|
53
|
+
* Creates a Task event for a Gantt row.
|
|
54
|
+
*
|
|
55
|
+
* @param input - Task configuration
|
|
56
|
+
* @returns An East expression representing the Task event
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```ts
|
|
60
|
+
* Gantt.Task({
|
|
61
|
+
* start: new Date("2024-01-01"),
|
|
62
|
+
* end: new Date("2024-01-15"),
|
|
63
|
+
* label: "Design Phase",
|
|
64
|
+
* progress: 75,
|
|
65
|
+
* colorPalette: "blue",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
function createTask(input) {
|
|
70
|
+
const colorPaletteValue = input.colorPalette
|
|
71
|
+
? (typeof input.colorPalette === "string"
|
|
72
|
+
? East.value(variant(input.colorPalette, null), ColorSchemeType)
|
|
73
|
+
: input.colorPalette)
|
|
74
|
+
: undefined;
|
|
75
|
+
return East.value(variant("Task", {
|
|
76
|
+
start: input.start,
|
|
77
|
+
end: input.end,
|
|
78
|
+
label: input.label ? variant("some", input.label) : variant("none", null),
|
|
79
|
+
progress: input.progress ? variant("some", input.progress) : variant("none", null),
|
|
80
|
+
colorPalette: colorPaletteValue ? variant("some", colorPaletteValue) : variant("none", null),
|
|
81
|
+
}), GanttEventType);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Creates a Milestone event for a Gantt row.
|
|
85
|
+
*
|
|
86
|
+
* @param input - Milestone configuration
|
|
87
|
+
* @returns An East expression representing the Milestone event
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* ```ts
|
|
91
|
+
* Gantt.Milestone({
|
|
92
|
+
* date: new Date("2024-01-15"),
|
|
93
|
+
* label: "Design Complete",
|
|
94
|
+
* colorPalette: "green",
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
function createMilestone(input) {
|
|
99
|
+
const colorPaletteValue = input.colorPalette
|
|
100
|
+
? (typeof input.colorPalette === "string"
|
|
101
|
+
? East.value(variant(input.colorPalette, null), ColorSchemeType)
|
|
102
|
+
: input.colorPalette)
|
|
103
|
+
: undefined;
|
|
104
|
+
return East.value(variant("Milestone", {
|
|
105
|
+
date: input.date,
|
|
106
|
+
label: input.label ? variant("some", input.label) : variant("none", null),
|
|
107
|
+
colorPalette: colorPaletteValue ? variant("some", colorPaletteValue) : variant("none", null),
|
|
108
|
+
}), GanttEventType);
|
|
109
|
+
}
|
|
110
|
+
// ============================================================================
|
|
111
|
+
// Main Gantt Factory
|
|
112
|
+
// ============================================================================
|
|
113
|
+
/**
|
|
114
|
+
* Creates a Gantt component following the Table pattern.
|
|
115
|
+
*
|
|
116
|
+
* @typeParam T - The struct type of each data row
|
|
117
|
+
* @param data - Array of data structs
|
|
118
|
+
* @param columns - Column specification for the left-side table columns
|
|
119
|
+
* @param events - Function to extract events from each row
|
|
120
|
+
* @param style - Optional Gantt styling
|
|
121
|
+
* @returns An East expression representing the Gantt component
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* ```ts
|
|
125
|
+
* import { Gantt } from "@elaraai/east-ui";
|
|
126
|
+
*
|
|
127
|
+
* const data = [
|
|
128
|
+
* { name: "Design", start: new Date("2024-01-01"), end: new Date("2024-01-15") },
|
|
129
|
+
* { name: "Development", start: new Date("2024-01-10"), end: new Date("2024-02-01") },
|
|
130
|
+
* ];
|
|
131
|
+
*
|
|
132
|
+
* // Simple: array of column names, events extracted from row fields
|
|
133
|
+
* Gantt.Root(data, ["name"], row => [
|
|
134
|
+
* Gantt.Task({ start: row.start, end: row.end }),
|
|
135
|
+
* ]);
|
|
136
|
+
*
|
|
137
|
+
* // With column config and styling
|
|
138
|
+
* Gantt.Root(data, {
|
|
139
|
+
* name: { header: "Task Name" },
|
|
140
|
+
* }, row => [
|
|
141
|
+
* Gantt.Task({ start: row.start, end: row.end, colorPalette: "blue" }),
|
|
142
|
+
* ], { variant: "line", showToday: true });
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
145
|
+
function createGantt(data, columns, events, style) {
|
|
146
|
+
const data_expr = East.value(data);
|
|
147
|
+
const field_types = Expr.type(data_expr).value.fields;
|
|
148
|
+
// Normalize columns to object format
|
|
149
|
+
const columns_obj = Array.isArray(columns)
|
|
150
|
+
? Object.fromEntries(columns.map(key => [key, {
|
|
151
|
+
type: variant(field_types[key].type, null)
|
|
152
|
+
}]))
|
|
153
|
+
: Object.fromEntries((Object.entries(columns)).map(([key, value]) => [key, {
|
|
154
|
+
...value,
|
|
155
|
+
type: variant(field_types[key].type, null)
|
|
156
|
+
}]));
|
|
157
|
+
// Map each data row to a GanttRow with cells and events
|
|
158
|
+
const rows_mapped = data_expr.map(($, datum) => {
|
|
159
|
+
// Build cells dict (same as Table)
|
|
160
|
+
const cells = $.let(new Map(), DictType(StringType, StructType({
|
|
161
|
+
value: TableValueLiteral,
|
|
162
|
+
content: UIComponentType
|
|
163
|
+
})));
|
|
164
|
+
for (const [col_key, col_config] of Object.entries(columns_obj)) {
|
|
165
|
+
const field_value = datum[col_key];
|
|
166
|
+
const field_type = field_types[col_key];
|
|
167
|
+
const value = variant(field_type.type, field_value);
|
|
168
|
+
let content;
|
|
169
|
+
if (col_config.render) {
|
|
170
|
+
content = col_config.render(field_value);
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
content = Text.Root(East.str `${field_value}`, {
|
|
174
|
+
whiteSpace: "nowrap",
|
|
175
|
+
overflow: "hidden",
|
|
176
|
+
textOverflow: "ellipsis",
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
$(cells.insert(col_key, { value, content }));
|
|
180
|
+
}
|
|
181
|
+
// Get events from the row using the events function
|
|
182
|
+
const row_events = events(datum);
|
|
183
|
+
return East.value({
|
|
184
|
+
cells: cells,
|
|
185
|
+
events: row_events,
|
|
186
|
+
}, GanttRowType);
|
|
187
|
+
});
|
|
188
|
+
// Create columns array from the columns config
|
|
189
|
+
const columns_mapped = [];
|
|
190
|
+
for (const [key, config] of Object.entries(columns_obj)) {
|
|
191
|
+
if (config.type.type !== "Boolean" &&
|
|
192
|
+
config.type.type !== "Integer" &&
|
|
193
|
+
config.type.type !== "Float" &&
|
|
194
|
+
config.type.type !== "String" &&
|
|
195
|
+
config.type.type !== "DateTime") {
|
|
196
|
+
throw new Error(`Gantt column type for key "${key}" must be one of Boolean, Integer, Float, String, or DateTime.`);
|
|
197
|
+
}
|
|
198
|
+
columns_mapped.push({
|
|
199
|
+
key: key,
|
|
200
|
+
type: config.type,
|
|
201
|
+
header: config?.header !== undefined ? some(config.header) : some(key),
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
// Build style value
|
|
205
|
+
const variantValue = style?.variant
|
|
206
|
+
? (typeof style.variant === "string"
|
|
207
|
+
? East.value(variant(style.variant, null), TableVariantType)
|
|
208
|
+
: style.variant)
|
|
209
|
+
: undefined;
|
|
210
|
+
const sizeValue = style?.size
|
|
211
|
+
? (typeof style.size === "string"
|
|
212
|
+
? East.value(variant(style.size, null), TableSizeType)
|
|
213
|
+
: style.size)
|
|
214
|
+
: undefined;
|
|
215
|
+
const colorPaletteValue = style?.colorPalette
|
|
216
|
+
? (typeof style.colorPalette === "string"
|
|
217
|
+
? East.value(variant(style.colorPalette, null), ColorSchemeType)
|
|
218
|
+
: style.colorPalette)
|
|
219
|
+
: undefined;
|
|
220
|
+
const toBoolOption = (value) => {
|
|
221
|
+
if (value === undefined)
|
|
222
|
+
return variant("none", null);
|
|
223
|
+
return variant("some", value);
|
|
224
|
+
};
|
|
225
|
+
const styleValue = style ? East.value({
|
|
226
|
+
variant: variantValue ? variant("some", variantValue) : variant("none", null),
|
|
227
|
+
size: sizeValue ? variant("some", sizeValue) : variant("none", null),
|
|
228
|
+
striped: toBoolOption(style.striped),
|
|
229
|
+
interactive: toBoolOption(style.interactive),
|
|
230
|
+
stickyHeader: toBoolOption(style.stickyHeader),
|
|
231
|
+
showColumnBorder: toBoolOption(style.showColumnBorder),
|
|
232
|
+
colorPalette: colorPaletteValue ? variant("some", colorPaletteValue) : variant("none", null),
|
|
233
|
+
showToday: toBoolOption(style.showToday),
|
|
234
|
+
}, GanttStyleType) : undefined;
|
|
235
|
+
return East.value(variant("Gantt", {
|
|
236
|
+
rows: rows_mapped,
|
|
237
|
+
columns: columns_mapped,
|
|
238
|
+
style: styleValue ? variant("some", styleValue) : variant("none", null),
|
|
239
|
+
}), UIComponentType);
|
|
240
|
+
}
|
|
241
|
+
// ============================================================================
|
|
242
|
+
// Namespace Export
|
|
243
|
+
// ============================================================================
|
|
244
|
+
/**
|
|
245
|
+
* Gantt namespace for creating Gantt chart components.
|
|
246
|
+
*
|
|
247
|
+
* @remarks
|
|
248
|
+
* Gantt charts display time-based events (tasks and milestones) in rows.
|
|
249
|
+
* Each row has table columns on the left and a timeline with events on the right.
|
|
250
|
+
* The API follows the Table pattern for column configuration.
|
|
251
|
+
*
|
|
252
|
+
* @example
|
|
253
|
+
* ```ts
|
|
254
|
+
* import { Gantt } from "@elaraai/east-ui";
|
|
255
|
+
*
|
|
256
|
+
* const tasks = [
|
|
257
|
+
* { name: "Design", owner: "Alice", start: new Date("2024-01-01"), end: new Date("2024-01-15") },
|
|
258
|
+
* { name: "Development", owner: "Bob", start: new Date("2024-01-10"), end: new Date("2024-02-01") },
|
|
259
|
+
* ];
|
|
260
|
+
*
|
|
261
|
+
* const gantt = Gantt.Root(tasks, {
|
|
262
|
+
* name: { header: "Task" },
|
|
263
|
+
* owner: { header: "Owner" },
|
|
264
|
+
* }, row => [
|
|
265
|
+
* Gantt.Task({
|
|
266
|
+
* start: row.start,
|
|
267
|
+
* end: row.end,
|
|
268
|
+
* colorPalette: "blue",
|
|
269
|
+
* }),
|
|
270
|
+
* ], {
|
|
271
|
+
* variant: "line",
|
|
272
|
+
* showToday: true,
|
|
273
|
+
* });
|
|
274
|
+
* ```
|
|
275
|
+
*/
|
|
276
|
+
export const Gantt = {
|
|
277
|
+
/** Create a Gantt chart component */
|
|
278
|
+
Root: createGantt,
|
|
279
|
+
/** Create a Task event (spans time range) */
|
|
280
|
+
Task: createTask,
|
|
281
|
+
/** Create a Milestone event (single point in time) */
|
|
282
|
+
Milestone: createMilestone,
|
|
283
|
+
/** Type definitions for Gantt components */
|
|
284
|
+
Types: {
|
|
285
|
+
Root: GanttRootType,
|
|
286
|
+
Row: GanttRowType,
|
|
287
|
+
Event: GanttEventType,
|
|
288
|
+
Task: GanttTaskType,
|
|
289
|
+
Milestone: GanttMilestoneType,
|
|
290
|
+
Style: GanttStyleType,
|
|
291
|
+
Column: TableColumnType,
|
|
292
|
+
Cell: TableCellType,
|
|
293
|
+
},
|
|
294
|
+
};
|
|
295
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/collections/gantt/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAGH,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,SAAS,EACT,QAAQ,EACR,UAAU,EACV,WAAW,EACX,UAAU,EACV,YAAY,EACZ,SAAS,EACT,OAAO,EAGP,IAAI,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACH,aAAa,EACb,eAAe,GAElB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACH,iBAAiB,EAAE,kBAAkB,EACxC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEjD,OAAO,EACH,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,aAAa,GAEhB,MAAM,YAAY,CAAC;AAEpB,kBAAkB;AAClB,OAAO,EACH,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,cAAc,GAEjB,MAAM,YAAY,CAAC;AAEpB,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC;IACnC,KAAK,EAAE,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC1C,M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G;AACH,MAAM,CAAC,MAAM,KAAK,GAAG;IACjB,qCAAqC;IACrC,IAAI,EAAE,WAAW;IACjB,6CAA6C;IAC7C,IAAI,EAAE,UAAU;IAChB,sDAAsD;IACtD,SAAS,EAAE,eAAe;IAC1B,4CAA4C;IAC5C,KAAK,EAAE;QACH,IAAI,EAAE,aAAa;QACnB,GAAG,EAAE,YAAY;QACjB,KAAK,EAAE,cAAc;QACrB,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,kBAAkB;QAC7B,KAAK,EAAE,cAAc;QACrB,MAAM,EAAE,eAAe;QACvB,IAAI,EAAE,aAAa;KACtB;CACK,CAAC"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { type SubtypeExprOrValue, OptionType, StructType, VariantType, StringType, BooleanType, DateTimeType, FloatType } from "@elaraai/east";
|
|
6
|
+
import { ColorSchemeType, type ColorSchemeLiteral } from "../../style.js";
|
|
7
|
+
import { TableVariantType, TableSizeType, type TableVariantLiteral, type TableSizeLiteral } from "../table/types.js";
|
|
8
|
+
export { TableVariantType, TableSizeType, type TableVariantLiteral, type TableSizeLiteral, } from "../table/types.js";
|
|
9
|
+
/**
|
|
10
|
+
* Task event data for Gantt charts.
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Represents a task bar spanning from start to end date.
|
|
14
|
+
*
|
|
15
|
+
* @property start - Start date/time of the task
|
|
16
|
+
* @property end - End date/time of the task
|
|
17
|
+
* @property label - Optional label to display on the task bar
|
|
18
|
+
* @property progress - Optional progress percentage (0-100)
|
|
19
|
+
* @property colorPalette - Optional color scheme for the task bar
|
|
20
|
+
*/
|
|
21
|
+
export declare const GanttTaskType: StructType<{
|
|
22
|
+
start: DateTimeType;
|
|
23
|
+
end: DateTimeType;
|
|
24
|
+
label: OptionType<StringType>;
|
|
25
|
+
progress: OptionType<FloatType>;
|
|
26
|
+
colorPalette: OptionType<VariantType<{
|
|
27
|
+
gray: import("@elaraai/east").NullType;
|
|
28
|
+
red: import("@elaraai/east").NullType;
|
|
29
|
+
orange: import("@elaraai/east").NullType;
|
|
30
|
+
yellow: import("@elaraai/east").NullType;
|
|
31
|
+
green: import("@elaraai/east").NullType;
|
|
32
|
+
teal: import("@elaraai/east").NullType;
|
|
33
|
+
blue: import("@elaraai/east").NullType;
|
|
34
|
+
cyan: import("@elaraai/east").NullType;
|
|
35
|
+
purple: import("@elaraai/east").NullType;
|
|
36
|
+
pink: import("@elaraai/east").NullType;
|
|
37
|
+
}>>;
|
|
38
|
+
}>;
|
|
39
|
+
/**
|
|
40
|
+
* Type representing the Gantt task structure.
|
|
41
|
+
*/
|
|
42
|
+
export type GanttTaskType = typeof GanttTaskType;
|
|
43
|
+
/**
|
|
44
|
+
* Milestone event data for Gantt charts.
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* Represents a single point in time milestone.
|
|
48
|
+
*
|
|
49
|
+
* @property date - The date/time of the milestone
|
|
50
|
+
* @property label - Optional label to display near the milestone
|
|
51
|
+
* @property colorPalette - Optional color scheme for the milestone marker
|
|
52
|
+
*/
|
|
53
|
+
export declare const GanttMilestoneType: StructType<{
|
|
54
|
+
date: DateTimeType;
|
|
55
|
+
label: OptionType<StringType>;
|
|
56
|
+
colorPalette: OptionType<VariantType<{
|
|
57
|
+
gray: import("@elaraai/east").NullType;
|
|
58
|
+
red: import("@elaraai/east").NullType;
|
|
59
|
+
orange: import("@elaraai/east").NullType;
|
|
60
|
+
yellow: import("@elaraai/east").NullType;
|
|
61
|
+
green: import("@elaraai/east").NullType;
|
|
62
|
+
teal: import("@elaraai/east").NullType;
|
|
63
|
+
blue: import("@elaraai/east").NullType;
|
|
64
|
+
cyan: import("@elaraai/east").NullType;
|
|
65
|
+
purple: import("@elaraai/east").NullType;
|
|
66
|
+
pink: import("@elaraai/east").NullType;
|
|
67
|
+
}>>;
|
|
68
|
+
}>;
|
|
69
|
+
/**
|
|
70
|
+
* Type representing the Gantt milestone structure.
|
|
71
|
+
*/
|
|
72
|
+
export type GanttMilestoneType = typeof GanttMilestoneType;
|
|
73
|
+
/**
|
|
74
|
+
* Gantt event variant type.
|
|
75
|
+
*
|
|
76
|
+
* @remarks
|
|
77
|
+
* Events can be either tasks (with duration) or milestones (single point).
|
|
78
|
+
*
|
|
79
|
+
* @property Task - A task spanning from start to end date
|
|
80
|
+
* @property Milestone - A milestone at a specific date
|
|
81
|
+
*/
|
|
82
|
+
export declare const GanttEventType: VariantType<{
|
|
83
|
+
Task: StructType<{
|
|
84
|
+
start: DateTimeType;
|
|
85
|
+
end: DateTimeType;
|
|
86
|
+
label: OptionType<StringType>;
|
|
87
|
+
progress: OptionType<FloatType>;
|
|
88
|
+
colorPalette: OptionType<VariantType<{
|
|
89
|
+
gray: import("@elaraai/east").NullType;
|
|
90
|
+
red: import("@elaraai/east").NullType;
|
|
91
|
+
orange: import("@elaraai/east").NullType;
|
|
92
|
+
yellow: import("@elaraai/east").NullType;
|
|
93
|
+
green: import("@elaraai/east").NullType;
|
|
94
|
+
teal: import("@elaraai/east").NullType;
|
|
95
|
+
blue: import("@elaraai/east").NullType;
|
|
96
|
+
cyan: import("@elaraai/east").NullType;
|
|
97
|
+
purple: import("@elaraai/east").NullType;
|
|
98
|
+
pink: import("@elaraai/east").NullType;
|
|
99
|
+
}>>;
|
|
100
|
+
}>;
|
|
101
|
+
Milestone: StructType<{
|
|
102
|
+
date: DateTimeType;
|
|
103
|
+
label: OptionType<StringType>;
|
|
104
|
+
colorPalette: OptionType<VariantType<{
|
|
105
|
+
gray: import("@elaraai/east").NullType;
|
|
106
|
+
red: import("@elaraai/east").NullType;
|
|
107
|
+
orange: import("@elaraai/east").NullType;
|
|
108
|
+
yellow: import("@elaraai/east").NullType;
|
|
109
|
+
green: import("@elaraai/east").NullType;
|
|
110
|
+
teal: import("@elaraai/east").NullType;
|
|
111
|
+
blue: import("@elaraai/east").NullType;
|
|
112
|
+
cyan: import("@elaraai/east").NullType;
|
|
113
|
+
purple: import("@elaraai/east").NullType;
|
|
114
|
+
pink: import("@elaraai/east").NullType;
|
|
115
|
+
}>>;
|
|
116
|
+
}>;
|
|
117
|
+
}>;
|
|
118
|
+
/**
|
|
119
|
+
* Type representing the Gantt event variant.
|
|
120
|
+
*/
|
|
121
|
+
export type GanttEventType = typeof GanttEventType;
|
|
122
|
+
/**
|
|
123
|
+
* Style type for the Gantt component.
|
|
124
|
+
*
|
|
125
|
+
* @remarks
|
|
126
|
+
* All properties are optional and wrapped in {@link OptionType}.
|
|
127
|
+
* Reuses table styling properties where applicable.
|
|
128
|
+
*
|
|
129
|
+
* @property variant - Table variant (line or outline)
|
|
130
|
+
* @property size - Table size (sm, md, lg)
|
|
131
|
+
* @property striped - Whether to show zebra stripes on rows
|
|
132
|
+
* @property interactive - Whether to highlight rows on hover
|
|
133
|
+
* @property stickyHeader - Whether the header sticks when scrolling
|
|
134
|
+
* @property showColumnBorder - Whether to show borders between columns
|
|
135
|
+
* @property colorPalette - Default color scheme for events
|
|
136
|
+
* @property showToday - Whether to show a today marker line
|
|
137
|
+
*/
|
|
138
|
+
export declare const GanttStyleType: StructType<{
|
|
139
|
+
variant: OptionType<VariantType<{
|
|
140
|
+
line: import("@elaraai/east").NullType;
|
|
141
|
+
outline: import("@elaraai/east").NullType;
|
|
142
|
+
}>>;
|
|
143
|
+
size: OptionType<VariantType<{
|
|
144
|
+
sm: import("@elaraai/east").NullType;
|
|
145
|
+
md: import("@elaraai/east").NullType;
|
|
146
|
+
lg: import("@elaraai/east").NullType;
|
|
147
|
+
}>>;
|
|
148
|
+
striped: OptionType<BooleanType>;
|
|
149
|
+
interactive: OptionType<BooleanType>;
|
|
150
|
+
stickyHeader: OptionType<BooleanType>;
|
|
151
|
+
showColumnBorder: OptionType<BooleanType>;
|
|
152
|
+
colorPalette: OptionType<VariantType<{
|
|
153
|
+
gray: import("@elaraai/east").NullType;
|
|
154
|
+
red: import("@elaraai/east").NullType;
|
|
155
|
+
orange: import("@elaraai/east").NullType;
|
|
156
|
+
yellow: import("@elaraai/east").NullType;
|
|
157
|
+
green: import("@elaraai/east").NullType;
|
|
158
|
+
teal: import("@elaraai/east").NullType;
|
|
159
|
+
blue: import("@elaraai/east").NullType;
|
|
160
|
+
cyan: import("@elaraai/east").NullType;
|
|
161
|
+
purple: import("@elaraai/east").NullType;
|
|
162
|
+
pink: import("@elaraai/east").NullType;
|
|
163
|
+
}>>;
|
|
164
|
+
showToday: OptionType<BooleanType>;
|
|
165
|
+
}>;
|
|
166
|
+
/**
|
|
167
|
+
* Type representing the Gantt style structure.
|
|
168
|
+
*/
|
|
169
|
+
export type GanttStyleType = typeof GanttStyleType;
|
|
170
|
+
/**
|
|
171
|
+
* TypeScript interface for Gantt styling input.
|
|
172
|
+
*
|
|
173
|
+
* @remarks
|
|
174
|
+
* Accepts both static values and East expressions.
|
|
175
|
+
*
|
|
176
|
+
* @property variant - Table variant (line or outline)
|
|
177
|
+
* @property size - Table size (sm, md, lg)
|
|
178
|
+
* @property striped - Whether to show zebra stripes on rows
|
|
179
|
+
* @property interactive - Whether to highlight rows on hover
|
|
180
|
+
* @property stickyHeader - Whether the header sticks when scrolling
|
|
181
|
+
* @property showColumnBorder - Whether to show borders between columns
|
|
182
|
+
* @property colorPalette - Default color scheme for events
|
|
183
|
+
* @property showToday - Whether to show a today marker line
|
|
184
|
+
*/
|
|
185
|
+
export interface GanttStyle {
|
|
186
|
+
variant?: SubtypeExprOrValue<TableVariantType> | TableVariantLiteral;
|
|
187
|
+
size?: SubtypeExprOrValue<TableSizeType> | TableSizeLiteral;
|
|
188
|
+
striped?: SubtypeExprOrValue<BooleanType>;
|
|
189
|
+
interactive?: SubtypeExprOrValue<BooleanType>;
|
|
190
|
+
stickyHeader?: SubtypeExprOrValue<BooleanType>;
|
|
191
|
+
showColumnBorder?: SubtypeExprOrValue<BooleanType>;
|
|
192
|
+
colorPalette?: SubtypeExprOrValue<ColorSchemeType> | ColorSchemeLiteral;
|
|
193
|
+
showToday?: SubtypeExprOrValue<BooleanType>;
|
|
194
|
+
}
|
|
195
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/collections/gantt/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,kBAAkB,EACvB,UAAU,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,YAAY,EACZ,SAAS,EACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,eAAe,EACf,KAAK,kBAAkB,EAC1B,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACH,gBAAgB,EAChB,aAAa,EACb,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACxB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACH,gBAAgB,EAChB,aAAa,EACb,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACxB,MAAM,mBAAmB,CAAC;AAM3B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;EAMxB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC;AAEjD;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAI7B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC;AAE3D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC;AAMnD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;EASzB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC;AAEnD;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,UAAU;IACvB,OAAO,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,GAAG,mBAAmB,CAAC;IACrE,IAAI,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC,GAAG,gBAAgB,CAAC;IAC5D,OAAO,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC1C,WAAW,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC/C,gBAAgB,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,kBAAkB,CAAC,eAAe,CAAC,GAAG,kBAAkB,CAAC;IACxE,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;CAC/C"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { OptionType, StructType, VariantType, StringType, BooleanType, DateTimeType, FloatType, } from "@elaraai/east";
|
|
6
|
+
import { ColorSchemeType, } from "../../style.js";
|
|
7
|
+
// Import shared types from table
|
|
8
|
+
import { TableVariantType, TableSizeType, } from "../table/types.js";
|
|
9
|
+
// Re-export table types used by Gantt
|
|
10
|
+
export { TableVariantType, TableSizeType, } from "../table/types.js";
|
|
11
|
+
// ============================================================================
|
|
12
|
+
// Gantt Event Types
|
|
13
|
+
// ============================================================================
|
|
14
|
+
/**
|
|
15
|
+
* Task event data for Gantt charts.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Represents a task bar spanning from start to end date.
|
|
19
|
+
*
|
|
20
|
+
* @property start - Start date/time of the task
|
|
21
|
+
* @property end - End date/time of the task
|
|
22
|
+
* @property label - Optional label to display on the task bar
|
|
23
|
+
* @property progress - Optional progress percentage (0-100)
|
|
24
|
+
* @property colorPalette - Optional color scheme for the task bar
|
|
25
|
+
*/
|
|
26
|
+
export const GanttTaskType = StructType({
|
|
27
|
+
start: DateTimeType,
|
|
28
|
+
end: DateTimeType,
|
|
29
|
+
label: OptionType(StringType),
|
|
30
|
+
progress: OptionType(FloatType),
|
|
31
|
+
colorPalette: OptionType(ColorSchemeType),
|
|
32
|
+
});
|
|
33
|
+
/**
|
|
34
|
+
* Milestone event data for Gantt charts.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Represents a single point in time milestone.
|
|
38
|
+
*
|
|
39
|
+
* @property date - The date/time of the milestone
|
|
40
|
+
* @property label - Optional label to display near the milestone
|
|
41
|
+
* @property colorPalette - Optional color scheme for the milestone marker
|
|
42
|
+
*/
|
|
43
|
+
export const GanttMilestoneType = StructType({
|
|
44
|
+
date: DateTimeType,
|
|
45
|
+
label: OptionType(StringType),
|
|
46
|
+
colorPalette: OptionType(ColorSchemeType),
|
|
47
|
+
});
|
|
48
|
+
/**
|
|
49
|
+
* Gantt event variant type.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* Events can be either tasks (with duration) or milestones (single point).
|
|
53
|
+
*
|
|
54
|
+
* @property Task - A task spanning from start to end date
|
|
55
|
+
* @property Milestone - A milestone at a specific date
|
|
56
|
+
*/
|
|
57
|
+
export const GanttEventType = VariantType({
|
|
58
|
+
Task: GanttTaskType,
|
|
59
|
+
Milestone: GanttMilestoneType,
|
|
60
|
+
});
|
|
61
|
+
// ============================================================================
|
|
62
|
+
// Gantt Style Type
|
|
63
|
+
// ============================================================================
|
|
64
|
+
/**
|
|
65
|
+
* Style type for the Gantt component.
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* All properties are optional and wrapped in {@link OptionType}.
|
|
69
|
+
* Reuses table styling properties where applicable.
|
|
70
|
+
*
|
|
71
|
+
* @property variant - Table variant (line or outline)
|
|
72
|
+
* @property size - Table size (sm, md, lg)
|
|
73
|
+
* @property striped - Whether to show zebra stripes on rows
|
|
74
|
+
* @property interactive - Whether to highlight rows on hover
|
|
75
|
+
* @property stickyHeader - Whether the header sticks when scrolling
|
|
76
|
+
* @property showColumnBorder - Whether to show borders between columns
|
|
77
|
+
* @property colorPalette - Default color scheme for events
|
|
78
|
+
* @property showToday - Whether to show a today marker line
|
|
79
|
+
*/
|
|
80
|
+
export const GanttStyleType = StructType({
|
|
81
|
+
variant: OptionType(TableVariantType),
|
|
82
|
+
size: OptionType(TableSizeType),
|
|
83
|
+
striped: OptionType(BooleanType),
|
|
84
|
+
interactive: OptionType(BooleanType),
|
|
85
|
+
stickyHeader: OptionType(BooleanType),
|
|
86
|
+
showColumnBorder: OptionType(BooleanType),
|
|
87
|
+
colorPalette: OptionType(ColorSchemeType),
|
|
88
|
+
showToday: OptionType(BooleanType),
|
|
89
|
+
});
|
|
90
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/collections/gantt/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEH,UAAU,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,YAAY,EACZ,SAAS,GACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,eAAe,GAElB,MAAM,gBAAgB,CAAC;AAExB,iCAAiC;AACjC,OAAO,EACH,gBAAgB,EAChB,aAAa,GAGhB,MAAM,mBAAmB,CAAC;AAE3B,sCAAsC;AACtC,OAAO,EACH,gBAAgB,EAChB,aAAa,GAGhB,MAAM,mBAAmB,CAAC;AAE3B,+EAA+E;AAC/E,oBAAoB;AACpB,+EAA+E;AAE/E;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAC;IACpC,KAAK,EAAE,YAAY;IACnB,GAAG,EAAE,YAAY;IACjB,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC;IAC7B,QAAQ,EAAE,UAAU,CAAC,SAAS,CAAC;IAC/B,YAAY,EAAE,UAAU,CAAC,eAAe,CAAC;CAC5C,CAAC,CAAC;AAOH;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC;IACzC,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC;IAC7B,YAAY,EAAE,UAAU,CAAC,eAAe,CAAC;CAC5C,CAAC,CAAC;AAOH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;IACtC,IAAI,EAAE,aAAa;IACnB,SAAS,EAAE,kBAAkB;CAChC,CAAC,CAAC;AAOH,+EAA+E;AAC/E,mBAAmB;AACnB,+EAA+E;AAE/E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACrC,OAAO,EAAE,UAAU,CAAC,gBAAgB,CAAC;IACrC,IAAI,EAAE,UAAU,CAAC,aAAa,CAAC;IAC/B,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC;IAChC,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;IACpC,YAAY,EAAE,UAAU,CAAC,WAAW,CAAC;IACrC,gBAAgB,EAAE,UAAU,CAAC,WAAW,CAAC;IACzC,YAAY,EAAE,UAAU,CAAC,eAAe,CAAC;IACzC,SAAS,EAAE,UAAU,CAAC,WAAW,CAAC;CACrC,CAAC,CAAC"}
|
|
@@ -5,4 +5,5 @@
|
|
|
5
5
|
export { DataList } from "./data-list/index.js";
|
|
6
6
|
export { Table, createTable, type TableColumnConfig } from "./table/index.js";
|
|
7
7
|
export { TreeView } from "./tree-view/index.js";
|
|
8
|
+
export { Gantt, type TaskInput, type MilestoneInput } from "./gantt/index.js";
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/collections/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/collections/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|