UNPKG

aos-element

Version:

A Component Library for Vue.js.

1,156 lines (1,140 loc) 114 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/dist/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 169); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call( this, (options.functional ? this.parent : this).$root.$options.shadowRoot ) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functional component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 169: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/aos-search/src/main.vue?vue&type=template&id=1f1514a2& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "aos-search", on: { keydown: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.searchClick($event) } } }, [ _c( "div", { staticClass: "base" }, [ _c( "el-form", { directives: [ { name: "show", rawName: "v-show", value: _vm.showMoreSearch, expression: "showMoreSearch" } ], ref: "baseForm", staticClass: "aos-search-base-form", attrs: { model: _vm.model.baseModel, inline: true } }, _vm._l(_vm.copyTemplate.baseTemplate, function(item, index) { return _c( "el-form-item", { key: item.prop, staticClass: "aos-search-base-form-item", class: { "aos-search-base-form-items": item.type === "time-picker" || item.type === "date-picker" }, attrs: { prop: item.prop, title: item.label, label: item.label, "label-width": "100px" } }, [ item.type === "input" || "" || undefined ? [ _c("el-input", { ref: item.prop + "-ref", refInFor: true, style: { width: (item.attrs && item.attrs.width) || "" }, attrs: { title: _vm.model.baseModel[item.prop], minlength: (item.attrs && item.attrs.minlength) || 0, maxlength: (item.attrs && item.attrs.maxlength) || 10000, placeholder: (item.attrs && item.attrs.placeholder) || "请在此输入", clearable: (item.attrs && item.attrs.clearable) || true, size: (item.attrs && item.attrs.size) || "small" }, on: { blur: function($event) { _vm.formHandleEmit(item, "blur") }, change: function($event) { _vm.formHandleEmit(item, "change") }, focus: function($event) { _vm.formHandleEmit(item, "focus") }, clear: function($event) { _vm.formHandleEmit(item, "clear") } }, model: { value: _vm.model.baseModel[item.prop], callback: function($$v) { _vm.$set( _vm.model.baseModel, item.prop, typeof $$v === "string" ? $$v.trim() : $$v ) }, expression: "model.baseModel[item.prop]" } }) ] : _vm._e(), item.type === "number-range" ? [ _c("aos-number-range", { ref: item.prop + "-ref", refInFor: true, attrs: { value: _vm.model.baseModel[item.prop], separators: (item.attrs && item.attrs.separators) || "-", startStep: (item.attrs && item.attrs.startStep) || 1, endStep: (item.attrs && item.attrs.endStep) || 1, startPlaceholder: (item.attrs && item.attrs.startPlaceholder) || "请在此输入起始值", endPlaceholder: (item.attrs && item.attrs.endPlaceholder) || "请在此输入结束值", startPrecision: (item.attrs && item.attrs.startPrecision) || 0, endPrecision: (item.attrs && item.attrs.endPrecision) || 0, startMin: (item.attrs && item.attrs.startMin) || -Infinity, endMin: (item.attrs && item.attrs.endMin) || -Infinity, startMax: (item.attrs && item.attrs.startMax) || Infinity, endMax: (item.attrs && item.attrs.endMax) || Infinity }, on: { change: function(data) { _vm.handleBaseNumberRangeEmit( data, item, "change" ) }, blur: function(data) { _vm.handleBaseNumberRangeEmit(data, item, "blur") }, focus: function(data) { _vm.handleBaseNumberRangeEmit(data, item, "focus") } } }) ] : _vm._e(), item.type == "select" ? [ _c( "el-select", { attrs: { title: _vm.model.baseModel[item.prop], placeholder: (item.attrs && item.attrs.placeholder) || "请在此输入", disabled: (item.attrs && item.attrs.disabled) || false, clearable: (item.attrs && item.attrs.clearable) || true, multiple: (item.attrs && item.attrs.multiple) || false, size: (item.attrs && item.attrs.size) || "small", "collapse-tags": (item.attrs && item.attrs["collapse-tags"]) || false, "multiple-limit": (item.attrs && item.attrs["multiple-limit"]) || 0, filterable: (item.attrs && item.attrs.filterable) || false, "allow-create": (item.attrs && item.attrs["allow-create"]) || false, "filter-method": (item.attrs && item.attrs["filter-method"]) || function() {}, remote: (item.attrs && item.attrs.remote) || false, "remote-method": (item.attrs && item.attrs["remote-method"]) || function() {}, loading: (item.attrs && item.attrs.loading) || false, "no-match-text": (item.attrs && item.attrs["no-match-text"]) || "无匹配数据", "no-data-text": (item.attrs && item.attrs["no-data-text"]) || "无数据", "reserve-keyword": (item.attrs && item.attrs["reserve-keyword"]) || false, "default-first-option": (item.attrs && item.attrs["default-first-option"]) || false, "popper-append-to-body": (item.attrs && item.attrs["popper-append-to-body"]) || true }, on: { change: function($event) { _vm.formHandleEmit(item, "change") }, "visible-change": function($event) { _vm.formHandleEmit(item, "visible-change") }, "remove-tag": function($event) { _vm.formHandleEmit(item, "remove-tag") }, clear: function($event) { _vm.formHandleEmit(item, "clear") }, blur: function($event) { _vm.formHandleEmit(item, "blur") }, focus: function($event) { _vm.formHandleEmit(item, "focus") } }, model: { value: _vm.model.baseModel[item.prop], callback: function($$v) { _vm.$set(_vm.model.baseModel, item.prop, $$v) }, expression: "model.baseModel[item.prop]" } }, _vm._l(item.option, function(item) { return _c("el-option", { key: item.value, attrs: { label: item.label, value: item.value, disabled: item.disabled } }) }), 1 ) ] : _vm._e(), item.type == "time-picker" ? [ _c("el-time-picker", { ref: item.prop + "-ref", refInFor: true, attrs: { title: _vm.model.baseModel[item.prop], readonly: (item.attrs && item.attrs.readonly) || false, disabled: (item.attrs && item.attrs.disabled) || false, editable: (item.attrs && item.attrs.editable) || true, clearable: (item.attrs && item.attrs.clearable) || true, size: (item.attrs && item.attrs.size) || "small", placeholder: (item.attrs && item.attrs.placeholder) || "请选择时间", "is-range": (item.attrs && item.attrs["is-range"]) || false, "arrow-control": (item.attrs && item.attrs["arrow-control"]) || false, "start-placeholder": (item.attrs && item.attrs["start-placeholder"]) || "开始时间", "end-placeholder": (item.attrs && item.attrs["end-placeholder"]) || "结束时间", align: (item.attrs && item.attrs.align) || "left", "picker-options": (item.attrs && item.attrs["picker-options"]) || { format: "HH:mm:ss" }, "range-separator": (item.attrs && item.attrs["range-separator"]) || "-", "value-format": (item.attrs && item.attrs["value-format"]) || "HH:mm:ss", "prefix-icon": (item.attrs && item.attrs["prefix-icon"]) || "el-icon-time", "clear-icon": (item.attrs && item.attrs["clear-icon"]) || "el-icon-circle-close" }, on: { change: function($event) { _vm.formHandleEmit(item, "change") }, blur: function($event) { _vm.formHandleEmit(item, "blur") }, focus: function($event) { _vm.formHandleEmit(item, "focus") } }, model: { value: _vm.model.baseModel[item.prop], callback: function($$v) { _vm.$set(_vm.model.baseModel, item.prop, $$v) }, expression: "model.baseModel[item.prop]" } }) ] : _vm._e(), item.type == "date-picker" ? [ _c("el-date-picker", { ref: item.prop + "-ref", refInFor: true, attrs: { title: _vm.model.baseModel[item.prop], readonly: (item.attrs && item.attrs.readonly) || false, disabled: (item.attrs && item.attrs.disabled) || false, editable: (item.attrs && item.attrs.editable) || true, clearable: (item.attrs && item.attrs.clearable) || true, size: (item.attrs && item.attrs.size) || "small", placeholder: (item.attrs && item.attrs.placeholder) || "请选择日期", "start-placeholder": (item.attrs && item.attrs["start-placeholder"]) || "开始日期", "end-placeholder": (item.attrs && item.attrs["end-placeholder"]) || "结束日期", type: (item.attrs && item.attrs.type) || "date", format: (item.attrs && item.attrs.format) || "yyyy-MM-dd", align: (item.attrs && item.attrs.align) || "left", "range-separator": (item.attrs && item.attrs["range-separator"]) || "-", "picker-options": (item.attrs && item.attrs["picker-options"]) || _vm.datPickerOptions, "value-format": (item.attrs && item.attrs["value-format"]) || "yyyy-MM-dd", "unlink-panels": (item.attrs && item.attrs["unlink-panels"]) || false, "validate-event": (item.attrs && item.attrs["validate-event"]) || true, "prefix-icon": (item.attrs && item.attrs["prefix-icon"]) || "el-icon-date", "clear-icon": (item.attrs && item.attrs["clear-icon"]) || "el-icon-circle-close" }, on: { change: function($event) { _vm.formHandleEmit(item, "change") }, blur: function($event) { _vm.formHandleEmit(item, "blur") }, focus: function($event) { _vm.formHandleEmit(item, "focus") } }, model: { value: _vm.model.baseModel[item.prop], callback: function($$v) { _vm.$set(_vm.model.baseModel, item.prop, $$v) }, expression: "model.baseModel[item.prop]" } }) ] : _vm._e(), item.type == "ref" ? [ _c("aos-ref", { ref: item.prop + "-ref", refInFor: true, attrs: { editable: true, value: _vm.model.baseModel[item.prop] || "", refCode: item.attrs.refCode, filters: item.attrs.filters, field: item.attrs.field, debounce: item.attrs.debounce || 300, placeholder: item.attrs.placeholder || "请输入", showType: item.attrs.showType, disabled: item.attrs.disabled || false, firstDefault: item.attrs.firstDefault || false, multiple: item.attrs.multiple || false, collapseTags: item.attrs.collapseTags || false, multipleLimit: item.attrs.multipleLimit || 0, placement: item.attrs.placement || "bottom-start" }, on: { change: function(data) { _vm.handleBaseRefEmit(data, item, "change", index) }, "visible-change": function(data) { _vm.handleBaseRefEmit( data, item, "visible-change", index ) }, clear: function(data) { _vm.handleBaseRefEmit(data, item, "clear", index) }, blur: function(data) { _vm.handleBaseRefEmit(data, item, "blur", index) }, focus: function(data) { _vm.handleBaseRefEmit(data, item, "focus", index) }, "remove-tag": function(data) { _vm.handleBaseRefEmit( data, item, "remove-tag", index ) } } }) ] : _vm._e(), item.type == "defdoc" ? [ _c("aos-defdoc", { ref: item.prop + "-ref", refInFor: true, attrs: { editable: true, value: _vm.model.baseModel[item.prop] || "", tag: item.attrs.tag || "", defCode: item.attrs.defCode, multiple: item.attrs.multiple || false, collapseTags: item.attrs.collapseTags || false, multipleLimit: item.attrs.multipleLimit || 0, debounce: item.attrs.debounce || 300, firstDefault: item.attrs.firstDefault || false, placeholder: item.attrs.placeholder || "请选择", disabled: item.attrs.disabled || false, "orm-code": item.attrs.ormCode, "no-def-code": item.attrs.noDefCode, "orm-name": item.attrs.ormName, "orm-status": item.attrs.ormStatus, "orm-data": item.attrs.ormData, customerUrl: item.attrs.customerUrl }, on: { change: function(data) { _vm.handleBaseDefdocEmit(data, item, "change") }, "visible-change": function(data) { _vm.handleBaseDefdocEmit( data, item, "visible-change" ) }, "remove-tag": function(data) { _vm.handleBaseDefdocEmit(data, item, "remove-tag") }, clear: function(data) { _vm.handleBaseDefdocEmit(data, item, "clear") }, blur: function(data) { _vm.handleBaseDefdocEmit(data, item, "blur") }, focus: function(data) { _vm.handleBaseDefdocEmit(data, item, "focus") } } }) ] : _vm._e(), item.type == "rule-defdoc" ? [ _c("aos-rule-defdoc", { ref: item.prop + "-ref", refInFor: true, attrs: { editable: true, value: _vm.model.baseModel[item.prop] || "", field: item.prop, defCode: item.attrs.defCode, multiple: item.attrs.multiple || false, collapseTags: item.attrs.collapseTags || false, multipleLimit: item.attrs.multipleLimit || 0, debounce: item.attrs.debounce || 300, firstDefault: item.attrs.firstDefault || false, placeholder: item.attrs.placeholder || "请选择", disabled: item.attrs.disabled || false }, on: { change: function(data) { _vm.handleBaseDefdocEmit(data, item, "change") }, "visible-change": function(data) { _vm.handleBaseDefdocEmit( data, item, "visible-change" ) }, "remove-tag": function(data) { _vm.handleBaseDefdocEmit(data, item, "remove-tag") }, clear: function(data) { _vm.handleBaseDefdocEmit(data, item, "clear") }, blur: function(data) { _vm.handleBaseDefdocEmit(data, item, "blur") }, focus: function(data) { _vm.handleBaseDefdocEmit(data, item, "focus") } } }) ] : _vm._e(), item.type == "city" ? [ _c("aos-city", { attrs: { templateValue: _vm.model.baseModel, edit: true, province: item.province, city: item.city, county: item.county, separator: (item.attrs && item.attrs.separator) || "/", placehold: (item.attrs && item.attrs.placeholder) || "请选择省/市/县", disabled: (item.attrs && item.attrs.disabled) || false, clearable: (item.attrs && item.attrs.clearable) || true }, on: { change: function(value) { _vm.handleBaseCityEmit(item, value, "change") } } }) ] : _vm._e(), item.type == "money" ? [ _c("aos-money", { ref: item.prop + "-ref", refInFor: true, attrs: { editable: true, minlength: (item.attrs && item.attrs.minlength) || 0, maxlength: (item.attrs && item.attrs.maxlength) || 10000, placeholder: (item.attrs && item.attrs.placeholder) || "请在此输入", clearable: (item.attrs && item.attrs.clearable) || true, size: (item.attrs && item.attrs.size) || "small", disabled: (item.attrs && item.attrs.disabled) || false, debounce: (item.attrs && item.attrs.debounce) || 300, suffixString: (item.attrs && item.attrs.suffixString) || "" }, on: { change: function(data) { _vm.handleBaseMoneydocEmit(data, item, "change") }, clear: function(data) { _vm.handleBaseMoneydocEmit(data, item, "clear") }, blur: function(data) { _vm.handleBaseMoneydocEmit(data, item, "blur") }, focus: function(data) { _vm.handleBaseMoneydocEmit(data, item, "focus") } }, model: { value: _vm.model.baseModel[item.prop], callback: function($$v) { _vm.$set(_vm.model.baseModel, item.prop, $$v) }, expression: "model.baseModel[item.prop]" } }) ] : _vm._e(), item.type == "switch" ? [ _c("el-switch", { ref: item.prop + "-ref", refInFor: true, attrs: { title: _vm.model.baseModel[item.prop], disabled: (item.attrs && item.attrs.disabled) || false, width: (item.attrs && item.attrs.width) || "40", "active-text": (item.attrs && item.attrs["active-text"]) || "", "inactive-text": (item.attrs && item.attrs["inactive-text"]) || "", "active-value": (item.attrs && item.attrs["active-value"]) || true, "inactive-value": (item.attrs && item.attrs["inactive-value"]) || false, "active-color": (item.attrs && item.attrs["active-color"]) || "#409EFF", "inactive-color": (item.attrs && item.attrs["inactive-color"]) || "#C0CCDA", name: (item.attrs && item.attrs.name) || item.prop, "validate-event": (item.attrs && item.attrs["validate-event"]) || true }, on: { change: function($event) { _vm.formHandleEmit(item, "change") } }, model: { value: _vm.model.baseModel[item.prop], callback: function($$v) { _vm.$set(_vm.model.baseModel, item.prop, $$v) }, expression: "model.baseModel[item.prop]" } }) ] : _vm._e(), item.type == "radio" ? [ _c( "el-radio-group", { ref: item.prop + "-ref", refInFor: true, attrs: { title: _vm.model.baseModel[item.prop], disabled: (item.attrs && item.attrs.disabled) || false }, on: { change: function($event) { _vm.formHandleEmit(item, "change") } }, model: { value: _vm.model.baseModel[item.prop], callback: function($$v) { _vm.$set(_vm.model.baseModel, item.prop, $$v) }, expression: "model.baseModel[item.prop]" } }, _vm._l(item.option, function(option) { return _c( "el-radio", { key: option.label, attrs: { label: option.label } }, [_vm._v(_vm._s(option.label))] ) }), 1 ) ] : _vm._e() ], 2 ) }), 1 ), _c( "el-input", { directives: [ { name: "show", rawName: "v-show", value: !_vm.inputType || _vm.inputType === "input", expression: "!inputType || inputType === 'input'" } ], ref: "aosSearch", staticClass: "search-input", attrs: { placeholder: _vm.placeholder, clearable: "", autocomplete: "" }, on: { clear: _vm.handleClear, blur: _vm.handleBlur, focus: _vm.handleFocus, keyup: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.handleChange($event) }, change: _vm.handleChange }, model: { value: _vm.model.content, callback: function($$v) { _vm.$set(_vm.model, "content", $$v) }, expression: "model.content" } }, [ _c("i", { staticClass: "el-icon-search aos-search-icon", attrs: { slot: "suffix" }, on: { click: _vm.searchClick, keyup: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.searchClick($event) } }, slot: "suffix" }), _vm.showMoreSearch && _vm.copyTemplate.moreTemplate.length > 0 ? _c( "i", { staticClass: "el-icon-arrow-down aos-search-more-button", attrs: { slot: "append" }, on: { click: _vm.handleMoreSearchClick }, slot: "append" }, [_vm._v("高级")] ) : _vm._e() ] ), _c( "aos-multiple-input", { directives: [ { name: "show", rawName: "v-show", value: _vm.inputType === "multiple", expression: "inputType === 'multiple'" } ], ref: "aosSearchMultipleInput", staticClass: "search-input", attrs: { "fetch-suggestions": _vm.fetchSuggestions, placeholder: _vm.placeholder, "highlight-first-item": "", "trigger-on-focus": false, multiple: "" }, on: { "delete-tag": _vm.handleDeleteTag, select: _vm.handleSelect, change: _vm.handleChange }, model: { value: _vm.model.content, callback: function($$v) { _vm.$set(_vm.model, "content", $$v) }, expression: "model.content" } }, [ _c("i", { staticClass: "el-icon-search aos-search-icon", attrs: { slot: "suffix" }, on: { click: _vm.searchClick, keyup: function($event) { if ( !("button" in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") ) { return null } return _vm.searchClick($event) } }, slot: "suffix" }), _vm.showMoreSearch && _vm.copyTemplate.moreTemplate.length > 0 ? _c( "i", { staticClass: "el-icon-arrow-down aos-search-more-button", attrs: { slot: "append" }, on: { click: _vm.handleMoreSearchClick }, slot: "append" }, [_vm._v("高级")] ) : _vm._e() ] ) ], 1 ), _c("el-collapse-transition", [ _c( "div", { directives: [ { name: "show", rawName: "v-show", value: _vm.showMoreSearchMenu, expression: "showMoreSearchMenu" } ], staticClass: "aos-more-container" }, [ _c( "div", { ref: "aosMoreSearch", staticClass: "aos-more-search" }, [ _c( "el-form", { ref: "moreForm", staticClass: "aos-search-more-form", attrs: { model: _vm.model.moreModel } }, [ _vm._l(_vm.copyTemplate.moreTemplate, function( item, index ) { return _c( "el-form-item", { key: item.prop, staticClass: "aos-search-more-form-item aos-search-form-item", attrs: { prop: item.prop, title: item.label, label: item.label, "label-width": "100px" } }, [ item.type === "input" || "" || undefined ? [ _c("el-input", { ref: item.prop + "-ref", refInFor: true, style: { width: (item.attrs && item.attrs.width) || "" }, attrs: { title: _vm.model.moreModel[item.prop], minlength: (item.attrs && item.attrs.minlength) || 0, maxlength: (item.attrs && item.attrs.maxlength) || 10000, placeholder: (item.attrs && item.attrs.placeholder) || "请在此输入", clearable: (item.attrs && item.attrs.clearable) || true, size: (item.attrs && item.attrs.size) || "small" }, on: { blur: function($event) { _vm.formHandleEmit(item, "blur") }, change: function($event) { _vm.formHandleEmit(item, "change") }, focus: function($event) { _vm.formHandleEmit(item, "focus") }, clear: function($event) { _vm.formHandleEmit(item, "clear") } }, model: { value: _vm.model.moreModel[item.prop], callback: function($$v) { _vm.$set( _vm.model.moreModel, item.prop, typeof $$v === "string" ? $$v.trim() : $$v ) }, expression: "model.moreModel[item.prop]" } }) ]