Fix production build and refresh dist output.

Restore catalog cover assets, resolve TypeScript issues in TimeInput and catalogGallery, and rebuild the production bundle.
This commit is contained in:
2026-09-15 21:47:31 +03:30
parent bbb3a15d1c
commit 418039303c
108 changed files with 74 additions and 72 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

+1 -1
View File
@@ -93,7 +93,7 @@ function stepMinute(delta: number) {
const index = minuteSteps.indexOf(draftMinute.value)
const base = index < 0 ? 0 : index
const next = (base + delta + minuteSteps.length) % minuteSteps.length
draftMinute.value = minuteSteps[next]
draftMinute.value = minuteSteps[next] ?? 0
}
function confirmSelection() {
+7 -4
View File
@@ -80,7 +80,10 @@ export function groupCatalogPatterns(products: CatalogProductCard[]): CatalogPat
groups.set(key, list)
}
return [...groups.entries()].map(([, items]) => {
return [...groups.entries()].flatMap(([, items]) => {
const first = items[0]
if (!first) return []
const colors = [
...new Set(
items.flatMap((item) =>
@@ -96,13 +99,13 @@ export function groupCatalogPatterns(products: CatalogProductCard[]): CatalogPat
return undefined
})
return {
id: items[0].id,
name: items[0].name,
id: first.id,
name: first.name,
imageUrl: colorImages.find(Boolean) || items.find((item) => item.imageUrl)?.imageUrl,
colorCount: Math.max(colors.length, items.length),
colors: colors.slice(0, 5),
colorImages: colorImages.slice(0, 5),
kind: patternKindOf(items[0]),
kind: patternKindOf(first),
items,
}
})