Removed unused story files

This commit is contained in:
Thaum Rystra
2020-05-21 12:49:40 +02:00
parent 13a0d66433
commit b640ce457f
15 changed files with 0 additions and 763 deletions

View File

@@ -1,42 +0,0 @@
<template>
<dialog-base>
<v-toolbar-title slot="toolbar">
Test Dialog
</v-toolbar-title>
<div>
<v-btn
data-id="btn"
@click="openDialog('btn')"
>
Open Dialog
</v-btn>
<v-btn
fab
data-id="fab"
color="green"
@click="openDialog('fab')"
>
Open Dialog
</v-btn>
</div>
</dialog-base>
</template>
<script>
import store from '/imports/ui/vuexStore.js';
import DialogBase from '/imports/ui/dialogStack/DialogBase.vue';
const component = {
methods: {
openDialog(elementId){
store.commit('pushDialogStack', {
component,
elementId,
});
}
},
components: {
DialogBase,
},
};
export default component;
</script>

View File

@@ -1,26 +0,0 @@
<template lang="html">
<v-card-text>
<v-layout align-center justify-center>
<v-btn @click="openDialog('btn')" data-id="btn">
Open Dialog
</v-btn>
</v-layout>
</v-card-text>
</template>
<script>
import DialogBaseStory from '/imports/ui/dialogStack/DialogBase.Story.vue';
export default {
methods: {
openDialog(elementId){
this.$store.commit("pushDialogStack", {
// DO NOT store your component in the store like this outside the storybook
// You should register the dialog component in DialogComponentIndex.js
// and commit it to the store as a string: "dialog-base-story"
component: DialogBaseStory,
elementId,
});
}
},
}
</script>