cob-cli 2.8.1 → 2.12.0

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 (91) hide show
  1. package/customizations/dashboard.dash.js +11 -0
  2. package/customizations/dashboard.js +1 -0
  3. package/customizations/dashboard.simple.js +1 -1
  4. package/customizations/dashboard.vue.empty.js +1 -1
  5. package/customizations/frontend.easy.js +16 -0
  6. package/lib/task_lists/customize_copy.js +7 -6
  7. package/package.json +1 -1
  8. package/templates/{cob-dashboard-html → dashboards/cob-dashboard-html}/demoDashboard.html +0 -0
  9. package/templates/{cob-dashboard-vue → dashboards/cob-dashboard-vue}/package-lock.json +0 -0
  10. package/templates/{cob-dashboard-vue → dashboards/cob-dashboard-vue}/package.json +0 -0
  11. package/templates/{cob-dashboard-vue → dashboards/cob-dashboard-vue}/src/App.vue +0 -0
  12. package/templates/{cob-dashboard-vue → dashboards/cob-dashboard-vue}/src/dashboard.html +0 -0
  13. package/templates/{cob-dashboard-vue → dashboards/cob-dashboard-vue}/src/main.js +0 -0
  14. package/templates/{cob-dashboard-vue → dashboards/cob-dashboard-vue}/src/plugins/cobUiVueComponents.js +0 -0
  15. package/templates/{cob-dashboard-vue → dashboards/cob-dashboard-vue}/src/plugins/vuetify.js +0 -0
  16. package/templates/{cob-dashboard-vue → dashboards/cob-dashboard-vue}/vue.config.js +0 -0
  17. package/templates/dashboards/dash/dist/css/app.2ca409ad.css +8 -0
  18. package/templates/dashboards/dash/dist/dashboard.html +20 -0
  19. package/templates/dashboards/dash/dist/fonts/fa-brands-400.a78ffbbe.ttf +0 -0
  20. package/templates/dashboards/dash/dist/fonts/fa-brands-400.cd2b4095.woff2 +0 -0
  21. package/templates/dashboards/dash/dist/fonts/fa-regular-400.b1a1bebb.ttf +0 -0
  22. package/templates/dashboards/dash/dist/fonts/fa-regular-400.e8a1ba41.woff2 +0 -0
  23. package/templates/dashboards/dash/dist/fonts/fa-solid-900.55b416a8.woff2 +0 -0
  24. package/templates/dashboards/dash/dist/fonts/fa-solid-900.73820155.ttf +0 -0
  25. package/templates/dashboards/dash/dist/fonts/fa-v4compatibility.0d6f5f18.ttf +0 -0
  26. package/templates/dashboards/dash/dist/fonts/fa-v4compatibility.786e6b33.woff2 +0 -0
  27. package/templates/dashboards/dash/dist/js/app.a65a4c2c.js +188 -0
  28. package/templates/dashboards/dash/dist/js/app.a65a4c2c.js.map +1 -0
  29. package/templates/dashboards/dash/package-lock.json +24340 -0
  30. package/templates/dashboards/dash/package.json +19 -0
  31. package/templates/dashboards/dash/src/App.vue +257 -0
  32. package/templates/dashboards/dash/src/Dashboard.vue +46 -0
  33. package/templates/dashboards/dash/src/assets/css/all.min.css +6 -0
  34. package/templates/dashboards/dash/src/assets/webfonts/fa-brands-400.ttf +0 -0
  35. package/templates/dashboards/dash/src/assets/webfonts/fa-brands-400.woff2 +0 -0
  36. package/templates/dashboards/dash/src/assets/webfonts/fa-regular-400.ttf +0 -0
  37. package/templates/dashboards/dash/src/assets/webfonts/fa-regular-400.woff2 +0 -0
  38. package/templates/dashboards/dash/src/assets/webfonts/fa-solid-900.ttf +0 -0
  39. package/templates/dashboards/dash/src/assets/webfonts/fa-solid-900.woff2 +0 -0
  40. package/templates/dashboards/dash/src/assets/webfonts/fa-v4compatibility.ttf +0 -0
  41. package/templates/dashboards/dash/src/assets/webfonts/fa-v4compatibility.woff2 +0 -0
  42. package/templates/dashboards/dash/src/collector.js +3782 -0
  43. package/templates/dashboards/dash/src/components/Board.vue +61 -0
  44. package/templates/dashboards/dash/src/components/BoardsNav.vue +23 -0
  45. package/templates/dashboards/dash/src/components/BoardsPage.vue +36 -0
  46. package/templates/dashboards/dash/src/components/Menu.vue +19 -0
  47. package/templates/dashboards/dash/src/components/Title.vue +13 -0
  48. package/templates/dashboards/dash/src/components/Totals.vue +53 -0
  49. package/templates/dashboards/dash/src/components/TotalsBadge.vue +69 -0
  50. package/templates/dashboards/dash/src/dashboard.html +34 -0
  51. package/templates/dashboards/dash/src/definition_dashboard_v59.json +394 -0
  52. package/templates/dashboards/dash/src/input.css +9 -0
  53. package/templates/dashboards/dash/src/main.js +11 -0
  54. package/templates/dashboards/dash/src/output.css +135974 -0
  55. package/templates/dashboards/dash/tailwind.config.js +19 -0
  56. package/templates/dashboards/dash/vue.config.js +104 -0
  57. package/templates/frontend/common/css/_dashboard.css +7 -0
  58. package/templates/frontend/common/css/_global.css +3 -2
  59. package/templates/frontend/easy/css/_easy/googlefonts.css +360 -0
  60. package/templates/frontend/easy/css/_easy/vuetify.cob-scoped.css +10488 -0
  61. package/templates/frontend/easy/js/_easy/lib/axios.min.js +9 -0
  62. package/templates/frontend/easy/js/_easy/lib/marked.min.js +6 -0
  63. package/templates/frontend/easy/js/_easy/lib/vue.js +11912 -0
  64. package/templates/frontend/easy/js/_easy/lib/vue.min.js +6 -0
  65. package/templates/frontend/easy/js/_easy/lib/vuetify.min.js +6 -0
  66. package/templates/frontend/easy/js/customizations2.__MERGE__.js +22 -0
  67. package/templates/frontend/easy/webapp/.browserslistrc +2 -0
  68. package/templates/frontend/easy/webapp/.eslintrc.js +17 -0
  69. package/templates/frontend/easy/webapp/README.md +60 -0
  70. package/templates/frontend/easy/webapp/babel.config.js +5 -0
  71. package/templates/frontend/easy/webapp/dist/css/app.a4fb91f8.css +1 -0
  72. package/templates/frontend/easy/webapp/dist/dashboard.html +13 -0
  73. package/templates/frontend/easy/webapp/dist/js/app.63a57dcd.js +2 -0
  74. package/templates/frontend/easy/webapp/dist/js/app.63a57dcd.js.map +1 -0
  75. package/templates/frontend/easy/webapp/package-lock.json +32986 -0
  76. package/templates/frontend/easy/webapp/package.json +32 -0
  77. package/templates/frontend/easy/webapp/postcss.config.js +5 -0
  78. package/templates/frontend/easy/webapp/public/dashboard.html +13 -0
  79. package/templates/frontend/easy/webapp/src/App.vue +181 -0
  80. package/templates/frontend/easy/webapp/src/assets/logo.png +0 -0
  81. package/templates/frontend/easy/webapp/src/components/HelloWorld.vue +59 -0
  82. package/templates/frontend/easy/webapp/src/components/PermBuilder.vue +163 -0
  83. package/templates/frontend/easy/webapp/src/components/PlanExecutor.vue +225 -0
  84. package/templates/frontend/easy/webapp/src/components/ProductPermBuilder.vue +95 -0
  85. package/templates/frontend/easy/webapp/src/components/RmDefinitionChooser.vue +59 -0
  86. package/templates/frontend/easy/webapp/src/components/RmDomainChooser.vue +60 -0
  87. package/templates/frontend/easy/webapp/src/components/RoleBuilder.vue +73 -0
  88. package/templates/frontend/easy/webapp/src/main.js +19 -0
  89. package/templates/frontend/easy/webapp/src/perm-templates.js +189 -0
  90. package/templates/frontend/easy/webapp/src/perms.js +197 -0
  91. package/templates/frontend/easy/webapp/vue.config.js +66 -0
@@ -0,0 +1,394 @@
1
+ {
2
+ "id": null,
3
+ "name": "Dashboard",
4
+ "description": null,
5
+ "duplicable": null,
6
+ "state": "enabled",
7
+ "fieldDefinitions": [
8
+ {
9
+ "id": null,
10
+ "name": "Dashboard Info",
11
+ "required": null,
12
+ "description": "$group",
13
+ "condition": null,
14
+ "duplicable": false,
15
+ "fields": [],
16
+ "order": 0,
17
+ "rootField": true,
18
+ "restricted": false,
19
+ "defaultValue": null
20
+ },
21
+ {
22
+ "id": null,
23
+ "name": "Page Title",
24
+ "required": null,
25
+ "description": "$expanded $instanceLabel",
26
+ "condition": null,
27
+ "duplicable": false,
28
+ "fields": [],
29
+ "order": 1,
30
+ "rootField": true,
31
+ "restricted": false,
32
+ "defaultValue": null
33
+ },
34
+ {
35
+ "id": null,
36
+ "name": "Grid Columns",
37
+ "required": "mandatory",
38
+ "description": "$number $default(12)",
39
+ "condition": null,
40
+ "duplicable": false,
41
+ "fields": [],
42
+ "order": 2,
43
+ "rootField": true,
44
+ "restricted": false,
45
+ "defaultValue": "12"
46
+ },
47
+ {
48
+ "id": null,
49
+ "name": "Max Width",
50
+ "required": "mandatory",
51
+ "description": "$[xl,2xl,3xl,4xl,5xl,*6xl,full]",
52
+ "condition": null,
53
+ "duplicable": false,
54
+ "fields": [],
55
+ "order": 3,
56
+ "rootField": true,
57
+ "restricted": false,
58
+ "defaultValue": "6xl"
59
+ },
60
+ {
61
+ "id": null,
62
+ "name": "Permission",
63
+ "required": null,
64
+ "description": "What groups are allowed to see this dashboard",
65
+ "condition": null,
66
+ "duplicable": false,
67
+ "fields": [],
68
+ "order": 4,
69
+ "rootField": true,
70
+ "restricted": false,
71
+ "defaultValue": null
72
+ },
73
+ {
74
+ "id": null,
75
+ "name": "Boards",
76
+ "required": null,
77
+ "description": "$group",
78
+ "condition": null,
79
+ "duplicable": false,
80
+ "fields": [],
81
+ "order": 5,
82
+ "rootField": true,
83
+ "restricted": false,
84
+ "defaultValue": null
85
+ },
86
+ {
87
+ "id": null,
88
+ "name": "Board Title",
89
+ "required": null,
90
+ "description": "$instanceDescription $style[dualColumn]",
91
+ "condition": null,
92
+ "duplicable": true,
93
+ "fields": [
94
+ {
95
+ "id": null,
96
+ "name": "Col Span",
97
+ "required": null,
98
+ "description": "$number $default(3) ",
99
+ "condition": null,
100
+ "duplicable": false,
101
+ "fields": [],
102
+ "order": 7,
103
+ "rootField": false,
104
+ "restricted": false,
105
+ "defaultValue": "3"
106
+ },
107
+ {
108
+ "id": null,
109
+ "name": "Row Span",
110
+ "required": null,
111
+ "description": "$number $default(1) ",
112
+ "condition": null,
113
+ "duplicable": false,
114
+ "fields": [],
115
+ "order": 8,
116
+ "rootField": false,
117
+ "restricted": false,
118
+ "defaultValue": "1"
119
+ },
120
+ {
121
+ "id": null,
122
+ "name": "Component",
123
+ "required": null,
124
+ "description": "$[Totals,Menu,Kibana,Filter,Title] $instanceDescription $style[singleColumn] $expanded",
125
+ "condition": null,
126
+ "duplicable": true,
127
+ "fields": [
128
+ {
129
+ "id": null,
130
+ "name": "Header",
131
+ "required": null,
132
+ "description": "$group ",
133
+ "condition": "=Totals",
134
+ "duplicable": false,
135
+ "fields": [
136
+ {
137
+ "id": null,
138
+ "name": "Text",
139
+ "required": null,
140
+ "description": null,
141
+ "condition": null,
142
+ "duplicable": true,
143
+ "fields": [],
144
+ "order": 11,
145
+ "rootField": false,
146
+ "restricted": false,
147
+ "defaultValue": null
148
+ },
149
+ {
150
+ "id": null,
151
+ "name": "Style Header",
152
+ "required": null,
153
+ "description": null,
154
+ "condition": null,
155
+ "duplicable": false,
156
+ "fields": [],
157
+ "order": 12,
158
+ "rootField": false,
159
+ "restricted": false,
160
+ "defaultValue": null
161
+ }
162
+ ],
163
+ "order": 10,
164
+ "rootField": false,
165
+ "restricted": false,
166
+ "defaultValue": null
167
+ },
168
+ {
169
+ "id": null,
170
+ "name": "Line",
171
+ "required": null,
172
+ "description": null,
173
+ "condition": "=Totals",
174
+ "duplicable": true,
175
+ "fields": [
176
+ {
177
+ "id": null,
178
+ "name": "Value",
179
+ "required": null,
180
+ "description": "$[*definitionCount,domainCount,fieldSum,link] ",
181
+ "condition": null,
182
+ "duplicable": true,
183
+ "fields": [
184
+ {
185
+ "id": null,
186
+ "name": "Style Value",
187
+ "required": null,
188
+ "description": "$[*Info,Success,Warning,Important]",
189
+ "condition": null,
190
+ "duplicable": false,
191
+ "fields": [],
192
+ "order": 15,
193
+ "rootField": false,
194
+ "restricted": false,
195
+ "defaultValue": "Info"
196
+ },
197
+ {
198
+ "id": null,
199
+ "name": "Arg",
200
+ "required": null,
201
+ "description": null,
202
+ "condition": null,
203
+ "duplicable": true,
204
+ "fields": [],
205
+ "order": 16,
206
+ "rootField": false,
207
+ "restricted": false,
208
+ "defaultValue": null
209
+ }
210
+ ],
211
+ "order": 14,
212
+ "rootField": false,
213
+ "restricted": false,
214
+ "defaultValue": "definitionCount"
215
+ },
216
+ {
217
+ "id": null,
218
+ "name": "Style Line",
219
+ "required": null,
220
+ "description": null,
221
+ "condition": null,
222
+ "duplicable": false,
223
+ "fields": [],
224
+ "order": 17,
225
+ "rootField": false,
226
+ "restricted": false,
227
+ "defaultValue": null
228
+ }
229
+ ],
230
+ "order": 13,
231
+ "rootField": false,
232
+ "restricted": false,
233
+ "defaultValue": null
234
+ },
235
+ {
236
+ "id": null,
237
+ "name": "URL",
238
+ "required": null,
239
+ "description": null,
240
+ "condition": "=Kibana",
241
+ "duplicable": false,
242
+ "fields": [],
243
+ "order": 18,
244
+ "rootField": false,
245
+ "restricted": false,
246
+ "defaultValue": null
247
+ },
248
+ {
249
+ "id": null,
250
+ "name": "FilterID",
251
+ "required": null,
252
+ "description": null,
253
+ "condition": "=Kibana",
254
+ "duplicable": false,
255
+ "fields": [],
256
+ "order": 19,
257
+ "rootField": false,
258
+ "restricted": false,
259
+ "defaultValue": null
260
+ },
261
+ {
262
+ "id": null,
263
+ "name": "Text",
264
+ "required": null,
265
+ "description": null,
266
+ "condition": "=Menu",
267
+ "duplicable": true,
268
+ "fields": [
269
+ {
270
+ "id": null,
271
+ "name": "Link",
272
+ "required": null,
273
+ "description": null,
274
+ "condition": null,
275
+ "duplicable": false,
276
+ "fields": [],
277
+ "order": 21,
278
+ "rootField": false,
279
+ "restricted": false,
280
+ "defaultValue": null
281
+ },
282
+ {
283
+ "id": null,
284
+ "name": "Style Text",
285
+ "required": null,
286
+ "description": null,
287
+ "condition": null,
288
+ "duplicable": false,
289
+ "fields": [],
290
+ "order": 22,
291
+ "rootField": false,
292
+ "restricted": false,
293
+ "defaultValue": null
294
+ }
295
+ ],
296
+ "order": 20,
297
+ "rootField": false,
298
+ "restricted": false,
299
+ "defaultValue": null
300
+ },
301
+ {
302
+ "id": null,
303
+ "name": "FilterID",
304
+ "required": null,
305
+ "description": null,
306
+ "condition": "=Filter",
307
+ "duplicable": false,
308
+ "fields": [],
309
+ "order": 23,
310
+ "rootField": false,
311
+ "restricted": false,
312
+ "defaultValue": null
313
+ },
314
+ {
315
+ "id": null,
316
+ "name": "subtype",
317
+ "required": null,
318
+ "description": "$[List,Text,Date]",
319
+ "condition": "=Filter",
320
+ "duplicable": true,
321
+ "fields": [
322
+ {
323
+ "id": null,
324
+ "name": "Alternatives",
325
+ "required": null,
326
+ "description": null,
327
+ "condition": "=List",
328
+ "duplicable": false,
329
+ "fields": [],
330
+ "order": 25,
331
+ "rootField": false,
332
+ "restricted": false,
333
+ "defaultValue": null
334
+ },
335
+ {
336
+ "id": null,
337
+ "name": "DateFilterType",
338
+ "required": null,
339
+ "description": null,
340
+ "condition": "=Date",
341
+ "duplicable": false,
342
+ "fields": [],
343
+ "order": 26,
344
+ "rootField": false,
345
+ "restricted": false,
346
+ "defaultValue": null
347
+ }
348
+ ],
349
+ "order": 24,
350
+ "rootField": false,
351
+ "restricted": false,
352
+ "defaultValue": null
353
+ },
354
+ {
355
+ "id": null,
356
+ "name": "Query",
357
+ "required": null,
358
+ "description": null,
359
+ "condition": "=MD List",
360
+ "duplicable": false,
361
+ "fields": [],
362
+ "order": 27,
363
+ "rootField": false,
364
+ "restricted": false,
365
+ "defaultValue": null
366
+ },
367
+ {
368
+ "id": null,
369
+ "name": "Title",
370
+ "required": null,
371
+ "description": null,
372
+ "condition": "=Title",
373
+ "duplicable": false,
374
+ "fields": [],
375
+ "order": 28,
376
+ "rootField": false,
377
+ "restricted": false,
378
+ "defaultValue": null
379
+ }
380
+ ],
381
+ "order": 9,
382
+ "rootField": false,
383
+ "restricted": false,
384
+ "defaultValue": null
385
+ }
386
+ ],
387
+ "order": 6,
388
+ "rootField": true,
389
+ "restricted": false,
390
+ "defaultValue": null
391
+ }
392
+ ],
393
+ "version": null
394
+ }
@@ -0,0 +1,9 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ /* Reverte hide feito no dashboard.html */
6
+ section.custom-resource {
7
+ visibility: visible !important;
8
+ opacity: 1 !important;
9
+ }
@@ -0,0 +1,11 @@
1
+ import Vue from 'vue'
2
+ import App from './App.vue'
3
+
4
+ Vue.config.productionTip = false
5
+
6
+ import "./output.css";
7
+ import './assets/css/all.min.css';
8
+
9
+ new Vue({
10
+ render: function (h) { return h(App) }
11
+ }).$mount('#app')