feat(convert,assets): convert page route and assets portfolio chart

Add convert mobile/desktop views and assets chart from price history; polish calculator and wallet/home integration.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-22 17:38:27 +03:30
co-authored by Cursor
parent 819e007e60
commit 20c871e66c
23 changed files with 872 additions and 131 deletions
@@ -43,8 +43,6 @@
<BasicInput
v-model:value="item.count"
:addon-before="quantityUnit"
:addon-bg-color="config.config?.color"
addon-text-color="white"
type="number"
:inputmode="isCountBased ? 'numeric' : 'decimal'"
@update:value="onCountInput"
@@ -61,7 +59,6 @@
import { computed, ref, watch } from 'vue'
import BasicButton from '@/components/BasicPacks/BasicButton.vue'
import BasicInput from '@/components/BasicPacks/BasicInput.vue'
import { useConfigStore } from '@/store/configStore'
import type { CountPInventory } from '@/models/products'
import { getProductDisplayImage } from '@/utils/productAssets'
import {
@@ -110,8 +107,6 @@ const displayMinDelivery = computed(() => {
: formatGoldAmount(minDeliveryQuantity.value)
})
const config = useConfigStore()
function selectCountInput(e: FocusEvent) {
const el = e.target as HTMLInputElement | null
if (!el || el.tagName !== 'INPUT' || typeof el.select !== 'function') return