@drayman/elements 1.4.5 → 1.4.9
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.
|
@@ -16,7 +16,7 @@ export interface DraymanTable {
|
|
|
16
16
|
/**
|
|
17
17
|
* Table column definitions.
|
|
18
18
|
*/
|
|
19
|
-
columns: DraymanTableColumn[];
|
|
19
|
+
columns: DraymanTableColumn[][] | DraymanTableColumn[];
|
|
20
20
|
/**
|
|
21
21
|
* Table row data.
|
|
22
22
|
*/
|
|
@@ -217,7 +217,7 @@ export interface DraymanTable {
|
|
|
217
217
|
rowIndex: number;
|
|
218
218
|
}>;
|
|
219
219
|
}
|
|
220
|
-
export declare type CellType = 'text' | 'text-field' | 'button' | 'number-field' | 'select' | 'file-uploader' | 'checkbox' | 'datepicker' | 'timepicker';
|
|
220
|
+
export declare type CellType = 'text' | 'text-field' | 'button' | 'number-field' | 'select' | 'file-uploader' | 'checkbox' | 'datepicker' | 'timepicker' | 'header';
|
|
221
221
|
export interface GridCellBase {
|
|
222
222
|
type?: CellType;
|
|
223
223
|
style?: any;
|
|
@@ -419,6 +419,9 @@ export interface DraymanTableColumn {
|
|
|
419
419
|
type?: CellType;
|
|
420
420
|
style?: any;
|
|
421
421
|
pinned?: 'left' | 'right';
|
|
422
|
+
colspan?: number;
|
|
423
|
+
rowspan?: number;
|
|
424
|
+
align?: 'left' | 'center' | 'right';
|
|
422
425
|
}
|
|
423
426
|
export interface GridTextFieldCell extends GridCellBase {
|
|
424
427
|
type: 'text-field';
|
package/package.json
CHANGED