From 6e28b2af9d3d736ab8359d5f9e6990f75b74a3f1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 1 Dec 2020 22:11:25 +0000 Subject: [PATCH] --- ayanova/src/components/phone-control.vue | 21 +++++++++++++++++++++ ayanova/src/main.js | 2 ++ ayanova/src/plugins/vuetify.js | 16 ++++++++++++++++ ayanova/src/views/cust-customer.vue | 16 ++++++++++++++-- 4 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 ayanova/src/components/phone-control.vue diff --git a/ayanova/src/components/phone-control.vue b/ayanova/src/components/phone-control.vue new file mode 100644 index 00000000..f09db34c --- /dev/null +++ b/ayanova/src/components/phone-control.vue @@ -0,0 +1,21 @@ + + diff --git a/ayanova/src/main.js b/ayanova/src/main.js index b38bcfbc..9e24470d 100644 --- a/ayanova/src/main.js +++ b/ayanova/src/main.js @@ -42,6 +42,7 @@ import dataTable from "./components/gz-data-table.vue"; import customFieldsControl from "./components/custom-fields-control.vue"; import currencyControl from "./components/currency-control.vue"; import decimalControl from "./components/decimal-control.vue"; +import phoneControl from "./components/phone-control.vue"; import roleControl from "./components/role-control.vue"; import durationControl from "./components/duration-control.vue"; import errorControl from "./components/error-control.vue"; @@ -186,6 +187,7 @@ Vue.component("gz-data-table", dataTable); Vue.component("gz-custom-fields", customFieldsControl); Vue.component("gz-currency", currencyControl); Vue.component("gz-decimal", decimalControl); +Vue.component("gz-phone", phoneControl); Vue.component("gz-role-picker", roleControl); Vue.component("gz-duration-picker", durationControl); Vue.component("gz-error", errorControl); diff --git a/ayanova/src/plugins/vuetify.js b/ayanova/src/plugins/vuetify.js index 92e2e625..c5db82a9 100644 --- a/ayanova/src/plugins/vuetify.js +++ b/ayanova/src/plugins/vuetify.js @@ -25,6 +25,7 @@ import { faAddressCard, faArrowsAltH, faArrowsAltV, + faAt, faBackward, faBars, faBell, @@ -122,6 +123,7 @@ import { faPencilAlt, faPencilRuler, faPeopleCarry, + faPhoneAlt, faPlug, faPlus, faPlusCircle, @@ -184,6 +186,7 @@ library.add( faAddressCard, faArrowsAltH, faArrowsAltV, + faAt, faBackward, faBars, faBell, @@ -283,6 +286,7 @@ library.add( faPencilAlt, faPencilRuler, faPeopleCarry, + faPhoneAlt, faPlug, faPlus, faPlusCircle, @@ -364,6 +368,12 @@ const CUSTOM_ICONS = { icon: ["fas", "arrows-alt-v"] } }, + ayiAt: { + component: FontAwesomeIcon, + props: { + icon: ["fas", "at"] + } + }, ayiBackward: { component: FontAwesomeIcon, props: { @@ -911,6 +921,12 @@ const CUSTOM_ICONS = { icon: ["fas", "people-carry"] } }, + ayiPhoneAlt: { + component: FontAwesomeIcon, + props: { + icon: ["fas", "phone-alt"] + } + }, ayiPlug: { component: FontAwesomeIcon, props: { diff --git a/ayanova/src/views/cust-customer.vue b/ayanova/src/views/cust-customer.vue index b800bc7b..60cc96aa 100644 --- a/ayanova/src/views/cust-customer.vue +++ b/ayanova/src/views/cust-customer.vue @@ -94,7 +94,7 @@ lg="4" xl="3" > - + prepend-icon="$ayiPhoneAlt" + @click:prepend="console.log('CLICK')" + > --> +