@stonecrop/aform 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.
Files changed (2) hide show
  1. package/dist/aform.d.ts +9 -1
  2. package/package.json +5 -5
package/dist/aform.d.ts CHANGED
@@ -172,6 +172,10 @@ export declare type TableColumn = {
172
172
  type?: string;
173
173
  width?: string;
174
174
  pinned?: boolean;
175
+ colspan?: number;
176
+ ganttComponent?: string;
177
+ isGantt?: boolean;
178
+ originalIndex?: number;
175
179
  cellComponent?: string;
176
180
  cellComponentProps?: Record<string, any>;
177
181
  /**
@@ -206,7 +210,7 @@ export declare type TableConfig = {
206
210
  * - `list-expansion` - carets are displayed in the number column that expand/collapse the row inline
207
211
  * - `tree` - carets are displayed in the number column that expand/collapse grouped rows
208
212
  */
209
- view?: 'uncounted' | 'list' | 'list-expansion' | 'tree';
213
+ view?: 'uncounted' | 'list' | 'list-expansion' | 'tree' | 'gantt';
210
214
  fullWidth?: boolean;
211
215
  };
212
216
 
@@ -218,6 +222,10 @@ export declare type TableRow = {
218
222
  [key: string]: any;
219
223
  indent?: number;
220
224
  parent?: number;
225
+ /**
226
+ * When a table is being viewed as a Gantt chart, this colour would be applied to the row's gantt bar, if one exists.
227
+ */
228
+ gantt_color?: string;
221
229
  };
222
230
 
223
231
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stonecrop/aform",
3
- "version": "0.4.10",
3
+ "version": "0.4.12",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "author": {
@@ -34,8 +34,8 @@
34
34
  "@vueuse/core": "^12.7.0",
35
35
  "@vueuse/components": "^12.7.0",
36
36
  "vue": "^3.5.13",
37
- "@stonecrop/themes": "0.4.10",
38
- "@stonecrop/utilities": "0.4.10"
37
+ "@stonecrop/themes": "0.4.12",
38
+ "@stonecrop/utilities": "0.4.12"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@microsoft/api-documenter": "^7.26.10",
@@ -56,11 +56,11 @@
56
56
  "vite": "^6.1.1",
57
57
  "vitest": "^3.0.6",
58
58
  "vue-router": "^4.5.0",
59
- "@stonecrop/atable": "0.4.10",
59
+ "@stonecrop/atable": "0.4.12",
60
60
  "stonecrop-rig": "0.2.22"
61
61
  },
62
62
  "peerDependencies": {
63
- "@stonecrop/atable": "0.4.10"
63
+ "@stonecrop/atable": "0.4.12"
64
64
  },
65
65
  "publishConfig": {
66
66
  "access": "public"