@vuu-ui/vuu-protocol-types 0.8.88 → 0.8.90

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/index.d.ts +21 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -578,10 +578,29 @@ export interface VuuMenu {
578
578
 
579
579
  export declare type VuuRowDataItemType = string | number | boolean;
580
580
 
581
+ export type VuuGroupDepth = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
582
+ export type VuuGroupExpanded = true | false;
583
+ export type VuuGroupPath = string;
584
+ export type VuuGroupLeaf = true | false;
585
+ export type VuuGroupLabel = string;
586
+ export type VuuGroupCount = number;
587
+
588
+ export declare type VuuGroupDataRow = [
589
+ VuuGroupDepth,
590
+ VuuGroupExpanded,
591
+ VuuGroupPath,
592
+ VuuGroupLeaf,
593
+ VuuGroupLabel,
594
+ VuuGroupCount,
595
+ ...data: VuuRowDataItemType[],
596
+ ];
597
+
581
598
  export declare type VuuDataRow = VuuRowDataItemType[];
582
599
 
583
- export declare type VuuRow = {
584
- data: VuuDataRow;
600
+ export declare type VuuRow<
601
+ T extends VuuDataRow | VuuGroupDataRow = VuuDataRow | VuuGroupDataRow,
602
+ > = {
603
+ data: T;
585
604
  rowIndex: number;
586
605
  rowKey: string;
587
606
  sel: 0 | 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-protocol-types",
3
- "version": "0.8.88",
3
+ "version": "0.8.90",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {},