This commit is contained in:
@@ -122,17 +122,6 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// //PLUGINS - for anything with a type but not necessarily an ID
|
|
||||||
// if (!UTILITY_TYPES.includes(formAyaType)) {
|
|
||||||
// vm.appBar.menuItems.push({
|
|
||||||
// title: "More",
|
|
||||||
// icon: "fa-puzzle-piece",
|
|
||||||
// key: "app:plugin",
|
|
||||||
// data: formAyaType,
|
|
||||||
// recordId: formRecordId
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
|
|
||||||
//CUSTOMIZE
|
//CUSTOMIZE
|
||||||
//set custom fields and link to translation text editor
|
//set custom fields and link to translation text editor
|
||||||
|
|
||||||
@@ -153,7 +142,7 @@ export default {
|
|||||||
//customize
|
//customize
|
||||||
vm.appBar.menuItems.push({
|
vm.appBar.menuItems.push({
|
||||||
title: "Customize",
|
title: "Customize",
|
||||||
icon: "fa-sliders-h",
|
icon: "$ayiCustomize",
|
||||||
data: ctx.formData.formCustomTemplateKey,
|
data: ctx.formData.formCustomTemplateKey,
|
||||||
key: "app:customize"
|
key: "app:customize"
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -324,13 +324,13 @@ export default {
|
|||||||
case window.$gz.type.Translation:
|
case window.$gz.type.Translation:
|
||||||
return "fa-language";
|
return "fa-language";
|
||||||
case window.$gz.type.UserOptions:
|
case window.$gz.type.UserOptions:
|
||||||
return "fa-user-cog";
|
return "$ayiUserCog";
|
||||||
case window.$gz.type.FileAttachment:
|
case window.$gz.type.FileAttachment:
|
||||||
return "fa-paperclip";
|
return "fa-paperclip";
|
||||||
case window.$gz.type.DataListView:
|
case window.$gz.type.DataListView:
|
||||||
return "fa-filter";
|
return "fa-filter";
|
||||||
case window.$gz.type.FormCustom:
|
case window.$gz.type.FormCustom:
|
||||||
return "fa-sliders-h";
|
return "$ayiCustomize";
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,14 +49,14 @@ function initNavPanel() {
|
|||||||
//USER SETTINGS
|
//USER SETTINGS
|
||||||
sub.push({
|
sub.push({
|
||||||
title: "UserSettings",
|
title: "UserSettings",
|
||||||
icon: "fa-user-cog",
|
icon: "$ayiUserCog",
|
||||||
route: "/home-user-settings",
|
route: "/home-user-settings",
|
||||||
key: key++
|
key: key++
|
||||||
});
|
});
|
||||||
|
|
||||||
sub.push({
|
sub.push({
|
||||||
title: "NotifySubscriptionList",
|
title: "NotifySubscriptionList",
|
||||||
icon: "fa-bullhorn",
|
icon: "$ayiBullhorn",
|
||||||
route: "/home-notify-subscriptions",
|
route: "/home-notify-subscriptions",
|
||||||
key: key++
|
key: key++
|
||||||
});
|
});
|
||||||
@@ -64,7 +64,7 @@ function initNavPanel() {
|
|||||||
//CSR LIST subitem
|
//CSR LIST subitem
|
||||||
sub.push({
|
sub.push({
|
||||||
title: "CustomerServiceRequestList",
|
title: "CustomerServiceRequestList",
|
||||||
icon: "fa-child",
|
icon: "$ayiChild",
|
||||||
route: "/customer-csr-list",
|
route: "/customer-csr-list",
|
||||||
key: key++
|
key: key++
|
||||||
});
|
});
|
||||||
@@ -79,7 +79,7 @@ function initNavPanel() {
|
|||||||
|
|
||||||
//** CUSTOMER LOGIN HOME (TOP)
|
//** CUSTOMER LOGIN HOME (TOP)
|
||||||
|
|
||||||
addNavItem("Home", "fa-home", undefined, sub, key++, "homecustomer");
|
addNavItem("Home", "$ayiHome", undefined, sub, key++, "homecustomer");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -209,7 +209,7 @@ function initNavPanel() {
|
|||||||
//USER SETTINGS
|
//USER SETTINGS
|
||||||
sub.push({
|
sub.push({
|
||||||
title: "UserSettings",
|
title: "UserSettings",
|
||||||
icon: "fa-user-cog",
|
icon: "$ayiUserCog",
|
||||||
route: "/home-user-settings",
|
route: "/home-user-settings",
|
||||||
key: key++
|
key: key++
|
||||||
});
|
});
|
||||||
@@ -250,14 +250,14 @@ function initNavPanel() {
|
|||||||
) {
|
) {
|
||||||
sub.push({
|
sub.push({
|
||||||
title: "NotifySubscriptionList",
|
title: "NotifySubscriptionList",
|
||||||
icon: "fa-bullhorn",
|
icon: "$ayiBullhorn",
|
||||||
route: "/home-notify-subscriptions",
|
route: "/home-notify-subscriptions",
|
||||||
key: key++
|
key: key++
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//HOME
|
//HOME
|
||||||
addNavItem("Home", "fa-home", undefined, sub, key++, "home");
|
addNavItem("Home", "$ayiHome", undefined, sub, key++, "home");
|
||||||
}
|
}
|
||||||
|
|
||||||
//****************** CUSTOMERS
|
//****************** CUSTOMERS
|
||||||
@@ -481,7 +481,7 @@ function initNavPanel() {
|
|||||||
) {
|
) {
|
||||||
sub.push({
|
sub.push({
|
||||||
title: "CustomerServiceRequestList",
|
title: "CustomerServiceRequestList",
|
||||||
icon: "fa-child",
|
icon: "$ayiChild",
|
||||||
route: "/svc-csr-list",
|
route: "/svc-csr-list",
|
||||||
key: key++
|
key: key++
|
||||||
});
|
});
|
||||||
@@ -741,7 +741,7 @@ function initNavPanel() {
|
|||||||
//NOTIFICATION CONFIG AND HISTORY
|
//NOTIFICATION CONFIG AND HISTORY
|
||||||
sub.push({
|
sub.push({
|
||||||
title: "NotificationSettings",
|
title: "NotificationSettings",
|
||||||
icon: "fa-bullhorn",
|
icon: "$ayiBullhorn",
|
||||||
route: "/ops-notification-settings",
|
route: "/ops-notification-settings",
|
||||||
key: key++
|
key: key++
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -14,20 +14,26 @@ Vue.component("font-awesome-icon", FontAwesomeIcon); // Register component globa
|
|||||||
import {
|
import {
|
||||||
faBars,
|
faBars,
|
||||||
faBell,
|
faBell,
|
||||||
|
faBullhorn,
|
||||||
faCalendarCheck,
|
faCalendarCheck,
|
||||||
faCaretDown,
|
faCaretDown,
|
||||||
faChevronDown,
|
faChevronDown,
|
||||||
|
faChild,
|
||||||
faEllipsisV,
|
faEllipsisV,
|
||||||
faEye,
|
faEye,
|
||||||
faEyeSlash,
|
faEyeSlash,
|
||||||
faHistory,
|
faHistory,
|
||||||
|
faHome,
|
||||||
faInfoCircle,
|
faInfoCircle,
|
||||||
faUser,
|
|
||||||
faKey,
|
faKey,
|
||||||
faQuestionCircle,
|
faQuestionCircle,
|
||||||
faSearch,
|
faSearch,
|
||||||
faSignInAlt,
|
faSignInAlt,
|
||||||
faSignOutAlt
|
faSignOutAlt,
|
||||||
|
faSlidersH,
|
||||||
|
faTools,
|
||||||
|
faUser,
|
||||||
|
faUserCog
|
||||||
} from "@fortawesome/free-solid-svg-icons";
|
} from "@fortawesome/free-solid-svg-icons";
|
||||||
//import { faUserCircle as farUserCircle } from "@fortawesome/free-regular-svg-icons";
|
//import { faUserCircle as farUserCircle } from "@fortawesome/free-regular-svg-icons";
|
||||||
Vue.component("font-awesome-icon", FontAwesomeIcon);
|
Vue.component("font-awesome-icon", FontAwesomeIcon);
|
||||||
@@ -35,20 +41,26 @@ Vue.component("font-awesome-icon", FontAwesomeIcon);
|
|||||||
library.add(
|
library.add(
|
||||||
faBars,
|
faBars,
|
||||||
faBell,
|
faBell,
|
||||||
|
faBullhorn,
|
||||||
faCalendarCheck,
|
faCalendarCheck,
|
||||||
faCaretDown,
|
faCaretDown,
|
||||||
faChevronDown,
|
faChevronDown,
|
||||||
|
faChild,
|
||||||
faEllipsisV,
|
faEllipsisV,
|
||||||
faEye,
|
faEye,
|
||||||
faEyeSlash,
|
faEyeSlash,
|
||||||
faHistory,
|
faHistory,
|
||||||
|
faHome,
|
||||||
faInfoCircle,
|
faInfoCircle,
|
||||||
faKey,
|
faKey,
|
||||||
faQuestionCircle,
|
faQuestionCircle,
|
||||||
faSearch,
|
faSearch,
|
||||||
faSignInAlt,
|
faSignInAlt,
|
||||||
faSignOutAlt,
|
faSignOutAlt,
|
||||||
faUser
|
faSlidersH,
|
||||||
|
faTools,
|
||||||
|
faUser,
|
||||||
|
faUserCog
|
||||||
);
|
);
|
||||||
|
|
||||||
const CUSTOM_ICONS = {
|
const CUSTOM_ICONS = {
|
||||||
@@ -58,12 +70,30 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "bell"]
|
icon: ["fas", "bell"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiBullhorn: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "bullhorn"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiCalendarCheck: {
|
ayiCalendarCheck: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
icon: ["fas", "calendar-check"]
|
icon: ["fas", "calendar-check"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiChild: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "child"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ayiCustomize: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "sliders-h"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiEye: {
|
ayiEye: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
@@ -88,6 +118,12 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "history"]
|
icon: ["fas", "history"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiHome: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "home"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiInfoCircle: {
|
ayiInfoCircle: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
@@ -124,12 +160,24 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "sign-out-alt"]
|
icon: ["fas", "sign-out-alt"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiTools: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "tools"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiUser: {
|
ayiUser: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
icon: ["fas", "user"]
|
icon: ["fas", "user"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiUserCog: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "user-cog"]
|
||||||
|
}
|
||||||
|
},
|
||||||
//VUETIFY REQUIRED ONES
|
//VUETIFY REQUIRED ONES
|
||||||
//https://vuetifyjs.com/en/features/icons/#using-custom-icons
|
//https://vuetifyjs.com/en/features/icons/#using-custom-icons
|
||||||
dropdown: {
|
dropdown: {
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: false,
|
isMain: false,
|
||||||
icon: "fa-sliders-h",
|
icon: "$ayiCustomize",
|
||||||
title: "Customize",
|
title: "Customize",
|
||||||
helpUrl: "form-ay-customize",
|
helpUrl: "form-ay-customize",
|
||||||
formData: {
|
formData: {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export default {
|
|||||||
beforeCreate() {
|
beforeCreate() {
|
||||||
window.$gz.eventBus.$emit("menu-change", {
|
window.$gz.eventBus.$emit("menu-change", {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "fa-child",
|
icon: "$ayiChild",
|
||||||
title: "CustomerServiceRequestList",
|
title: "CustomerServiceRequestList",
|
||||||
helpUrl: "form-customer-csr-list"
|
helpUrl: "form-customer-csr-list"
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -641,7 +641,7 @@ async function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: false,
|
isMain: false,
|
||||||
icon: "fa-bullhorn",
|
icon: "$ayiBullhorn",
|
||||||
title: "NotifySubscription",
|
title: "NotifySubscription",
|
||||||
helpUrl: "form-home-notify-subscriptions",
|
helpUrl: "form-home-notify-subscriptions",
|
||||||
formData: {
|
formData: {
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ async function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "fa-bullhorn",
|
icon: "$ayiBullhorn",
|
||||||
title: "NotifySubscriptionList",
|
title: "NotifySubscriptionList",
|
||||||
helpUrl: "form-home-notify-subscriptions",
|
helpUrl: "form-home-notify-subscriptions",
|
||||||
menuItems: [],
|
menuItems: [],
|
||||||
|
|||||||
@@ -392,7 +392,7 @@ function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "fa-user-cog",
|
icon: "$ayiUserCog",
|
||||||
title: "UserSettings",
|
title: "UserSettings",
|
||||||
helpUrl: "form-home-user-settings",
|
helpUrl: "form-home-user-settings",
|
||||||
formData: {
|
formData: {
|
||||||
|
|||||||
@@ -402,7 +402,7 @@ async function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "fa-bullhorn",
|
icon: "$ayiBullhorn",
|
||||||
title: "NotificationSettings",
|
title: "NotificationSettings",
|
||||||
helpUrl: "form-ops-notification-settings",
|
helpUrl: "form-ops-notification-settings",
|
||||||
formData: {
|
formData: {
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ export default {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "fa-bullhorn",
|
icon: "$ayiBullhorn",
|
||||||
title: "NotifyQueue",
|
title: "NotifyQueue",
|
||||||
helpUrl: "form-ops-notify-queue",
|
helpUrl: "form-ops-notify-queue",
|
||||||
formData: {
|
formData: {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export default {
|
|||||||
beforeCreate() {
|
beforeCreate() {
|
||||||
window.$gz.eventBus.$emit("menu-change", {
|
window.$gz.eventBus.$emit("menu-change", {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "fa-child",
|
icon: "$ayiChild",
|
||||||
title: "CustomerServiceRequestList",
|
title: "CustomerServiceRequestList",
|
||||||
helpUrl: "form-svc-csr-list"
|
helpUrl: "form-svc-csr-list"
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user