File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -53,20 +53,18 @@ const emit = defineEmits<{
5353type OrderType = ' key_a_to_z' | ' value_a_to_z' | ' value_z_to_a'
5454
5555interface AggregatorCellProps {
56- aggregatorItems: Record <string , AggregatorTemplate >
57- aggregatorName: string
56+ aggregatorItems? : Record <string , AggregatorTemplate >
57+ aggregatorName? : string
5858 rowOrder: OrderType
5959 colOrder: OrderType
60- vals: string []
61- attributeNames: string []
62- hiddenFromAggregators: string []
60+ vals? : string []
61+ attributeNames? : string []
62+ hiddenFromAggregators? : string []
6363}
6464
6565const props = withDefaults (defineProps <AggregatorCellProps >(), {
6666 aggregatorItems : () => ({}),
6767 aggregatorName: ' Count' ,
68- rowOrder: ' key_a_to_z' ,
69- colOrder: ' key_a_to_z' ,
7068 vals : () => [],
7169 attributeNames : () => [],
7270 hiddenFromAggregators : () => []
Original file line number Diff line number Diff line change @@ -165,7 +165,9 @@ const props = withDefaults(
165165 hiddenFromDragDrop : () => [],
166166 restrictedFromDragDrop : () => [],
167167 menuLimit: 500 ,
168- hideFilterBoxOfUnusedAttributes: false
168+ hideFilterBoxOfUnusedAttributes: false ,
169+ rowOrder: ' key_a_to_z' ,
170+ colOrder: ' key_a_to_z'
169171 }
170172)
171173
Original file line number Diff line number Diff line change @@ -32,4 +32,4 @@ export interface RendererDefinition {
3232 name : string
3333 props ?: Record < string , any >
3434 setup : ( props : any ) => ( ) => VNode
35- }
35+ }
You can’t perform that action at this time.
0 commit comments