UNPKG

yanzhen-design-vue

Version:

27 lines (26 loc) 952 B
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); const vue = require("vue"); const checkbox = require("./checkbox.cjs"); const useCheckbox = require("./use-checkbox.cjs"); const _sfc_main = /* @__PURE__ */ vue.defineComponent({ ...{ name: checkbox.checkboxName }, __name: "checkbox", props: checkbox.checkboxProps, emits: checkbox.checkboxEmits, setup(__props, { expose: __expose, emit: __emit }) { const { ns } = checkbox.checkboxOptions; const props = __props; const emit = __emit; const [{ _ref, proxyProps }, Checkbox] = useCheckbox.useCheckbox(props, emit); __expose({ ref: _ref }); return (_ctx, _cache) => { return vue.openBlock(), vue.createBlock(vue.unref(Checkbox), vue.mergeProps({ class: [vue.unref(ns).b()] }, vue.unref(proxyProps)), null, 16, ["class"]); }; } }); exports.default = _sfc_main;