import"./index-M_JNBppB.js";/* empty css                     *//* empty css                  *//* empty css                 *//* empty css                              *//* empty css                  *//* empty css                        *//* empty css               *//* empty css                  *//* empty css                     *//* empty css                  */import{_ as b}from"./CommonAttr-DJ3ylPmc.js";import{ax as w,r as k,c as E,B as U,z as u,O as l,u as d,F as t,y as f,I as c}from"./vue-BJk78QHK.js";import N from"./EditScrollRanking-DJg0gZdJ.js";import{b as x,d as z,e as O,n as S,s as C,c as B,r as I,a as T}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";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";import"./partRequest-DNeIWx7q.js";const h={class:"attr-list v-talbe-attr"},ge=Object.assign({name:"ScrollRankingAttr"},{__name:"ScrollRankingAttr",setup(y){const g=w(),m=k(["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","rgba(255, 69, 0, 0.68)","rgb(255, 120, 0)","rgb(51, 100, 98)","rgb(120, 40, 94, 0.5)","hsl(181, 100%, 37%)","hsla(209, 100%, 56%, 0.73)","rgba(255, 0, 0, 1)"]),e=E(()=>g.state.curComponent.propValue);return(F,o)=>{const i=O,V=z,n=x,p=S,r=C,s=B,_=I,v=T;return u(),U("div",h,[l(d(b)),l(d(N)),l(v,{class:"more-form","label-position":"left","label-width":"100px"},{default:t(()=>[l(n,{label:"轮播方式"},{default:t(()=>[l(V,{size:"small",modelValue:e.value.config.carousel,"onUpdate:modelValue":o[0]||(o[0]=a=>e.value.config.carousel=a),placeholder:"请选择"},{default:t(()=>[l(i,{label:"行滚动",value:"single"}),l(i,{label:"翻页",value:"page"})]),_:1},8,["modelValue"])]),_:1}),l(n,{label:"显示多少行"},{default:t(()=>[l(p,{size:"small",modelValue:e.value.config.rowNum,"onUpdate:modelValue":o[1]||(o[1]=a=>e.value.config.rowNum=a),step:1,min:0},null,8,["modelValue"])]),_:1}),l(n,{label:"轮播时间(ms)"},{default:t(()=>[l(p,{size:"small",modelValue:e.value.config.waitTime,"onUpdate:modelValue":o[2]||(o[2]=a=>e.value.config.waitTime=a),step:500,min:0},null,8,["modelValue"])]),_:1}),l(n,{label:"条形颜色:"},{default:t(()=>[l(r,{modelValue:e.value.config.color1,"onUpdate:modelValue":o[3]||(o[3]=a=>e.value.config.color1=a),predefine:m.value,"show-alpha":""},null,8,["modelValue","predefine"]),l(r,{modelValue:e.value.config.color2,"onUpdate:modelValue":o[4]||(o[4]=a=>e.value.config.color2=a),predefine:m.value,"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),l(n,{label:"单位:"},{default:t(()=>[l(s,{size:"small",modelValue:e.value.config.unit,"onUpdate:modelValue":o[5]||(o[5]=a=>e.value.config.unit=a),placeholder:""},null,8,["modelValue"])]),_:1}),l(n,{label:"值颜色:"},{default:t(()=>[l(r,{modelValue:e.value.config.color4,"onUpdate:modelValue":o[6]||(o[6]=a=>e.value.config.color4=a),predefine:m.value,"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),l(n,{label:"显示索引"},{default:t(()=>[l(_,{size:"small",modelValue:e.value.config.showNO,"onUpdate:modelValue":o[7]||(o[7]=a=>e.value.config.showNO=a)},null,8,["modelValue"])]),_:1}),e.value.config.showNO?(u(),f(n,{key:0,label:"排名索引名"},{default:t(()=>[l(s,{size:"small",modelValue:e.value.config.noText,"onUpdate:modelValue":o[8]||(o[8]=a=>e.value.config.noText=a),placeholder:""},null,8,["modelValue"])]),_:1})):c("",!0),e.value.config.showNO?(u(),f(n,{key:1,label:"索引颜色:"},{default:t(()=>[l(r,{modelValue:e.value.config.color3,"onUpdate:modelValue":o[9]||(o[9]=a=>e.value.config.color3=a),predefine:m.value,"show-alpha":""},null,8,["modelValue","predefine"])]),_:1})):c("",!0)]),_:1})])}}});export{ge as default};
