From 8314c182ee0e89aeab3eead66af7ac8c6cea780f Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Sat, 18 Apr 2020 13:11:58 +0300 Subject: [PATCH] Initiated InputNumber --- src/AppMenu.vue | 1 + src/components/inputnumber/InputNumber.vue | 729 +++++++++++++++++++++ src/main.js | 6 +- src/router.js | 5 + src/views/inputnumber/InputNumberDemo.vue | 151 +++++ src/views/inputnumber/InputNumberDoc.vue | 89 +++ 6 files changed, 979 insertions(+), 2 deletions(-) create mode 100644 src/components/inputnumber/InputNumber.vue create mode 100644 src/views/inputnumber/InputNumberDemo.vue create mode 100644 src/views/inputnumber/InputNumberDoc.vue diff --git a/src/AppMenu.vue b/src/AppMenu.vue index 7e6e0fc54..c36e2c9ae 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -15,6 +15,7 @@ Editor InputGroup InputMask + InputNumber InputSwitch InputText Listbox diff --git a/src/components/inputnumber/InputNumber.vue b/src/components/inputnumber/InputNumber.vue new file mode 100644 index 000000000..57d0e91a7 --- /dev/null +++ b/src/components/inputnumber/InputNumber.vue @@ -0,0 +1,729 @@ + + + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index fc34dee14..82b01110d 100644 --- a/src/main.js +++ b/src/main.js @@ -28,6 +28,8 @@ import Fieldset from './components/fieldset/Fieldset'; import FileUpload from './components/fileupload/FileUpload'; import FullCalendar from './components/fullcalendar/FullCalendar'; import Inplace from './components/inplace/Inplace'; +import InputMask from './components/inputmask/InputMask'; +import InputNumber from './components/inputnumber/InputNumber'; import InputSwitch from './components/inputswitch/InputSwitch'; import InputText from './components/inputtext/InputText'; import Listbox from './components/listbox/Listbox'; @@ -69,7 +71,6 @@ import Toolbar from './components/toolbar/Toolbar'; import Tooltip from './components/tooltip/Tooltip'; import ToggleButton from './components/togglebutton/ToggleButton'; import TriStateCheckbox from './components/tristatecheckbox/TriStateCheckbox'; -import InputMask from './components/inputmask/InputMask'; import ValidationMessage from './components/validationmessage/ValidationMessage'; import Galleria from './components/galleria/Galleria'; @@ -117,6 +118,8 @@ Vue.component('Fieldset', Fieldset); Vue.component('FileUpload', FileUpload); Vue.component('FullCalendar', FullCalendar); Vue.component('Inplace', Inplace); +Vue.component('InputMask', InputMask); +Vue.component('InputNumber', InputNumber); Vue.component('InputSwitch', InputSwitch); Vue.component('InputText', InputText); Vue.component('Listbox', Listbox); @@ -156,7 +159,6 @@ Vue.component('ToggleButton', ToggleButton); Vue.component('Tree', Tree); Vue.component('TreeTable', TreeTable); Vue.component('TriStateCheckbox', TriStateCheckbox); -Vue.component('InputMask', InputMask); Vue.component('ValidationMessage', ValidationMessage); Vue.component('Galleria', Galleria); diff --git a/src/router.js b/src/router.js index 396cb9c80..d2c6b77bb 100644 --- a/src/router.js +++ b/src/router.js @@ -315,6 +315,11 @@ export default new Router({ path: '/inputmask', name: 'inputmask', component: () => import('./views/inputmask/InputMaskDemo.vue') + }, + { + path: '/inputnumber', + name: 'inputnumber', + component: () => import('./views/inputnumber/InputNumberDemo.vue') }, { path: '/listbox', diff --git a/src/views/inputnumber/InputNumberDemo.vue b/src/views/inputnumber/InputNumberDemo.vue new file mode 100644 index 000000000..cab9f169c --- /dev/null +++ b/src/views/inputnumber/InputNumberDemo.vue @@ -0,0 +1,151 @@ + + + + + diff --git a/src/views/inputnumber/InputNumberDoc.vue b/src/views/inputnumber/InputNumberDoc.vue new file mode 100644 index 000000000..1ae3de385 --- /dev/null +++ b/src/views/inputnumber/InputNumberDoc.vue @@ -0,0 +1,89 @@ + \ No newline at end of file