yanzhen-design-vue
Version:
30 lines (29 loc) • 919 B
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const vue = require("vue");
const row = require("./row.cjs");
const useRow = require("./use-row.cjs");
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
...{ name: row.rowName },
__name: "row",
props: row.rowProps,
emits: row.rowEmits,
setup(__props, { emit: __emit }) {
const { ns } = row.rowOptions;
const props = __props;
const emit = __emit;
const [, Row] = useRow.useRow(props, emit);
return (_ctx, _cache) => {
return vue.openBlock(), vue.createBlock(vue.unref(Row), vue.mergeProps({
ref: "ref",
class: [vue.unref(ns).b()]
}, _ctx.bindProxy), {
default: vue.withCtx(() => [
vue.renderSlot(_ctx.$slots, "default")
]),
_: 3
}, 16, ["class"]);
};
}
});
exports.default = _sfc_main;