text: (window.webpackJsonp=window.webpackJsonp||[]).push([[31],{731:function(t,e,o){"use strict";o.r(e);o(27),o(220);var n={props:{show:Boolean,collection:Object,collectionIndex:Number},components:{modal:function(){return o.e(0).then(o.bind(null,738))}},data:function(){return{name:void 0}},methods:{addNewFolder:function(){this.$store.commit("postwoman/addNewFolder",{folder:{name:this.$data.name},collectionIndex:this.$props.collectionIndex}),this.hideModal()},hideModal:function(){this.$emit("hide-modal")}}},l=o(33),component=Object(l.a)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return t.show?o("modal",{on:{close:function(e){t.show=!1}}},[o("div",{attrs:{slot:"header"},slot:"header"},[o("ul",[o("li",[o("div",{staticClass:"flex-wrap"},[o("h3",{staticClass:"title"},[t._v("新的目录")]),t._v(" "),o("div",[o("button",{staticClass:"icon",on:{click:t.hideModal}},[o("i",{staticClass:"material-icons"},[t._v("close")])])])])])])]),t._v(" "),o("div",{attrs:{slot:"body"},slot:"body"},[o("ul",[o("li",[o("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],attrs:{type:"text",placeholder:"我的新目录"},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}})])])]),t._v(" "),o("div",{attrs:{slot:"footer"},slot:"footer"},[o("ul",[o("li",[o("button",{staticClass:"icon",on:{click:t.addNewFolder}},[o("i",{staticClass:"material-icons"},[t._v("add")]),t._v(" "),o("span",[t._v("创建")])])])])])]):t._e()}),[],!1,null,null,null);e.default=component.exports}}]);