cob-cli 2.16.0 → 2.17.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.
- package/customizations/keywords.js +1 -0
- package/customizations/keywords.styleResults.js +17 -0
- package/lib/task_lists/rsyncFilter.txt +1 -0
- package/package.json +1 -1
- package/templates/dashboards/dash/dist/dashboard.html +2 -2
- package/templates/dashboards/dash/dist/js/{app.e7f52f45.js → app.197de6fa.js} +3 -3
- package/templates/dashboards/dash/dist/js/app.197de6fa.js.map +1 -0
- package/templates/dashboards/dash/package-lock.json +2 -0
- package/templates/dashboards/dash/src/collector.js +4 -3
- package/templates/dashboards/dash/src/components/Board.vue +3 -3
- package/templates/dashboards/dash/src/components/Calendar.vue +24 -9
- package/templates/dashboards/dash/src/components/Kibana.vue +1 -0
- package/templates/dashboards/dash/src/components/Menu.vue +7 -4
- package/templates/dashboards/dash/src/components/TotalsValue.vue +2 -2
- package/templates/dashboards/dash/src/components/shared/Instance.vue +8 -2
- package/templates/dashboards/dash/src/{definition_dashboard.json → definition_dashboard_v0.json} +0 -0
- package/templates/dashboards/dash/src/definition_dashboard_v1.json +1 -0
- package/templates/keywords/audit/backend/scripts/_audit.groovy +9 -7
- package/templates/keywords/calc/backend/scripts/_calc.groovy +1 -1
- package/templates/keywords/calc/frontend/js/cob/_calc.js +9 -3
- package/templates/keywords/styleResults/frontend/css/_styleResults.css +86 -0
- package/templates/keywords/styleResults/frontend/css/customizations.__MERGE__.css +1 -0
- package/templates/keywords/styleResults/frontend/js/cob/_styleResults.js +34 -0
- package/templates/keywords/styleResults/frontend/js/customizations2.__MERGE__.js +1 -0
- package/templates/dashboards/dash/dist/js/app.e7f52f45.js.map +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
exports.option = {
|
|
2
|
+
name: 'StyleResult - Allows for $styleResults in definitions (https://learning.cultofbits.com/docs/cob-platform/admins/managing-information/available-customizations/styleResults/)',
|
|
3
|
+
short: "StyleResults",
|
|
4
|
+
questions: [
|
|
5
|
+
],
|
|
6
|
+
customization: async function (answers) {
|
|
7
|
+
console.log("\nApplying StyleResults keyword customizations ...")
|
|
8
|
+
|
|
9
|
+
const { copy } = require("../lib/task_lists/customize_copy");
|
|
10
|
+
const { mergeFiles } = require("../lib/task_lists/customize_mergeFiles");
|
|
11
|
+
const fe_target = "./recordm/customUI/"
|
|
12
|
+
await copy("../../templates/keywords/styleResults/frontend",fe_target)
|
|
13
|
+
const be_target = "./integrationm/"
|
|
14
|
+
await copy("../../templates/keywords/styleResults/backend",be_target)
|
|
15
|
+
await mergeFiles("Keyword.StyleResults")
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<link href="localresource/dash/dist/css/app.40fc4e43.css" rel="stylesheet">
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
<link href="localresource/dash/dist/js/app.
|
|
7
|
+
<link href="localresource/dash/dist/js/app.197de6fa.js" rel="preload" as="script">
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
<style>section.custom-resource{visibility: hidden;opacity:0;top:63px;left:0;right:0;bottom:0;padding:0;}</style>
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
}
|
|
21
21
|
</script>
|
|
22
22
|
|
|
23
|
-
<script type="text/javascript" src="localresource/dash/dist/js/app.
|
|
23
|
+
<script type="text/javascript" src="localresource/dash/dist/js/app.197de6fa.js"></script>
|
|
24
24
|
|
|
25
25
|
|