cob-cli 2.12.0 → 2.13.1

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 (79) hide show
  1. package/README.publish.md +10 -0
  2. package/customizations/backend.js +1 -0
  3. package/customizations/backend.vuepress.js +35 -0
  4. package/customizations/frontend.js +1 -0
  5. package/lib/task_lists/rsyncFilter.txt +3 -2
  6. package/lib/task_lists/test_otherFilesContiousReload.js +1 -1
  7. package/package.json +5 -1
  8. package/templates/backend/vuepress/integrationm/actions/getVuePressDoc.groovy +74 -0
  9. package/templates/backend/vuepress/integrationm/actions/getVuePressSidebarConfig.groovy +42 -0
  10. package/templates/backend/vuepress/integrationm/actions/getVuePressSidebarRootElements.groovy +17 -0
  11. package/templates/backend/vuepress/others/vuepress/definition_contents_v234.json +619 -0
  12. package/templates/backend/vuepress/others/vuepress/nginx/README.md +28 -0
  13. package/templates/backend/vuepress/others/vuepress/package-lock.json +29656 -0
  14. package/templates/backend/vuepress/others/vuepress/package.json +24 -0
  15. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/DescriptVideo.vue +22 -0
  16. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/Graph.vue +124 -0
  17. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/ReadingTime.vue +26 -0
  18. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/References.vue +228 -0
  19. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/RestrictedContent.vue +77 -0
  20. package/templates/backend/vuepress/others/vuepress/src/.vuepress/config.js +101 -0
  21. package/templates/backend/vuepress/others/vuepress/src/.vuepress/config.json +31 -0
  22. package/templates/backend/vuepress/others/vuepress/src/.vuepress/enhanceApp.js +14 -0
  23. package/templates/backend/vuepress/others/vuepress/src/.vuepress/nav/getNavTranslated.js +52 -0
  24. package/templates/backend/vuepress/others/vuepress/src/.vuepress/plugins/References.js +96 -0
  25. package/templates/backend/vuepress/others/vuepress/src/.vuepress/public/Logo-Cult-of-Bits-400x400-1.png +0 -0
  26. package/templates/backend/vuepress/others/vuepress/src/.vuepress/public/favicon-cob.png +0 -0
  27. package/templates/backend/vuepress/others/vuepress/src/.vuepress/public/logo.png +0 -0
  28. package/templates/backend/vuepress/others/vuepress/src/.vuepress/styles/index.styl +39 -0
  29. package/templates/backend/vuepress/others/vuepress/src/.vuepress/styles/palette.styl +17 -0
  30. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/LICENSE +21 -0
  31. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/README.md +11 -0
  32. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/AlgoliaSearchBox.vue +172 -0
  33. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/DropdownLink.vue +252 -0
  34. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/DropdownTransition.vue +33 -0
  35. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Home.vue +134 -0
  36. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/NavLink.vue +98 -0
  37. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/NavLinks.vue +165 -0
  38. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Navbar.vue +140 -0
  39. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Page.vue +31 -0
  40. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/PageEdit.vue +119 -0
  41. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/PageNav.vue +163 -0
  42. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Sidebar.vue +64 -0
  43. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarButton.vue +40 -0
  44. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarGroup.vue +144 -0
  45. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarLink.vue +140 -0
  46. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarLinks.vue +114 -0
  47. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/Badge.vue +44 -0
  48. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/CodeBlock.vue +41 -0
  49. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/CodeGroup.vue +120 -0
  50. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/index.js +59 -0
  51. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/layouts/404.vue +30 -0
  52. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/layouts/Layout.vue +151 -0
  53. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/noopModule.js +1 -0
  54. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/package.json +44 -0
  55. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/arrow.styl +22 -0
  56. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/code.styl +137 -0
  57. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/config.styl +1 -0
  58. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/custom-blocks.styl +44 -0
  59. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/index.styl +202 -0
  60. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/mobile.styl +37 -0
  61. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/toc.styl +3 -0
  62. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/wrapper.styl +10 -0
  63. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/util/index.js +244 -0
  64. package/templates/dashboards/dash/definition_dashboard_v59.json +1 -0
  65. package/templates/dashboards/dash/dist/dashboard.html +8 -3
  66. package/templates/dashboards/dash/dist/js/{app.a65a4c2c.js → app.8423eff3.js} +2 -2
  67. package/templates/dashboards/dash/dist/js/app.8423eff3.js.map +1 -0
  68. package/templates/dashboards/dash/dist/js/app.f9c19b80.js +188 -0
  69. package/templates/dashboards/dash/dist/js/app.f9c19b80.js.map +1 -0
  70. package/templates/dashboards/dash/src/App.vue +32 -212
  71. package/templates/dashboards/dash/src/Dashboard.vue +31 -11
  72. package/templates/dashboards/dash/src/collector.js +35 -3694
  73. package/templates/dashboards/dash/src/components/Menu.vue +15 -4
  74. package/templates/dashboards/dash/src/components/Title.vue +10 -2
  75. package/templates/dashboards/dash/src/components/Totals.vue +19 -9
  76. package/templates/dashboards/dash/src/components/{TotalsBadge.vue → TotalsValue.vue} +12 -12
  77. package/templates/dashboards/dash/src/dashboard.html +6 -1
  78. package/templates/dashboards/dash/src/test_collector.js +3732 -0
  79. package/templates/dashboards/dash/dist/js/app.a65a4c2c.js.map +0 -1
@@ -1,6 +1,8 @@
1
- function clone (obj) {
2
- return JSON.parse(JSON.stringify(obj));
3
- }
1
+ import * as dashFunctions from '@cob/dashboard-info';
2
+ const linkFunction = (url, icon) => { return { value: icon, href: url, state: undefined, isLink: true } }
3
+ // dashFunctions["link"] = linkFunction // does not work on brower after deploy (only on localhost dev)
4
+
5
+ const clone = (obj) => JSON.parse(JSON.stringify(obj))
4
6
 
5
7
  function collect(bucket, source) {
6
8
  const sourceName = source.fieldDefinition.name
@@ -11,12 +13,12 @@ function collect(bucket, source) {
11
13
  if (Array.isArray(bucket[sourceName])) {
12
14
  // Means type of value to collect is array
13
15
  if( bucket[sourceName].length == 0 || bucket[sourceName][0]["Mark"] == "JUST COPY" ) {
14
- //Means the bucket template only specify to get the raw elements that match (empty array in baucket template or having first element signaled that it was originally an empty array)
16
+ //Means the bucket template only specify to get the raw elements that match (empty array in bucket template or having first element signaled that it was originally an empty array)
15
17
  source["Mark"] = "JUST COPY" // Signal it was an empty array
16
18
  source[sourceName] = source.value // Add extra field with original name of the source
17
19
  bucket[sourceName].push(source) // Add to bucket collector
18
20
  } else {
19
- //Means the bucket specifies an template for the array elements
21
+ //Means the bucket specifies a template for the array elements
20
22
  let initialBucketCopy
21
23
  if( typeof bucket[sourceName][0].Initial_Template == "undefined") {
22
24
  //Means it's the initial bucket (because it doesn't have the Initial_Template field copy)
@@ -44,3619 +46,7 @@ function collect(bucket, source) {
44
46
  return bucket;
45
47
  }
46
48
 
47
- export { clone, collect }
48
-
49
-
50
- // Testes ao colector
51
- (() => {
52
-
53
- const Sample = {
54
- id: 40700,
55
- attachmentPath: "40700",
56
- version: 31,
57
- instanceLabel: ["Main"],
58
- jsonDefinition: {
59
- id: 108,
60
- name: "Dashboard",
61
- description: null,
62
- duplicable: false,
63
- state: "enabled",
64
- },
65
- fields: [
66
- {
67
- id: -1,
68
- parent: null,
69
- fieldDefinition: {
70
- id: 1754,
71
- name: "Dashboard Info",
72
- description: "$group",
73
- condition: null,
74
- required: null,
75
- duplicable: false,
76
- groupField: true,
77
- order: 0,
78
- fields: [],
79
- },
80
- value: null,
81
- duplicate: false,
82
- off: false,
83
- fields: [],
84
- },
85
- {
86
- id: 212561,
87
- parent: null,
88
- fieldDefinition: {
89
- id: 1449,
90
- name: "Page Title",
91
- description: "$expanded $instanceLabel",
92
- condition: null,
93
- required: null,
94
- duplicable: false,
95
- groupField: false,
96
- order: 1,
97
- fields: [],
98
- },
99
- value: "Main",
100
- duplicate: false,
101
- off: false,
102
- fields: [],
103
- },
104
- {
105
- id: 212562,
106
- parent: null,
107
- fieldDefinition: {
108
- id: 1745,
109
- name: "Grid Columns",
110
- description: "$number $default(12)",
111
- condition: null,
112
- required: "mandatory",
113
- duplicable: false,
114
- groupField: false,
115
- order: 2,
116
- fields: [],
117
- },
118
- value: "5",
119
- duplicate: false,
120
- off: false,
121
- fields: [],
122
- },
123
- {
124
- id: 212563,
125
- parent: null,
126
- fieldDefinition: {
127
- id: 1753,
128
- name: "Max Width",
129
- description: "$[xl,2xl,3xl,4xl,5xl,*6xl,full]",
130
- condition: null,
131
- required: "mandatory",
132
- duplicable: false,
133
- groupField: false,
134
- order: 3,
135
- fields: [],
136
- },
137
- value: "3xl",
138
- duplicate: false,
139
- off: false,
140
- fields: [],
141
- },
142
- {
143
- id: -2,
144
- parent: null,
145
- fieldDefinition: {
146
- id: 1476,
147
- name: "Permission",
148
- description: "What groups are allowed to see this dashboard",
149
- condition: null,
150
- required: null,
151
- duplicable: false,
152
- groupField: false,
153
- order: 4,
154
- fields: [],
155
- },
156
- value: null,
157
- duplicate: false,
158
- off: false,
159
- fields: [],
160
- },
161
- {
162
- id: -3,
163
- parent: null,
164
- fieldDefinition: {
165
- id: 1755,
166
- name: "Boards",
167
- description: "$group",
168
- condition: null,
169
- required: null,
170
- duplicable: false,
171
- groupField: true,
172
- order: 5,
173
- fields: [],
174
- },
175
- value: null,
176
- duplicate: false,
177
- off: false,
178
- fields: [],
179
- },
180
- {
181
- id: 212564,
182
- parent: null,
183
- fieldDefinition: {
184
- id: 1451,
185
- name: "Board Title",
186
- description: "$instanceDescription $style[dualColumn]",
187
- condition: null,
188
- required: null,
189
- duplicable: true,
190
- groupField: false,
191
- order: 6,
192
- fields: [],
193
- },
194
- value: "Main Menu",
195
- duplicate: false,
196
- off: false,
197
- fields: [
198
- {
199
- id: 212565,
200
- parent: 212564,
201
- fieldDefinition: {
202
- id: 1746,
203
- name: "Col Span",
204
- description: "$number $default(3) ",
205
- condition: null,
206
- required: null,
207
- duplicable: false,
208
- groupField: false,
209
- order: 7,
210
- fields: [],
211
- },
212
- value: "2",
213
- duplicate: false,
214
- off: false,
215
- fields: [],
216
- },
217
- {
218
- id: 212566,
219
- parent: 212564,
220
- fieldDefinition: {
221
- id: 1747,
222
- name: "Row Span",
223
- description: "$number $default(1) ",
224
- condition: null,
225
- required: null,
226
- duplicable: false,
227
- groupField: false,
228
- order: 8,
229
- fields: [],
230
- },
231
- value: "4",
232
- duplicate: false,
233
- off: false,
234
- fields: [],
235
- },
236
- {
237
- id: 212567,
238
- parent: 212564,
239
- fieldDefinition: {
240
- id: 1455,
241
- name: "Component",
242
- description:
243
- "$[Totals,Menu,Kibana,Filter,Title] $instanceDescription $style[singleColumn] $expanded",
244
- condition: null,
245
- required: null,
246
- duplicable: true,
247
- groupField: false,
248
- order: 9,
249
- fields: [],
250
- },
251
- value: "Menu",
252
- duplicate: false,
253
- off: false,
254
- fields: [
255
- {
256
- id: 212568,
257
- parent: 212567,
258
- fieldDefinition: {
259
- id: 1740,
260
- name: "Header",
261
- description: "$group ",
262
- condition: "=Totals",
263
- required: null,
264
- duplicable: false,
265
- groupField: true,
266
- order: 10,
267
- fields: [],
268
- },
269
- value: null,
270
- duplicate: false,
271
- off: false,
272
- fields: [
273
- {
274
- id: 212569,
275
- parent: 212568,
276
- fieldDefinition: {
277
- id: 1741,
278
- name: "Text",
279
- description: null,
280
- condition: null,
281
- required: null,
282
- duplicable: true,
283
- groupField: false,
284
- order: 11,
285
- fields: [],
286
- },
287
- value: null,
288
- duplicate: false,
289
- off: false,
290
- fields: [],
291
- },
292
- {
293
- id: -4,
294
- parent: 212568,
295
- fieldDefinition: {
296
- id: 1742,
297
- name: "Style Header",
298
- description: null,
299
- condition: null,
300
- required: null,
301
- duplicable: false,
302
- groupField: false,
303
- order: 12,
304
- fields: [],
305
- },
306
- value: null,
307
- duplicate: false,
308
- off: false,
309
- fields: [],
310
- },
311
- ],
312
- },
313
- {
314
- id: 212570,
315
- parent: 212567,
316
- fieldDefinition: {
317
- id: 1460,
318
- name: "Line",
319
- description: null,
320
- condition: "=Totals",
321
- required: null,
322
- duplicable: true,
323
- groupField: false,
324
- order: 13,
325
- fields: [],
326
- },
327
- value: null,
328
- duplicate: false,
329
- off: false,
330
- fields: [
331
- {
332
- id: 212571,
333
- parent: 212570,
334
- fieldDefinition: {
335
- id: 1744,
336
- name: "Value",
337
- description:
338
- "$[*definitionCount,domainCount,fieldSum,link] ",
339
- condition: null,
340
- required: null,
341
- duplicable: true,
342
- groupField: false,
343
- order: 14,
344
- fields: [],
345
- },
346
- value: null,
347
- duplicate: false,
348
- off: false,
349
- fields: [
350
- {
351
- id: 212572,
352
- parent: 212571,
353
- fieldDefinition: {
354
- id: 1464,
355
- name: "Style Value",
356
- description: "$[*Info,Success,Warning,Important]",
357
- condition: null,
358
- required: null,
359
- duplicable: false,
360
- groupField: false,
361
- order: 15,
362
- fields: [],
363
- },
364
- value: null,
365
- duplicate: false,
366
- off: false,
367
- fields: [],
368
- },
369
- {
370
- id: 212573,
371
- parent: 212571,
372
- fieldDefinition: {
373
- id: 1748,
374
- name: "Arg",
375
- description: null,
376
- condition: null,
377
- required: null,
378
- duplicable: true,
379
- groupField: false,
380
- order: 16,
381
- fields: [],
382
- },
383
- value: null,
384
- duplicate: false,
385
- off: false,
386
- fields: [],
387
- },
388
- ],
389
- },
390
- {
391
- id: -5,
392
- parent: 212570,
393
- fieldDefinition: {
394
- id: 1752,
395
- name: "Style Line",
396
- description: null,
397
- condition: null,
398
- required: null,
399
- duplicable: false,
400
- groupField: false,
401
- order: 17,
402
- fields: [],
403
- },
404
- value: null,
405
- duplicate: false,
406
- off: false,
407
- fields: [],
408
- },
409
- ],
410
- },
411
- {
412
- id: -6,
413
- parent: 212567,
414
- fieldDefinition: {
415
- id: 1458,
416
- name: "URL",
417
- description: null,
418
- condition: "=Kibana",
419
- required: null,
420
- duplicable: false,
421
- groupField: false,
422
- order: 18,
423
- fields: [],
424
- },
425
- value: null,
426
- duplicate: false,
427
- off: false,
428
- fields: [],
429
- },
430
- {
431
- id: -7,
432
- parent: 212567,
433
- fieldDefinition: {
434
- id: 1459,
435
- name: "FilterID",
436
- description: null,
437
- condition: "=Kibana",
438
- required: null,
439
- duplicable: false,
440
- groupField: false,
441
- order: 19,
442
- fields: [],
443
- },
444
- value: null,
445
- duplicate: false,
446
- off: false,
447
- fields: [],
448
- },
449
- {
450
- id: 212574,
451
- parent: 212567,
452
- fieldDefinition: {
453
- id: 1466,
454
- name: "Text",
455
- description: null,
456
- condition: "=Menu",
457
- required: null,
458
- duplicable: true,
459
- groupField: false,
460
- order: 20,
461
- fields: [],
462
- },
463
- value: "E-Learning Docs",
464
- duplicate: false,
465
- off: false,
466
- fields: [
467
- {
468
- id: 212575,
469
- parent: 212574,
470
- fieldDefinition: {
471
- id: 1467,
472
- name: "Link",
473
- description: null,
474
- condition: null,
475
- required: null,
476
- duplicable: false,
477
- groupField: false,
478
- order: 21,
479
- fields: [],
480
- },
481
- value: "/docs/",
482
- duplicate: false,
483
- off: false,
484
- fields: [],
485
- },
486
- {
487
- id: 212874,
488
- parent: 212574,
489
- fieldDefinition: {
490
- id: 1756,
491
- name: "Style Text",
492
- description: null,
493
- condition: null,
494
- required: null,
495
- duplicable: false,
496
- groupField: false,
497
- order: 22,
498
- fields: [],
499
- },
500
- value: "p-10",
501
- duplicate: false,
502
- off: false,
503
- fields: [],
504
- },
505
- ],
506
- },
507
- {
508
- id: 212576,
509
- parent: 212567,
510
- fieldDefinition: {
511
- id: 1466,
512
- name: "Text",
513
- description: null,
514
- condition: "=Menu",
515
- required: null,
516
- duplicable: true,
517
- groupField: false,
518
- order: 20,
519
- fields: [],
520
- },
521
- value: "Users",
522
- duplicate: true,
523
- off: false,
524
- fields: [
525
- {
526
- id: 212577,
527
- parent: 212576,
528
- fieldDefinition: {
529
- id: 1467,
530
- name: "Link",
531
- description: null,
532
- condition: null,
533
- required: null,
534
- duplicable: false,
535
- groupField: false,
536
- order: 21,
537
- fields: [],
538
- },
539
- value: "/userm/#/user",
540
- duplicate: false,
541
- off: false,
542
- fields: [],
543
- },
544
- {
545
- id: -8,
546
- parent: 212576,
547
- fieldDefinition: {
548
- id: 1756,
549
- name: "Style Text",
550
- description: null,
551
- condition: null,
552
- required: null,
553
- duplicable: false,
554
- groupField: false,
555
- order: 22,
556
- fields: [],
557
- },
558
- value: null,
559
- duplicate: false,
560
- off: false,
561
- fields: [],
562
- },
563
- ],
564
- },
565
- {
566
- id: 212578,
567
- parent: 212567,
568
- fieldDefinition: {
569
- id: 1466,
570
- name: "Text",
571
- description: null,
572
- condition: "=Menu",
573
- required: null,
574
- duplicable: true,
575
- groupField: false,
576
- order: 20,
577
- fields: [],
578
- },
579
- value: "Definitions",
580
- duplicate: true,
581
- off: false,
582
- fields: [
583
- {
584
- id: 212579,
585
- parent: 212578,
586
- fieldDefinition: {
587
- id: 1467,
588
- name: "Link",
589
- description: null,
590
- condition: null,
591
- required: null,
592
- duplicable: false,
593
- groupField: false,
594
- order: 21,
595
- fields: [],
596
- },
597
- value: "/recordm/#/domains",
598
- duplicate: false,
599
- off: false,
600
- fields: [],
601
- },
602
- {
603
- id: -9,
604
- parent: 212578,
605
- fieldDefinition: {
606
- id: 1756,
607
- name: "Style Text",
608
- description: null,
609
- condition: null,
610
- required: null,
611
- duplicable: false,
612
- groupField: false,
613
- order: 22,
614
- fields: [],
615
- },
616
- value: null,
617
- duplicate: false,
618
- off: false,
619
- fields: [],
620
- },
621
- ],
622
- },
623
- {
624
- id: 212580,
625
- parent: 212567,
626
- fieldDefinition: {
627
- id: 1466,
628
- name: "Text",
629
- description: null,
630
- condition: "=Menu",
631
- required: null,
632
- duplicable: true,
633
- groupField: false,
634
- order: 20,
635
- fields: [],
636
- },
637
- value: "Imports",
638
- duplicate: true,
639
- off: false,
640
- fields: [
641
- {
642
- id: 212581,
643
- parent: 212580,
644
- fieldDefinition: {
645
- id: 1467,
646
- name: "Link",
647
- description: null,
648
- condition: null,
649
- required: null,
650
- duplicable: false,
651
- groupField: false,
652
- order: 21,
653
- fields: [],
654
- },
655
- value: "/recordm/#/importer-stats",
656
- duplicate: false,
657
- off: false,
658
- fields: [],
659
- },
660
- {
661
- id: -10,
662
- parent: 212580,
663
- fieldDefinition: {
664
- id: 1756,
665
- name: "Style Text",
666
- description: null,
667
- condition: null,
668
- required: null,
669
- duplicable: false,
670
- groupField: false,
671
- order: 22,
672
- fields: [],
673
- },
674
- value: null,
675
- duplicate: false,
676
- off: false,
677
- fields: [],
678
- },
679
- ],
680
- },
681
- {
682
- id: 212688,
683
- parent: 212567,
684
- fieldDefinition: {
685
- id: 1466,
686
- name: "Text",
687
- description: null,
688
- condition: "=Menu",
689
- required: null,
690
- duplicable: true,
691
- groupField: false,
692
- order: 20,
693
- fields: [],
694
- },
695
- value: "Devices",
696
- duplicate: true,
697
- off: false,
698
- fields: [
699
- {
700
- id: 212689,
701
- parent: 212688,
702
- fieldDefinition: {
703
- id: 1467,
704
- name: "Link",
705
- description: null,
706
- condition: null,
707
- required: null,
708
- duplicable: false,
709
- groupField: false,
710
- order: 21,
711
- fields: [],
712
- },
713
- value: "/devicem/",
714
- duplicate: false,
715
- off: false,
716
- fields: [],
717
- },
718
- {
719
- id: -11,
720
- parent: 212688,
721
- fieldDefinition: {
722
- id: 1756,
723
- name: "Style Text",
724
- description: null,
725
- condition: null,
726
- required: null,
727
- duplicable: false,
728
- groupField: false,
729
- order: 22,
730
- fields: [],
731
- },
732
- value: null,
733
- duplicate: false,
734
- off: false,
735
- fields: [],
736
- },
737
- ],
738
- },
739
- {
740
- id: 212808,
741
- parent: 212567,
742
- fieldDefinition: {
743
- id: 1466,
744
- name: "Text",
745
- description: null,
746
- condition: "=Menu",
747
- required: null,
748
- duplicable: true,
749
- groupField: false,
750
- order: 20,
751
- fields: [],
752
- },
753
- value: "Dashboards",
754
- duplicate: true,
755
- off: false,
756
- fields: [
757
- {
758
- id: 212809,
759
- parent: 212808,
760
- fieldDefinition: {
761
- id: 1467,
762
- name: "Link",
763
- description: null,
764
- condition: null,
765
- required: null,
766
- duplicable: false,
767
- groupField: false,
768
- order: 21,
769
- fields: [],
770
- },
771
- value: "#/definitions/108/q=",
772
- duplicate: false,
773
- off: false,
774
- fields: [],
775
- },
776
- {
777
- id: -12,
778
- parent: 212808,
779
- fieldDefinition: {
780
- id: 1756,
781
- name: "Style Text",
782
- description: null,
783
- condition: null,
784
- required: null,
785
- duplicable: false,
786
- groupField: false,
787
- order: 22,
788
- fields: [],
789
- },
790
- value: null,
791
- duplicate: false,
792
- off: false,
793
- fields: [],
794
- },
795
- ],
796
- },
797
- {
798
- id: -13,
799
- parent: 212567,
800
- fieldDefinition: {
801
- id: 1471,
802
- name: "FilterID",
803
- description: null,
804
- condition: "=Filter",
805
- required: null,
806
- duplicable: false,
807
- groupField: false,
808
- order: 23,
809
- fields: [],
810
- },
811
- value: null,
812
- duplicate: false,
813
- off: false,
814
- fields: [],
815
- },
816
- {
817
- id: 212582,
818
- parent: 212567,
819
- fieldDefinition: {
820
- id: 1468,
821
- name: "subtype",
822
- description: "$[List,Text,Date]",
823
- condition: "=Filter",
824
- required: null,
825
- duplicable: true,
826
- groupField: false,
827
- order: 24,
828
- fields: [],
829
- },
830
- value: null,
831
- duplicate: false,
832
- off: false,
833
- fields: [
834
- {
835
- id: -14,
836
- parent: 212582,
837
- fieldDefinition: {
838
- id: 1469,
839
- name: "Alternatives",
840
- description: null,
841
- condition: "=List",
842
- required: null,
843
- duplicable: false,
844
- groupField: false,
845
- order: 25,
846
- fields: [],
847
- },
848
- value: null,
849
- duplicate: false,
850
- off: false,
851
- fields: [],
852
- },
853
- {
854
- id: -15,
855
- parent: 212582,
856
- fieldDefinition: {
857
- id: 1470,
858
- name: "DateFilterType",
859
- description: null,
860
- condition: "=Date",
861
- required: null,
862
- duplicable: false,
863
- groupField: false,
864
- order: 26,
865
- fields: [],
866
- },
867
- value: null,
868
- duplicate: false,
869
- off: false,
870
- fields: [],
871
- },
872
- ],
873
- },
874
- {
875
- id: -16,
876
- parent: 212567,
877
- fieldDefinition: {
878
- id: 1472,
879
- name: "Query",
880
- description: null,
881
- condition: "=MD List",
882
- required: null,
883
- duplicable: false,
884
- groupField: false,
885
- order: 27,
886
- fields: [],
887
- },
888
- value: null,
889
- duplicate: false,
890
- off: false,
891
- fields: [],
892
- },
893
- {
894
- id: -17,
895
- parent: 212567,
896
- fieldDefinition: {
897
- id: 1757,
898
- name: "Title",
899
- description: null,
900
- condition: "=Title",
901
- required: null,
902
- duplicable: false,
903
- groupField: false,
904
- order: 28,
905
- fields: [],
906
- },
907
- value: null,
908
- duplicate: false,
909
- off: false,
910
- fields: [],
911
- },
912
- ],
913
- },
914
- {
915
- id: 212839,
916
- parent: 212564,
917
- fieldDefinition: {
918
- id: 1455,
919
- name: "Component",
920
- description:
921
- "$[Totals,Menu,Kibana,Filter,Title] $instanceDescription $style[singleColumn] $expanded",
922
- condition: null,
923
- required: null,
924
- duplicable: true,
925
- groupField: false,
926
- order: 9,
927
- fields: [],
928
- },
929
- value: "Title",
930
- duplicate: true,
931
- off: false,
932
- fields: [
933
- {
934
- id: 212840,
935
- parent: 212839,
936
- fieldDefinition: {
937
- id: 1740,
938
- name: "Header",
939
- description: "$group ",
940
- condition: "=Totals",
941
- required: null,
942
- duplicable: false,
943
- groupField: true,
944
- order: 10,
945
- fields: [],
946
- },
947
- value: null,
948
- duplicate: false,
949
- off: false,
950
- fields: [
951
- {
952
- id: 212841,
953
- parent: 212840,
954
- fieldDefinition: {
955
- id: 1741,
956
- name: "Text",
957
- description: null,
958
- condition: null,
959
- required: null,
960
- duplicable: true,
961
- groupField: false,
962
- order: 11,
963
- fields: [],
964
- },
965
- value: null,
966
- duplicate: false,
967
- off: false,
968
- fields: [],
969
- },
970
- {
971
- id: -18,
972
- parent: 212840,
973
- fieldDefinition: {
974
- id: 1742,
975
- name: "Style Header",
976
- description: null,
977
- condition: null,
978
- required: null,
979
- duplicable: false,
980
- groupField: false,
981
- order: 12,
982
- fields: [],
983
- },
984
- value: null,
985
- duplicate: false,
986
- off: false,
987
- fields: [],
988
- },
989
- ],
990
- },
991
- {
992
- id: 212843,
993
- parent: 212839,
994
- fieldDefinition: {
995
- id: 1460,
996
- name: "Line",
997
- description: null,
998
- condition: "=Totals",
999
- required: null,
1000
- duplicable: true,
1001
- groupField: false,
1002
- order: 13,
1003
- fields: [],
1004
- },
1005
- value: null,
1006
- duplicate: false,
1007
- off: false,
1008
- fields: [
1009
- {
1010
- id: 212844,
1011
- parent: 212843,
1012
- fieldDefinition: {
1013
- id: 1744,
1014
- name: "Value",
1015
- description:
1016
- "$[*definitionCount,domainCount,fieldSum,link] ",
1017
- condition: null,
1018
- required: null,
1019
- duplicable: true,
1020
- groupField: false,
1021
- order: 14,
1022
- fields: [],
1023
- },
1024
- value: null,
1025
- duplicate: false,
1026
- off: false,
1027
- fields: [
1028
- {
1029
- id: 212845,
1030
- parent: 212844,
1031
- fieldDefinition: {
1032
- id: 1464,
1033
- name: "Style Value",
1034
- description: "$[*Info,Success,Warning,Important]",
1035
- condition: null,
1036
- required: null,
1037
- duplicable: false,
1038
- groupField: false,
1039
- order: 15,
1040
- fields: [],
1041
- },
1042
- value: null,
1043
- duplicate: false,
1044
- off: false,
1045
- fields: [],
1046
- },
1047
- {
1048
- id: 212846,
1049
- parent: 212844,
1050
- fieldDefinition: {
1051
- id: 1748,
1052
- name: "Arg",
1053
- description: null,
1054
- condition: null,
1055
- required: null,
1056
- duplicable: true,
1057
- groupField: false,
1058
- order: 16,
1059
- fields: [],
1060
- },
1061
- value: null,
1062
- duplicate: false,
1063
- off: false,
1064
- fields: [],
1065
- },
1066
- ],
1067
- },
1068
- {
1069
- id: -19,
1070
- parent: 212843,
1071
- fieldDefinition: {
1072
- id: 1752,
1073
- name: "Style Line",
1074
- description: null,
1075
- condition: null,
1076
- required: null,
1077
- duplicable: false,
1078
- groupField: false,
1079
- order: 17,
1080
- fields: [],
1081
- },
1082
- value: null,
1083
- duplicate: false,
1084
- off: false,
1085
- fields: [],
1086
- },
1087
- ],
1088
- },
1089
- {
1090
- id: -20,
1091
- parent: 212839,
1092
- fieldDefinition: {
1093
- id: 1458,
1094
- name: "URL",
1095
- description: null,
1096
- condition: "=Kibana",
1097
- required: null,
1098
- duplicable: false,
1099
- groupField: false,
1100
- order: 18,
1101
- fields: [],
1102
- },
1103
- value: null,
1104
- duplicate: false,
1105
- off: false,
1106
- fields: [],
1107
- },
1108
- {
1109
- id: -21,
1110
- parent: 212839,
1111
- fieldDefinition: {
1112
- id: 1459,
1113
- name: "FilterID",
1114
- description: null,
1115
- condition: "=Kibana",
1116
- required: null,
1117
- duplicable: false,
1118
- groupField: false,
1119
- order: 19,
1120
- fields: [],
1121
- },
1122
- value: null,
1123
- duplicate: false,
1124
- off: false,
1125
- fields: [],
1126
- },
1127
- {
1128
- id: 212847,
1129
- parent: 212839,
1130
- fieldDefinition: {
1131
- id: 1466,
1132
- name: "Text",
1133
- description: null,
1134
- condition: "=Menu",
1135
- required: null,
1136
- duplicable: true,
1137
- groupField: false,
1138
- order: 20,
1139
- fields: [],
1140
- },
1141
- value: null,
1142
- duplicate: false,
1143
- off: false,
1144
- fields: [
1145
- {
1146
- id: -22,
1147
- parent: 212847,
1148
- fieldDefinition: {
1149
- id: 1467,
1150
- name: "Link",
1151
- description: null,
1152
- condition: null,
1153
- required: null,
1154
- duplicable: false,
1155
- groupField: false,
1156
- order: 21,
1157
- fields: [],
1158
- },
1159
- value: null,
1160
- duplicate: false,
1161
- off: false,
1162
- fields: [],
1163
- },
1164
- {
1165
- id: -23,
1166
- parent: 212847,
1167
- fieldDefinition: {
1168
- id: 1756,
1169
- name: "Style Text",
1170
- description: null,
1171
- condition: null,
1172
- required: null,
1173
- duplicable: false,
1174
- groupField: false,
1175
- order: 22,
1176
- fields: [],
1177
- },
1178
- value: null,
1179
- duplicate: false,
1180
- off: false,
1181
- fields: [],
1182
- },
1183
- ],
1184
- },
1185
- {
1186
- id: -24,
1187
- parent: 212839,
1188
- fieldDefinition: {
1189
- id: 1471,
1190
- name: "FilterID",
1191
- description: null,
1192
- condition: "=Filter",
1193
- required: null,
1194
- duplicable: false,
1195
- groupField: false,
1196
- order: 23,
1197
- fields: [],
1198
- },
1199
- value: null,
1200
- duplicate: false,
1201
- off: false,
1202
- fields: [],
1203
- },
1204
- {
1205
- id: 212848,
1206
- parent: 212839,
1207
- fieldDefinition: {
1208
- id: 1468,
1209
- name: "subtype",
1210
- description: "$[List,Text,Date]",
1211
- condition: "=Filter",
1212
- required: null,
1213
- duplicable: true,
1214
- groupField: false,
1215
- order: 24,
1216
- fields: [],
1217
- },
1218
- value: null,
1219
- duplicate: false,
1220
- off: false,
1221
- fields: [
1222
- {
1223
- id: -25,
1224
- parent: 212848,
1225
- fieldDefinition: {
1226
- id: 1469,
1227
- name: "Alternatives",
1228
- description: null,
1229
- condition: "=List",
1230
- required: null,
1231
- duplicable: false,
1232
- groupField: false,
1233
- order: 25,
1234
- fields: [],
1235
- },
1236
- value: null,
1237
- duplicate: false,
1238
- off: false,
1239
- fields: [],
1240
- },
1241
- {
1242
- id: -26,
1243
- parent: 212848,
1244
- fieldDefinition: {
1245
- id: 1470,
1246
- name: "DateFilterType",
1247
- description: null,
1248
- condition: "=Date",
1249
- required: null,
1250
- duplicable: false,
1251
- groupField: false,
1252
- order: 26,
1253
- fields: [],
1254
- },
1255
- value: null,
1256
- duplicate: false,
1257
- off: false,
1258
- fields: [],
1259
- },
1260
- ],
1261
- },
1262
- {
1263
- id: -27,
1264
- parent: 212839,
1265
- fieldDefinition: {
1266
- id: 1472,
1267
- name: "Query",
1268
- description: null,
1269
- condition: "=MD List",
1270
- required: null,
1271
- duplicable: false,
1272
- groupField: false,
1273
- order: 27,
1274
- fields: [],
1275
- },
1276
- value: null,
1277
- duplicate: false,
1278
- off: false,
1279
- fields: [],
1280
- },
1281
- {
1282
- id: 212842,
1283
- parent: 212839,
1284
- fieldDefinition: {
1285
- id: 1757,
1286
- name: "Title",
1287
- description: null,
1288
- condition: "=Title",
1289
- required: null,
1290
- duplicable: false,
1291
- groupField: false,
1292
- order: 28,
1293
- fields: [],
1294
- },
1295
- value: "Main Menu",
1296
- duplicate: false,
1297
- off: false,
1298
- fields: [],
1299
- },
1300
- ],
1301
- },
1302
- ],
1303
- },
1304
- {
1305
- id: 212596,
1306
- parent: null,
1307
- fieldDefinition: {
1308
- id: 1451,
1309
- name: "Board Title",
1310
- description: "$instanceDescription $style[dualColumn]",
1311
- condition: null,
1312
- required: null,
1313
- duplicable: true,
1314
- groupField: false,
1315
- order: 6,
1316
- fields: [],
1317
- },
1318
- value: "Learning Solution",
1319
- duplicate: true,
1320
- off: false,
1321
- fields: [
1322
- {
1323
- id: 212597,
1324
- parent: 212596,
1325
- fieldDefinition: {
1326
- id: 1746,
1327
- name: "Col Span",
1328
- description: "$number $default(3) ",
1329
- condition: null,
1330
- required: null,
1331
- duplicable: false,
1332
- groupField: false,
1333
- order: 7,
1334
- fields: [],
1335
- },
1336
- value: "3",
1337
- duplicate: false,
1338
- off: false,
1339
- fields: [],
1340
- },
1341
- {
1342
- id: 212598,
1343
- parent: 212596,
1344
- fieldDefinition: {
1345
- id: 1747,
1346
- name: "Row Span",
1347
- description: "$number $default(1) ",
1348
- condition: null,
1349
- required: null,
1350
- duplicable: false,
1351
- groupField: false,
1352
- order: 8,
1353
- fields: [],
1354
- },
1355
- value: "4",
1356
- duplicate: false,
1357
- off: false,
1358
- fields: [],
1359
- },
1360
- {
1361
- id: 212599,
1362
- parent: 212596,
1363
- fieldDefinition: {
1364
- id: 1455,
1365
- name: "Component",
1366
- description:
1367
- "$[Totals,Menu,Kibana,Filter,Title] $instanceDescription $style[singleColumn] $expanded",
1368
- condition: null,
1369
- required: null,
1370
- duplicable: true,
1371
- groupField: false,
1372
- order: 9,
1373
- fields: [],
1374
- },
1375
- value: "Totals",
1376
- duplicate: false,
1377
- off: false,
1378
- fields: [
1379
- {
1380
- id: 212600,
1381
- parent: 212599,
1382
- fieldDefinition: {
1383
- id: 1740,
1384
- name: "Header",
1385
- description: "$group ",
1386
- condition: "=Totals",
1387
- required: null,
1388
- duplicable: false,
1389
- groupField: true,
1390
- order: 10,
1391
- fields: [],
1392
- },
1393
- value: null,
1394
- duplicate: false,
1395
- off: false,
1396
- fields: [
1397
- {
1398
- id: 212601,
1399
- parent: 212600,
1400
- fieldDefinition: {
1401
- id: 1741,
1402
- name: "Text",
1403
- description: null,
1404
- condition: null,
1405
- required: null,
1406
- duplicable: true,
1407
- groupField: false,
1408
- order: 11,
1409
- fields: [],
1410
- },
1411
- value: null,
1412
- duplicate: false,
1413
- off: false,
1414
- fields: [],
1415
- },
1416
- {
1417
- id: -28,
1418
- parent: 212600,
1419
- fieldDefinition: {
1420
- id: 1742,
1421
- name: "Style Header",
1422
- description: null,
1423
- condition: null,
1424
- required: null,
1425
- duplicable: false,
1426
- groupField: false,
1427
- order: 12,
1428
- fields: [],
1429
- },
1430
- value: null,
1431
- duplicate: false,
1432
- off: false,
1433
- fields: [],
1434
- },
1435
- ],
1436
- },
1437
- {
1438
- id: 212602,
1439
- parent: 212599,
1440
- fieldDefinition: {
1441
- id: 1460,
1442
- name: "Line",
1443
- description: null,
1444
- condition: "=Totals",
1445
- required: null,
1446
- duplicable: true,
1447
- groupField: false,
1448
- order: 13,
1449
- fields: [],
1450
- },
1451
- value: "Contents",
1452
- duplicate: false,
1453
- off: false,
1454
- fields: [
1455
- {
1456
- id: 212603,
1457
- parent: 212602,
1458
- fieldDefinition: {
1459
- id: 1744,
1460
- name: "Value",
1461
- description:
1462
- "$[*definitionCount,domainCount,fieldSum,link] ",
1463
- condition: null,
1464
- required: null,
1465
- duplicable: true,
1466
- groupField: false,
1467
- order: 14,
1468
- fields: [],
1469
- },
1470
- value: "definitionCount",
1471
- duplicate: false,
1472
- off: false,
1473
- fields: [
1474
- {
1475
- id: 212604,
1476
- parent: 212603,
1477
- fieldDefinition: {
1478
- id: 1464,
1479
- name: "Style Value",
1480
- description: "$[*Info,Success,Warning,Important]",
1481
- condition: null,
1482
- required: null,
1483
- duplicable: false,
1484
- groupField: false,
1485
- order: 15,
1486
- fields: [],
1487
- },
1488
- value: "Info",
1489
- duplicate: false,
1490
- off: false,
1491
- fields: [],
1492
- },
1493
- {
1494
- id: 212605,
1495
- parent: 212603,
1496
- fieldDefinition: {
1497
- id: 1748,
1498
- name: "Arg",
1499
- description: null,
1500
- condition: null,
1501
- required: null,
1502
- duplicable: true,
1503
- groupField: false,
1504
- order: 16,
1505
- fields: [],
1506
- },
1507
- value: "E-learning Contents",
1508
- duplicate: false,
1509
- off: false,
1510
- fields: [],
1511
- },
1512
- ],
1513
- },
1514
- {
1515
- id: -29,
1516
- parent: 212602,
1517
- fieldDefinition: {
1518
- id: 1752,
1519
- name: "Style Line",
1520
- description: null,
1521
- condition: null,
1522
- required: null,
1523
- duplicable: false,
1524
- groupField: false,
1525
- order: 17,
1526
- fields: [],
1527
- },
1528
- value: null,
1529
- duplicate: false,
1530
- off: false,
1531
- fields: [],
1532
- },
1533
- ],
1534
- },
1535
- {
1536
- id: 212726,
1537
- parent: 212599,
1538
- fieldDefinition: {
1539
- id: 1460,
1540
- name: "Line",
1541
- description: null,
1542
- condition: "=Totals",
1543
- required: null,
1544
- duplicable: true,
1545
- groupField: false,
1546
- order: 13,
1547
- fields: [],
1548
- },
1549
- value: "RFCs",
1550
- duplicate: true,
1551
- off: false,
1552
- fields: [
1553
- {
1554
- id: 212727,
1555
- parent: 212726,
1556
- fieldDefinition: {
1557
- id: 1744,
1558
- name: "Value",
1559
- description:
1560
- "$[*definitionCount,domainCount,fieldSum,link] ",
1561
- condition: null,
1562
- required: null,
1563
- duplicable: true,
1564
- groupField: false,
1565
- order: 14,
1566
- fields: [],
1567
- },
1568
- value: "definitionCount",
1569
- duplicate: false,
1570
- off: false,
1571
- fields: [
1572
- {
1573
- id: 212728,
1574
- parent: 212727,
1575
- fieldDefinition: {
1576
- id: 1464,
1577
- name: "Style Value",
1578
- description: "$[*Info,Success,Warning,Important]",
1579
- condition: null,
1580
- required: null,
1581
- duplicable: false,
1582
- groupField: false,
1583
- order: 15,
1584
- fields: [],
1585
- },
1586
- value: "Info",
1587
- duplicate: false,
1588
- off: false,
1589
- fields: [],
1590
- },
1591
- {
1592
- id: 212729,
1593
- parent: 212727,
1594
- fieldDefinition: {
1595
- id: 1748,
1596
- name: "Arg",
1597
- description: null,
1598
- condition: null,
1599
- required: null,
1600
- duplicable: true,
1601
- groupField: false,
1602
- order: 16,
1603
- fields: [],
1604
- },
1605
- value: "E-learning Content RFCs",
1606
- duplicate: false,
1607
- off: false,
1608
- fields: [],
1609
- },
1610
- ],
1611
- },
1612
- {
1613
- id: -30,
1614
- parent: 212726,
1615
- fieldDefinition: {
1616
- id: 1752,
1617
- name: "Style Line",
1618
- description: null,
1619
- condition: null,
1620
- required: null,
1621
- duplicable: false,
1622
- groupField: false,
1623
- order: 17,
1624
- fields: [],
1625
- },
1626
- value: null,
1627
- duplicate: false,
1628
- off: false,
1629
- fields: [],
1630
- },
1631
- ],
1632
- },
1633
- {
1634
- id: 212730,
1635
- parent: 212599,
1636
- fieldDefinition: {
1637
- id: 1460,
1638
- name: "Line",
1639
- description: null,
1640
- condition: "=Totals",
1641
- required: null,
1642
- duplicable: true,
1643
- groupField: false,
1644
- order: 13,
1645
- fields: [],
1646
- },
1647
- value: "- To Review",
1648
- duplicate: true,
1649
- off: false,
1650
- fields: [
1651
- {
1652
- id: 212731,
1653
- parent: 212730,
1654
- fieldDefinition: {
1655
- id: 1744,
1656
- name: "Value",
1657
- description:
1658
- "$[*definitionCount,domainCount,fieldSum,link] ",
1659
- condition: null,
1660
- required: null,
1661
- duplicable: true,
1662
- groupField: false,
1663
- order: 14,
1664
- fields: [],
1665
- },
1666
- value: "definitionCount",
1667
- duplicate: false,
1668
- off: false,
1669
- fields: [
1670
- {
1671
- id: 212732,
1672
- parent: 212731,
1673
- fieldDefinition: {
1674
- id: 1464,
1675
- name: "Style Value",
1676
- description: "$[*Info,Success,Warning,Important]",
1677
- condition: null,
1678
- required: null,
1679
- duplicable: false,
1680
- groupField: false,
1681
- order: 15,
1682
- fields: [],
1683
- },
1684
- value: "Important",
1685
- duplicate: false,
1686
- off: false,
1687
- fields: [],
1688
- },
1689
- {
1690
- id: 212733,
1691
- parent: 212731,
1692
- fieldDefinition: {
1693
- id: 1748,
1694
- name: "Arg",
1695
- description: null,
1696
- condition: null,
1697
- required: null,
1698
- duplicable: true,
1699
- groupField: false,
1700
- order: 16,
1701
- fields: [],
1702
- },
1703
- value: "E-learning Content RFCs",
1704
- duplicate: false,
1705
- off: false,
1706
- fields: [],
1707
- },
1708
- {
1709
- id: 212742,
1710
- parent: 212731,
1711
- fieldDefinition: {
1712
- id: 1748,
1713
- name: "Arg",
1714
- description: null,
1715
- condition: null,
1716
- required: null,
1717
- duplicable: true,
1718
- groupField: false,
1719
- order: 16,
1720
- fields: [],
1721
- },
1722
- value: "proposal_state:Review",
1723
- duplicate: true,
1724
- off: false,
1725
- fields: [],
1726
- },
1727
- ],
1728
- },
1729
- {
1730
- id: 212870,
1731
- parent: 212730,
1732
- fieldDefinition: {
1733
- id: 1752,
1734
- name: "Style Line",
1735
- description: null,
1736
- condition: null,
1737
- required: null,
1738
- duplicable: false,
1739
- groupField: false,
1740
- order: 17,
1741
- fields: [],
1742
- },
1743
- value: "text-center",
1744
- duplicate: false,
1745
- off: false,
1746
- fields: [],
1747
- },
1748
- ],
1749
- },
1750
- {
1751
- id: 212734,
1752
- parent: 212599,
1753
- fieldDefinition: {
1754
- id: 1460,
1755
- name: "Line",
1756
- description: null,
1757
- condition: "=Totals",
1758
- required: null,
1759
- duplicable: true,
1760
- groupField: false,
1761
- order: 13,
1762
- fields: [],
1763
- },
1764
- value: "- Reviewed",
1765
- duplicate: true,
1766
- off: false,
1767
- fields: [
1768
- {
1769
- id: 212735,
1770
- parent: 212734,
1771
- fieldDefinition: {
1772
- id: 1744,
1773
- name: "Value",
1774
- description:
1775
- "$[*definitionCount,domainCount,fieldSum,link] ",
1776
- condition: null,
1777
- required: null,
1778
- duplicable: true,
1779
- groupField: false,
1780
- order: 14,
1781
- fields: [],
1782
- },
1783
- value: "definitionCount",
1784
- duplicate: false,
1785
- off: false,
1786
- fields: [
1787
- {
1788
- id: 212736,
1789
- parent: 212735,
1790
- fieldDefinition: {
1791
- id: 1464,
1792
- name: "Style Value",
1793
- description: "$[*Info,Success,Warning,Important]",
1794
- condition: null,
1795
- required: null,
1796
- duplicable: false,
1797
- groupField: false,
1798
- order: 15,
1799
- fields: [],
1800
- },
1801
- value: "Warning",
1802
- duplicate: false,
1803
- off: false,
1804
- fields: [],
1805
- },
1806
- {
1807
- id: 212737,
1808
- parent: 212735,
1809
- fieldDefinition: {
1810
- id: 1748,
1811
- name: "Arg",
1812
- description: null,
1813
- condition: null,
1814
- required: null,
1815
- duplicable: true,
1816
- groupField: false,
1817
- order: 16,
1818
- fields: [],
1819
- },
1820
- value: "E-learning Content RFCs",
1821
- duplicate: false,
1822
- off: false,
1823
- fields: [],
1824
- },
1825
- {
1826
- id: 212743,
1827
- parent: 212735,
1828
- fieldDefinition: {
1829
- id: 1748,
1830
- name: "Arg",
1831
- description: null,
1832
- condition: null,
1833
- required: null,
1834
- duplicable: true,
1835
- groupField: false,
1836
- order: 16,
1837
- fields: [],
1838
- },
1839
- value: "proposal_state:Comments",
1840
- duplicate: true,
1841
- off: false,
1842
- fields: [],
1843
- },
1844
- ],
1845
- },
1846
- {
1847
- id: 212871,
1848
- parent: 212734,
1849
- fieldDefinition: {
1850
- id: 1752,
1851
- name: "Style Line",
1852
- description: null,
1853
- condition: null,
1854
- required: null,
1855
- duplicable: false,
1856
- groupField: false,
1857
- order: 17,
1858
- fields: [],
1859
- },
1860
- value: "text-center",
1861
- duplicate: false,
1862
- off: false,
1863
- fields: [],
1864
- },
1865
- ],
1866
- },
1867
- {
1868
- id: 212738,
1869
- parent: 212599,
1870
- fieldDefinition: {
1871
- id: 1460,
1872
- name: "Line",
1873
- description: null,
1874
- condition: "=Totals",
1875
- required: null,
1876
- duplicable: true,
1877
- groupField: false,
1878
- order: 13,
1879
- fields: [],
1880
- },
1881
- value: "- Processed",
1882
- duplicate: true,
1883
- off: false,
1884
- fields: [
1885
- {
1886
- id: 212739,
1887
- parent: 212738,
1888
- fieldDefinition: {
1889
- id: 1744,
1890
- name: "Value",
1891
- description:
1892
- "$[*definitionCount,domainCount,fieldSum,link] ",
1893
- condition: null,
1894
- required: null,
1895
- duplicable: true,
1896
- groupField: false,
1897
- order: 14,
1898
- fields: [],
1899
- },
1900
- value: "definitionCount",
1901
- duplicate: false,
1902
- off: false,
1903
- fields: [
1904
- {
1905
- id: 212740,
1906
- parent: 212739,
1907
- fieldDefinition: {
1908
- id: 1464,
1909
- name: "Style Value",
1910
- description: "$[*Info,Success,Warning,Important]",
1911
- condition: null,
1912
- required: null,
1913
- duplicable: false,
1914
- groupField: false,
1915
- order: 15,
1916
- fields: [],
1917
- },
1918
- value: "Success",
1919
- duplicate: false,
1920
- off: false,
1921
- fields: [],
1922
- },
1923
- {
1924
- id: 212741,
1925
- parent: 212739,
1926
- fieldDefinition: {
1927
- id: 1748,
1928
- name: "Arg",
1929
- description: null,
1930
- condition: null,
1931
- required: null,
1932
- duplicable: true,
1933
- groupField: false,
1934
- order: 16,
1935
- fields: [],
1936
- },
1937
- value: "E-learning Content RFCs",
1938
- duplicate: false,
1939
- off: false,
1940
- fields: [],
1941
- },
1942
- {
1943
- id: 212744,
1944
- parent: 212739,
1945
- fieldDefinition: {
1946
- id: 1748,
1947
- name: "Arg",
1948
- description: null,
1949
- condition: null,
1950
- required: null,
1951
- duplicable: true,
1952
- groupField: false,
1953
- order: 16,
1954
- fields: [],
1955
- },
1956
- value: "proposal_state:Processed",
1957
- duplicate: true,
1958
- off: false,
1959
- fields: [],
1960
- },
1961
- ],
1962
- },
1963
- {
1964
- id: 212872,
1965
- parent: 212738,
1966
- fieldDefinition: {
1967
- id: 1752,
1968
- name: "Style Line",
1969
- description: null,
1970
- condition: null,
1971
- required: null,
1972
- duplicable: false,
1973
- groupField: false,
1974
- order: 17,
1975
- fields: [],
1976
- },
1977
- value: "text-center",
1978
- duplicate: false,
1979
- off: false,
1980
- fields: [],
1981
- },
1982
- ],
1983
- },
1984
- {
1985
- id: -31,
1986
- parent: 212599,
1987
- fieldDefinition: {
1988
- id: 1458,
1989
- name: "URL",
1990
- description: null,
1991
- condition: "=Kibana",
1992
- required: null,
1993
- duplicable: false,
1994
- groupField: false,
1995
- order: 18,
1996
- fields: [],
1997
- },
1998
- value: null,
1999
- duplicate: false,
2000
- off: false,
2001
- fields: [],
2002
- },
2003
- {
2004
- id: -32,
2005
- parent: 212599,
2006
- fieldDefinition: {
2007
- id: 1459,
2008
- name: "FilterID",
2009
- description: null,
2010
- condition: "=Kibana",
2011
- required: null,
2012
- duplicable: false,
2013
- groupField: false,
2014
- order: 19,
2015
- fields: [],
2016
- },
2017
- value: null,
2018
- duplicate: false,
2019
- off: false,
2020
- fields: [],
2021
- },
2022
- {
2023
- id: 212606,
2024
- parent: 212599,
2025
- fieldDefinition: {
2026
- id: 1466,
2027
- name: "Text",
2028
- description: null,
2029
- condition: "=Menu",
2030
- required: null,
2031
- duplicable: true,
2032
- groupField: false,
2033
- order: 20,
2034
- fields: [],
2035
- },
2036
- value: null,
2037
- duplicate: false,
2038
- off: false,
2039
- fields: [
2040
- {
2041
- id: -33,
2042
- parent: 212606,
2043
- fieldDefinition: {
2044
- id: 1467,
2045
- name: "Link",
2046
- description: null,
2047
- condition: null,
2048
- required: null,
2049
- duplicable: false,
2050
- groupField: false,
2051
- order: 21,
2052
- fields: [],
2053
- },
2054
- value: null,
2055
- duplicate: false,
2056
- off: false,
2057
- fields: [],
2058
- },
2059
- {
2060
- id: -34,
2061
- parent: 212606,
2062
- fieldDefinition: {
2063
- id: 1756,
2064
- name: "Style Text",
2065
- description: null,
2066
- condition: null,
2067
- required: null,
2068
- duplicable: false,
2069
- groupField: false,
2070
- order: 22,
2071
- fields: [],
2072
- },
2073
- value: null,
2074
- duplicate: false,
2075
- off: false,
2076
- fields: [],
2077
- },
2078
- ],
2079
- },
2080
- {
2081
- id: -35,
2082
- parent: 212599,
2083
- fieldDefinition: {
2084
- id: 1471,
2085
- name: "FilterID",
2086
- description: null,
2087
- condition: "=Filter",
2088
- required: null,
2089
- duplicable: false,
2090
- groupField: false,
2091
- order: 23,
2092
- fields: [],
2093
- },
2094
- value: null,
2095
- duplicate: false,
2096
- off: false,
2097
- fields: [],
2098
- },
2099
- {
2100
- id: 212607,
2101
- parent: 212599,
2102
- fieldDefinition: {
2103
- id: 1468,
2104
- name: "subtype",
2105
- description: "$[List,Text,Date]",
2106
- condition: "=Filter",
2107
- required: null,
2108
- duplicable: true,
2109
- groupField: false,
2110
- order: 24,
2111
- fields: [],
2112
- },
2113
- value: null,
2114
- duplicate: false,
2115
- off: false,
2116
- fields: [
2117
- {
2118
- id: -36,
2119
- parent: 212607,
2120
- fieldDefinition: {
2121
- id: 1469,
2122
- name: "Alternatives",
2123
- description: null,
2124
- condition: "=List",
2125
- required: null,
2126
- duplicable: false,
2127
- groupField: false,
2128
- order: 25,
2129
- fields: [],
2130
- },
2131
- value: null,
2132
- duplicate: false,
2133
- off: false,
2134
- fields: [],
2135
- },
2136
- {
2137
- id: -37,
2138
- parent: 212607,
2139
- fieldDefinition: {
2140
- id: 1470,
2141
- name: "DateFilterType",
2142
- description: null,
2143
- condition: "=Date",
2144
- required: null,
2145
- duplicable: false,
2146
- groupField: false,
2147
- order: 26,
2148
- fields: [],
2149
- },
2150
- value: null,
2151
- duplicate: false,
2152
- off: false,
2153
- fields: [],
2154
- },
2155
- ],
2156
- },
2157
- {
2158
- id: -38,
2159
- parent: 212599,
2160
- fieldDefinition: {
2161
- id: 1472,
2162
- name: "Query",
2163
- description: null,
2164
- condition: "=MD List",
2165
- required: null,
2166
- duplicable: false,
2167
- groupField: false,
2168
- order: 27,
2169
- fields: [],
2170
- },
2171
- value: null,
2172
- duplicate: false,
2173
- off: false,
2174
- fields: [],
2175
- },
2176
- {
2177
- id: -39,
2178
- parent: 212599,
2179
- fieldDefinition: {
2180
- id: 1757,
2181
- name: "Title",
2182
- description: null,
2183
- condition: "=Title",
2184
- required: null,
2185
- duplicable: false,
2186
- groupField: false,
2187
- order: 28,
2188
- fields: [],
2189
- },
2190
- value: null,
2191
- duplicate: false,
2192
- off: false,
2193
- fields: [],
2194
- },
2195
- ],
2196
- },
2197
- {
2198
- id: 212850,
2199
- parent: 212596,
2200
- fieldDefinition: {
2201
- id: 1455,
2202
- name: "Component",
2203
- description:
2204
- "$[Totals,Menu,Kibana,Filter,Title] $instanceDescription $style[singleColumn] $expanded",
2205
- condition: null,
2206
- required: null,
2207
- duplicable: true,
2208
- groupField: false,
2209
- order: 9,
2210
- fields: [],
2211
- },
2212
- value: "Title",
2213
- duplicate: true,
2214
- off: false,
2215
- fields: [
2216
- {
2217
- id: 212851,
2218
- parent: 212850,
2219
- fieldDefinition: {
2220
- id: 1740,
2221
- name: "Header",
2222
- description: "$group ",
2223
- condition: "=Totals",
2224
- required: null,
2225
- duplicable: false,
2226
- groupField: true,
2227
- order: 10,
2228
- fields: [],
2229
- },
2230
- value: null,
2231
- duplicate: false,
2232
- off: false,
2233
- fields: [
2234
- {
2235
- id: 212852,
2236
- parent: 212851,
2237
- fieldDefinition: {
2238
- id: 1741,
2239
- name: "Text",
2240
- description: null,
2241
- condition: null,
2242
- required: null,
2243
- duplicable: true,
2244
- groupField: false,
2245
- order: 11,
2246
- fields: [],
2247
- },
2248
- value: null,
2249
- duplicate: false,
2250
- off: false,
2251
- fields: [],
2252
- },
2253
- {
2254
- id: -40,
2255
- parent: 212851,
2256
- fieldDefinition: {
2257
- id: 1742,
2258
- name: "Style Header",
2259
- description: null,
2260
- condition: null,
2261
- required: null,
2262
- duplicable: false,
2263
- groupField: false,
2264
- order: 12,
2265
- fields: [],
2266
- },
2267
- value: null,
2268
- duplicate: false,
2269
- off: false,
2270
- fields: [],
2271
- },
2272
- ],
2273
- },
2274
- {
2275
- id: 212854,
2276
- parent: 212850,
2277
- fieldDefinition: {
2278
- id: 1460,
2279
- name: "Line",
2280
- description: null,
2281
- condition: "=Totals",
2282
- required: null,
2283
- duplicable: true,
2284
- groupField: false,
2285
- order: 13,
2286
- fields: [],
2287
- },
2288
- value: null,
2289
- duplicate: false,
2290
- off: false,
2291
- fields: [
2292
- {
2293
- id: 212855,
2294
- parent: 212854,
2295
- fieldDefinition: {
2296
- id: 1744,
2297
- name: "Value",
2298
- description:
2299
- "$[*definitionCount,domainCount,fieldSum,link] ",
2300
- condition: null,
2301
- required: null,
2302
- duplicable: true,
2303
- groupField: false,
2304
- order: 14,
2305
- fields: [],
2306
- },
2307
- value: null,
2308
- duplicate: false,
2309
- off: false,
2310
- fields: [
2311
- {
2312
- id: 212856,
2313
- parent: 212855,
2314
- fieldDefinition: {
2315
- id: 1464,
2316
- name: "Style Value",
2317
- description: "$[*Info,Success,Warning,Important]",
2318
- condition: null,
2319
- required: null,
2320
- duplicable: false,
2321
- groupField: false,
2322
- order: 15,
2323
- fields: [],
2324
- },
2325
- value: null,
2326
- duplicate: false,
2327
- off: false,
2328
- fields: [],
2329
- },
2330
- {
2331
- id: 212857,
2332
- parent: 212855,
2333
- fieldDefinition: {
2334
- id: 1748,
2335
- name: "Arg",
2336
- description: null,
2337
- condition: null,
2338
- required: null,
2339
- duplicable: true,
2340
- groupField: false,
2341
- order: 16,
2342
- fields: [],
2343
- },
2344
- value: null,
2345
- duplicate: false,
2346
- off: false,
2347
- fields: [],
2348
- },
2349
- ],
2350
- },
2351
- {
2352
- id: -41,
2353
- parent: 212854,
2354
- fieldDefinition: {
2355
- id: 1752,
2356
- name: "Style Line",
2357
- description: null,
2358
- condition: null,
2359
- required: null,
2360
- duplicable: false,
2361
- groupField: false,
2362
- order: 17,
2363
- fields: [],
2364
- },
2365
- value: null,
2366
- duplicate: false,
2367
- off: false,
2368
- fields: [],
2369
- },
2370
- ],
2371
- },
2372
- {
2373
- id: -42,
2374
- parent: 212850,
2375
- fieldDefinition: {
2376
- id: 1458,
2377
- name: "URL",
2378
- description: null,
2379
- condition: "=Kibana",
2380
- required: null,
2381
- duplicable: false,
2382
- groupField: false,
2383
- order: 18,
2384
- fields: [],
2385
- },
2386
- value: null,
2387
- duplicate: false,
2388
- off: false,
2389
- fields: [],
2390
- },
2391
- {
2392
- id: -43,
2393
- parent: 212850,
2394
- fieldDefinition: {
2395
- id: 1459,
2396
- name: "FilterID",
2397
- description: null,
2398
- condition: "=Kibana",
2399
- required: null,
2400
- duplicable: false,
2401
- groupField: false,
2402
- order: 19,
2403
- fields: [],
2404
- },
2405
- value: null,
2406
- duplicate: false,
2407
- off: false,
2408
- fields: [],
2409
- },
2410
- {
2411
- id: 212858,
2412
- parent: 212850,
2413
- fieldDefinition: {
2414
- id: 1466,
2415
- name: "Text",
2416
- description: null,
2417
- condition: "=Menu",
2418
- required: null,
2419
- duplicable: true,
2420
- groupField: false,
2421
- order: 20,
2422
- fields: [],
2423
- },
2424
- value: null,
2425
- duplicate: false,
2426
- off: false,
2427
- fields: [
2428
- {
2429
- id: -44,
2430
- parent: 212858,
2431
- fieldDefinition: {
2432
- id: 1467,
2433
- name: "Link",
2434
- description: null,
2435
- condition: null,
2436
- required: null,
2437
- duplicable: false,
2438
- groupField: false,
2439
- order: 21,
2440
- fields: [],
2441
- },
2442
- value: null,
2443
- duplicate: false,
2444
- off: false,
2445
- fields: [],
2446
- },
2447
- {
2448
- id: -45,
2449
- parent: 212858,
2450
- fieldDefinition: {
2451
- id: 1756,
2452
- name: "Style Text",
2453
- description: null,
2454
- condition: null,
2455
- required: null,
2456
- duplicable: false,
2457
- groupField: false,
2458
- order: 22,
2459
- fields: [],
2460
- },
2461
- value: null,
2462
- duplicate: false,
2463
- off: false,
2464
- fields: [],
2465
- },
2466
- ],
2467
- },
2468
- {
2469
- id: -46,
2470
- parent: 212850,
2471
- fieldDefinition: {
2472
- id: 1471,
2473
- name: "FilterID",
2474
- description: null,
2475
- condition: "=Filter",
2476
- required: null,
2477
- duplicable: false,
2478
- groupField: false,
2479
- order: 23,
2480
- fields: [],
2481
- },
2482
- value: null,
2483
- duplicate: false,
2484
- off: false,
2485
- fields: [],
2486
- },
2487
- {
2488
- id: 212859,
2489
- parent: 212850,
2490
- fieldDefinition: {
2491
- id: 1468,
2492
- name: "subtype",
2493
- description: "$[List,Text,Date]",
2494
- condition: "=Filter",
2495
- required: null,
2496
- duplicable: true,
2497
- groupField: false,
2498
- order: 24,
2499
- fields: [],
2500
- },
2501
- value: null,
2502
- duplicate: false,
2503
- off: false,
2504
- fields: [
2505
- {
2506
- id: -47,
2507
- parent: 212859,
2508
- fieldDefinition: {
2509
- id: 1469,
2510
- name: "Alternatives",
2511
- description: null,
2512
- condition: "=List",
2513
- required: null,
2514
- duplicable: false,
2515
- groupField: false,
2516
- order: 25,
2517
- fields: [],
2518
- },
2519
- value: null,
2520
- duplicate: false,
2521
- off: false,
2522
- fields: [],
2523
- },
2524
- {
2525
- id: -48,
2526
- parent: 212859,
2527
- fieldDefinition: {
2528
- id: 1470,
2529
- name: "DateFilterType",
2530
- description: null,
2531
- condition: "=Date",
2532
- required: null,
2533
- duplicable: false,
2534
- groupField: false,
2535
- order: 26,
2536
- fields: [],
2537
- },
2538
- value: null,
2539
- duplicate: false,
2540
- off: false,
2541
- fields: [],
2542
- },
2543
- ],
2544
- },
2545
- {
2546
- id: -49,
2547
- parent: 212850,
2548
- fieldDefinition: {
2549
- id: 1472,
2550
- name: "Query",
2551
- description: null,
2552
- condition: "=MD List",
2553
- required: null,
2554
- duplicable: false,
2555
- groupField: false,
2556
- order: 27,
2557
- fields: [],
2558
- },
2559
- value: null,
2560
- duplicate: false,
2561
- off: false,
2562
- fields: [],
2563
- },
2564
- {
2565
- id: 212853,
2566
- parent: 212850,
2567
- fieldDefinition: {
2568
- id: 1757,
2569
- name: "Title",
2570
- description: null,
2571
- condition: "=Title",
2572
- required: null,
2573
- duplicable: false,
2574
- groupField: false,
2575
- order: 28,
2576
- fields: [],
2577
- },
2578
- value: "Learning Solution",
2579
- duplicate: false,
2580
- off: false,
2581
- fields: [],
2582
- },
2583
- ],
2584
- },
2585
- ],
2586
- },
2587
- {
2588
- id: 212608,
2589
- parent: null,
2590
- fieldDefinition: {
2591
- id: 1451,
2592
- name: "Board Title",
2593
- description: "$instanceDescription $style[dualColumn]",
2594
- condition: null,
2595
- required: null,
2596
- duplicable: true,
2597
- groupField: false,
2598
- order: 6,
2599
- fields: [],
2600
- },
2601
- value: "Prototypes",
2602
- duplicate: true,
2603
- off: false,
2604
- fields: [
2605
- {
2606
- id: 212609,
2607
- parent: 212608,
2608
- fieldDefinition: {
2609
- id: 1746,
2610
- name: "Col Span",
2611
- description: "$number $default(3) ",
2612
- condition: null,
2613
- required: null,
2614
- duplicable: false,
2615
- groupField: false,
2616
- order: 7,
2617
- fields: [],
2618
- },
2619
- value: "1",
2620
- duplicate: false,
2621
- off: false,
2622
- fields: [],
2623
- },
2624
- {
2625
- id: 212610,
2626
- parent: 212608,
2627
- fieldDefinition: {
2628
- id: 1747,
2629
- name: "Row Span",
2630
- description: "$number $default(1) ",
2631
- condition: null,
2632
- required: null,
2633
- duplicable: false,
2634
- groupField: false,
2635
- order: 8,
2636
- fields: [],
2637
- },
2638
- value: "4",
2639
- duplicate: false,
2640
- off: false,
2641
- fields: [],
2642
- },
2643
- {
2644
- id: 212611,
2645
- parent: 212608,
2646
- fieldDefinition: {
2647
- id: 1455,
2648
- name: "Component",
2649
- description:
2650
- "$[Totals,Menu,Kibana,Filter,Title] $instanceDescription $style[singleColumn] $expanded",
2651
- condition: null,
2652
- required: null,
2653
- duplicable: true,
2654
- groupField: false,
2655
- order: 9,
2656
- fields: [],
2657
- },
2658
- value: "Menu",
2659
- duplicate: false,
2660
- off: false,
2661
- fields: [
2662
- {
2663
- id: 212612,
2664
- parent: 212611,
2665
- fieldDefinition: {
2666
- id: 1740,
2667
- name: "Header",
2668
- description: "$group ",
2669
- condition: "=Totals",
2670
- required: null,
2671
- duplicable: false,
2672
- groupField: true,
2673
- order: 10,
2674
- fields: [],
2675
- },
2676
- value: null,
2677
- duplicate: false,
2678
- off: false,
2679
- fields: [
2680
- {
2681
- id: 212613,
2682
- parent: 212612,
2683
- fieldDefinition: {
2684
- id: 1741,
2685
- name: "Text",
2686
- description: null,
2687
- condition: null,
2688
- required: null,
2689
- duplicable: true,
2690
- groupField: false,
2691
- order: 11,
2692
- fields: [],
2693
- },
2694
- value: null,
2695
- duplicate: false,
2696
- off: false,
2697
- fields: [],
2698
- },
2699
- {
2700
- id: -50,
2701
- parent: 212612,
2702
- fieldDefinition: {
2703
- id: 1742,
2704
- name: "Style Header",
2705
- description: null,
2706
- condition: null,
2707
- required: null,
2708
- duplicable: false,
2709
- groupField: false,
2710
- order: 12,
2711
- fields: [],
2712
- },
2713
- value: null,
2714
- duplicate: false,
2715
- off: false,
2716
- fields: [],
2717
- },
2718
- ],
2719
- },
2720
- {
2721
- id: 212614,
2722
- parent: 212611,
2723
- fieldDefinition: {
2724
- id: 1460,
2725
- name: "Line",
2726
- description: null,
2727
- condition: "=Totals",
2728
- required: null,
2729
- duplicable: true,
2730
- groupField: false,
2731
- order: 13,
2732
- fields: [],
2733
- },
2734
- value: null,
2735
- duplicate: false,
2736
- off: false,
2737
- fields: [
2738
- {
2739
- id: 212615,
2740
- parent: 212614,
2741
- fieldDefinition: {
2742
- id: 1744,
2743
- name: "Value",
2744
- description:
2745
- "$[*definitionCount,domainCount,fieldSum,link] ",
2746
- condition: null,
2747
- required: null,
2748
- duplicable: true,
2749
- groupField: false,
2750
- order: 14,
2751
- fields: [],
2752
- },
2753
- value: null,
2754
- duplicate: false,
2755
- off: false,
2756
- fields: [
2757
- {
2758
- id: 212616,
2759
- parent: 212615,
2760
- fieldDefinition: {
2761
- id: 1464,
2762
- name: "Style Value",
2763
- description: "$[*Info,Success,Warning,Important]",
2764
- condition: null,
2765
- required: null,
2766
- duplicable: false,
2767
- groupField: false,
2768
- order: 15,
2769
- fields: [],
2770
- },
2771
- value: null,
2772
- duplicate: false,
2773
- off: false,
2774
- fields: [],
2775
- },
2776
- {
2777
- id: 212617,
2778
- parent: 212615,
2779
- fieldDefinition: {
2780
- id: 1748,
2781
- name: "Arg",
2782
- description: null,
2783
- condition: null,
2784
- required: null,
2785
- duplicable: true,
2786
- groupField: false,
2787
- order: 16,
2788
- fields: [],
2789
- },
2790
- value: null,
2791
- duplicate: false,
2792
- off: false,
2793
- fields: [],
2794
- },
2795
- ],
2796
- },
2797
- {
2798
- id: -51,
2799
- parent: 212614,
2800
- fieldDefinition: {
2801
- id: 1752,
2802
- name: "Style Line",
2803
- description: null,
2804
- condition: null,
2805
- required: null,
2806
- duplicable: false,
2807
- groupField: false,
2808
- order: 17,
2809
- fields: [],
2810
- },
2811
- value: null,
2812
- duplicate: false,
2813
- off: false,
2814
- fields: [],
2815
- },
2816
- ],
2817
- },
2818
- {
2819
- id: -52,
2820
- parent: 212611,
2821
- fieldDefinition: {
2822
- id: 1458,
2823
- name: "URL",
2824
- description: null,
2825
- condition: "=Kibana",
2826
- required: null,
2827
- duplicable: false,
2828
- groupField: false,
2829
- order: 18,
2830
- fields: [],
2831
- },
2832
- value: null,
2833
- duplicate: false,
2834
- off: false,
2835
- fields: [],
2836
- },
2837
- {
2838
- id: -53,
2839
- parent: 212611,
2840
- fieldDefinition: {
2841
- id: 1459,
2842
- name: "FilterID",
2843
- description: null,
2844
- condition: "=Kibana",
2845
- required: null,
2846
- duplicable: false,
2847
- groupField: false,
2848
- order: 19,
2849
- fields: [],
2850
- },
2851
- value: null,
2852
- duplicate: false,
2853
- off: false,
2854
- fields: [],
2855
- },
2856
- {
2857
- id: 212618,
2858
- parent: 212611,
2859
- fieldDefinition: {
2860
- id: 1466,
2861
- name: "Text",
2862
- description: null,
2863
- condition: "=Menu",
2864
- required: null,
2865
- duplicable: true,
2866
- groupField: false,
2867
- order: 20,
2868
- fields: [],
2869
- },
2870
- value: "Wine Tasting",
2871
- duplicate: false,
2872
- off: false,
2873
- fields: [
2874
- {
2875
- id: 212622,
2876
- parent: 212618,
2877
- fieldDefinition: {
2878
- id: 1467,
2879
- name: "Link",
2880
- description: null,
2881
- condition: null,
2882
- required: null,
2883
- duplicable: false,
2884
- groupField: false,
2885
- order: 21,
2886
- fields: [],
2887
- },
2888
- value: "/recordm/#/domain/12",
2889
- duplicate: false,
2890
- off: false,
2891
- fields: [],
2892
- },
2893
- {
2894
- id: -54,
2895
- parent: 212618,
2896
- fieldDefinition: {
2897
- id: 1756,
2898
- name: "Style Text",
2899
- description: null,
2900
- condition: null,
2901
- required: null,
2902
- duplicable: false,
2903
- groupField: false,
2904
- order: 22,
2905
- fields: [],
2906
- },
2907
- value: null,
2908
- duplicate: false,
2909
- off: false,
2910
- fields: [],
2911
- },
2912
- ],
2913
- },
2914
- {
2915
- id: 212623,
2916
- parent: 212611,
2917
- fieldDefinition: {
2918
- id: 1466,
2919
- name: "Text",
2920
- description: null,
2921
- condition: "=Menu",
2922
- required: null,
2923
- duplicable: true,
2924
- groupField: false,
2925
- order: 20,
2926
- fields: [],
2927
- },
2928
- value: "Visio Network",
2929
- duplicate: true,
2930
- off: false,
2931
- fields: [
2932
- {
2933
- id: 212624,
2934
- parent: 212623,
2935
- fieldDefinition: {
2936
- id: 1467,
2937
- name: "Link",
2938
- description: null,
2939
- condition: null,
2940
- required: null,
2941
- duplicable: false,
2942
- groupField: false,
2943
- order: 21,
2944
- fields: [],
2945
- },
2946
- value: "#/domain/27",
2947
- duplicate: false,
2948
- off: false,
2949
- fields: [],
2950
- },
2951
- {
2952
- id: -55,
2953
- parent: 212623,
2954
- fieldDefinition: {
2955
- id: 1756,
2956
- name: "Style Text",
2957
- description: null,
2958
- condition: null,
2959
- required: null,
2960
- duplicable: false,
2961
- groupField: false,
2962
- order: 22,
2963
- fields: [],
2964
- },
2965
- value: null,
2966
- duplicate: false,
2967
- off: false,
2968
- fields: [],
2969
- },
2970
- ],
2971
- },
2972
- {
2973
- id: 212625,
2974
- parent: 212611,
2975
- fieldDefinition: {
2976
- id: 1466,
2977
- name: "Text",
2978
- description: null,
2979
- condition: "=Menu",
2980
- required: null,
2981
- duplicable: true,
2982
- groupField: false,
2983
- order: 20,
2984
- fields: [],
2985
- },
2986
- value: "Catering",
2987
- duplicate: true,
2988
- off: false,
2989
- fields: [
2990
- {
2991
- id: 212628,
2992
- parent: 212625,
2993
- fieldDefinition: {
2994
- id: 1467,
2995
- name: "Link",
2996
- description: null,
2997
- condition: null,
2998
- required: null,
2999
- duplicable: false,
3000
- groupField: false,
3001
- order: 21,
3002
- fields: [],
3003
- },
3004
- value: "#/domain/31",
3005
- duplicate: false,
3006
- off: false,
3007
- fields: [],
3008
- },
3009
- {
3010
- id: -56,
3011
- parent: 212625,
3012
- fieldDefinition: {
3013
- id: 1756,
3014
- name: "Style Text",
3015
- description: null,
3016
- condition: null,
3017
- required: null,
3018
- duplicable: false,
3019
- groupField: false,
3020
- order: 22,
3021
- fields: [],
3022
- },
3023
- value: null,
3024
- duplicate: false,
3025
- off: false,
3026
- fields: [],
3027
- },
3028
- ],
3029
- },
3030
- {
3031
- id: 212626,
3032
- parent: 212611,
3033
- fieldDefinition: {
3034
- id: 1466,
3035
- name: "Text",
3036
- description: null,
3037
- condition: "=Menu",
3038
- required: null,
3039
- duplicable: true,
3040
- groupField: false,
3041
- order: 20,
3042
- fields: [],
3043
- },
3044
- value: "Asset Management",
3045
- duplicate: true,
3046
- off: false,
3047
- fields: [
3048
- {
3049
- id: 212627,
3050
- parent: 212626,
3051
- fieldDefinition: {
3052
- id: 1467,
3053
- name: "Link",
3054
- description: null,
3055
- condition: null,
3056
- required: null,
3057
- duplicable: false,
3058
- groupField: false,
3059
- order: 21,
3060
- fields: [],
3061
- },
3062
- value: "#/domain/24",
3063
- duplicate: false,
3064
- off: false,
3065
- fields: [],
3066
- },
3067
- {
3068
- id: -57,
3069
- parent: 212626,
3070
- fieldDefinition: {
3071
- id: 1756,
3072
- name: "Style Text",
3073
- description: null,
3074
- condition: null,
3075
- required: null,
3076
- duplicable: false,
3077
- groupField: false,
3078
- order: 22,
3079
- fields: [],
3080
- },
3081
- value: null,
3082
- duplicate: false,
3083
- off: false,
3084
- fields: [],
3085
- },
3086
- ],
3087
- },
3088
- {
3089
- id: 212690,
3090
- parent: 212611,
3091
- fieldDefinition: {
3092
- id: 1466,
3093
- name: "Text",
3094
- description: null,
3095
- condition: "=Menu",
3096
- required: null,
3097
- duplicable: true,
3098
- groupField: false,
3099
- order: 20,
3100
- fields: [],
3101
- },
3102
- value: "Efficio",
3103
- duplicate: true,
3104
- off: false,
3105
- fields: [
3106
- {
3107
- id: 212691,
3108
- parent: 212690,
3109
- fieldDefinition: {
3110
- id: 1467,
3111
- name: "Link",
3112
- description: null,
3113
- condition: null,
3114
- required: null,
3115
- duplicable: false,
3116
- groupField: false,
3117
- order: 21,
3118
- fields: [],
3119
- },
3120
- value: "#/cob.custom-resource/40697/dash",
3121
- duplicate: false,
3122
- off: false,
3123
- fields: [],
3124
- },
3125
- {
3126
- id: -58,
3127
- parent: 212690,
3128
- fieldDefinition: {
3129
- id: 1756,
3130
- name: "Style Text",
3131
- description: null,
3132
- condition: null,
3133
- required: null,
3134
- duplicable: false,
3135
- groupField: false,
3136
- order: 22,
3137
- fields: [],
3138
- },
3139
- value: null,
3140
- duplicate: false,
3141
- off: false,
3142
- fields: [],
3143
- },
3144
- ],
3145
- },
3146
- {
3147
- id: -59,
3148
- parent: 212611,
3149
- fieldDefinition: {
3150
- id: 1471,
3151
- name: "FilterID",
3152
- description: null,
3153
- condition: "=Filter",
3154
- required: null,
3155
- duplicable: false,
3156
- groupField: false,
3157
- order: 23,
3158
- fields: [],
3159
- },
3160
- value: null,
3161
- duplicate: false,
3162
- off: false,
3163
- fields: [],
3164
- },
3165
- {
3166
- id: 212619,
3167
- parent: 212611,
3168
- fieldDefinition: {
3169
- id: 1468,
3170
- name: "subtype",
3171
- description: "$[List,Text,Date]",
3172
- condition: "=Filter",
3173
- required: null,
3174
- duplicable: true,
3175
- groupField: false,
3176
- order: 24,
3177
- fields: [],
3178
- },
3179
- value: null,
3180
- duplicate: false,
3181
- off: false,
3182
- fields: [
3183
- {
3184
- id: -60,
3185
- parent: 212619,
3186
- fieldDefinition: {
3187
- id: 1469,
3188
- name: "Alternatives",
3189
- description: null,
3190
- condition: "=List",
3191
- required: null,
3192
- duplicable: false,
3193
- groupField: false,
3194
- order: 25,
3195
- fields: [],
3196
- },
3197
- value: null,
3198
- duplicate: false,
3199
- off: false,
3200
- fields: [],
3201
- },
3202
- {
3203
- id: -61,
3204
- parent: 212619,
3205
- fieldDefinition: {
3206
- id: 1470,
3207
- name: "DateFilterType",
3208
- description: null,
3209
- condition: "=Date",
3210
- required: null,
3211
- duplicable: false,
3212
- groupField: false,
3213
- order: 26,
3214
- fields: [],
3215
- },
3216
- value: null,
3217
- duplicate: false,
3218
- off: false,
3219
- fields: [],
3220
- },
3221
- ],
3222
- },
3223
- {
3224
- id: -62,
3225
- parent: 212611,
3226
- fieldDefinition: {
3227
- id: 1472,
3228
- name: "Query",
3229
- description: null,
3230
- condition: "=MD List",
3231
- required: null,
3232
- duplicable: false,
3233
- groupField: false,
3234
- order: 27,
3235
- fields: [],
3236
- },
3237
- value: null,
3238
- duplicate: false,
3239
- off: false,
3240
- fields: [],
3241
- },
3242
- {
3243
- id: -63,
3244
- parent: 212611,
3245
- fieldDefinition: {
3246
- id: 1757,
3247
- name: "Title",
3248
- description: null,
3249
- condition: "=Title",
3250
- required: null,
3251
- duplicable: false,
3252
- groupField: false,
3253
- order: 28,
3254
- fields: [],
3255
- },
3256
- value: null,
3257
- duplicate: false,
3258
- off: false,
3259
- fields: [],
3260
- },
3261
- ],
3262
- },
3263
- {
3264
- id: 212860,
3265
- parent: 212608,
3266
- fieldDefinition: {
3267
- id: 1455,
3268
- name: "Component",
3269
- description:
3270
- "$[Totals,Menu,Kibana,Filter,Title] $instanceDescription $style[singleColumn] $expanded",
3271
- condition: null,
3272
- required: null,
3273
- duplicable: true,
3274
- groupField: false,
3275
- order: 9,
3276
- fields: [],
3277
- },
3278
- value: "Title",
3279
- duplicate: true,
3280
- off: false,
3281
- fields: [
3282
- {
3283
- id: 212861,
3284
- parent: 212860,
3285
- fieldDefinition: {
3286
- id: 1740,
3287
- name: "Header",
3288
- description: "$group ",
3289
- condition: "=Totals",
3290
- required: null,
3291
- duplicable: false,
3292
- groupField: true,
3293
- order: 10,
3294
- fields: [],
3295
- },
3296
- value: null,
3297
- duplicate: false,
3298
- off: false,
3299
- fields: [
3300
- {
3301
- id: 212862,
3302
- parent: 212861,
3303
- fieldDefinition: {
3304
- id: 1741,
3305
- name: "Text",
3306
- description: null,
3307
- condition: null,
3308
- required: null,
3309
- duplicable: true,
3310
- groupField: false,
3311
- order: 11,
3312
- fields: [],
3313
- },
3314
- value: null,
3315
- duplicate: false,
3316
- off: false,
3317
- fields: [],
3318
- },
3319
- {
3320
- id: -64,
3321
- parent: 212861,
3322
- fieldDefinition: {
3323
- id: 1742,
3324
- name: "Style Header",
3325
- description: null,
3326
- condition: null,
3327
- required: null,
3328
- duplicable: false,
3329
- groupField: false,
3330
- order: 12,
3331
- fields: [],
3332
- },
3333
- value: null,
3334
- duplicate: false,
3335
- off: false,
3336
- fields: [],
3337
- },
3338
- ],
3339
- },
3340
- {
3341
- id: 212864,
3342
- parent: 212860,
3343
- fieldDefinition: {
3344
- id: 1460,
3345
- name: "Line",
3346
- description: null,
3347
- condition: "=Totals",
3348
- required: null,
3349
- duplicable: true,
3350
- groupField: false,
3351
- order: 13,
3352
- fields: [],
3353
- },
3354
- value: null,
3355
- duplicate: false,
3356
- off: false,
3357
- fields: [
3358
- {
3359
- id: 212865,
3360
- parent: 212864,
3361
- fieldDefinition: {
3362
- id: 1744,
3363
- name: "Value",
3364
- description:
3365
- "$[*definitionCount,domainCount,fieldSum,link] ",
3366
- condition: null,
3367
- required: null,
3368
- duplicable: true,
3369
- groupField: false,
3370
- order: 14,
3371
- fields: [],
3372
- },
3373
- value: null,
3374
- duplicate: false,
3375
- off: false,
3376
- fields: [
3377
- {
3378
- id: 212866,
3379
- parent: 212865,
3380
- fieldDefinition: {
3381
- id: 1464,
3382
- name: "Style Value",
3383
- description: "$[*Info,Success,Warning,Important]",
3384
- condition: null,
3385
- required: null,
3386
- duplicable: false,
3387
- groupField: false,
3388
- order: 15,
3389
- fields: [],
3390
- },
3391
- value: null,
3392
- duplicate: false,
3393
- off: false,
3394
- fields: [],
3395
- },
3396
- {
3397
- id: 212867,
3398
- parent: 212865,
3399
- fieldDefinition: {
3400
- id: 1748,
3401
- name: "Arg",
3402
- description: null,
3403
- condition: null,
3404
- required: null,
3405
- duplicable: true,
3406
- groupField: false,
3407
- order: 16,
3408
- fields: [],
3409
- },
3410
- value: null,
3411
- duplicate: false,
3412
- off: false,
3413
- fields: [],
3414
- },
3415
- ],
3416
- },
3417
- {
3418
- id: -65,
3419
- parent: 212864,
3420
- fieldDefinition: {
3421
- id: 1752,
3422
- name: "Style Line",
3423
- description: null,
3424
- condition: null,
3425
- required: null,
3426
- duplicable: false,
3427
- groupField: false,
3428
- order: 17,
3429
- fields: [],
3430
- },
3431
- value: null,
3432
- duplicate: false,
3433
- off: false,
3434
- fields: [],
3435
- },
3436
- ],
3437
- },
3438
- {
3439
- id: -66,
3440
- parent: 212860,
3441
- fieldDefinition: {
3442
- id: 1458,
3443
- name: "URL",
3444
- description: null,
3445
- condition: "=Kibana",
3446
- required: null,
3447
- duplicable: false,
3448
- groupField: false,
3449
- order: 18,
3450
- fields: [],
3451
- },
3452
- value: null,
3453
- duplicate: false,
3454
- off: false,
3455
- fields: [],
3456
- },
3457
- {
3458
- id: -67,
3459
- parent: 212860,
3460
- fieldDefinition: {
3461
- id: 1459,
3462
- name: "FilterID",
3463
- description: null,
3464
- condition: "=Kibana",
3465
- required: null,
3466
- duplicable: false,
3467
- groupField: false,
3468
- order: 19,
3469
- fields: [],
3470
- },
3471
- value: null,
3472
- duplicate: false,
3473
- off: false,
3474
- fields: [],
3475
- },
3476
- {
3477
- id: 212868,
3478
- parent: 212860,
3479
- fieldDefinition: {
3480
- id: 1466,
3481
- name: "Text",
3482
- description: null,
3483
- condition: "=Menu",
3484
- required: null,
3485
- duplicable: true,
3486
- groupField: false,
3487
- order: 20,
3488
- fields: [],
3489
- },
3490
- value: null,
3491
- duplicate: false,
3492
- off: false,
3493
- fields: [
3494
- {
3495
- id: -68,
3496
- parent: 212868,
3497
- fieldDefinition: {
3498
- id: 1467,
3499
- name: "Link",
3500
- description: null,
3501
- condition: null,
3502
- required: null,
3503
- duplicable: false,
3504
- groupField: false,
3505
- order: 21,
3506
- fields: [],
3507
- },
3508
- value: null,
3509
- duplicate: false,
3510
- off: false,
3511
- fields: [],
3512
- },
3513
- {
3514
- id: -69,
3515
- parent: 212868,
3516
- fieldDefinition: {
3517
- id: 1756,
3518
- name: "Style Text",
3519
- description: null,
3520
- condition: null,
3521
- required: null,
3522
- duplicable: false,
3523
- groupField: false,
3524
- order: 22,
3525
- fields: [],
3526
- },
3527
- value: null,
3528
- duplicate: false,
3529
- off: false,
3530
- fields: [],
3531
- },
3532
- ],
3533
- },
3534
- {
3535
- id: -70,
3536
- parent: 212860,
3537
- fieldDefinition: {
3538
- id: 1471,
3539
- name: "FilterID",
3540
- description: null,
3541
- condition: "=Filter",
3542
- required: null,
3543
- duplicable: false,
3544
- groupField: false,
3545
- order: 23,
3546
- fields: [],
3547
- },
3548
- value: null,
3549
- duplicate: false,
3550
- off: false,
3551
- fields: [],
3552
- },
3553
- {
3554
- id: 212869,
3555
- parent: 212860,
3556
- fieldDefinition: {
3557
- id: 1468,
3558
- name: "subtype",
3559
- description: "$[List,Text,Date]",
3560
- condition: "=Filter",
3561
- required: null,
3562
- duplicable: true,
3563
- groupField: false,
3564
- order: 24,
3565
- fields: [],
3566
- },
3567
- value: null,
3568
- duplicate: false,
3569
- off: false,
3570
- fields: [
3571
- {
3572
- id: -71,
3573
- parent: 212869,
3574
- fieldDefinition: {
3575
- id: 1469,
3576
- name: "Alternatives",
3577
- description: null,
3578
- condition: "=List",
3579
- required: null,
3580
- duplicable: false,
3581
- groupField: false,
3582
- order: 25,
3583
- fields: [],
3584
- },
3585
- value: null,
3586
- duplicate: false,
3587
- off: false,
3588
- fields: [],
3589
- },
3590
- {
3591
- id: -72,
3592
- parent: 212869,
3593
- fieldDefinition: {
3594
- id: 1470,
3595
- name: "DateFilterType",
3596
- description: null,
3597
- condition: "=Date",
3598
- required: null,
3599
- duplicable: false,
3600
- groupField: false,
3601
- order: 26,
3602
- fields: [],
3603
- },
3604
- value: null,
3605
- duplicate: false,
3606
- off: false,
3607
- fields: [],
3608
- },
3609
- ],
3610
- },
3611
- {
3612
- id: -73,
3613
- parent: 212860,
3614
- fieldDefinition: {
3615
- id: 1472,
3616
- name: "Query",
3617
- description: null,
3618
- condition: "=MD List",
3619
- required: null,
3620
- duplicable: false,
3621
- groupField: false,
3622
- order: 27,
3623
- fields: [],
3624
- },
3625
- value: null,
3626
- duplicate: false,
3627
- off: false,
3628
- fields: [],
3629
- },
3630
- {
3631
- id: 212863,
3632
- parent: 212860,
3633
- fieldDefinition: {
3634
- id: 1757,
3635
- name: "Title",
3636
- description: null,
3637
- condition: "=Title",
3638
- required: null,
3639
- duplicable: false,
3640
- groupField: false,
3641
- order: 28,
3642
- fields: [],
3643
- },
3644
- value: "Prototypes",
3645
- duplicate: false,
3646
- off: false,
3647
- fields: [],
3648
- },
3649
- ],
3650
- },
3651
- ],
3652
- },
3653
- ],
3654
- _links: {
3655
- size: "1",
3656
- update: "recordm/instances/40700",
3657
- },
3658
- };
3659
-
49
+ function parseDashboard(raw_dashboard){
3660
50
  let dash = {
3661
51
  "Page Title": "",
3662
52
  "Grid Columns": "",
@@ -3668,32 +58,7 @@ export { clone, collect }
3668
58
  }],
3669
59
  };
3670
60
 
3671
- Sample.fields.reduce(collect, dash);
3672
-
3673
-
3674
- ((tests) => {
3675
- console.assert(dash["Page Title"] == "Main")
3676
- console.assert(dash["Grid Columns"] == "5")
3677
- console.assert(dash["Max Width"] == "3xl")
3678
- console.assert(dash["Board Title"].length == 3)
3679
-
3680
- console.assert(dash["Board Title"][0]["Board Title"] == "Main Menu")
3681
- console.assert(dash["Board Title"][0]["Col Span"] == "2")
3682
- console.assert(dash["Board Title"][0]["Row Span"] == "4")
3683
- console.assert(dash["Board Title"][0]["Component"].length == "2")
3684
-
3685
- console.assert(dash["Board Title"][1]["Board Title"] == "Learning Solution")
3686
- console.assert(dash["Board Title"][1]["Col Span"] == "3")
3687
- console.assert(dash["Board Title"][1]["Row Span"] == "4")
3688
- console.assert(dash["Board Title"][1]["Component"].length == 2)
3689
-
3690
- console.assert(dash["Board Title"][2]["Board Title"] == "Prototypes")
3691
- console.assert(dash["Board Title"][2]["Col Span"] == "1")
3692
- console.assert(dash["Board Title"][2]["Row Span"] == "4")
3693
- console.assert(dash["Board Title"][2]["Component"].length == 2)
3694
- console.log("DASH1",dash["Board Title"]);
3695
- console.log("DASH1",dash["Board Title"][1]["Component"][0]);
3696
- })()
61
+ raw_dashboard.fields.reduce(collect, dash);
3697
62
 
3698
63
  const ComponentsTemplates = {
3699
64
  "Title": {
@@ -3719,10 +84,10 @@ export { clone, collect }
3719
84
  }]
3720
85
  }
3721
86
  }
3722
-
3723
- for(board of dash["Board Title"]) {
87
+
88
+ for( let board of dash["Board Title"]) {
3724
89
  let componentsList = clone([])
3725
- for( component of board["Component"]) {
90
+ for( let component of board["Component"]) {
3726
91
  let componentTemplate = clone(ComponentsTemplates[component["Component"]])
3727
92
  component.fields.reduce(collect,componentTemplate)
3728
93
  componentTemplate["Component"] = component.Component
@@ -3731,52 +96,28 @@ export { clone, collect }
3731
96
  board["Component"] = componentsList
3732
97
  }
3733
98
 
99
+ // remove all Initial_Templates added
100
+ dash = JSON.parse(JSON.stringify(dash, (k,v) => (k === 'Initial_Template')? undefined : v))
101
+
102
+ // replace values in Totals by dashboard-info
103
+ dash["Board Title"].forEach(b => b.Component.forEach(c => {
104
+ if (c.Component == "Totals") {
105
+ c.Line.forEach(l => {
106
+ l.Value = l.Value.map(v => {
107
+ if(v.Arg[2] && v.Arg[2].startsWith("{")) {
108
+ v.Arg[2] = JSON.parse(v.Arg[2])
109
+ }
110
+ const valueFunction = v.Value != "link" ? dashFunctions[v.Value] : linkFunction
111
+ return ({
112
+ dash_info: valueFunction.apply(this, v['Arg'].map( a => a['Arg'])), // Return DashInfo, which is used by the component
113
+ style: v["Style Value"]
114
+ })
115
+ })
116
+ })
117
+ }
118
+ }))
119
+ return dash
3734
120
 
3735
- (() => {
3736
- console.assert(dash["Board Title"][0]["Component"].length = 2)
3737
- console.assert(dash["Board Title"][0]["Component"][0]["Component"] == "Menu")
3738
- console.assert(dash["Board Title"][0]["Component"][0]["Text"].length == 6)
3739
- console.assert(dash["Board Title"][0]["Component"][0]["Text"][0]["Link"] == "/docs/")
3740
- console.assert(dash["Board Title"][0]["Component"][0]["Text"][0]["Style Text"] == "p-10")
3741
- console.assert(dash["Board Title"][0]["Component"][0]["Text"][0]["Text"] == "E-Learning Docs")
3742
- console.assert(dash["Board Title"][0]["Component"][0]["Text"][5]["Link"] == "#/definitions/108/q=")
3743
- console.assert(dash["Board Title"][0]["Component"][0]["Text"][5]["Style Text"] == null)
3744
- console.assert(dash["Board Title"][0]["Component"][0]["Text"][5]["Text"] == "Dashboards")
3745
-
3746
- console.assert(dash["Board Title"][0]["Component"][1]["Component"] == "Title")
3747
- console.assert(dash["Board Title"][0]["Component"][1]["Title"] == "Main Menu")
3748
-
3749
- console.assert(dash["Board Title"][1]["Component"].length = 2)
3750
- console.assert(dash["Board Title"][1]["Component"][0]["Component"] == "Totals")
3751
- console.assert(dash["Board Title"][1]["Component"][0]["Header"].length == 1)
3752
- console.assert(dash["Board Title"][1]["Component"][0]["Header"][0]["Header"] == null)
3753
- console.assert(dash["Board Title"][1]["Component"][0]["Header"][0]["Style Header"] == null)
3754
- console.assert(dash["Board Title"][1]["Component"][0]["Header"][0]["Text"].length == 1)
3755
- console.assert(dash["Board Title"][1]["Component"][0]["Header"][0]["Text"][0]["Text"] == null)
3756
- console.assert(dash["Board Title"][1]["Component"][0]["Line"].length == 5)
3757
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][0]["Line"] == "Contents")
3758
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][1]["Line"] == "RFCs")
3759
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][2]["Line"] == "- To Review")
3760
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][3]["Line"] == "- Reviewed")
3761
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][4]["Line"] == "- Processed")
3762
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][0]["Style Line"] == null)
3763
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][1]["Style Line"] == null)
3764
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][2]["Style Line"] == "text-center")
3765
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][3]["Style Line"] == "text-center")
3766
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][4]["Style Line"] == "text-center")
3767
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][0]["Value"].length == 1)
3768
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][1]["Value"].length == 1)
3769
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][2]["Value"].length == 1)
3770
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][3]["Value"].length == 1)
3771
- console.assert(dash["Board Title"][1]["Component"][0]["Line"][4]["Value"].length == 1)
3772
-
3773
- console.assert(dash["Board Title"][1]["Component"][1]["Component"] == "Title")
3774
- console.assert(dash["Board Title"][1]["Component"][1]["Title"] == "Learning Solution")
3775
-
3776
- console.assert(dash["Board Title"][2]["Component"].length = 2)
3777
-
3778
- console.log(dash);
3779
- debugger
3780
- })()
121
+ }
3781
122
 
3782
- })
123
+ export { parseDashboard, clone, collect }