@stonecrop/stonecrop 0.4.10 → 0.4.12
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/stonecrop.d.ts +9 -1
- package/package.json +4 -4
package/dist/stonecrop.d.ts
CHANGED
|
@@ -482,6 +482,10 @@ export declare type TableColumn = {
|
|
|
482
482
|
type?: string;
|
|
483
483
|
width?: string;
|
|
484
484
|
pinned?: boolean;
|
|
485
|
+
colspan?: number;
|
|
486
|
+
ganttComponent?: string;
|
|
487
|
+
isGantt?: boolean;
|
|
488
|
+
originalIndex?: number;
|
|
485
489
|
cellComponent?: string;
|
|
486
490
|
cellComponentProps?: Record<string, any>;
|
|
487
491
|
/**
|
|
@@ -516,7 +520,7 @@ export declare type TableConfig = {
|
|
|
516
520
|
* - `list-expansion` - carets are displayed in the number column that expand/collapse the row inline
|
|
517
521
|
* - `tree` - carets are displayed in the number column that expand/collapse grouped rows
|
|
518
522
|
*/
|
|
519
|
-
view?: 'uncounted' | 'list' | 'list-expansion' | 'tree';
|
|
523
|
+
view?: 'uncounted' | 'list' | 'list-expansion' | 'tree' | 'gantt';
|
|
520
524
|
fullWidth?: boolean;
|
|
521
525
|
};
|
|
522
526
|
|
|
@@ -528,6 +532,10 @@ export declare type TableRow = {
|
|
|
528
532
|
[key: string]: any;
|
|
529
533
|
indent?: number;
|
|
530
534
|
parent?: number;
|
|
535
|
+
/**
|
|
536
|
+
* When a table is being viewed as a Gantt chart, this colour would be applied to the row's gantt bar, if one exists.
|
|
537
|
+
*/
|
|
538
|
+
gantt_color?: string;
|
|
531
539
|
};
|
|
532
540
|
|
|
533
541
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/stonecrop",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.12",
|
|
4
4
|
"description": "schema helper",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"eslint-plugin-vue": "^9.11.1",
|
|
53
53
|
"typescript": "~5.6.3",
|
|
54
54
|
"vite": "^6.1.1",
|
|
55
|
-
"stonecrop
|
|
56
|
-
"@stonecrop/atable": "0.4.
|
|
57
|
-
"
|
|
55
|
+
"@stonecrop/aform": "0.4.12",
|
|
56
|
+
"@stonecrop/atable": "0.4.12",
|
|
57
|
+
"stonecrop-rig": "0.2.22"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|