@next-bricks/basic-bricks 1.251.6 → 1.252.0
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/deploy/contract.yaml +71 -71
- package/dist/bricks.json +14 -14
- package/dist/index.17243d19.js +10 -0
- package/dist/index.17243d19.js.map +1 -0
- package/dist/stories.json +288 -0
- package/package.json +2 -2
- package/dist/index.18994806.js +0 -10
- package/dist/index.18994806.js.map +0 -1
package/dist/stories.json
CHANGED
|
@@ -4933,6 +4933,270 @@
|
|
|
4933
4933
|
]
|
|
4934
4934
|
}
|
|
4935
4935
|
}
|
|
4936
|
+
},
|
|
4937
|
+
{
|
|
4938
|
+
"description": {
|
|
4939
|
+
"title": "无标题弹窗"
|
|
4940
|
+
},
|
|
4941
|
+
"brick": "div",
|
|
4942
|
+
"slots": {
|
|
4943
|
+
"content": {
|
|
4944
|
+
"bricks": [
|
|
4945
|
+
{
|
|
4946
|
+
"brick": "basic-bricks.general-button",
|
|
4947
|
+
"events": {
|
|
4948
|
+
"general.button.click": {
|
|
4949
|
+
"method": "open",
|
|
4950
|
+
"target": "#noTitleModal"
|
|
4951
|
+
}
|
|
4952
|
+
},
|
|
4953
|
+
"properties": {
|
|
4954
|
+
"buttonName": "点击弹出模态框"
|
|
4955
|
+
}
|
|
4956
|
+
},
|
|
4957
|
+
{
|
|
4958
|
+
"brick": "basic-bricks.general-modal",
|
|
4959
|
+
"events": {
|
|
4960
|
+
"basic-bricks.general-modal.cancel": {
|
|
4961
|
+
"action": "message.info",
|
|
4962
|
+
"args": [
|
|
4963
|
+
"cancel modal"
|
|
4964
|
+
]
|
|
4965
|
+
}
|
|
4966
|
+
},
|
|
4967
|
+
"properties": {
|
|
4968
|
+
"id": "noTitleModal",
|
|
4969
|
+
"okText": "Save",
|
|
4970
|
+
"isHiddenBodyPadding": true,
|
|
4971
|
+
"isHiddenModalTitle": true,
|
|
4972
|
+
"isHiddenModalFooter": true,
|
|
4973
|
+
"isShowCustomHeader": true,
|
|
4974
|
+
"maskClosable": false,
|
|
4975
|
+
"width": 800
|
|
4976
|
+
},
|
|
4977
|
+
"slots": {
|
|
4978
|
+
"customLeftHeaderExtra": {
|
|
4979
|
+
"type": "bricks",
|
|
4980
|
+
"bricks": [
|
|
4981
|
+
{
|
|
4982
|
+
"brick": "presentational-bricks.general-label",
|
|
4983
|
+
"properties": {
|
|
4984
|
+
"style": {
|
|
4985
|
+
"color": "#ccc",
|
|
4986
|
+
"cursor": "pointer"
|
|
4987
|
+
},
|
|
4988
|
+
"text": "快捷切换",
|
|
4989
|
+
"suffixIcon": {
|
|
4990
|
+
"lib": "antd",
|
|
4991
|
+
"type": "down"
|
|
4992
|
+
}
|
|
4993
|
+
}
|
|
4994
|
+
}
|
|
4995
|
+
]
|
|
4996
|
+
},
|
|
4997
|
+
"customRightHeaderExtra": {
|
|
4998
|
+
"type": "bricks",
|
|
4999
|
+
"bricks": [
|
|
5000
|
+
{
|
|
5001
|
+
"brick": "div",
|
|
5002
|
+
"properties": {
|
|
5003
|
+
"style": {
|
|
5004
|
+
"display": "flex",
|
|
5005
|
+
"alignItems": "center",
|
|
5006
|
+
"gap": "8px"
|
|
5007
|
+
}
|
|
5008
|
+
},
|
|
5009
|
+
"slots": {
|
|
5010
|
+
"content": {
|
|
5011
|
+
"type": "bricks",
|
|
5012
|
+
"bricks": [
|
|
5013
|
+
{
|
|
5014
|
+
"brick": "presentational-bricks.general-label",
|
|
5015
|
+
"properties": {
|
|
5016
|
+
"style": {
|
|
5017
|
+
"color": "#ccc",
|
|
5018
|
+
"cursor": "pointer"
|
|
5019
|
+
},
|
|
5020
|
+
"text": "下载",
|
|
5021
|
+
"prefixIcon": {
|
|
5022
|
+
"lib": "antd",
|
|
5023
|
+
"type": "download"
|
|
5024
|
+
}
|
|
5025
|
+
}
|
|
5026
|
+
},
|
|
5027
|
+
{
|
|
5028
|
+
"brick": "presentational-bricks.general-label",
|
|
5029
|
+
"properties": {
|
|
5030
|
+
"style": {
|
|
5031
|
+
"color": "#ccc",
|
|
5032
|
+
"cursor": "pointer"
|
|
5033
|
+
},
|
|
5034
|
+
"text": "查看",
|
|
5035
|
+
"prefixIcon": {
|
|
5036
|
+
"lib": "antd",
|
|
5037
|
+
"type": "file-search"
|
|
5038
|
+
}
|
|
5039
|
+
}
|
|
5040
|
+
}
|
|
5041
|
+
]
|
|
5042
|
+
}
|
|
5043
|
+
}
|
|
5044
|
+
}
|
|
5045
|
+
]
|
|
5046
|
+
},
|
|
5047
|
+
"content": {
|
|
5048
|
+
"bricks": [
|
|
5049
|
+
{
|
|
5050
|
+
"brick": "presentational-bricks.brick-illustration",
|
|
5051
|
+
"properties": {
|
|
5052
|
+
"name": "bg13-1",
|
|
5053
|
+
"category": "ira"
|
|
5054
|
+
}
|
|
5055
|
+
},
|
|
5056
|
+
{
|
|
5057
|
+
"brick": "presentational-bricks.rank-table",
|
|
5058
|
+
"properties": {
|
|
5059
|
+
"columns": [
|
|
5060
|
+
{
|
|
5061
|
+
"dataIndex": "name",
|
|
5062
|
+
"key": "name",
|
|
5063
|
+
"title": "Name"
|
|
5064
|
+
},
|
|
5065
|
+
{
|
|
5066
|
+
"dataIndex": "age",
|
|
5067
|
+
"key": "age",
|
|
5068
|
+
"title": "Age"
|
|
5069
|
+
},
|
|
5070
|
+
{
|
|
5071
|
+
"dataIndex": "address",
|
|
5072
|
+
"headerBrick": {
|
|
5073
|
+
"useBrick": {
|
|
5074
|
+
"brick": "presentational-bricks.general-tooltip",
|
|
5075
|
+
"properties": {
|
|
5076
|
+
"content": "这是一个 tooltips",
|
|
5077
|
+
"icon": {
|
|
5078
|
+
"icon": "info-circle",
|
|
5079
|
+
"lib": "fa"
|
|
5080
|
+
},
|
|
5081
|
+
"text": "Address"
|
|
5082
|
+
}
|
|
5083
|
+
}
|
|
5084
|
+
},
|
|
5085
|
+
"key": "address"
|
|
5086
|
+
},
|
|
5087
|
+
{
|
|
5088
|
+
"dataIndex": "tags",
|
|
5089
|
+
"key": "tags",
|
|
5090
|
+
"title": "Tags",
|
|
5091
|
+
"useBrick": {
|
|
5092
|
+
"brick": "presentational-bricks.brick-tag",
|
|
5093
|
+
"properties": {
|
|
5094
|
+
"configProps": {
|
|
5095
|
+
"color": "var(--color-brand)"
|
|
5096
|
+
},
|
|
5097
|
+
"showCard": false
|
|
5098
|
+
},
|
|
5099
|
+
"transform": {
|
|
5100
|
+
"tagList": "@{cellData}"
|
|
5101
|
+
}
|
|
5102
|
+
}
|
|
5103
|
+
}
|
|
5104
|
+
],
|
|
5105
|
+
"dataSource": {
|
|
5106
|
+
"list": [
|
|
5107
|
+
{
|
|
5108
|
+
"address": "New York No. 1 Lake Park",
|
|
5109
|
+
"age": 32,
|
|
5110
|
+
"id": "1",
|
|
5111
|
+
"name": "John Brown",
|
|
5112
|
+
"tags": [
|
|
5113
|
+
"nice",
|
|
5114
|
+
"good"
|
|
5115
|
+
]
|
|
5116
|
+
},
|
|
5117
|
+
{
|
|
5118
|
+
"address": "London No. 2 Lake Park",
|
|
5119
|
+
"age": 42,
|
|
5120
|
+
"id": "2",
|
|
5121
|
+
"name": "Jim Green",
|
|
5122
|
+
"tags": [
|
|
5123
|
+
"loser",
|
|
5124
|
+
"bad"
|
|
5125
|
+
]
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
"address": "Sidney No. 3 Lake Park",
|
|
5129
|
+
"age": 32,
|
|
5130
|
+
"id": "3",
|
|
5131
|
+
"name": "Joe Black",
|
|
5132
|
+
"tags": [
|
|
5133
|
+
"teacher",
|
|
5134
|
+
"lucky",
|
|
5135
|
+
"lay"
|
|
5136
|
+
]
|
|
5137
|
+
},
|
|
5138
|
+
{
|
|
5139
|
+
"address": "Sidney No. 4 Lake Park",
|
|
5140
|
+
"age": 34,
|
|
5141
|
+
"id": "4",
|
|
5142
|
+
"name": "Jim Red",
|
|
5143
|
+
"tags": [
|
|
5144
|
+
"teacher",
|
|
5145
|
+
"lucky",
|
|
5146
|
+
"lay"
|
|
5147
|
+
]
|
|
5148
|
+
},
|
|
5149
|
+
{
|
|
5150
|
+
"address": "Sidney No. 5 Lake Park",
|
|
5151
|
+
"age": 35,
|
|
5152
|
+
"id": "5",
|
|
5153
|
+
"name": "Mathéo Girard",
|
|
5154
|
+
"tags": [
|
|
5155
|
+
"teacher",
|
|
5156
|
+
"lucky",
|
|
5157
|
+
"lay"
|
|
5158
|
+
]
|
|
5159
|
+
},
|
|
5160
|
+
{
|
|
5161
|
+
"address": "Sidney No. 6 Lake Park",
|
|
5162
|
+
"age": 36,
|
|
5163
|
+
"id": "6",
|
|
5164
|
+
"name": "Camille Roy",
|
|
5165
|
+
"tags": [
|
|
5166
|
+
"teacher",
|
|
5167
|
+
"lucky",
|
|
5168
|
+
"lay"
|
|
5169
|
+
]
|
|
5170
|
+
},
|
|
5171
|
+
{
|
|
5172
|
+
"address": "Sidney No. 7 Lake Park",
|
|
5173
|
+
"age": 37,
|
|
5174
|
+
"id": "7",
|
|
5175
|
+
"name": "Troy Owens",
|
|
5176
|
+
"tags": [
|
|
5177
|
+
"teacher",
|
|
5178
|
+
"lucky",
|
|
5179
|
+
"lay"
|
|
5180
|
+
]
|
|
5181
|
+
}
|
|
5182
|
+
]
|
|
5183
|
+
},
|
|
5184
|
+
"header": {
|
|
5185
|
+
"title": "Top10"
|
|
5186
|
+
},
|
|
5187
|
+
"rowKey": "id",
|
|
5188
|
+
"showCard": true
|
|
5189
|
+
}
|
|
5190
|
+
}
|
|
5191
|
+
],
|
|
5192
|
+
"type": "bricks"
|
|
5193
|
+
}
|
|
5194
|
+
}
|
|
5195
|
+
}
|
|
5196
|
+
],
|
|
5197
|
+
"type": "bricks"
|
|
5198
|
+
}
|
|
5199
|
+
}
|
|
4936
5200
|
}
|
|
4937
5201
|
],
|
|
4938
5202
|
"doc": {
|
|
@@ -5088,6 +5352,30 @@
|
|
|
5088
5352
|
"description": "是否需要隐藏弹窗头部的分割线",
|
|
5089
5353
|
"group": "ui"
|
|
5090
5354
|
},
|
|
5355
|
+
{
|
|
5356
|
+
"name": "isHiddenModalTitle",
|
|
5357
|
+
"type": "boolean",
|
|
5358
|
+
"required": "false",
|
|
5359
|
+
"default": "true",
|
|
5360
|
+
"description": "是否需要隐藏弹窗的title",
|
|
5361
|
+
"group": "ui"
|
|
5362
|
+
},
|
|
5363
|
+
{
|
|
5364
|
+
"name": "isHiddenModalFooter",
|
|
5365
|
+
"type": "boolean",
|
|
5366
|
+
"required": "false",
|
|
5367
|
+
"default": "true",
|
|
5368
|
+
"description": "是否需要隐藏弹窗的footer",
|
|
5369
|
+
"group": "ui"
|
|
5370
|
+
},
|
|
5371
|
+
{
|
|
5372
|
+
"name": "isShowCustomHeader",
|
|
5373
|
+
"type": "boolean",
|
|
5374
|
+
"required": "false",
|
|
5375
|
+
"default": "true",
|
|
5376
|
+
"description": "是否需要显示自定义顶部header",
|
|
5377
|
+
"group": "ui"
|
|
5378
|
+
},
|
|
5091
5379
|
{
|
|
5092
5380
|
"name": "isHiddenFooterColor",
|
|
5093
5381
|
"type": "boolean",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/basic-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.252.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/basic-bricks",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"immutability-helper": "^3.1.1"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": true,
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "5e20d7fe84e753ad1428e3c7b57333858be92f6e"
|
|
56
56
|
}
|