Compare commits

..

18 Commits

Author SHA1 Message Date
Spythere 5c840a7525 Merge do wersji 1.4.2
Wersja 1.4.2
2023-06-11 17:17:21 +02:00
Spythere 1fa3d4c3a1 fix: efektywniejsze generowanie składu 2023-06-11 17:12:42 +02:00
Spythere 89ceb6ae7f bump: 1.4.2 2023-06-11 16:38:49 +02:00
Spythere 445b799ff5 fix: generowanie składów 2023-06-11 16:38:38 +02:00
Spythere 8678e9393c Merge do wersji 1.4.1
Wersja 1.4.1
2023-05-25 19:34:36 +02:00
Spythere b9a8bacc78 bump: wersja 1.4.1 2023-05-25 19:30:12 +02:00
Spythere 885cb49f2f feature: kopiowanie nr pociągu po kliknięciu 2023-05-25 19:29:51 +02:00
Spythere 6eb73ba743 feature: routing pomiędzy tabami 2023-05-25 19:27:01 +02:00
Spythere fa610f6ee1 feature: losowanie obszarów konstr. 2023-05-25 19:06:42 +02:00
Spythere eff1256265 fix: kategorie generatora nr 2023-05-25 15:31:25 +02:00
Spythere 97e7dc26cc Wersja 1.4.0
Wersja 1.4.0
2023-04-11 01:20:17 +02:00
Spythere 17c0af5696 bump: wersja 1.4.0 2023-04-11 01:18:07 +02:00
Spythere e4d8ec5e9f realne zestawienia: filtry i responsywność 2023-04-10 17:03:19 +02:00
Spythere 4d48e88641 hotfix 2023-04-07 01:54:36 +02:00
Spythere 27f9403c2d realne zestawienia: zapamiętywanie pozycji scrolla; ostatni wybrany pociąg 2023-04-07 01:34:38 +02:00
Spythere 678c40dd9b modal realnych zestawień: przerobiono wygląd; poprawiono performance 2023-04-06 23:14:55 +02:00
Spythere cc06d5cb0a update: package.json 2023-03-23 22:36:22 +01:00
Spythere 419b01b53f feature update: realne zestawienia 2023-03-23 22:23:15 +01:00
17 changed files with 1638 additions and 1287 deletions
+896 -776
View File
File diff suppressed because it is too large Load Diff
+22 -22
View File
@@ -1,22 +1,22 @@
{ {
"name": "pojazdownik", "name": "pojazdownik",
"version": "1.3.1", "version": "1.4.2",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vue-tsc --noEmit && vite build", "build": "vue-tsc --noEmit && vite build",
"preview": "yarn build && vite preview --port 4174" "preview": "yarn build && vite preview --port 4174"
}, },
"dependencies": { "dependencies": {
"pinia": "^2.0.17", "pinia": "^2.0.17",
"vue": "^3.2.37" "vue": "^3.2.37"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^3.2.0", "@vitejs/plugin-vue": "^4.1.0",
"sass": "^1.55.0", "sass": "^1.59.3",
"typescript": "^4.8.4", "typescript": "^5.0.2",
"vite": "^3.2.1", "vite": "^4.2.1",
"vite-plugin-pwa": "^0.13.3", "vite-plugin-pwa": "^0.14.6",
"vue-tsc": "^1.0.9" "vue-tsc": "^1.2.0"
} }
} }
+18 -4
View File
@@ -7,10 +7,10 @@
<div class="g-card-dimmer" v-if="store.isRealStockListCardOpen" @click="store.isRealStockListCardOpen = false"></div> <div class="g-card-dimmer" v-if="store.isRealStockListCardOpen" @click="store.isRealStockListCardOpen = false"></div>
<keep-alive> <keep-alive>
<transition name="card-appear"> <RealStockCard v-if="store.isRealStockListCardOpen" />
<RealStockCard />
</transition>
</keep-alive> </keep-alive>
<!-- <transition name="card-appear"> -->
<!-- </transition> -->
<div class="app_container"> <div class="app_container">
<main> <main>
@@ -34,7 +34,9 @@
regulaminem symulatora Train Driver 2</a regulaminem symulatora Train Driver 2</a
>! >!
</div> </div>
<div class="text--grayed" style="margin-bottom: 0.25em">Strona jest kompletna dla wersji 2022.2.2 symulatora TD2</div> <div class="text--grayed" style="margin-bottom: 0.25em">
Strona jest kompletna dla wersji 2022.2.2 symulatora TD2
</div>
&copy; &copy;
<a href="https://td2.info.pl/profile/?u=20777" target="_blank">Spythere</a> <a href="https://td2.info.pl/profile/?u=20777" target="_blank">Spythere</a>
{{ new Date().getUTCFullYear() }} | v{{ VERSION }} {{ new Date().getUTCFullYear() }} | v{{ VERSION }}
@@ -75,6 +77,18 @@ export default defineComponent({
).json(); ).json();
this.store.stockData = stockData; this.store.stockData = stockData;
// routing
switch (window.location.pathname) {
case '/numgnr':
this.store.stockSectionMode = 'number-generator';
break;
case '/stockgnr':
this.store.stockSectionMode = 'stock-generator';
break;
default:
break;
}
}, },
}); });
</script> </script>
+267 -128
View File
@@ -1,39 +1,66 @@
<template> <template>
<div class="real-stock-card g-card" v-if="store.isRealStockListCardOpen"> <div class="real-stock-card g-card" @keydown.esc="store.isRealStockListCardOpen = false">
<div class="g-card_bg" @click="store.isRealStockListCardOpen = false"></div> <div class="g-card_bg" @click="store.isRealStockListCardOpen = false"></div>
<div class="card_content"> <div class="card_content">
<div class="top-sticky"> <div class="card_nav">
<button class="btn btn--text exit-btn" @click="store.isRealStockListCardOpen = false">&lt; POWRÓT</button> <div class="top-pane">
<div class="header">
<h1> <h1>
REALNE ZESTAWIENIA ZESTAWIENIA REALNE by <a href="https://td2.info.pl/profile/?u=17708" target="_blank">Railtrains997</a>
<div>by <a href="https://td2.info.pl/profile/?u=17708" target="_blank">Railtrains997</a></div>
</h1> </h1>
<p> <button class="btn exit-btn" @click="store.isRealStockListCardOpen = false">&Cross;</button>
Pełne informacje o zestawieniach dostępne na stronie </div>
<a href="http://bocznica.eu/files/archiwum/2021r_2021-11-04.html" target="_blank">bocznica.eu</a> (stan na
listopad 2021r.)
</p>
<input type="text" tabindex="0" v-model="searchedReadyStockName" placeholder="Szukaj zestawienia..." /> <div class="filters" ref="focus" tabindex="0">
<input list="readyStockDataList" v-model="searchedReadyStockName" placeholder="Szukaj po nazwie" />
<datalist id="readyStockDataList">
<option v-for="stock in store.readyStockList" :value="stock.stockId">
{{ stock.stockId }}
</option>
</datalist>
<input list="readyStockStringList" v-model="searchedReadyStockString" placeholder="Szukaj po pojazdach" />
<datalist id="readyStockStringList">
<option v-for="stock in computedAvailableStockTypes" :value="stock">
{{ stock }}
</option>
</datalist>
<button class="btn" @click="resetStockFilters">RESETUJ</button>
</div> </div>
</div> </div>
<ul v-if="responseStatus == 'loaded'"> <ul class="card_list" ref="list" @scroll="onListScroll">
<li <li
v-for="(stock, key) in computedReadyStockList" v-for="rStock in computedReadyStockList"
:key="key" :key="rStock.stockId"
tabindex="0" :data-last-selected="store.chosenRealStockName === rStock.stockId"
@click="choseStock(stock.name, stock.type, stock.number, stock.stockString)"
@keydown.enter="choseStock(stock.name, stock.type, stock.number, stock.stockString)"
> >
<img :src="getIconURL(stock.type)" :alt="stock.type" /> <div class="stock-title" tabindex="0" @click="chooseStock(rStock)" @keydown.enter="chooseStock(rStock)">
<img class="stock-icon" :src="getIconURL(rStock.type)" :alt="rStock.type" />
<b class="text--accent" style="margin-left: 5px"> {{ rStock.name }}</b>
<div>{{ rStock.number }}</div>
</div>
<b class="text--accent"> {{ stock.name }}</b> <div class="stock-thumbnails" ref="thumbnailsRef">
<div>{{ stock.number }}</div> <div class="thumbnail-item" v-for="stockType in rStock.stockString.split(';')">
<div class="thumbnail-container">
<div>{{ stockType }}</div>
<img
:src="`https://rj.td2.info.pl/dist/img/thumbnails/${stockType}.png`"
:title="stockType"
style="opacity: 0"
@error="(e) => onStockItemError(e, stockType)"
@load="e => (e.target as HTMLElement).style.opacity = '1'"
/>
</div>
</div>
</div>
</li> </li>
<div class="bottom" ref="bottom"></div>
</ul> </ul>
</div> </div>
</div> </div>
@@ -41,85 +68,155 @@
<script lang="ts"> <script lang="ts">
import { defineComponent } from 'vue'; import { defineComponent } from 'vue';
import { Vehicle, IReadyStockList } from '../../types';
import { useStore } from '../../store'; import { useStore } from '../../store';
import imageMixin from '../../mixins/imageMixin'; import imageMixin from '../../mixins/imageMixin';
import stockMixin from '../../mixins/stockMixin'; import stockMixin from '../../mixins/stockMixin';
import { IReadyStockItem } from '../../types';
interface ResponseJSONData { interface ResponseJSONData {
[key: string]: string; [key: string]: string;
} }
function getVehicleType(stockType: string) {
if (/^E/.test(stockType)) return 'loco-e';
if (/^S/.test(stockType)) return 'loco-s';
return 'car-passenger';
}
export default defineComponent({ export default defineComponent({
mixins: [imageMixin, stockMixin], mixins: [imageMixin, stockMixin],
setup() {
return {
store: useStore(),
};
},
data: () => ({ data: () => ({
store: useStore(),
responseStatus: 'loading', responseStatus: 'loading',
isMobile: 'ontouchstart' in document.documentElement && navigator.userAgent.match(/Mobi/) ? true : false, isMobile: 'ontouchstart' in document.documentElement && navigator.userAgent.match(/Mobi/) ? true : false,
observer: null as IntersectionObserver | null,
searchedReadyStockName: '', searchedReadyStockName: '',
searchedReadyStockString: '',
visibleIndexesTo: 0,
lastSelectedStockId: null as string | null,
scrollTop: 0,
}), }),
async mounted() {
this.mountObserver();
this.fetchStockListData();
},
activated() {
(this.$refs['focus'] as HTMLElement).focus();
(this.$refs['list'] as HTMLElement).scrollTo({
top: this.scrollTop,
behavior: 'auto',
});
},
computed: { computed: {
computedReadyStockList() { computedReadyStockList() {
if (this.searchedReadyStockName == null) return this.store.readyStockList; if (this.searchedReadyStockName == null) return this.store.readyStockList;
let filtered: IReadyStockList = {}; return this.store.readyStockList
.filter(
(rs) =>
rs.stockId.toLocaleLowerCase().includes(this.searchedReadyStockName.toLocaleLowerCase()) &&
rs.stockString.toLocaleLowerCase().includes(this.searchedReadyStockString.toLocaleLowerCase())
)
.filter((_, i) => i <= this.visibleIndexesTo);
},
for (let key in this.store.readyStockList) { computedAvailableStockTypes() {
if (key.toLocaleLowerCase().includes(this.searchedReadyStockName.toLocaleLowerCase())) return this.store.readyStockList
filtered[key] = this.store.readyStockList[key]; .reduce((acc, rs) => {
rs.stockString.split(';').forEach((s) => {
if (!acc.includes(s)) acc.push(s);
});
return acc;
}, [] as string[])
.sort((a, b) => (a > b ? 1 : -1));
},
},
watch: {
computedReadyStockList(curr, prev) {
if (curr.length < prev.length) {
this.visibleIndexesTo = 20;
(this.$refs['list'] as HTMLElement).scrollTo({
top: 0,
});
} }
return filtered;
}, },
}, },
methods: { methods: {
async fetchStockListData() {
const readyStockJSONData: ResponseJSONData = await (
await fetch(`https://spythere.github.io/api/td2/data/readyStock.json?t=${Math.floor(Date.now() / 60000)}`)
).json();
if (!readyStockJSONData) {
this.responseStatus = 'error';
return;
}
for (let stockKey in readyStockJSONData) {
const [type, number, ...name] = stockKey.split(' ');
const obj = {
number: number.replace(/_/g, '/'),
name: name.join(' '),
stockString: readyStockJSONData[stockKey],
type,
};
this.store.readyStockList.push({
...obj,
stockId: `${obj.type} ${obj.number} ${obj.name}`,
});
}
this.responseStatus = 'loaded';
},
mountObserver() {
this.observer = new IntersectionObserver((entries) => {
if (entries[0].intersectionRatio > 0) this.visibleIndexesTo += 20;
});
this.observer.observe(this.$refs['bottom'] as HTMLElement);
},
getImageUrl(name: string) { getImageUrl(name: string) {
return new URL(`./dir/${name}.png`, import.meta.url).href; return new URL(`./dir/${name}.png`, import.meta.url).href;
}, },
choseStock(name: string, type: string, number: string, stockString: string) { resetStockFilters() {
this.loadStockFromString(stockString); this.searchedReadyStockName = '';
this.searchedReadyStockString = '';
},
chooseStock(stockItem: IReadyStockItem) {
this.loadStockFromString(stockItem.stockString);
this.lastSelectedStockId = stockItem.stockId;
this.store.isRealStockListCardOpen = false; this.store.isRealStockListCardOpen = false;
}, },
},
async mounted() { onStockItemError(e: Event, stockType: string) {
const readyStockJSONData: ResponseJSONData = await ( const imageEl = e.target as HTMLImageElement;
await fetch(`https://spythere.github.io/api/td2/data/readyStock.json?t=${Math.floor(Date.now() / 60000)}`) imageEl.src = `images/${getVehicleType(stockType)}-unknown.png`;
).json(); imageEl.style.opacity = '1';
},
if (!readyStockJSONData) { onListScroll(e: Event) {
this.responseStatus = 'error'; const listElement = e.target as HTMLElement;
return; const scrollTop = listElement.scrollTop;
}
for (let stockKey in readyStockJSONData) { this.scrollTop = scrollTop;
const splittedKey = stockKey.split(' '); },
let name = '';
for (let i = 2; i < splittedKey.length; i++) {
name += ' ' + splittedKey[i];
}
this.store.readyStockList[stockKey] = {
type: splittedKey[0],
number: splittedKey[1].replace(/_/g, '/'),
name,
stockString: readyStockJSONData[stockKey],
};
}
this.responseStatus = 'loaded';
}, },
}); });
</script> </script>
@@ -129,106 +226,148 @@ export default defineComponent({
.exit-btn { .exit-btn {
font-size: 1.2em; font-size: 1.2em;
margin: 0.5em 0; margin: 0.25em 0;
} }
input { .btn {
width: 100%; background-color: #444;
max-width: 250px;
&::placeholder {
font-size: 0.9em;
text-align: center;
}
} }
.card_content { .card_content {
display: grid;
grid-template-rows: auto 1fr auto;
gap: 0.5em;
background-color: #1c1c1c; background-color: #1c1c1c;
border-radius: 1em; border-radius: 1em;
height: 85vh; height: 95vh;
max-width: 1000px; max-width: 1000px;
width: 90vw; width: 90vw;
padding: 0 1em; padding: 0 1em;
overflow-y: auto;
z-index: 100; z-index: 100;
.top-sticky { @media screen and (max-width: $breakpointSm) {
position: sticky; height: 80vh;
top: 0; }
background: #1c1c1c; }
.top-pane {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.5em;
h1 {
color: #aaa;
}
}
.top-sticky {
position: sticky;
top: 0;
background: #1c1c1c;
}
.filters {
display: flex;
gap: 0.5em;
padding: 0.5em 0;
input {
width: 35%;
} }
.header { @media screen and (max-width: $breakpointSm) {
padding-bottom: 1.5em; flex-wrap: wrap;
padding-top: 0.5em;
text-align: center; input {
font-size: 1.3em; width: 100%;
h1 {
line-height: 0.9em;
margin: 0.5em 0;
div {
font-size: 0.65em;
color: #ccc;
}
} }
p { .btn {
margin: 1em 0; width: 100%;
color: #999;
font-size: 0.95em;
} }
} }
}
ul { ul {
display: flex;
flex-direction: column;
gap: 0.5em;
overflow: auto;
li {
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr); grid-template-columns: 1fr 2fr;
gap: 1em;
@media screen and (max-width: 700px) {
grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 550px) {
grid-template-columns: repeat(2, 1fr);
}
@media screen and (max-width: 400px) {
grid-template-columns: repeat(1, 1fr);
}
margin-bottom: 1em;
}
ul li {
padding: 0.5em;
cursor: pointer;
background: #2b2b2b; background: #2b2b2b;
gap: 1rem;
padding: 0.1em;
img { &[data-last-selected='true'] .stock-title {
height: 0.85em; border: 1px solid $accentColor;
} }
span { .stock-title {
color: #999; cursor: pointer;
font-weight: bold; padding: 0.5em;
}
.stock-icon {
height: 0.85em;
} }
&:hover { &:hover {
background: #222; background: #222;
} }
&:focus { @media screen and (max-width: $breakpointSm) {
outline: 1px solid white; grid-template-columns: 1fr;
// grid-template-rows: 1fr 1fr;
} }
} }
} }
.stock-thumbnails {
display: flex;
align-items: flex-end;
width: 100%;
overflow: auto;
padding: 0.5em;
}
.thumbnail-item {
display: flex;
align-items: flex-end;
justify-content: center;
height: 100%;
div {
font-size: 0.9em;
text-align: center;
}
img {
max-width: 250px;
max-height: 50px;
}
& > .thumbnail-container {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
}
.bottom {
padding: 1em;
}
</style> </style>
+10 -2
View File
@@ -1,5 +1,5 @@
<template> <template>
<section class="logo-section"> <section class="logo-section" @click="navigate">
<img src="/images/logo.svg" alt="logo pojazdownik" /> <img src="/images/logo.svg" alt="logo pojazdownik" />
</section> </section>
</template> </template>
@@ -9,6 +9,12 @@ export default {
setup() { setup() {
return {}; return {};
}, },
methods: {
navigate() {
window.location.pathname = '';
},
},
}; };
</script> </script>
@@ -21,11 +27,13 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
cursor: pointer;
} }
img { img {
max-width: 25em; max-width: 25em;
width: 100%; width: 100%;
} }
</style> </style>
+53 -18
View File
@@ -6,31 +6,40 @@
<div class="tab_content"> <div class="tab_content">
<div class="options"> <div class="options">
<select v-model="beginRegionName" @change="randomizeTrainNumber"> <select v-model="beginRegionName" @change="randomizeTrainNumber()">
<option :value="null" disabled>Początkowy obszar konstrukcyjny</option> <option :value="null" disabled>Początkowy obszar konstrukcyjny</option>
<option v-for="(_, name) in genData.regionNumbers" :value="name">{{ name }}</option> <option v-for="(_, name) in genData.regionNumbers" :value="name">{{ name }}</option>
</select> </select>
<select v-model="endRegionName" @change="randomizeTrainNumber"> <select v-model="endRegionName" @change="randomizeTrainNumber()">
<option :value="null" disabled>Końcowy obszar konstrukcyjny</option> <option :value="null" disabled>Końcowy obszar konstrukcyjny</option>
<option v-for="(_, name) in genData.regionNumbers" :value="name">{{ name }}</option> <option v-for="(_, name) in genData.regionNumbers" :value="name">{{ name }}</option>
</select> </select>
<select v-model="categoryRules" @change="randomizeTrainNumber"> <select v-model="categoryRules" @change="randomizeTrainNumber()">
<option :value="null" disabled>Kategoria pociągu</option> <option :value="null" disabled>Kategoria pociągu</option>
<option v-for="(rules, category) in genData.categories" :value="rules">{{ category }}</option> <option v-for="(rules, category) in genData.categories" :value="rules">{{ category }}</option>
</select> </select>
</div> </div>
<div class="generated-number"> <div class="generated-number" @click="copyNumber">
<span v-if="trainNumber">Wygenerowany numer pociągu: <b class="text--accent">{{ trainNumber }}</b></span> <span v-if="trainNumber">
<span v-else>Wybierz obszary konstrukcyjne i kategorię!</span> Wygenerowany numer pociągu: <b class="text--accent">{{ trainNumber }}</b>
</span>
<span v-else>Wybierz kategorię oraz obszary konstrukcyjne (opcjonalnie)</span>
</div> </div>
<hr> <div class="tab_links">
<a href="https://wiki.td2.info.pl/index.php?title=Zasady_numeracji_poci%C4%85g%C3%B3w" target="_blank">
> Szczegółowe zasady numeracji (wikipedia TD2)
</a>
</div>
<hr />
<div class="tab_actions"> <div class="tab_actions">
<button class="btn" @click="randomizeTrainNumber">PRZELOSUJ</button> <button class="btn" @click="randomizeTrainNumber(true)">LOSUJ OBSZARY</button>
<button class="btn" @click="randomizeTrainNumber(false)">LOSUJ NUMER</button>
</div> </div>
</div> </div>
</div> </div>
@@ -49,22 +58,43 @@ const categoryRules = ref(null) as Ref<string | null>;
const trainNumber = ref(null) as Ref<string | null>; const trainNumber = ref(null) as Ref<string | null>;
const randomizeTrainNumber = () => { const copyNumber = () => {
if (beginRegionName.value == null || endRegionName.value == null || categoryRules.value == null) return ''; if (trainNumber.value) {
navigator.clipboard.writeText(trainNumber.value);
alert('Skopiowano numer do schowka!');
}
};
const randomizeTrainNumber = (randomizeRegions = false) => {
if (categoryRules.value == null) return;
const regionKeys = Object.keys(genData.regionNumbers);
if (beginRegionName.value == null || randomizeRegions)
beginRegionName.value = regionKeys[(regionKeys.length * Math.random()) << 0] as RegionName;
if (endRegionName.value == null || randomizeRegions)
endRegionName.value = regionKeys[(regionKeys.length * Math.random()) << 0] as RegionName;
let number = ''; let number = '';
if (beginRegionName.value == endRegionName.value) { if (beginRegionName.value == endRegionName.value) {
const sameRegionsNumbers = genData.sameRegions[beginRegionName.value]; const sameRegionsNumbers = genData.sameRegions[beginRegionName.value!];
const randRegionNumber = sameRegionsNumbers[Math.floor(Math.random() * sameRegionsNumbers.length)]; const randRegionNumber = sameRegionsNumbers[Math.floor(Math.random() * sameRegionsNumbers.length)];
number += randRegionNumber.toString(); number += randRegionNumber.toString();
} else { } else {
const beginRegionNumber = genData.regionNumbers[beginRegionName.value]; const beginRegionNumber = genData.regionNumbers[beginRegionName.value!];
const endRegionNumber = genData.regionNumbers[endRegionName.value]; const endRegionNumber = genData.regionNumbers[endRegionName.value!];
number += `${beginRegionNumber}${endRegionNumber}`; number += `${beginRegionNumber}${endRegionNumber}`;
} }
// Do not roll the rest of number again if only randomize regions
if (randomizeRegions) {
trainNumber.value = number + trainNumber.value?.substring(2);
return;
}
const rulesArray = categoryRules.value.split(';').map((r) => ({ const rulesArray = categoryRules.value.split(';').map((r) => ({
index: r.split(':')[0], index: r.split(':')[0],
rule: r.split(':')[1], rule: r.split(':')[1],
@@ -104,6 +134,9 @@ const randomizeTrainNumber = () => {
.generated-number { .generated-number {
font-size: 1.3em; font-size: 1.3em;
font-weight: bold; font-weight: bold;
text-align: center;
cursor: pointer;
margin: 0.5em 0; margin: 0.5em 0;
padding: 0.5em; padding: 0.5em;
@@ -111,11 +144,13 @@ const randomizeTrainNumber = () => {
} }
.tab_actions { .tab_actions {
margin-top: 0.5em; grid-template-columns: 1fr 1fr;
margin: 0.5em 0;
}
button { .tab_links {
grid-column: 3; display: flex;
} justify-content: flex-end;
} }
@media screen and (max-width: $breakpointMd) { @media screen and (max-width: $breakpointMd) {
+32 -11
View File
@@ -99,7 +99,7 @@ import { defineComponent } from 'vue';
import { useStore } from '../../store'; import { useStore } from '../../store';
import stockMixin from '../../mixins/stockMixin'; import stockMixin from '../../mixins/stockMixin';
import { ICargo, ICarWagon } from '../../types'; import { ICargo, ICarWagon, IStock } from '../../types';
import warningsMixin from '../../mixins/warningsMixin'; import warningsMixin from '../../mixins/warningsMixin';
export default defineComponent({ export default defineComponent({
@@ -180,21 +180,42 @@ export default defineComponent({
return acc; return acc;
}, [] as { constructionType: string; carPool: { carWagon: ICarWagon; cargo?: ICargo }[] }[]); }, [] as { constructionType: string; carPool: { carWagon: ICarWagon; cargo?: ICargo }[] }[]);
const headingLoco = this.store.stockList[0]?.isLoco ? this.store.stockList[0] : undefined; let bestGeneration: { stockList: IStock[]; value: number } = { stockList: [], value: 0 };
this.store.stockList.length = headingLoco ? 1 : 0; for (let i = 0; i < 10; i++) {
const maxMass = this.store.acceptableMass || this.maxMass; const headingLoco = this.store.stockList[0]?.isLoco ? this.store.stockList[0] : undefined;
this.store.stockList.length = headingLoco ? 1 : 0;
new Array(this.maxCarCount).fill(0).forEach(() => { const maxMass =
const randomStockType = generatedChosenStockList[~~(Math.random() * generatedChosenStockList.length)]; this.store.acceptableMass > 0 ? Math.min(this.store.acceptableMass, this.maxMass) : this.maxMass;
const { carWagon, cargo } = randomStockType.carPool[~~(Math.random() * randomStockType.carPool.length)];
if (this.store.totalMass + (cargo?.totalMass || carWagon.mass) > maxMass) return; let exceeded = false;
if (this.store.totalLength + carWagon.length > this.maxLength) return;
this.addCarWagon(carWagon, cargo); while (!exceeded) {
}); const randomStockType = generatedChosenStockList[~~(Math.random() * generatedChosenStockList.length)];
const { carWagon, cargo } = randomStockType.carPool[~~(Math.random() * randomStockType.carPool.length)];
if (
this.store.totalMass + (cargo?.totalMass || carWagon.mass) > maxMass ||
this.store.totalLength + carWagon.length > this.maxLength ||
this.store.stockList.length > this.maxCarCount
) {
exceeded = true;
break;
}
this.addCarWagon(carWagon, cargo);
}
const currentGenerationValue = this.store.totalLength + this.store.totalMass + this.store.stockList.length;
if (bestGeneration.value < currentGenerationValue) {
bestGeneration.stockList = this.store.stockList;
bestGeneration.value = currentGenerationValue;
}
}
this.store.stockList = bestGeneration.stockList;
this.store.stockSectionMode = 'stock-list'; this.store.stockSectionMode = 'stock-list';
}, },
+3 -6
View File
@@ -94,7 +94,7 @@
<div class="warning" v-if="tooManyLocomotives">Ten skład posiada za dużo pojazdów trakcyjnych!</div> <div class="warning" v-if="tooManyLocomotives">Ten skład posiada za dużo pojazdów trakcyjnych!</div>
</div> </div>
<StockThumbnails :onListItemClick="onListItemClick" :onStockImageError="stockImageError" /> <StockThumbnails :onListItemClick="onListItemClick" />
<!-- Stock list --> <!-- Stock list -->
<ul ref="stock_list"> <ul ref="stock_list">
@@ -162,7 +162,8 @@ export default defineComponent({
setup() { setup() {
const store = useStore(); const store = useStore();
return { return {
store, store,
}; };
@@ -202,10 +203,6 @@ export default defineComponent({
return this.tooManyLocomotives || this.trainTooHeavy || this.trainTooLong || this.locoNotSuitable; return this.tooManyLocomotives || this.trainTooHeavy || this.trainTooLong || this.locoNotSuitable;
}, },
stockImageError(e: Event, stock: IStock): void {
(e.target as HTMLImageElement).src = `images/${stock.useType}-unknown.png`;
},
copyToClipboard() { copyToClipboard() {
// if (this.stockHasWarnings()) { // if (this.stockHasWarnings()) {
// alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!'); // alert('Jazda tym pociągiem jest niezgodna z regulaminem symulatora! Zmień parametry zestawienia!');
+2 -2
View File
@@ -33,7 +33,7 @@ import { useStore } from '../../store';
import { IStock } from '../../types'; import { IStock } from '../../types';
const store = useStore(); const store = useStore();
const emit = defineEmits(['listItemClick', 'stockImageError']); const emit = defineEmits(['listItemClick']);
const thumbnailsRef = ref() as Ref<HTMLElement>; const thumbnailsRef = ref() as Ref<HTMLElement>;
const draggedIndex = ref(-1); const draggedIndex = ref(-1);
@@ -43,7 +43,7 @@ const onListItemClick = (index: number) => {
}; };
const stockImageError = (e: Event, stock: IStock) => { const stockImageError = (e: Event, stock: IStock) => {
emit('stockImageError', e, stock); (e.target as HTMLImageElement).src = `images/${stock.useType}-unknown.png`;
}; };
watch( watch(
+1 -2
View File
@@ -27,8 +27,7 @@
}, },
"categories": { "categories": {
"ekspres krajowy (EI)": "2:00-99:2", "ekspres krajowy (EI)": "2:00-99:2",
"międzywojewódzki pośpieszny (MP)": "2:050-169:3", "(między)wojewódzki pośpieszny (MP/RP)": "2:050-169:3",
"wojewódzki pośpieszny (RP)": "2:050-169:3",
"wojewódzki osobowy (RO)": "2:200-999:3", "wojewódzki osobowy (RO)": "2:200-999:3",
"próżny \"służbowy\" (PW)": "2:6;3:0-899:3", "próżny \"służbowy\" (PW)": "2:6;3:0-899:3",
"towarowy do przewozów masowych (TM)": "2:4;3:0-899:3", "towarowy do przewozów masowych (TM)": "2:4;3:0-899:3",
-16
View File
@@ -43,13 +43,6 @@ export default defineComponent({
}, },
addLocomotive(loco: ILocomotive) { addLocomotive(loco: ILocomotive) {
// const previousStock =
// this.store.stockList.length > 0 ? this.store.stockList[this.store.stockList.length - 1] : null;
// if (previousStock && previousStock.type == loco.type) {
// this.store.stockList[this.store.stockList.length - 1].count++;
// return;
// }
const stockObj = this.getStockObject(loco); const stockObj = this.getStockObject(loco);
if (this.store.stockList.length > 0 && !this.store.stockList[0].isLoco) this.store.stockList.unshift(stockObj); if (this.store.stockList.length > 0 && !this.store.stockList[0].isLoco) this.store.stockList.unshift(stockObj);
@@ -57,15 +50,6 @@ export default defineComponent({
}, },
addCarWagon(car: ICarWagon, cargo?: ICargo) { addCarWagon(car: ICarWagon, cargo?: ICargo) {
// const previousStock =
// this.store.stockList.length > 0 ? this.store.stockList[this.store.stockList.length - 1] : null;
// if (previousStock && previousStock.type == car.type && previousStock.cargo?.id == cargo?.id) {
// this.store.stockList[this.store.stockList.length - 1].count++;
// return;
// }
const stockObj = this.getStockObject(car, cargo); const stockObj = this.getStockObject(car, cargo);
this.store.stockList.push(stockObj); this.store.stockList.push(stockObj);
+1 -1
View File
@@ -29,7 +29,7 @@ export const useStore = defineStore({
stockList: [], stockList: [],
cargoOptions: [], cargoOptions: [],
readyStockList: {}, readyStockList: [],
swapVehicles: false, swapVehicles: false,
+3 -2
View File
@@ -48,6 +48,8 @@ a {
color: white; color: white;
text-decoration: none; text-decoration: none;
transition: color 250ms;
&:visited { &:visited {
color: white; color: white;
} }
@@ -176,7 +178,7 @@ ul {
.g-card { .g-card {
position: fixed; position: fixed;
top: 0; top: 1em;
left: 0; left: 0;
width: 100vw; width: 100vw;
@@ -184,7 +186,6 @@ ul {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center;
z-index: 200; z-index: 200;
+7 -7
View File
@@ -15,7 +15,7 @@ export interface IStore {
chosenCarUseType: string; chosenCarUseType: string;
stockList: IStock[]; stockList: IStock[];
readyStockList: IReadyStockList; readyStockList: IReadyStockItem[];
cargoOptions: any[][]; cargoOptions: any[][];
chosenStockListIndex: number; chosenStockListIndex: number;
@@ -109,11 +109,11 @@ export interface IStock {
imgSrc?: string; imgSrc?: string;
} }
export interface IReadyStockList { export interface IReadyStockItem {
[key: string]: { stockString: string; type: string; number: string; name: string }; stockId: string;
stockString: string;
type: string;
number: string;
name: string;
} }
+2 -6
View File
@@ -152,13 +152,9 @@ export function chosenRealStock(state: IStore) {
}, [] as string[]) }, [] as string[])
.join(';'); .join(';');
const realStockObj = Object.values(state.readyStockList).find( const realStockObj = state.readyStockList.find((readyStock) => readyStock.stockString == currentStockString);
(readyStock) => readyStock.stockString == currentStockString
);
state.chosenRealStockName = realStockObj state.chosenRealStockName = realStockObj?.stockId ?? undefined;
? `${realStockObj.type} ${realStockObj.number} ${realStockObj.name}`
: undefined;
return realStockObj; return realStockObj;
} }
+23 -20
View File
@@ -5,33 +5,36 @@ import { VitePWA } from 'vite-plugin-pwa';
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
server: {
port: 2137,
},
plugins: [ plugins: [
vue(), vue(),
VitePWA({ VitePWA({
registerType: 'autoUpdate', registerType: 'autoUpdate',
workbox: { workbox: {
globPatterns: ['**/*.{js,css,html,png,svg,img}'], // globPatterns: ['**/*.{js,css,html,png,svg,img}'],
// runtimeCaching: [
// { runtimeCaching: [
// urlPattern: new RegExp(`^https://spythere.github.io/api\/.*`), {
// handler: 'NetworkFirst', urlPattern: /^https:\/\/rj.td2.info.pl\/dist\/img\/thumbnails\/.*/i,
// options: { handler: 'CacheFirst',
// cacheName: 'github-api-cache', options: {
// expiration: { cacheName: 'swdr-images-cache',
// maxEntries: 2, expiration: {
// maxAgeSeconds: 60 * 60 * 24 * 7, // <== 7 days maxEntries: 50,
// }, maxAgeSeconds: 60 * 60 * 24 * 7, // <== 7 days
// cacheableResponse: { },
// statuses: [0, 200], cacheableResponse: {
// }, statuses: [404],
// }, },
// }, },
// ], },
}, ],
devOptions: {
enabled: true,
}, },
}), }),
], ],
}); });
+298 -264
View File
@@ -909,15 +909,115 @@
"@babel/helper-validator-identifier" "^7.19.1" "@babel/helper-validator-identifier" "^7.19.1"
to-fast-properties "^2.0.0" to-fast-properties "^2.0.0"
"@esbuild/android-arm@0.15.13": "@esbuild/android-arm64@0.17.15":
version "0.15.13" version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.15.13.tgz#ce11237a13ee76d5eae3908e47ba4ddd380af86a" resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.17.15.tgz#893ad71f3920ccb919e1757c387756a9bca2ef42"
integrity sha512-RY2fVI8O0iFUNvZirXaQ1vMvK0xhCcl0gqRj74Z6yEiO1zAUa7hbsdwZM1kzqbxHK7LFyMizipfXT3JME+12Hw== integrity sha512-0kOB6Y7Br3KDVgHeg8PRcvfLkq+AccreK///B4Z6fNZGr/tNHX0z2VywCc7PTeWp+bPvjA5WMvNXltHw5QjAIA==
"@esbuild/linux-loong64@0.15.13": "@esbuild/android-arm@0.17.15":
version "0.15.13" version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.15.13.tgz#64e8825bf0ce769dac94ee39d92ebe6272020dfc" resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.17.15.tgz#143e0d4e4c08c786ea410b9a7739779a9a1315d8"
integrity sha512-+BoyIm4I8uJmH/QDIH0fu7MG0AEx9OXEDXnqptXCwKOlOqZiS4iraH1Nr7/ObLMokW3sOCeBNyD68ATcV9b9Ag== integrity sha512-sRSOVlLawAktpMvDyJIkdLI/c/kdRTOqo8t6ImVxg8yT7LQDUYV5Rp2FKeEosLr6ZCja9UjYAzyRSxGteSJPYg==
"@esbuild/android-x64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.17.15.tgz#d2d12a7676b2589864281b2274355200916540bc"
integrity sha512-MzDqnNajQZ63YkaUWVl9uuhcWyEyh69HGpMIrf+acR4otMkfLJ4sUCxqwbCyPGicE9dVlrysI3lMcDBjGiBBcQ==
"@esbuild/darwin-arm64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.15.tgz#2e88e79f1d327a2a7d9d06397e5232eb0a473d61"
integrity sha512-7siLjBc88Z4+6qkMDxPT2juf2e8SJxmsbNVKFY2ifWCDT72v5YJz9arlvBw5oB4W/e61H1+HDB/jnu8nNg0rLA==
"@esbuild/darwin-x64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.17.15.tgz#9384e64c0be91388c57be6d3a5eaf1c32a99c91d"
integrity sha512-NbImBas2rXwYI52BOKTW342Tm3LTeVlaOQ4QPZ7XuWNKiO226DisFk/RyPk3T0CKZkKMuU69yOvlapJEmax7cg==
"@esbuild/freebsd-arm64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.15.tgz#2ad5a35bc52ebd9ca6b845dbc59ba39647a93c1a"
integrity sha512-Xk9xMDjBVG6CfgoqlVczHAdJnCs0/oeFOspFap5NkYAmRCT2qTn1vJWA2f419iMtsHSLm+O8B6SLV/HlY5cYKg==
"@esbuild/freebsd-x64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.15.tgz#b513a48446f96c75fda5bef470e64d342d4379cd"
integrity sha512-3TWAnnEOdclvb2pnfsTWtdwthPfOz7qAfcwDLcfZyGJwm1SRZIMOeB5FODVhnM93mFSPsHB9b/PmxNNbSnd0RQ==
"@esbuild/linux-arm64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.17.15.tgz#9697b168175bfd41fa9cc4a72dd0d48f24715f31"
integrity sha512-T0MVnYw9KT6b83/SqyznTs/3Jg2ODWrZfNccg11XjDehIved2oQfrX/wVuev9N936BpMRaTR9I1J0tdGgUgpJA==
"@esbuild/linux-arm@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.17.15.tgz#5b22062c54f48cd92fab9ffd993732a52db70cd3"
integrity sha512-MLTgiXWEMAMr8nmS9Gigx43zPRmEfeBfGCwxFQEMgJ5MC53QKajaclW6XDPjwJvhbebv+RzK05TQjvH3/aM4Xw==
"@esbuild/linux-ia32@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.17.15.tgz#eb28a13f9b60b5189fcc9e98e1024f6b657ba54c"
integrity sha512-wp02sHs015T23zsQtU4Cj57WiteiuASHlD7rXjKUyAGYzlOKDAjqK6bk5dMi2QEl/KVOcsjwL36kD+WW7vJt8Q==
"@esbuild/linux-loong64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.17.15.tgz#32454bdfe144cf74b77895a8ad21a15cb81cfbe5"
integrity sha512-k7FsUJjGGSxwnBmMh8d7IbObWu+sF/qbwc+xKZkBe/lTAF16RqxRCnNHA7QTd3oS2AfGBAnHlXL67shV5bBThQ==
"@esbuild/linux-mips64el@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.15.tgz#af12bde0d775a318fad90eb13a0455229a63987c"
integrity sha512-ZLWk6czDdog+Q9kE/Jfbilu24vEe/iW/Sj2d8EVsmiixQ1rM2RKH2n36qfxK4e8tVcaXkvuV3mU5zTZviE+NVQ==
"@esbuild/linux-ppc64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.15.tgz#34c5ed145b2dfc493d3e652abac8bd3baa3865a5"
integrity sha512-mY6dPkIRAiFHRsGfOYZC8Q9rmr8vOBZBme0/j15zFUKM99d4ILY4WpOC7i/LqoY+RE7KaMaSfvY8CqjJtuO4xg==
"@esbuild/linux-riscv64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.17.15.tgz#87bd515e837f2eb004b45f9e6a94dc5b93f22b92"
integrity sha512-EcyUtxffdDtWjjwIH8sKzpDRLcVtqANooMNASO59y+xmqqRYBBM7xVLQhqF7nksIbm2yHABptoioS9RAbVMWVA==
"@esbuild/linux-s390x@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.17.15.tgz#20bf7947197f199ddac2ec412029a414ceae3aa3"
integrity sha512-BuS6Jx/ezxFuHxgsfvz7T4g4YlVrmCmg7UAwboeyNNg0OzNzKsIZXpr3Sb/ZREDXWgt48RO4UQRDBxJN3B9Rbg==
"@esbuild/linux-x64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.17.15.tgz#31b93f9c94c195e852c20cd3d1914a68aa619124"
integrity sha512-JsdS0EgEViwuKsw5tiJQo9UdQdUJYuB+Mf6HxtJSPN35vez1hlrNb1KajvKWF5Sa35j17+rW1ECEO9iNrIXbNg==
"@esbuild/netbsd-x64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.17.15.tgz#8da299b3ac6875836ca8cdc1925826498069ac65"
integrity sha512-R6fKjtUysYGym6uXf6qyNephVUQAGtf3n2RCsOST/neIwPqRWcnc3ogcielOd6pT+J0RDR1RGcy0ZY7d3uHVLA==
"@esbuild/openbsd-x64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.17.15.tgz#04a1ec3d4e919714dba68dcf09eeb1228ad0d20c"
integrity sha512-mVD4PGc26b8PI60QaPUltYKeSX0wxuy0AltC+WCTFwvKCq2+OgLP4+fFd+hZXzO2xW1HPKcytZBdjqL6FQFa7w==
"@esbuild/sunos-x64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.17.15.tgz#6694ebe4e16e5cd7dab6505ff7c28f9c1c695ce5"
integrity sha512-U6tYPovOkw3459t2CBwGcFYfFRjivcJJc1WC8Q3funIwX8x4fP+R6xL/QuTPNGOblbq/EUDxj9GU+dWKX0oWlQ==
"@esbuild/win32-arm64@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.17.15.tgz#1f95b2564193c8d1fee8f8129a0609728171d500"
integrity sha512-W+Z5F++wgKAleDABemiyXVnzXgvRFs+GVKThSI+mGgleLWluv0D7Diz4oQpgdpNzh4i2nNDzQtWbjJiqutRp6Q==
"@esbuild/win32-ia32@0.17.15":
version "0.17.15"
resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.17.15.tgz#c362b88b3df21916ed7bcf75c6d09c6bf3ae354a"
integrity sha512-Muz/+uGgheShKGqSVS1KsHtCyEzcdOn/W/Xbh6H91Etm+wiIfwZaBn1W58MeGtfI8WA961YMHFYTthBdQs4t+w==
"@esbuild/win32-x64@0.17.15":
version "0.17.15"
resolved "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.15.tgz"
integrity sha512-DjDa9ywLUUmjhV2Y9wUTIF+1XsmuFGvZoCmOWkli1XcNAh5t25cc7fgsCx4Zi/Uurep3TTLyDiKATgGEg61pkA==
"@jridgewell/gen-mapping@^0.1.0": "@jridgewell/gen-mapping@^0.1.0":
version "0.1.1" version "0.1.1"
@@ -954,7 +1054,7 @@
"@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/gen-mapping" "^0.3.0"
"@jridgewell/trace-mapping" "^0.3.9" "@jridgewell/trace-mapping" "^0.3.9"
"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": "@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13":
version "1.4.14" version "1.4.14"
resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz" resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz"
integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==
@@ -1016,13 +1116,13 @@
"@rollup/pluginutils" "^3.1.0" "@rollup/pluginutils" "^3.1.0"
magic-string "^0.25.7" magic-string "^0.25.7"
"@rollup/plugin-replace@^4.0.0": "@rollup/plugin-replace@^5.0.1":
version "4.0.0" version "5.0.2"
resolved "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-4.0.0.tgz" resolved "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-5.0.2.tgz"
integrity sha512-+rumQFiaNac9y64OHtkHGmdjm7us9bo1PlbgQfdihQtuNxzjpaB064HbRnewUOggLQxVCCyINfStkgmBeQpv1g== integrity sha512-M9YXNekv/C/iHHK+cvORzfRYfPbq0RDD8r0G+bMiTXjNGKulPnCT9O3Ss46WfhI6ZOCgApOP7xAdmCQJ+U2LAA==
dependencies: dependencies:
"@rollup/pluginutils" "^3.1.0" "@rollup/pluginutils" "^5.0.1"
magic-string "^0.25.7" magic-string "^0.27.0"
"@rollup/pluginutils@^3.1.0": "@rollup/pluginutils@^3.1.0":
version "3.1.0" version "3.1.0"
@@ -1033,6 +1133,15 @@
estree-walker "^1.0.1" estree-walker "^1.0.1"
picomatch "^2.2.2" picomatch "^2.2.2"
"@rollup/pluginutils@^5.0.1":
version "5.0.2"
resolved "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.2.tgz"
integrity sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==
dependencies:
"@types/estree" "^1.0.0"
estree-walker "^2.0.2"
picomatch "^2.3.1"
"@surma/rollup-plugin-off-main-thread@^2.2.3": "@surma/rollup-plugin-off-main-thread@^2.2.3":
version "2.2.3" version "2.2.3"
resolved "https://registry.npmjs.org/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-2.2.3.tgz" resolved "https://registry.npmjs.org/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-2.2.3.tgz"
@@ -1048,6 +1157,11 @@
resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz" resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz"
integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
"@types/estree@^1.0.0":
version "1.0.0"
resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz"
integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==
"@types/node@*": "@types/node@*":
version "18.11.9" version "18.11.9"
resolved "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz" resolved "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz"
@@ -1065,55 +1179,54 @@
resolved "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.2.tgz" resolved "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.2.tgz"
integrity sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg== integrity sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==
"@vitejs/plugin-vue@^3.2.0": "@vitejs/plugin-vue@^4.1.0":
version "3.2.0" version "4.1.0"
resolved "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-3.2.0.tgz" resolved "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.1.0.tgz"
integrity sha512-E0tnaL4fr+qkdCNxJ+Xd0yM31UwMkQje76fsDVBBUCoGOUPexu2VDUYHL8P4CwV+zMvWw6nlRw19OnRKmYAJpw== integrity sha512-++9JOAFdcXI3lyer9UKUV4rfoQ3T1RN8yDqoCLar86s0xQct5yblxAE+yWgRnU5/0FOlVCpTZpYSBV/bGWrSrQ==
"@volar/language-core@1.0.9": "@volar/language-core@1.3.0-alpha.0":
version "1.0.9" version "1.3.0-alpha.0"
resolved "https://registry.npmjs.org/@volar/language-core/-/language-core-1.0.9.tgz" resolved "https://registry.npmjs.org/@volar/language-core/-/language-core-1.3.0-alpha.0.tgz"
integrity sha512-5Fty3slLet6svXiJw2YxhYeo6c7wFdtILrql5bZymYLM+HbiZtJbryW1YnUEKAP7MO9Mbeh+TNH4Z0HFxHgIqw== integrity sha512-W3uMzecHPcbwddPu4SJpUcPakRBK/y/BP+U0U6NiPpUX1tONLC4yCawt+QBJqtgJ+sfD6ztf5PyvPL3hQRqfOA==
dependencies: dependencies:
"@volar/source-map" "1.0.9" "@volar/source-map" "1.3.0-alpha.0"
"@vue/reactivity" "^3.2.40"
muggle-string "^0.1.0"
"@volar/source-map@1.0.9": "@volar/source-map@1.3.0-alpha.0":
version "1.0.9" version "1.3.0-alpha.0"
resolved "https://registry.npmjs.org/@volar/source-map/-/source-map-1.0.9.tgz" resolved "https://registry.npmjs.org/@volar/source-map/-/source-map-1.3.0-alpha.0.tgz"
integrity sha512-fazB/vy5ZEJ3yKx4fabJyGNI3CBkdLkfEIRVu6+1P3VixK0Mn+eqyUIkLBrzGYaeFM3GybhCLCvsVdNz0Fu/CQ== integrity sha512-jSdizxWFvDTvkPYZnO6ew3sBZUnS0abKCbuopkc0JrIlFbznWC/fPH3iPFIMS8/IIkRxq1Jh9VVG60SmtsdaMQ==
dependencies: dependencies:
muggle-string "^0.1.0" muggle-string "^0.2.2"
"@volar/typescript@1.0.9": "@volar/typescript@1.3.0-alpha.0":
version "1.0.9" version "1.3.0-alpha.0"
resolved "https://registry.npmjs.org/@volar/typescript/-/typescript-1.0.9.tgz" resolved "https://registry.npmjs.org/@volar/typescript/-/typescript-1.3.0-alpha.0.tgz"
integrity sha512-dVziu+ShQUWuMukM6bvK2v2O446/gG6l1XkTh2vfkccw1IzjfbiP1TWQoNo1ipTfZOtu5YJGYAx+o5HNrGXWfQ== integrity sha512-5UItyW2cdH2mBLu4RrECRNJRgtvvzKrSCn2y3v/D61QwIDkGx4aeil6x8RFuUL5TFtV6QvVHXnsOHxNgd+sCow==
dependencies: dependencies:
"@volar/language-core" "1.0.9" "@volar/language-core" "1.3.0-alpha.0"
"@volar/vue-language-core@1.0.9": "@volar/vue-language-core@1.2.0":
version "1.0.9" version "1.2.0"
resolved "https://registry.npmjs.org/@volar/vue-language-core/-/vue-language-core-1.0.9.tgz" resolved "https://registry.npmjs.org/@volar/vue-language-core/-/vue-language-core-1.2.0.tgz"
integrity sha512-tofNoR8ShPFenHT1YVMuvoXtXWwoQE+fiXVqSmW0dSKZqEDjWQ3YeXSd0a6aqyKaIbvR7kWWGp34WbpQlwf9Ww== integrity sha512-w7yEiaITh2WzKe6u8ZdeLKCUz43wdmY/OqAmsB/PGDvvhTcVhCJ6f0W/RprZL1IhqH8wALoWiwEh/Wer7ZviMQ==
dependencies: dependencies:
"@volar/language-core" "1.0.9" "@volar/language-core" "1.3.0-alpha.0"
"@volar/source-map" "1.0.9" "@volar/source-map" "1.3.0-alpha.0"
"@vue/compiler-dom" "^3.2.40" "@vue/compiler-dom" "^3.2.47"
"@vue/compiler-sfc" "^3.2.40" "@vue/compiler-sfc" "^3.2.47"
"@vue/reactivity" "^3.2.40" "@vue/reactivity" "^3.2.47"
"@vue/shared" "^3.2.40" "@vue/shared" "^3.2.47"
minimatch "^5.1.0" minimatch "^6.1.6"
vue-template-compiler "^2.7.10" muggle-string "^0.2.2"
vue-template-compiler "^2.7.14"
"@volar/vue-typescript@1.0.9": "@volar/vue-typescript@1.2.0":
version "1.0.9" version "1.2.0"
resolved "https://registry.npmjs.org/@volar/vue-typescript/-/vue-typescript-1.0.9.tgz" resolved "https://registry.npmjs.org/@volar/vue-typescript/-/vue-typescript-1.2.0.tgz"
integrity sha512-ZLe4y9YNbviACa7uAMCilzxA76gbbSlKfjspXBzk6fCobd8QCIig+VyDYcjANIlm2HhgSCX8jYTzhCKlegh4mw== integrity sha512-zjmRi9y3J1EkG+pfuHp8IbHmibihrKK485cfzsHjiuvJMGrpkWvlO5WVEk8oslMxxeGC5XwBFE9AOlvh378EPA==
dependencies: dependencies:
"@volar/typescript" "1.0.9" "@volar/typescript" "1.3.0-alpha.0"
"@volar/vue-language-core" "1.0.9" "@volar/vue-language-core" "1.2.0"
"@vue/compiler-core@3.2.37": "@vue/compiler-core@3.2.37":
version "3.2.37" version "3.2.37"
@@ -1125,13 +1238,13 @@
estree-walker "^2.0.2" estree-walker "^2.0.2"
source-map "^0.6.1" source-map "^0.6.1"
"@vue/compiler-core@3.2.41": "@vue/compiler-core@3.2.47":
version "3.2.41" version "3.2.47"
resolved "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.41.tgz" resolved "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.47.tgz"
integrity sha512-oA4mH6SA78DT+96/nsi4p9DX97PHcNROxs51lYk7gb9Z4BPKQ3Mh+BLn6CQZBw857Iuhu28BfMSRHAlPvD4vlw== integrity sha512-p4D7FDnQb7+YJmO2iPEv0SQNeNzcbHdGByJDsT4lynf63AFkOTFN07HsiRSvjGo0QrxR/o3d0hUyNCUnBU2Tig==
dependencies: dependencies:
"@babel/parser" "^7.16.4" "@babel/parser" "^7.16.4"
"@vue/shared" "3.2.41" "@vue/shared" "3.2.47"
estree-walker "^2.0.2" estree-walker "^2.0.2"
source-map "^0.6.1" source-map "^0.6.1"
@@ -1143,13 +1256,13 @@
"@vue/compiler-core" "3.2.37" "@vue/compiler-core" "3.2.37"
"@vue/shared" "3.2.37" "@vue/shared" "3.2.37"
"@vue/compiler-dom@3.2.41", "@vue/compiler-dom@^3.2.40": "@vue/compiler-dom@3.2.47", "@vue/compiler-dom@^3.2.47":
version "3.2.41" version "3.2.47"
resolved "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.41.tgz" resolved "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.47.tgz"
integrity sha512-xe5TbbIsonjENxJsYRbDJvthzqxLNk+tb3d/c47zgREDa/PCp6/Y4gC/skM4H6PIuX5DAxm7fFJdbjjUH2QTMw== integrity sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ==
dependencies: dependencies:
"@vue/compiler-core" "3.2.41" "@vue/compiler-core" "3.2.47"
"@vue/shared" "3.2.41" "@vue/shared" "3.2.47"
"@vue/compiler-sfc@3.2.37": "@vue/compiler-sfc@3.2.37":
version "3.2.37" version "3.2.37"
@@ -1167,17 +1280,17 @@
postcss "^8.1.10" postcss "^8.1.10"
source-map "^0.6.1" source-map "^0.6.1"
"@vue/compiler-sfc@^3.2.40": "@vue/compiler-sfc@^3.2.47":
version "3.2.41" version "3.2.47"
resolved "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.41.tgz" resolved "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.47.tgz"
integrity sha512-+1P2m5kxOeaxVmJNXnBskAn3BenbTmbxBxWOtBq3mQTCokIreuMULFantBUclP0+KnzNCMOvcnKinqQZmiOF8w== integrity sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ==
dependencies: dependencies:
"@babel/parser" "^7.16.4" "@babel/parser" "^7.16.4"
"@vue/compiler-core" "3.2.41" "@vue/compiler-core" "3.2.47"
"@vue/compiler-dom" "3.2.41" "@vue/compiler-dom" "3.2.47"
"@vue/compiler-ssr" "3.2.41" "@vue/compiler-ssr" "3.2.47"
"@vue/reactivity-transform" "3.2.41" "@vue/reactivity-transform" "3.2.47"
"@vue/shared" "3.2.41" "@vue/shared" "3.2.47"
estree-walker "^2.0.2" estree-walker "^2.0.2"
magic-string "^0.25.7" magic-string "^0.25.7"
postcss "^8.1.10" postcss "^8.1.10"
@@ -1191,13 +1304,13 @@
"@vue/compiler-dom" "3.2.37" "@vue/compiler-dom" "3.2.37"
"@vue/shared" "3.2.37" "@vue/shared" "3.2.37"
"@vue/compiler-ssr@3.2.41": "@vue/compiler-ssr@3.2.47":
version "3.2.41" version "3.2.47"
resolved "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.41.tgz" resolved "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.47.tgz"
integrity sha512-Y5wPiNIiaMz/sps8+DmhaKfDm1xgj6GrH99z4gq2LQenfVQcYXmHIOBcs5qPwl7jaW3SUQWjkAPKMfQemEQZwQ== integrity sha512-wVXC+gszhulcMD8wpxMsqSOpvDZ6xKXSVWkf50Guf/S+28hTAXPDYRTbLQ3EDkOP5Xz/+SY37YiwDquKbJOgZw==
dependencies: dependencies:
"@vue/compiler-dom" "3.2.41" "@vue/compiler-dom" "3.2.47"
"@vue/shared" "3.2.41" "@vue/shared" "3.2.47"
"@vue/devtools-api@^6.2.1": "@vue/devtools-api@^6.2.1":
version "6.2.1" version "6.2.1"
@@ -1215,14 +1328,14 @@
estree-walker "^2.0.2" estree-walker "^2.0.2"
magic-string "^0.25.7" magic-string "^0.25.7"
"@vue/reactivity-transform@3.2.41": "@vue/reactivity-transform@3.2.47":
version "3.2.41" version "3.2.47"
resolved "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.41.tgz" resolved "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.47.tgz"
integrity sha512-mK5+BNMsL4hHi+IR3Ft/ho6Za+L3FA5j8WvreJ7XzHrqkPq8jtF/SMo7tuc9gHjLDwKZX1nP1JQOKo9IEAn54A== integrity sha512-m8lGXw8rdnPVVIdIFhf0LeQ/ixyHkH5plYuS83yop5n7ggVJU+z5v0zecwEnX7fa7HNLBhh2qngJJkxpwEEmYA==
dependencies: dependencies:
"@babel/parser" "^7.16.4" "@babel/parser" "^7.16.4"
"@vue/compiler-core" "3.2.41" "@vue/compiler-core" "3.2.47"
"@vue/shared" "3.2.41" "@vue/shared" "3.2.47"
estree-walker "^2.0.2" estree-walker "^2.0.2"
magic-string "^0.25.7" magic-string "^0.25.7"
@@ -1233,12 +1346,12 @@
dependencies: dependencies:
"@vue/shared" "3.2.37" "@vue/shared" "3.2.37"
"@vue/reactivity@^3.2.40": "@vue/reactivity@^3.2.47":
version "3.2.41" version "3.2.47"
resolved "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.41.tgz" resolved "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.47.tgz"
integrity sha512-9JvCnlj8uc5xRiQGZ28MKGjuCoPhhTwcoAdv3o31+cfGgonwdPNuvqAXLhlzu4zwqavFEG5tvaoINQEfxz+l6g== integrity sha512-7khqQ/75oyyg+N/e+iwV6lpy1f5wq759NdlS1fpAhFXa8VeAIKGgk2E/C4VF59lx5b+Ezs5fpp/5WsRYXQiKxQ==
dependencies: dependencies:
"@vue/shared" "3.2.41" "@vue/shared" "3.2.47"
"@vue/runtime-core@3.2.37": "@vue/runtime-core@3.2.37":
version "3.2.37" version "3.2.37"
@@ -1270,10 +1383,10 @@
resolved "https://registry.npmjs.org/@vue/shared/-/shared-3.2.37.tgz" resolved "https://registry.npmjs.org/@vue/shared/-/shared-3.2.37.tgz"
integrity sha512-4rSJemR2NQIo9Klm1vabqWjD8rs/ZaJSzMxkMNeJS6lHiUjjUeYFbooN19NgFjztubEKh3WlZUeOLVdbbUWHsw== integrity sha512-4rSJemR2NQIo9Klm1vabqWjD8rs/ZaJSzMxkMNeJS6lHiUjjUeYFbooN19NgFjztubEKh3WlZUeOLVdbbUWHsw==
"@vue/shared@3.2.41", "@vue/shared@^3.2.40": "@vue/shared@3.2.47", "@vue/shared@^3.2.47":
version "3.2.41" version "3.2.47"
resolved "https://registry.npmjs.org/@vue/shared/-/shared-3.2.41.tgz" resolved "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz"
integrity sha512-W9mfWLHmJhkfAmV+7gDjcHeAWALQtgGT3JErxULl0oz6R6+3ug91I7IErs93eCFhPCZPHBs4QJS7YWEV7A3sxw== integrity sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==
acorn@^8.5.0: acorn@^8.5.0:
version "8.8.1" version "8.8.1"
@@ -1580,133 +1693,33 @@ es-to-primitive@^1.2.1:
is-date-object "^1.0.1" is-date-object "^1.0.1"
is-symbol "^1.0.2" is-symbol "^1.0.2"
esbuild-android-64@0.15.13: esbuild@^0.17.5:
version "0.15.13" version "0.17.15"
resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.15.13.tgz#5f25864055dbd62e250f360b38b4c382224063af" resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.17.15.tgz"
integrity sha512-yRorukXBlokwTip+Sy4MYskLhJsO0Kn0/Fj43s1krVblfwP+hMD37a4Wmg139GEsMLl+vh8WXp2mq/cTA9J97g== integrity sha512-LBUV2VsUIc/iD9ME75qhT4aJj0r75abCVS0jakhFzOtR7TQsqQA5w0tZ+KTKnwl3kXE0MhskNdHDh/I5aCR1Zw==
esbuild-android-arm64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.13.tgz#d8820f999314efbe8e0f050653a99ff2da632b0f"
integrity sha512-TKzyymLD6PiVeyYa4c5wdPw87BeAiTXNtK6amWUcXZxkV51gOk5u5qzmDaYSwiWeecSNHamFsaFjLoi32QR5/w==
esbuild-darwin-64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.13.tgz#99ae7fdaa43947b06cd9d1a1c3c2c9f245d81fd0"
integrity sha512-WAx7c2DaOS6CrRcoYCgXgkXDliLnFv3pQLV6GeW1YcGEZq2Gnl8s9Pg7ahValZkpOa0iE/ojRVQ87sbUhF1Cbg==
esbuild-darwin-arm64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.13.tgz#bafa1814354ad1a47adcad73de416130ef7f55e3"
integrity sha512-U6jFsPfSSxC3V1CLiQqwvDuj3GGrtQNB3P3nNC3+q99EKf94UGpsG9l4CQ83zBs1NHrk1rtCSYT0+KfK5LsD8A==
esbuild-freebsd-64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.13.tgz#84ef85535c5cc38b627d1c5115623b088d1de161"
integrity sha512-whItJgDiOXaDG/idy75qqevIpZjnReZkMGCgQaBWZuKHoElDJC1rh7MpoUgupMcdfOd+PgdEwNQW9DAE6i8wyA==
esbuild-freebsd-arm64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.13.tgz#033f21de434ec8e0c478054b119af8056763c2d8"
integrity sha512-6pCSWt8mLUbPtygv7cufV0sZLeylaMwS5Fznj6Rsx9G2AJJsAjQ9ifA+0rQEIg7DwJmi9it+WjzNTEAzzdoM3Q==
esbuild-linux-32@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.15.13.tgz#54290ea8035cba0faf1791ce9ae6693005512535"
integrity sha512-VbZdWOEdrJiYApm2kkxoTOgsoCO1krBZ3quHdYk3g3ivWaMwNIVPIfEE0f0XQQ0u5pJtBsnk2/7OPiCFIPOe/w==
esbuild-linux-64@0.15.13:
version "0.15.13"
resolved "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.13.tgz"
integrity sha512-rXmnArVNio6yANSqDQlIO4WiP+Cv7+9EuAHNnag7rByAqFVuRusLbGi2697A5dFPNXoO//IiogVwi3AdcfPC6A==
esbuild-linux-arm64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.13.tgz#9323c333924f97a02bdd2ae8912b36298acb312d"
integrity sha512-alEMGU4Z+d17U7KQQw2IV8tQycO6T+rOrgW8OS22Ua25x6kHxoG6Ngry6Aq6uranC+pNWNMB6aHFPh7aTQdORQ==
esbuild-linux-arm@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.13.tgz#b407f47b3ae721fe4e00e19e9f19289bef87a111"
integrity sha512-Ac6LpfmJO8WhCMQmO253xX2IU2B3wPDbl4IvR0hnqcPrdfCaUa2j/lLMGTjmQ4W5JsJIdHEdW12dG8lFS0MbxQ==
esbuild-linux-mips64le@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.13.tgz#bdf905aae5c0bcaa8f83567fe4c4c1bdc1f14447"
integrity sha512-47PgmyYEu+yN5rD/MbwS6DxP2FSGPo4Uxg5LwIdxTiyGC2XKwHhHyW7YYEDlSuXLQXEdTO7mYe8zQ74czP7W8A==
esbuild-linux-ppc64le@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.13.tgz#2911eae1c90ff58a3bd3259cb557235df25aa3b4"
integrity sha512-z6n28h2+PC1Ayle9DjKoBRcx/4cxHoOa2e689e2aDJSaKug3jXcQw7mM+GLg+9ydYoNzj8QxNL8ihOv/OnezhA==
esbuild-linux-riscv64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.13.tgz#1837c660be12b1d20d2a29c7189ea703f93e9265"
integrity sha512-+Lu4zuuXuQhgLUGyZloWCqTslcCAjMZH1k3Xc9MSEJEpEFdpsSU0sRDXAnk18FKOfEjhu4YMGaykx9xjtpA6ow==
esbuild-linux-s390x@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.13.tgz#d52880ece229d1bd10b2d936b792914ffb07c7fc"
integrity sha512-BMeXRljruf7J0TMxD5CIXS65y7puiZkAh+s4XFV9qy16SxOuMhxhVIXYLnbdfLrsYGFzx7U9mcdpFWkkvy/Uag==
esbuild-netbsd-64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.13.tgz#de14da46f1d20352b43e15d97a80a8788275e6ed"
integrity sha512-EHj9QZOTel581JPj7UO3xYbltFTYnHy+SIqJVq6yd3KkCrsHRbapiPb0Lx3EOOtybBEE9EyqbmfW1NlSDsSzvQ==
esbuild-openbsd-64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.13.tgz#45e8a5fd74d92ad8f732c43582369c7990f5a0ac"
integrity sha512-nkuDlIjF/sfUhfx8SKq0+U+Fgx5K9JcPq1mUodnxI0x4kBdCv46rOGWbuJ6eof2n3wdoCLccOoJAbg9ba/bT2w==
esbuild-sunos-64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.13.tgz#f646ac3da7aac521ee0fdbc192750c87da697806"
integrity sha512-jVeu2GfxZQ++6lRdY43CS0Tm/r4WuQQ0Pdsrxbw+aOrHQPHV0+LNOLnvbN28M7BSUGnJnHkHm2HozGgNGyeIRw==
esbuild-windows-32@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.15.13.tgz#fb4fe77c7591418880b3c9b5900adc4c094f2401"
integrity sha512-XoF2iBf0wnqo16SDq+aDGi/+QbaLFpkiRarPVssMh9KYbFNCqPLlGAWwDvxEVz+ywX6Si37J2AKm+AXq1kC0JA==
esbuild-windows-64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.15.13.tgz#1fca8c654392c0c31bdaaed168becfea80e20660"
integrity sha512-Et6htEfGycjDrtqb2ng6nT+baesZPYQIW+HUEHK4D1ncggNrDNk3yoboYQ5KtiVrw/JaDMNttz8rrPubV/fvPQ==
esbuild-windows-arm64@0.15.13:
version "0.15.13"
resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.13.tgz#4ffd01b6b2888603f1584a2fe96b1f6a6f2b3dd8"
integrity sha512-3bv7tqntThQC9SWLRouMDmZnlOukBhOCTlkzNqzGCmrkCJI7io5LLjwJBOVY6kOUlIvdxbooNZwjtBvj+7uuVg==
esbuild@^0.15.9:
version "0.15.13"
resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.15.13.tgz"
integrity sha512-Cu3SC84oyzzhrK/YyN4iEVy2jZu5t2fz66HEOShHURcjSkOSAVL8C/gfUT+lDJxkVHpg8GZ10DD0rMHRPqMFaQ==
optionalDependencies: optionalDependencies:
"@esbuild/android-arm" "0.15.13" "@esbuild/android-arm" "0.17.15"
"@esbuild/linux-loong64" "0.15.13" "@esbuild/android-arm64" "0.17.15"
esbuild-android-64 "0.15.13" "@esbuild/android-x64" "0.17.15"
esbuild-android-arm64 "0.15.13" "@esbuild/darwin-arm64" "0.17.15"
esbuild-darwin-64 "0.15.13" "@esbuild/darwin-x64" "0.17.15"
esbuild-darwin-arm64 "0.15.13" "@esbuild/freebsd-arm64" "0.17.15"
esbuild-freebsd-64 "0.15.13" "@esbuild/freebsd-x64" "0.17.15"
esbuild-freebsd-arm64 "0.15.13" "@esbuild/linux-arm" "0.17.15"
esbuild-linux-32 "0.15.13" "@esbuild/linux-arm64" "0.17.15"
esbuild-linux-64 "0.15.13" "@esbuild/linux-ia32" "0.17.15"
esbuild-linux-arm "0.15.13" "@esbuild/linux-loong64" "0.17.15"
esbuild-linux-arm64 "0.15.13" "@esbuild/linux-mips64el" "0.17.15"
esbuild-linux-mips64le "0.15.13" "@esbuild/linux-ppc64" "0.17.15"
esbuild-linux-ppc64le "0.15.13" "@esbuild/linux-riscv64" "0.17.15"
esbuild-linux-riscv64 "0.15.13" "@esbuild/linux-s390x" "0.17.15"
esbuild-linux-s390x "0.15.13" "@esbuild/linux-x64" "0.17.15"
esbuild-netbsd-64 "0.15.13" "@esbuild/netbsd-x64" "0.17.15"
esbuild-openbsd-64 "0.15.13" "@esbuild/openbsd-x64" "0.17.15"
esbuild-sunos-64 "0.15.13" "@esbuild/sunos-x64" "0.17.15"
esbuild-windows-32 "0.15.13" "@esbuild/win32-arm64" "0.17.15"
esbuild-windows-64 "0.15.13" "@esbuild/win32-ia32" "0.17.15"
esbuild-windows-arm64 "0.15.13" "@esbuild/win32-x64" "0.17.15"
escalade@^3.1.1: escalade@^3.1.1:
version "3.1.1" version "3.1.1"
@@ -1738,7 +1751,7 @@ fast-deep-equal@^3.1.1:
resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz"
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
fast-glob@^3.2.11: fast-glob@^3.2.12:
version "3.2.12" version "3.2.12"
resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz"
integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==
@@ -2165,6 +2178,13 @@ magic-string@^0.25.0, magic-string@^0.25.7:
dependencies: dependencies:
sourcemap-codec "^1.4.8" sourcemap-codec "^1.4.8"
magic-string@^0.27.0:
version "0.27.0"
resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz"
integrity sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==
dependencies:
"@jridgewell/sourcemap-codec" "^1.4.13"
merge-stream@^2.0.0: merge-stream@^2.0.0:
version "2.0.0" version "2.0.0"
resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz"
@@ -2190,22 +2210,29 @@ minimatch@^3.0.4, minimatch@^3.1.1:
dependencies: dependencies:
brace-expansion "^1.1.7" brace-expansion "^1.1.7"
minimatch@^5.0.1, minimatch@^5.1.0: minimatch@^5.0.1:
version "5.1.0" version "5.1.0"
resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz" resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz"
integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==
dependencies: dependencies:
brace-expansion "^2.0.1" brace-expansion "^2.0.1"
minimatch@^6.1.6:
version "6.2.0"
resolved "https://registry.npmjs.org/minimatch/-/minimatch-6.2.0.tgz"
integrity sha512-sauLxniAmvnhhRjFwPNnJKaPFYyddAgbYdeUpHULtCT/GhzdCx/MDNy+Y40lBxTQUrMzDE8e0S43Z5uqfO0REg==
dependencies:
brace-expansion "^2.0.1"
ms@2.1.2: ms@2.1.2:
version "2.1.2" version "2.1.2"
resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
muggle-string@^0.1.0: muggle-string@^0.2.2:
version "0.1.0" version "0.2.2"
resolved "https://registry.npmjs.org/muggle-string/-/muggle-string-0.1.0.tgz" resolved "https://registry.npmjs.org/muggle-string/-/muggle-string-0.2.2.tgz"
integrity sha512-Tr1knR3d2mKvvWthlk7202rywKbiOm4rVFLsfAaSIhJ6dt9o47W4S+JMtWhd/PW9Wrdew2/S2fSvhz3E2gkfEg== integrity sha512-YVE1mIJ4VpUMqZObFndk9CJu6DBJR/GB13p3tXuNbwD4XExaI5EOuRl6BHeIDxIqXZVxSfAC+y6U1Z/IxCfKUg==
nanoid@^3.3.4: nanoid@^3.3.4:
version "3.3.4" version "3.3.4"
@@ -2277,10 +2304,10 @@ pinia@^2.0.17:
"@vue/devtools-api" "^6.2.1" "@vue/devtools-api" "^6.2.1"
vue-demi "*" vue-demi "*"
postcss@^8.1.10, postcss@^8.4.18: postcss@^8.1.10, postcss@^8.4.21:
version "8.4.18" version "8.4.21"
resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz" resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz"
integrity sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA== integrity sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==
dependencies: dependencies:
nanoid "^3.3.4" nanoid "^3.3.4"
picocolors "^1.0.0" picocolors "^1.0.0"
@@ -2406,13 +2433,20 @@ rollup-plugin-terser@^7.0.0:
serialize-javascript "^4.0.0" serialize-javascript "^4.0.0"
terser "^5.0.0" terser "^5.0.0"
rollup@^2.43.1, rollup@^2.79.0, rollup@^2.79.1: rollup@^2.43.1:
version "2.79.1" version "2.79.1"
resolved "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz" resolved "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz"
integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw== integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==
optionalDependencies: optionalDependencies:
fsevents "~2.3.2" fsevents "~2.3.2"
rollup@^3.18.0, rollup@^3.7.2:
version "3.20.2"
resolved "https://registry.npmjs.org/rollup/-/rollup-3.20.2.tgz"
integrity sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==
optionalDependencies:
fsevents "~2.3.2"
run-parallel@^1.1.9: run-parallel@^1.1.9:
version "1.2.0" version "1.2.0"
resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz"
@@ -2434,10 +2468,10 @@ safe-regex-test@^1.0.0:
get-intrinsic "^1.1.3" get-intrinsic "^1.1.3"
is-regex "^1.1.4" is-regex "^1.1.4"
sass@^1.55.0: sass@^1.59.3:
version "1.56.0" version "1.61.0"
resolved "https://registry.npmjs.org/sass/-/sass-1.56.0.tgz" resolved "https://registry.npmjs.org/sass/-/sass-1.61.0.tgz"
integrity sha512-WFJ9XrpkcnqZcYuLRJh5qiV6ibQOR4AezleeEjTjMsCocYW59dEG19U3fwTTXxzi2Ed3yjPBp727hbbj53pHFw== integrity sha512-PDsN7BrVkNZK2+dj/dpKQAWZavbAQ87IXqVvw2+oEYI+GwlTWkvbQtL7F2cCNbMqJEYKPh1EcjSxsnqIb/kyaQ==
dependencies: dependencies:
chokidar ">=3.0.0 <4.0.0" chokidar ">=3.0.0 <4.0.0"
immutable "^4.0.0" immutable "^4.0.0"
@@ -2608,10 +2642,10 @@ type-fest@^0.16.0:
resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.16.0.tgz" resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.16.0.tgz"
integrity sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg== integrity sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==
typescript@^4.8.4: typescript@^5.0.2:
version "4.8.4" version "5.0.3"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz" resolved "https://registry.npmjs.org/typescript/-/typescript-5.0.3.tgz"
integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ== integrity sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==
unbox-primitive@^1.0.2: unbox-primitive@^1.0.2:
version "1.0.2" version "1.0.2"
@@ -2678,28 +2712,28 @@ uri-js@^4.2.2:
dependencies: dependencies:
punycode "^2.1.0" punycode "^2.1.0"
vite-plugin-pwa@^0.13.3: vite-plugin-pwa@^0.14.6:
version "0.13.3" version "0.14.7"
resolved "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.13.3.tgz" resolved "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.14.7.tgz"
integrity sha512-cjWXpZ7slAY14OKz7M8XdgTIi9wjf6OD6NkhiMAc+ogxnbUrecUwLdRtfGPCPsN2ftut5gaN1jTghb11p6IQAA== integrity sha512-dNJaf0fYOWncmjxv9HiSa2xrSjipjff7IkYE5oIUJ2x5HKu3cXgA8LRgzOwTc5MhwyFYRSU0xyN0Phbx3NsQYw==
dependencies: dependencies:
"@rollup/plugin-replace" "^4.0.0" "@rollup/plugin-replace" "^5.0.1"
debug "^4.3.4" debug "^4.3.4"
fast-glob "^3.2.11" fast-glob "^3.2.12"
pretty-bytes "^6.0.0" pretty-bytes "^6.0.0"
rollup "^2.79.0" rollup "^3.7.2"
workbox-build "^6.5.4" workbox-build "^6.5.4"
workbox-window "^6.5.4" workbox-window "^6.5.4"
vite@^3.2.1: vite@^4.2.1:
version "3.2.3" version "4.2.1"
resolved "https://registry.npmjs.org/vite/-/vite-3.2.3.tgz" resolved "https://registry.npmjs.org/vite/-/vite-4.2.1.tgz"
integrity sha512-h8jl1TZ76eGs3o2dIBSsvXDLb1m/Ec1iej8ZMdz+PsaFUsftZeWe2CZOI3qogEsMNaywc17gu0q6cQDzh/weCQ== integrity sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==
dependencies: dependencies:
esbuild "^0.15.9" esbuild "^0.17.5"
postcss "^8.4.18" postcss "^8.4.21"
resolve "^1.22.1" resolve "^1.22.1"
rollup "^2.79.1" rollup "^3.18.0"
optionalDependencies: optionalDependencies:
fsevents "~2.3.2" fsevents "~2.3.2"
@@ -2708,21 +2742,21 @@ vue-demi@*:
resolved "https://registry.npmjs.org/vue-demi/-/vue-demi-0.13.5.tgz" resolved "https://registry.npmjs.org/vue-demi/-/vue-demi-0.13.5.tgz"
integrity sha512-tO3K2bML3AwiHmVHeKCq6HLef2st4zBXIV5aEkoJl6HZ+gJWxWv2O8wLH8qrA3SX3lDoTDHNghLX1xZg83MXvw== integrity sha512-tO3K2bML3AwiHmVHeKCq6HLef2st4zBXIV5aEkoJl6HZ+gJWxWv2O8wLH8qrA3SX3lDoTDHNghLX1xZg83MXvw==
vue-template-compiler@^2.7.10: vue-template-compiler@^2.7.14:
version "2.7.13" version "2.7.14"
resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.13.tgz" resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz"
integrity sha512-jYM6TClwDS9YqP48gYrtAtaOhRKkbYmbzE+Q51gX5YDr777n7tNI/IZk4QV4l/PjQPNh/FVa/E92sh/RqKMrog== integrity sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==
dependencies: dependencies:
de-indent "^1.0.2" de-indent "^1.0.2"
he "^1.2.0" he "^1.2.0"
vue-tsc@^1.0.9: vue-tsc@^1.2.0:
version "1.0.9" version "1.2.0"
resolved "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.0.9.tgz" resolved "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.2.0.tgz"
integrity sha512-vRmHD1K6DmBymNhoHjQy/aYKTRQNLGOu2/ESasChG9Vy113K6CdP0NlhR0bzgFJfv2eFB9Ez/9L5kIciUajBxQ== integrity sha512-rIlzqdrhyPYyLG9zxsVRa+JEseeS9s8F2BbVVVWRRsTZvJO2BbhLEb2HW3MY+DFma0378tnIqs+vfTzbcQtRFw==
dependencies: dependencies:
"@volar/vue-language-core" "1.0.9" "@volar/vue-language-core" "1.2.0"
"@volar/vue-typescript" "1.0.9" "@volar/vue-typescript" "1.2.0"
vue@^3.2.37: vue@^3.2.37:
version "3.2.37" version "3.2.37"