From dc602d3424e42ffad5567a882189d55d6b0b3f04 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Sat, 14 Jul 2018 12:46:40 +0530 Subject: [PATCH] Commonify Date and Time component into BaseDate component --- ui/components/controls/BaseDate.vue | 31 ++++++++++++++++++++++++ ui/components/controls/Date.vue | 28 +++++----------------- ui/components/controls/Time.vue | 37 ++++++----------------------- 3 files changed, 44 insertions(+), 52 deletions(-) create mode 100644 ui/components/controls/BaseDate.vue diff --git a/ui/components/controls/BaseDate.vue b/ui/components/controls/BaseDate.vue new file mode 100644 index 00000000..2b529fe3 --- /dev/null +++ b/ui/components/controls/BaseDate.vue @@ -0,0 +1,31 @@ + + + diff --git a/ui/components/controls/Date.vue b/ui/components/controls/Date.vue index 7e6a9e24..93e48785 100644 --- a/ui/components/controls/Date.vue +++ b/ui/components/controls/Date.vue @@ -1,29 +1,13 @@ - - diff --git a/ui/components/controls/Time.vue b/ui/components/controls/Time.vue index 572990c0..7e499f4e 100644 --- a/ui/components/controls/Time.vue +++ b/ui/components/controls/Time.vue @@ -1,39 +1,16 @@ - -