ivue-material-plus
Version:
A high quality UI components Library with Vue.js
102 lines (99 loc) • 4.48 kB
JavaScript
import _sfc_main from './index.vue_vue_type_script_lang.mjs';
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createCommentVNode, Fragment, createBlock, withCtx, createVNode, createTextVNode, toDisplayString, renderSlot, createElementVNode, normalizeStyle } from 'vue';
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_ivue_icon = resolveComponent("ivue-icon");
const _component_ivue_button = resolveComponent("ivue-button");
return openBlock(), createElementBlock("div", {
class: 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))
}, [
createCommentVNode(" \u6309\u94AE "),
_ctx.data.showCopyTrack ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
!_ctx.$slots.leftArrow ? (openBlock(), createBlock(_component_ivue_button, {
key: 0,
class: normalizeClass(_ctx.leftButtonClasses),
flat: "",
icon: "",
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.handleArrowClick("left"))
}, {
default: withCtx(() => [
createVNode(_component_ivue_icon, null, {
default: withCtx(() => [
createTextVNode(toDisplayString(_ctx.leftArrow), 1)
]),
_: 1
})
]),
_: 1
}, 8, ["class"])) : createCommentVNode("v-if", true),
_ctx.$slots.leftArrow ? (openBlock(), createElementBlock("div", {
key: 1,
class: normalizeClass(_ctx.leftButtonClasses),
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handleArrowClick("left"))
}, [
renderSlot(_ctx.$slots, "leftArrow")
], 2)) : createCommentVNode("v-if", true)
], 64)) : createCommentVNode("v-if", true),
createCommentVNode(" scroll "),
createElementVNode("div", {
class: normalizeClass(`${_ctx.prefixCls}-scroll`),
ref: "scroll"
}, [
createCommentVNode(" \u5185\u5BB9 "),
createElementVNode("div", {
class: normalizeClass(`${_ctx.prefixCls}-content`),
ref: "content"
}, [
createElementVNode("div", {
class: normalizeClass(`${_ctx.prefixCls}-list`),
style: normalizeStyle(_ctx.listStyles),
ref: "list"
}, [
renderSlot(_ctx.$slots, "default")
], 6),
createCommentVNode(" \u590D\u5236\u7684\u5185\u5BB9 "),
_ctx.data.showCopyTrack ? (openBlock(), createElementBlock("div", {
key: 0,
class: normalizeClass(`${_ctx.prefixCls}-list copy-track`),
style: normalizeStyle(_ctx.listCopyStyles)
}, [
renderSlot(_ctx.$slots, "default")
], 6)) : createCommentVNode("v-if", true)
], 2)
], 2),
createCommentVNode(" \u6309\u94AE "),
_ctx.data.showCopyTrack ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
!_ctx.$slots.rightArrow ? (openBlock(), createBlock(_component_ivue_button, {
key: 0,
class: normalizeClass(_ctx.rightButtonClasses),
flat: "",
icon: "",
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.handleArrowClick("right"))
}, {
default: withCtx(() => [
renderSlot(_ctx.$slots, "rightArrow", {}, () => [
createVNode(_component_ivue_icon, null, {
default: withCtx(() => [
createTextVNode(toDisplayString(_ctx.rightArrow), 1)
]),
_: 1
})
])
]),
_: 3
}, 8, ["class"])) : createCommentVNode("v-if", true),
_ctx.$slots.rightArrow ? (openBlock(), createElementBlock("div", {
key: 1,
class: normalizeClass(_ctx.rightButtonClasses),
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.handleArrowClick("right"))
}, [
renderSlot(_ctx.$slots, "rightArrow")
], 2)) : createCommentVNode("v-if", true)
], 64)) : createCommentVNode("v-if", true)
], 34);
}
var CarouselLoop = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-carousel-loop\\index.vue"]]);
export { CarouselLoop as default };
//# sourceMappingURL=index2.mjs.map