66562d4bf78c4bb6bc21e584068799bedb727cb8
[portal/sdk.git] /
1 {
2         "step" : "1",
3         "content": {
4                 "title": "Step 1 : Report Definition",
5                 "sections": [
6                         {
7                                 "title": "",
8                                 "elements": [
9                                 {
10                                                 "input": "hidden",
11                                                 "name": "proj_id",
12                                                 "displayName": "Project Id",
13                                                 "defaultValue": ""
14                                         },                              
15                                         {
16                                                 "input": "text",
17                                                 "name": "reportName",
18                                                 "displayName": "Report Name *:",
19                                                 "defaultValue": ""
20                                         },
21                                         {
22                                                 "input": "textarea",
23                                                 "name": "reportDescr",
24                                                 "displayName": "Report Description:",
25                                                 "style":"width:300px;height:80px;"
26                                         },
27                                         {
28                                                 "input": "select",
29                                                 "name": "reportType",
30                                                 "ngModelName":"selectedReportType.value",
31                                                 "displayName": "Report Type: ",
32                                                 "defaultValue": "no",
33                                                 "action": "",
34                                                 "action_img": "",
35                                                 "optionsName":"reportTypes",
36                                                 "options":[{"value":"linear", "text":"Linear"}]
37                                         },
38                                         {
39                                                 "input": "select",
40                                                 "name": "dataSource",
41                                                 "ngModelName":"selectedDataSource.value",
42                                                 "displayName": "Data Source:",
43                                                 "defaultValue": "no",
44                                                 "action": "",
45                                                 "action_img": "",
46                                                 "optionsName":"DataSources",
47                                                 "options":[{"value":"local", "text":"Local"}]
48                                         },
49                                         {
50                                                 "input": "textarea",
51                                                 "name": "formHelpText",
52                                                 "displayName": "Form Help Text:",
53                                                 "style":"width:300px;height:80px;"
54                                         },
55                                         {
56                                                 "input": "select",
57                                                 "name": "pageSize",
58                                                 "ngModelName":"selectedPageSize.value",
59                                                 "displayName": "Page Size:",
60                                                 "defaultValue": "no",
61                                                 "action": "",
62                                                 "action_img": "",
63                                                 "optionsName":"PageSizes",
64                                                 "options":[ {"value":"10", "text":"10"},
65                                                                         {"value":"20", "text":"20"},
66                                                                         {"value":"50", "text":"50"},
67                                                                         {"value":"100", "text":"100"},
68                                                                         {"value":"500", "text":"500"}
69                                                                         ]
70                                         },
71                                         {
72                                                 "input": "checkboxGroup",
73                                                 "name":"displayArea",
74                                                 "displayName": "Display Area:",
75                                                 "defaultValue": "no",
76                                                 "action": "",
77                                                 "action_img": "",
78                                                 "checkboxes":[{"value":"homeSelected.value", "text":"HOME"},
79                                                                         {"value":"customerSelected.value", "text":"CUSTOMER"},
80                                                                         {"value":"reportsSelected.value", "text":"REPORTS"}
81                                                                 ]
82                                         },                                      
83                                                                         
84                                         {
85                                                 "input": "checkboxGroup",
86                                                 "name": "hideFormFieldsAfterRun",
87                                                 "displayName": "Hide Form Fields After Run:",
88                                                 "defaultValue": "no",
89                                                 "action": "",
90                                                 "action_img": "",
91                                                 "optionsName":"HideFormFieldsAfterRun",
92                                                 "checkboxes":[{"value":"hideFormFieldsAfterRunSelected.value", "text":""}
93                                                         ]
94                                         },
95                                         {
96                                                 "input": "select",
97                                                 "name": "maxRowsInExcelCSVDownload",
98                                                 "ngModelName":"selectedMaxRowsInExcelCSVDownload.value",
99                                                 "displayName": "Max Rows in Excel/CSV Download:",
100                                                 "defaultValue": "no",
101                                                 "action": "",
102                                                 "action_img": "",
103                                                 "optionsName":"PageSizes",
104                                                 "options":[{"value":"500","text":"500"},{"value":"1000","text":"1000"},{"value":"2000","text":"2000"},{"value":"3000","text":"3000"},{"value":"4000","text":"4000"},{"value":"5000","text":"5000"},{"value":"10000","text":"10000"},{"value":"15000","text":"15000"},{"value":"20000","text":"20000"},{"value":"25000","text":"25000"},{"value":"30000","text":"30000"},{"value":"35000","text":"35000"},{"value":"40000","text":"40000"},{"value":"45000","text":"45000"},{"value":"50000","text":"50000"},{"value":"65000","text":"65000"}]
105                                         },
106                                         {
107                                                 "input": "select",
108                                                 "name": "frozenColumns",
109                                                 "ngModelName":"selectedFrozenColumns.value",
110                                                 "displayName": "Columns to be Frozen:",
111                                                 "defaultValue": "",
112                                                 "action": "",
113                                                 "action_img": "",
114                                                 "optionsName":"frozenColumnsOptions",
115                                                 "options":[{"value":"0","text":"0"},{"value":"1","text":"1"},{"value":"2","text":"2"},{"value":"3","text":"3"},{"value":"4","text":"4"}]
116                                         },
117                                         {
118                                                 "input": "select",
119                                                 "name": "dataGridAlign",
120                                                 "ngModelName":"selectedDataGridAlign.value",
121                                                 "displayName": "Data Grid Align:",
122                                                 "defaultValue": "",
123                                                 "action": "",
124                                                 "action_img": "",
125                                                 "optionsName":"selectedDataGridAlignOptions",
126                                                 "options":[{"value":"left","text":"Left"},{"value":"right","text":"Right"},{"value":"center","text":"Center"}]
127                                         },
128                                         {
129                                                 "input": "textarea",
130                                                 "name": "emptyMessage",
131                                                 "displayName": "Empty Message:",
132                                                 "style":"width:300px;height:80px;"
133                                         },
134                                         {
135                                                 "input": "select",
136                                                 "name": "dataContainerHeight",
137                                                 "ngModelName":"selectedDataContainerHeight.value",
138                                                 "displayName": "Height of the Data Container:",
139                                                 "defaultValue": "",
140                                                 "action": "",
141                                                 "action_img": "",
142                                                 "optionsName":"dataContainerHeightOptions",
143                                                 "options":[{"value":"200","text":"200%"},{"value":"190","text":"190%"},{"value":"180","text":"180%"},{"value":"170","text":"170%"},{"value":"160","text":"160%"},{"value":"150","text":"150%"},{"value":"140","text":"140%"},{"value":"130","text":"130%"},{"value":"120","text":"120%"},{"value":"110","text":"110%"},{"value":"100","text":"100%"},{"value":"90","text":"90%"},{"value":"80","text":"80%"},{"value":"70","text":"70%"},{"value":"60","text":"60%"},{"value":"50","text":"50%"},{"value":"40","text":"40%"},{"value":"30","text":"30%"},{"value":"20","text":"20%"},{"value":"10","text":"10%"}]
144                                         },                                                                              
145                                         {
146                                                 "input": "select",
147                                                 "name": "dataContainerWidth",
148                                                 "ngModelName":"selectedDataContainerWidth.value",
149                                                 "displayName": "Width of the Data Container:",
150                                                 "defaultValue": "",
151                                                 "action": "",
152                                                 "action_img": "",
153                                                 "optionsName":"dataContainerWidthOptions",
154                                                 "options":[{"value":"200","text":"200%"},{"value":"190","text":"190%"},{"value":"180","text":"180%"},{"value":"170","text":"170%"},{"value":"160","text":"160%"},{"value":"150","text":"150%"},{"value":"140","text":"140%"},{"value":"130","text":"130%"},{"value":"120","text":"120%"},{"value":"110","text":"110%"},{"value":"100","text":"100%"},{"value":"90","text":"90%"},{"value":"80","text":"80%"},{"value":"70","text":"70%"},{"value":"60","text":"60%"},{"value":"50","text":"50%"},{"value":"40","text":"40%"},{"value":"30","text":"30%"},{"value":"20","text":"20%"},{"value":"10","text":"10%"}]
155                                         },      
156                                         {
157                                                 "input": "checkboxGroup",
158                                                 "name": "displayOptions",
159                                                 "displayName": "Display Options:",
160                                                 "defaultValue": "no",
161                                                 "action": "",
162                                                 "action_img": "",
163                                                 "checkboxes":[{"value":"hideFormFieldsSelected.value", "text":"Hide Form Fields"},
164                                                                         {"value":"hideChartSelected.value", "text":"Hide Chart"},
165                                                                         {"value":"hideReportDataSelected.value", "text":"Hide Report Data"},
166                                                                         {"value":"hideExcelSelected.value", "text":"Hide Excel"},
167                                                                         {"value":"hidePdfSelected.value", "text":"Hide PDF"}
168                                                                 ]
169                                         },
170                                         {
171                                                 "input": "checkboxGroup",
172                                                 "name":"runtimeColSort",
173                                                 "displayName": "Disable column sort at runtime:",
174                                                 "defaultValue": "no",
175                                                 "action": "",
176                                                 "action_img": "",
177                                                 "checkboxes":[{"value":"runtimeColSortDisabled.value", "text":""}
178                                                                 ]
179                                         },                                      
180                                         {
181                                                 "input": "select",
182                                                 "name": "runtimeFormNumberColumns",
183                                                 "ngModelName":"selectedNumFormCols.value",
184                                                 "displayName": "Run-time Form Number Columns:",
185                                                 "defaultValue": "no",
186                                                 "action": "",
187                                                 "action_img": "",
188                                                 "optionsName":"runtimeFormNumberColumns",
189                                                 "options":[ {"value":"1", "text":"1"},
190                                                                         {"value":"2", "text":"2"},
191                                                                         {"value":"3", "text":"3"},
192                                                                         {"value":"3", "text":"4"}
193                                                                 ]
194                                         },
195                                         {
196                                                 "input": "text",
197                                                 "name": "reportTitle",
198                                                 "displayName": "Report Title:",
199                                                 "defaultValue": ""
200                                         },
201                                         {
202                                                 "input": "text",
203                                                 "name": "reportSubTitle",
204                                                 "displayName": "Report Subtitle:",
205                                                 "defaultValue": ""
206                                         }
207                         ]
208                         
209                         },
210                         {
211                                 "title": "finalButton",
212                                 "submitAction" : "",
213                                 "next":"Microservice Config",
214                                 "previous":"none" 
215                         }
216                 ]               
217         }       
218 }