"use strict"; const common_vendor = require("../../common/vendor.js"); if (!Array) { const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); _easycom_uni_icons2(); } const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; if (!Math) { _easycom_uni_icons(); } const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "hs-radio-cell-picker-select", props: [ "List", "title", "pickerIndex", "value", "borderTop", "required", "tip", "key", "des", "padding", "valueModel", "disabled" ], emits: ["change", "update:valueModel"], setup(__props, { emit }) { const props = __props; const borderStyle = "1rpx solid #eee"; const paddingStyle = "10rpx 0"; const placeholder = "请选择"; const valueEd = common_vendor.ref(""); const onChange = (e) => { let selectData = props.List[e == null ? void 0 : e.detail.value]; valueEd.value = selectData == null ? void 0 : selectData.name; emit("update:valueModel", selectData == null ? void 0 : selectData.id); emit("change", selectData); }; return (_ctx, _cache) => { return common_vendor.e({ a: common_vendor.t((props == null ? void 0 : props.title) || "标题"), b: __props.required }, __props.required ? {} : {}, { c: common_vendor.t(valueEd.value || placeholder), d: common_vendor.p({ type: "right", size: "15", color: "#999" }), e: common_vendor.n(valueEd.value ? "valueStyle" : "valueStyle placeholderStyle"), f: props.borderTop ? borderStyle : "", g: (props == null ? void 0 : props.padding) || paddingStyle, h: props == null ? void 0 : props.List, i: (props == null ? void 0 : props.key) || "name", j: common_vendor.o(onChange), k: props == null ? void 0 : props.disabled }); }; } }); const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-715b9dea"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/components/hs-radio-cell-picker-select/hs-radio-cell-picker-select.vue"]]); wx.createComponent(Component);