Updated Web packages
This commit is contained in:
parent
1b325e880e
commit
2d663de5cf
4173
web/package-lock.json
generated
4173
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -9,20 +9,20 @@
|
|||
"get-schema": "graphql get-schema"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdi/font": "^5.8.55",
|
||||
"@mdi/font": "^5.9.55",
|
||||
"apollo-link-ws": "^1.0.20",
|
||||
"apollo-utilities": "^1.3.4",
|
||||
"date-fns": "^2.16.1",
|
||||
"date-fns": "^2.25.0",
|
||||
"eslint": "^6.8.0",
|
||||
"qrcode.vue": "^1.7.0",
|
||||
"roboto-fontface": "*",
|
||||
"validator": "^13.5.2",
|
||||
"vue": "^2.6.12",
|
||||
"vue-apollo": "^3.0.5",
|
||||
"vue-json-pretty": "^1.7.1",
|
||||
"vue-router": "^3.4.9",
|
||||
"validator": "^13.7.0",
|
||||
"vue": "^2.6.14",
|
||||
"vue-apollo": "^3.0.8",
|
||||
"vue-json-pretty": "^1.8.2",
|
||||
"vue-router": "^3.5.3",
|
||||
"vue-the-mask": "^0.11.1",
|
||||
"vuetify": "^2.3.22",
|
||||
"vuetify": "^2.5.14",
|
||||
"zxcvbn": "^4.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -32,15 +32,15 @@
|
|||
"@vue/cli-service": "~4.5.9",
|
||||
"@vue/eslint-config-prettier": "^6.0.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint-plugin-prettier": "^3.3.0",
|
||||
"eslint-plugin-vue": "^7.3.0",
|
||||
"graphql-tag": "^2.11.0",
|
||||
"prettier": "^2.2.1",
|
||||
"sass": "^1.30.0",
|
||||
"sass-loader": "^10.1.0",
|
||||
"eslint-plugin-prettier": "^3.4.1",
|
||||
"eslint-plugin-vue": "^7.20.0",
|
||||
"graphql-tag": "^2.12.6",
|
||||
"prettier": "^2.4.1",
|
||||
"sass": "^1.43.4",
|
||||
"sass-loader": "^10.2.0",
|
||||
"vue-cli-plugin-apollo": "^0.22.2",
|
||||
"vue-cli-plugin-vuetify": "~2.0.8",
|
||||
"vue-template-compiler": "^2.6.12",
|
||||
"vuetify-loader": "^1.6.0"
|
||||
"vue-template-compiler": "^2.6.14",
|
||||
"vuetify-loader": "^1.7.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ export default {
|
|||
try {
|
||||
const result = await this.$apollo.mutate({
|
||||
mutation: gql`
|
||||
mutation($username: String!) {
|
||||
mutation ($username: String!) {
|
||||
createResetToken(data: { username: $username }) {
|
||||
id
|
||||
token
|
||||
|
|
|
@ -146,7 +146,7 @@ export default {
|
|||
try {
|
||||
const response = await this.$apollo.query({
|
||||
query: gql`
|
||||
query($username: String!) {
|
||||
query ($username: String!) {
|
||||
basicUser(sAMAccountName: $username) {
|
||||
displayName
|
||||
firstName
|
||||
|
@ -178,7 +178,7 @@ export default {
|
|||
try {
|
||||
const response = await this.$apollo.mutate({
|
||||
mutation: gql`
|
||||
mutation($username: String!, $password: String!) {
|
||||
mutation ($username: String!, $password: String!) {
|
||||
login(data: { username: $username, password: $password }) {
|
||||
token
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<img
|
||||
v-if="this.$vuetify.theme.dark || dark"
|
||||
v-if="$vuetify.theme.dark || dark"
|
||||
src="@/assets/serti-dark.png"
|
||||
:height="height"
|
||||
/>
|
||||
|
|
|
@ -68,7 +68,7 @@ export default {
|
|||
try {
|
||||
await this.$apollo.mutate({
|
||||
mutation: gql`
|
||||
mutation($username: String!, $newPassword: String!) {
|
||||
mutation ($username: String!, $newPassword: String!) {
|
||||
replacePassword(
|
||||
data: { username: $username, newPassword: $newPassword }
|
||||
)
|
||||
|
|
|
@ -58,7 +58,7 @@ export default {
|
|||
try {
|
||||
const { data } = await this.$apollo.mutate({
|
||||
mutation: gql`
|
||||
mutation($oldPassword: String!, $newPassword: String!) {
|
||||
mutation ($oldPassword: String!, $newPassword: String!) {
|
||||
updatePassword(
|
||||
data: { oldPassword: $oldPassword, newPassword: $newPassword }
|
||||
) {
|
||||
|
|
|
@ -97,7 +97,7 @@ export default {
|
|||
try {
|
||||
await this.$apollo.mutate({
|
||||
mutation: gql`
|
||||
mutation($token: String!, $newPassword: String!) {
|
||||
mutation ($token: String!, $newPassword: String!) {
|
||||
useResetToken(data: { token: $token, newPassword: $newPassword })
|
||||
}
|
||||
`,
|
||||
|
|
|
@ -130,7 +130,7 @@ export default {
|
|||
apollo: {
|
||||
users: {
|
||||
query: () => gql`
|
||||
query($search: String!, $onlyStudents: Boolean!) {
|
||||
query ($search: String!, $onlyStudents: Boolean!) {
|
||||
users(
|
||||
where: {
|
||||
displayName: $search
|
||||
|
|
|
@ -31,7 +31,7 @@ export default {
|
|||
try {
|
||||
const response = await this.$apollo.query({
|
||||
query: gql`
|
||||
query($username: String!) {
|
||||
query ($username: String!) {
|
||||
basicUser(sAMAccountName: $username) {
|
||||
displayName
|
||||
thumbnailPhoto
|
||||
|
|
|
@ -117,7 +117,7 @@ import 'vue-json-pretty/lib/styles.css'
|
|||
import DatetimePicker from '../../components/ui/DatetimePicker.vue'
|
||||
|
||||
const LOGS_QUERY = gql`
|
||||
query($search: String, $dateIn: String, $dateOut: String, $limit: Int) {
|
||||
query ($search: String, $dateIn: String, $dateOut: String, $limit: Int) {
|
||||
logs(search: $search, dateIn: $dateIn, dateOut: $dateOut, limit: $limit) {
|
||||
id
|
||||
timestamp
|
||||
|
|
|
@ -144,7 +144,7 @@ const PAHOSTS_QUERY = gql`
|
|||
`
|
||||
|
||||
const DEL_HOST_MUTATION = gql`
|
||||
mutation($id: Int!) {
|
||||
mutation ($id: Int!) {
|
||||
delPAHost(id: $id) {
|
||||
id
|
||||
description
|
||||
|
|
|
@ -194,7 +194,7 @@ import gql from 'graphql-tag'
|
|||
const CIDR_RE = /^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$/
|
||||
|
||||
const ADDPAHOST_MUTATION = gql`
|
||||
mutation(
|
||||
mutation (
|
||||
$cidr: String!
|
||||
$user: String!
|
||||
$password: String!
|
||||
|
|
|
@ -49,7 +49,7 @@ export default {
|
|||
|
||||
cache: 'network',
|
||||
query: gql`
|
||||
query($sAMAccountName: String!) {
|
||||
query ($sAMAccountName: String!) {
|
||||
user(sAMAccountName: $sAMAccountName) {
|
||||
id
|
||||
|
||||
|
|
|
@ -262,7 +262,7 @@ export default {
|
|||
userPresence: {
|
||||
// fetchPolicy: 'cache-and-network',
|
||||
query: gql`
|
||||
query($search: String = "") {
|
||||
query ($search: String = "") {
|
||||
userPresence(search: $search) {
|
||||
id
|
||||
displayName
|
||||
|
|
Loading…
Reference in New Issue
Block a user