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