<template>
    <v-dialog
        v-model="dialog" 
        persistent 
        :overlay="false"
        max-width="640px"
        transition="dialog-transition"
    >
        <v-card>
            <v-card-title primary-title color="orange">
                DUPLIKASI PAKET
            </v-card-title>

            <v-card-text>
                <v-layout row wrap>
                    <v-flex xs12>
                        <one-md-packet-copy-list></one-md-packet-copy-list>
                    </v-flex>
                </v-layout>
            </v-card-text>

            <v-card-actions>
                <v-spacer></v-spacer>
                <v-btn color="primary" flat dark @click="dialog=!dialog">Tutup</v-btn>
            </v-card-actions>
        </v-card>
    </v-dialog>
</template>

<script>
module.exports = {
    components : {
        'one-md-packet-copy-list': httpVueLoader('./oneMdPacketCopyList.vue')
    },

    data() {
        return {
        }
    },

    computed : {
        dialog : {
            get() { return this.$store.state.packet_copy.dialog_copy },
            set(v) { this.$store.commit('packet_copy/update_dialog_copy', v) }
        }
    }
}
</script>