forked from simwrapper/simwrapper
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(aggregate-od): Aggregate O/D Spider diagrams learned to be in da…
…shboards - chart type "aggregate" - Also learned English!
- Loading branch information
Showing
6 changed files
with
207 additions
and
110 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,48 @@ | ||
<template lang="pug"> | ||
aggregate-od.deck-map( | ||
:root="fileSystemConfig.slug" | ||
:subfolder="subfolder" | ||
:config="config" | ||
:thumbnail="false" | ||
) | ||
|
||
</template> | ||
|
||
<script lang="ts"> | ||
import { Vue, Component, Watch, Prop } from 'vue-property-decorator' | ||
import { FileSystemConfig } from '@/Globals' | ||
import AggregateOd from '@/plugins/aggregate-od/AggregateOd.vue' | ||
@Component({ components: { AggregateOd } }) | ||
export default class VueComponent extends Vue { | ||
@Prop({ required: true }) fileSystemConfig!: FileSystemConfig | ||
@Prop({ required: true }) subfolder!: string | ||
@Prop({ required: true }) files!: string[] | ||
@Prop({ required: true }) config!: any | ||
private mounted() { | ||
// console.log(this.fileSystemConfig) | ||
// console.log('subfolder', this.subfolder) | ||
// console.log('config', this.config) | ||
this.$emit('isLoaded') | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
@import '@/styles.scss'; | ||
.deck-map { | ||
position: absolute; | ||
top: 0; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
@media only screen and (max-width: 640px) { | ||
} | ||
</style> |
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
Oops, something went wrong.