vue-gantt-3
Version:
A gantt component for Vue 3
26 lines (25 loc) • 1.24 kB
JavaScript
import _sfc_main from "./ExpandableBox.vue2.mjs";
import { createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, renderSlot } from "vue";
/* empty css */
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
const _hoisted_1 = { class: "c-expandable-box" };
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return openBlock(), createElementBlock("div", _hoisted_1, [
createElementVNode("div", {
style: normalizeStyle([_ctx.boxStyle, { "overflow": "hidden", "height": "100%" }]),
class: normalizeClass([_ctx.contentClass, "c-expandable-box-body"])
}, [
renderSlot(_ctx.$slots, "default")
], 6),
_ctx.draglineShow ? (openBlock(), createElementBlock("div", {
key: 0,
class: normalizeClass(["_drag-line", { indragging: _ctx.indragging }]),
onMousedown: _cache[0] || (_cache[0] = (...args) => _ctx.handleMouseDown && _ctx.handleMouseDown(...args))
}, null, 34)) : createCommentVNode("", true)
]);
}
const ExpandableBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
ExpandableBox as default
};
//# sourceMappingURL=ExpandableBox.vue.mjs.map