Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Sep 23, 2024
1 parent 0a48d5e commit 6998131
Show file tree
Hide file tree
Showing 7 changed files with 2,372 additions and 1,725 deletions.
3,393 changes: 2,013 additions & 1,380 deletions package-lock.json

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,43 @@
"generate-pwa-assets": "pwa-assets-generator"
},
"dependencies": {
"@brdgm/brdgm-commons": "^1.6.7",
"@brdgm/brdgm-commons": "^1.6.8",
"@popperjs/core": "^2.11.8",
"bootstrap": "^5.3.3",
"core-js": "^3.37.1",
"core-js": "^3.38.1",
"lodash": "^4.17.21",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"vue": "^3.4.30",
"vue-i18n": "^9.13.1",
"vue-router": "^4.4.0"
"pinia": "^2.2.2",
"pinia-plugin-persistedstate": "^4.0.2",
"vue": "^3.5.8",
"vue-i18n": "^10.0.3",
"vue-router": "^4.4.5"
},
"devDependencies": {
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@intlify/unplugin-vue-i18n": "^5.2.0",
"@types/bootstrap": "^5.2.10",
"@types/chai": "^4.3.16",
"@types/chai": "^4.3.19",
"@types/jsdom": "^21.1.7",
"@types/lodash": "^4.17.5",
"@types/mocha": "^10.0.7",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"@vite-pwa/assets-generator": "^0.2.4",
"@vitejs/plugin-legacy": "^5.4.1",
"@vitejs/plugin-vue": "^5.0.5",
"@vitest/coverage-istanbul": "^1.6.0",
"@types/lodash": "^4.17.7",
"@types/mocha": "^10.0.8",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vite-pwa/assets-generator": "^0.2.6",
"@vitejs/plugin-legacy": "^5.4.2",
"@vitejs/plugin-vue": "^5.1.4",
"@vitest/coverage-istanbul": "^2.1.1",
"@vue/eslint-config-typescript": "^13.0.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-istanbul": "^7.0.0",
"chai": "^5.1.1",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.26.0",
"jsdom": "^24.1.0",
"nodemon": "^3.1.4",
"sass": "^1.77.6",
"eslint": "^8.57.1",
"eslint-plugin-vue": "^9.28.0",
"jsdom": "^25.0.1",
"nodemon": "^3.1.7",
"sass": "^1.78.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"vite-plugin-pwa": "^0.20.0",
"vitest": "^1.6.0"
"typescript": "^5.5.4",
"vite": "^5.4.7",
"vite-plugin-pwa": "^0.20.5",
"vitest": "^2.1.1"
}
}
254 changes: 129 additions & 125 deletions src/components/scoring/FinalScoring.vue
Original file line number Diff line number Diff line change
@@ -1,133 +1,137 @@
<template>
<table>
<tr>
<th colspan="2" scope="col">
<h3 v-html="t('endOfGame.scoring.companyValueTitle')"></h3>
</th>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="astrogo-enterprises" class="icon"/>
{{t('endOfGame.scoring.shareValue')}}
</th>
<td>
<input type="number" min="0" max="15" step="1" v-model="astrogoShareValue" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="tawac-industries" class="icon"/>
{{t('endOfGame.scoring.shareValue')}}
</th>
<td>
<input type="number" min="0" max="15" step="1" v-model="tawacShareValue" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="skymine-resources" class="icon"/>
{{t('endOfGame.scoring.shareValue')}}
</th>
<td>
<input type="number" min="0" max="15" step="1" v-model="skymineShareValue" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="minerva-corp" class="icon"/>
{{t('endOfGame.scoring.shareValue')}}
</th>
<td>
<input type="number" min="0" max="15" step="1" v-model="minervaShareValue" @focus="inputSelectAll"/>
</td>
</tr>
<tbody>
<tr>
<th colspan="2" scope="col">
<h3 v-html="t('endOfGame.scoring.companyValueTitle')"></h3>
</th>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="astrogo-enterprises" class="icon"/>
{{t('endOfGame.scoring.shareValue')}}
</th>
<td>
<input type="number" min="0" max="15" step="1" v-model="astrogoShareValue" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="tawac-industries" class="icon"/>
{{t('endOfGame.scoring.shareValue')}}
</th>
<td>
<input type="number" min="0" max="15" step="1" v-model="tawacShareValue" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="skymine-resources" class="icon"/>
{{t('endOfGame.scoring.shareValue')}}
</th>
<td>
<input type="number" min="0" max="15" step="1" v-model="skymineShareValue" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="minerva-corp" class="icon"/>
{{t('endOfGame.scoring.shareValue')}}
</th>
<td>
<input type="number" min="0" max="15" step="1" v-model="minervaShareValue" @focus="inputSelectAll"/>
</td>
</tr>
</tbody>
</table>

<table class="mt-3">
<tr>
<th scope="col">
<h3 v-html="t('endOfGame.scoring.scoringTitle')"></h3>
</th>
<th v-for="player in playerCount" :key="player" scope="col">
<PlayerColorIcon :playerColor="playerColors[player-1]" class="playerIcon"/>
<span>{{t('turnPlayer.title', {player:player}, playerCount)}}</span>
</th>
<th v-for="bot in botCount" :key="bot" scope="col">
<PlayerColorIcon :playerColor="playerColors[playerCount+bot-1]" class="playerIcon"/>
<span>{{t('turnBot.title', {bot:bot}, botCount)}}</span>
</th>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="astrogo-enterprises" class="icon"/>
{{t('endOfGame.scoring.shareCount')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="20" step="1" v-model="astrogoShares[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="tawac-industries" class="icon"/>
{{t('endOfGame.scoring.shareCount')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="20" step="1" v-model="tawacShares[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="skymine-resources" class="icon"/>
{{t('endOfGame.scoring.shareCount')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="20" step="1" v-model="skymineShares[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="minerva-corp" class="icon"/>
{{t('endOfGame.scoring.shareCount')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="20" step="1" v-model="minervaShares[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="action" name="gain-coin" class="icon"/>
{{t('endOfGame.scoring.crypCoin')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="999" step="1" v-model="coins[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="action" name="gain-helium" class="icon"/>
{{t('endOfGame.scoring.heliumCoin')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="60" step="1" v-model="heliumCoins[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="action" name="advance-research" class="icon"/>
{{t('endOfGame.scoring.researchCoin')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="60" step="1" v-model="researchCoins[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
{{t('endOfGame.scoring.totalCoin')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<b>{{totalCoins[index-1]}}</b>
</td>
</tr>
<tbody>
<tr>
<th scope="col">
<h3 v-html="t('endOfGame.scoring.scoringTitle')"></h3>
</th>
<th v-for="player in playerCount" :key="player" scope="col">
<PlayerColorIcon :playerColor="playerColors[player-1]" class="playerIcon"/>
<span>{{t('turnPlayer.title', {player:player}, playerCount)}}</span>
</th>
<th v-for="bot in botCount" :key="bot" scope="col">
<PlayerColorIcon :playerColor="playerColors[playerCount+bot-1]" class="playerIcon"/>
<span>{{t('turnBot.title', {bot:bot}, botCount)}}</span>
</th>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="astrogo-enterprises" class="icon"/>
{{t('endOfGame.scoring.shareCount')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="20" step="1" v-model="astrogoShares[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="tawac-industries" class="icon"/>
{{t('endOfGame.scoring.shareCount')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="20" step="1" v-model="tawacShares[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="skymine-resources" class="icon"/>
{{t('endOfGame.scoring.shareCount')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="20" step="1" v-model="skymineShares[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="company" name="minerva-corp" class="icon"/>
{{t('endOfGame.scoring.shareCount')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="20" step="1" v-model="minervaShares[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="action" name="gain-coin" class="icon"/>
{{t('endOfGame.scoring.crypCoin')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="999" step="1" v-model="coins[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="action" name="gain-helium" class="icon"/>
{{t('endOfGame.scoring.heliumCoin')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="60" step="1" v-model="heliumCoins[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
<AppIcon type="action" name="advance-research" class="icon"/>
{{t('endOfGame.scoring.researchCoin')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<input type="number" min="0" max="60" step="1" v-model="researchCoins[index-1]" @focus="inputSelectAll"/>
</td>
</tr>
<tr>
<th scope="row">
{{t('endOfGame.scoring.totalCoin')}}
</th>
<td v-for="index in playerCount+botCount" :key="index">
<b>{{totalCoins[index-1]}}</b>
</td>
</tr>
</tbody>
</table>
</template>

Expand Down
Loading

0 comments on commit 6998131

Please sign in to comment.