cc-core-cli 1.0.133 → 1.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +4 -4
- package/package.json +1 -1
- package/template/admin_v3/src/pages/api/database/[type]/index.ts +23 -0
- package/template/admin_v3/src/pages/api/layout_chart_widget/[name]/index.ts +18 -0
- package/template/admin_v3/src/pages/api/layout_chart_widget/compare_matrix.ts +17 -0
- package/template/admin_v3/src/pages/api/redis/[type]/[connect]/index.ts +20 -0
- package/template/admin_v3/src/pages/api/redis/custom.ts +10 -0
- package/template/admin_v3/src/pages/api/setting/module/[code].ts +34 -0
- package/template/admin_v3/src/pages/api/template/[type].ts +21 -0
- package/template/admin_v3/src/pages/api/template/bulk_print/[id].ts +15 -0
- package/template/admin_v3/src/pages/api/template/print/[id]/[doc_ref].ts +11 -0
- package/template/core/src/main.ts +4 -1
- package/template/core_v3/Dockerfile +60 -0
- package/template/core_v3/_env +12 -0
- package/template/core_v3/_gitignore +52 -0
- package/template/core_v3/_npmrc +1 -0
- package/template/core_v3/buildspec.yml +29 -0
- package/template/core_v3/docker-compose.yml +11 -0
- package/template/core_v3/jest.config.js +43 -0
- package/template/core_v3/newrelic.sh +15 -0
- package/template/core_v3/package.json +54 -0
- package/template/core_v3/post-install.js +34 -0
- package/template/core_v3/sonar-project.properties +27 -0
- package/template/core_v3/src/app.controller.ts +39 -0
- package/template/core_v3/src/app.module.ts +174 -0
- package/template/core_v3/src/app.service.ts +21 -0
- package/template/core_v3/src/app_cluster.service.ts +61 -0
- package/template/core_v3/src/core/core.controller.ts +444 -0
- package/template/core_v3/src/core/core.module.ts +90 -0
- package/template/core_v3/src/core/core.service.ts +737 -0
- package/template/core_v3/src/core/setting/_settings/about.layout.json +105 -0
- package/template/core_v3/src/core/setting/_settings/cache.layout.json +309 -0
- package/template/core_v3/src/core/setting/_settings/global_login.json +299 -0
- package/template/core_v3/src/core/setting/_settings/header_footer.json +83 -0
- package/template/core_v3/src/core/setting/_settings/import_export.layout.json +69 -0
- package/template/core_v3/src/core/setting/_settings/list_detail.json +685 -0
- package/template/core_v3/src/core/setting/_settings/logs.layout.json +39 -0
- package/template/core_v3/src/core/setting/_settings/queue.layout.json +63 -0
- package/template/core_v3/src/core/setting/_settings/schedule.layout.json +132 -0
- package/template/core_v3/src/core/setting/_settings/security.layout.json +1110 -0
- package/template/core_v3/src/core/setting/_settings/storage.layout.json +158 -0
- package/template/core_v3/src/core/setting/_settings/swagger.layout.json +128 -0
- package/template/core_v3/src/core/setting/_settings/toast.json +344 -0
- package/template/core_v3/src/main.ts +308 -0
- package/template/core_v3/src/modules/modules.ts +16 -0
- package/template/core_v3/src/private.controller.ts +18 -0
- package/template/core_v3/storage/documents/index.html +14 -0
- package/template/core_v3/storage/public/system/menu/icons/company.svg +1 -0
- package/template/core_v3/storage/public/system/menu/icons/deploy.svg +2 -0
- package/template/core_v3/storage/public/system/menu/icons/entities.svg +55 -0
- package/template/core_v3/storage/public/system/menu/icons/files.svg +1 -0
- package/template/core_v3/storage/public/system/menu/icons/gateway.svg +1 -0
- package/template/core_v3/storage/public/system/menu/icons/import-export.svg +41 -0
- package/template/core_v3/storage/public/system/menu/icons/integration.svg +1 -0
- package/template/core_v3/storage/public/system/menu/icons/master_data.svg +53 -0
- package/template/core_v3/storage/public/system/menu/icons/modules.svg +79 -0
- package/template/core_v3/storage/public/system/menu/icons/monitoring.svg +114 -0
- package/template/core_v3/storage/public/system/menu/icons/pipeline.svg +1 -0
- package/template/core_v3/storage/public/system/menu/icons/provider.svg +1 -0
- package/template/core_v3/storage/public/system/menu/icons/report.svg +69 -0
- package/template/core_v3/storage/public/system/menu/icons/schedule.svg +1 -0
- package/template/core_v3/storage/public/system/menu/icons/security.svg +1 -0
- package/template/core_v3/storage/public/system/menu/icons/storage.svg +1 -0
- package/template/core_v3/storage/public/system/menu/icons/template.svg +44 -0
- package/template/core_v3/storage/public/system/menu/icons/theme-layout.svg +1 -0
- package/template/core_v3/test/__mocks__/cc-core-lib.d.ts +161 -0
- package/template/core_v3/test/__mocks__/cc-core-lib.js +311 -0
- package/template/core_v3/test/__mocks__/pdf-img-convert.js +5 -0
- package/template/core_v3/test/jest.setup.ts +25 -0
- package/template/core_v3/tsconfig.build.json +4 -0
- package/template/core_v3/tsconfig.json +22 -0
- package/template/core_v3/tsconfig.test.json +17 -0
- package/template/core_v3/version.json +5 -0
- package/template/admin_v3/src/pages/api/redis/[connect]/index.ts +0 -0
- package/template/admin_v3/src/pages/api/redis/index.ts +0 -0
|
@@ -0,0 +1,685 @@
|
|
|
1
|
+
{
|
|
2
|
+
"detail": {
|
|
3
|
+
"title": {},
|
|
4
|
+
"blocks": [
|
|
5
|
+
{
|
|
6
|
+
"key": "e6127290f7644b3de6dd",
|
|
7
|
+
"type": "column",
|
|
8
|
+
"layout": {
|
|
9
|
+
"num_of_col": 6,
|
|
10
|
+
"fields": [
|
|
11
|
+
[
|
|
12
|
+
{
|
|
13
|
+
"field": "color_picker",
|
|
14
|
+
"type": "standard_component",
|
|
15
|
+
"unique_key": "standard_component_color_picker_5d60c19bef62742224f4",
|
|
16
|
+
"key": "list_detail.primary_color",
|
|
17
|
+
"label": "Primary Color",
|
|
18
|
+
"required": false,
|
|
19
|
+
"link_type": "key",
|
|
20
|
+
"trigger": [],
|
|
21
|
+
"allow_color_code": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"field": "color_picker",
|
|
25
|
+
"type": "standard_component",
|
|
26
|
+
"unique_key": "standard_component_color_picker_54f666b6492e54254ffc",
|
|
27
|
+
"key": "list_detail.hover_color",
|
|
28
|
+
"label": "Hover Color",
|
|
29
|
+
"link_type": "key",
|
|
30
|
+
"trigger": [],
|
|
31
|
+
"allow_color_code": false
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"field": "color_picker",
|
|
35
|
+
"type": "standard_component",
|
|
36
|
+
"unique_key": "standard_component_color_picker_fa5c48a6e723ed0904a7",
|
|
37
|
+
"key": "list_detail.table_header_sort_bg",
|
|
38
|
+
"label": "Table Header Sort Background Color",
|
|
39
|
+
"link_type": "key",
|
|
40
|
+
"trigger": []
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"field": "color_picker",
|
|
44
|
+
"type": "standard_component",
|
|
45
|
+
"unique_key": "standard_component_color_picker_ed9f7a7f83fce9d196f1",
|
|
46
|
+
"key": "list_detail.group_table_headers_bg",
|
|
47
|
+
"label": "Table Header Group Background Color",
|
|
48
|
+
"link_type": "key",
|
|
49
|
+
"trigger": []
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"field": "color_picker",
|
|
53
|
+
"type": "standard_component",
|
|
54
|
+
"unique_key": "standard_component_color_picker_ed8i2a7f83fce9d196f1",
|
|
55
|
+
"key": "list_detail.frame_border_color",
|
|
56
|
+
"label": "Frame Border Color",
|
|
57
|
+
"link_type": "key",
|
|
58
|
+
"trigger": []
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
{
|
|
63
|
+
"field": "color_picker",
|
|
64
|
+
"type": "standard_component",
|
|
65
|
+
"unique_key": "standard_component_color_picker_2b630c4dd8fd1d43f52f",
|
|
66
|
+
"key": "list_detail.font_color",
|
|
67
|
+
"label": "Font Color",
|
|
68
|
+
"required": false,
|
|
69
|
+
"link_type": "key",
|
|
70
|
+
"trigger": [],
|
|
71
|
+
"allow_color_code": false
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"field": "color_picker",
|
|
75
|
+
"type": "standard_component",
|
|
76
|
+
"unique_key": "standard_component_color_picker_e80e136ba6590b1ccfaa",
|
|
77
|
+
"key": "list_detail.background_color",
|
|
78
|
+
"label": "Background Color",
|
|
79
|
+
"link_type": "key",
|
|
80
|
+
"trigger": []
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"field": "color_picker",
|
|
84
|
+
"type": "standard_component",
|
|
85
|
+
"unique_key": "standard_component_color_picker_8afe80f33024eb6ef096",
|
|
86
|
+
"key": "list_detail.table_body_sort_bg",
|
|
87
|
+
"label": "Table Body Sort Background Color",
|
|
88
|
+
"link_type": "key",
|
|
89
|
+
"trigger": []
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"field": "color_picker",
|
|
93
|
+
"type": "standard_component",
|
|
94
|
+
"unique_key": "standard_component_color_picker_ed5f7a7f83fce9d196f3",
|
|
95
|
+
"key": "list_detail.boolean_value_true",
|
|
96
|
+
"label": "Boolean true value color",
|
|
97
|
+
"link_type": "key",
|
|
98
|
+
"trigger": []
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"field": "color_picker",
|
|
102
|
+
"type": "standard_component",
|
|
103
|
+
"unique_key": "standard_component_color_picker_c8e4d7a2f90b3c7e1f04",
|
|
104
|
+
"key": "list_detail.page_header",
|
|
105
|
+
"label": "Page Header Background Color",
|
|
106
|
+
"link_type": "key",
|
|
107
|
+
"trigger": []
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
[
|
|
111
|
+
{
|
|
112
|
+
"field": "color_picker",
|
|
113
|
+
"type": "standard_component",
|
|
114
|
+
"unique_key": "standard_component_color_picker_7d8f2c4b1e3a9f6c0d82",
|
|
115
|
+
"key": "list_detail.font_dark_color",
|
|
116
|
+
"label": "Font Dark Color",
|
|
117
|
+
"link_type": "key",
|
|
118
|
+
"trigger": []
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"field": "color_picker",
|
|
122
|
+
"type": "standard_component",
|
|
123
|
+
"unique_key": "standard_component_color_picker_10ddfca4867e5b6b6eb0",
|
|
124
|
+
"key": "list_detail.action_color",
|
|
125
|
+
"label": "Action Color",
|
|
126
|
+
"link_type": "key",
|
|
127
|
+
"trigger": [],
|
|
128
|
+
"allow_color_code": false
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"field": "color_picker",
|
|
132
|
+
"type": "standard_component",
|
|
133
|
+
"unique_key": "standard_component_color_picker_1143bd31e6af3b4166ce",
|
|
134
|
+
"key": "list_detail.table_header_bg",
|
|
135
|
+
"label": "Table Header Background Color",
|
|
136
|
+
"link_type": "key",
|
|
137
|
+
"trigger": []
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"field": "color_picker",
|
|
141
|
+
"type": "standard_component",
|
|
142
|
+
"unique_key": "standard_component_color_picker_t4PqXNSVk5c3qz23vydl",
|
|
143
|
+
"key": "list_detail.table_row_select_color",
|
|
144
|
+
"label": "Table Row Select Color",
|
|
145
|
+
"link_type": "key",
|
|
146
|
+
"trigger": []
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"field": "color_picker",
|
|
150
|
+
"type": "standard_component",
|
|
151
|
+
"unique_key": "standard_component_color_picker_ed5f7a7f83fce9d196f8",
|
|
152
|
+
"key": "list_detail.boolean_value_false",
|
|
153
|
+
"label": "Boolean false value color",
|
|
154
|
+
"link_type": "key",
|
|
155
|
+
"trigger": []
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
[
|
|
159
|
+
{
|
|
160
|
+
"field": "color_picker",
|
|
161
|
+
"type": "standard_component",
|
|
162
|
+
"unique_key": "standard_component_color_picker_s3yg0kNOespXpFs1FJ6I",
|
|
163
|
+
"key": "list_detail.select_color",
|
|
164
|
+
"label": "Select Color",
|
|
165
|
+
"link_type": "key",
|
|
166
|
+
"trigger": [],
|
|
167
|
+
"allow_color_code": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"field": "color_picker",
|
|
171
|
+
"type": "standard_component",
|
|
172
|
+
"unique_key": "standard_component_color_picker_f5d7a0943a5fa4c84d89",
|
|
173
|
+
"key": "list_detail.table_header_color",
|
|
174
|
+
"label": "Table Header Text Color",
|
|
175
|
+
"link_type": "key",
|
|
176
|
+
"trigger": []
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"field": "color_picker",
|
|
180
|
+
"type": "standard_component",
|
|
181
|
+
"unique_key": "standard_component_color_picker_ed5f7a7f83fce9d196a0",
|
|
182
|
+
"key": "list_detail.table_row_hover_bg",
|
|
183
|
+
"label": "Table Row Hover Background Color",
|
|
184
|
+
"link_type": "key",
|
|
185
|
+
"trigger": []
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"field": "color_picker",
|
|
189
|
+
"type": "standard_component",
|
|
190
|
+
"unique_key": "standard_component_color_picker_ed8j0a7f83fce9d196f1",
|
|
191
|
+
"key": "list_detail.frame_bg_color",
|
|
192
|
+
"label": "Frame Background Color",
|
|
193
|
+
"link_type": "key",
|
|
194
|
+
"trigger": []
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"field": "color_picker",
|
|
198
|
+
"type": "standard_component",
|
|
199
|
+
"unique_key": "standard_component_color_picker_a1f6e7c5d3b2910e4c73",
|
|
200
|
+
"key": "list_detail.input",
|
|
201
|
+
"label": "Input Color",
|
|
202
|
+
"link_type": "key",
|
|
203
|
+
"trigger": []
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"key": "aa3dd49c2e6f425e96f6",
|
|
211
|
+
"type": "column",
|
|
212
|
+
"layout": {
|
|
213
|
+
"num_of_col": 3,
|
|
214
|
+
"fields": [
|
|
215
|
+
[
|
|
216
|
+
{
|
|
217
|
+
"field": "input",
|
|
218
|
+
"type": "standard_component",
|
|
219
|
+
"unique_key": "standard_component_input_4b5e45f150ffb34a6158",
|
|
220
|
+
"key": "list_detail.format_date",
|
|
221
|
+
"label": "Date Format",
|
|
222
|
+
"description": "Moment format",
|
|
223
|
+
"required": true,
|
|
224
|
+
"default_value": "D/MMM/YY",
|
|
225
|
+
"link_type": "key",
|
|
226
|
+
"entity": "not_use",
|
|
227
|
+
"input_type": "single_line",
|
|
228
|
+
"trigger": []
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"field": "select",
|
|
232
|
+
"type": "standard_component",
|
|
233
|
+
"unique_key": "standard_component_select_2fa76b39aec9ea0569a9",
|
|
234
|
+
"key": "list_detail.record_per_page",
|
|
235
|
+
"label": "Record Per Page",
|
|
236
|
+
"required": true,
|
|
237
|
+
"default_value": [
|
|
238
|
+
"10",
|
|
239
|
+
"20",
|
|
240
|
+
"50",
|
|
241
|
+
"100"
|
|
242
|
+
],
|
|
243
|
+
"link_type": "key",
|
|
244
|
+
"entity": "custom",
|
|
245
|
+
"options": [],
|
|
246
|
+
"mode": "tags",
|
|
247
|
+
"trigger": []
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
[
|
|
251
|
+
{
|
|
252
|
+
"field": "input",
|
|
253
|
+
"type": "standard_component",
|
|
254
|
+
"unique_key": "standard_component_input_21ba78e0559cfaba96ee",
|
|
255
|
+
"key": "list_detail.format_datetime",
|
|
256
|
+
"label": "DateTime Format",
|
|
257
|
+
"description": "Moment format",
|
|
258
|
+
"required": true,
|
|
259
|
+
"default_value": "D/MMM/YY h:mm A",
|
|
260
|
+
"link_type": "key",
|
|
261
|
+
"entity": "not_use",
|
|
262
|
+
"input_type": "single_line",
|
|
263
|
+
"trigger": []
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
[
|
|
267
|
+
{
|
|
268
|
+
"field": "input",
|
|
269
|
+
"type": "standard_component",
|
|
270
|
+
"unique_key": "standard_component_input_fd81ed9966efd0c8489a",
|
|
271
|
+
"key": "list_detail.format_time",
|
|
272
|
+
"label": "Time Format",
|
|
273
|
+
"description": "Moment format",
|
|
274
|
+
"default_value": "h:mm A",
|
|
275
|
+
"link_type": "key",
|
|
276
|
+
"entity": "not_use",
|
|
277
|
+
"input_type": "single_line",
|
|
278
|
+
"trigger": []
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"key": "4eba966610bb08f1fcec",
|
|
286
|
+
"type": "column",
|
|
287
|
+
"layout": {
|
|
288
|
+
"num_of_col": 1,
|
|
289
|
+
"fields": [
|
|
290
|
+
[
|
|
291
|
+
{
|
|
292
|
+
"field": "label",
|
|
293
|
+
"type": "standard_component",
|
|
294
|
+
"unique_key": "standard_component_label_06e402ade005eb91e307",
|
|
295
|
+
"label": "Currency",
|
|
296
|
+
"entity": "test_setting_layout",
|
|
297
|
+
"format": "<p><br></p><p><strong style=\"font-size: 1.17em;\">Currency</strong><br></p>",
|
|
298
|
+
"hide_label": true,
|
|
299
|
+
"show_empty": false
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"key": "b9ff2d5616410cb26f53",
|
|
307
|
+
"type": "column",
|
|
308
|
+
"layout": {
|
|
309
|
+
"num_of_col": 2,
|
|
310
|
+
"fields": [
|
|
311
|
+
[
|
|
312
|
+
{
|
|
313
|
+
"field": "input",
|
|
314
|
+
"type": "standard_component",
|
|
315
|
+
"unique_key": "standard_component_input_563d50f529d10b23b6dd",
|
|
316
|
+
"key": "list_detail.prefix",
|
|
317
|
+
"label": "Prefix",
|
|
318
|
+
"link_type": "key",
|
|
319
|
+
"entity": "not_use",
|
|
320
|
+
"input_type": "single_line",
|
|
321
|
+
"trigger": [],
|
|
322
|
+
"use_function": false,
|
|
323
|
+
"name": "prefix"
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
[
|
|
327
|
+
{
|
|
328
|
+
"field": "input",
|
|
329
|
+
"type": "standard_component",
|
|
330
|
+
"unique_key": "standard_component_input_84ec46a8d1ef174c16df",
|
|
331
|
+
"key": "list_detail.suffix",
|
|
332
|
+
"label": "Suffix",
|
|
333
|
+
"link_type": "key",
|
|
334
|
+
"entity": "not_use",
|
|
335
|
+
"input_type": "single_line",
|
|
336
|
+
"trigger": [],
|
|
337
|
+
"use_function": false,
|
|
338
|
+
"name": "suffix"
|
|
339
|
+
}
|
|
340
|
+
]
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"key": "7c7e7719e4db3a2eaeb9",
|
|
346
|
+
"type": "column",
|
|
347
|
+
"layout": {
|
|
348
|
+
"num_of_col": 3,
|
|
349
|
+
"fields": [
|
|
350
|
+
[
|
|
351
|
+
{
|
|
352
|
+
"field": "input",
|
|
353
|
+
"type": "standard_component",
|
|
354
|
+
"unique_key": "standard_component_input_fc3de00bbf8d0a1fcabd",
|
|
355
|
+
"key": "list_detail.thousand_separator",
|
|
356
|
+
"label": "Thousand Separator",
|
|
357
|
+
"required": true,
|
|
358
|
+
"link_type": "key",
|
|
359
|
+
"entity": "not_use",
|
|
360
|
+
"input_type": "single_line",
|
|
361
|
+
"trigger": [],
|
|
362
|
+
"use_function": false,
|
|
363
|
+
"name": "thousand_separator",
|
|
364
|
+
"reg_exp_pattern": "^[^0-9]*$"
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
[
|
|
368
|
+
{
|
|
369
|
+
"field": "input",
|
|
370
|
+
"type": "standard_component",
|
|
371
|
+
"unique_key": "standard_component_input_14fc58cca76df191c0ee",
|
|
372
|
+
"key": "list_detail.decimal_separator",
|
|
373
|
+
"label": "Decimal Separator",
|
|
374
|
+
"required": true,
|
|
375
|
+
"link_type": "key",
|
|
376
|
+
"entity": "not_use",
|
|
377
|
+
"input_type": "single_line",
|
|
378
|
+
"trigger": [],
|
|
379
|
+
"use_function": false,
|
|
380
|
+
"name": "decimal_separator",
|
|
381
|
+
"reg_exp_pattern": "^[^0-9]*$"
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
[
|
|
385
|
+
{
|
|
386
|
+
"field": "input_number",
|
|
387
|
+
"type": "standard_component",
|
|
388
|
+
"unique_key": "standard_component_input_number_284004fa899555e23ed6",
|
|
389
|
+
"key": "list_detail.decimal_place",
|
|
390
|
+
"label": "Decimal Length",
|
|
391
|
+
"link_type": "key",
|
|
392
|
+
"trigger": [],
|
|
393
|
+
"decimal_place": 0,
|
|
394
|
+
"name": "decimal_place"
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
]
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"key": "9715c0c6caa059c42bf5",
|
|
402
|
+
"type": "column",
|
|
403
|
+
"layout": {
|
|
404
|
+
"num_of_col": 2,
|
|
405
|
+
"fields": [
|
|
406
|
+
[
|
|
407
|
+
{
|
|
408
|
+
"field": "label",
|
|
409
|
+
"type": "standard_component",
|
|
410
|
+
"unique_key": "standard_component_label_fa2aae267ecfd77bb0d9",
|
|
411
|
+
"label": "Widget",
|
|
412
|
+
"entity": "test_setting",
|
|
413
|
+
"format": "<p><br></p><p><strong style=\"font-size: 1.17em;\">Widget</strong><br></p>",
|
|
414
|
+
"hide_label": true
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
[]
|
|
418
|
+
]
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"key": "349341a9405a931cad01",
|
|
423
|
+
"type": "column",
|
|
424
|
+
"layout": {
|
|
425
|
+
"num_of_col": 3,
|
|
426
|
+
"fields": [
|
|
427
|
+
[
|
|
428
|
+
{
|
|
429
|
+
"field": "color_picker",
|
|
430
|
+
"type": "standard_component",
|
|
431
|
+
"unique_key": "standard_component_color_picker_35b2edc3377077482152",
|
|
432
|
+
"key": "list_detail.widget_background_color",
|
|
433
|
+
"label": "Background Color",
|
|
434
|
+
"required": true,
|
|
435
|
+
"link_type": "key",
|
|
436
|
+
"trigger": [],
|
|
437
|
+
"allow_alpha": true
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
[
|
|
441
|
+
{
|
|
442
|
+
"field": "color_picker",
|
|
443
|
+
"type": "standard_component",
|
|
444
|
+
"unique_key": "standard_component_color_picker_75f4af34b7097690a957",
|
|
445
|
+
"key": "list_detail.widget_border_color",
|
|
446
|
+
"label": "Border Color",
|
|
447
|
+
"required": true,
|
|
448
|
+
"link_type": "key",
|
|
449
|
+
"trigger": [],
|
|
450
|
+
"allow_alpha": true
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
[
|
|
454
|
+
{
|
|
455
|
+
"field": "color_picker",
|
|
456
|
+
"type": "standard_component",
|
|
457
|
+
"unique_key": "standard_component_color_picker_8171278606874f16efca",
|
|
458
|
+
"key": "list_detail.widget_bar_color",
|
|
459
|
+
"label": "Bar Color",
|
|
460
|
+
"required": true,
|
|
461
|
+
"link_type": "key",
|
|
462
|
+
"trigger": [],
|
|
463
|
+
"allow_alpha": true
|
|
464
|
+
}
|
|
465
|
+
]
|
|
466
|
+
]
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"key": "d00c683f5512b036f52c",
|
|
471
|
+
"type": "column",
|
|
472
|
+
"layout": {
|
|
473
|
+
"num_of_col": 4,
|
|
474
|
+
"fields": [
|
|
475
|
+
[
|
|
476
|
+
{
|
|
477
|
+
"field": "color_picker",
|
|
478
|
+
"type": "standard_component",
|
|
479
|
+
"unique_key": "standard_component_color_picker_31240a562b517d220f3d",
|
|
480
|
+
"key": "list_detail.widget_summary_box_background_color",
|
|
481
|
+
"label": "Summary Box Background Color",
|
|
482
|
+
"required": true,
|
|
483
|
+
"link_type": "key",
|
|
484
|
+
"trigger": [],
|
|
485
|
+
"allow_alpha": true
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
[
|
|
489
|
+
{
|
|
490
|
+
"field": "color_picker",
|
|
491
|
+
"type": "standard_component",
|
|
492
|
+
"unique_key": "standard_component_color_picker_371093b068b71b59613f",
|
|
493
|
+
"key": "list_detail.widget_default_color",
|
|
494
|
+
"label": "Default Color",
|
|
495
|
+
"required": true,
|
|
496
|
+
"link_type": "key",
|
|
497
|
+
"trigger": [],
|
|
498
|
+
"allow_alpha": true,
|
|
499
|
+
"allow_multiple": true,
|
|
500
|
+
"random_mode": true
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
]
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"key": "e27ea32e4e31019e7f6b",
|
|
508
|
+
"type": "column",
|
|
509
|
+
"layout": {
|
|
510
|
+
"num_of_col": 3,
|
|
511
|
+
"fields": [
|
|
512
|
+
[
|
|
513
|
+
{
|
|
514
|
+
"field": "input_number",
|
|
515
|
+
"type": "standard_component",
|
|
516
|
+
"unique_key": "standard_component_input_number_1438f6f4236a5c6fd907",
|
|
517
|
+
"key": "list_detail.widget_border_width",
|
|
518
|
+
"label": "Border Width",
|
|
519
|
+
"required": true,
|
|
520
|
+
"default_value": 2,
|
|
521
|
+
"link_type": "key",
|
|
522
|
+
"min_value": 1,
|
|
523
|
+
"suffix": "px",
|
|
524
|
+
"trigger": [],
|
|
525
|
+
"decimal_place": 0
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"field": "input_number",
|
|
529
|
+
"type": "standard_component",
|
|
530
|
+
"unique_key": "standard_component_input_number_2b42e5ce176a46718249",
|
|
531
|
+
"key": "list_detail.widget_cutout_percentage",
|
|
532
|
+
"label": "Cutout Percentage",
|
|
533
|
+
"required": true,
|
|
534
|
+
"default_value": 0,
|
|
535
|
+
"link_type": "key",
|
|
536
|
+
"min_value": 1,
|
|
537
|
+
"suffix": "%",
|
|
538
|
+
"trigger": [],
|
|
539
|
+
"decimal_place": 0
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
[
|
|
543
|
+
{
|
|
544
|
+
"field": "select",
|
|
545
|
+
"type": "standard_component",
|
|
546
|
+
"unique_key": "standard_component_select_4450ae35f89503ffdd92",
|
|
547
|
+
"key": "list_detail.widget_point_style",
|
|
548
|
+
"label": "Point Style",
|
|
549
|
+
"required": true,
|
|
550
|
+
"default_value": "circle",
|
|
551
|
+
"link_type": "key",
|
|
552
|
+
"entity": "custom",
|
|
553
|
+
"options": [
|
|
554
|
+
"circle",
|
|
555
|
+
"cross",
|
|
556
|
+
"crossRot",
|
|
557
|
+
"dash",
|
|
558
|
+
"line",
|
|
559
|
+
"rect",
|
|
560
|
+
"rectRounded",
|
|
561
|
+
"rectRot",
|
|
562
|
+
"star",
|
|
563
|
+
"triangle"
|
|
564
|
+
],
|
|
565
|
+
"mode": "single",
|
|
566
|
+
"trigger": []
|
|
567
|
+
}
|
|
568
|
+
],
|
|
569
|
+
[
|
|
570
|
+
{
|
|
571
|
+
"field": "select",
|
|
572
|
+
"type": "standard_component",
|
|
573
|
+
"unique_key": "standard_component_select_150018cd3548e7ffcc94",
|
|
574
|
+
"key": "list_detail.widget_column_type",
|
|
575
|
+
"label": "Column Type",
|
|
576
|
+
"required": true,
|
|
577
|
+
"default_value": "bar",
|
|
578
|
+
"link_type": "key",
|
|
579
|
+
"entity": "custom",
|
|
580
|
+
"options": [
|
|
581
|
+
"bar",
|
|
582
|
+
"horizontalBar"
|
|
583
|
+
],
|
|
584
|
+
"mode": "single",
|
|
585
|
+
"trigger": []
|
|
586
|
+
}
|
|
587
|
+
]
|
|
588
|
+
]
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"key": "d00c643f5513b036f52c",
|
|
593
|
+
"type": "column",
|
|
594
|
+
"layout": {
|
|
595
|
+
"num_of_col": 3,
|
|
596
|
+
"fields": [
|
|
597
|
+
[
|
|
598
|
+
{
|
|
599
|
+
"field": "input",
|
|
600
|
+
"type": "standard_component",
|
|
601
|
+
"unique_key": "standard_component_input_2b42e5ce176a46718249",
|
|
602
|
+
"key": "list_detail.widget_chart_format_day",
|
|
603
|
+
"label": "Chart Grouping Day",
|
|
604
|
+
"required": true,
|
|
605
|
+
"default_value": "DD/MM/YYYY",
|
|
606
|
+
"link_type": "key",
|
|
607
|
+
"trigger": []
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"field": "input",
|
|
611
|
+
"type": "standard_component",
|
|
612
|
+
"unique_key": "standard_component_input_2b42e5ce176a46712249",
|
|
613
|
+
"key": "list_detail.widget_chart_format_quarter",
|
|
614
|
+
"label": "Chart Grouping Quarter",
|
|
615
|
+
"required": true,
|
|
616
|
+
"default_value": "MM/YYYY",
|
|
617
|
+
"link_type": "key",
|
|
618
|
+
"trigger": []
|
|
619
|
+
}
|
|
620
|
+
],
|
|
621
|
+
[
|
|
622
|
+
{
|
|
623
|
+
"field": "input",
|
|
624
|
+
"type": "standard_component",
|
|
625
|
+
"unique_key": "standard_component_input_2b42e5ca376a46718249",
|
|
626
|
+
"key": "list_detail.widget_chart_format_week",
|
|
627
|
+
"label": "Chart Grouping Week",
|
|
628
|
+
"required": true,
|
|
629
|
+
"default_value": "W/YYYY",
|
|
630
|
+
"link_type": "key",
|
|
631
|
+
"trigger": []
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"field": "input",
|
|
635
|
+
"type": "standard_component",
|
|
636
|
+
"unique_key": "standard_component_input_2b42e5ce16wa46718249",
|
|
637
|
+
"key": "list_detail.widget_chart_format_year",
|
|
638
|
+
"label": "Chart Grouping Year",
|
|
639
|
+
"required": true,
|
|
640
|
+
"default_value": "YYYY",
|
|
641
|
+
"link_type": "key",
|
|
642
|
+
"trigger": []
|
|
643
|
+
}
|
|
644
|
+
],
|
|
645
|
+
[
|
|
646
|
+
{
|
|
647
|
+
"field": "input",
|
|
648
|
+
"type": "standard_component",
|
|
649
|
+
"unique_key": "standard_component_input_2b42e54e176a467182291",
|
|
650
|
+
"key": "list_detail.widget_chart_format_month",
|
|
651
|
+
"label": "Chart Grouping Month",
|
|
652
|
+
"required": true,
|
|
653
|
+
"default_value": "MM/YYYY",
|
|
654
|
+
"link_type": "key",
|
|
655
|
+
"trigger": []
|
|
656
|
+
}
|
|
657
|
+
]
|
|
658
|
+
]
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
],
|
|
662
|
+
"redirect_mode": "refresh"
|
|
663
|
+
},
|
|
664
|
+
"name": "List & Detail",
|
|
665
|
+
"code": "list_detail",
|
|
666
|
+
"type": [
|
|
667
|
+
"form"
|
|
668
|
+
],
|
|
669
|
+
"allow_actions": [
|
|
670
|
+
{
|
|
671
|
+
"action": "create",
|
|
672
|
+
"role_restrictions": []
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"action": "update",
|
|
676
|
+
"role_restrictions": []
|
|
677
|
+
}
|
|
678
|
+
],
|
|
679
|
+
"deploy_package_settings": [
|
|
680
|
+
"general"
|
|
681
|
+
],
|
|
682
|
+
"restriction": [],
|
|
683
|
+
"hide_activity_log": true,
|
|
684
|
+
"show_refresh": false
|
|
685
|
+
}
|