@stonecrop/aform 0.4.23 → 0.4.24
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/aform.d.ts +16 -10
- package/package.json +5 -5
package/dist/aform.d.ts
CHANGED
|
@@ -155,26 +155,30 @@ export declare type FormSchema = BaseSchema & {
|
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* Gantt chart options for table rows.
|
|
159
159
|
* @public
|
|
160
160
|
*/
|
|
161
161
|
export declare interface GanttOptions {
|
|
162
162
|
/**
|
|
163
|
-
* The
|
|
163
|
+
* The color to be applied to the row's gantt bar.
|
|
164
|
+
*
|
|
165
|
+
* @defaultValue '#cccccc'
|
|
164
166
|
*/
|
|
165
167
|
color?: string;
|
|
166
168
|
/**
|
|
167
169
|
* The starting column index for the gantt bar.
|
|
170
|
+
*
|
|
171
|
+
* @defaultValue 0
|
|
168
172
|
*/
|
|
169
173
|
startIndex?: number;
|
|
170
174
|
/**
|
|
171
|
-
* The ending column index for the gantt bar. If
|
|
175
|
+
* The ending column index for the gantt bar. If endIndex and colspan are not provided,
|
|
172
176
|
* the bar will stretch to the end of the table.
|
|
173
177
|
*/
|
|
174
178
|
endIndex?: number;
|
|
175
179
|
/**
|
|
176
|
-
* The length of the gantt bar. Useful when only the start index is provided.
|
|
177
|
-
* colspan and endIndex are not provided, the bar will stretch to the end of the table.
|
|
180
|
+
* The length of the gantt bar in columns. Useful when only the start index is provided.
|
|
181
|
+
* If colspan and endIndex are not provided, the bar will stretch to the end of the table.
|
|
178
182
|
*/
|
|
179
183
|
colspan?: number;
|
|
180
184
|
}
|
|
@@ -309,8 +313,8 @@ export declare interface TableColumn {
|
|
|
309
313
|
*/
|
|
310
314
|
ganttComponent?: string;
|
|
311
315
|
/**
|
|
312
|
-
* The colspan of the Gantt
|
|
313
|
-
* the Gantt
|
|
316
|
+
* The colspan of the Gantt bar for the column. This determines how many columns
|
|
317
|
+
* the Gantt bar should span across.
|
|
314
318
|
*
|
|
315
319
|
* Only applicable for Gantt tables.
|
|
316
320
|
*
|
|
@@ -318,8 +322,8 @@ export declare interface TableColumn {
|
|
|
318
322
|
*/
|
|
319
323
|
colspan?: number;
|
|
320
324
|
/**
|
|
321
|
-
* The
|
|
322
|
-
* evaluated automatically while rendering the table.
|
|
325
|
+
* The original column index for the Gantt bar, excluding any pinned columns.
|
|
326
|
+
* This is evaluated automatically while rendering the table.
|
|
323
327
|
*
|
|
324
328
|
* Only applicable for Gantt tables.
|
|
325
329
|
*
|
|
@@ -339,8 +343,10 @@ export declare interface TableConfig {
|
|
|
339
343
|
* - `list` - row numbers are displayed in the table
|
|
340
344
|
* - `list-expansion` - carets are displayed in the number column that expand/collapse the row inline
|
|
341
345
|
* - `tree` - carets are displayed in the number column that expand/collapse grouped rows
|
|
346
|
+
* - `gantt` - view that allows specific rows to be displayed with Gantt functionality
|
|
347
|
+
* - `tree-gantt` - similar to `gantt`, but allows for tree functionality as well
|
|
342
348
|
*/
|
|
343
|
-
view?: 'uncounted' | 'list' | 'list-expansion' | 'tree' | 'gantt';
|
|
349
|
+
view?: 'uncounted' | 'list' | 'list-expansion' | 'tree' | 'gantt' | 'tree-gantt';
|
|
344
350
|
/**
|
|
345
351
|
* Control whether the table should be allowed to use the full width of its container.
|
|
346
352
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/aform",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.24",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@vueuse/core": "^13.4.0",
|
|
35
35
|
"@vueuse/components": "^13.4.0",
|
|
36
36
|
"vue": "^3.5.17",
|
|
37
|
-
"@stonecrop/themes": "0.4.
|
|
38
|
-
"@stonecrop/utilities": "0.4.
|
|
37
|
+
"@stonecrop/themes": "0.4.24",
|
|
38
|
+
"@stonecrop/utilities": "0.4.24"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@microsoft/api-documenter": "^7.26.29",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"vite": "^6.3.5",
|
|
57
57
|
"vitest": "^3.2.4",
|
|
58
58
|
"vue-router": "^4.5.1",
|
|
59
|
-
"@stonecrop/atable": "0.4.
|
|
59
|
+
"@stonecrop/atable": "0.4.24",
|
|
60
60
|
"stonecrop-rig": "0.2.22"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@stonecrop/atable": "0.4.
|
|
63
|
+
"@stonecrop/atable": "0.4.24"
|
|
64
64
|
},
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|