mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 19:15:15 +00:00
Remove default vue imports in favor of autoimports
This commit is contained in:
parent
76715734f1
commit
fa2f271404
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { setTimezone } from './shared/formatters';
|
import { setTimezone } from './shared/formatters';
|
||||||
import { onMounted, watch } from 'vue';
|
|
||||||
import { useSettingsStore } from './stores/settings';
|
import { useSettingsStore } from './stores/settings';
|
||||||
import { useColorStore } from './stores/colors';
|
import { useColorStore } from './stores/colors';
|
||||||
const settingsStore = useSettingsStore();
|
const settingsStore = useSettingsStore();
|
||||||
|
|
|
@ -57,7 +57,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { BotDescriptor } from '@/types';
|
import { BotDescriptor } from '@/types';
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
bot: { required: true, type: Object as () => BotDescriptor },
|
bot: { required: true, type: Object as () => BotDescriptor },
|
||||||
|
|
|
@ -40,7 +40,6 @@ import LoginModal from '@/views/LoginModal.vue';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { AuthStorageWithBotId, BotDescriptor } from '@/types';
|
import { AuthStorageWithBotId, BotDescriptor } from '@/types';
|
||||||
import { useSortable } from '@vueuse/integrations/useSortable';
|
import { useSortable } from '@vueuse/integrations/useSortable';
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
small: { default: false, type: Boolean },
|
small: { default: false, type: Boolean },
|
||||||
|
|
|
@ -86,7 +86,6 @@
|
||||||
import { useUserService } from '@/shared/userService';
|
import { useUserService } from '@/shared/userService';
|
||||||
import { AuthPayload, AuthStorageWithBotId } from '@/types';
|
import { AuthPayload, AuthStorageWithBotId } from '@/types';
|
||||||
|
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { useRoute, useRouter } from 'vue-router';
|
import { useRoute, useRouter } from 'vue-router';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { BotDescriptor } from '@/types';
|
import { BotDescriptor } from '@/types';
|
||||||
import { onMounted, ref } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
bot: { type: Object as () => BotDescriptor, required: true },
|
bot: { type: Object as () => BotDescriptor, required: true },
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings';
|
||||||
import { useColorMode } from 'bootstrap-vue-next';
|
import { useColorMode } from 'bootstrap-vue-next';
|
||||||
import { onMounted, ref } from 'vue';
|
|
||||||
|
|
||||||
const mode = useColorMode();
|
const mode = useColorMode();
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ import { formatPriceCurrency } from '@/shared/formatters';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings';
|
||||||
import { BalanceValues } from '@/types';
|
import { BalanceValues } from '@/types';
|
||||||
import { useElementSize } from '@vueuse/core';
|
import { useElementSize } from '@vueuse/core';
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
|
|
||||||
use([
|
use([
|
||||||
PieChart,
|
PieChart,
|
||||||
|
|
|
@ -17,7 +17,7 @@ import {
|
||||||
Trade,
|
Trade,
|
||||||
} from '@/types';
|
} from '@/types';
|
||||||
import { format } from 'date-fns-tz';
|
import { format } from 'date-fns-tz';
|
||||||
import { computed, onMounted, ref, watch } from 'vue';
|
|
||||||
import ECharts from 'vue-echarts';
|
import ECharts from 'vue-echarts';
|
||||||
|
|
||||||
import { calculateDiff, getDiffColumnsFromPlotConfig } from '@/shared/charts/areaPlotDataset';
|
import { calculateDiff, getDiffColumnsFromPlotConfig } from '@/shared/charts/areaPlotDataset';
|
||||||
|
|
|
@ -107,7 +107,7 @@ import { ChartSliderPosition, LoadingStatus, PairHistory, Trade } from '@/types'
|
||||||
import vSelect from 'vue-select';
|
import vSelect from 'vue-select';
|
||||||
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { computed, onMounted, ref, watch } from 'vue';
|
|
||||||
import { useColorStore } from '@/stores/colors';
|
import { useColorStore } from '@/stores/colors';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|
|
@ -28,7 +28,7 @@ import {
|
||||||
Trade,
|
Trade,
|
||||||
} from '@/types';
|
} from '@/types';
|
||||||
import { watchThrottled } from '@vueuse/core';
|
import { watchThrottled } from '@vueuse/core';
|
||||||
import { computed, onMounted, ref, watch } from 'vue';
|
|
||||||
import { formatPrice } from '@/shared/formatters';
|
import { formatPrice } from '@/shared/formatters';
|
||||||
import { useColorStore } from '@/stores/colors';
|
import { useColorStore } from '@/stores/colors';
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import ECharts from 'vue-echarts';
|
import ECharts from 'vue-echarts';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings';
|
||||||
import { computed } from 'vue';
|
|
||||||
|
|
||||||
import { Trade } from '@/types';
|
import { Trade } from '@/types';
|
||||||
import { timestampHour } from '@/shared/formatters';
|
import { timestampHour } from '@/shared/formatters';
|
||||||
|
|
|
@ -162,7 +162,7 @@ import { IndicatorConfig, PlotConfig } from '@/types';
|
||||||
import { deepClone } from '@/shared/deepClone';
|
import { deepClone } from '@/shared/deepClone';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { usePlotConfigStore } from '@/stores/plotConfig';
|
import { usePlotConfigStore } from '@/stores/plotConfig';
|
||||||
import { computed, ref, watch } from 'vue';
|
|
||||||
import randomColor from '@/shared/randomColor';
|
import randomColor from '@/shared/randomColor';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ChartType, IndicatorConfig } from '@/types';
|
import { ChartType, IndicatorConfig } from '@/types';
|
||||||
import randomColor from '@/shared/randomColor';
|
import randomColor from '@/shared/randomColor';
|
||||||
import { computed, ref, watch } from 'vue';
|
|
||||||
import { watchDebounced } from '@vueuse/core';
|
import { watchDebounced } from '@vueuse/core';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref, watch } from 'vue';
|
|
||||||
import vSelect from 'vue-select';
|
import vSelect from 'vue-select';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed } from 'vue';
|
|
||||||
import ECharts from 'vue-echarts';
|
import ECharts from 'vue-echarts';
|
||||||
import { EChartsOption } from 'echarts';
|
import { EChartsOption } from 'echarts';
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, ComputedRef, ref } from 'vue';
|
|
||||||
import ECharts from 'vue-echarts';
|
import ECharts from 'vue-echarts';
|
||||||
// import { EChartsOption } from 'echarts';
|
// import { EChartsOption } from 'echarts';
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import {
|
||||||
|
|
||||||
import { ClosedTrade } from '@/types';
|
import { ClosedTrade } from '@/types';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings';
|
||||||
import { computed } from 'vue';
|
|
||||||
import { timestampms } from '@/shared/formatters';
|
import { timestampms } from '@/shared/formatters';
|
||||||
import { dataZoomPartial } from '@/shared/charts/chartZoom';
|
import { dataZoomPartial } from '@/shared/charts/chartZoom';
|
||||||
import { useColorStore } from '@/stores/colors';
|
import { useColorStore } from '@/stores/colors';
|
||||||
|
|
|
@ -46,7 +46,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref } from 'vue';
|
|
||||||
import MessageBox, { MsgBoxObject } from '@/components/general/MessageBox.vue';
|
import MessageBox, { MsgBoxObject } from '@/components/general/MessageBox.vue';
|
||||||
import { timestampms } from '@/shared/formatters';
|
import { timestampms } from '@/shared/formatters';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
|
@ -52,7 +52,6 @@
|
||||||
import { StrategyBacktestResult } from '@/types';
|
import { StrategyBacktestResult } from '@/types';
|
||||||
import { formatObjectForTable } from '@/shared/objectToTableItems';
|
import { formatObjectForTable } from '@/shared/objectToTableItems';
|
||||||
|
|
||||||
import { computed } from 'vue';
|
|
||||||
import { formatPercent, formatPrice } from '@/shared/formatters';
|
import { formatPercent, formatPrice } from '@/shared/formatters';
|
||||||
import { generateBacktestMetricRows, generateBacktestSettingRows } from '@/shared/backtestMetrics';
|
import { generateBacktestMetricRows, generateBacktestSettingRows } from '@/shared/backtestMetrics';
|
||||||
import { TableField, TableItem } from 'bootstrap-vue-next';
|
import { TableField, TableItem } from 'bootstrap-vue-next';
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { ref } from 'vue';
|
|
||||||
import { ChartSliderPosition, Trade } from '@/types';
|
import { ChartSliderPosition, Trade } from '@/types';
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
import { BacktestResultInMemory } from '@/types';
|
import { BacktestResultInMemory } from '@/types';
|
||||||
import { formatObjectForTable } from '@/shared/objectToTableItems';
|
import { formatObjectForTable } from '@/shared/objectToTableItems';
|
||||||
|
|
||||||
import { computed } from 'vue';
|
|
||||||
import { generateBacktestMetricRows } from '@/shared/backtestMetrics';
|
import { generateBacktestMetricRows } from '@/shared/backtestMetrics';
|
||||||
import { TableField } from 'bootstrap-vue-next';
|
import { TableField } from 'bootstrap-vue-next';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { PeriodicBreakdown } from '@/types';
|
import { PeriodicBreakdown } from '@/types';
|
||||||
import { TableField, TableItem } from 'bootstrap-vue-next';
|
import { TableField, TableItem } from 'bootstrap-vue-next';
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
periodicBreakdown: {
|
periodicBreakdown: {
|
||||||
|
|
|
@ -65,7 +65,6 @@ import { formatPercent, formatPrice } from '@/shared/formatters';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { BalanceValues } from '@/types';
|
import { BalanceValues } from '@/types';
|
||||||
import { TableField } from 'bootstrap-vue-next';
|
import { TableField } from 'bootstrap-vue-next';
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
|
|
||||||
const botStore = useBotStore();
|
const botStore = useBotStore();
|
||||||
const hideSmallBalances = ref(true);
|
const hideSmallBalances = ref(true);
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { formatPrice } from '@/shared/formatters';
|
import { formatPrice } from '@/shared/formatters';
|
||||||
import { computed } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { ProfitInterface, ComparisonTableItems } from '@/types';
|
import { ProfitInterface, ComparisonTableItems } from '@/types';
|
||||||
import { TableField, TableItem } from 'bootstrap-vue-next';
|
import { TableField, TableItem } from 'bootstrap-vue-next';
|
||||||
|
|
|
@ -68,7 +68,6 @@ forceexit
|
||||||
import MessageBox, { MsgBoxObject } from '@/components/general/MessageBox.vue';
|
import MessageBox, { MsgBoxObject } from '@/components/general/MessageBox.vue';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { ForceSellPayload } from '@/types';
|
import { ForceSellPayload } from '@/types';
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
|
|
||||||
import ForceEntryForm from './ForceEntryForm.vue';
|
import ForceEntryForm from './ForceEntryForm.vue';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { formatPrice } from '@/shared/formatters';
|
import { formatPrice } from '@/shared/formatters';
|
||||||
import { computed, onMounted, ref } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { TableField } from 'bootstrap-vue-next';
|
import { TableField } from 'bootstrap-vue-next';
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@ import { formatPercent, formatPriceCurrency, timestampms } from '@/shared/format
|
||||||
|
|
||||||
import { ProfitInterface } from '@/types';
|
import { ProfitInterface } from '@/types';
|
||||||
import { TableField, TableItem } from 'bootstrap-vue-next';
|
import { TableField, TableItem } from 'bootstrap-vue-next';
|
||||||
import { computed } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
profit: { required: true, type: Object as () => ProfitInterface },
|
profit: { required: true, type: Object as () => ProfitInterface },
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { Trade } from '@/types';
|
import { Trade } from '@/types';
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { computed, onMounted, watch } from 'vue';
|
|
||||||
import { ExchangeSelection } from '@/types';
|
import { ExchangeSelection } from '@/types';
|
||||||
|
|
||||||
const exchangeModel = defineModel({
|
const exchangeModel = defineModel({
|
||||||
|
|
|
@ -121,8 +121,6 @@
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { ForceEnterPayload, OrderSides } from '@/types';
|
import { ForceEnterPayload, OrderSides } from '@/types';
|
||||||
|
|
||||||
import { computed, nextTick, ref } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: { required: true, default: false, type: Boolean },
|
modelValue: { required: true, default: false, type: Boolean },
|
||||||
pair: { type: String, default: '' },
|
pair: { type: String, default: '' },
|
||||||
|
|
|
@ -62,8 +62,6 @@
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { ForceSellPayload, Trade } from '@/types';
|
import { ForceSellPayload, Trade } from '@/types';
|
||||||
|
|
||||||
import { ref, computed } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
trade: {
|
trade: {
|
||||||
type: Object as () => Trade,
|
type: Object as () => Trade,
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { computed, onMounted } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: { type: String, required: true },
|
modelValue: { type: String, required: true },
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { onMounted, computed } from 'vue';
|
|
||||||
|
|
||||||
const botStore = useBotStore();
|
const botStore = useBotStore();
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,6 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { onMounted, ref } from 'vue';
|
|
||||||
|
|
||||||
const newblacklistpair = ref('');
|
const newblacklistpair = ref('');
|
||||||
const blackListShow = ref(false);
|
const blackListShow = ref(false);
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { formatPercent, timestampms } from '@/shared/formatters';
|
import { formatPercent, timestampms } from '@/shared/formatters';
|
||||||
import { Lock, Trade } from '@/types';
|
import { Lock, Trade } from '@/types';
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
||||||
interface CombinedPairList {
|
interface CombinedPairList {
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
</b-card>
|
</b-card>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
import { usePairlistConfigStore } from '@/stores/pairlistConfig';
|
import { usePairlistConfigStore } from '@/stores/pairlistConfig';
|
||||||
const pairlistStore = usePairlistConfigStore();
|
const pairlistStore = usePairlistConfigStore();
|
||||||
const copyFromConfig = ref('');
|
const copyFromConfig = ref('');
|
||||||
|
|
|
@ -57,7 +57,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { usePairlistConfigStore } from '@/stores/pairlistConfig';
|
import { usePairlistConfigStore } from '@/stores/pairlistConfig';
|
||||||
import { Pairlist } from '@/types';
|
import { Pairlist } from '@/types';
|
||||||
import { computed } from 'vue';
|
|
||||||
|
|
||||||
const pairlistStore = usePairlistConfigStore();
|
const pairlistStore = usePairlistConfigStore();
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, watch } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { usePairlistConfigStore } from '@/stores/pairlistConfig';
|
import { usePairlistConfigStore } from '@/stores/pairlistConfig';
|
||||||
import ChartView from '@/views/ChartsView.vue';
|
import ChartView from '@/views/ChartsView.vue';
|
||||||
|
|
|
@ -91,7 +91,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, onMounted, ref, watch } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { usePairlistConfigStore } from '@/stores/pairlistConfig';
|
import { usePairlistConfigStore } from '@/stores/pairlistConfig';
|
||||||
import PairlistConfigItem from './PairlistConfigItem.vue';
|
import PairlistConfigItem from './PairlistConfigItem.vue';
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
import { formatPercent, formatPrice } from '@/shared/formatters';
|
import { formatPercent, formatPrice } from '@/shared/formatters';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { TableField } from 'bootstrap-vue-next';
|
import { TableField } from 'bootstrap-vue-next';
|
||||||
import { computed, onMounted, ref } from 'vue';
|
|
||||||
|
|
||||||
import { TimeSummaryOptions } from '@/types';
|
import { TimeSummaryOptions } from '@/types';
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
||||||
const botStore = useBotStore();
|
const botStore = useBotStore();
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { computed, onMounted } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: { type: String, required: true },
|
modelValue: { type: String, required: true },
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { dateFromString, dateStringToTimeRange, timestampToDateString } from '@/shared/formatters';
|
import { dateFromString, dateStringToTimeRange, timestampToDateString } from '@/shared/formatters';
|
||||||
import { ref, computed, onMounted, watch } from 'vue';
|
|
||||||
import Datepicker from '@vuepic/vue-datepicker';
|
import Datepicker from '@vuepic/vue-datepicker';
|
||||||
import '@vuepic/vue-datepicker/dist/main.css';
|
import '@vuepic/vue-datepicker/dist/main.css';
|
||||||
import { useSettingsStore } from '@/stores/settings';
|
import { useSettingsStore } from '@/stores/settings';
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, ref } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
value: { default: '', type: String },
|
value: { default: '', type: String },
|
||||||
belowTimeframe: { required: false, default: '', type: String },
|
belowTimeframe: { required: false, default: '', type: String },
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { Trade } from '@/types';
|
import { Trade } from '@/types';
|
||||||
import { ref } from 'vue';
|
|
||||||
import TradeActions from './TradeActions.vue';
|
import TradeActions from './TradeActions.vue';
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
|
|
|
@ -89,7 +89,6 @@
|
||||||
import { formatPercent, formatPrice } from '@/shared/formatters';
|
import { formatPercent, formatPrice } from '@/shared/formatters';
|
||||||
import { MultiDeletePayload, MultiForcesellPayload, Trade } from '@/types';
|
import { MultiDeletePayload, MultiForcesellPayload, Trade } from '@/types';
|
||||||
|
|
||||||
import { ref, computed, watch, onMounted } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
import { TableField, TableItem } from 'bootstrap-vue-next';
|
import { TableField, TableItem } from 'bootstrap-vue-next';
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { Trade } from '@/types';
|
import { Trade } from '@/types';
|
||||||
import { computed, ref, watch } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
import { formatPercent, timestampms } from '@/shared/formatters';
|
import { formatPercent, timestampms } from '@/shared/formatters';
|
||||||
import { Trade } from '@/types';
|
import { Trade } from '@/types';
|
||||||
|
|
||||||
import { computed, PropType } from 'vue';
|
|
||||||
|
|
||||||
type modes = 'default' | 'total' | 'realized';
|
type modes = 'default' | 'total' | 'realized';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|
|
@ -9,8 +9,6 @@ import {
|
||||||
timestampToDateString,
|
timestampToDateString,
|
||||||
} from '@/shared/formatters';
|
} from '@/shared/formatters';
|
||||||
|
|
||||||
import { computed } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
date: { required: true, type: Number },
|
date: { required: true, type: Number },
|
||||||
showTimezone: { required: false, type: Boolean, default: false },
|
showTimezone: { required: false, type: Boolean, default: false },
|
||||||
|
|
|
@ -61,8 +61,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref, watch } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: {
|
modelValue: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from 'vue';
|
|
||||||
|
|
||||||
export interface MsgBoxObject {
|
export interface MsgBoxObject {
|
||||||
title: string;
|
title: string;
|
||||||
message: string;
|
message: string;
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { formatPercent, formatPrice, formatPriceCurrency } from '@/shared/formatters';
|
import { formatPercent, formatPrice, formatPriceCurrency } from '@/shared/formatters';
|
||||||
|
|
||||||
import { computed } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
profitRatio: { required: false, default: undefined, type: Number },
|
profitRatio: { required: false, default: undefined, type: Number },
|
||||||
profitAbs: { required: false, default: undefined, type: Number },
|
profitAbs: { required: false, default: undefined, type: Number },
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
profit: { type: Number, required: true },
|
profit: { type: Number, required: true },
|
||||||
});
|
});
|
||||||
|
|
|
@ -134,7 +134,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import LoginModal from '@/views/LoginModal.vue';
|
import LoginModal from '@/views/LoginModal.vue';
|
||||||
import Favico from 'favico.js';
|
import Favico from 'favico.js';
|
||||||
import { ref, onBeforeUnmount, onMounted, watch } from 'vue';
|
|
||||||
import { OpenTradeVizOptions, useSettingsStore } from '@/stores/settings';
|
import { OpenTradeVizOptions, useSettingsStore } from '@/stores/settings';
|
||||||
import { useLayoutStore } from '@/stores/layout';
|
import { useLayoutStore } from '@/stores/layout';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { createPinia, PiniaVuePlugin } from 'pinia';
|
import { createPinia, PiniaVuePlugin } from 'pinia';
|
||||||
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
|
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
|
||||||
import { createApp } from 'vue';
|
|
||||||
import App from './App.vue';
|
import App from './App.vue';
|
||||||
// Eensure Bootstrap css still loads
|
// Eensure Bootstrap css still loads
|
||||||
import './plugins/bootstrap-vue';
|
import './plugins/bootstrap-vue';
|
||||||
|
|
|
@ -12,7 +12,7 @@ import {
|
||||||
PairlistsPayload,
|
PairlistsPayload,
|
||||||
TradingMode,
|
TradingMode,
|
||||||
} from '@/types';
|
} from '@/types';
|
||||||
import { computed, ref, toRaw, watch } from 'vue';
|
|
||||||
import { showAlert } from '../shared/alerts';
|
import { showAlert } from '../shared/alerts';
|
||||||
import { isNotUndefined } from '@/shared/formatters';
|
import { isNotUndefined } from '@/shared/formatters';
|
||||||
|
|
||||||
|
|
1
src/types/vue-grid-item.d.ts
vendored
1
src/types/vue-grid-item.d.ts
vendored
|
@ -1,6 +1,5 @@
|
||||||
/* eslint-disable max-classes-per-file */
|
/* eslint-disable max-classes-per-file */
|
||||||
// declare module 'vue-grid-layout' {
|
// declare module 'vue-grid-layout' {
|
||||||
// import Vue from 'vue';
|
|
||||||
|
|
||||||
// export class GridLayout extends Vue {}
|
// export class GridLayout extends Vue {}
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,6 @@
|
||||||
import { formatPercent } from '@/shared/formatters';
|
import { formatPercent } from '@/shared/formatters';
|
||||||
import { useBtStore } from '@/stores/btStore';
|
import { useBtStore } from '@/stores/btStore';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { computed, onMounted, ref, watch } from 'vue';
|
|
||||||
|
|
||||||
enum BtRunModes {
|
enum BtRunModes {
|
||||||
run = 'run',
|
run = 'run',
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref } from 'vue';
|
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
||||||
const botStore = useBotStore();
|
const botStore = useBotStore();
|
||||||
|
|
|
@ -157,8 +157,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, computed, onMounted } from 'vue';
|
|
||||||
|
|
||||||
import { DashboardLayout, findGridLayout, useLayoutStore } from '@/stores/layout';
|
import { DashboardLayout, findGridLayout, useLayoutStore } from '@/stores/layout';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { GridItemData } from '@/types';
|
import { GridItemData } from '@/types';
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import BotLogin from '@/components/BotLogin.vue';
|
import BotLogin from '@/components/BotLogin.vue';
|
||||||
import { AuthStorageWithBotId } from '@/types';
|
import { AuthStorageWithBotId } from '@/types';
|
||||||
import { nextTick, ref } from 'vue';
|
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
loginText: { required: false, default: 'Login', type: String },
|
loginText: { required: false, default: 'Login', type: String },
|
||||||
|
|
|
@ -148,7 +148,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { GridItemData } from '@/types';
|
import { GridItemData } from '@/types';
|
||||||
|
|
||||||
import { ref, computed } from 'vue';
|
|
||||||
import { useLayoutStore, findGridLayout, TradeLayout } from '@/stores/layout';
|
import { useLayoutStore, findGridLayout, TradeLayout } from '@/stores/layout';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user