Update npm packages
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
14b0aefb81
commit
2f9370f0b3
|
@ -26,7 +26,6 @@
|
||||||
"laravel/tinker": "^2.0",
|
"laravel/tinker": "^2.0",
|
||||||
"laravel/ui": "^3.0",
|
"laravel/ui": "^3.0",
|
||||||
"nunomaduro/larastan": "^1.0.2",
|
"nunomaduro/larastan": "^1.0.2",
|
||||||
"predis/predis": "^1.1",
|
|
||||||
"spatie/laravel-medialibrary": "^7.19",
|
"spatie/laravel-medialibrary": "^7.19",
|
||||||
"spatie/laravel-settings": "^2.2",
|
"spatie/laravel-settings": "^2.2",
|
||||||
"zoomyboy/laravel-nami": "dev-master"
|
"zoomyboy/laravel-nami": "dev-master"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
|
@ -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"
|
"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": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^10.4.2",
|
"autoprefixer": "latest",
|
||||||
"laravel-mix": "^6.0.1",
|
"laravel-mix": "^6.0.1",
|
||||||
"lodash": "^4.17.21",
|
|
||||||
"postcss": "^8.4.6",
|
"postcss": "^8.4.6",
|
||||||
"tailwindcss": "^3.0.19",
|
"tailwindcss": "^3.0.19",
|
||||||
"vue": "^2.6.12",
|
"vue": "^2.6",
|
||||||
"vue-loader": "^15.9.6",
|
"vue-loader": "^15.9.8",
|
||||||
"vue-template-compiler": "^2.6.12"
|
"vue-template-compiler": "^2.6.14"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@inertiajs/inertia": "^0.10.1",
|
"@inertiajs/inertia": "^0.11.0",
|
||||||
"@inertiajs/inertia-vue": "^0.7.2",
|
"@inertiajs/inertia-vue": "^0.8.0",
|
||||||
"agnoster": "file:resources/js/libs/agnoster",
|
"merge": "^2.1.1",
|
||||||
"js-modules": "file:resources/js/libs/js-modules",
|
|
||||||
"laravel-echo": "^1.10.0",
|
|
||||||
"postcss-import": "^14.0.1",
|
"postcss-import": "^14.0.1",
|
||||||
"query-string": "^7.0.0",
|
"query-string": "^7.0.0",
|
||||||
"socket.io-client": "^4.0.1",
|
|
||||||
"v-tooltip": "^2.1.3",
|
"v-tooltip": "^2.1.3",
|
||||||
"wnumb": "^1.2.0"
|
"wnumb": "^1.2.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import { App as InertiaApp, plugin, Link } from '@inertiajs/inertia-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 Sprite from './components/Sprite.js';
|
||||||
|
|
||||||
import FText from './components/FText.vue';
|
import FText from './components/FText.vue';
|
||||||
|
|
|
@ -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,
|
|
||||||
}
|
|
||||||
});
|
|
|
@ -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' }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
};
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
Loading…
Reference in New Issue