diff --git a/src/components/DownloadListButton.vue b/src/components/DownloadListButton.vue
new file mode 100644
index 0000000..8b3870d
--- /dev/null
+++ b/src/components/DownloadListButton.vue
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/SystemScoreSection.vue b/src/components/SystemScoreSection.vue
index 3aff80d..38df428 100644
--- a/src/components/SystemScoreSection.vue
+++ b/src/components/SystemScoreSection.vue
@@ -7,12 +7,12 @@
-
{{ getScoreText(monitoringType) }}
{{ monitoringType }} Monitoring
-
+
{{ filter }}:
{{ getFilterText(filter) }}
@@ -40,11 +40,11 @@ export default defineComponent({
};
},
methods: {
- getScoreText(key) {
+ getScoreText(key: string) {
if (this.calculatorStore.systemScore[key].label === "None") { return "No" }
return this.calculatorStore.systemScore[key].label
},
- getFilterText(key) {
+ getFilterText(key: string) {
if (this.calculatorStore.activeFiltersObj[key].size < 1) {
return `All ${key} Controls`
}
diff --git a/src/components/TopTenSidebar.vue b/src/components/TopTenSidebar.vue
index fbd2d48..a39c57d 100644
--- a/src/components/TopTenSidebar.vue
+++ b/src/components/TopTenSidebar.vue
@@ -19,7 +19,6 @@
diff --git a/src/index.css b/src/index.css
index 2737132..1c05292 100644
--- a/src/index.css
+++ b/src/index.css
@@ -148,3 +148,13 @@ h1, h2, h3, h4, h5, h6 {
.p-menubar-root-list {
@apply w-60 -ml-40
}
+.p-splitbutton.p-component {
+ @apply w-full bg-ctid-navy text-white rounded-none my-4 ;
+}
+.p-splitbutton .p-splitbutton-defaultbutton {
+ @apply uppercase font-bold text-lg hover:text-ctid-light-purple hover:bg-ctid-dark-navy p-4;
+ font-family: "Fira Sans Extra Condensed", sans-serif;
+}
+.p-splitbutton .p-button-icon-only.p-splitbutton-menubutton {
+ @apply hover:text-ctid-light-purple hover:bg-ctid-dark-navy px-2
+}
\ No newline at end of file
diff --git a/src/stores/calculator.store.ts b/src/stores/calculator.store.ts
index 1387688..6d224d6 100644
--- a/src/stores/calculator.store.ts
+++ b/src/stores/calculator.store.ts
@@ -61,10 +61,10 @@ export const useCalculatorStore = defineStore("calculator", {
},
actions: {
updateActiveFilters(filterValues: {
- nist: [];
- cis: [];
- detection: [];
- os: [];
+ nist: Set;
+ cis: Set;
+ detection: Set;
+ os: Set;
}) {
this.activeFiltersObj = filterValues;
},
@@ -145,3 +145,5 @@ export const useCalculatorStore = defineStore("calculator", {
},
},
});
+// Define Calculator Store Type
+export type CalculatorStore = ReturnType;
diff --git a/src/views/TopTenResults.vue b/src/views/TopTenResults.vue
index c83bd22..58bfcd7 100644
--- a/src/views/TopTenResults.vue
+++ b/src/views/TopTenResults.vue
@@ -10,7 +10,7 @@
activeItemId = i" @delete-technique="(i) => deleteTechnique(i)" />
-
+
@@ -31,23 +31,23 @@
-
+