mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-19 04:04:15 +00:00
feat: 🎸 Collapse component update
This commit is contained in:
parent
8fd77df2a0
commit
c682cc50d5
@ -3831,38 +3831,24 @@
|
|||||||
"subName": ""
|
"subName": ""
|
||||||
},
|
},
|
||||||
"props": [
|
"props": [
|
||||||
{
|
|
||||||
"name": "prefix",
|
|
||||||
"propType": "string",
|
|
||||||
"description": "样式前缀",
|
|
||||||
"defaultValue": "next-"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "style",
|
|
||||||
"propType": "object",
|
|
||||||
"description": "组件接受行内样式"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "dataSource",
|
"name": "dataSource",
|
||||||
"propType": {
|
"propType": "Json",
|
||||||
"type": "instanceOf",
|
|
||||||
"value": "array"
|
|
||||||
},
|
|
||||||
"description": "使用数据模型构建"
|
"description": "使用数据模型构建"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "defaultExpandedKeys",
|
"name": "defaultExpandedKeys",
|
||||||
"propType": {
|
"propType": {
|
||||||
"type": "instanceOf",
|
"type": "arrayOf",
|
||||||
"value": "array"
|
"value": "string"
|
||||||
},
|
},
|
||||||
"description": "默认展开keys"
|
"description": "默认展开keys"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "expandedKeys",
|
"name": "expandedKeys",
|
||||||
"propType": {
|
"propType": {
|
||||||
"type": "instanceOf",
|
"type": "arrayOf",
|
||||||
"value": "array"
|
"value": "string"
|
||||||
},
|
},
|
||||||
"description": "受控展开keys"
|
"description": "受控展开keys"
|
||||||
},
|
},
|
||||||
@ -3881,32 +3867,31 @@
|
|||||||
"propType": "string",
|
"propType": "string",
|
||||||
"description": "扩展class"
|
"description": "扩展class"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "style",
|
||||||
|
"propType": "object",
|
||||||
|
"description": "组件接受行内样式"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "accordion",
|
"name": "accordion",
|
||||||
"propType": "bool",
|
"propType": "bool",
|
||||||
"description": "手风琴模式,一次只能打开一个",
|
"description": "手风琴模式,一次只能打开一个",
|
||||||
"defaultValue": false
|
"defaultValue": false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "children",
|
|
||||||
"propType": {
|
|
||||||
"type": "instanceOf",
|
|
||||||
"value": "node"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "id",
|
|
||||||
"propType": "string"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "rtl",
|
"name": "rtl",
|
||||||
"propType": "bool"
|
"propType": "bool"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"configure": {
|
||||||
|
"component": {
|
||||||
|
"isContainer": true
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"componentName": "Panel",
|
"componentName": "Collapse.Panel",
|
||||||
"title": "Panel",
|
"title": "Collapse.Panel",
|
||||||
"docUrl": "",
|
"docUrl": "",
|
||||||
"screenshot": "",
|
"screenshot": "",
|
||||||
"npm": {
|
"npm": {
|
||||||
@ -3919,25 +3904,14 @@
|
|||||||
},
|
},
|
||||||
"props": [
|
"props": [
|
||||||
{
|
{
|
||||||
"name": "prefix",
|
"name": "children",
|
||||||
"propType": "string",
|
"propType": "any"
|
||||||
"description": "样式类名的品牌前缀",
|
|
||||||
"defaultValue": "next-"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "style",
|
"name": "style",
|
||||||
"propType": "object",
|
"propType": "object",
|
||||||
"description": "子组件接受行内样式"
|
"description": "子组件接受行内样式"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "children",
|
|
||||||
"propType": "any"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "isExpanded",
|
|
||||||
"propType": "bool",
|
|
||||||
"defaultValue": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "disabled",
|
"name": "disabled",
|
||||||
"propType": "bool",
|
"propType": "bool",
|
||||||
@ -3950,19 +3924,6 @@
|
|||||||
"value": "node"
|
"value": "node"
|
||||||
},
|
},
|
||||||
"description": "标题"
|
"description": "标题"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "className",
|
|
||||||
"propType": "string",
|
|
||||||
"description": "扩展class"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "onClick",
|
|
||||||
"propType": "func"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "id",
|
|
||||||
"propType": "string"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -14073,10 +14034,8 @@
|
|||||||
"prefix": "next-"
|
"prefix": "next-"
|
||||||
},
|
},
|
||||||
"children": [{
|
"children": [{
|
||||||
"componentName": "Panel",
|
"componentName": "Collapse.Panel",
|
||||||
"props": {
|
"props": {
|
||||||
"prefix": "next-",
|
|
||||||
"isExpanded": true,
|
|
||||||
"title": "面板标题"
|
"title": "面板标题"
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
@ -14084,6 +14043,26 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"componentName": "Collapse.Panel",
|
||||||
|
"title": "折叠面板Panel",
|
||||||
|
"icon": "",
|
||||||
|
"package": "@alifd/next",
|
||||||
|
"library": "Next",
|
||||||
|
"snippets": [
|
||||||
|
{
|
||||||
|
"title": "折叠面板Panel",
|
||||||
|
"screenshot": "https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_collapse.png",
|
||||||
|
"schema": {
|
||||||
|
"componentName": "Collapse.Panel",
|
||||||
|
"props": {
|
||||||
|
"prefix": "next-",
|
||||||
|
"title": "面板标题"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"componentName": "List",
|
"componentName": "List",
|
||||||
"title": "列表",
|
"title": "列表",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user