This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-expansion-panel v-if="available()">
|
<v-expansion-panel v-if="available()">
|
||||||
<v-expansion-panel-header disable-icon-rotate expand-icon="fa-tags">{{
|
<v-expansion-panel-header disable-icon-rotate expand-icon="$ayiTags">{{
|
||||||
$ay.t("Tags")
|
$ay.t("Tags")
|
||||||
}}</v-expansion-panel-header>
|
}}</v-expansion-panel-header>
|
||||||
<v-expansion-panel-content>
|
<v-expansion-panel-content>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
<div>
|
<div>
|
||||||
<v-btn @click="refresh">
|
<v-btn @click="refresh">
|
||||||
<v-icon :data-cy="!!$ay.dev ? 'refresh' : false">fa-sync</v-icon>
|
<v-icon :data-cy="!!$ay.dev ? 'refresh' : false">$ayiSync</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<v-btn class="ml-12" @click="editListView">
|
<v-btn class="ml-12" @click="editListView">
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<v-icon large color="warning">$ayiExclamationCircle</v-icon>
|
<v-icon large color="warning">$ayiExclamationCircle</v-icon>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="options.type == 'error'">
|
<template v-if="options.type == 'error'">
|
||||||
<v-icon large color="error">fa-exclamation-triangle</v-icon>
|
<v-icon large color="error">$ayiExclamationTriangle</v-icon>
|
||||||
</template>
|
</template>
|
||||||
<span v-if="options.title" class="ml-5"> {{ options.title }} </span>
|
<span v-if="options.title" class="ml-5"> {{ options.title }} </span>
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ export default {
|
|||||||
if (this.value != 0) {
|
if (this.value != 0) {
|
||||||
return "$ayiEdit";
|
return "$ayiEdit";
|
||||||
}
|
}
|
||||||
return "fa-plus";
|
return "$ayiPlus";
|
||||||
},
|
},
|
||||||
handleEditClick: function() {
|
handleEditClick: function() {
|
||||||
let idToOpen = 0;
|
let idToOpen = 0;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
{{ this.normalizeTag(tagSearchEntry) }}</v-chip
|
{{ this.normalizeTag(tagSearchEntry) }}</v-chip
|
||||||
>
|
>
|
||||||
<v-btn large icon @click="addTag()">
|
<v-btn large icon @click="addTag()">
|
||||||
<v-icon large color="success">fa-plus-circle</v-icon>
|
<v-icon large color="success">$ayiPlusCircle</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|||||||
@@ -35,9 +35,12 @@ import {
|
|||||||
faChevronDown,
|
faChevronDown,
|
||||||
faChild,
|
faChild,
|
||||||
faClock,
|
faClock,
|
||||||
|
faClone,
|
||||||
faCode,
|
faCode,
|
||||||
faCogs,
|
faCogs,
|
||||||
faColumns,
|
faColumns,
|
||||||
|
faCommentAlt,
|
||||||
|
faCopy,
|
||||||
faDiceD20,
|
faDiceD20,
|
||||||
faDolly,
|
faDolly,
|
||||||
faDollyFlatbed,
|
faDollyFlatbed,
|
||||||
@@ -45,6 +48,7 @@ import {
|
|||||||
faEdit,
|
faEdit,
|
||||||
faEllipsisV,
|
faEllipsisV,
|
||||||
faExclamationCircle,
|
faExclamationCircle,
|
||||||
|
faExclamationTriangle,
|
||||||
faEye,
|
faEye,
|
||||||
faEyeSlash,
|
faEyeSlash,
|
||||||
faFan,
|
faFan,
|
||||||
@@ -88,10 +92,13 @@ import {
|
|||||||
faPencilAlt,
|
faPencilAlt,
|
||||||
faPencilRuler,
|
faPencilRuler,
|
||||||
faPlug,
|
faPlug,
|
||||||
|
faPlus,
|
||||||
|
faPlusCircle,
|
||||||
faQuestionCircle,
|
faQuestionCircle,
|
||||||
faQuoteLeft,
|
faQuoteLeft,
|
||||||
faRobot,
|
faRobot,
|
||||||
faRocket,
|
faRocket,
|
||||||
|
faSave,
|
||||||
faSearch,
|
faSearch,
|
||||||
faSeedling,
|
faSeedling,
|
||||||
faServer,
|
faServer,
|
||||||
@@ -104,12 +111,15 @@ import {
|
|||||||
faStickyNote,
|
faStickyNote,
|
||||||
faStore,
|
faStore,
|
||||||
faStrikethrough,
|
faStrikethrough,
|
||||||
|
faSync,
|
||||||
faTable,
|
faTable,
|
||||||
faTachometerAlt,
|
faTachometerAlt,
|
||||||
|
faTags,
|
||||||
faThList,
|
faThList,
|
||||||
faTicketAlt,
|
faTicketAlt,
|
||||||
faToolbox,
|
faToolbox,
|
||||||
faTools,
|
faTools,
|
||||||
|
faTrashAlt,
|
||||||
faUser,
|
faUser,
|
||||||
faUserCog,
|
faUserCog,
|
||||||
faUsers,
|
faUsers,
|
||||||
@@ -142,9 +152,12 @@ library.add(
|
|||||||
faChevronDown,
|
faChevronDown,
|
||||||
faChild,
|
faChild,
|
||||||
faClock,
|
faClock,
|
||||||
|
faClone,
|
||||||
faCode,
|
faCode,
|
||||||
faCogs,
|
faCogs,
|
||||||
faColumns,
|
faColumns,
|
||||||
|
faCommentAlt,
|
||||||
|
faCopy,
|
||||||
faDiceD20,
|
faDiceD20,
|
||||||
faDolly,
|
faDolly,
|
||||||
faDollyFlatbed,
|
faDollyFlatbed,
|
||||||
@@ -152,6 +165,7 @@ library.add(
|
|||||||
faEdit,
|
faEdit,
|
||||||
faEllipsisV,
|
faEllipsisV,
|
||||||
faExclamationCircle,
|
faExclamationCircle,
|
||||||
|
faExclamationTriangle,
|
||||||
faEye,
|
faEye,
|
||||||
faEyeSlash,
|
faEyeSlash,
|
||||||
faFan,
|
faFan,
|
||||||
@@ -195,10 +209,13 @@ library.add(
|
|||||||
faPencilAlt,
|
faPencilAlt,
|
||||||
faPencilRuler,
|
faPencilRuler,
|
||||||
faPlug,
|
faPlug,
|
||||||
|
faPlus,
|
||||||
|
faPlusCircle,
|
||||||
faQuestionCircle,
|
faQuestionCircle,
|
||||||
faQuoteLeft,
|
faQuoteLeft,
|
||||||
faRobot,
|
faRobot,
|
||||||
faRocket,
|
faRocket,
|
||||||
|
faSave,
|
||||||
faSearch,
|
faSearch,
|
||||||
faSeedling,
|
faSeedling,
|
||||||
faServer,
|
faServer,
|
||||||
@@ -212,12 +229,15 @@ library.add(
|
|||||||
faStickyNote,
|
faStickyNote,
|
||||||
faStore,
|
faStore,
|
||||||
faStrikethrough,
|
faStrikethrough,
|
||||||
|
faSync,
|
||||||
faTable,
|
faTable,
|
||||||
faTachometerAlt,
|
faTachometerAlt,
|
||||||
|
faTags,
|
||||||
faThList,
|
faThList,
|
||||||
faTicketAlt,
|
faTicketAlt,
|
||||||
faToolbox,
|
faToolbox,
|
||||||
faTools,
|
faTools,
|
||||||
|
faTrashAlt,
|
||||||
faUser,
|
faUser,
|
||||||
faUserCog,
|
faUserCog,
|
||||||
faUsers,
|
faUsers,
|
||||||
@@ -340,6 +360,12 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "clock"]
|
icon: ["fas", "clock"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiClone: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "clone"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiCode: {
|
ayiCode: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
@@ -358,6 +384,18 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "columns"]
|
icon: ["fas", "columns"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiCommentAlt: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "comment-alt"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ayiCopy: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "copy"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiCustomize: {
|
ayiCustomize: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
@@ -400,6 +438,12 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "exclamation-circle"]
|
icon: ["fas", "exclamation-circle"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiExclamationTriangle: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "exclamation-triangle"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiEye: {
|
ayiEye: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
@@ -664,6 +708,18 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "plug"]
|
icon: ["fas", "plug"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiPlus: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "plus"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ayiPlusCircle: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "plus-circle"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiQuestionCircle: {
|
ayiQuestionCircle: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
@@ -688,6 +744,12 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "rocket"]
|
icon: ["fas", "rocket"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiSave: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "save"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiSearch: {
|
ayiSearch: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
@@ -760,6 +822,12 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "strikethrough"]
|
icon: ["fas", "strikethrough"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiSync: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "sync"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiTable: {
|
ayiTable: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
@@ -772,6 +840,12 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "tachometer-alt"]
|
icon: ["fas", "tachometer-alt"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiTags: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "tags"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiThList: {
|
ayiThList: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
@@ -796,6 +870,12 @@ const CUSTOM_ICONS = {
|
|||||||
icon: ["fas", "tools"]
|
icon: ["fas", "tools"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
ayiTrashAlt: {
|
||||||
|
component: FontAwesomeIcon,
|
||||||
|
props: {
|
||||||
|
icon: ["fas", "trash-alt"]
|
||||||
|
}
|
||||||
|
},
|
||||||
ayiUser: {
|
ayiUser: {
|
||||||
component: FontAwesomeIcon,
|
component: FontAwesomeIcon,
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
@@ -328,7 +328,7 @@ function generateMenu(vm) {
|
|||||||
|
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "DeleteSelected",
|
title: "DeleteSelected",
|
||||||
icon: "fa-trash-alt",
|
icon: "$ayiTrashAlt",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":DELETE_SELECTED",
|
key: FORM_KEY + ":DELETE_SELECTED",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ function generateMenu(vm) {
|
|||||||
// if (vm.rights.change) {
|
// if (vm.rights.change) {
|
||||||
// menuOptions.menuItems.push({
|
// menuOptions.menuItems.push({
|
||||||
// title: "Save",
|
// title: "Save",
|
||||||
// icon: "fa-save",
|
// icon: "$ayiSave",
|
||||||
// surface: true,
|
// surface: true,
|
||||||
// key: FORM_KEY + ":save",
|
// key: FORM_KEY + ":save",
|
||||||
// vm: vm
|
// vm: vm
|
||||||
|
|||||||
@@ -412,7 +412,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -555,7 +555,7 @@ function generateMenu(vm) {
|
|||||||
//copy dbid
|
//copy dbid
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "CopyDbId",
|
title: "CopyDbId",
|
||||||
icon: "fa-copy",
|
icon: "$ayiCopy",
|
||||||
key: FORM_KEY + ":copydbid",
|
key: FORM_KEY + ":copydbid",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
$ay.t("ReadOnly")
|
$ay.t("ReadOnly")
|
||||||
}}</span>
|
}}</span>
|
||||||
<v-btn @click="duplicate()" :loading="duplicating">
|
<v-btn @click="duplicate()" :loading="duplicating">
|
||||||
<v-icon left>fa-clone</v-icon> {{ $ay.t("Duplicate") }}
|
<v-icon left>$ayiClone</v-icon> {{ $ay.t("Duplicate") }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
@@ -597,7 +597,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change && vm.obj.stock != true) {
|
if (vm.rights.change && vm.obj.stock != true) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -611,7 +611,7 @@ function generateMenu(vm) {
|
|||||||
) {
|
) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Delete",
|
title: "Delete",
|
||||||
icon: "fa-trash-alt",
|
icon: "$ayiTrashAlt",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":delete",
|
key: FORM_KEY + ":delete",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -641,7 +641,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change && vm.$route.params.recordid != 0) {
|
if (vm.rights.change && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Duplicate",
|
title: "Duplicate",
|
||||||
icon: "fa-clone",
|
icon: "$ayiClone",
|
||||||
key: FORM_KEY + ":duplicate",
|
key: FORM_KEY + ":duplicate",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -151,7 +151,7 @@
|
|||||||
v-model="password"
|
v-model="password"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
||||||
prepend-icon="fa-key"
|
prepend-icon="$ayiKey"
|
||||||
:label="$ay.t('NewPassword')"
|
:label="$ay.t('NewPassword')"
|
||||||
:type="reveal ? 'text' : 'password'"
|
:type="reveal ? 'text' : 'password'"
|
||||||
:error-messages="form().serverErrors(this, 'password')"
|
:error-messages="form().serverErrors(this, 'password')"
|
||||||
@@ -660,7 +660,7 @@ async function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: false,
|
isMain: false,
|
||||||
icon: "fa-splotch",
|
icon: "$ayiUser",
|
||||||
title: "User",
|
title: "User",
|
||||||
helpUrl: "form-adm-user",
|
helpUrl: "form-adm-user",
|
||||||
formData: {
|
formData: {
|
||||||
@@ -674,7 +674,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -684,7 +684,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Delete",
|
title: "Delete",
|
||||||
icon: "fa-trash-alt",
|
icon: "$ayiTrashAlt",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":delete",
|
key: FORM_KEY + ":delete",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -714,7 +714,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "New",
|
title: "New",
|
||||||
icon: "fa-plus",
|
icon: "$ayiPlus",
|
||||||
key: FORM_KEY + ":new",
|
key: FORM_KEY + ":new",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
@@ -723,7 +723,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change && vm.$route.params.recordid != 0) {
|
if (vm.rights.change && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Duplicate",
|
title: "Duplicate",
|
||||||
icon: "fa-clone",
|
icon: "$ayiClone",
|
||||||
key: FORM_KEY + ":duplicate",
|
key: FORM_KEY + ":duplicate",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
@@ -731,7 +731,7 @@ function generateMenu(vm) {
|
|||||||
|
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "DirectNotification",
|
title: "DirectNotification",
|
||||||
icon: "fa-comment-alt",
|
icon: "$ayiCommentAlt",
|
||||||
key: FORM_KEY + ":directnotify",
|
key: FORM_KEY + ":directnotify",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "New",
|
title: "New",
|
||||||
icon: "fa-plus",
|
icon: "$ayiPlus",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":new",
|
key: FORM_KEY + ":new",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -249,7 +249,7 @@ function generateMenu(vm) {
|
|||||||
|
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "DirectNotification",
|
title: "DirectNotification",
|
||||||
icon: "fa-comment-alt",
|
icon: "$ayiCommentAlt",
|
||||||
key: FORM_KEY + ":directnotify",
|
key: FORM_KEY + ":directnotify",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ function generateMenu(vm) {
|
|||||||
menuItems: [
|
menuItems: [
|
||||||
{
|
{
|
||||||
title: "CopySupportInfo",
|
title: "CopySupportInfo",
|
||||||
icon: "fa-copy",
|
icon: "$ayiCopy",
|
||||||
key: "about:copysupportinfo",
|
key: "about:copysupportinfo",
|
||||||
vm: vm
|
vm: vm
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
block
|
block
|
||||||
v-if="item.tempFilterToken != null"
|
v-if="item.tempFilterToken != null"
|
||||||
@click="addFilterCondition(item)"
|
@click="addFilterCondition(item)"
|
||||||
><v-icon large>fa-plus</v-icon></v-btn
|
><v-icon large>$ayiPlus</v-icon></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
block
|
block
|
||||||
v-if="item.tempFilterOperator != null"
|
v-if="item.tempFilterOperator != null"
|
||||||
@click="addFilterCondition(item)"
|
@click="addFilterCondition(item)"
|
||||||
><v-icon large>fa-plus</v-icon></v-btn
|
><v-icon large>$ayiPlus</v-icon></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -205,7 +205,7 @@
|
|||||||
block
|
block
|
||||||
v-if="item.tempFilterOperator != null"
|
v-if="item.tempFilterOperator != null"
|
||||||
@click="addFilterCondition(item)"
|
@click="addFilterCondition(item)"
|
||||||
><v-icon large>fa-plus</v-icon></v-btn
|
><v-icon large>$ayiPlus</v-icon></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<!-- BOOL BUILDER -->
|
<!-- BOOL BUILDER -->
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
block
|
block
|
||||||
v-if="item.tempFilterOperator != null"
|
v-if="item.tempFilterOperator != null"
|
||||||
@click="addFilterCondition(item)"
|
@click="addFilterCondition(item)"
|
||||||
><v-icon large>fa-plus</v-icon></v-btn
|
><v-icon large>$ayiPlus</v-icon></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -270,7 +270,7 @@
|
|||||||
block
|
block
|
||||||
v-if="item.tempFilterOperator != null"
|
v-if="item.tempFilterOperator != null"
|
||||||
@click="addFilterCondition(item)"
|
@click="addFilterCondition(item)"
|
||||||
><v-icon large>fa-plus</v-icon></v-btn
|
><v-icon large>$ayiPlus</v-icon></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<!-- CURRENCY BUILDER -->
|
<!-- CURRENCY BUILDER -->
|
||||||
@@ -297,7 +297,7 @@
|
|||||||
block
|
block
|
||||||
v-if="item.tempFilterOperator != null"
|
v-if="item.tempFilterOperator != null"
|
||||||
@click="addFilterCondition(item)"
|
@click="addFilterCondition(item)"
|
||||||
><v-icon large>fa-plus</v-icon></v-btn
|
><v-icon large>$ayiPlus</v-icon></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<!-- TAG BUILDER -->
|
<!-- TAG BUILDER -->
|
||||||
@@ -321,7 +321,7 @@
|
|||||||
block
|
block
|
||||||
v-if="item.tempFilterOperator != null"
|
v-if="item.tempFilterOperator != null"
|
||||||
@click="addFilterCondition(item)"
|
@click="addFilterCondition(item)"
|
||||||
><v-icon large>fa-plus</v-icon></v-btn
|
><v-icon large>$ayiPlus</v-icon></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<!-- ENUM BUILDER -->
|
<!-- ENUM BUILDER -->
|
||||||
@@ -352,7 +352,7 @@
|
|||||||
block
|
block
|
||||||
v-if="item.tempFilterOperator != null"
|
v-if="item.tempFilterOperator != null"
|
||||||
@click="addFilterCondition(item)"
|
@click="addFilterCondition(item)"
|
||||||
><v-icon large>fa-plus</v-icon></v-btn
|
><v-icon large>$ayiPlus</v-icon></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -386,7 +386,7 @@
|
|||||||
icon
|
icon
|
||||||
@click="removeFilterCondition(item, index)"
|
@click="removeFilterCondition(item, index)"
|
||||||
>
|
>
|
||||||
<v-icon>fa-trash-alt</v-icon>
|
<v-icon>$ayiTrashAlt</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-list-item-action>
|
</v-list-item-action>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
@@ -905,7 +905,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -914,7 +914,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.delete) {
|
if (vm.rights.delete) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Delete",
|
title: "Delete",
|
||||||
icon: "fa-trash-alt",
|
icon: "$ayiTrashAlt",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":delete",
|
key: FORM_KEY + ":delete",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -923,7 +923,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Duplicate",
|
title: "Duplicate",
|
||||||
icon: "fa-clone",
|
icon: "$ayiClone",
|
||||||
key: FORM_KEY + ":duplicate",
|
key: FORM_KEY + ":duplicate",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -408,20 +408,20 @@ async function populateAyaTypeList(vm) {
|
|||||||
//
|
//
|
||||||
function populateEventTypeList(vm) {
|
function populateEventTypeList(vm) {
|
||||||
vm.eventTypes = {
|
vm.eventTypes = {
|
||||||
0: { name: vm.$ay.t("EventDeleted"), icon: "fa-trash-alt" },
|
0: { name: vm.$ay.t("EventDeleted"), icon: "$ayiTrashAlt" },
|
||||||
1: { name: vm.$ay.t("EventCreated"), icon: "fa-plus" },
|
1: { name: vm.$ay.t("EventCreated"), icon: "$ayiPlus" },
|
||||||
2: {
|
2: {
|
||||||
name: vm.$ay.t("EventRetrieved"),
|
name: vm.$ay.t("EventRetrieved"),
|
||||||
icon: "fa-envelope-open-text"
|
icon: "fa-envelope-open-text"
|
||||||
},
|
},
|
||||||
3: { name: vm.$ay.t("EventModified"), icon: "fa-save" },
|
3: { name: vm.$ay.t("EventModified"), icon: "$ayiSave" },
|
||||||
4: {
|
4: {
|
||||||
name: vm.$ay.t("EventAttachmentCreate"),
|
name: vm.$ay.t("EventAttachmentCreate"),
|
||||||
icon: "fa-plus"
|
icon: "$ayiPlus"
|
||||||
},
|
},
|
||||||
5: {
|
5: {
|
||||||
name: vm.$ay.t("EventAttachmentDelete"),
|
name: vm.$ay.t("EventAttachmentDelete"),
|
||||||
icon: "fa-trash-alt"
|
icon: "$ayiTrashAlt"
|
||||||
},
|
},
|
||||||
6: {
|
6: {
|
||||||
name: vm.$ay.t("EventAttachmentDownload"),
|
name: vm.$ay.t("EventAttachmentDownload"),
|
||||||
@@ -437,10 +437,10 @@ function populateEventTypeList(vm) {
|
|||||||
},
|
},
|
||||||
9: {
|
9: {
|
||||||
name: vm.$ay.t("EventServerStateChange"),
|
name: vm.$ay.t("EventServerStateChange"),
|
||||||
icon: "fa-plus"
|
icon: "$ayiPlus"
|
||||||
},
|
},
|
||||||
10: { name: vm.$ay.t("EventSeedDatabase"), icon: "fa-plus" },
|
10: { name: vm.$ay.t("EventSeedDatabase"), icon: "$ayiPlus" },
|
||||||
11: { name: vm.$ay.t("EventAttachmentModified"), icon: "fa-save" },
|
11: { name: vm.$ay.t("EventAttachmentModified"), icon: "$ayiSave" },
|
||||||
12: { name: "ERASE ALL DATA", icon: "$ayiSeedling" },
|
12: { name: "ERASE ALL DATA", icon: "$ayiSeedling" },
|
||||||
13: { name: vm.$ay.t("EventResetSerial"), icon: "fa-egg" },
|
13: { name: vm.$ay.t("EventResetSerial"), icon: "fa-egg" },
|
||||||
13: {
|
13: {
|
||||||
|
|||||||
@@ -1062,7 +1062,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -1081,7 +1081,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Delete",
|
title: "Delete",
|
||||||
icon: "fa-trash-alt",
|
icon: "$ayiTrashAlt",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":delete",
|
key: FORM_KEY + ":delete",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -1111,7 +1111,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "New",
|
title: "New",
|
||||||
icon: "fa-plus",
|
icon: "$ayiPlus",
|
||||||
key: FORM_KEY + ":new",
|
key: FORM_KEY + ":new",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
@@ -1120,7 +1120,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Duplicate",
|
title: "Duplicate",
|
||||||
icon: "fa-clone",
|
icon: "$ayiClone",
|
||||||
key: FORM_KEY + ":duplicate",
|
key: FORM_KEY + ":duplicate",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -155,7 +155,7 @@
|
|||||||
v-model="password"
|
v-model="password"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
||||||
prepend-icon="fa-key"
|
prepend-icon="$ayiKey"
|
||||||
:label="$ay.t('NewPassword')"
|
:label="$ay.t('NewPassword')"
|
||||||
:type="reveal ? 'text' : 'password'"
|
:type="reveal ? 'text' : 'password'"
|
||||||
:error-messages="form().serverErrors(this, 'password')"
|
:error-messages="form().serverErrors(this, 'password')"
|
||||||
@@ -664,7 +664,7 @@ async function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: false,
|
isMain: false,
|
||||||
icon: "fa-splotch",
|
icon: "$ayiUser",
|
||||||
title: "User",
|
title: "User",
|
||||||
helpUrl: "form-adm-user",
|
helpUrl: "form-adm-user",
|
||||||
formData: {
|
formData: {
|
||||||
@@ -678,7 +678,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -688,7 +688,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Delete",
|
title: "Delete",
|
||||||
icon: "fa-trash-alt",
|
icon: "$ayiTrashAlt",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":delete",
|
key: FORM_KEY + ":delete",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -718,7 +718,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "New",
|
title: "New",
|
||||||
icon: "fa-plus",
|
icon: "$ayiPlus",
|
||||||
key: FORM_KEY + ":new",
|
key: FORM_KEY + ":new",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
@@ -727,7 +727,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change && vm.$route.params.recordid != 0) {
|
if (vm.rights.change && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Duplicate",
|
title: "Duplicate",
|
||||||
icon: "fa-clone",
|
icon: "$ayiClone",
|
||||||
key: FORM_KEY + ":duplicate",
|
key: FORM_KEY + ":duplicate",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
@@ -735,7 +735,7 @@ function generateMenu(vm) {
|
|||||||
|
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "DirectNotification",
|
title: "DirectNotification",
|
||||||
icon: "fa-comment-alt",
|
icon: "$ayiCommentAlt",
|
||||||
key: FORM_KEY + ":directnotify",
|
key: FORM_KEY + ":directnotify",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "New",
|
title: "New",
|
||||||
icon: "fa-plus",
|
icon: "$ayiPlus",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":new",
|
key: FORM_KEY + ":new",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -238,7 +238,7 @@ function generateMenu(vm) {
|
|||||||
|
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "DirectNotification",
|
title: "DirectNotification",
|
||||||
icon: "fa-comment-alt",
|
icon: "$ayiCommentAlt",
|
||||||
key: FORM_KEY + ":directnotify",
|
key: FORM_KEY + ":directnotify",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ function generateMenu(vm) {
|
|||||||
|
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Refresh",
|
title: "Refresh",
|
||||||
icon: "fa-sync",
|
icon: "$ayiSync",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":refresh",
|
key: FORM_KEY + ":refresh",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -292,7 +292,7 @@ function generateMenu(vm) {
|
|||||||
|
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "DirectNotification",
|
title: "DirectNotification",
|
||||||
icon: "fa-comment-alt",
|
icon: "$ayiCommentAlt",
|
||||||
data: "home-notify-direct",
|
data: "home-notify-direct",
|
||||||
key: "app:nav"
|
key: "app:nav"
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
></gz-pick-list> </v-col
|
></gz-pick-list> </v-col
|
||||||
><v-col cols="1">
|
><v-col cols="1">
|
||||||
<v-btn @click="addSelected()">
|
<v-btn @click="addSelected()">
|
||||||
<v-icon>fa-plus</v-icon>
|
<v-icon>$ayiPlus</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@@ -268,7 +268,7 @@ function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "fa-comment-alt",
|
icon: "$ayiCommentAlt",
|
||||||
title: "DirectNotification",
|
title: "DirectNotification",
|
||||||
helpUrl: "form-home-notify-direct",
|
helpUrl: "form-home-notify-direct",
|
||||||
|
|
||||||
@@ -278,7 +278,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -654,7 +654,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -664,7 +664,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Delete",
|
title: "Delete",
|
||||||
icon: "fa-trash-alt",
|
icon: "$ayiTrashAlt",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":delete",
|
key: FORM_KEY + ":delete",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -694,7 +694,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "New",
|
title: "New",
|
||||||
icon: "fa-plus",
|
icon: "$ayiPlus",
|
||||||
key: FORM_KEY + ":new",
|
key: FORM_KEY + ":new",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
@@ -703,7 +703,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change && vm.$route.params.recordid != 0) {
|
if (vm.rights.change && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Duplicate",
|
title: "Duplicate",
|
||||||
icon: "fa-clone",
|
icon: "$ayiClone",
|
||||||
key: FORM_KEY + ":duplicate",
|
key: FORM_KEY + ":duplicate",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "New",
|
title: "New",
|
||||||
icon: "fa-plus",
|
icon: "$ayiPlus",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":new",
|
key: FORM_KEY + ":new",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
v-model="obj.oldPassword"
|
v-model="obj.oldPassword"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
||||||
prepend-icon="fa-key"
|
prepend-icon="$ayiKey"
|
||||||
:label="$ay.t('OldPassword')"
|
:label="$ay.t('OldPassword')"
|
||||||
:type="reveal ? 'text' : 'password'"
|
:type="reveal ? 'text' : 'password'"
|
||||||
:rules="[form().required(this, 'oldPassword')]"
|
:rules="[form().required(this, 'oldPassword')]"
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
v-model="obj.newPassword"
|
v-model="obj.newPassword"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
||||||
prepend-icon="fa-key"
|
prepend-icon="$ayiKey"
|
||||||
:label="$ay.t('NewPassword')"
|
:label="$ay.t('NewPassword')"
|
||||||
:type="reveal ? 'text' : 'password'"
|
:type="reveal ? 'text' : 'password'"
|
||||||
:rules="[form().required(this, 'newPassword')]"
|
:rules="[form().required(this, 'newPassword')]"
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
v-model="obj.confirmPassword"
|
v-model="obj.confirmPassword"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
:append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
|
||||||
prepend-icon="fa-key"
|
prepend-icon="$ayiKey"
|
||||||
:label="$ay.t('ConfirmPassword')"
|
:label="$ay.t('ConfirmPassword')"
|
||||||
:type="reveal ? 'text' : 'password'"
|
:type="reveal ? 'text' : 'password'"
|
||||||
:rules="[
|
:rules="[
|
||||||
@@ -263,7 +263,7 @@ function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "fa-key",
|
icon: "$ayiKey",
|
||||||
title: "SetLoginPassword",
|
title: "SetLoginPassword",
|
||||||
helpUrl: "form-home-password",
|
helpUrl: "form-home-password",
|
||||||
formData: {
|
formData: {
|
||||||
@@ -275,7 +275,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -404,7 +404,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -422,7 +422,7 @@ function generateMenu(vm) {
|
|||||||
//change password and login
|
//change password and login
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "SetLoginPassword",
|
title: "SetLoginPassword",
|
||||||
icon: "fa-key",
|
icon: "$ayiKey",
|
||||||
data: "home-password",
|
data: "home-password",
|
||||||
key: "app:nav"
|
key: "app:nav"
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<span class="title">{{ $ay.t("BackupFiles") }}</span>
|
<span class="title">{{ $ay.t("BackupFiles") }}</span>
|
||||||
<v-btn @click="getBackupStatus" class="mb-6">
|
<v-btn @click="getBackupStatus" class="mb-6">
|
||||||
<v-icon>fa-sync</v-icon>
|
<v-icon>$ayiSync</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<v-data-table
|
<v-data-table
|
||||||
@@ -384,7 +384,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<v-btn @click="getDataFromApi" class="mb-6">
|
<v-btn @click="getDataFromApi" class="mb-6">
|
||||||
<v-icon>fa-sync</v-icon>
|
<v-icon>$ayiSync</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
<v-data-table
|
<v-data-table
|
||||||
:headers="headers"
|
:headers="headers"
|
||||||
@@ -183,7 +183,7 @@ function generateMenu(vm) {
|
|||||||
menuItems: [
|
menuItems: [
|
||||||
{
|
{
|
||||||
title: "Copy",
|
title: "Copy",
|
||||||
icon: "fa-copy",
|
icon: "$ayiCopy",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":copylog",
|
key: FORM_KEY + ":copylog",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
item-value="logname"
|
item-value="logname"
|
||||||
:label="$ay.t('Log')"
|
:label="$ay.t('Log')"
|
||||||
@input="logSelected"
|
@input="logSelected"
|
||||||
append-outer-icon="fa-sync"
|
append-outer-icon="$ayiSync"
|
||||||
@click:append-outer="getDataFromApi"
|
@click:append-outer="getDataFromApi"
|
||||||
>
|
>
|
||||||
</v-select>
|
</v-select>
|
||||||
@@ -154,7 +154,7 @@ function generateMenu(vm) {
|
|||||||
menuItems: [
|
menuItems: [
|
||||||
{
|
{
|
||||||
title: "Copy",
|
title: "Copy",
|
||||||
icon: "fa-copy",
|
icon: "$ayiCopy",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":copylog",
|
key: FORM_KEY + ":copylog",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
:items="selectLists.dateFilterTokens"
|
:items="selectLists.dateFilterTokens"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
append-outer-icon="fa-sync"
|
append-outer-icon="$ayiSync"
|
||||||
@click:append-outer="getDataFromApi"
|
@click:append-outer="getDataFromApi"
|
||||||
@input="timePeriodChanged"
|
@input="timePeriodChanged"
|
||||||
></v-select>
|
></v-select>
|
||||||
|
|||||||
@@ -415,7 +415,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<v-btn @click="getDataFromApi" class="mb-6">
|
<v-btn @click="getDataFromApi" class="mb-6">
|
||||||
<v-icon>fa-sync</v-icon>
|
<v-icon>$ayiSync</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<v-data-table
|
<v-data-table
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
>
|
>
|
||||||
<template v-slot:[`item.actions`]="{ item }">
|
<template v-slot:[`item.actions`]="{ item }">
|
||||||
<v-icon small class="mr-2" @click="deleteItem(item)">
|
<v-icon small class="mr-2" @click="deleteItem(item)">
|
||||||
fa-trash
|
$ayiTrashAlt
|
||||||
</v-icon>
|
</v-icon>
|
||||||
</template></v-data-table
|
</template></v-data-table
|
||||||
>
|
>
|
||||||
@@ -194,7 +194,7 @@ function generateMenu(vm) {
|
|||||||
menuItems: [
|
menuItems: [
|
||||||
// {
|
// {
|
||||||
// title: "Copy",
|
// title: "Copy",
|
||||||
// icon: "fa-copy",
|
// icon: "$ayiCopy",
|
||||||
// surface: false,
|
// surface: false,
|
||||||
// key: FORM_KEY + ":copylog",
|
// key: FORM_KEY + ":copylog",
|
||||||
// vm: vm
|
// vm: vm
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<v-btn @click="refreshProfile">
|
<v-btn @click="refreshProfile">
|
||||||
<v-icon>fa-sync</v-icon>
|
<v-icon>$ayiSync</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
@@ -94,7 +94,7 @@ function generateMenu(vm) {
|
|||||||
menuItems: [
|
menuItems: [
|
||||||
// {
|
// {
|
||||||
// title: "Copy"),
|
// title: "Copy"),
|
||||||
// icon: "fa-copy",
|
// icon: "$ayiCopy",
|
||||||
// surface: false,
|
// surface: false,
|
||||||
// key: FORM_KEY + ":copylog",
|
// key: FORM_KEY + ":copylog",
|
||||||
// vm: vm
|
// vm: vm
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
@@ -687,7 +687,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Save",
|
title: "Save",
|
||||||
icon: "fa-save",
|
icon: "$ayiSave",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":save",
|
key: FORM_KEY + ":save",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -697,7 +697,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Delete",
|
title: "Delete",
|
||||||
icon: "fa-trash-alt",
|
icon: "$ayiTrashAlt",
|
||||||
surface: false,
|
surface: false,
|
||||||
key: FORM_KEY + ":delete",
|
key: FORM_KEY + ":delete",
|
||||||
vm: vm
|
vm: vm
|
||||||
@@ -727,7 +727,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "New",
|
title: "New",
|
||||||
icon: "fa-plus",
|
icon: "$ayiPlus",
|
||||||
key: FORM_KEY + ":new",
|
key: FORM_KEY + ":new",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
@@ -736,7 +736,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "Duplicate",
|
title: "Duplicate",
|
||||||
icon: "fa-clone",
|
icon: "$ayiClone",
|
||||||
key: FORM_KEY + ":duplicate",
|
key: FORM_KEY + ":duplicate",
|
||||||
vm: vm
|
vm: vm
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ function generateMenu(vm) {
|
|||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
title: "New",
|
title: "New",
|
||||||
icon: "fa-plus",
|
icon: "$ayiPlus",
|
||||||
surface: true,
|
surface: true,
|
||||||
key: FORM_KEY + ":new",
|
key: FORM_KEY + ":new",
|
||||||
vm: vm
|
vm: vm
|
||||||
|
|||||||
Reference in New Issue
Block a user