@@ -12,19 +12,19 @@ const output: Schema = {
1212 options : [
1313 {
1414 label : 'Option 1' ,
15- value : 1
15+ value : 1 ,
1616 } ,
1717 {
1818 label : 'Option 2' ,
19- value : 2
20- }
21- ]
19+ value : 2 ,
20+ } ,
21+ ] ,
2222 } ,
2323 {
2424 name : 'text_box_1' ,
2525 label : 'Text Box 1' ,
2626 title : 'Text Box' ,
27- component : componentTypes . TEXT_FIELD
27+ component : componentTypes . TEXT_FIELD ,
2828 } ,
2929 {
3030 name : 'text_box_1_condition' ,
@@ -34,50 +34,50 @@ const output: Schema = {
3434 condition : [
3535 {
3636 when : [ 'text_box_1' , 'text_box_4' ] ,
37- is : 'a'
37+ is : 'a' ,
3838 } ,
3939 {
4040 when : 'text_box_3' ,
41- is : 'x'
42- }
43- ]
41+ is : 'x' ,
42+ } ,
43+ ] ,
4444 } ,
4545 {
4646 name : 'text_box_2' ,
4747 label : 'Text Box 2' ,
4848 helperText : 'Helper text' ,
4949 component : componentTypes . TEXT_FIELD ,
50- hideField : true
50+ hideField : true ,
5151 } ,
5252 {
5353 name : 'text_box_3' ,
5454 label : 'Text Box 3' ,
5555 isRequired : true ,
5656 component : componentTypes . TEXT_FIELD ,
5757 clearedValue : 'override' ,
58- validate : [ { type : validatorTypes . MIN_LENGTH , threshold : 12 , message : 'bar' } ]
58+ validate : [ { type : validatorTypes . MIN_LENGTH , threshold : 12 , message : 'bar' } ] ,
5959 } ,
6060 {
6161 name : 'text_box_4' ,
6262 label : 'Text Box 4' ,
6363 isReadOnly : true ,
64- component : componentTypes . TEXT_FIELD
64+ component : componentTypes . TEXT_FIELD ,
6565 } ,
6666 {
6767 name : 'foo' ,
6868 label : 'Uaaaaaaaaaaaaaaaaa' ,
6969 component : componentTypes . TEXT_FIELD ,
7070 condition : {
7171 when : 'text_box_1' ,
72- is : 'a'
73- }
72+ is : 'a' ,
73+ } ,
7474 } ,
7575 {
7676 name : 'text_box_6' ,
7777 label : 'Text Box unvisible' ,
7878 title : 'Text Box unvisible' ,
7979 isVisible : false ,
80- component : componentTypes . TEXT_FIELD
80+ component : componentTypes . TEXT_FIELD ,
8181 } ,
8282 {
8383 name : 'text_box_7' ,
@@ -86,32 +86,32 @@ const output: Schema = {
8686 validate : [
8787 {
8888 type : validatorTypes . PATTERN ,
89- pattern : '[0-9]'
90- }
89+ pattern : '[0-9]' ,
90+ } ,
9191 ] ,
92- component : componentTypes . TEXT_FIELD
92+ component : componentTypes . TEXT_FIELD ,
9393 } ,
9494 {
9595 name : 'text_box_8' ,
9696 label : 'Text Box integer value' ,
9797 title : 'Text Box integer value' ,
9898 dataType : 'integer' ,
9999 component : componentTypes . TEXT_FIELD ,
100- type : 'number'
100+ type : 'number' ,
101101 } ,
102102 {
103103 name : 'text_box_9' ,
104104 label : 'Text Box string value' ,
105105 title : 'Text Box string value' ,
106106 dataType : 'string' ,
107- component : componentTypes . TEXT_FIELD
107+ component : componentTypes . TEXT_FIELD ,
108108 } ,
109109 {
110110 name : 'dataShower' ,
111111 id : 'shower 1' ,
112112 label : 'Test select' ,
113113 component : 'dataShower' ,
114- loadOptions : ( ) => new Promise ( ( resolve ) => setTimeout ( ( ) => resolve ( { custom : 'data' } ) , 1500 ) )
114+ loadOptions : ( ) => new Promise ( ( resolve ) => setTimeout ( ( ) => resolve ( { custom : 'data' } ) , 1500 ) ) ,
115115 } ,
116116 {
117117 name : 'dataShower' ,
@@ -120,17 +120,17 @@ const output: Schema = {
120120 component : 'dataShower' ,
121121 actions : {
122122 loadOptions : [ 'loadData' , { x : 'y' , pp : 'adsad' } ] ,
123- label : [ 'loadLabel' , 'cosi' ]
124- }
125- }
126- ]
123+ label : [ 'loadLabel' , 'cosi' ] ,
124+ } ,
125+ } ,
126+ ] ,
127127} ;
128128
129129export const defaultValues : Record < string , any > = {
130130 text_box_5 : '"hello"' ,
131131 check_box_2 : 'true' ,
132132 radio_button_4 : '2' ,
133- dropdown_list_2 : '2'
133+ dropdown_list_2 : '2' ,
134134} ;
135135
136- export default output ;
136+ export default output ;
0 commit comments