File tree Expand file tree Collapse file tree 16 files changed +73
-75
lines changed Expand file tree Collapse file tree 16 files changed +73
-75
lines changed Original file line number Diff line number Diff line change @@ -44,21 +44,18 @@ body:
44
44
placeholder : v3.0.0
45
45
- type : dropdown
46
46
attributes :
47
- label : Framework
47
+ label : Package
48
48
multiple : true
49
49
options :
50
50
- Core
51
- - React
52
- - Angular
53
- - Vue
54
- - Other (please specify in the Additional context field)
55
- - type : dropdown
56
- attributes :
57
- label : RendererSet
58
- multiple : true
59
- options :
60
- - Material
61
- - Vanilla
51
+ - React Bindings
52
+ - React Material Renderers
53
+ - React Vanilla Renderers
54
+ - Angular Bindings
55
+ - Angular Material Renderers
56
+ - Vue Bindings
57
+ - Vue Vanilla Renderers
58
+ - Vue Vuetify Renderers
62
59
- Other (please specify in the Additional context field)
63
60
- type : textarea
64
61
attributes :
Original file line number Diff line number Diff line change @@ -33,21 +33,18 @@ body:
33
33
## Describe for which setup you like to have the improvement
34
34
- type : dropdown
35
35
attributes :
36
- label : Framework
36
+ label : Package
37
37
multiple : true
38
38
options :
39
39
- Core
40
- - React
41
- - Angular
42
- - Vue
43
- - Other (please specify in the Additional context field)
44
- - type : dropdown
45
- attributes :
46
- label : RendererSet
47
- multiple : true
48
- options :
49
- - Material
50
- - Vanilla
40
+ - React Bindings
41
+ - React Material Renderers
42
+ - React Vanilla Renderers
43
+ - Angular Bindings
44
+ - Angular Material Renderers
45
+ - Vue Bindings
46
+ - Vue Vanilla Renderers
47
+ - Vue Vuetify Renderers
51
48
- Other (please specify in the Additional context field)
52
49
- type : textarea
53
50
attributes :
Original file line number Diff line number Diff line change 71
71
cd ../vanilla-renderers && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}" && pnpm pkg set peerDependencies.@jsonforms/react="${{ github.event.inputs.next_version }}"
72
72
cd ../vue && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}"
73
73
cd ../vue-vanilla && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}" && pnpm pkg set peerDependencies.@jsonforms/vue="${{ github.event.inputs.next_version }}"
74
+ cd ../vue-vuetify && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}" && pnpm pkg set peerDependencies.@jsonforms/vue="${{ github.event.inputs.next_version }}"
74
75
75
76
- name : " Tag and Commit"
76
77
run : |
Original file line number Diff line number Diff line change 70
70
"@angular/router" : " ^17.0.0 || ^18.0.0" ,
71
71
"@jsonforms/angular" : " 3.4.0-alpha.2" ,
72
72
"@jsonforms/core" : " 3.4.0-alpha.2" ,
73
- "dayjs" : " ^1.11.7 " ,
73
+ "dayjs" : " ^1.11.10 " ,
74
74
"rxjs" : " ^6.6.0 || ^7.4.0"
75
75
},
76
76
"dependencies" : {
Original file line number Diff line number Diff line change @@ -1249,6 +1249,7 @@ export const mapStateToLabelProps = (
1249
1249
config : getConfig ( state ) ,
1250
1250
renderers : props . renderers || getRenderers ( state ) ,
1251
1251
cells : props . cells || getCells ( state ) ,
1252
+ uischema,
1252
1253
} ;
1253
1254
} ;
1254
1255
Original file line number Diff line number Diff line change 26
26
import find from 'lodash/find' ;
27
27
import type { JsonSchema } from '../models' ;
28
28
29
- export const getFirstPrimitiveProp = ( schema : any ) => {
30
- if ( schema . properties ) {
31
- return find ( Object . keys ( schema . properties ) , ( propName ) => {
32
- const prop = schema . properties [ propName ] ;
33
- return (
34
- prop . type === 'string' ||
35
- prop . type === 'number' ||
36
- prop . type === 'integer'
37
- ) ;
38
- } ) ;
29
+ export const getFirstPrimitiveProp = ( schema : unknown ) => {
30
+ if (
31
+ schema &&
32
+ typeof schema === 'object' &&
33
+ 'properties' in schema &&
34
+ schema . properties
35
+ ) {
36
+ return find (
37
+ Object . keys ( schema . properties ) ,
38
+ ( propName : keyof typeof schema . properties ) => {
39
+ const prop : unknown = schema . properties [ propName ] ;
40
+ return (
41
+ prop &&
42
+ typeof prop === 'object' &&
43
+ 'type' in prop &&
44
+ ( prop . type === 'string' ||
45
+ prop . type === 'number' ||
46
+ prop . type === 'integer' )
47
+ ) ;
48
+ }
49
+ ) ;
39
50
}
40
51
return undefined ;
41
52
} ;
Original file line number Diff line number Diff line change 79
79
]
80
80
},
81
81
"dependencies" : {
82
- "@date-io/dayjs" : " 1.3.13 " ,
82
+ "@date-io/dayjs" : " ^3.0.0 " ,
83
83
"dayjs" : " 1.10.7" ,
84
84
"lodash" : " ^4.17.21"
85
85
},
Original file line number Diff line number Diff line change @@ -36,10 +36,12 @@ const theme = computed(() => {
36
36
<example-app-bar ></example-app-bar >
37
37
<example-drawer ></example-drawer >
38
38
<example-settings ></example-settings >
39
- <v-main >
40
- <example-view v-if =" example" :example =" example" ></example-view >
41
- <home-view v-else ></home-view >
42
- </v-main >
39
+ <suspense >
40
+ <v-main >
41
+ <example-view v-if =" example" :example =" example" ></example-view >
42
+ <home-view v-else ></home-view >
43
+ </v-main >
44
+ </suspense >
43
45
</v-app >
44
46
</v-theme-provider >
45
47
</v-locale-provider >
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ import examples from '../examples';
4
4
import { useAppStore } from ' ../store' ;
5
5
6
6
const appStore = useAppStore ();
7
+
8
+ const handleExampleClick = (exampleName : string ) => {
9
+ appStore .exampleName = exampleName ;
10
+ };
7
11
</script >
8
12
9
13
<template >
@@ -28,10 +32,9 @@ const appStore = useAppStore();
28
32
:value =" example.name"
29
33
link
30
34
color =" primary"
35
+ @click =" handleExampleClick(example.name)"
31
36
>
32
- <v-list-item-title @click =" appStore.exampleName = example.name" >{{
33
- example.label
34
- }}</v-list-item-title >
37
+ <v-list-item-title >{{ example.label }}</v-list-item-title >
35
38
</v-list-item >
36
39
</v-list >
37
40
</v-navigation-drawer >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments