chore: more PascalCase components

This commit is contained in:
Matthias 2024-07-05 12:31:15 +02:00
parent f4e610bc99
commit 35b5280439
2 changed files with 28 additions and 28 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<grid-layout <GridLayout
class="h-100 w-100" class="h-100 w-100"
:row-height="50" :row-height="50"
:layout="gridLayoutData" :layout="gridLayoutData"
@ -16,7 +16,7 @@
@update:breakpoint="breakpointChanged" @update:breakpoint="breakpointChanged"
> >
<template #default="{ gridItemProps }"> <template #default="{ gridItemProps }">
<grid-item <GridItem
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutDaily.i" :i="gridLayoutDaily.i"
:x="gridLayoutDaily.x" :x="gridLayoutDaily.x"
@ -34,8 +34,8 @@
:show-title="false" :show-title="false"
/> />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutBotComparison.i" :i="gridLayoutBotComparison.i"
:x="gridLayoutBotComparison.x" :x="gridLayoutBotComparison.x"
@ -49,8 +49,8 @@
<DraggableContainer header="Bot comparison"> <DraggableContainer header="Bot comparison">
<BotComparisonList /> <BotComparisonList />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutAllOpenTrades.i" :i="gridLayoutAllOpenTrades.i"
:x="gridLayoutAllOpenTrades.x" :x="gridLayoutAllOpenTrades.x"
@ -73,8 +73,8 @@
</template> </template>
<TradeList active-trades :trades="botStore.allOpenTradesSelectedBots" multi-bot-view /> <TradeList active-trades :trades="botStore.allOpenTradesSelectedBots" multi-bot-view />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutCumChart.i" :i="gridLayoutCumChart.i"
:x="gridLayoutCumChart.x" :x="gridLayoutCumChart.x"
@ -92,8 +92,8 @@
:show-title="false" :show-title="false"
/> />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutAllClosedTrades.i" :i="gridLayoutAllClosedTrades.i"
:x="gridLayoutAllClosedTrades.x" :x="gridLayoutAllClosedTrades.x"
@ -121,8 +121,8 @@
multi-bot-view multi-bot-view
/> />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutProfitDistribution.i" :i="gridLayoutProfitDistribution.i"
:x="gridLayoutProfitDistribution.x" :x="gridLayoutProfitDistribution.x"
@ -136,8 +136,8 @@
<DraggableContainer header="Profit Distribution"> <DraggableContainer header="Profit Distribution">
<ProfitDistributionChart :trades="botStore.allTradesSelectedBots" :show-title="false" /> <ProfitDistributionChart :trades="botStore.allTradesSelectedBots" :show-title="false" />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutTradesLogChart.i" :i="gridLayoutTradesLogChart.i"
:x="gridLayoutTradesLogChart.x" :x="gridLayoutTradesLogChart.x"
@ -151,9 +151,9 @@
<DraggableContainer header="Trades Log"> <DraggableContainer header="Trades Log">
<TradesLogChart :trades="botStore.allTradesSelectedBots" :show-title="false" /> <TradesLogChart :trades="botStore.allTradesSelectedBots" :show-title="false" />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
</template> </template>
</grid-layout> </GridLayout>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">

View File

@ -1,5 +1,5 @@
<template> <template>
<grid-layout <GridLayout
class="h-100 w-100" class="h-100 w-100"
:row-height="50" :row-height="50"
:layout="gridLayoutData" :layout="gridLayoutData"
@ -14,7 +14,7 @@
@update:breakpoint="breakpointChanged" @update:breakpoint="breakpointChanged"
> >
<template #default="{ gridItemProps }"> <template #default="{ gridItemProps }">
<grid-item <GridItem
v-if="gridLayoutMultiPane.h != 0" v-if="gridLayoutMultiPane.h != 0"
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutMultiPane.i" :i="gridLayoutMultiPane.i"
@ -57,8 +57,8 @@
</b-tab> </b-tab>
</b-tabs> </b-tabs>
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-if="gridLayoutOpenTrades.h != 0" v-if="gridLayoutOpenTrades.h != 0"
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutOpenTrades.i" :i="gridLayoutOpenTrades.i"
@ -77,8 +77,8 @@
empty-text="Currently no open trades." empty-text="Currently no open trades."
/> />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-if="gridLayoutTradeHistory.h != 0" v-if="gridLayoutTradeHistory.h != 0"
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutTradeHistory.i" :i="gridLayoutTradeHistory.i"
@ -97,8 +97,8 @@
empty-text="No closed trades so far." empty-text="No closed trades so far."
/> />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-if=" v-if="
botStore.activeBot.detailTradeId && botStore.activeBot.detailTradeId &&
botStore.activeBot.tradeDetail && botStore.activeBot.tradeDetail &&
@ -119,8 +119,8 @@
:stake-currency="botStore.activeBot.stakeCurrency" :stake-currency="botStore.activeBot.stakeCurrency"
/> />
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
<grid-item <GridItem
v-if="gridLayoutTradeDetail.h != 0" v-if="gridLayoutTradeDetail.h != 0"
v-bind="gridItemProps" v-bind="gridItemProps"
:i="gridLayoutChartView.i" :i="gridLayoutChartView.i"
@ -140,9 +140,9 @@
> >
</CandleChartContainer> </CandleChartContainer>
</DraggableContainer> </DraggableContainer>
</grid-item> </GridItem>
</template> </template>
</grid-layout> </GridLayout>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">