@next-bricks/presentational-bricks 1.262.1 → 1.264.1

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/dist/stories.json CHANGED
@@ -5017,23 +5017,54 @@
5017
5017
  "title": "操作",
5018
5018
  "key": "operate",
5019
5019
  "dataIndex": "operate",
5020
- "useBrick": {
5021
- "brick": "presentational-bricks.brick-link",
5022
- "properties": {
5023
- "dataSource": "<% DATA.rowData %>",
5024
- "notToJumpWhenEmpty": true,
5025
- "icon": {
5026
- "lib": "fa",
5027
- "icon": "tools",
5028
- "prefix": "fas"
5020
+ "useBrick": [
5021
+ {
5022
+ "brick": "presentational-bricks.brick-link",
5023
+ "properties": {
5024
+ "dataSource": "<% DATA.rowData %>",
5025
+ "notToJumpWhenEmpty": true,
5026
+ "label": "查看"
5027
+ },
5028
+ "events": {
5029
+ "link.click": {
5030
+ "action": "console.log"
5031
+ }
5029
5032
  }
5030
5033
  },
5031
- "events": {
5032
- "link.click": {
5033
- "action": "console.log"
5034
+ {
5035
+ "brick": "presentational-bricks.brick-link",
5036
+ "properties": {
5037
+ "dataSource": "<% DATA.rowData %>",
5038
+ "notToJumpWhenEmpty": true,
5039
+ "label": "订阅警报",
5040
+ "style": {
5041
+ "marginLeft": "8px"
5042
+ }
5043
+ },
5044
+ "events": {
5045
+ "link.click": {
5046
+ "action": "console.log"
5047
+ }
5048
+ }
5049
+ },
5050
+ {
5051
+ "brick": "presentational-bricks.brick-link",
5052
+ "properties": {
5053
+ "dataSource": "<% DATA.rowData %>",
5054
+ "notToJumpWhenEmpty": true,
5055
+ "label": "删除",
5056
+ "labelColor": "red",
5057
+ "style": {
5058
+ "marginLeft": "8px"
5059
+ }
5060
+ },
5061
+ "events": {
5062
+ "link.click": {
5063
+ "action": "console.log"
5064
+ }
5034
5065
  }
5035
5066
  }
5036
- }
5067
+ ]
5037
5068
  }
5038
5069
  ],
5039
5070
  "dataSource": {
@@ -5636,23 +5667,54 @@
5636
5667
  "title": "操作",
5637
5668
  "key": "operate",
5638
5669
  "dataIndex": "operate",
5639
- "useBrick": {
5640
- "brick": "presentational-bricks.brick-link",
5641
- "properties": {
5642
- "dataSource": "<% DATA.rowData %>",
5643
- "notToJumpWhenEmpty": true,
5644
- "icon": {
5645
- "lib": "fa",
5646
- "icon": "tools",
5647
- "prefix": "fas"
5670
+ "useBrick": [
5671
+ {
5672
+ "brick": "presentational-bricks.brick-link",
5673
+ "properties": {
5674
+ "dataSource": "<% DATA.rowData %>",
5675
+ "notToJumpWhenEmpty": true,
5676
+ "label": "查看"
5677
+ },
5678
+ "events": {
5679
+ "link.click": {
5680
+ "action": "console.log"
5681
+ }
5648
5682
  }
5649
5683
  },
5650
- "events": {
5651
- "link.click": {
5652
- "action": "console.log"
5684
+ {
5685
+ "brick": "presentational-bricks.brick-link",
5686
+ "properties": {
5687
+ "dataSource": "<% DATA.rowData %>",
5688
+ "notToJumpWhenEmpty": true,
5689
+ "label": "订阅警报",
5690
+ "style": {
5691
+ "marginLeft": "8px"
5692
+ }
5693
+ },
5694
+ "events": {
5695
+ "link.click": {
5696
+ "action": "console.log"
5697
+ }
5698
+ }
5699
+ },
5700
+ {
5701
+ "brick": "presentational-bricks.brick-link",
5702
+ "properties": {
5703
+ "dataSource": "<% DATA.rowData %>",
5704
+ "notToJumpWhenEmpty": true,
5705
+ "label": "删除",
5706
+ "labelColor": "red",
5707
+ "style": {
5708
+ "marginLeft": "8px"
5709
+ }
5710
+ },
5711
+ "events": {
5712
+ "link.click": {
5713
+ "action": "console.log"
5714
+ }
5653
5715
  }
5654
5716
  }
5655
- }
5717
+ ]
5656
5718
  }
5657
5719
  ],
5658
5720
  "defaultExpandAllRows": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational-bricks",
3
- "version": "1.262.1",
3
+ "version": "1.264.1",
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": "c836808ba72c42e6ea28ed245defc6aeeabdc3a4"
58
+ "gitHead": "50c26845fbf333e445055c4d1a25f7e9291048e0"
59
59
  }