yanzhen-design-vue
Version:
45 lines (44 loc) • 1.18 kB
JavaScript
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");
const otherTableOptions = {
ns,
class: ns.b(),
name: ns.defineVNodeName()
};
const otherTableName = otherTableOptions.name;
const otherTableProps = buildProps({
...apiProviderBaseProps,
value: String,
isConfiguring: {
type: Boolean,
default: false
},
isDetailConfigurePage: {
type: Boolean,
default: false
},
originAttributes: Object,
relBizObjectClassify: String,
relBizObjectModelCode: String,
relBizObjectModelPrimaryKey: String,
relBizObjectStorageMode: String,
theBizObjRelationTableColumnCode: String,
relBizObjectColumnCode: String,
relBizObjectColumnBizType: String,
theSourceColumnCode: String,
relSearchColumnCode: String,
relType: String,
sourceBizObjectModelCode: String
});
const otherTableEmits = buildEmits({
"update:value": (val) => true
});
export {
otherTableEmits,
otherTableName,
otherTableOptions,
otherTableProps
};