ivue-material-plus
Version:
A high quality UI components Library with Vue.js
86 lines (81 loc) • 3.41 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var index_vue_vue_type_script_lang = require('./index.vue_vue_type_script_lang.js');
var vue = require('vue');
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_ivue_input = vue.resolveComponent("ivue-input");
const _component_ivue_option = vue.resolveComponent("ivue-option");
const _component_ivue_select = vue.resolveComponent("ivue-select");
return vue.openBlock(), vue.createBlock(_component_ivue_select, {
modelValue: _ctx.data.currentValue,
placeholder: _ctx.placeholder,
disabled: _ctx.disabled,
placement: _ctx.placement,
transferClassName: _ctx.transferClassName,
searchMethod: _ctx.searchMethod,
transfer: _ctx.transfer,
capture: _ctx.capture,
notFindText: "",
loading: _ctx.loading,
loadingText: _ctx.loadingText,
id: null,
filterable: "",
"auto-complete": "",
ref: "select",
onOnSelect: _ctx.handleSelect,
onOnClickoutside: _ctx.handleClickOutside
}, {
input: vue.withCtx(() => [
vue.renderSlot(_ctx.$slots, "input", {}, () => [
vue.createVNode(_component_ivue_input, {
modelValue: _ctx.data.currentValue,
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.data.currentValue = $event),
name: _ctx.name,
id: _ctx.inputId,
placeholder: _ctx.placeholder,
disabled: _ctx.disabled,
clearable: _ctx.clearable,
onOnFocus: _ctx.handleFocus,
onOnBlur: _ctx.handleBlur,
onOnClear: _ctx.handleClear,
ref: "input"
}, vue.createSlots({ _: 2 }, [
_ctx.$slots.prefix ? {
name: "prefix",
fn: vue.withCtx(() => [
vue.renderSlot(_ctx.$slots, "prefix")
]),
key: "0"
} : void 0,
_ctx.$slots.suffix ? {
name: "suffix",
fn: vue.withCtx(() => [
vue.renderSlot(_ctx.$slots, "suffix")
]),
key: "1"
} : void 0
]), 1032, ["modelValue", "name", "id", "placeholder", "disabled", "clearable", "onOnFocus", "onOnBlur", "onOnClear"])
])
]),
default: vue.withCtx(() => [
vue.renderSlot(_ctx.$slots, "default", {}, () => [
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.filteredData, (item) => {
return vue.openBlock(), vue.createBlock(_component_ivue_option, {
value: item,
key: item
}, {
default: vue.withCtx(() => [
vue.createTextVNode(vue.toDisplayString(item), 1)
]),
_: 2
}, 1032, ["value"]);
}), 128))
])
]),
_: 3
}, 8, ["modelValue", "placeholder", "disabled", "placement", "transferClassName", "searchMethod", "transfer", "capture", "loading", "loadingText", "onOnSelect", "onOnClickoutside"]);
}
var AutoComplete = /* @__PURE__ */ _pluginVue_exportHelper["default"](index_vue_vue_type_script_lang["default"], [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-auto-complete\\index.vue"]]);
exports["default"] = AutoComplete;
//# sourceMappingURL=index2.js.map