File tree Expand file tree Collapse file tree 6 files changed +44
-18
lines changed Expand file tree Collapse file tree 6 files changed +44
-18
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <v-card v-if =" control.visible" :class =" styles.arrayList.root" elevation =" 0" >
3
- <v-card-title >
4
- <v-toolbar flat :class =" styles.arrayList.toolbar" >
2
+ <v-card
3
+ v-if =" control.visible"
4
+ :class =" styles.arrayList.root"
5
+ elevation =" 0"
6
+ v-bind =" vuetifyProps('v-card')"
7
+ >
8
+ <v-card-title
9
+ :class =" styles.arrayList.title"
10
+ v-bind =" vuetifyProps('v-card-title')"
11
+ >
12
+ <v-toolbar
13
+ flat
14
+ :class =" styles.arrayList.toolbar"
15
+ v-bind =" vuetifyProps('v-toolbar')"
16
+ >
5
17
<v-toolbar-title :class =" styles.arrayList.label" >{{
6
18
computedLabel
7
19
}}</v-toolbar-title >
36
48
</v-tooltip >
37
49
</v-toolbar >
38
50
</v-card-title >
39
- <v-card-text >
51
+ <v-card-text v-bind = " vuetifyProps('v-card-text') " >
40
52
<v-container justify-space-around align-content-center >
41
53
<v-row justify =" center" >
42
54
<v-table
Original file line number Diff line number Diff line change 6
6
:path =" path"
7
7
/>
8
8
9
- <v-tabs v-model =" selectIndex" @update:model-value =" handleTabChange" >
9
+ <v-tabs
10
+ v-model =" selectIndex"
11
+ @update:model-value =" handleTabChange"
12
+ :disabled =" !control.enabled"
13
+ >
10
14
<v-tab
11
15
v-for =" (oneOfRenderInfo, oneOfIndex) in oneOfRenderInfos"
12
16
:key =" `${control.path}-${oneOfIndex}`"
Original file line number Diff line number Diff line change 1
1
<template >
2
- <v-card v-if =" control.visible" :class =" styles.arrayList.root" >
3
- <v-card-title >
4
- <v-toolbar flat :class =" styles.arrayList.toolbar" >
2
+ <v-card
3
+ v-if =" control.visible"
4
+ :class =" styles.arrayList.root"
5
+ v-bind =" vuetifyProps('v-card')"
6
+ >
7
+ <v-card-title
8
+ :class =" styles.arrayList.title"
9
+ v-bind =" vuetifyProps('v-card-title')"
10
+ >
11
+ <v-toolbar
12
+ flat
13
+ :class =" styles.arrayList.toolbar"
14
+ v-bind =" vuetifyProps('v-toolbar')"
15
+ >
5
16
<v-toolbar-title :class =" styles.arrayList.label" >{{
6
17
computedLabel
7
18
}}</v-toolbar-title >
45
56
</slot >
46
57
</v-toolbar >
47
58
</v-card-title >
48
- <v-card-text >
59
+ <v-card-text v-bind = " vuetifyProps('v-card-text') " >
49
60
<v-container
50
61
justify-space-around
51
62
align-content-center
196
207
{{ control.translations.noDataMessage }}
197
208
</v-container >
198
209
</v-card-text >
199
- <v-card-actions v-if =" $slots.actions" class =" pb-8" >
210
+ <v-card-actions
211
+ v-if =" $slots.actions"
212
+ class =" pb-8"
213
+ v-bind =" vuetifyProps('v-card-actions')"
214
+ >
200
215
<slot
201
216
name =" actions"
202
217
:addClass =" styles.arrayList.addButton"
Original file line number Diff line number Diff line change 73
73
</template >
74
74
75
75
<script lang="ts">
76
- import {
77
- and ,
78
- categorizationHasCategory ,
79
- isCategorization ,
80
- rankWith ,
81
- type JsonFormsRendererRegistryEntry ,
82
- type Layout ,
83
- } from ' @jsonforms/core' ;
76
+ import { type Layout } from ' @jsonforms/core' ;
84
77
import {
85
78
DispatchRenderer ,
86
79
rendererProps ,
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export const defaultStyles: Styles = {
23
23
arrayList : {
24
24
root : 'array-list' ,
25
25
toolbar : 'array-list-toolbar' ,
26
+ title : 'array-list-title' ,
26
27
validationIcon : 'array-list-validation' ,
27
28
addButton : 'array-list-add' ,
28
29
label : 'array-list-label' ,
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ export interface Styles {
37
37
arrayList : {
38
38
root ?: string ;
39
39
toolbar ?: string ;
40
+ title ?: string ;
40
41
validationIcon ?: string ;
41
42
container ?: string ;
42
43
addButton ?: string ;
You can’t perform that action at this time.
0 commit comments