{
  "widgetName": "Popover",
  "title": "气泡卡片",
  "aliasName": null,
  "desc": "气泡式的卡片浮层",
  "tag": "Popover 气泡卡片 弹出卡片 展开卡片 浮现卡片",
  "needExport": true,
  "props": {
    "createPortal": {
      "desc": "是否全局弹出器气泡框",
      "type": "boolean",
      "designOnly": false,
      "injectProps": false,
      "propsDefaultValue": true
    },
    "popupContainerId": {
      "desc": "配置弹出框的作用容器id",
      "type": "ContainerDomIdType",
      "designOnly": false,
      "injectProps": false
    },
    "lugiaHidden": {
      "desc": "是否渲染当前组件",
      "type": "boolean",
      "designOnly": false,
      "injectProps": false
    },
    "title": {
      "desc": "卡片标题显示内容",
      "type": "React.Node",
      "designOnly": false,
      "injectProps": false,
      "defaultValue": "This is title!"
    },
    "description": {
      "desc": "卡片描述显示内容",
      "type": "React.Node",
      "designOnly": false,
      "injectProps": false,
      "defaultValue": "This is description!"
    },
    "content": {
      "desc": "整个卡片显示内容",
      "type": "React.Node",
      "designOnly": false,
      "injectProps": false
    },
    "clearIcon": {
      "desc": "关闭气泡卡片的图标",
      "type": "icon",
      "designOnly": false,
      "injectProps": false
    },
    "showClearButton": {
      "desc": "是否显示关闭按钮",
      "type": "boolean",
      "designOnly": false,
      "injectProps": false,
      "defaultValue": true
    },
    "placement": {
      "desc": "气泡卡片显示的位置,十二个方向",
      "type": "DirectionType",
      "designOnly": false,
      "injectProps": false,
      "propsDefaultValue": "topLeft"
    },
    "visible": {
      "desc": "是否显示出来",
      "type": "boolean",
      "designOnly": false,
      "injectProps": false
    },
    "defaultVisible": {
      "desc": "默认是否显示出来",
      "type": "boolean",
      "designOnly": false,
      "injectProps": false
    },
    "action": {
      "desc": "页签位置，可配置 click,hover,focus",
      "type": "ActionType",
      "designOnly": false,
      "injectProps": false,
      "defaultValue": "click"
    },
    "children": {
      "desc": "气泡卡片需要包含的子组件",
      "type": "React.Node",
      "designOnly": false,
      "injectProps": false
    },
    "popArrowType": {
      "desc": "可配置两种风格的箭头. 尖角,圆角",
      "type": "PopArrowType",
      "designOnly": false,
      "injectProps": false,
      "propsDefaultValue": "sharp"
    }
  },
  "events": {
    "onVisibleChange": {
      "desc": "气泡卡片改变时触发",
      "args": [
        {
          "name": "event",
          "desc": "气泡卡片显示改变的DOM事件",
          "type": "Object"
        }
      ]
    },
    "onClearClick": {
      "desc": "气泡卡片关闭时时触发",
      "args": [
        {
          "name": "event",
          "desc": "气泡卡片关闭的DOM事件",
          "type": "Object"
        }
      ]
    }
  },
  "designInfo": {
    "CustomPopover": {
      "title": "自定义气泡卡片",
      "sequence": 1,
      "tag": null,
      "desc": "自定义气泡卡片",
      "props": {
        "title": "",
        "description": ""
      },
      "theme": {
        "PopoverContent": {
          "name": "气泡卡片框容器",
          "theme": {
            "Container": {
              "name": "气泡卡片框内容部分",
              "desc": "气泡卡片框内容部分",
              "normal": [
                [
                  "background"
                ],
                [
                  "color"
                ],
                [
                  "padding"
                ],
                [
                  "font"
                ],
                [
                  "fontSize"
                ],
                [
                  "width"
                ],
                [
                  "height"
                ],
                [
                  "boxShadow"
                ],
                [
                  "borderRadius"
                ],
                [
                  "border"
                ]
              ]
            },
            "ChildrenContainer": {
              "name": "包裹子组件的容器",
              "desc": "包裹子组件的容器",
              "normal": [
                [
                  "width"
                ]
              ],
              "hover": [],
              "clicked": [],
              "disabled": []
            }
          }
        },
        "PopoverClearIcon": {
          "name": "气泡卡片操作部分",
          "desc": "气泡卡片操作部分",
          "normal": [
            [
              "color"
            ],
            [
              "font"
            ],
            [
              "fontSize"
            ]
          ],
          "hover": [
            [
              "color"
            ]
          ]
        }
      },
      "defaultTheme": {
        "PopoverContent": {
          "Container": {
            "normal": {
              "width": 250,
              "height": 120
            }
          }
        }
      }
    }
  },
  "category": [
    "数据展示"
  ],
  "themeConfigStyle": [],
  "type": {
    "DirectionType": [
      {
        "value": "topLeft",
        "text": "上左"
      },
      {
        "value": "top",
        "text": "上"
      },
      {
        "value": "topRight",
        "text": "上右"
      },
      {
        "value": "bottomLeft",
        "text": "下左"
      },
      {
        "value": "bottom",
        "text": "下"
      },
      {
        "value": "bottomRight",
        "text": "下右"
      },
      {
        "value": "leftTop",
        "text": "左上"
      },
      {
        "value": "left",
        "text": "左"
      },
      {
        "value": "leftBottom",
        "text": "左下"
      },
      {
        "value": "rightTop",
        "text": "右上"
      },
      {
        "value": "right",
        "text": "右"
      },
      {
        "value": "rightBottom",
        "text": "右下"
      }
    ],
    "ActionType": [
      {
        "value": "click",
        "text": "点击"
      },
      {
        "value": "hover",
        "text": "滑过"
      },
      {
        "value": "focus",
        "text": "聚焦"
      }
    ],
    "PopArrowType": [
      {
        "value": "sharp",
        "text": "尖角"
      },
      {
        "value": "round",
        "text": "圆角"
      }
    ]
  },
  "theme": {
    "PopoverContent": {
      "name": "气泡卡片框容器",
      "theme": {
        "Container": {
          "name": "气泡卡片框内容部分",
          "desc": "气泡卡片框内容部分",
          "normal": [
            [
              "background"
            ],
            [
              "color"
            ],
            [
              "padding"
            ],
            [
              "font"
            ],
            [
              "fontSize"
            ],
            [
              "width"
            ],
            [
              "height"
            ],
            [
              "boxShadow"
            ],
            [
              "borderRadius"
            ],
            [
              "border"
            ]
          ]
        },
        "ChildrenContainer": {
          "name": "包裹子组件的容器",
          "desc": "包裹子组件的容器",
          "normal": [
            [
              "width"
            ]
          ],
          "hover": [],
          "clicked": [],
          "disabled": []
        },
        "TooltipTitle": {
          "name": "气泡卡片标题部分",
          "desc": "气泡卡片标题部分",
          "normal": [
            [
              "color"
            ],
            [
              "font"
            ],
            [
              "fontSize"
            ],
            [
              "margin",
              "bottom"
            ]
          ]
        },
        "TooltipDescription": {
          "name": "气泡卡片描述部分",
          "desc": "气泡卡片描述部分",
          "normal": [
            [
              "color"
            ],
            [
              "font"
            ],
            [
              "fontSize"
            ]
          ]
        }
      }
    },
    "PopoverClearIcon": {
      "name": "气泡卡片操作部分",
      "desc": "气泡卡片操作部分",
      "normal": [
        [
          "opacity"
        ],
        [
          "background"
        ],
        [
          "width"
        ],
        [
          "height"
        ],
        [
          "color"
        ],
        [
          "font"
        ],
        [
          "fontSize"
        ]
      ]
    }
  },
  "themeConfig": []
}
