{
  "widgetName": "TimeLineItem",
  "title": "时间轴节点",
  "desc": "时间轴每一个节点",
  "props": {
    "lugiaHidden": {
      "type": "boolean",
      "desc": "是否渲染当前组件",
      "defaultValue": false
    },
    "time": {
      "type": "string",
      "desc": "时间轴显示的时间"
    },
    "description": {
      "type": "string",
      "desc": "时间轴显示的节点描述"
    },
    "icon": {
      "type": "icon",
      "desc": "时间轴显示的节点图标资源"
    },
    "direction": {
      "type": "string",
      "desc": "时间轴显示内容的方向,根据父组件mode属性来显示",
      "defaultValue": "right"
    },
    "isLast": {
      "type": "boolean",
      "desc": "是否是最后一个时间节点",
      "defaultValue": false
    },
    "status": {
      "type": "TimeLineStatus",
      "desc": "时间节点的状态",
      "defaultValue": "normal"
    },
    "timeLineType": {
      "type": "TimeLineItemType",
      "desc": "时间节点的风格 可配置 图标风格和隐藏解释类型,默认是点状类型",
      "propsDefaultValue": "dot"
    },
    "pending": {
      "type": "boolean",
      "desc": "最后一个是否是幽灵节点",
      "defaultValue": false
    },
    "pendingDot": {
      "type": "icon",
      "desc": "当最后一个是幽灵节点时,指定其图标资源"
    }
  },
  "type": {
    "TimeLineItemType": [
      {
        "value": "dot",
        "text": "点状节点"
      },
      {
        "value": "icon",
        "text": "图标节点"
      },
      {
        "value": "explain",
        "text": "隐藏节点"
      }
    ],
    "TimeLineStatus": [
      {
        "value": "success",
        "text": "成功状态"
      },
      {
        "value": "failed",
        "text": "失败状态"
      },
      {
        "value": "normal",
        "text": "正常状态"
      }
    ]
  },
  "category": ["数据展示"],
  "theme": {
    "TimeLineDot": {
      "name": "时间节点",
      "desc": "时间节点配置",
      "normal": [["width"], ["height"], ["background"], ["boxShadow"], ["border"], ["borderRadius"]]
    },
    "TimeLineItemContainer": {
      "name": "时间节点外层容器",
      "desc": "时间节点外层容器配置",
      "normal": [["width"], ["height"], ["margin"], ["padding"]]
    },
    "TimeLineExplainDot": {
      "name": "隐藏的解释时间节点",
      "desc": "隐藏的解释时间节点配置",
      "normal": [["width"], ["height"], ["background"], ["boxShadow"], ["border"], ["margin"]]
    },
    "TimeLineItemTip": {
      "name": "隐藏信息弹框",
      "theme": {
        "Container": {
          "name": "隐藏的解释时间节点显示容器",
          "desc": "隐藏的解释时间节点显示容器配置",
          "normal": [
            ["width"],
            ["height"],
            ["background"],
            ["boxShadow"],
            ["border"],
            ["borderRadius"]
          ]
        },
        "TooltipTitle": {
          "name": "隐藏的解释时间节点标题",
          "desc": "隐藏的解释时间节点标题配置",
          "normal": [
            ["fontSize"],
            ["font"],
            ["color"],
            ["width"],
            ["height"],
            ["padding"],
            ["margin"]
          ]
        },
        "TooltipDescription": {
          "name": "隐藏的解释时间节点描述",
          "desc": "隐藏的解释时间节点描述配置",
          "normal": [
            ["fontSize"],
            ["font"],
            ["color"],
            ["width"],
            ["height"],
            ["padding"],
            ["margin"]
          ]
        }
      }
    },
    "TimeLineItemLine": {
      "name": "时间节点连接线",
      "desc": "时间节点连接线的配置",
      "normal": [["width"], ["height"], ["background"]]
    },
    "TimeLineIcon": {
      "normal": {
        "name": "时间节点内容图标",
        "desc": "时间节点连接线的配置",
        "normal": [["font"], ["fontSize"], ["color"]]
      }
    },
    "TimeLineItemTitle": {
      "normal": {
        "name": "时间节点时间文本",
        "desc": "时间节点时间文本配置",
        "normal": [["font"], ["fontSize"], ["color"], ["margin"], ["lineHeight"]]
      }
    },
    "TimeLineItemDescription": {
      "normal": {
        "name": "时间节点描述信息",
        "desc": "时间节点描述信息配置",
        "normal": [["font"], ["fontSize"], ["color"], ["margin"], ["lineHeight"]]
      }
    }
  }
}
