import"./index-M_JNBppB.js";/* empty css                     *//* empty css               *//* empty css                  *//* empty css                     *//* empty css                  *//* empty css                 *//* empty css                        */import{_ as s}from"./CommonAttr-DJ3ylPmc.js";import{ax as d,c as _,B as c,z as f,O as e,u as V,F as m}from"./vue-BJk78QHK.js";import{b as v,n as b,d as g,e as x,a as E}from"./element-3_pOinej.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";/* empty css                    */import"./el-tooltip-l0sNRNKZ.js";import"./el-collapse-item-l0sNRNKZ.js";/* empty css                  *//* empty css                              *//* empty css                  */import"./attr-DzN5Wxes.js";/* empty css                   *//* empty css                  *//* empty css                   *//* empty css                    *//* empty css                 *//* empty css                *//* empty css                   *//* empty css                 *//* empty css                */import"./request-CEvu378m.js";const T={class:"attr-list v-talbe-attr"},te=Object.assign({name:"TemperatureAttr"},{__name:"TemperatureAttr",setup(z){const i=d(),o=_(()=>i.state.curComponent.propValue);return(F,t)=>{const p=b,a=v,r=x,n=g,u=E;return f(),c("div",T,[e(V(s)),e(u,{class:"more-form","label-position":"left","label-width":"100px"},{default:m(()=>[e(a,{label:"最大值:"},{default:m(()=>[e(p,{size:"small",modelValue:o.value.config.maxTemp,"onUpdate:modelValue":t[0]||(t[0]=l=>o.value.config.maxTemp=l),step:1},null,8,["modelValue"])]),_:1}),e(a,{label:"最小值:"},{default:m(()=>[e(p,{size:"small",modelValue:o.value.config.minTemp,"onUpdate:modelValue":t[1]||(t[1]=l=>o.value.config.minTemp=l),step:1},null,8,["modelValue"])]),_:1}),e(a,{label:"当前值:"},{default:m(()=>[e(p,{size:"small",modelValue:o.value.config.value,"onUpdate:modelValue":t[2]||(t[2]=l=>o.value.config.value=l),step:1},null,8,["modelValue"])]),_:1}),e(a,{label:"类型:"},{default:m(()=>[e(n,{size:"small",modelValue:o.value.config.unit,"onUpdate:modelValue":t[3]||(t[3]=l=>o.value.config.unit=l),placeholder:"请选择"},{default:m(()=>[e(r,{label:"摄氏度",value:"Celcius"}),e(r,{label:"华氏度",value:"Fahrenheit"})]),_:1},8,["modelValue"])]),_:1})]),_:1})])}}});export{te as default};
