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