ivue-material-plus
Version:
A high quality UI components Library with Vue.js
106 lines (101 loc) • 4.69 kB
JavaScript
'use strict';
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_icon = vue.resolveComponent("ivue-icon");
const _component_ivue_button = vue.resolveComponent("ivue-button");
return vue.openBlock(), vue.createElementBlock("div", {
class: vue.normalizeClass(_ctx.prefixCls),
onMouseenter: _cache[4] || (_cache[4] = (...args) => _ctx.handleMouseenter && _ctx.handleMouseenter(...args)),
onMouseleave: _cache[5] || (_cache[5] = (...args) => _ctx.handleMouseleave && _ctx.handleMouseleave(...args))
}, [
vue.createCommentVNode(" \u6309\u94AE "),
_ctx.data.showCopyTrack ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
!_ctx.$slots.leftArrow ? (vue.openBlock(), vue.createBlock(_component_ivue_button, {
key: 0,
class: vue.normalizeClass(_ctx.leftButtonClasses),
flat: "",
icon: "",
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.handleArrowClick("left"))
}, {
default: vue.withCtx(() => [
vue.createVNode(_component_ivue_icon, null, {
default: vue.withCtx(() => [
vue.createTextVNode(vue.toDisplayString(_ctx.leftArrow), 1)
]),
_: 1
})
]),
_: 1
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
_ctx.$slots.leftArrow ? (vue.openBlock(), vue.createElementBlock("div", {
key: 1,
class: vue.normalizeClass(_ctx.leftButtonClasses),
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handleArrowClick("left"))
}, [
vue.renderSlot(_ctx.$slots, "leftArrow")
], 2)) : vue.createCommentVNode("v-if", true)
], 64)) : vue.createCommentVNode("v-if", true),
vue.createCommentVNode(" scroll "),
vue.createElementVNode("div", {
class: vue.normalizeClass(`${_ctx.prefixCls}-scroll`),
ref: "scroll"
}, [
vue.createCommentVNode(" \u5185\u5BB9 "),
vue.createElementVNode("div", {
class: vue.normalizeClass(`${_ctx.prefixCls}-content`),
ref: "content"
}, [
vue.createElementVNode("div", {
class: vue.normalizeClass(`${_ctx.prefixCls}-list`),
style: vue.normalizeStyle(_ctx.listStyles),
ref: "list"
}, [
vue.renderSlot(_ctx.$slots, "default")
], 6),
vue.createCommentVNode(" \u590D\u5236\u7684\u5185\u5BB9 "),
_ctx.data.showCopyTrack ? (vue.openBlock(), vue.createElementBlock("div", {
key: 0,
class: vue.normalizeClass(`${_ctx.prefixCls}-list copy-track`),
style: vue.normalizeStyle(_ctx.listCopyStyles)
}, [
vue.renderSlot(_ctx.$slots, "default")
], 6)) : vue.createCommentVNode("v-if", true)
], 2)
], 2),
vue.createCommentVNode(" \u6309\u94AE "),
_ctx.data.showCopyTrack ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
!_ctx.$slots.rightArrow ? (vue.openBlock(), vue.createBlock(_component_ivue_button, {
key: 0,
class: vue.normalizeClass(_ctx.rightButtonClasses),
flat: "",
icon: "",
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.handleArrowClick("right"))
}, {
default: vue.withCtx(() => [
vue.renderSlot(_ctx.$slots, "rightArrow", {}, () => [
vue.createVNode(_component_ivue_icon, null, {
default: vue.withCtx(() => [
vue.createTextVNode(vue.toDisplayString(_ctx.rightArrow), 1)
]),
_: 1
})
])
]),
_: 3
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
_ctx.$slots.rightArrow ? (vue.openBlock(), vue.createElementBlock("div", {
key: 1,
class: vue.normalizeClass(_ctx.rightButtonClasses),
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.handleArrowClick("right"))
}, [
vue.renderSlot(_ctx.$slots, "rightArrow")
], 2)) : vue.createCommentVNode("v-if", true)
], 64)) : vue.createCommentVNode("v-if", true)
], 34);
}
var CarouselLoop = /* @__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-carousel-loop\\index.vue"]]);
exports["default"] = CarouselLoop;
//# sourceMappingURL=index2.js.map