UNPKG

yanzhen-design-vue

Version:

41 lines (40 loc) 1.2 kB
import { buildProps, buildEmits } from "@yanzhen-libs/utils-vue"; import { apiProviderBaseProps } from "@yanzhen-lowcode/core"; import "../../../hooks/index.mjs"; import { useNamespace } from "../../../hooks/use-namespace/index.mjs"; const ns = useNamespace("other-table-select"); const otherTableSelectOptions = { ns, class: ns.b(), name: ns.defineVNodeName() }; const otherTableSelectName = otherTableSelectOptions.name; const otherTableSelectProps = buildProps({ ...apiProviderBaseProps, value: String, disabled: Boolean, originAttributes: Object, relBizObjectClassify: String, relBizObjectModelCode: String, relBizObjectModelPrimaryKey: String, relBizObjectStorageMode: String, theBizObjRelationTableColumnCode: String, relBizObjectColumnCode: String, relBizObjectColumnBizType: String, theSourceColumnCode: String, relSearchColumnCode: String, relType: String, bizObjectModelCode: String, columnCode: String, dataCommon: Object }); const otherTableSelectEmits = buildEmits({ "update:value": (val) => true, cx1Change: (val) => true }); export { otherTableSelectEmits, otherTableSelectName, otherTableSelectOptions, otherTableSelectProps };