Update npm packages
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2022-02-10 02:35:39 +01:00
parent 14b0aefb81
commit 2f9370f0b3
7 changed files with 1166 additions and 3135 deletions

View File

@ -26,7 +26,6 @@
"laravel/tinker": "^2.0",
"laravel/ui": "^3.0",
"nunomaduro/larastan": "^1.0.2",
"predis/predis": "^1.1",
"spatie/laravel-medialibrary": "^7.19",
"spatie/laravel-settings": "^2.2",
"zoomyboy/laravel-nami": "dev-master"

4198
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,24 +10,20 @@
"img": "rm -R public/img && cd resources/img/svg && svg-sprite -s --symbol-dest=sprite *.svg && mv sprite/svg/sprite.symbol.svg ../sprite.svg && rm -R sprite && cd ../../../ && cp -R resources/img public/img"
},
"devDependencies": {
"autoprefixer": "^10.4.2",
"autoprefixer": "latest",
"laravel-mix": "^6.0.1",
"lodash": "^4.17.21",
"postcss": "^8.4.6",
"tailwindcss": "^3.0.19",
"vue": "^2.6.12",
"vue-loader": "^15.9.6",
"vue-template-compiler": "^2.6.12"
"vue": "^2.6",
"vue-loader": "^15.9.8",
"vue-template-compiler": "^2.6.14"
},
"dependencies": {
"@inertiajs/inertia": "^0.10.1",
"@inertiajs/inertia-vue": "^0.7.2",
"agnoster": "file:resources/js/libs/agnoster",
"js-modules": "file:resources/js/libs/js-modules",
"laravel-echo": "^1.10.0",
"@inertiajs/inertia": "^0.11.0",
"@inertiajs/inertia-vue": "^0.8.0",
"merge": "^2.1.1",
"postcss-import": "^14.0.1",
"query-string": "^7.0.0",
"socket.io-client": "^4.0.1",
"v-tooltip": "^2.1.3",
"wnumb": "^1.2.0"
}

2
resources/js/app.js vendored
View File

@ -1,7 +1,5 @@
import Vue from 'vue';
import { App as InertiaApp, plugin, Link } from '@inertiajs/inertia-vue'
import Echo from 'laravel-echo';
window.io = require('socket.io-client');
import Sprite from './components/Sprite.js';
import FText from './components/FText.vue';

16
resources/js/store.js vendored
View File

@ -1,16 +0,0 @@
import Vue from 'vue';
import Vuex from 'vuex';
import nav from 'agnoster/store/nav.js';
import links from './store/links.js';
import user from './store/user.js';
Vue.use(Vuex);
export default new Vuex.Store({
modules: {
nav: nav(links, function(link, { rootGetters }) {
return link.right !== undefined && rootGetters['user/hasRight'](link.right);
}),
user,
}
});

View File

@ -1,31 +0,0 @@
export default {
main: {
open: false,
links: [
{ icon: 'home', href: '/', title: 'Dashboard' },
{ icon: 'user', href: '/member', title: 'Mitglieder' },
]
},
footer: {
open: false,
links: [
{ icon: 'user', href: '/user', title: 'Benutzer' },
{ icon: 'users', href: '/group', title: 'Gruppen' },
{ icon: 'cogs', href: '/config', title: 'Konfiguration' },
{ icon: 'sign-out', href: '/logout', title: 'Abmelden' }
]
},
profileToolbar: {
open: false,
links: [
{ icon: 'user', href: '/profile', title: 'Meine Daten' }
]
},
adminToolbar: {
open: false,
links: [
{ icon: 'key', href: '/setting', title: 'Einstellungen' },
{ icon: 'user', href: '/profile', title: 'Meine Einstellungen' }
]
}
};

View File

@ -1,35 +0,0 @@
import collection from 'agnoster/collection.js';
export default {
namespaced: true,
modules: {
collection: collection()
},
state: {
current: {}
},
getters: {
model() {
return 'user';
},
hasRight: (state) => (right) => {
return state.current.cans[right] === 1;
},
messages() {
return {
stored: 'Benutzer erstellt.',
updated: 'Benutzer bearbeitet.',
destroyed: 'Benutzer gelöscht.'
};
}
},
mutations: {
set: (state, data) => {
state.current = data;
}
}
};