42 lines
1.7 KiB
JavaScript
42 lines
1.7 KiB
JavaScript
"use strict";
|
|
var common_vendor = require("../../../../common/vendor.js");
|
|
var uni_modules_wotDesignUni_components_composables_useChildren = require("../composables/useChildren.js");
|
|
var uni_modules_wotDesignUni_components_wdCellGroup_types = require("./types.js");
|
|
require("../common/props.js");
|
|
const __default__ = {
|
|
name: "wd-cell-group",
|
|
options: {
|
|
addGlobalClass: true,
|
|
virtualHost: true,
|
|
styleIsolation: "shared"
|
|
}
|
|
};
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
...__default__,
|
|
props: uni_modules_wotDesignUni_components_wdCellGroup_types.cellGroupProps,
|
|
setup(__props) {
|
|
const props = __props;
|
|
const { linkChildren } = uni_modules_wotDesignUni_components_composables_useChildren.useChildren(uni_modules_wotDesignUni_components_wdCellGroup_types.CELL_GROUP_KEY);
|
|
linkChildren({ props });
|
|
return (_ctx, _cache) => {
|
|
return common_vendor.e({
|
|
a: _ctx.title || _ctx.value || _ctx.useSlot
|
|
}, _ctx.title || _ctx.value || _ctx.useSlot ? common_vendor.e({
|
|
b: !_ctx.$slots.title
|
|
}, !_ctx.$slots.title ? {
|
|
c: common_vendor.t(_ctx.title)
|
|
} : {}, {
|
|
d: !_ctx.$slots.value
|
|
}, !_ctx.$slots.value ? {
|
|
e: common_vendor.t(_ctx.value)
|
|
} : {}) : {}, {
|
|
f: common_vendor.n(_ctx.border ? "is-border" : ""),
|
|
g: common_vendor.n(_ctx.customClass),
|
|
h: common_vendor.s(_ctx.customStyle)
|
|
});
|
|
};
|
|
}
|
|
});
|
|
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7635c886"], ["__file", "D:/\u7F51\u6291\u4E91Time/\u79C1\u6D3B/2000\u7B97\u5366/src/uni_modules/wot-design-uni/components/wd-cell-group/wd-cell-group.vue"]]);
|
|
wx.createComponent(Component);
|