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.
Files changed (75) hide show
  1. package/bin/index.js +4 -4
  2. package/package.json +1 -1
  3. package/template/admin_v3/src/pages/api/database/[type]/index.ts +23 -0
  4. package/template/admin_v3/src/pages/api/layout_chart_widget/[name]/index.ts +18 -0
  5. package/template/admin_v3/src/pages/api/layout_chart_widget/compare_matrix.ts +17 -0
  6. package/template/admin_v3/src/pages/api/redis/[type]/[connect]/index.ts +20 -0
  7. package/template/admin_v3/src/pages/api/redis/custom.ts +10 -0
  8. package/template/admin_v3/src/pages/api/setting/module/[code].ts +34 -0
  9. package/template/admin_v3/src/pages/api/template/[type].ts +21 -0
  10. package/template/admin_v3/src/pages/api/template/bulk_print/[id].ts +15 -0
  11. package/template/admin_v3/src/pages/api/template/print/[id]/[doc_ref].ts +11 -0
  12. package/template/core/src/main.ts +4 -1
  13. package/template/core_v3/Dockerfile +60 -0
  14. package/template/core_v3/_env +12 -0
  15. package/template/core_v3/_gitignore +52 -0
  16. package/template/core_v3/_npmrc +1 -0
  17. package/template/core_v3/buildspec.yml +29 -0
  18. package/template/core_v3/docker-compose.yml +11 -0
  19. package/template/core_v3/jest.config.js +43 -0
  20. package/template/core_v3/newrelic.sh +15 -0
  21. package/template/core_v3/package.json +54 -0
  22. package/template/core_v3/post-install.js +34 -0
  23. package/template/core_v3/sonar-project.properties +27 -0
  24. package/template/core_v3/src/app.controller.ts +39 -0
  25. package/template/core_v3/src/app.module.ts +174 -0
  26. package/template/core_v3/src/app.service.ts +21 -0
  27. package/template/core_v3/src/app_cluster.service.ts +61 -0
  28. package/template/core_v3/src/core/core.controller.ts +444 -0
  29. package/template/core_v3/src/core/core.module.ts +90 -0
  30. package/template/core_v3/src/core/core.service.ts +737 -0
  31. package/template/core_v3/src/core/setting/_settings/about.layout.json +105 -0
  32. package/template/core_v3/src/core/setting/_settings/cache.layout.json +309 -0
  33. package/template/core_v3/src/core/setting/_settings/global_login.json +299 -0
  34. package/template/core_v3/src/core/setting/_settings/header_footer.json +83 -0
  35. package/template/core_v3/src/core/setting/_settings/import_export.layout.json +69 -0
  36. package/template/core_v3/src/core/setting/_settings/list_detail.json +685 -0
  37. package/template/core_v3/src/core/setting/_settings/logs.layout.json +39 -0
  38. package/template/core_v3/src/core/setting/_settings/queue.layout.json +63 -0
  39. package/template/core_v3/src/core/setting/_settings/schedule.layout.json +132 -0
  40. package/template/core_v3/src/core/setting/_settings/security.layout.json +1110 -0
  41. package/template/core_v3/src/core/setting/_settings/storage.layout.json +158 -0
  42. package/template/core_v3/src/core/setting/_settings/swagger.layout.json +128 -0
  43. package/template/core_v3/src/core/setting/_settings/toast.json +344 -0
  44. package/template/core_v3/src/main.ts +308 -0
  45. package/template/core_v3/src/modules/modules.ts +16 -0
  46. package/template/core_v3/src/private.controller.ts +18 -0
  47. package/template/core_v3/storage/documents/index.html +14 -0
  48. package/template/core_v3/storage/public/system/menu/icons/company.svg +1 -0
  49. package/template/core_v3/storage/public/system/menu/icons/deploy.svg +2 -0
  50. package/template/core_v3/storage/public/system/menu/icons/entities.svg +55 -0
  51. package/template/core_v3/storage/public/system/menu/icons/files.svg +1 -0
  52. package/template/core_v3/storage/public/system/menu/icons/gateway.svg +1 -0
  53. package/template/core_v3/storage/public/system/menu/icons/import-export.svg +41 -0
  54. package/template/core_v3/storage/public/system/menu/icons/integration.svg +1 -0
  55. package/template/core_v3/storage/public/system/menu/icons/master_data.svg +53 -0
  56. package/template/core_v3/storage/public/system/menu/icons/modules.svg +79 -0
  57. package/template/core_v3/storage/public/system/menu/icons/monitoring.svg +114 -0
  58. package/template/core_v3/storage/public/system/menu/icons/pipeline.svg +1 -0
  59. package/template/core_v3/storage/public/system/menu/icons/provider.svg +1 -0
  60. package/template/core_v3/storage/public/system/menu/icons/report.svg +69 -0
  61. package/template/core_v3/storage/public/system/menu/icons/schedule.svg +1 -0
  62. package/template/core_v3/storage/public/system/menu/icons/security.svg +1 -0
  63. package/template/core_v3/storage/public/system/menu/icons/storage.svg +1 -0
  64. package/template/core_v3/storage/public/system/menu/icons/template.svg +44 -0
  65. package/template/core_v3/storage/public/system/menu/icons/theme-layout.svg +1 -0
  66. package/template/core_v3/test/__mocks__/cc-core-lib.d.ts +161 -0
  67. package/template/core_v3/test/__mocks__/cc-core-lib.js +311 -0
  68. package/template/core_v3/test/__mocks__/pdf-img-convert.js +5 -0
  69. package/template/core_v3/test/jest.setup.ts +25 -0
  70. package/template/core_v3/tsconfig.build.json +4 -0
  71. package/template/core_v3/tsconfig.json +22 -0
  72. package/template/core_v3/tsconfig.test.json +17 -0
  73. package/template/core_v3/version.json +5 -0
  74. package/template/admin_v3/src/pages/api/redis/[connect]/index.ts +0 -0
  75. package/template/admin_v3/src/pages/api/redis/index.ts +0 -0
@@ -0,0 +1,1110 @@
1
+ {
2
+ "detail": {
3
+ "title": {},
4
+ "blocks": [
5
+ {
6
+ "key": "b2011b040e3d13cb22a0",
7
+ "type": "column",
8
+ "layout": {
9
+ "num_of_col": 2,
10
+ "fields": [
11
+ [
12
+ {
13
+ "field": "switch",
14
+ "type": "standard_component",
15
+ "unique_key": "standard_component_switch_fdbf631109fd402c3f7f",
16
+ "key": "multiple_session",
17
+ "label": "Multiple Session",
18
+ "default_value": true,
19
+ "link_type": "key",
20
+ "yes_label": "Yes",
21
+ "no_label": "No",
22
+ "trigger": [],
23
+ "name": "multiple_session"
24
+ }
25
+ ],
26
+ []
27
+ ]
28
+ }
29
+ },
30
+ {
31
+ "key": "8cda8a009154eea31a02",
32
+ "type": "column",
33
+ "layout": {
34
+ "num_of_col": 2,
35
+ "fields": [
36
+ [
37
+ {
38
+ "field": "label",
39
+ "type": "standard_component",
40
+ "unique_key": "standard_component_label_4cb6a115b3902a168a6c",
41
+ "label": "Authentication",
42
+ "entity": "test_setting",
43
+ "format": "<p><br></p><h3>Authentication</h3>",
44
+ "hide_label": true
45
+ }
46
+ ],
47
+ []
48
+ ]
49
+ }
50
+ },
51
+ {
52
+ "key": "427b62cfffb85619a198",
53
+ "type": "collapse",
54
+ "allow_add": false,
55
+ "data_source": "",
56
+ "body": [
57
+ {
58
+ "title": "2FA",
59
+ "key": "5a1d8b64d1cb13922c76",
60
+ "blocks": [
61
+ {
62
+ "key": "61afc154382c153f0cba",
63
+ "type": "column",
64
+ "layout": {
65
+ "num_of_col": 2,
66
+ "fields": [
67
+ [
68
+ {
69
+ "field": "switch",
70
+ "type": "standard_component",
71
+ "unique_key": "standard_component_switch_d53783b828587befa50a",
72
+ "key": "enable",
73
+ "label": "Enable",
74
+ "link_type": "key",
75
+ "yes_label": "Yes",
76
+ "no_label": "No",
77
+ "trigger": [
78
+ {
79
+ "field": "standard_component_select_6db3a7c7d9769e34645f",
80
+ "method": "required",
81
+ "value": "${ authenticator.enable }"
82
+ },
83
+ {
84
+ "field": "standard_component_input_750b3f453ebceb8531bc",
85
+ "method": "required",
86
+ "value": "${ authenticator.enable }"
87
+ },
88
+ {
89
+ "field": "standard_component_select_Aud6cVFHhZV19ov42ls8",
90
+ "method": "required",
91
+ "value": "${ authenticator.enable }"
92
+ },
93
+ {
94
+ "field": "standard_component_select_0Ri8NMhfYtbbs3uvo8SN",
95
+ "method": "required",
96
+ "value": "${ authenticator.enable }"
97
+ },
98
+ {
99
+ "field": "standard_component_select_0zBv9Cf4m2wJI1FyxlQD",
100
+ "method": "show",
101
+ "value": "'${ authenticator.type }' === 'otp' ? true : false"
102
+ },
103
+ {
104
+ "field": "standard_component_select_Aud6cVFHhZV19ov42ls8",
105
+ "method": "show",
106
+ "value": "'${ authenticator.type }' === 'otp' ? true : false"
107
+ },
108
+ {
109
+ "field": "standard_component_select_0Ri8NMhfYtbbs3uvo8SN",
110
+ "method": "show",
111
+ "value": "'${ authenticator.type }' === 'otp' ? true : false"
112
+ },
113
+ {
114
+ "field": "standard_component_input_750b3f453ebceb8531bc",
115
+ "method": "show",
116
+ "value": " '${ authenticator.type }' !== 'otp' ? true : false "
117
+ }
118
+ ]
119
+ }
120
+ ],
121
+ []
122
+ ]
123
+ }
124
+ },
125
+ {
126
+ "key": "1c362201cf4c5907343b",
127
+ "type": "column",
128
+ "layout": {
129
+ "num_of_col": 2,
130
+ "fields": [
131
+ [
132
+ {
133
+ "field": "select",
134
+ "type": "standard_component",
135
+ "unique_key": "standard_component_select_6db3a7c7d9769e34645f",
136
+ "key": "type",
137
+ "label": "Authenticator Type",
138
+ "required": false,
139
+ "default_value": "application",
140
+ "link_type": "key",
141
+ "entity": "custom",
142
+ "options": [
143
+ "application",
144
+ "otp"
145
+ ],
146
+ "mode": "single",
147
+ "trigger": [
148
+ {
149
+ "field": "standard_component_select_0Ri8NMhfYtbbs3uvo8SN",
150
+ "method": "show",
151
+ "value": "'${ authenticator.type }' === 'otp' ? true : false"
152
+ },
153
+ {
154
+ "field": "standard_component_select_Aud6cVFHhZV19ov42ls8",
155
+ "method": "show",
156
+ "value": "'${ authenticator.type }' === 'otp' ? true : false"
157
+ },
158
+ {
159
+ "field": "standard_component_select_0zBv9Cf4m2wJI1FyxlQD",
160
+ "method": "show",
161
+ "value": "'${ authenticator.type }' === 'otp' ? true : false"
162
+ },
163
+ {
164
+ "field": "standard_component_input_750b3f453ebceb8531bc",
165
+ "method": "show",
166
+ "value": " '${ authenticator.type }' !== 'otp' ? true : false "
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "field": "select",
172
+ "type": "standard_component",
173
+ "unique_key": "standard_component_select_Aud6cVFHhZV19ov42ls8",
174
+ "key": "sms_template",
175
+ "label": "SMS Template",
176
+ "required": false,
177
+ "link_type": "key",
178
+ "entity": "other_entity",
179
+ "entity_system": true,
180
+ "key_value": "code",
181
+ "display_template": "${ name }",
182
+ "list_template": "",
183
+ "options": [],
184
+ "relate_ref": "template",
185
+ "mode": "single",
186
+ "filters": [
187
+ {
188
+ "field": "type",
189
+ "condition": "is",
190
+ "value": "sms",
191
+ "field_data": {
192
+ "type": "options"
193
+ }
194
+ }
195
+ ],
196
+ "trigger": []
197
+ }
198
+ ],
199
+ [
200
+ {
201
+ "field": "input",
202
+ "type": "standard_component",
203
+ "unique_key": "standard_component_input_750b3f453ebceb8531bc",
204
+ "key": "app_name",
205
+ "label": "App Name",
206
+ "required": false,
207
+ "link_type": "key",
208
+ "entity": "not_use",
209
+ "input_type": "single_line",
210
+ "trigger": []
211
+ },
212
+ {
213
+ "field": "select",
214
+ "type": "standard_component",
215
+ "unique_key": "standard_component_select_0zBv9Cf4m2wJI1FyxlQD",
216
+ "key": "default_gateway",
217
+ "label": "Default Gateway",
218
+ "required": false,
219
+ "default_value": "email",
220
+ "link_type": "key",
221
+ "entity": "custom",
222
+ "options": [
223
+ "email",
224
+ "sms"
225
+ ],
226
+ "mode": "single",
227
+ "trigger": []
228
+ },
229
+ {
230
+ "field": "select",
231
+ "type": "standard_component",
232
+ "unique_key": "standard_component_select_0Ri8NMhfYtbbs3uvo8SN",
233
+ "key": "email_template",
234
+ "label": "Email Template",
235
+ "required": false,
236
+ "link_type": "key",
237
+ "entity": "other_entity",
238
+ "entity_system": true,
239
+ "key_value": "code",
240
+ "display_template": "${ name }",
241
+ "list_template": "",
242
+ "options": [],
243
+ "relate_ref": "template",
244
+ "mode": "single",
245
+ "filters": [
246
+ {
247
+ "field": "type",
248
+ "condition": "is",
249
+ "value": "email",
250
+ "field_data": {
251
+ "type": "options"
252
+ }
253
+ }
254
+ ],
255
+ "trigger": [],
256
+ "name": "email_template"
257
+ }
258
+ ]
259
+ ]
260
+ }
261
+ }
262
+ ],
263
+ "source_key": "authenticator",
264
+ "actions": []
265
+ },
266
+ {
267
+ "source_key": "recaptcha",
268
+ "title": "Recaptcha",
269
+ "actions": [],
270
+ "blocks": [
271
+ {
272
+ "key": "06b2394dd2c1b9d30580",
273
+ "type": "column",
274
+ "layout": {
275
+ "num_of_col": 2,
276
+ "fields": [
277
+ [
278
+ {
279
+ "field": "switch",
280
+ "type": "standard_component",
281
+ "unique_key": "standard_component_switch_bed0f50b02e5f748a8fe",
282
+ "key": "enable",
283
+ "label": "Enable",
284
+ "link_type": "key",
285
+ "yes_label": "Yes",
286
+ "no_label": "No",
287
+ "trigger": [
288
+ {
289
+ "field": "standard_component_select_5f2ec4543b6b5e06b3c2",
290
+ "method": "required",
291
+ "value": "${ recaptcha.enable }"
292
+ },
293
+ {
294
+ "field": "standard_component_input_642e7bdca42a65819c84",
295
+ "method": "required",
296
+ "value": "${ recaptcha.enable }"
297
+ },
298
+ {
299
+ "field": "standard_component_input_18ffb1cbd14656cbebd2",
300
+ "method": "required",
301
+ "value": "${ recaptcha.enable }"
302
+ }
303
+ ]
304
+ }
305
+ ],
306
+ []
307
+ ]
308
+ }
309
+ },
310
+ {
311
+ "key": "61698d8fd4ce01e917b7",
312
+ "type": "column",
313
+ "layout": {
314
+ "num_of_col": 2,
315
+ "fields": [
316
+ [
317
+ {
318
+ "field": "select",
319
+ "type": "standard_component",
320
+ "unique_key": "standard_component_select_5f2ec4543b6b5e06b3c2",
321
+ "key": "version",
322
+ "label": "Version",
323
+ "required": false,
324
+ "default_value": "2",
325
+ "link_type": "key",
326
+ "entity": "custom",
327
+ "options": [
328
+ "2",
329
+ "3"
330
+ ],
331
+ "mode": "single",
332
+ "trigger": []
333
+ },
334
+ {
335
+ "field": "input",
336
+ "type": "standard_component",
337
+ "unique_key": "standard_component_input_642e7bdca42a65819c84",
338
+ "key": "site_key",
339
+ "label": "Site Key",
340
+ "required": false,
341
+ "link_type": "key",
342
+ "entity": "not_use",
343
+ "input_type": "single_line",
344
+ "trigger": []
345
+ }
346
+ ],
347
+ [
348
+ {
349
+ "field": "switch",
350
+ "type": "standard_component",
351
+ "unique_key": "standard_component_switch_888a275e9c4f981c6e61",
352
+ "key": "capture_ip_address",
353
+ "label": "Capture IP Address",
354
+ "link_type": "key",
355
+ "yes_label": "Yes",
356
+ "no_label": "No",
357
+ "trigger": []
358
+ },
359
+ {
360
+ "field": "input",
361
+ "type": "standard_component",
362
+ "unique_key": "standard_component_input_18ffb1cbd14656cbebd2",
363
+ "key": "secret_key",
364
+ "label": "Secret Key",
365
+ "required": false,
366
+ "link_type": "key",
367
+ "input_type": "password",
368
+ "trigger": []
369
+ }
370
+ ]
371
+ ]
372
+ }
373
+ }
374
+ ],
375
+ "key": "6ed3072c667474055ab2"
376
+ },
377
+ {
378
+ "source_key": "otp_setting",
379
+ "title": "OTP Setting",
380
+ "actions": [],
381
+ "blocks": [
382
+ {
383
+ "key": "O3qW033hHl2AS6YeMrQI",
384
+ "type": "column",
385
+ "layout": {
386
+ "num_of_col": 2,
387
+ "fields": [
388
+ [
389
+ {
390
+ "field": "input_number",
391
+ "type": "standard_component",
392
+ "unique_key": "standard_component_input_number_cbfaa33411f2d11b31b4",
393
+ "key": "sms_ttl",
394
+ "label": "OTP timeout",
395
+ "required": true,
396
+ "default_value": 60,
397
+ "link_type": "key",
398
+ "min_value": 1,
399
+ "suffix": "secound",
400
+ "trigger": [],
401
+ "decimal_place": 0,
402
+ "name": "sms_ttl"
403
+ },
404
+ {
405
+ "field": "switch",
406
+ "type": "standard_component",
407
+ "unique_key": "standard_component_switch_11cc22a01dda82776e04",
408
+ "key": "sms_enable_universal",
409
+ "label": "Enable Universal",
410
+ "default_value": false,
411
+ "link_type": "key",
412
+ "yes_label": "Yes",
413
+ "no_label": "No",
414
+ "trigger": [],
415
+ "name": "sms_enable_universal"
416
+ }
417
+ ],
418
+ [
419
+ {
420
+ "field": "input",
421
+ "type": "standard_component",
422
+ "unique_key": "standard_component_input_153e1ce73a9edad7ae36",
423
+ "key": "sms_universal_otp",
424
+ "label": "Universal Otp",
425
+ "required": true,
426
+ "link_type": "key",
427
+ "entity": "not_use",
428
+ "input_type": "single_line",
429
+ "reg_exp_pattern": "^[0-9]{6}$",
430
+ "trigger": [],
431
+ "name": "sms_universal_otp"
432
+ },
433
+ {
434
+ "field": "input_number",
435
+ "type": "standard_component",
436
+ "unique_key": "standard_component_input_number_cbfaa33411f2d11b31b2",
437
+ "key": "rate_limit",
438
+ "label": "Rate Limit",
439
+ "required": true,
440
+ "link_type": "key",
441
+ "min_value": 0,
442
+ "suffix": "seconds",
443
+ "trigger": [],
444
+ "decimal_place": 0,
445
+ "name": "rate_limit"
446
+ }
447
+ ]
448
+ ]
449
+ }
450
+ },
451
+ {
452
+ "key": "jT05hnHLWZ9E977ErTFd",
453
+ "type": "column",
454
+ "layout": {
455
+ "num_of_col": 2,
456
+ "fields": [
457
+ [],
458
+ []
459
+ ]
460
+ }
461
+ }
462
+ ],
463
+ "key": "o76ujiUg5OKHupm7twhR"
464
+ },
465
+ {
466
+ "source_key": "activate_account",
467
+ "title": "Activate Account",
468
+ "actions": [],
469
+ "blocks": [
470
+ {
471
+ "key": "v4JdH4roNx38QyKQchom",
472
+ "type": "column",
473
+ "layout": {
474
+ "num_of_col": 2,
475
+ "fields": [
476
+ [
477
+ {
478
+ "field": "switch",
479
+ "type": "standard_component",
480
+ "unique_key": "standard_component_switch_11cc22a01dda82776f74",
481
+ "key": "send_email",
482
+ "label": "Send Activate Email",
483
+ "default_value": false,
484
+ "link_type": "key",
485
+ "yes_label": "Yes",
486
+ "no_label": "No",
487
+ "trigger": [],
488
+ "name": "send_email"
489
+ },
490
+ {
491
+ "field": "select",
492
+ "type": "standard_component",
493
+ "unique_key": "standard_component_select_1wAJ4X68TTaHarH28rzD",
494
+ "key": "default_gateway",
495
+ "label": "Default Gateway",
496
+ "required": true,
497
+ "default_value": "email",
498
+ "link_type": "key",
499
+ "entity": "custom",
500
+ "options": [
501
+ "email",
502
+ "sms"
503
+ ],
504
+ "mode": "single",
505
+ "trigger": []
506
+ }
507
+ ],
508
+ [
509
+ {
510
+ "field": "select",
511
+ "type": "standard_component",
512
+ "unique_key": "standard_component_select_2515f923008c80fc48d1",
513
+ "key": "activate_email_template",
514
+ "label": "Activate Email Template",
515
+ "required": true,
516
+ "link_type": "key",
517
+ "entity": "other_entity",
518
+ "entity_system": true,
519
+ "key_value": "code",
520
+ "display_template": "${ name }",
521
+ "list_template": "",
522
+ "options": [],
523
+ "relate_ref": "template",
524
+ "mode": "single",
525
+ "filters": [
526
+ {
527
+ "field": "type",
528
+ "condition": "is",
529
+ "value": "email",
530
+ "field_data": {
531
+ "type": "options"
532
+ }
533
+ }
534
+ ],
535
+ "trigger": [],
536
+ "name": "activate_email_template"
537
+ }
538
+ ]
539
+ ]
540
+ }
541
+ },
542
+ {
543
+ "key": "CGiD3cc0bJB7Zryx59Q2",
544
+ "type": "column",
545
+ "layout": {
546
+ "num_of_col": 2,
547
+ "fields": [
548
+ [
549
+ {
550
+ "field": "select",
551
+ "type": "standard_component",
552
+ "unique_key": "standard_component_select_14bd5b73c3880d8bb5fb",
553
+ "key": "sms_template",
554
+ "label": "SMS Template",
555
+ "required": true,
556
+ "link_type": "key",
557
+ "entity": "other_entity",
558
+ "entity_system": true,
559
+ "key_value": "code",
560
+ "display_template": "${ name }",
561
+ "list_template": "",
562
+ "options": [],
563
+ "relate_ref": "template",
564
+ "mode": "single",
565
+ "filters": [
566
+ {
567
+ "field": "type",
568
+ "condition": "is",
569
+ "value": "sms",
570
+ "field_data": {
571
+ "type": "options"
572
+ }
573
+ }
574
+ ],
575
+ "trigger": []
576
+ }
577
+ ],
578
+ [
579
+ {
580
+ "field": "select",
581
+ "type": "standard_component",
582
+ "unique_key": "standard_component_select_2515f923008c80fc46e2",
583
+ "key": "email_template",
584
+ "label": "Email Template",
585
+ "required": true,
586
+ "link_type": "key",
587
+ "entity": "other_entity",
588
+ "entity_system": true,
589
+ "key_value": "code",
590
+ "display_template": "${ name }",
591
+ "list_template": "",
592
+ "options": [],
593
+ "relate_ref": "template",
594
+ "mode": "single",
595
+ "filters": [
596
+ {
597
+ "field": "type",
598
+ "condition": "is",
599
+ "value": "email",
600
+ "field_data": {
601
+ "type": "options"
602
+ }
603
+ }
604
+ ],
605
+ "trigger": [],
606
+ "name": "email_template"
607
+ }
608
+ ]
609
+ ]
610
+ }
611
+ }
612
+ ],
613
+ "key": "Mt9VNd4V8hVq98vQckQ0"
614
+ },
615
+ {
616
+ "source_key": "activate_change_password",
617
+ "title": "Activate Change Password ",
618
+ "actions": [],
619
+ "blocks": [
620
+ {
621
+ "key": "e34b078ad7284d03bcb7",
622
+ "type": "column",
623
+ "layout": {
624
+ "num_of_col": 2,
625
+ "fields": [
626
+ [
627
+ {
628
+ "field": "switch",
629
+ "type": "standard_component",
630
+ "unique_key": "standard_component_switch_11ccr3a01UYa82776f74",
631
+ "key": "send_email",
632
+ "label": "Send Email",
633
+ "default_value": false,
634
+ "link_type": "key",
635
+ "yes_label": "Yes",
636
+ "no_label": "No",
637
+ "trigger": [],
638
+ "name": "send_email"
639
+ }
640
+ ],
641
+ [
642
+ {
643
+ "field": "select",
644
+ "type": "standard_component",
645
+ "unique_key": "standard_component_select_1wAJ4X68TTaHaPL28rzD",
646
+ "key": "default_gateway",
647
+ "label": "Default Gateway",
648
+ "required": true,
649
+ "default_value": "email",
650
+ "link_type": "key",
651
+ "entity": "custom",
652
+ "options": [
653
+ "email",
654
+ "sms"
655
+ ],
656
+ "mode": "single",
657
+ "trigger": []
658
+ }
659
+ ]
660
+ ]
661
+ }
662
+ },
663
+ {
664
+ "key": "CGiD3cc0bJB7Zryx59Q2",
665
+ "type": "column",
666
+ "layout": {
667
+ "num_of_col": 2,
668
+ "fields": [
669
+ [
670
+ {
671
+ "field": "select",
672
+ "type": "standard_component",
673
+ "unique_key": "standard_component_select_14b5Tb73c3880d8bb5fb",
674
+ "key": "sms_template",
675
+ "label": "SMS Template",
676
+ "required": true,
677
+ "link_type": "key",
678
+ "entity": "other_entity",
679
+ "entity_system": true,
680
+ "key_value": "code",
681
+ "display_template": "${ name }",
682
+ "list_template": "",
683
+ "options": [],
684
+ "relate_ref": "template",
685
+ "mode": "single",
686
+ "filters": [
687
+ {
688
+ "field": "type",
689
+ "condition": "is",
690
+ "value": "sms",
691
+ "field_data": {
692
+ "type": "options"
693
+ }
694
+ }
695
+ ],
696
+ "trigger": []
697
+ }
698
+ ],
699
+ [
700
+ {
701
+ "field": "select",
702
+ "type": "standard_component",
703
+ "unique_key": "standard_component_select_2515PK23008c80fc46e2",
704
+ "key": "email_template",
705
+ "label": "Email Template",
706
+ "required": true,
707
+ "link_type": "key",
708
+ "entity": "other_entity",
709
+ "entity_system": true,
710
+ "key_value": "code",
711
+ "display_template": "${ name }",
712
+ "list_template": "",
713
+ "options": [],
714
+ "relate_ref": "template",
715
+ "mode": "single",
716
+ "filters": [
717
+ {
718
+ "field": "type",
719
+ "condition": "is",
720
+ "value": "email",
721
+ "field_data": {
722
+ "type": "options"
723
+ }
724
+ }
725
+ ],
726
+ "trigger": [],
727
+ "name": "email_template"
728
+ }
729
+ ]
730
+ ]
731
+ }
732
+ }
733
+ ],
734
+ "key": "Mt9VNd4V8hVd08vQckQ0"
735
+ }
736
+ ]
737
+ },
738
+ {
739
+ "key": "e909d46de6171de6546f",
740
+ "type": "column",
741
+ "layout": {
742
+ "num_of_col": 2,
743
+ "fields": [
744
+ [
745
+ {
746
+ "field": "label",
747
+ "type": "standard_component",
748
+ "unique_key": "standard_component_label_4eee7ffcb45dae7b41f7",
749
+ "entity": "test_setting",
750
+ "format": "<p><br></p><h3>Methods</h3>"
751
+ }
752
+ ],
753
+ []
754
+ ]
755
+ }
756
+ },
757
+ {
758
+ "key": "e86241d834fac3bfda29",
759
+ "type": "collapse",
760
+ "allow_add": false,
761
+ "data_source": "",
762
+ "body": [
763
+ {
764
+ "title": "Local",
765
+ "key": "6e7fe61b76c672cf6d74",
766
+ "blocks": [
767
+ {
768
+ "key": "43790b5ecfc448b6be44491",
769
+ "type": "column",
770
+ "layout": {
771
+ "num_of_col": 2,
772
+ "fields": [
773
+ [
774
+ {
775
+ "field": "switch",
776
+ "type": "standard_component",
777
+ "unique_key": "standard_component_switch_a26c563fabf3fe68890a",
778
+ "key": "enable",
779
+ "label": "Enable",
780
+ "link_type": "key",
781
+ "yes_label": "Yes",
782
+ "no_label": "No",
783
+ "trigger": [
784
+ {
785
+ "field": "standard_component_select_d9eaf72b0160a758d150",
786
+ "method": "required",
787
+ "value": "${ local.enable }"
788
+ },
789
+ {
790
+ "field": "standard_component_select_002f2e9997c14e1fc589",
791
+ "method": "required",
792
+ "value": "${ local.enable }"
793
+ },
794
+ {
795
+ "field": "standard_component_entity_layout_f13e44643b4016da8215",
796
+ "method": "required",
797
+ "value": "${ local.enable }"
798
+ },
799
+ {
800
+ "field": "standard_component_input_a1f96ce6d5af5e332c58",
801
+ "method": "required",
802
+ "value": "${ local.enable }"
803
+ },
804
+ {
805
+ "field": "standard_component_input_1ebb195a6ceeb91b4a12",
806
+ "method": "required",
807
+ "value": "${ local.enable }"
808
+ },
809
+ {
810
+ "field": "standard_component_input_number_9fe0ee075d1d832fb6a5",
811
+ "method": "required",
812
+ "value": "${ local.enable }"
813
+ },
814
+ {
815
+ "field": "standard_component_input_number_734abbecc2c8b78b8985",
816
+ "method": "required",
817
+ "value": "${ local.enable }"
818
+ },
819
+ {
820
+ "field": "standard_component_input_number_896d40ba7c1a77c358a8",
821
+ "method": "required",
822
+ "value": "${ local.enable }"
823
+ },
824
+ {
825
+ "field": "standard_component_input_number_82ffaf7e3421ee18a52d",
826
+ "method": "required",
827
+ "value": "${ local.enable }"
828
+ },
829
+ {
830
+ "field": "standard_component_input_number_1df1a6bc6dea36f3de2a",
831
+ "method": "required",
832
+ "value": "${ local.enable }"
833
+ },
834
+ {
835
+ "field": "standard_component_input_number_0350cc557982fae53b4f",
836
+ "method": "required",
837
+ "value": "${ local.enable }"
838
+ },
839
+ {
840
+ "field": "standard_component_input_number_d341ad497c7810ea6526",
841
+ "method": "required",
842
+ "value": "${ local.enable }"
843
+ },
844
+ {
845
+ "field": "standard_component_input_number_5c5669785cfa8acefcc1",
846
+ "method": "required",
847
+ "value": "${ local.enable }"
848
+ }
849
+ ]
850
+ }
851
+ ]
852
+ ]
853
+ }
854
+ },
855
+ {
856
+ "key": "2895a0fb6965426aa638a",
857
+ "type": "column",
858
+ "layout": {
859
+ "num_of_col": 2,
860
+ "fields": [
861
+ [
862
+ {
863
+ "field": "switch",
864
+ "type": "standard_component",
865
+ "unique_key": "standard_component_switch_a26c563fkiswfe68890a",
866
+ "key": "remember",
867
+ "label": "Remember",
868
+ "link_type": "key",
869
+ "yes_label": "Yes",
870
+ "no_label": "No",
871
+ "trigger": []
872
+ }
873
+ ],
874
+ []
875
+ ]
876
+ }
877
+ },
878
+ {
879
+ "key": "4c8c83d501a2cd47e57c",
880
+ "type": "column",
881
+ "layout": {
882
+ "num_of_col": 2,
883
+ "fields": [
884
+ [
885
+ {
886
+ "field": "entity_layout",
887
+ "type": "standard_component",
888
+ "unique_key": "standard_component_entity_layout_f13e44643b4016da8215",
889
+ "key": "change_expired_password_form",
890
+ "label": "Change Expired Password Form",
891
+ "required": false,
892
+ "link_type": "key",
893
+ "entity": "other_entity",
894
+ "relate_ref": "user",
895
+ "trigger": []
896
+ },
897
+ {
898
+ "field": "input",
899
+ "type": "standard_component",
900
+ "unique_key": "standard_component_input_1ebb195a6ceeb91b4a12",
901
+ "key": "expires_in",
902
+ "label": "Expire in",
903
+ "description": "minutes(m), hours(h), days(d), weeks(w)",
904
+ "required": false,
905
+ "link_type": "key",
906
+ "entity": "not_use",
907
+ "input_type": "single_line",
908
+ "trigger": []
909
+ }
910
+ ],
911
+ [
912
+ {
913
+ "field": "input",
914
+ "type": "standard_component",
915
+ "unique_key": "standard_component_input_a1f96ce6d5af5e332c58",
916
+ "key": "secret_key",
917
+ "label": "Secret Key",
918
+ "required": false,
919
+ "link_type": "key",
920
+ "input_type": "password",
921
+ "trigger": []
922
+ }
923
+ ]
924
+ ]
925
+ }
926
+ },
927
+ {
928
+ "key": "c872daf0f067325ae62d",
929
+ "type": "column",
930
+ "layout": {
931
+ "num_of_col": 2,
932
+ "fields": [
933
+ [
934
+ {
935
+ "field": "switch",
936
+ "type": "standard_component",
937
+ "unique_key": "standard_component_switch_e5f6b85c5d9751bba31e",
938
+ "key": "password_policy_complexity_require",
939
+ "label": "Password must meet complexity requirements",
940
+ "link_type": "key",
941
+ "yes_label": "Yes",
942
+ "no_label": "No",
943
+ "trigger": []
944
+ }
945
+ ],
946
+ []
947
+ ]
948
+ }
949
+ },
950
+ {
951
+ "key": "816c277a1736b04abf9d",
952
+ "type": "column",
953
+ "layout": {
954
+ "num_of_col": 2,
955
+ "fields": [
956
+ [
957
+ {
958
+ "field": "input_number",
959
+ "type": "standard_component",
960
+ "unique_key": "standard_component_input_number_9fe0ee075d1d832fb6a5",
961
+ "key": "password_policy_min_password_age",
962
+ "label": "Minimum password age",
963
+ "required": false,
964
+ "link_type": "key",
965
+ "min_value": 1,
966
+ "suffix": "days",
967
+ "trigger": [],
968
+ "decimal_place": 0
969
+ },
970
+ {
971
+ "field": "input_number",
972
+ "type": "standard_component",
973
+ "unique_key": "standard_component_input_number_896d40ba7c1a77c358a8",
974
+ "key": "password_policy_min_password_length",
975
+ "label": "Minimum password length",
976
+ "required": false,
977
+ "default_value": 6,
978
+ "link_type": "key",
979
+ "min_value": 6,
980
+ "trigger": [],
981
+ "decimal_place": 0
982
+ }
983
+ ],
984
+ [
985
+ {
986
+ "field": "input_number",
987
+ "type": "standard_component",
988
+ "unique_key": "standard_component_input_number_734abbecc2c8b78b8985",
989
+ "key": "password_policy_max_password_age",
990
+ "label": "Maximum password age",
991
+ "required": false,
992
+ "link_type": "key",
993
+ "min_value": 1,
994
+ "suffix": "days",
995
+ "trigger": [],
996
+ "decimal_place": 0
997
+ },
998
+ {
999
+ "field": "input_number",
1000
+ "type": "standard_component",
1001
+ "unique_key": "standard_component_input_number_82ffaf7e3421ee18a52d",
1002
+ "key": "password_policy_enforce_password_history",
1003
+ "label": "Enforce password history",
1004
+ "required": false,
1005
+ "link_type": "key",
1006
+ "min_value": 0,
1007
+ "suffix": "passwords remembered",
1008
+ "trigger": [],
1009
+ "decimal_place": 0
1010
+ }
1011
+ ]
1012
+ ]
1013
+ }
1014
+ },
1015
+ {
1016
+ "key": "2f8d466f3ff82cfd9d6a",
1017
+ "type": "column",
1018
+ "layout": {
1019
+ "num_of_col": 2,
1020
+ "fields": [
1021
+ [
1022
+ {
1023
+ "field": "input_number",
1024
+ "type": "standard_component",
1025
+ "unique_key": "standard_component_input_number_1df1a6bc6dea36f3de2a",
1026
+ "key": "lockout_policy_threshold",
1027
+ "label": "Account lockout threshold",
1028
+ "required": false,
1029
+ "link_type": "key",
1030
+ "min_value": 0,
1031
+ "suffix": "invalid logon attempts",
1032
+ "trigger": [],
1033
+ "decimal_place": 0
1034
+ },
1035
+ {
1036
+ "field": "input_number",
1037
+ "type": "standard_component",
1038
+ "unique_key": "standard_component_input_number_d341ad497c7810ea6526",
1039
+ "key": "lockout_policy_reset_counter",
1040
+ "label": "Reset account lockout counter after",
1041
+ "required": false,
1042
+ "link_type": "key",
1043
+ "min_value": 0,
1044
+ "suffix": "minutes",
1045
+ "trigger": [],
1046
+ "decimal_place": 0
1047
+ }
1048
+ ],
1049
+ [
1050
+ {
1051
+ "field": "input_number",
1052
+ "type": "standard_component",
1053
+ "unique_key": "standard_component_input_number_0350cc557982fae53b4f",
1054
+ "key": "lockout_policy_duration",
1055
+ "label": "Account lockout duration",
1056
+ "required": false,
1057
+ "link_type": "key",
1058
+ "min_value": 0,
1059
+ "suffix": "minutes",
1060
+ "trigger": [],
1061
+ "decimal_place": 0
1062
+ },
1063
+ {
1064
+ "field": "input_number",
1065
+ "type": "standard_component",
1066
+ "unique_key": "standard_component_input_number_5c5669785cfa8acefcc1",
1067
+ "key": "lockout_policy_unused_suspended",
1068
+ "label": "Suspended accounts that have not been unused",
1069
+ "required": false,
1070
+ "link_type": "key",
1071
+ "min_value": 0,
1072
+ "suffix": "days",
1073
+ "trigger": [],
1074
+ "decimal_place": 0
1075
+ }
1076
+ ]
1077
+ ]
1078
+ }
1079
+ }
1080
+ ],
1081
+ "source_key": "local",
1082
+ "actions": []
1083
+ }
1084
+ ]
1085
+ }
1086
+ ],
1087
+ "redirect_mode": "not_redirect"
1088
+ },
1089
+ "name": "Security",
1090
+ "code": "security",
1091
+ "type": [
1092
+ "form"
1093
+ ],
1094
+ "allow_actions": [
1095
+ {
1096
+ "action": "create",
1097
+ "role_restrictions": []
1098
+ },
1099
+ {
1100
+ "action": "update",
1101
+ "role_restrictions": []
1102
+ }
1103
+ ],
1104
+ "deploy_package_settings": [
1105
+ "auth"
1106
+ ],
1107
+ "restriction": [],
1108
+ "hide_activity_log": true,
1109
+ "show_refresh": false
1110
+ }