mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
fix: 🐛 Tab & TabItem assets config
This commit is contained in:
parent
b460dcf727
commit
0cc08fb0f6
@ -10164,11 +10164,6 @@
|
||||
"subName": ""
|
||||
},
|
||||
"props": [
|
||||
{
|
||||
"name": "prefix",
|
||||
"propType": "string",
|
||||
"defaultValue": "next-"
|
||||
},
|
||||
{
|
||||
"name": "rtl",
|
||||
"propType": "bool"
|
||||
@ -10184,28 +10179,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "activeKey",
|
||||
"propType": {
|
||||
"type": "oneOfType",
|
||||
"value": [
|
||||
"number",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"description": "被激活的选项卡的 key, 赋值则tab为受控组件, 用户无法切换"
|
||||
},
|
||||
{
|
||||
"name": "defaultActiveKey",
|
||||
"propType": {
|
||||
"type": "oneOfType",
|
||||
"value": [
|
||||
"number",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"description": "初始化时被激活的选项卡的 key"
|
||||
},
|
||||
{
|
||||
"name": "shape",
|
||||
"propType": {
|
||||
@ -10288,21 +10261,11 @@
|
||||
"description": "是否自动卸载未处于激活状态的选项卡",
|
||||
"defaultValue": false
|
||||
},
|
||||
{
|
||||
"name": "navStyle",
|
||||
"propType": "object",
|
||||
"description": "导航条的自定义样式"
|
||||
},
|
||||
{
|
||||
"name": "navClassName",
|
||||
"propType": "string",
|
||||
"description": "导航条的自定义样式类"
|
||||
},
|
||||
{
|
||||
"name": "contentStyle",
|
||||
"propType": "object",
|
||||
"description": "内容区容器的自定义样式"
|
||||
},
|
||||
{
|
||||
"name": "contentClassName",
|
||||
"propType": "string",
|
||||
@ -10331,20 +10294,6 @@
|
||||
"propType": "func",
|
||||
"description": "选项卡被关闭时的事件回调\n@param {String|Number} key 关闭的选项卡的 key"
|
||||
},
|
||||
{
|
||||
"name": "tabRender",
|
||||
"propType": "func",
|
||||
"description": "自定义选项卡模板渲染函数\n@param {String} key 当前 Tab.Item 的 key 值\n@param {Object} props 传给 Tab.Item 的所有属性键值对\n@return {ReactNode} 返回自定义组件"
|
||||
},
|
||||
{
|
||||
"name": "popupProps",
|
||||
"propType": "object",
|
||||
"description": "弹层属性透传, 只有当 excessMode 为 dropdown 时生效"
|
||||
},
|
||||
{
|
||||
"name": "children",
|
||||
"propType": "any"
|
||||
},
|
||||
{
|
||||
"name": "className",
|
||||
"propType": "string"
|
||||
@ -10353,7 +10302,12 @@
|
||||
"name": "style",
|
||||
"propType": "object"
|
||||
}
|
||||
]
|
||||
],
|
||||
"configure": {
|
||||
"component": {
|
||||
"isContainer": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"componentName": "Tab.Item",
|
||||
@ -10369,17 +10323,9 @@
|
||||
"subName": "Item"
|
||||
},
|
||||
"props": [
|
||||
{
|
||||
"name": "prefix",
|
||||
"propType": "string",
|
||||
"defaultValue": "next-"
|
||||
},
|
||||
{
|
||||
"name": "title",
|
||||
"propType": {
|
||||
"type": "instanceOf",
|
||||
"value": "node"
|
||||
},
|
||||
"propType": "string",
|
||||
"description": "选项卡标题"
|
||||
},
|
||||
{
|
||||
@ -10393,27 +10339,16 @@
|
||||
"propType": "bool",
|
||||
"description": "选项卡是否被禁用"
|
||||
},
|
||||
{
|
||||
"name": "active",
|
||||
"propType": "bool"
|
||||
},
|
||||
{
|
||||
"name": "lazyLoad",
|
||||
"propType": "bool"
|
||||
},
|
||||
{
|
||||
"name": "unmountInactiveTabs",
|
||||
"propType": "bool"
|
||||
},
|
||||
{
|
||||
"name": "children",
|
||||
"propType": "any"
|
||||
},
|
||||
{
|
||||
"name": "style",
|
||||
"propType": "object"
|
||||
}
|
||||
]
|
||||
],
|
||||
"configure": {
|
||||
"component": {
|
||||
"isContainer": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"componentName": "Tab.TabPane",
|
||||
@ -10453,27 +10388,16 @@
|
||||
"propType": "bool",
|
||||
"description": "选项卡是否被禁用"
|
||||
},
|
||||
{
|
||||
"name": "active",
|
||||
"propType": "bool"
|
||||
},
|
||||
{
|
||||
"name": "lazyLoad",
|
||||
"propType": "bool"
|
||||
},
|
||||
{
|
||||
"name": "unmountInactiveTabs",
|
||||
"propType": "bool"
|
||||
},
|
||||
{
|
||||
"name": "children",
|
||||
"propType": "any"
|
||||
},
|
||||
{
|
||||
"name": "style",
|
||||
"propType": "object"
|
||||
}
|
||||
]
|
||||
],
|
||||
"configure": {
|
||||
"component": {
|
||||
"isContainer": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"componentName": "Tag",
|
||||
@ -10530,6 +10454,10 @@
|
||||
"name": "children",
|
||||
"propType": "string",
|
||||
"description": "内容"
|
||||
},
|
||||
{
|
||||
"name": "style",
|
||||
"propType": "object"
|
||||
}
|
||||
],
|
||||
"configure": {}
|
||||
@ -10572,6 +10500,10 @@
|
||||
"name": "children",
|
||||
"propType": "string",
|
||||
"description": "内容"
|
||||
},
|
||||
{
|
||||
"name": "style",
|
||||
"propType": "object"
|
||||
}
|
||||
],
|
||||
"configure": {}
|
||||
@ -10627,6 +10559,10 @@
|
||||
"name": "children",
|
||||
"propType": "string",
|
||||
"description": "内容"
|
||||
},
|
||||
{
|
||||
"name": "style",
|
||||
"propType": "object"
|
||||
}
|
||||
],
|
||||
"configure": {}
|
||||
@ -14176,7 +14112,15 @@
|
||||
"size": "medium",
|
||||
"triggerType": "click",
|
||||
"lazyLoad": true
|
||||
}
|
||||
},
|
||||
"children": [{
|
||||
"componentName": "Tab.Item",
|
||||
"props": {
|
||||
"prefix": "next-",
|
||||
"title": "Tab Title",
|
||||
"closeable": true
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -14195,7 +14139,7 @@
|
||||
"componentName": "Tab.Item",
|
||||
"props": {
|
||||
"prefix": "next-",
|
||||
"title": "",
|
||||
"title": "Tab Title",
|
||||
"closeable": true
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user