@next-bricks/presentational-bricks 1.286.6 → 1.287.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 +105 -105
- package/dist/bricks.json +20 -20
- package/dist/{index.601ed2a5.js → index.f5d7d0f3.js} +2 -2
- package/dist/{index.601ed2a5.js.map → index.f5d7d0f3.js.map} +1 -1
- package/dist/lazy-bricks/{card-item.dd92.228d1443.js → card-item.dd92.ebae673c.js} +2 -2
- package/dist/lazy-bricks/card-item.dd92.ebae673c.js.map +1 -0
- package/dist/stories-asserts/presentational-bricks.card-blue.bb2d085b17568d94.svg +37 -0
- package/dist/stories-asserts/presentational-bricks.card-operate1.8ff4e510a1655c73.svg +36 -0
- package/dist/stories-asserts/presentational-bricks.card-operate2.0f5d4693b2a2734e.svg +33 -0
- package/dist/stories.json +352 -223
- package/package.json +2 -2
- package/dist/lazy-bricks/card-item.dd92.228d1443.js.map +0 -1
package/dist/stories.json
CHANGED
|
@@ -10452,25 +10452,24 @@
|
|
|
10452
10452
|
},
|
|
10453
10453
|
"properties": {
|
|
10454
10454
|
"style": {
|
|
10455
|
-
"width": "
|
|
10455
|
+
"width": "308px"
|
|
10456
10456
|
},
|
|
10457
|
-
"iconColor": "geekblue",
|
|
10458
10457
|
"cardLayoutType": "icon-small-align-left",
|
|
10459
10458
|
"urlTemplate": "/#{id}",
|
|
10460
10459
|
"fields": {
|
|
10461
10460
|
"cardTitle": "name",
|
|
10462
10461
|
"cardSubtitle": "cardSubtitle",
|
|
10463
|
-
"descriptionList": "descriptionList"
|
|
10464
|
-
|
|
10465
|
-
"icon": {
|
|
10466
|
-
"lib": "fa",
|
|
10467
|
-
"icon": "chart-pie"
|
|
10462
|
+
"descriptionList": "descriptionList",
|
|
10463
|
+
"topInformation": "topInformation"
|
|
10468
10464
|
},
|
|
10465
|
+
"imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-blue.bb2d085b17568d94.svg",
|
|
10466
|
+
"showImg": true,
|
|
10467
|
+
"shape": "square",
|
|
10469
10468
|
"dataSource": {
|
|
10470
10469
|
"id": "1",
|
|
10471
|
-
"name": "
|
|
10472
|
-
"cardSubtitle": "
|
|
10473
|
-
"
|
|
10470
|
+
"name": "资源监控微应用",
|
|
10471
|
+
"cardSubtitle": "资源监控微应用相关前后台",
|
|
10472
|
+
"topInformation": "初级应用"
|
|
10474
10473
|
}
|
|
10475
10474
|
},
|
|
10476
10475
|
"slots": {
|
|
@@ -10478,36 +10477,58 @@
|
|
|
10478
10477
|
"type": "bricks",
|
|
10479
10478
|
"bricks": [
|
|
10480
10479
|
{
|
|
10481
|
-
"brick": "
|
|
10480
|
+
"brick": "presentational-bricks.brick-tag",
|
|
10482
10481
|
"properties": {
|
|
10483
|
-
"
|
|
10484
|
-
"
|
|
10485
|
-
"
|
|
10486
|
-
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
|
|
10490
|
-
|
|
10482
|
+
"closable": "false",
|
|
10483
|
+
"showCard": "false",
|
|
10484
|
+
"tagList": [
|
|
10485
|
+
{
|
|
10486
|
+
"key": "1",
|
|
10487
|
+
"label": "IT资源管理"
|
|
10488
|
+
},
|
|
10489
|
+
{
|
|
10490
|
+
"key": "2",
|
|
10491
|
+
"label": "资源套餐"
|
|
10492
|
+
},
|
|
10493
|
+
{
|
|
10494
|
+
"key": "3",
|
|
10495
|
+
"label": "存储设备"
|
|
10496
|
+
}
|
|
10497
|
+
]
|
|
10498
|
+
}
|
|
10499
|
+
}
|
|
10500
|
+
]
|
|
10501
|
+
},
|
|
10502
|
+
"extraOperate": {
|
|
10503
|
+
"type": "bricks",
|
|
10504
|
+
"bricks": [
|
|
10505
|
+
{
|
|
10506
|
+
"brick": "presentational-bricks.basic-icon",
|
|
10507
|
+
"properties": {
|
|
10508
|
+
"size": "20px",
|
|
10509
|
+
"icon": {
|
|
10510
|
+
"lib": "easyops",
|
|
10511
|
+
"category": "default",
|
|
10512
|
+
"icon": "card-diff",
|
|
10513
|
+
"color": "rgba(157, 168, 184, 1)"
|
|
10491
10514
|
}
|
|
10492
10515
|
}
|
|
10493
10516
|
},
|
|
10494
10517
|
{
|
|
10495
|
-
"brick": "
|
|
10518
|
+
"brick": "presentational-bricks.basic-icon",
|
|
10496
10519
|
"properties": {
|
|
10497
|
-
"
|
|
10498
|
-
"
|
|
10499
|
-
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
"general.button.click": {
|
|
10504
|
-
"action": "console.log"
|
|
10520
|
+
"size": "20px",
|
|
10521
|
+
"icon": {
|
|
10522
|
+
"lib": "easyops",
|
|
10523
|
+
"category": "default",
|
|
10524
|
+
"icon": "card-task-delivery",
|
|
10525
|
+
"color": "rgba(157, 168, 184, 1)"
|
|
10505
10526
|
}
|
|
10506
10527
|
}
|
|
10507
10528
|
}
|
|
10508
10529
|
]
|
|
10509
10530
|
},
|
|
10510
|
-
"
|
|
10531
|
+
"topRightOperate": {
|
|
10511
10532
|
"type": "bricks",
|
|
10512
10533
|
"bricks": [
|
|
10513
10534
|
{
|
|
@@ -10549,28 +10570,30 @@
|
|
|
10549
10570
|
{
|
|
10550
10571
|
"brick": "presentational-bricks.card-item",
|
|
10551
10572
|
"description": {
|
|
10552
|
-
"title": "
|
|
10553
|
-
"message": "
|
|
10573
|
+
"title": "禁用卡片",
|
|
10574
|
+
"message": "禁用的卡片不可点击跳转。操作区配置了 slot 的卡片,请按需配置子构件的属性,例如将按钮设置成 disabled 等。"
|
|
10554
10575
|
},
|
|
10555
10576
|
"properties": {
|
|
10577
|
+
"disabled": true,
|
|
10556
10578
|
"style": {
|
|
10557
|
-
"width": "
|
|
10579
|
+
"width": "308px"
|
|
10558
10580
|
},
|
|
10559
|
-
"cardLayoutType": "icon-align-
|
|
10581
|
+
"cardLayoutType": "icon-small-align-left",
|
|
10560
10582
|
"urlTemplate": "/#{id}",
|
|
10561
10583
|
"fields": {
|
|
10562
10584
|
"cardTitle": "name",
|
|
10563
|
-
"
|
|
10564
|
-
|
|
10565
|
-
|
|
10566
|
-
"lib": "easyops",
|
|
10567
|
-
"category": "app",
|
|
10568
|
-
"icon": "k8s"
|
|
10585
|
+
"cardSubtitle": "cardSubtitle",
|
|
10586
|
+
"descriptionList": "descriptionList",
|
|
10587
|
+
"topInformation": "topInformation"
|
|
10569
10588
|
},
|
|
10589
|
+
"imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-blue.bb2d085b17568d94.svg",
|
|
10590
|
+
"showImg": true,
|
|
10591
|
+
"shape": "square",
|
|
10570
10592
|
"dataSource": {
|
|
10571
10593
|
"id": "1",
|
|
10572
|
-
"name": "
|
|
10573
|
-
"
|
|
10594
|
+
"name": "资源监控微应用",
|
|
10595
|
+
"cardSubtitle": "资源监控微应用相关前后台",
|
|
10596
|
+
"topInformation": "初级应用"
|
|
10574
10597
|
}
|
|
10575
10598
|
},
|
|
10576
10599
|
"slots": {
|
|
@@ -10578,36 +10601,58 @@
|
|
|
10578
10601
|
"type": "bricks",
|
|
10579
10602
|
"bricks": [
|
|
10580
10603
|
{
|
|
10581
|
-
"brick": "
|
|
10604
|
+
"brick": "presentational-bricks.brick-tag",
|
|
10582
10605
|
"properties": {
|
|
10583
|
-
"
|
|
10584
|
-
"
|
|
10585
|
-
"
|
|
10586
|
-
|
|
10587
|
-
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
|
|
10606
|
+
"closable": "false",
|
|
10607
|
+
"showCard": "false",
|
|
10608
|
+
"tagList": [
|
|
10609
|
+
{
|
|
10610
|
+
"key": "1",
|
|
10611
|
+
"label": "IT资源管理"
|
|
10612
|
+
},
|
|
10613
|
+
{
|
|
10614
|
+
"key": "2",
|
|
10615
|
+
"label": "资源套餐"
|
|
10616
|
+
},
|
|
10617
|
+
{
|
|
10618
|
+
"key": "3",
|
|
10619
|
+
"label": "存储设备"
|
|
10620
|
+
}
|
|
10621
|
+
]
|
|
10622
|
+
}
|
|
10623
|
+
}
|
|
10624
|
+
]
|
|
10625
|
+
},
|
|
10626
|
+
"extraOperate": {
|
|
10627
|
+
"type": "bricks",
|
|
10628
|
+
"bricks": [
|
|
10629
|
+
{
|
|
10630
|
+
"brick": "presentational-bricks.basic-icon",
|
|
10631
|
+
"properties": {
|
|
10632
|
+
"size": "20px",
|
|
10633
|
+
"icon": {
|
|
10634
|
+
"lib": "easyops",
|
|
10635
|
+
"category": "default",
|
|
10636
|
+
"icon": "card-diff",
|
|
10637
|
+
"color": "rgba(157, 168, 184, 1)"
|
|
10591
10638
|
}
|
|
10592
10639
|
}
|
|
10593
10640
|
},
|
|
10594
10641
|
{
|
|
10595
|
-
"brick": "
|
|
10642
|
+
"brick": "presentational-bricks.basic-icon",
|
|
10596
10643
|
"properties": {
|
|
10597
|
-
"
|
|
10598
|
-
"
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
"general.button.click": {
|
|
10604
|
-
"action": "console.log"
|
|
10644
|
+
"size": "20px",
|
|
10645
|
+
"icon": {
|
|
10646
|
+
"lib": "easyops",
|
|
10647
|
+
"category": "default",
|
|
10648
|
+
"icon": "card-task-delivery",
|
|
10649
|
+
"color": "rgba(157, 168, 184, 1)"
|
|
10605
10650
|
}
|
|
10606
10651
|
}
|
|
10607
10652
|
}
|
|
10608
10653
|
]
|
|
10609
10654
|
},
|
|
10610
|
-
"
|
|
10655
|
+
"topRightOperate": {
|
|
10611
10656
|
"type": "bricks",
|
|
10612
10657
|
"bricks": [
|
|
10613
10658
|
{
|
|
@@ -10647,29 +10692,63 @@
|
|
|
10647
10692
|
{
|
|
10648
10693
|
"brick": "presentational-bricks.card-item",
|
|
10649
10694
|
"description": {
|
|
10650
|
-
"title": "
|
|
10651
|
-
"message": "
|
|
10695
|
+
"title": "单个扩展区样式展示",
|
|
10696
|
+
"message": "展示统计数,如收藏/关注次数,下载次数。统计类信息置于扩展区左侧,其他附加信息如关注人头像等置于右侧"
|
|
10652
10697
|
},
|
|
10653
10698
|
"properties": {
|
|
10654
|
-
"
|
|
10655
|
-
"
|
|
10656
|
-
|
|
10699
|
+
"disabled": true,
|
|
10700
|
+
"style": {
|
|
10701
|
+
"width": "308px"
|
|
10702
|
+
},
|
|
10703
|
+
"cardLayoutType": "icon-small-align-left",
|
|
10657
10704
|
"urlTemplate": "/#{id}",
|
|
10658
10705
|
"fields": {
|
|
10659
10706
|
"cardTitle": "name",
|
|
10707
|
+
"cardSubtitle": "cardSubtitle",
|
|
10660
10708
|
"descriptionList": "descriptionList"
|
|
10661
10709
|
},
|
|
10662
|
-
"
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
},
|
|
10710
|
+
"imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-blue.bb2d085b17568d94.svg",
|
|
10711
|
+
"showImg": true,
|
|
10712
|
+
"shape": "square",
|
|
10666
10713
|
"dataSource": {
|
|
10667
10714
|
"id": "1",
|
|
10668
|
-
"name": "
|
|
10669
|
-
"
|
|
10670
|
-
|
|
10671
|
-
|
|
10672
|
-
|
|
10715
|
+
"name": "资源监控微应用",
|
|
10716
|
+
"cardSubtitle": "资源监控微应用相关前后台"
|
|
10717
|
+
}
|
|
10718
|
+
},
|
|
10719
|
+
"slots": {
|
|
10720
|
+
"operate": {
|
|
10721
|
+
"type": "bricks",
|
|
10722
|
+
"bricks": [
|
|
10723
|
+
{
|
|
10724
|
+
"brick": "presentational-bricks.brick-tag",
|
|
10725
|
+
"properties": {
|
|
10726
|
+
"closable": "false",
|
|
10727
|
+
"showCard": "false",
|
|
10728
|
+
"tagList": [
|
|
10729
|
+
{
|
|
10730
|
+
"key": "1",
|
|
10731
|
+
"label": "IT资源管理"
|
|
10732
|
+
},
|
|
10733
|
+
{
|
|
10734
|
+
"key": "2",
|
|
10735
|
+
"label": "资源套餐"
|
|
10736
|
+
},
|
|
10737
|
+
{
|
|
10738
|
+
"key": "3",
|
|
10739
|
+
"label": "存储设备"
|
|
10740
|
+
}
|
|
10741
|
+
]
|
|
10742
|
+
}
|
|
10743
|
+
}
|
|
10744
|
+
]
|
|
10745
|
+
},
|
|
10746
|
+
"bottomRightOperate": {
|
|
10747
|
+
"type": "bricks",
|
|
10748
|
+
"bricks": [
|
|
10749
|
+
{
|
|
10750
|
+
"brick": "forms.general-switch"
|
|
10751
|
+
}
|
|
10673
10752
|
]
|
|
10674
10753
|
}
|
|
10675
10754
|
}
|
|
@@ -10677,15 +10756,14 @@
|
|
|
10677
10756
|
{
|
|
10678
10757
|
"brick": "presentational-bricks.card-item",
|
|
10679
10758
|
"description": {
|
|
10680
|
-
"title": "
|
|
10681
|
-
"message": "
|
|
10759
|
+
"title": "单个扩展区样式展示",
|
|
10760
|
+
"message": "辅助信息跟操作同时存在时,操作置于右侧"
|
|
10682
10761
|
},
|
|
10683
10762
|
"properties": {
|
|
10684
10763
|
"disabled": true,
|
|
10685
10764
|
"style": {
|
|
10686
|
-
"width": "
|
|
10765
|
+
"width": "308px"
|
|
10687
10766
|
},
|
|
10688
|
-
"iconColor": "geekblue",
|
|
10689
10767
|
"cardLayoutType": "icon-small-align-left",
|
|
10690
10768
|
"urlTemplate": "/#{id}",
|
|
10691
10769
|
"fields": {
|
|
@@ -10693,15 +10771,13 @@
|
|
|
10693
10771
|
"cardSubtitle": "cardSubtitle",
|
|
10694
10772
|
"descriptionList": "descriptionList"
|
|
10695
10773
|
},
|
|
10696
|
-
"
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
},
|
|
10774
|
+
"imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-blue.bb2d085b17568d94.svg",
|
|
10775
|
+
"showImg": true,
|
|
10776
|
+
"shape": "square",
|
|
10700
10777
|
"dataSource": {
|
|
10701
10778
|
"id": "1",
|
|
10702
|
-
"name": "
|
|
10703
|
-
"cardSubtitle": "
|
|
10704
|
-
"descriptionList": "这里是一段很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的辅助说明文字。"
|
|
10779
|
+
"name": "资源监控微应用",
|
|
10780
|
+
"cardSubtitle": "资源监控微应用相关前后台"
|
|
10705
10781
|
}
|
|
10706
10782
|
},
|
|
10707
10783
|
"slots": {
|
|
@@ -10709,34 +10785,34 @@
|
|
|
10709
10785
|
"type": "bricks",
|
|
10710
10786
|
"bricks": [
|
|
10711
10787
|
{
|
|
10712
|
-
"brick": "
|
|
10788
|
+
"brick": "presentational-bricks.basic-icon",
|
|
10713
10789
|
"properties": {
|
|
10714
|
-
"
|
|
10715
|
-
"
|
|
10716
|
-
|
|
10717
|
-
"buttonType": "primary",
|
|
10718
|
-
"buttonSize": "small"
|
|
10719
|
-
},
|
|
10720
|
-
"events": {
|
|
10721
|
-
"general.button.click": {
|
|
10722
|
-
"action": "console.log"
|
|
10790
|
+
"size": "20px",
|
|
10791
|
+
"icon": {
|
|
10792
|
+
"imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-operate2.0f5d4693b2a2734e.svg"
|
|
10723
10793
|
}
|
|
10724
10794
|
}
|
|
10725
10795
|
},
|
|
10726
10796
|
{
|
|
10727
|
-
"brick": "
|
|
10797
|
+
"brick": "span",
|
|
10728
10798
|
"properties": {
|
|
10729
|
-
"
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
"
|
|
10737
|
-
"
|
|
10799
|
+
"textContent": "7"
|
|
10800
|
+
}
|
|
10801
|
+
},
|
|
10802
|
+
{
|
|
10803
|
+
"brick": "presentational-bricks.basic-icon",
|
|
10804
|
+
"properties": {
|
|
10805
|
+
"size": "20px",
|
|
10806
|
+
"icon": {
|
|
10807
|
+
"imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-operate1.8ff4e510a1655c73.svg"
|
|
10738
10808
|
}
|
|
10739
10809
|
}
|
|
10810
|
+
},
|
|
10811
|
+
{
|
|
10812
|
+
"brick": "span",
|
|
10813
|
+
"properties": {
|
|
10814
|
+
"textContent": "516"
|
|
10815
|
+
}
|
|
10740
10816
|
}
|
|
10741
10817
|
]
|
|
10742
10818
|
},
|
|
@@ -10744,34 +10820,10 @@
|
|
|
10744
10820
|
"type": "bricks",
|
|
10745
10821
|
"bricks": [
|
|
10746
10822
|
{
|
|
10747
|
-
"brick": "
|
|
10823
|
+
"brick": "presentational-bricks.brick-user",
|
|
10748
10824
|
"properties": {
|
|
10749
|
-
"
|
|
10750
|
-
"
|
|
10751
|
-
"customButtons": [
|
|
10752
|
-
{
|
|
10753
|
-
"isDropdown": true,
|
|
10754
|
-
"text": "设为默认",
|
|
10755
|
-
"icon": "setting",
|
|
10756
|
-
"disabled": true,
|
|
10757
|
-
"eventName": "instance.set.default"
|
|
10758
|
-
},
|
|
10759
|
-
{
|
|
10760
|
-
"isDropdown": true,
|
|
10761
|
-
"text": "删除",
|
|
10762
|
-
"icon": "delete",
|
|
10763
|
-
"color": "#E02020",
|
|
10764
|
-
"eventName": "instance.delete"
|
|
10765
|
-
}
|
|
10766
|
-
]
|
|
10767
|
-
},
|
|
10768
|
-
"events": {
|
|
10769
|
-
"instance.set.default": {
|
|
10770
|
-
"action": "console.log"
|
|
10771
|
-
},
|
|
10772
|
-
"instance.delete": {
|
|
10773
|
-
"action": "console.log"
|
|
10774
|
-
}
|
|
10825
|
+
"size": "small",
|
|
10826
|
+
"iconUrl": "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
10775
10827
|
}
|
|
10776
10828
|
}
|
|
10777
10829
|
]
|
|
@@ -10781,29 +10833,28 @@
|
|
|
10781
10833
|
{
|
|
10782
10834
|
"brick": "presentational-bricks.card-item",
|
|
10783
10835
|
"description": {
|
|
10784
|
-
"title": "
|
|
10785
|
-
"message": "
|
|
10836
|
+
"title": "单个扩展区样式展示",
|
|
10837
|
+
"message": "扩展区收纳操作场景,操作应是针对卡片详情内容的快捷功能性操作,对于卡片的操作我们是放置在卡片右上角 … 收纳。"
|
|
10786
10838
|
},
|
|
10787
10839
|
"properties": {
|
|
10840
|
+
"disabled": true,
|
|
10788
10841
|
"style": {
|
|
10789
|
-
"width": "
|
|
10842
|
+
"width": "308px"
|
|
10790
10843
|
},
|
|
10791
|
-
"
|
|
10792
|
-
"reverseBgColor": true,
|
|
10793
|
-
"cardLayoutType": "icon-align-middle",
|
|
10844
|
+
"cardLayoutType": "icon-small-align-left",
|
|
10794
10845
|
"urlTemplate": "/#{id}",
|
|
10795
10846
|
"fields": {
|
|
10796
10847
|
"cardTitle": "name",
|
|
10848
|
+
"cardSubtitle": "cardSubtitle",
|
|
10797
10849
|
"descriptionList": "descriptionList"
|
|
10798
10850
|
},
|
|
10799
|
-
"
|
|
10800
|
-
|
|
10801
|
-
|
|
10802
|
-
},
|
|
10851
|
+
"imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-blue.bb2d085b17568d94.svg",
|
|
10852
|
+
"showImg": true,
|
|
10853
|
+
"shape": "square",
|
|
10803
10854
|
"dataSource": {
|
|
10804
10855
|
"id": "1",
|
|
10805
|
-
"name": "
|
|
10806
|
-
"
|
|
10856
|
+
"name": "资源监控微应用",
|
|
10857
|
+
"cardSubtitle": "资源监控微应用相关前后台"
|
|
10807
10858
|
}
|
|
10808
10859
|
},
|
|
10809
10860
|
"slots": {
|
|
@@ -10811,70 +10862,80 @@
|
|
|
10811
10862
|
"type": "bricks",
|
|
10812
10863
|
"bricks": [
|
|
10813
10864
|
{
|
|
10814
|
-
"brick": "
|
|
10815
|
-
"properties": {
|
|
10816
|
-
"buttonName": "编辑",
|
|
10817
|
-
"buttonIcon": "edit",
|
|
10818
|
-
"buttonSize": "small"
|
|
10819
|
-
},
|
|
10820
|
-
"events": {
|
|
10821
|
-
"general.button.click": {
|
|
10822
|
-
"action": "console.log"
|
|
10823
|
-
}
|
|
10824
|
-
}
|
|
10825
|
-
},
|
|
10826
|
-
{
|
|
10827
|
-
"brick": "basic-bricks.general-button",
|
|
10865
|
+
"brick": "presentational-bricks.brick-tag",
|
|
10828
10866
|
"properties": {
|
|
10829
|
-
"
|
|
10830
|
-
"
|
|
10831
|
-
"
|
|
10832
|
-
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10867
|
+
"closable": "false",
|
|
10868
|
+
"showCard": "false",
|
|
10869
|
+
"tagList": [
|
|
10870
|
+
{
|
|
10871
|
+
"key": "1",
|
|
10872
|
+
"label": "IT资源管理"
|
|
10873
|
+
},
|
|
10874
|
+
{
|
|
10875
|
+
"key": "2",
|
|
10876
|
+
"label": "资源套餐"
|
|
10877
|
+
},
|
|
10878
|
+
{
|
|
10879
|
+
"key": "3",
|
|
10880
|
+
"label": "存储设备"
|
|
10881
|
+
}
|
|
10882
|
+
]
|
|
10838
10883
|
}
|
|
10839
10884
|
}
|
|
10840
10885
|
]
|
|
10886
|
+
}
|
|
10887
|
+
}
|
|
10888
|
+
},
|
|
10889
|
+
{
|
|
10890
|
+
"brick": "presentational-bricks.card-item",
|
|
10891
|
+
"description": {
|
|
10892
|
+
"title": "单个扩展区样式展示",
|
|
10893
|
+
"message": "扩展区收纳操作场景,操作应是针对卡片详情内容的快捷功能性操作,对于卡片的操作我们是放置在卡片右上角 … 收纳。"
|
|
10894
|
+
},
|
|
10895
|
+
"properties": {
|
|
10896
|
+
"disabled": true,
|
|
10897
|
+
"style": {
|
|
10898
|
+
"width": "308px"
|
|
10841
10899
|
},
|
|
10842
|
-
"
|
|
10900
|
+
"cardLayoutType": "icon-small-align-left",
|
|
10901
|
+
"urlTemplate": "/#{id}",
|
|
10902
|
+
"fields": {
|
|
10903
|
+
"cardTitle": "name",
|
|
10904
|
+
"cardSubtitle": "cardSubtitle",
|
|
10905
|
+
"descriptionList": "descriptionList"
|
|
10906
|
+
},
|
|
10907
|
+
"imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-blue.bb2d085b17568d94.svg",
|
|
10908
|
+
"showImg": true,
|
|
10909
|
+
"shape": "square",
|
|
10910
|
+
"dataSource": {
|
|
10911
|
+
"id": "1",
|
|
10912
|
+
"name": "资源监控微应用",
|
|
10913
|
+
"cardSubtitle": "资源监控微应用相关前后台"
|
|
10914
|
+
}
|
|
10915
|
+
},
|
|
10916
|
+
"slots": {
|
|
10917
|
+
"operate": {
|
|
10843
10918
|
"type": "bricks",
|
|
10844
10919
|
"bricks": [
|
|
10845
10920
|
{
|
|
10846
|
-
"brick": "
|
|
10921
|
+
"brick": "presentational-bricks.brick-tag",
|
|
10847
10922
|
"properties": {
|
|
10848
|
-
"
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
"theme": "outlined"
|
|
10852
|
-
},
|
|
10853
|
-
"isMoreButton": true,
|
|
10854
|
-
"moreButtonShape": "no",
|
|
10855
|
-
"customButtons": [
|
|
10923
|
+
"closable": "false",
|
|
10924
|
+
"showCard": "false",
|
|
10925
|
+
"tagList": [
|
|
10856
10926
|
{
|
|
10857
|
-
"
|
|
10858
|
-
"
|
|
10859
|
-
"icon": "setting",
|
|
10860
|
-
"eventName": "instance.set.default"
|
|
10927
|
+
"key": "1",
|
|
10928
|
+
"label": "IT资源管理"
|
|
10861
10929
|
},
|
|
10862
10930
|
{
|
|
10863
|
-
"
|
|
10864
|
-
"
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
"
|
|
10931
|
+
"key": "2",
|
|
10932
|
+
"label": "资源套餐"
|
|
10933
|
+
},
|
|
10934
|
+
{
|
|
10935
|
+
"key": "3",
|
|
10936
|
+
"label": "存储设备"
|
|
10868
10937
|
}
|
|
10869
10938
|
]
|
|
10870
|
-
},
|
|
10871
|
-
"events": {
|
|
10872
|
-
"instance.set.default": {
|
|
10873
|
-
"action": "console.log"
|
|
10874
|
-
},
|
|
10875
|
-
"instance.delete": {
|
|
10876
|
-
"action": "console.log"
|
|
10877
|
-
}
|
|
10878
10939
|
}
|
|
10879
10940
|
}
|
|
10880
10941
|
]
|
|
@@ -10897,54 +10958,115 @@
|
|
|
10897
10958
|
"brick": "presentational-bricks.card-item",
|
|
10898
10959
|
"properties": {
|
|
10899
10960
|
"style": {
|
|
10900
|
-
"width": "
|
|
10961
|
+
"width": "308px"
|
|
10901
10962
|
},
|
|
10902
|
-
"
|
|
10963
|
+
"iconColor": "geekblue",
|
|
10964
|
+
"cardLayoutType": "icon-small-align-left",
|
|
10903
10965
|
"urlTemplate": "/#{id}",
|
|
10904
10966
|
"fields": {
|
|
10905
10967
|
"cardTitle": "name",
|
|
10906
|
-
"
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
"id": "1",
|
|
10910
|
-
"name": "标题在这里",
|
|
10911
|
-
"descriptionList": "http://chphl pgkk boli faa iihall/15 55 5onetab.html"
|
|
10968
|
+
"cardSubtitle": "cardSubtitle",
|
|
10969
|
+
"descriptionList": "descriptionList",
|
|
10970
|
+
"topInformation": "topInformation"
|
|
10912
10971
|
},
|
|
10913
|
-
"
|
|
10914
|
-
"
|
|
10915
|
-
"
|
|
10916
|
-
"triangle": false
|
|
10972
|
+
"icon": {
|
|
10973
|
+
"lib": "fa",
|
|
10974
|
+
"icon": "chart-pie"
|
|
10917
10975
|
},
|
|
10918
10976
|
"showImg": true,
|
|
10919
|
-
"imgSrc": "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
10977
|
+
"imgSrc": "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",
|
|
10978
|
+
"dataSource": {
|
|
10979
|
+
"id": "1",
|
|
10980
|
+
"name": "资源监控微应用",
|
|
10981
|
+
"cardSubtitle": "资源监控微应用相关前后台",
|
|
10982
|
+
"topInformation": "初级应用"
|
|
10983
|
+
}
|
|
10920
10984
|
},
|
|
10921
10985
|
"slots": {
|
|
10922
10986
|
"operate": {
|
|
10923
10987
|
"type": "bricks",
|
|
10924
10988
|
"bricks": [
|
|
10925
10989
|
{
|
|
10926
|
-
"brick": "
|
|
10990
|
+
"brick": "presentational-bricks.brick-tag",
|
|
10927
10991
|
"properties": {
|
|
10928
|
-
"
|
|
10929
|
-
"
|
|
10930
|
-
"
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10992
|
+
"closable": "false",
|
|
10993
|
+
"showCard": "false",
|
|
10994
|
+
"tagList": [
|
|
10995
|
+
{
|
|
10996
|
+
"key": "1",
|
|
10997
|
+
"label": "IT资源管理"
|
|
10998
|
+
},
|
|
10999
|
+
{
|
|
11000
|
+
"key": "2",
|
|
11001
|
+
"label": "资源套餐"
|
|
11002
|
+
},
|
|
11003
|
+
{
|
|
11004
|
+
"key": "3",
|
|
11005
|
+
"label": "存储设备"
|
|
11006
|
+
}
|
|
11007
|
+
]
|
|
11008
|
+
}
|
|
11009
|
+
}
|
|
11010
|
+
]
|
|
11011
|
+
},
|
|
11012
|
+
"extraOperate": {
|
|
11013
|
+
"type": "bricks",
|
|
11014
|
+
"bricks": [
|
|
11015
|
+
{
|
|
11016
|
+
"brick": "presentational-bricks.basic-icon",
|
|
11017
|
+
"properties": {
|
|
11018
|
+
"size": "20px",
|
|
11019
|
+
"icon": {
|
|
11020
|
+
"lib": "easyops",
|
|
11021
|
+
"category": "default",
|
|
11022
|
+
"icon": "card-diff",
|
|
11023
|
+
"color": "rgba(157, 168, 184, 1)"
|
|
10935
11024
|
}
|
|
10936
11025
|
}
|
|
10937
11026
|
},
|
|
10938
11027
|
{
|
|
10939
|
-
"brick": "
|
|
11028
|
+
"brick": "presentational-bricks.basic-icon",
|
|
11029
|
+
"properties": {
|
|
11030
|
+
"size": "20px",
|
|
11031
|
+
"icon": {
|
|
11032
|
+
"lib": "easyops",
|
|
11033
|
+
"category": "default",
|
|
11034
|
+
"icon": "card-task-delivery",
|
|
11035
|
+
"color": "rgba(157, 168, 184, 1)"
|
|
11036
|
+
}
|
|
11037
|
+
}
|
|
11038
|
+
}
|
|
11039
|
+
]
|
|
11040
|
+
},
|
|
11041
|
+
"topRightOperate": {
|
|
11042
|
+
"type": "bricks",
|
|
11043
|
+
"bricks": [
|
|
11044
|
+
{
|
|
11045
|
+
"brick": "basic-bricks.general-custom-buttons",
|
|
10940
11046
|
"properties": {
|
|
10941
|
-
"
|
|
10942
|
-
"
|
|
10943
|
-
"
|
|
10944
|
-
|
|
11047
|
+
"isMoreButton": true,
|
|
11048
|
+
"moreButtonShape": "no",
|
|
11049
|
+
"customButtons": [
|
|
11050
|
+
{
|
|
11051
|
+
"isDropdown": true,
|
|
11052
|
+
"text": "设为默认",
|
|
11053
|
+
"icon": "setting",
|
|
11054
|
+
"eventName": "instance.set.default"
|
|
11055
|
+
},
|
|
11056
|
+
{
|
|
11057
|
+
"isDropdown": true,
|
|
11058
|
+
"text": "删除",
|
|
11059
|
+
"icon": "delete",
|
|
11060
|
+
"color": "#E02020",
|
|
11061
|
+
"eventName": "instance.delete"
|
|
11062
|
+
}
|
|
11063
|
+
]
|
|
10945
11064
|
},
|
|
10946
11065
|
"events": {
|
|
10947
|
-
"
|
|
11066
|
+
"instance.set.default": {
|
|
11067
|
+
"action": "console.log"
|
|
11068
|
+
},
|
|
11069
|
+
"instance.delete": {
|
|
10948
11070
|
"action": "console.log"
|
|
10949
11071
|
}
|
|
10950
11072
|
}
|
|
@@ -11022,9 +11144,9 @@
|
|
|
11022
11144
|
},
|
|
11023
11145
|
{
|
|
11024
11146
|
"name": "fields",
|
|
11025
|
-
"type": "{ cardSubtitle?: string; cardTitle?: string; descriptionList?: string; disabled?: string; icon?: string; iconColor?: string; iconOffsetX?: string; iconOffsetY?: string; iconOpacity?: string; iconSize?: string; iconStyle?: string }",
|
|
11147
|
+
"type": "{ cardSubtitle?: string; cardTitle?: string; descriptionList?: string; disabled?: string; icon?: string; iconColor?: string; iconOffsetX?: string; iconOffsetY?: string; iconOpacity?: string; iconSize?: string; iconStyle?: string; topInformation?: string }",
|
|
11026
11148
|
"required": "false",
|
|
11027
|
-
"description": "字段映射, 跟 dataSource 一起使用来获得运行时 cardTitle、cardSubtitle、descriptionList、icon、iconColor、iconStyle、iconSize、iconOffsetX、iconOffsetY、iconOpacity、disabled",
|
|
11149
|
+
"description": "字段映射, 跟 dataSource 一起使用来获得运行时 cardTitle、cardSubtitle、topInformation、descriptionList、icon、iconColor、iconStyle、iconSize、iconOffsetX、iconOffsetY、iconOpacity、disabled",
|
|
11028
11150
|
"group": "other"
|
|
11029
11151
|
},
|
|
11030
11152
|
{
|
|
@@ -11055,6 +11177,13 @@
|
|
|
11055
11177
|
"description": "卡片 副标题",
|
|
11056
11178
|
"group": "basic"
|
|
11057
11179
|
},
|
|
11180
|
+
{
|
|
11181
|
+
"name": "topInformation",
|
|
11182
|
+
"type": "string",
|
|
11183
|
+
"required": "false",
|
|
11184
|
+
"description": "卡片 顶部辅助信息",
|
|
11185
|
+
"group": "basic"
|
|
11186
|
+
},
|
|
11058
11187
|
{
|
|
11059
11188
|
"name": "descriptionList",
|
|
11060
11189
|
"type": "string[] | string | DescriptionItem[]",
|