This commit is contained in:
2020-11-05 15:32:08 +00:00
parent b8585e1e87
commit 67fc6f7f82
5 changed files with 25 additions and 9 deletions

View File

@@ -8,9 +8,8 @@ DASHBOARD / KPI / BIZ METRICS
OTHER OTHER
todo: when showing a popup warning box error: Could not find one or more icon(s) iconName: "exclamation" prefix: "fas" todo: popup notify not showing translated More instead shows ??More
I think maybe this is a built in vuetify icon? todo: Confirm gzconfirm has all it's icons and text correct from login form test block
Need to show a warning box to see it in action, maybe delete something and get the are you sure? or maybe it's only the warning type?
TODO: shorten word "control" in my custom controls to ctl, why waste bytes? TODO: shorten word "control" in my custom controls to ctl, why waste bytes?
TODO: gzErrorBox in widget form will not display if form is not ready and form may not be ready if there is an error? (or is that correct?) TODO: gzErrorBox in widget form will not display if form is not ready and form may not be ready if there is an error? (or is that correct?)
todo: ops metrics not showing dates on charts that span more than one day (timeline) todo: ops metrics not showing dates on charts that span more than one day (timeline)

View File

@@ -19,7 +19,10 @@ export default {
// called once from app.vue only // called once from app.vue only
// //
wireUpEventHandlers(vm) { wireUpEventHandlers(vm) {
//###########################################
//Notifications: pops up and slowly disappears //Notifications: pops up and slowly disappears
//ACTUAL UI IN gznotify.vue
//###########################################
/////////// ///////////
//ERROR //ERROR
@@ -87,6 +90,10 @@ export default {
VM_LOCAL = vm; VM_LOCAL = vm;
}, },
//###########################################
//CONFIRMATION DIALOGS
//ACTUAL UI IN gzconfirm.vue
//###########################################
///////////////////////////////////// /////////////////////////////////////
// Are you sure you want to delete? // Are you sure you want to delete?
// //

View File

@@ -62,6 +62,7 @@ import {
faEgg, faEgg,
faEllipsisV, faEllipsisV,
faEnvelopeOpenText, faEnvelopeOpenText,
faExclamation,
faExclamationCircle, faExclamationCircle,
faExclamationTriangle, faExclamationTriangle,
faEye, faEye,
@@ -209,6 +210,7 @@ library.add(
faEgg, faEgg,
faEllipsisV, faEllipsisV,
faEnvelopeOpenText, faEnvelopeOpenText,
faExclamation,
faExclamationCircle, faExclamationCircle,
faExclamationTriangle, faExclamationTriangle,
faEye, faEye,
@@ -1136,6 +1138,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "caret-down"] icon: ["fas", "caret-down"]
} }
}, },
exclamation: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "exclamation"]
}
},
info: { info: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {

View File

@@ -40,7 +40,9 @@
</v-dialog> </v-dialog>
</v-col> </v-col>
<v-col cols="12" v-if="!hasItems()"> <v-col cols="12" v-if="!hasItems()">
<v-btn outlined @click.native="showSelector = true">{{ $ay.t("Add") }}</v-btn> <v-btn outlined @click.native="showSelector = true">{{
$ay.t("Add")
}}</v-btn>
</v-col> </v-col>
<v-col <v-col
v-for="(item, i) in effectiveView" v-for="(item, i) in effectiveView"

View File

@@ -311,11 +311,11 @@ export default {
// ); // );
// })(); // })();
// window.$gz.eventBus.$emit( window.$gz.eventBus.$emit(
// "notify-info", "notify-error",
// "This is a test crlf\r\nOnly a test lf\nEot", "This is a test crlf\r\nOnly a test lf\nEot",
// "https://www.ayanova.com/subscriptionexpired.htm" "https://www.ayanova.com/subscriptionexpired.htm"
// ); );
//------------------------ //------------------------
window.$gz.eventBus.$emit("menu-change", { window.$gz.eventBus.$emit("menu-change", {
isMain: true, isMain: true,