yanzhen-design-vue
Version:
23 lines (22 loc) • 903 B
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const vue = require("vue");
const core = require("@yanzhen-lowcode/core");
require("../text-preview/index.cjs");
const tag = require("./src/tag.cjs");
const schema = require("../text-preview/schema.cjs");
const SchemaTagOptions = {
props: tag.tagProps,
emits: tag.tagEmits
};
const Tag = core.defineComponent("tag", {
...SchemaTagOptions,
component: vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./src/tag.vue.cjs")))
});
const PreviewTag = schema.defineTextPreviewComponent("preview-tag", {
...SchemaTagOptions,
component: vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./src/tag.vue.cjs")))
});
const YzSchemaTag = core.withInstall(Tag, { PreviewTag });
exports.YzSchemaTag = YzSchemaTag;
exports.default = YzSchemaTag;