mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
4f79e10bd6
Former-commit-id: 376f94edd602d3dfed1cbada6e08361ee7b08e73
2 lines
5.3 KiB
JavaScript
2 lines
5.3 KiB
JavaScript
"145:function(t,e,n){\"use strict\";var i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(\"div\",{directives:[{name:\"clickoutside\",rawName:\"v-clickoutside\",value:t.handleClose,expression:\"handleClose\"}],staticClass:\"el-select\",class:[t.selectSize?\"el-select--\"+t.selectSize:\"\"],on:{click:function(e){e.stopPropagation(),t.toggleMenu(e)}}},[t.multiple?n(\"div\",{ref:\"tags\",staticClass:\"el-select__tags\",style:{\"max-width\":t.inputWidth-32+\"px\"}},[t.collapseTags&&t.selected.length?n(\"span\",[n(\"el-tag\",{attrs:{closable:!t.selectDisabled,size:t.collapseTagSize,hit:t.selected[0].hitState,type:\"info\",\"disable-transitions\":\"\"},on:{close:function(e){t.deleteTag(e,t.selected[0])}}},[n(\"span\",{staticClass:\"el-select__tags-text\"},[t._v(t._s(t.selected[0].currentLabel))])]),t.selected.length>1?n(\"el-tag\",{attrs:{closable:!1,size:t.collapseTagSize,type:\"info\",\"disable-transitions\":\"\"}},[n(\"span\",{staticClass:\"el-select__tags-text\"},[t._v(\"+ \"+t._s(t.selected.length-1))])]):t._e()],1):t._e(),t.collapseTags?t._e():n(\"transition-group\",{on:{\"after-leave\":t.resetInputHeight}},t._l(t.selected,function(e){return n(\"el-tag\",{key:t.getValueKey(e),attrs:{closable:!t.selectDisabled,size:t.collapseTagSize,hit:e.hitState,type:\"info\",\"disable-transitions\":\"\"},on:{close:function(n){t.deleteTag(n,e)}}},[n(\"span\",{staticClass:\"el-select__tags-text\"},[t._v(t._s(e.currentLabel))])])})),t.filterable?n(\"input\",{directives:[{name:\"model\",rawName:\"v-model\",value:t.query,expression:\"query\"}],ref:\"input\",staticClass:\"el-select__input\",class:[t.selectSize?\"is-\"+t.selectSize:\"\"],style:{width:t.inputLength+\"px\",\"max-width\":t.inputWidth-42+\"px\"},attrs:{type:\"text\",disabled:t.selectDisabled,autocomplete:t.autoComplete,debounce:t.remote?300:0},domProps:{value:t.query},on:{focus:t.handleFocus,blur:function(e){t.softFocus=!1},click:function(t){t.stopPropagation()},keyup:t.managePlaceholder,keydown:[t.resetInputState,function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"down\",40,e.key))return null;e.preventDefault(),t.navigateOptions(\"next\")},function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"up\",38,e.key))return null;e.preventDefault(),t.navigateOptions(\"prev\")},function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"enter\",13,e.key))return null;e.preventDefault(),t.selectOption(e)},function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"esc\",27,e.key))return null;e.stopPropagation(),e.preventDefault(),t.visible=!1},function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"delete\",[8,46],e.key))return null;t.deletePrevTag(e)}],compositionstart:t.handleComposition,compositionupdate:t.handleComposition,compositionend:t.handleComposition,input:[function(e){e.target.composing||(t.query=e.target.value)},function(e){return t.handleQueryChange(e.target.value)}]}}):t._e()],1):t._e(),n(\"el-input\",{ref:\"reference\",class:{\"is-focus\":t.visible},attrs:{type:\"text\",placeholder:t.currentPlaceholder,name:t.name,id:t.id,\"auto-complete\":t.autoComplete,size:t.selectSize,disabled:t.selectDisabled,readonly:t.readonly,\"validate-event\":!1},on:{focus:t.handleFocus,blur:t.handleBlur},nativeOn:{keyup:function(e){t.debouncedOnInputChange(e)},keydown:[function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"down\",40,e.key))return null;e.stopPropagation(),e.preventDefault(),t.navigateOptions(\"next\")},function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"up\",38,e.key))return null;e.stopPropagation(),e.preventDefault(),t.navigateOptions(\"prev\")},function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"enter\",13,e.key))return null;e.preventDefault(),t.selectOption(e)},function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"esc\",27,e.key))return null;e.stopPropagation(),e.preventDefault(),t.visible=!1},function(e){if(!(\"button\"in e)&&t._k(e.keyCode,\"tab\",9,e.key))return null;t.visible=!1}],paste:function(e){t.debouncedOnInputChange(e)},mouseenter:function(e){t.inputHovering=!0},mouseleave:function(e){t.inputHovering=!1}},model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:\"selectedLabel\"}},[t.$slots.prefix?n(\"template\",{attrs:{slot:\"prefix\"},slot:\"prefix\"},[t._t(\"prefix\")],2):t._e(),n(\"i\",{class:[\"el-select__caret\",\"el-input__icon\",\"el-icon-\"+t.iconClass],attrs:{slot:\"suffix\"},on:{click:t.handleIconClick},slot:\"suffix\"})],2),n(\"transition\",{attrs:{name:\"el-zoom-in-top\"},on:{\"before-enter\":t.handleMenuEnter,\"after-leave\":t.doDestroy}},[n(\"el-select-menu\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.visible&&!1!==t.emptyText,expression:\"visible && emptyText !== false\"}],ref:\"popper\",attrs:{\"append-to-body\":t.popperAppendToBody}},[n(\"el-scrollbar\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.options.length>0&&!t.loading,expression:\"options.length > 0 && !loading\"}],ref:\"scrollbar\",class:{\"is-empty\":!t.allowCreate&&t.query&&0===t.filteredOptionsCount},attrs:{tag:\"ul\",\"wrap-class\":\"el-select-dropdown__wrap\",\"view-class\":\"el-select-dropdown__list\"}},[t.showNewOption?n(\"el-option\",{attrs:{value:t.query,created:\"\"}}):t._e(),t._t(\"default\")],2),t.emptyText&&(!t.allowCreate||t.loading||t.allowCreate&&0===t.options.length)?n(\"p\",{staticClass:\"el-select-dropdown__empty\"},[t._v(\"\\n \"+t._s(t.emptyText)+\"\\n \")]):t._e()],1)],1)],1)},staticRenderFns:[]};e.a=i}";
|