From f7e47e620c411e9d533d01308b9a1d2dcf988407 Mon Sep 17 00:00:00 2001 From: Axolotle Date: Tue, 6 Oct 2020 23:48:48 +0200 Subject: [PATCH] add basic components to be used from props --- .../globals/formItems/CheckboxItem.vue | 28 +++++++++ .../globals/formItems/FormItemHelper.vue | 59 +++++++++++++++++++ .../globals/formItems/InputItem.vue | 34 +++++++++++ .../globals/formItems/SelectItem.vue | 29 +++++++++ app/src/components/globals/formItems/index.js | 5 ++ app/src/components/globals/index.js | 1 + 6 files changed, 156 insertions(+) create mode 100644 app/src/components/globals/formItems/CheckboxItem.vue create mode 100644 app/src/components/globals/formItems/FormItemHelper.vue create mode 100644 app/src/components/globals/formItems/InputItem.vue create mode 100644 app/src/components/globals/formItems/SelectItem.vue create mode 100644 app/src/components/globals/formItems/index.js diff --git a/app/src/components/globals/formItems/CheckboxItem.vue b/app/src/components/globals/formItems/CheckboxItem.vue new file mode 100644 index 00000000..3f70e6cd --- /dev/null +++ b/app/src/components/globals/formItems/CheckboxItem.vue @@ -0,0 +1,28 @@ + + + diff --git a/app/src/components/globals/formItems/FormItemHelper.vue b/app/src/components/globals/formItems/FormItemHelper.vue new file mode 100644 index 00000000..bd57446a --- /dev/null +++ b/app/src/components/globals/formItems/FormItemHelper.vue @@ -0,0 +1,59 @@ + + + diff --git a/app/src/components/globals/formItems/InputItem.vue b/app/src/components/globals/formItems/InputItem.vue new file mode 100644 index 00000000..2008470c --- /dev/null +++ b/app/src/components/globals/formItems/InputItem.vue @@ -0,0 +1,34 @@ + + + diff --git a/app/src/components/globals/formItems/SelectItem.vue b/app/src/components/globals/formItems/SelectItem.vue new file mode 100644 index 00000000..b0373d4e --- /dev/null +++ b/app/src/components/globals/formItems/SelectItem.vue @@ -0,0 +1,29 @@ + + + diff --git a/app/src/components/globals/formItems/index.js b/app/src/components/globals/formItems/index.js new file mode 100644 index 00000000..8857af8f --- /dev/null +++ b/app/src/components/globals/formItems/index.js @@ -0,0 +1,5 @@ +export { default as FormItemHelper } from './FormItemHelper' + +export { default as InputItem } from './InputItem' +export { default as SelectItem } from './SelectItem' +export { default as CheckboxItem } from './CheckboxItem' diff --git a/app/src/components/globals/index.js b/app/src/components/globals/index.js index 58b2ce17..eefbb66d 100644 --- a/app/src/components/globals/index.js +++ b/app/src/components/globals/index.js @@ -1,2 +1,3 @@ export { default as Icon } from './Icon' export { default as Breadcrumb } from './Breadcrumb' +export { FormItemHelper, InputItem, SelectItem, CheckboxItem } from './formItems'