From 6f09c179a352af6b2ea71887928a72ff3f46cf34 Mon Sep 17 00:00:00 2001
From: Olga Bulat
Date: Thu, 17 Dec 2020 22:03:55 +0300
Subject: [PATCH 1/3] Add Vocabulary Select implementation instead of buefy
select
---
src/App.vue | 3 +-
src/Vocabulary/VSelect.vue | 80 +++++++++++++++++++++++++++++++++
src/components/DropdownStep.vue | 36 +++++++--------
3 files changed, 97 insertions(+), 22 deletions(-)
create mode 100644 src/Vocabulary/VSelect.vue
diff --git a/src/App.vue b/src/App.vue
index 898e500c8..fa57a3652 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -140,11 +140,10 @@ export default {
@import "~bulma";
@import '~buefy/src/scss/utils/_variables.scss';
@import '~buefy/src/scss/components/_modal.scss';
- @import '~buefy/src/scss/components/_select.scss';
@import '~buefy/src/scss/components/_form.scss';
@import '~buefy/src/scss/components/_icon.scss';
- @import "@creativecommons/vocabulary/scss/vocabulary.scss";
+ @import "~@creativecommons/vocabulary/scss/vocabulary.scss";
#app {
-webkit-font-smoothing: antialiased;
diff --git a/src/Vocabulary/VSelect.vue b/src/Vocabulary/VSelect.vue
new file mode 100644
index 000000000..b93b4b5f1
--- /dev/null
+++ b/src/Vocabulary/VSelect.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/DropdownStep.vue b/src/components/DropdownStep.vue
index 239919a85..bf8dd1e0d 100644
--- a/src/components/DropdownStep.vue
+++ b/src/components/DropdownStep.vue
@@ -1,33 +1,29 @@
-
-
+
-
-
+ {{ license }}
+
+
diff --git a/src/components/DropdownStep.vue b/src/components/DropdownStep.vue
index bf8dd1e0d..239919a85 100644
--- a/src/components/DropdownStep.vue
+++ b/src/components/DropdownStep.vue
@@ -1,29 +1,33 @@
-
-
-
+
+
+
diff --git a/src/components/DropdownStep.vue b/src/components/DropdownStep.vue
index 239919a85..bf8dd1e0d 100644
--- a/src/components/DropdownStep.vue
+++ b/src/components/DropdownStep.vue
@@ -1,33 +1,29 @@
-
-
+
-
-
+ {{ license }}
+
+
import { mapGetters } from 'vuex'
+import VSelect from '@/Vocabulary/VSelect'
export default {
name: 'DropdownStep',
+ components: { VSelect },
+ inheritAttrs: false,
props: {
- status: {
- type: String,
- validator(value) {
- return ['active', 'previous', 'inactive'].includes(value)
- }
- },
id: Number
},
data() {