{ "name": "@echarts/circularProgress", "version": "0.0.5", "dependencies": { "bcore": "0.0.18", "jquery": "2.1.4", "lodash": "4.6.1", "react": "17.0.2", "react-dom": "17.0.2", "@babel/runtime": "7.18.3", "echarts": "5.4.0" }, "scripts": { "build": "cube build ./ --output=../../../datavComponent --remote=pandav --smart" }, "pandav": { "cn_name": "环形进度", "protocol": 2, "level": 0, "thumbnail": "/civ_pandaview_component/pandabi-component/assets/环形栅格占比.gif", "icon": "/civ_pandaview_component/pandabi-component/assets/环形栅格占比.gif", "type": [ "DataV-6:info_target" ], "view": { "width": "220", "height": "220", "minWidth": "200", "minHeight": "100", "z-index": 10 }, "apis": { "source": { "handler": "render", "description": "数据接口", "fields": { "value": { "description": "值", "type": "value" } } } }, "config": { "options": { "type": "menu", "children": { "chart": { "type": "menuChild", "name": "全局", "children": { "radius": { "name": "半径", "type": "number", "default": "90", "description": "相对于容器高宽中较小一项的百分比", "suffix": "%" }, "angle": { "type": "suite", "name": "偏移", "children": { "startAngle": { "type": "number", "default": 200, "col": 12, "name": "起始角度" }, "endAngle": { "type": "number", "col": 12, "default": 340, "name": "终点角度" } } }, "clockwise": { "name": "顺时针", "type": "boolean", "default": true }, "width": { "name": "进度条宽度", "type": "number", "default": 18 }, "splitNumber": { "name": "分割段数", "type": "number", "default": 30 }, "selectColor": { "name": "前景色", "type": "fill", "components": [ "flat", "linearGradient" ], "default": { "type": "linearGradient", "value": { "stops": [ { "offset": 0, "color": "#1890ff" }, { "offset": 100, "color": "#06fcfc" } ], "angle": 90, "opacity": 1 } } }, "unSelectColor": { "name": "背景色", "type": "color", "default": "rgba(0,238,255,0.1)" }, "splitLine": { "name": "分割线", "type": "group", "children": { "show": { "name": "显示", "type": "boolean", "default": true }, "color": { "name": "颜色", "type": "color", "default": "#0d2a43ff" }, "length": { "name": "线长", "type": "number", "default": 18 }, "distance": { "name": "轴距", "type": "number", "default": -18 }, "width": { "name": "线宽", "type": "number", "default": 3 }, "type": { "name": "样式", "default": "solid", "type": "select", "options": [ { "name": "实心", "value": "solid" }, { "name": "虚线", "value": "dashed" }, { "name": "点线", "value": "dotted" } ] } } }, "shadow": { "name": "阴影", "type": "group", "children": { "shadowColor": { "name": "颜色", "type": "color", "default": "#0d2a43ff" }, "shadowBlur": { "name": "线长", "type": "number", "default": 18 }, "shadowOffset": { "type": "suite", "name": "阴影偏移", "children": { "x": { "type": "number", "default": 0, "col": 12, "name": "水平" }, "y": { "type": "number", "col": 12, "default": 0, "name": "垂直" } } } } } } }, "indicator": { "type": "menuChild", "name": "指标", "children": { "font": { "type": "font", "components": [ "fontFamily", "fontWeight", "fontSize", "color" ], "name": "文本样式", "default": { "fontFamily": "Mircosoft Yahei", "fontSize": 30, "color": "rgba(230, 247, 255, 1)", "fontWeight": "normal" } }, "translate": { "type": "suite", "name": "偏移", "children": { "x": { "type": "number", "suffix": "%", "default": 0, "col": 12, "name": "水平" }, "y": { "type": "number", "suffix": "%", "col": 12, "default": 0, "name": "垂直" } } }, "decimals": { "type": "number", "suffix": "位", "default": 2, "col": 12, "name": "保留小数" }, "suffix": { "name": "后缀", "fold": true, "enableHide": true, "type": "group", "children": { "show": { "default": true }, "text": { "name": "文本", "default": "%", "type": "text" }, "margin": { "type": "suite", "name": "边距", "children": { "top": { "name": "上", "default": 0, "type": "number", "col": 6 }, "bottom": { "name": "下", "default": 0, "type": "number", "col": 6 }, "left": { "name": "左", "default": 0, "type": "number", "col": 6 }, "right": { "name": "右", "default": 0, "type": "number", "col": 6 } } }, "font": { "type": "font", "name": "文本样式", "components": [ "fontFamily", "fontWeight", "fontSize", "color" ], "default": { "fontFamily": "Mircosoft Yahei", "fontSize": 30, "color": "rgba(230, 247, 255, 1)", "fontWeight": "normal" } } } } } }, "animation": { "type": "menuChild", "name": "动画", "children": { "animation": { "name": "动画", "type": "boolean", "default": true }, "animationDuration": { "name": "动画时长", "type": "number", "step": 1, "default": 1000 } } }, "valueRange": { "type": "menuChild", "name": "区间", "children": { "valueRange": { "type": "tabs", "name": "数值区间", "default": [], "template": { "type": "object", "name": "区间<%= i + 1%>", "children": { "dataRange": { "name": "范围", "type": "slider", "mode": "double", "default": [ 0, 1 ], "step": 0.01, "min": 0, "max": 1, "showCurrentRange": true }, "color": { "name": "前景色", "type": "color", "default": "#00EEFF" } } } } } } } } }, "api_data": { "source": [ { "value": 0.2 } ] }, "events": {}, "publicHandler": {} } }