2018-02-13 00:24:44 +01:00
|
|
|
<template>
|
2018-09-17 22:35:06 +02:00
|
|
|
<mk-window ref="window" is-modal width="700px" height="550px" @closed="destroyDom">
|
2018-11-05 17:40:11 +01:00
|
|
|
<span slot="header" :class="$style.header"><fa icon="cog"/>%i18n:@settings%</span>
|
2018-09-17 02:00:20 +02:00
|
|
|
<mk-settings :initial-page="initialPage" @done="close"/>
|
2018-02-13 00:24:44 +01:00
|
|
|
</mk-window>
|
|
|
|
</template>
|
|
|
|
|
2018-02-18 15:51:41 +01:00
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
2018-02-22 18:06:35 +01:00
|
|
|
export default Vue.extend({
|
2018-09-17 02:00:20 +02:00
|
|
|
props: {
|
|
|
|
initialPage: {
|
|
|
|
type: String,
|
|
|
|
required: false
|
|
|
|
}
|
|
|
|
},
|
2018-02-22 18:06:35 +01:00
|
|
|
methods: {
|
|
|
|
close() {
|
|
|
|
(this as any).$refs.window.close();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
2018-02-18 15:51:41 +01:00
|
|
|
</script>
|
|
|
|
|
2018-02-13 00:24:44 +01:00
|
|
|
<style lang="stylus" module>
|
|
|
|
.header
|
2018-11-05 17:40:11 +01:00
|
|
|
> [data-icon]
|
2018-02-13 00:24:44 +01:00
|
|
|
margin-right 4px
|
|
|
|
|
|
|
|
</style>
|