chunk-56c26bf6.abc46cff.js
13.6 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56c26bf6"],{"0bc6":function(t,e,i){},2677:function(t,e,i){"use strict";var n=i("8654");e["a"]=n["a"]},"504e":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("v-toolbar",{attrs:{flat:""}},[i("v-toolbar-title",[t._v("파일 ")]),i("v-spacer"),i("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"파일 검색","single-line":"","hide-details":""},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}})],1),i("v-list",{attrs:{"two-line":"",subheader:""}},[i("v-subheader",{attrs:{inset:""}},[t._v("Folders")]),t._l(t.items,(function(e){return i("v-list-item",{key:e.title,on:{click:function(t){}}},[i("v-list-item-avatar",[i("v-icon",[t._v(t._s(e.iconClass))])],1),i("v-list-item-content",[i("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),i("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),i("v-list-item-action",[i("v-btn",{attrs:{icon:""}},[i("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)})),i("v-divider",{attrs:{inset:""}}),i("v-subheader",{attrs:{inset:""}},[t._v("Files")]),t._l(t.items2,(function(e){return i("v-list-item",{key:e.title,on:{click:function(t){}}},[i("v-list-item-avatar",[i("v-icon",[t._v(" "+t._s(e.iconClass))])],1),i("v-list-item-content",[i("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),i("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),i("v-list-item-action",[i("v-btn",{attrs:{icon:""}},[i("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)}))],2),i("v-file-input",{attrs:{color:"deep-purple accent-4",counter:"",label:"업로드",multiple:"",placeholder:"파일을 화면으로 드래그앤 드롭 하거나, 이곳을 클릭하세요.","prepend-icon":"mdi-paperclip",outlined:"","show-size":1e3},scopedSlots:t._u([{key:"selection",fn:function(e){var n=e.index,s=e.text;return[n<2?i("v-chip",{attrs:{color:"deep-purple accent-4",dark:"",label:"",small:""}},[t._v(" "+t._s(s)+" ")]):2===n?i("span",{staticClass:"overline grey--text text--darken-3 mx-2"},[t._v(" +"+t._s(t.files.length-2)+" File(s) ")]):t._e()]}}]),model:{value:t.files,callback:function(e){t.files=e},expression:"files"}})],1)},s=[],a={data:function(){return{items:[{icon:"folder",iconClass:"mdi-folder",title:"Photos",subtitle:"Jan 9, 2014"},{icon:"folder",iconClass:"mdi-folder",title:"Recipes",subtitle:"Jan 17, 2014"},{icon:"folder",iconClass:"mdi-folder",title:"Work",subtitle:"Jan 28, 2014"}],items2:[{icon:"assignment",iconClass:"mdi-file",title:"Vacation itinerary",subtitle:"Jan 20, 2014"},{icon:"call_to_action",iconClass:"mdi-PdfBox",title:"Kitchen remodel",subtitle:"Jan 10, 2014"}]}}},l=a,o=i("2877"),r=i("6544"),c=i.n(r),u=i("8336"),h=i("cc20"),d=i("ce7e"),p=(i("99af"),i("a623"),i("4160"),i("caad"),i("d81d"),i("13d5"),i("fb6a"),i("a434"),i("b0c0"),i("a9e3"),i("159b"),i("2909")),v=i("5530"),f=i("53ca"),m=(i("5803"),i("2677")),b=i("80d2"),g=i("d9bd"),C=m["a"].extend({name:"v-file-input",model:{prop:"value",event:"change"},props:{chips:Boolean,clearable:{type:Boolean,default:!0},counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},placeholder:String,prependIcon:{type:String,default:"$file"},readonly:{type:Boolean,default:!1},showSize:{type:[Boolean,Number],default:!1,validator:function(t){return"boolean"===typeof t||[1e3,1024].includes(t)}},smallChips:Boolean,truncateLength:{type:[Number,String],default:22},type:{type:String,default:"file"},value:{default:void 0,validator:function(t){return Object(b["D"])(t).every((function(t){return null!=t&&"object"===Object(f["a"])(t)}))}}},computed:{classes:function(){return Object(v["a"])(Object(v["a"])({},m["a"].options.computed.classes.call(this)),{},{"v-file-input":!0})},computedCounterValue:function(){var t=this.isMultiple&&this.lazyValue?this.lazyValue.length:this.lazyValue instanceof File?1:0;if(!this.showSize)return this.$vuetify.lang.t(this.counterString,t);var e=this.internalArrayValue.reduce((function(t,e){var i=e.size,n=void 0===i?0:i;return t+n}),0);return this.$vuetify.lang.t(this.counterSizeString,t,Object(b["t"])(e,1024===this.base))},internalArrayValue:function(){return Object(b["D"])(this.internalValue)},internalValue:{get:function(){return this.lazyValue},set:function(t){this.lazyValue=t,this.$emit("change",this.lazyValue)}},isDirty:function(){return this.internalArrayValue.length>0},isLabelActive:function(){return this.isDirty},isMultiple:function(){return this.$attrs.hasOwnProperty("multiple")},text:function(){var t=this;return this.isDirty?this.internalArrayValue.map((function(e){var i=e.name,n=void 0===i?"":i,s=e.size,a=void 0===s?0:s,l=t.truncateText(n);return t.showSize?"".concat(l," (").concat(Object(b["t"])(a,1024===t.base),")"):l})):[this.placeholder]},base:function(){return"boolean"!==typeof this.showSize?this.showSize:void 0},hasChips:function(){return this.chips||this.smallChips}},watch:{readonly:{handler:function(t){!0===t&&Object(g["b"])("readonly is not supported on <v-file-input>",this)},immediate:!0},value:function(t){var e=this.isMultiple?t:t?[t]:[];Object(b["i"])(e,this.$refs.input.files)||(this.$refs.input.value="")}},methods:{clearableCallback:function(){this.internalValue=this.isMultiple?[]:void 0,this.$refs.input.value=""},genChips:function(){var t=this;return this.isDirty?this.text.map((function(e,i){return t.$createElement(h["a"],{props:{small:t.smallChips},on:{"click:close":function(){var e=t.internalValue;e.splice(i,1),t.internalValue=e}}},[e])})):[]},genInput:function(){var t=m["a"].options.methods.genInput.call(this);return delete t.data.domProps.value,delete t.data.on.input,t.data.on.change=this.onInput,[this.genSelections(),t]},genPrependSlot:function(){var t=this;if(!this.prependIcon)return null;var e=this.genIcon("prepend",(function(){t.$refs.input.click()}));return this.genSlot("prepend","outer",[e])},genSelectionText:function(){var t=this.text.length;return t<2?this.text:this.showSize&&!this.counter?[this.computedCounterValue]:[this.$vuetify.lang.t(this.counterString,t)]},genSelections:function(){var t=this,e=[];return this.isDirty&&this.$scopedSlots.selection?this.internalArrayValue.forEach((function(i,n){t.$scopedSlots.selection&&e.push(t.$scopedSlots.selection({text:t.text[n],file:i,index:n}))})):e.push(this.hasChips&&this.isDirty?this.genChips():this.genSelectionText()),this.$createElement("div",{staticClass:"v-file-input__text",class:{"v-file-input__text--placeholder":this.placeholder&&!this.isDirty,"v-file-input__text--chips":this.hasChips&&!this.$scopedSlots.selection}},e)},genTextFieldSlot:function(){var t=this,e=m["a"].options.methods.genTextFieldSlot.call(this);return e.data.on=Object(v["a"])(Object(v["a"])({},e.data.on||{}),{},{click:function(){return t.$refs.input.click()}}),e},onInput:function(t){var e=Object(p["a"])(t.target.files||[]);this.internalValue=this.isMultiple?e:e[0],this.initialValue=this.internalValue},onKeyDown:function(t){this.$emit("keydown",t)},truncateText:function(t){if(t.length<Number(this.truncateLength))return t;var e=Math.floor((Number(this.truncateLength)-1)/2);return"".concat(t.slice(0,e),"…").concat(t.slice(t.length-e))}}}),y=i("132d"),x=i("8860"),V=i("da13"),_=i("1800"),S=i("8270"),$=i("5d23"),k=i("2fa4"),O=i("e0c7"),j=i("8654"),I=i("71d9"),w=i("2a7f"),B=Object(o["a"])(l,n,s,!1,null,null,null);e["a"]=B.exports;c()(B,{VBtn:u["a"],VChip:h["a"],VDivider:d["a"],VFileInput:C,VIcon:y["a"],VList:x["a"],VListItem:V["a"],VListItemAction:_["a"],VListItemAvatar:S["a"],VListItemContent:$["a"],VListItemSubtitle:$["b"],VListItemTitle:$["c"],VSpacer:k["a"],VSubheader:O["a"],VTextField:j["a"],VToolbar:I["a"],VToolbarTitle:w["a"]})},5803:function(t,e,i){},"8adc":function(t,e,i){},"8ce9":function(t,e,i){},cc20:function(t,e,i){"use strict";i("4de4"),i("4160");var n=i("3835"),s=i("5530"),a=(i("8adc"),i("58df")),l=i("0789"),o=i("9d26"),r=i("a9ad"),c=i("4e82"),u=i("7560"),h=i("f2e7"),d=i("1c87"),p=i("af2b"),v=i("d9bd");e["a"]=Object(a["a"])(r["a"],p["a"],d["a"],u["a"],Object(c["a"])("chipGroup"),Object(h["b"])("inputValue")).extend({name:"v-chip",props:{active:{type:Boolean,default:!0},activeClass:{type:String,default:function(){return this.chipGroup?this.chipGroup.activeClass:""}},close:Boolean,closeIcon:{type:String,default:"$delete"},disabled:Boolean,draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,outlined:Boolean,pill:Boolean,tag:{type:String,default:"span"},textColor:String,value:null},data:function(){return{proxyClass:"v-chip--active"}},computed:{classes:function(){return Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])({"v-chip":!0},d["a"].options.computed.classes.call(this)),{},{"v-chip--clickable":this.isClickable,"v-chip--disabled":this.disabled,"v-chip--draggable":this.draggable,"v-chip--label":this.label,"v-chip--link":this.isLink,"v-chip--no-color":!this.color,"v-chip--outlined":this.outlined,"v-chip--pill":this.pill,"v-chip--removable":this.hasClose},this.themeClasses),this.sizeableClasses),this.groupClasses)},hasClose:function(){return Boolean(this.close)},isClickable:function(){return Boolean(d["a"].options.computed.isClickable.call(this)||this.chipGroup)}},created:function(){var t=this,e=[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]];e.forEach((function(e){var i=Object(n["a"])(e,2),s=i[0],a=i[1];t.$attrs.hasOwnProperty(s)&&Object(v["a"])(s,a,t)}))},methods:{click:function(t){this.$emit("click",t),this.chipGroup&&this.toggle()},genFilter:function(){var t=[];return this.isActive&&t.push(this.$createElement(o["a"],{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement(l["b"],t)},genClose:function(){var t=this;return this.$createElement(o["a"],{staticClass:"v-chip__close",props:{right:!0,size:18},on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.$emit("click:close"),t.$emit("update:active",!1)}}},this.closeIcon)},genContent:function(){return this.$createElement("span",{staticClass:"v-chip__content"},[this.filter&&this.genFilter(),this.$slots.default,this.hasClose&&this.genClose()])}},render:function(t){var e=[this.genContent()],i=this.generateRouteLink(),n=i.tag,a=i.data;a.attrs=Object(s["a"])(Object(s["a"])({},a.attrs),{},{draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:a.attrs.tabindex}),a.directives.push({name:"show",value:this.active}),a=this.setBackgroundColor(this.color,a);var l=this.textColor||this.outlined&&this.color;return t(n,this.setTextColor(l,a),e)}})},ce7e:function(t,e,i){"use strict";var n=i("5530"),s=(i("8ce9"),i("7560"));e["a"]=s["a"].extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render:function(t){var e;return this.$attrs.role&&"separator"!==this.$attrs.role||(e=this.vertical?"vertical":"horizontal"),t("hr",{class:Object(n["a"])({"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical},this.themeClasses),attrs:Object(n["a"])({role:"separator","aria-orientation":e},this.$attrs),on:this.$listeners})}})},e0c7:function(t,e,i){"use strict";var n=i("5530"),s=(i("0bc6"),i("7560")),a=i("58df");e["a"]=Object(a["a"])(s["a"]).extend({name:"v-subheader",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"v-subheader",class:Object(n["a"])({"v-subheader--inset":this.inset},this.themeClasses),attrs:this.$attrs,on:this.$listeners},this.$slots.default)}})},e494:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-card",{staticClass:"mx-auto",attrs:{"max-width":"98%"}},[i("v-toolbar",{attrs:{color:"light-blue",dark:""}},[i("v-toolbar-title",[t._v("즐겨찾기")]),i("v-spacer")],1),i("v-list",{attrs:{"two-line":"",subheader:""}},[t._l(t.items,(function(e){return i("v-list-item",{key:e.title,on:{click:function(t){}}},[i("v-list-item-avatar",[i("v-icon",{class:[e.iconClass],domProps:{textContent:t._s(e.icon)}})],1),i("v-list-item-content",[i("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),i("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),i("v-list-item-action",[i("v-btn",{attrs:{icon:""}},[i("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)})),t._l(t.items2,(function(e){return i("v-list-item",{key:e.title,on:{click:function(t){}}},[i("v-list-item-avatar",[i("v-icon",{class:[e.iconClass],domProps:{textContent:t._s(e.icon)}})],1),i("v-list-item-content",[i("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),i("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),i("v-list-item-action",[i("v-btn",{attrs:{icon:""}},[i("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)}))],2)],1)},s=[],a={data:function(){return{items:[{icon:"folder",iconClass:"grey lighten-1 white--text",title:"Photos",subtitle:"Jan 9, 2014"},{icon:"folder",iconClass:"grey lighten-1 white--text",title:"Recipes",subtitle:"Jan 17, 2014"},{icon:"folder",iconClass:"grey lighten-1 white--text",title:"Work",subtitle:"Jan 28, 2014"}],items2:[{icon:"assignment",iconClass:"blue white--text",title:"Vacation itinerary",subtitle:"Jan 20, 2014"},{icon:"call_to_action",iconClass:"amber white--text",title:"Kitchen remodel",subtitle:"Jan 10, 2014"}]}}},l=a,o=i("2877"),r=i("6544"),c=i.n(r),u=i("8336"),h=i("b0af"),d=i("132d"),p=i("8860"),v=i("da13"),f=i("1800"),m=i("8270"),b=i("5d23"),g=i("2fa4"),C=i("71d9"),y=i("2a7f"),x=Object(o["a"])(l,n,s,!1,null,null,null);e["a"]=x.exports;c()(x,{VBtn:u["a"],VCard:h["a"],VIcon:d["a"],VList:p["a"],VListItem:v["a"],VListItemAction:f["a"],VListItemAvatar:m["a"],VListItemContent:b["a"],VListItemSubtitle:b["b"],VListItemTitle:b["c"],VSpacer:g["a"],VToolbar:C["a"],VToolbarTitle:y["a"]})}}]);
//# sourceMappingURL=chunk-56c26bf6.abc46cff.js.map