@next-bricks/presentational-bricks 1.244.0 → 1.244.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/deploy/contract.yaml +107 -107
- package/dist/bricks.json +23 -23
- package/dist/index.fada8309.js +2 -0
- package/dist/index.fada8309.js.map +1 -0
- package/dist/stories.json +3 -133
- package/package.json +2 -2
- package/dist/index.6aff5fac.js +0 -2
- package/dist/index.6aff5fac.js.map +0 -1
package/dist/stories.json
CHANGED
|
@@ -6586,21 +6586,21 @@
|
|
|
6586
6586
|
"type": "false | TablePaginationConfig",
|
|
6587
6587
|
"required": "false",
|
|
6588
6588
|
"default": "-",
|
|
6589
|
-
"description": "
|
|
6589
|
+
"description": "是否显示分页,影响优先级低于configProps.pagination"
|
|
6590
6590
|
},
|
|
6591
6591
|
{
|
|
6592
6592
|
"name": "size",
|
|
6593
6593
|
"type": "SizeType",
|
|
6594
6594
|
"required": "false",
|
|
6595
6595
|
"default": "-",
|
|
6596
|
-
"description": "表格大小(antd原生size
|
|
6596
|
+
"description": "表格大小(antd原生size),影响优先级低于configProps.size"
|
|
6597
6597
|
},
|
|
6598
6598
|
{
|
|
6599
6599
|
"name": "type",
|
|
6600
6600
|
"type": "RowSelectionType",
|
|
6601
6601
|
"required": "false",
|
|
6602
6602
|
"default": "-",
|
|
6603
|
-
"description": "
|
|
6603
|
+
"description": "选框类型(单选/多选),影响优先级低于configProps.rowSelection.type"
|
|
6604
6604
|
},
|
|
6605
6605
|
{
|
|
6606
6606
|
"name": "selectedRowKeys",
|
|
@@ -9516,136 +9516,6 @@
|
|
|
9516
9516
|
"icon": "clock"
|
|
9517
9517
|
},
|
|
9518
9518
|
"conf": [
|
|
9519
|
-
{
|
|
9520
|
-
"brick": "presentational-bricks.card-item",
|
|
9521
|
-
"description": {
|
|
9522
|
-
"title": "卡片布局为 `icon-as-background` 类型,icon 作为背景。",
|
|
9523
|
-
"message": "可以配置 `operate`,`topRightOperate` 等操作区的插槽。icon 默认在右下角,可以自行调整 icon 大小-`iconSize`,icon 位置偏移量-`iconOffsetX`/`iconOffsetX`,icon 透明度-`iconOpacity` 等。适用场景:不需要用户凭借右下角图标来区分不同类型卡片,图标常作为装饰来丰富卡片样式存在。"
|
|
9524
|
-
},
|
|
9525
|
-
"properties": {
|
|
9526
|
-
"cardLayoutType": "icon-as-background",
|
|
9527
|
-
"dataSource": {
|
|
9528
|
-
"descriptionList": [
|
|
9529
|
-
"Deployment 工作模式",
|
|
9530
|
-
"1 个负载均衡器",
|
|
9531
|
-
"啦啦"
|
|
9532
|
-
],
|
|
9533
|
-
"id": "1",
|
|
9534
|
-
"name": "k8s"
|
|
9535
|
-
},
|
|
9536
|
-
"fields": {
|
|
9537
|
-
"cardTitle": "name",
|
|
9538
|
-
"descriptionList": "descriptionList"
|
|
9539
|
-
},
|
|
9540
|
-
"icon": {
|
|
9541
|
-
"category": "app",
|
|
9542
|
-
"icon": "k8s",
|
|
9543
|
-
"lib": "easyops"
|
|
9544
|
-
},
|
|
9545
|
-
"iconOffsetX": "-20px",
|
|
9546
|
-
"iconOffsetY": "-20px",
|
|
9547
|
-
"iconSize": "120px",
|
|
9548
|
-
"style": {
|
|
9549
|
-
"width": "300px"
|
|
9550
|
-
},
|
|
9551
|
-
"urlTemplate": "/#{id}"
|
|
9552
|
-
},
|
|
9553
|
-
"slots": {
|
|
9554
|
-
"afterTitle": {
|
|
9555
|
-
"bricks": [
|
|
9556
|
-
{
|
|
9557
|
-
"brick": "presentational-bricks.brick-value-mapping",
|
|
9558
|
-
"properties": {
|
|
9559
|
-
"mapping": {
|
|
9560
|
-
"failed": {
|
|
9561
|
-
"color": "red-inverse",
|
|
9562
|
-
"text": "失败"
|
|
9563
|
-
},
|
|
9564
|
-
"success": {
|
|
9565
|
-
"color": "green-inverse",
|
|
9566
|
-
"text": "正常"
|
|
9567
|
-
},
|
|
9568
|
-
"warning": {
|
|
9569
|
-
"color": "orange-inverse",
|
|
9570
|
-
"text": "异常"
|
|
9571
|
-
}
|
|
9572
|
-
},
|
|
9573
|
-
"value": "success"
|
|
9574
|
-
}
|
|
9575
|
-
}
|
|
9576
|
-
],
|
|
9577
|
-
"type": "bricks"
|
|
9578
|
-
},
|
|
9579
|
-
"operate": {
|
|
9580
|
-
"bricks": [
|
|
9581
|
-
{
|
|
9582
|
-
"brick": "basic-bricks.general-button",
|
|
9583
|
-
"events": {
|
|
9584
|
-
"general.button.click": {
|
|
9585
|
-
"action": "console.log"
|
|
9586
|
-
}
|
|
9587
|
-
},
|
|
9588
|
-
"properties": {
|
|
9589
|
-
"buttonName": "主按钮",
|
|
9590
|
-
"buttonShape": "round",
|
|
9591
|
-
"buttonSize": "small",
|
|
9592
|
-
"buttonType": "primary"
|
|
9593
|
-
}
|
|
9594
|
-
},
|
|
9595
|
-
{
|
|
9596
|
-
"brick": "basic-bricks.general-button",
|
|
9597
|
-
"events": {
|
|
9598
|
-
"general.button.click": {
|
|
9599
|
-
"action": "console.log"
|
|
9600
|
-
}
|
|
9601
|
-
},
|
|
9602
|
-
"properties": {
|
|
9603
|
-
"buttonName": "次按钮",
|
|
9604
|
-
"buttonShape": "round",
|
|
9605
|
-
"buttonSize": "small",
|
|
9606
|
-
"buttonType": "link"
|
|
9607
|
-
}
|
|
9608
|
-
}
|
|
9609
|
-
],
|
|
9610
|
-
"type": "bricks"
|
|
9611
|
-
},
|
|
9612
|
-
"topRightOperate": {
|
|
9613
|
-
"bricks": [
|
|
9614
|
-
{
|
|
9615
|
-
"brick": "basic-bricks.general-custom-buttons",
|
|
9616
|
-
"events": {
|
|
9617
|
-
"instance.delete": {
|
|
9618
|
-
"action": "console.log"
|
|
9619
|
-
},
|
|
9620
|
-
"instance.set.default": {
|
|
9621
|
-
"action": "console.log"
|
|
9622
|
-
}
|
|
9623
|
-
},
|
|
9624
|
-
"properties": {
|
|
9625
|
-
"customButtons": [
|
|
9626
|
-
{
|
|
9627
|
-
"eventName": "instance.set.default",
|
|
9628
|
-
"icon": "setting",
|
|
9629
|
-
"isDropdown": true,
|
|
9630
|
-
"text": "设为默认"
|
|
9631
|
-
},
|
|
9632
|
-
{
|
|
9633
|
-
"color": "#E02020",
|
|
9634
|
-
"eventName": "instance.delete",
|
|
9635
|
-
"icon": "delete",
|
|
9636
|
-
"isDropdown": true,
|
|
9637
|
-
"text": "删除"
|
|
9638
|
-
}
|
|
9639
|
-
],
|
|
9640
|
-
"isMoreButton": true,
|
|
9641
|
-
"moreButtonShape": "no"
|
|
9642
|
-
}
|
|
9643
|
-
}
|
|
9644
|
-
],
|
|
9645
|
-
"type": "bricks"
|
|
9646
|
-
}
|
|
9647
|
-
}
|
|
9648
|
-
},
|
|
9649
9519
|
{
|
|
9650
9520
|
"brick": "presentational-bricks.card-item",
|
|
9651
9521
|
"description": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational-bricks",
|
|
3
|
-
"version": "1.244.
|
|
3
|
+
"version": "1.244.3",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/presentational-bricks",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"@next-dll/ace": "*",
|
|
56
56
|
"@next-dll/react-dnd": "*"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "65129ddee70cfefc72acb0494b6d11c2dd6ae9d7"
|
|
59
59
|
}
|