-
-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow input values for sliders
- Loading branch information
Showing
10 changed files
with
115 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<template> | ||
<collapsable-card | ||
title="Fans / Outputs" | ||
icon="$printer3dNozzle" | ||
:draggable="true" | ||
:inLayout="inLayout" | ||
:enabled="enabled" | ||
menu-breakpoint="lg" | ||
@enabled="$emit('enabled', $event)"> | ||
|
||
<v-card-text> | ||
<v-row justify="space-between"> | ||
<v-col cols="6"> | ||
<fans-widget></fans-widget> | ||
</v-col> | ||
|
||
<v-col cols="6"> | ||
<output-pins-widget></output-pins-widget> | ||
</v-col> | ||
</v-row> | ||
</v-card-text> | ||
|
||
</collapsable-card> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { Component, Mixins, Prop } from 'vue-property-decorator' | ||
import UtilsMixin from '@/mixins/utils' | ||
import FansWidget from '@/components/widgets/FansWidget.vue' | ||
import OutputPinsWidget from '@/components/widgets/OutputPinsWidget.vue' | ||
@Component({ | ||
components: { | ||
FansWidget, | ||
OutputPinsWidget | ||
} | ||
}) | ||
export default class OutputsCard extends Mixins(UtilsMixin) { | ||
@Prop({ type: Boolean, default: true }) | ||
enabled!: boolean | ||
get inLayout (): boolean { | ||
return (this.$store.state.config.layoutMode) | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters