!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("VueSelectl",[],e):"object"==typeof exports?exports.VueSelectl=e():t.VueSelectl=e()}(this,function(){return function(t){function e(a){if(i[a])return i[a].exports;var s=i[a]={i:a,l:!1,exports:{}};return t[a].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,a){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=3)}([function(t,e){t.exports=function(t,e,i,a,s,n){var c,o=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(c=t,o=t.default);var h="function"==typeof o?o.options:o;e&&(h.render=e.render,h.staticRenderFns=e.staticRenderFns,h._compiled=!0),i&&(h.functional=!0),s&&(h._scopeId=s);var l;if(n?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(n)},h._ssrRegister=l):a&&(l=a),l){var u=h.functional,d=u?h.render:h.beforeCreate;u?(h._injectStyles=l,h.render=function(t,e){return l.call(e),d(t,e)}):h.beforeCreate=d?[].concat(d,l):[l]}return{esModule:c,exports:o,options:h}}},function(t,e,i){/*! pinyin-engine@1.0.1 | https://github.com/aui/pinyin-engine#readme */ !function(e,i){t.exports=i()}(0,function(){return function(t){function e(a){if(i[a])return i[a].exports;var s=i[a]={i:a,l:!1,exports:{}};return t[a].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,a){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=2)}([function(t,e,i){"use strict";var a=function(){function t(t,e){var i=[],a=!0,s=!1,n=void 0;try{for(var c,o=t[Symbol.iterator]();!(a=(c=o.next()).done)&&(i.push(c.value),!e||i.length!==e);a=!0);}catch(t){s=!0,n=t}finally{try{!a&&o.return&&o.return()}finally{if(s)throw n}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.exports=function(t){var e=a(t,1)[0],i=t[1].split(","),s={};if(!t.length)return s;for(var n=0,c=0,o=e.length;n1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};a(this,t),this.indexs=[],this.history={keyword:"",indexs:[],data:[]},this.data=e,this.dict=s,i="string"==typeof i?[i]:i;var n=!0,c=!1,o=void 0;try{for(var r,h=e[Symbol.iterator]();!(n=(r=h.next()).done);n=!0){var l=r.value,u="";if("string"==typeof l)u=t.participle(l,s);else{var d=!0,f=!1,p=void 0;try{for(var g,m=i[Symbol.iterator]();!(d=(g=m.next()).done);d=!0){var v=l[g.value];v&&(u+=t.participle(v,s))}}catch(t){f=!0,p=t}finally{try{!d&&m.return&&m.return()}finally{if(f)throw p}}}this.indexs.push(u)}}catch(t){c=!0,o=t}finally{try{!n&&h.return&&h.return()}finally{if(c)throw o}}}return s(t,[{key:"query",value:function(t){t=t.replace(/\s/g,"").toLowerCase();var e=this.indexs,i=this.data,a=this.history,s=[];a.data.length&&0===t.indexOf(a.keyword)&&(e=a.indexs,i=a.data),a.keyword=t,a.indexs=[];for(var n=0;n1&&a[1].push(h.map(function(t){return t.charAt(0)})))}}catch(t){n=!0,c=t}finally{try{!s&&r.return&&r.return()}finally{if(n)throw c}}var l=!0,u=!1,d=void 0;try{for(var f,p=a[Symbol.iterator]();!(l=(f=p.next()).done);l=!0){for(var g=f.value,m=g.shift();g.length;){var v=[],y=g.shift(),k=!0,b=!1,_=void 0;try{for(var S,D=m[Symbol.iterator]();!(k=(S=D.next()).done);k=!0){var x=S.value,w=!0,L=!1,O=void 0;try{for(var N,C=y[Symbol.iterator]();!(w=(N=C.next()).done);w=!0){var j=N.value;v.push(x+j)}}catch(t){L=!0,O=t}finally{try{!w&&C.return&&C.return()}finally{if(L)throw O}}}}catch(t){b=!0,_=t}finally{try{!k&&D.return&&D.return()}finally{if(b)throw _}}m=v}m&&(i+=""+m.join(""))}}catch(t){u=!0,d=t}finally{try{!l&&p.return&&p.return()}finally{if(u)throw d}}return i}}]),t}();t.exports=n},function(t,e,i){"use strict";function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(){function t(t,e){for(var i=0;i!e[t.id]&&(e[t.id]=!0))}e.b=a,e.a=function(t,e){if(!e)return[];let i=[],s=new n.a(t,["name"]);s.query(e).length&&(i=s.query(e));for(let a=0;a<=t.length-1;a++)~t[a].name.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())?i.push(t[a]):~t[a].englishName.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())?i.push(t[a]):~(t[a].id+"").indexOf(e)&&i.push(t[a]);return i=a(i)};var s=i(1),n=i.n(s)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i(4);const s={};s.install=function(t,e){t.component(a.a.name,a.a)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(s),e.default=s},function(t,e,i){"use strict";var a=i(6),s=i(15),n=!1,c=i(0)(a.a,s.a,!1,function(t){n||i(5)},"data-v-f7fdbd0c",null);c.options.__file="src\\Select.vue",c.esModule&&Object.keys(c.esModule).some(function(t){return"default"!==t&&"__"!==t.substr(0,2)}),e.a=c.exports},function(t,e){},function(t,e,i){"use strict";var a=i(7),s=i(1),n=(i.n(s),i(2));e.a={name:"vueSelectl",props:{customdatas:{type:Object,default:function(){return{}}},initcurlists:{type:Array,default:function(){return[]}},limit:{type:Number,default:0}},data(){return{model:!1,quickSearch:"",isSearch:!1,datas:this.customdatas,initDatas:this.customdatas,curLists:[],noCheckItem:"",initData:this.initcurlists}},created(){this.init(this.datas,this.initData)},watch:{initcurlists(t,e){if(this.initData=t,Object.keys(this.datas).length)this.init(this.datas,t);else{let e=setInterval(()=>{Object.keys(this.datas).length&&(clearInterval(e),this.init(this.datas,t))},0)}},initData(t,e){this.$emit("updateinit",t)}},computed:{optionalLists(){let t=[];const e=i=>{i.child.forEach(i=>{i.child?e(i):t.push(i)})};return this.datas.name?(e(this.datas),t):[]}},methods:{init(t,e){let i=0,a=[];const s=(t,e)=>{t.child.forEach(t=>{t.child?s(t,e):~e.indexOf(t.id)&&(i++,this.limit&&i>this.limit||a.push(t))})};s(t,e),this.curLists=[],this.initData.forEach(t=>{a.forEach(e=>{t===e.id&&this.curLists.push(e)})}),this.curLists=Object(n.b)(this.curLists),this.curLists.length>this.limit&&(this.curLists=this.curLists.slice(-this.limit)),this.initChooseItem(this.curLists)},reset(t){this.initData=t,this.datas=JSON.parse(JSON.stringify(this.initDatas)),this.curLists=[],this.$nextTick(()=>{this.init(this.datas,this.initData)})},showSelectDialog(){this.model=!this.model},initChooseItem(t){this.datas=JSON.parse(JSON.stringify(this.initDatas)),t.forEach(t=>{this.checkedInitData(this.datas,!0,t)})},chooseItem(t){this.quickSearch="",this.curLists.push(t),this.curLists=Object(n.b)(this.curLists),this.curLists.length>this.limit&&(this.noCheckItem=this.curLists.slice(0,this.curLists.length-this.limit)[0].id),this.checkedData(this.datas,!0,t),this.noCheckItem="",this.curLists=Object(n.b)(this.curLists).slice(-this.limit);let e=[];this.curLists.forEach(t=>{e.push(t.id)}),this.initData=[...e],this.$emit("checkitem",this.curLists)},removeItem(t){this.checkedData(this.datas,!1,t);let e;if(this.curLists.length){for(let i=0;i<=this.curLists.length-1;i++)if(this.curLists[i].id===t.id){e=i;break}this.curLists.splice(e,1)}this.curLists=Object(n.b)(this.curLists);let i=[];this.curLists.forEach(t=>{i.push(t.id)}),this.initData=[...i],this.$emit("checkitem",this.curLists)},checkedInitData(t,e,i){const a=(t,e,i)=>{if(i){let s=0;t.child.forEach(n=>{n.id===i.id?(n.checked=e,n.child&&n.child.length&&a(n,e)):n.child&&n.child.length&&a(n,e,i),n.checked&&s++,s===t.child.length?t.checked=!0:t.checked=!1})}else t.child.forEach(t=>{t.checked=e,t.child&&t.child.length&&a(t,e)});t.nodeSelectNotAll=t.child.some(t=>t.checked)||t.child.some(t=>t.nodeSelectNotAll)};a(t,e,i),i.id===this.initData[this.initData.length-1]&&this.$emit("checkitem",this.curLists)},checkedData(t,e,i){if(i){let a=0;t.child.forEach(s=>{this.limit&&this.noCheckItem&&s.id===this.noCheckItem&&(s.checked=!1),s.id===i.id?(s.checked=e,s.child&&s.child.length&&this.checkedData(s,e)):s.child&&s.child.length&&this.checkedData(s,e,i),s.checked&&a++,a===t.child.length?t.checked=!0:t.checked=!1})}else t.child.forEach(t=>{t.checked=e,t.child&&t.child.length&&this.checkedData(t,e)});t.nodeSelectNotAll=t.child.some(t=>t.checked)||t.child.some(t=>t.nodeSelectNotAll)},filter:(t,e)=>Object(n.a)(t,e),isFocusSearch(t){"focus"===t?this.isSearch=!0:"no"===t&&this.quickSearch?this.isSearch=!0:this.isSearch=!1},hide(t){if(this.model=!1,t){this.curLists=JSON.parse(JSON.stringify(t));let e=[];this.curLists.forEach(t=>{e.push(t.id)}),this.initData=[...e],this.$emit("checkitem",this.curLists)}},resetDatas(t){this.datas=JSON.parse(JSON.stringify(t))}},components:{SelectDialog:a.a}}},function(t,e,i){"use strict";var a=i(9),s=i(14),n=!1,c=i(0)(a.a,s.a,!1,function(t){n||i(8)},"data-v-3152e562",null);c.options.__file="src\\SelectDialog.vue",c.esModule&&Object.keys(c.esModule).some(function(t){return"default"!==t&&"__"!==t.substr(0,2)}),e.a=c.exports},function(t,e){},function(t,e,i){"use strict";var a=i(10),s=i(1),n=(i.n(s),i(2));e.a={name:"select-dialog",props:{model:{type:Boolean,default:!1},datas:{type:Object,default:function(){return{}}},limit:{type:Number,default:0},initCurLists:{type:Array,default:function(){return[]}}},data:()=>({searchLeft:"",searchRight:"",isLeftSearch:!1,isRightSearch:!1,historyDatas:{},checkDatas:[],sortDatas:[]}),created(){const t=e=>{e.child.forEach(e=>{e.child?t(e):e.checked&&(this.checkDatas.push(e),this.sortDatas.push(e))})};t(this.datas);let e=[];this.initCurLists.forEach(t=>{this.checkDatas.forEach(i=>{t===i.id&&e.push(i)})}),this.checkDatas=JSON.parse(JSON.stringify(e)),this.sortDatas=JSON.parse(JSON.stringify(e))},computed:{optionalLength(){let t=0;const e=i=>{i.child.forEach(i=>{i.child?e(i):t++})};return this.datas.name?(e(this.datas),t):0},optionalLists(){let t=[];const e=i=>{i.child.forEach(i=>{i.child?e(i):t.push(i)})};return this.datas.name?(e(this.datas),t):[]}},watch:{model(t,e){t&&(this.historyDatas=JSON.parse(JSON.stringify(this.datas)))},datas:{handler(t,e){const i=t=>{t.child.forEach(t=>{if(t.child)i(t);else if(t.checked&&t.id)this.checkDatas.push(t);else for(let e=0;e<=this.checkDatas.length-1;e++)if(this.checkDatas[e].id===t.id){this.checkDatas.splice(e,1);break}})};t.name&&(i(t),this.checkDatas=Object(n.b)(this.checkDatas))},deep:!0}},methods:{nodeNotAll(t){t.nodeSelectNotAll=!1,t.child.forEach(t=>{t.nodeSelectNotAll=!1,t.child&&t.child.length&&this.nodeNotAll(t)})},checkedData(t,e,i){if(i){let a=0;t.child.forEach(s=>{s.id===i.id?(s.checked=e,s.child&&s.child.length&&this.checkedData(s,e)):s.child&&s.child.length&&this.checkedData(s,e,i),s.checked&&a++,a===t.child.length?t.checked=!0:t.checked=!1})}else t.child.forEach(t=>{t.checked=e,t.child&&t.child.length&&this.checkedData(t,e)});t.nodeSelectNotAll=t.child.some(t=>t.checked)||t.child.some(t=>t.nodeSelectNotAll)},forEachDatas(t,e,i,a){i?this.checkedData(this.datas,a,i):("all"===e?t.checked=!0:"none"===e&&(t.checked=!1),t.child.forEach(t=>{t.child&&t.child.length?this.forEachDatas(t,e):"all"===e?t.checked=!0:"none"===e&&(t.checked=!1)}))},handleData(t,e,i){"all"===t?(this.forEachDatas(this.datas,"all"),this.nodeNotAll(this.datas)):"none"===t?(this.forEachDatas(this.datas,"none"),this.nodeNotAll(this.datas),this.checkDatas=[]):"other"===t&&this.forEachDatas(this.datas,"other",e,i)},removeAll(){this.handleData("none")},removeItem(t,e){this.handleData("other",t,!1),e&&(this.searchRight="")},chooseItem(t){this.handleData("other",t,!0),this.searchLeft=""},filter:(t,e)=>Object(n.a)(t,e),isFocusSearch(t,e){"left"===t?"focus"===e?this.isLeftSearch=!0:"no"===e&&this.searchLeft?this.isLeftSearch=!0:this.isLeftSearch=!1:"focus"===e?this.isRightSearch=!0:"no"===e&&this.searchRight?this.isRightSearch=!0:this.isRightSearch=!1},confirmItems(){this.checkDatas=this.checkDatas.slice(-this.limit),this.$emit("hide",this.checkDatas),this.sortDatas=JSON.parse(JSON.stringify(this.checkDatas));const t=e=>{e.child.forEach(e=>{e.checked=!1,e.child&&e.child.length?t(e):this.checkDatas.forEach(t=>{t.id===e.id&&this.checkedData(this.datas,!0,t)})})};this.limit&&(this.nodeNotAll(this.datas),t(this.datas)),this.searchLeft="",this.searchRight=""},hideChoose(t){"choose"===t.target.className&&(this.$emit("hide"),this.$emit("resetDatas",this.historyDatas),this.checkDatas=JSON.parse(JSON.stringify(this.sortDatas)),this.searchLeft="",this.searchRight="")}},components:{Trees:a.a}}},function(t,e,i){"use strict";var a=i(12),s=i(13),n=!1,c=i(0)(a.a,s.a,!1,function(t){n||i(11)},"data-v-54a6b407",null);c.options.__file="src\\Trees.vue",c.esModule&&Object.keys(c.esModule).some(function(t){return"default"!==t&&"__"!==t.substr(0,2)}),e.a=c.exports},function(t,e){},function(t,e,i){"use strict";e.a={name:"trees",props:{modules:{type:Object,default:{}}},data:()=>({open:!1,checkedNames:[]}),computed:{isFolder(){return this.modules.child}},methods:{toggle(){this.isFolder&&(this.open=!this.open)},checkData(t,e){e.parentId?this.$emit("handleData","other",e,t.target.checked):t.target.checked?this.$emit("handleData","all"):this.$emit("handleData","none")},handleData(t,e,i){this.$emit("handleData",t,e,i)}}}},function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("li",[i("div",{on:{click:t.toggle}},[t.modules.hasOwnProperty("child")?t.isFolder&&!t.open?i("i",{staticClass:"icon iconfont"},[t._v("")]):i("i",{staticClass:"icon iconfont"},[t._v("")]):i("i",{staticClass:"icon iconfont"},[t._v("")]),t._v(" "),i("label",{on:{click:function(t){t.stopPropagation()}}},[i("input",{attrs:{type:"checkbox"},domProps:{value:t.modules.name,checked:t.modules.checked},on:{change:function(e){t.checkData(e,t.modules)}}}),t._v(" "),i("span",{staticClass:"original-checkbox"},[i("i",{class:{hasChecked:t.modules.nodeSelectNotAll&&!t.modules.checked}})]),t._v(" "),i("span",{staticClass:"item-name"},[t._v(t._s(t.modules.name))])])]),t._v(" "),t.isFolder?i("ul",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}]},t._l(t.modules.child,function(e){return i("trees",{key:e.name,attrs:{modules:e},on:{handleData:t.handleData}})})):t._e()])},s=[];a._withStripped=!0;var n={render:a,staticRenderFns:s};e.a=n},function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"fade-all"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.model,expression:"model"}],staticClass:"choose",on:{click:function(e){t.hideChoose(e)}}},[i("div",{staticClass:"select-dialog",class:{scale:t.model}},[i("div",{staticClass:"select-dialog-box"},[i("div",{staticClass:"select-dialog-left"},[i("div",{staticClass:"select-dialog-header"},[t._v("\n 所有可选("+t._s(t.optionalLength)+")\n ")]),t._v(" "),i("div",{staticClass:"search"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.searchLeft,expression:"searchLeft"}],attrs:{type:"text",placeholder:"名称、编号、英文名称(支持拼音搜索名字)"},domProps:{value:t.searchLeft},on:{focus:function(e){t.isFocusSearch("left","focus")},blur:function(e){t.isFocusSearch("left","blur")},input:[function(e){e.target.composing||(t.searchLeft=e.target.value)},function(e){t.isFocusSearch("left","no")}]}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("ul",{directives:[{name:"show",rawName:"v-show",value:t.searchLeft&&t.isLeftSearch,expression:"searchLeft && isLeftSearch"}]},t._l(t.filter(t.optionalLists,t.searchLeft),function(e){return i("li",{key:e.id,on:{click:function(i){t.chooseItem(e)}}},[t._v(t._s(e.name)),e.englishName?i("span",[t._v("("+t._s(e.englishName)+")")]):t._e()])}))])],1),t._v(" "),i("div",{staticClass:"select-dialog-item-box"},[i("ul",{staticClass:"trees"},[i("trees",{attrs:{modules:t.datas},on:{handleData:t.handleData}})],1)])]),t._v(" "),i("div",{staticClass:"select-dialog-right"},[i("div",{staticClass:"select-dialog-header"},[t._v("\n 已选("+t._s(t.checkDatas.length)+")\n "),i("button",{attrs:{type:"button"},on:{click:t.removeAll}},[i("span",[t._v("全部删除")])])]),t._v(" "),i("div",{staticClass:"search"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.searchRight,expression:"searchRight"}],attrs:{type:"text",placeholder:"名称、编号、英文名称(支持拼音搜索名字)"},domProps:{value:t.searchRight},on:{focus:function(e){t.isFocusSearch("right","focus")},blur:function(e){t.isFocusSearch("right","blur")},input:[function(e){e.target.composing||(t.searchRight=e.target.value)},function(e){t.isFocusSearch("right","no")}]}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("ul",{directives:[{name:"show",rawName:"v-show",value:t.searchRight&&t.isRightSearch,expression:"searchRight && isRightSearch"}]},t._l(t.filter(t.checkDatas,t.searchRight),function(e){return i("li",{key:e.id,on:{click:function(i){t.removeItem(e,"search")}}},[t._v(t._s(e.name)),e.englishName?i("span",[t._v("("+t._s(e.englishName)+")")]):t._e()])}))])],1),t._v(" "),i("div",{staticClass:"select-dialog-item-box"},[i("ul",t._l(t.checkDatas,function(e){return i("li",{key:e.id,on:{click:function(i){t.removeItem(e)}}},[t._v(t._s(e.name))])}))]),t._v(" "),i("p",[t._v("点击选中数据可取消")])])]),t._v(" "),i("div",{staticClass:"select-dialog-foot"},[i("button",{attrs:{type:"button"},on:{click:t.confirmItems}},[i("span",[t._v("确定")])])])])])])},s=[];a._withStripped=!0;var n={render:a,staticRenderFns:s};e.a=n},function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"btn-show"},[i("div",{staticClass:"search-box"},[i("div",{staticClass:"search"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.quickSearch,expression:"quickSearch"}],attrs:{type:"text",placeholder:"支持快速搜索选择(支持拼音搜索名字)"},domProps:{value:t.quickSearch},on:{focus:function(e){t.isFocusSearch("focus")},blur:function(e){t.isFocusSearch("blur")},input:[function(e){e.target.composing||(t.quickSearch=e.target.value)},function(e){t.isFocusSearch("no")}]}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("ul",{directives:[{name:"show",rawName:"v-show",value:t.quickSearch&&t.isSearch,expression:"quickSearch && isSearch"}]},t._l(t.filter(t.optionalLists,t.quickSearch),function(e){return i("li",{key:e.id,on:{click:function(i){t.chooseItem(e)}}},[t._v(t._s(e.name)),e.englishName?i("span",[t._v("("+t._s(e.englishName)+")")]):t._e()])}))])],1),t._v(" "),i("button",{attrs:{type:"button"},on:{click:function(e){e.stopPropagation(),t.showSelectDialog(e)}}},[i("span",[t._v("选择插件")])])]),t._v(" "),t.datas.name?i("select-dialog",{attrs:{model:t.model,initCurLists:t.initData,datas:t.datas,limit:t.limit},on:{hide:t.hide,resetDatas:t.resetDatas}}):t._e(),t._v(" "),i("div",{staticClass:"cur-lists"},[i("ul",t._l(t.curLists,function(e){return i("li",{key:e.id},[i("button",{attrs:{type:"button"}},[i("span",[t._v(t._s(e.name))]),i("i",{on:{click:function(i){t.removeItem(e)}}},[t._v("x")])])])}))])],1)},s=[];a._withStripped=!0;var n={render:a,staticRenderFns:s};e.a=n}])});