First commit

This commit is contained in:
2026-03-27 10:14:29 +03:00
commit ad29150770
10404 changed files with 962562 additions and 0 deletions

37
replicard.js Normal file
View File

@@ -0,0 +1,37 @@
import Vue from 'vue'
import { provideModule } from '@/js/mixins'
const INITIAL_DATA = () => {
return {
progression: {
'E': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
'F': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
'G': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
'H': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
},
data_fetched: false,
}
}
const myStoreModule = {
namespaced: true,
state() {
return INITIAL_DATA();
},
mutations: {
setReplicardData(state, value) {
Vue.set(state, 'progression', value);
},
setReplicardFetched(state, value) {
state.data_fetched = value;
},
resetReplicard(state) {
Object.assign(state, INITIAL_DATA());
}
},
};
const provideMyStoreModule = provideModule('replicard', myStoreModule);
export default provideMyStoreModule;