File tree Expand file tree Collapse file tree 4 files changed +47
-47
lines changed
scripts/installer/frameworks/react/src/ui-framework/types Expand file tree Collapse file tree 4 files changed +47
-47
lines changed Original file line number Diff line number Diff line change @@ -10,32 +10,32 @@ interface Components {
10
10
Input : ( props : any ) => ReactElement < any , string | JSXElementConstructor < any > > ;
11
11
12
12
// Optional Components
13
- select ?: Function ;
14
- radioGroup ?: Function ;
15
- autoComplete ?: Function ;
16
- picker ?: Function ;
17
- upload ?: Function ;
18
- richTextEditor ?: Function ;
19
- ratings ?: Function ;
13
+ select ?: any ;
14
+ radioGroup ?: any ;
15
+ autoComplete ?: any ;
16
+ picker ?: any ;
17
+ upload ?: any ;
18
+ richTextEditor ?: any ;
19
+ ratings ?: any ;
20
20
} ,
21
21
null : {
22
- EmptyDiv : Function ;
22
+ EmptyDiv : any ;
23
23
} ,
24
24
array : {
25
- Select : Function ;
25
+ Select : any ;
26
26
27
27
// Optional Components
28
- autoComplete ?: Function ;
28
+ autoComplete ?: any ;
29
29
30
30
// React Specific Components
31
- creatableSelect ?: Function ;
32
- reactSelect ?: Function ;
31
+ creatableSelect ?: any ;
32
+ reactSelect ?: any ;
33
33
} ,
34
34
boolean : {
35
- Checkbox : Function ;
35
+ Checkbox : any ;
36
36
37
37
// Optional Components
38
- switch ?: Function ;
38
+ switch ?: any ;
39
39
} ,
40
40
}
41
41
@@ -71,39 +71,39 @@ export interface UIFramework {
71
71
ValidationMessages : any ;
72
72
} ;
73
73
wrapperComponents : {
74
- InputLabel : Function ;
75
- FormLabel : Function ;
76
- AppBar : Function ;
77
- Tabs : Function ;
78
- Tab : Function ;
79
- Box : Function ;
80
- CircularProgress : Function ;
81
- Typography : Function ;
82
- Divider : Function ;
83
- IconButton : Function ;
84
- AddCircle : Function ;
85
- Stepper : Function ;
86
- Step : Function ;
87
- StepLabel : Function ;
88
- Button : Function ;
89
- ArrowUpward : Function ;
90
- ArrowDownward : Function ;
91
- RemoveCircle : Function ;
92
- FormControl : Function ;
93
- FormGroup : Function ;
94
- FormHelperText : Function ;
95
- ActiveComp : Function ;
74
+ InputLabel : any ;
75
+ FormLabel : any ;
76
+ AppBar : any ;
77
+ Tabs : any ;
78
+ Tab : any ;
79
+ Box : any ;
80
+ CircularProgress : any ;
81
+ Typography : any ;
82
+ Divider : any ;
83
+ IconButton : any ;
84
+ AddCircle : any ;
85
+ Stepper : any ;
86
+ Step : any ;
87
+ StepLabel : any ;
88
+ Button : any ;
89
+ ArrowUpward : any ;
90
+ ArrowDownward : any ;
91
+ RemoveCircle : any ;
92
+ FormControl : any ;
93
+ FormGroup : any ;
94
+ FormHelperText : any ;
95
+ ActiveComp : any ;
96
96
Div : FunctionComponent < { className ?: any ; style ?: React . CSSProperties ; } > ;
97
97
Span : FunctionComponent < { className ?: any ; style ?: React . CSSProperties ; } > ;
98
98
FieldsetHTML : FunctionComponent < { className : any ; } > ;
99
99
Para : FunctionComponent < { className : any ; } > ;
100
100
} ;
101
101
styles : {
102
102
FieldSetStyles : any ;
103
- FormFieldStyles : Function ;
104
- FormStyles : Function ;
103
+ FormFieldStyles : any ;
104
+ FormStyles : any ;
105
105
defaultTheme : any ;
106
- FieldStyles : Function ;
107
- FormStepperStyles : Function ;
106
+ FieldStyles : any ;
107
+ FormStepperStyles : any ;
108
108
} ;
109
109
}
Original file line number Diff line number Diff line change 1
- import Form from './framework/Form ' ;
1
+ import Form from './framework' ;
2
2
3
3
export default Form ;
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ export type ConfiguredFieldProps = {
5
5
data ?: any ;
6
6
type ?: string ;
7
7
descriptionText ?: string ;
8
- activeCompColor : string ;
8
+ activeCompColor ? : string ;
9
9
helpText ?: string ;
10
10
Component ?: ( props : any ) => ReactElement ;
11
- LabelComponent ?: ( props : any ) => any ;
11
+ LabelComponent ?: any ;
12
12
labelComponentProps ?: any ;
13
13
title ?: string ;
14
14
className ?: string ;
15
- componentProps : any ;
15
+ componentProps ? : any ;
16
16
id ?: string ;
17
17
htmlid ?: string ;
18
18
isHidden ?: boolean ;
Original file line number Diff line number Diff line change 12
12
"@framework/*" : [" ./src/framework/*" ],
13
13
},
14
14
"forceConsistentCasingInFileNames" : true ,
15
- "module" : " es6 " ,
15
+ "module" : " esnext " ,
16
16
"moduleResolution" : " node" ,
17
17
"preserveConstEnums" : true ,
18
18
"declaration" : true ,
21
21
"noLib" : false ,
22
22
"emitDecoratorMetadata" : true ,
23
23
"experimentalDecorators" : true ,
24
- "target" : " es6 " ,
24
+ "target" : " esnext " ,
25
25
"resolveJsonModule" : true ,
26
26
"sourceMap" : true ,
27
27
"allowJs" : true ,
53
53
" src/**/*" ,
54
54
" node_modules/selection-is-backward/*"
55
55
]
56
- }
56
+ }
You can’t perform that action at this time.
0 commit comments