@next-bricks/presentational-bricks 1.256.3 → 1.257.2
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 +112 -112
- package/dist/bricks.json +27 -27
- package/dist/index.76960dce.js +2 -0
- package/dist/index.76960dce.js.map +1 -0
- package/dist/stories.json +45 -26
- package/package.json +2 -2
- package/dist/index.1f76c1f3.js +0 -2
- package/dist/index.1f76c1f3.js.map +0 -1
package/dist/stories.json
CHANGED
|
@@ -2014,7 +2014,7 @@
|
|
|
2014
2014
|
},
|
|
2015
2015
|
{
|
|
2016
2016
|
"name": "fields",
|
|
2017
|
-
"type": "{ value: string
|
|
2017
|
+
"type": "{ value: string }",
|
|
2018
2018
|
"required": "false",
|
|
2019
2019
|
"description": "[已废弃]显示的字段值,支持通过 path 指定",
|
|
2020
2020
|
"deprecated": true,
|
|
@@ -2063,7 +2063,7 @@
|
|
|
2063
2063
|
},
|
|
2064
2064
|
{
|
|
2065
2065
|
"name": "style",
|
|
2066
|
-
"type": "{ backgroundColor?: string; borderColor?: string; color?: string
|
|
2066
|
+
"type": "{ backgroundColor?: string; borderColor?: string; color?: string }",
|
|
2067
2067
|
"required": false,
|
|
2068
2068
|
"description": ""
|
|
2069
2069
|
}
|
|
@@ -2347,7 +2347,7 @@
|
|
|
2347
2347
|
{
|
|
2348
2348
|
"type": "reflection",
|
|
2349
2349
|
"declaration": {
|
|
2350
|
-
"id":
|
|
2350
|
+
"id": 13041,
|
|
2351
2351
|
"name": "__type",
|
|
2352
2352
|
"kind": 65536,
|
|
2353
2353
|
"kindString": "Type literal",
|
|
@@ -2367,7 +2367,7 @@
|
|
|
2367
2367
|
"children": [
|
|
2368
2368
|
{
|
|
2369
2369
|
"name": "component",
|
|
2370
|
-
"type": "{ brick?: string; properties?: any
|
|
2370
|
+
"type": "{ brick?: string; properties?: any }",
|
|
2371
2371
|
"required": false,
|
|
2372
2372
|
"description": "[已废弃]自定义该 item 的展示构件"
|
|
2373
2373
|
},
|
|
@@ -3246,7 +3246,7 @@
|
|
|
3246
3246
|
},
|
|
3247
3247
|
{
|
|
3248
3248
|
"name": "fields",
|
|
3249
|
-
"type": "{ value: string
|
|
3249
|
+
"type": "{ value: string }",
|
|
3250
3250
|
"required": "false",
|
|
3251
3251
|
"description": "[已废弃]字段映射, 跟 dataSource 一起使用来获得运行时对应字段的值",
|
|
3252
3252
|
"deprecated": true,
|
|
@@ -4788,6 +4788,13 @@
|
|
|
4788
4788
|
"default": "{}",
|
|
4789
4789
|
"description": "自定义插画配置",
|
|
4790
4790
|
"group": "other"
|
|
4791
|
+
},
|
|
4792
|
+
{
|
|
4793
|
+
"name": "useNewIllustration",
|
|
4794
|
+
"type": "boolean",
|
|
4795
|
+
"required": "false",
|
|
4796
|
+
"default": "true",
|
|
4797
|
+
"description": "在插画库的default分类下,使用新版本的图标替换default分类下图标"
|
|
4791
4798
|
}
|
|
4792
4799
|
],
|
|
4793
4800
|
"interface": [
|
|
@@ -6843,6 +6850,11 @@
|
|
|
6843
6850
|
"detail": "{expanded:boolean;record:Record<string,any>}",
|
|
6844
6851
|
"description": "点击展开图标时触发的事件,事件详情中`expanded`为是否展开,`record`被点击的行信息"
|
|
6845
6852
|
},
|
|
6853
|
+
{
|
|
6854
|
+
"type": "select.row.keys.update",
|
|
6855
|
+
"detail": "Record<string,any>[]",
|
|
6856
|
+
"description": "勾选框变化,detail 中为所选的行key集合"
|
|
6857
|
+
},
|
|
6846
6858
|
{
|
|
6847
6859
|
"type": "select.update",
|
|
6848
6860
|
"detail": "Record<string,any>[]",
|
|
@@ -7005,7 +7017,7 @@
|
|
|
7005
7017
|
},
|
|
7006
7018
|
{
|
|
7007
7019
|
"name": "headerBrick",
|
|
7008
|
-
"type": "{ useBrick: UseBrickConf
|
|
7020
|
+
"type": "{ useBrick: UseBrickConf }",
|
|
7009
7021
|
"required": false,
|
|
7010
7022
|
"description": "支持为某列的表头自定义展示构件,可通过 DATA.title 获取标题文本"
|
|
7011
7023
|
},
|
|
@@ -7055,7 +7067,7 @@
|
|
|
7055
7067
|
},
|
|
7056
7068
|
{
|
|
7057
7069
|
"name": "mapping",
|
|
7058
|
-
"type": "Array<{ leftBorderColor: string; value: any
|
|
7070
|
+
"type": "Array<{ leftBorderColor: string; value: any }>",
|
|
7059
7071
|
"required": true,
|
|
7060
7072
|
"description": ""
|
|
7061
7073
|
}
|
|
@@ -7081,7 +7093,7 @@
|
|
|
7081
7093
|
},
|
|
7082
7094
|
{
|
|
7083
7095
|
"name": "fields",
|
|
7084
|
-
"type": "{ index?: string; item?: string; value?: string
|
|
7096
|
+
"type": "{ index?: string; item?: string; value?: string }",
|
|
7085
7097
|
"required": false,
|
|
7086
7098
|
"description": "字段值、列表项和 index 对应所用构件的属性的 key"
|
|
7087
7099
|
},
|
|
@@ -7817,7 +7829,7 @@
|
|
|
7817
7829
|
},
|
|
7818
7830
|
{
|
|
7819
7831
|
"name": "afterBrick",
|
|
7820
|
-
"type": "{ data: unknown; useBrick: UseBrickConf
|
|
7832
|
+
"type": "{ data: unknown; useBrick: UseBrickConf }",
|
|
7821
7833
|
"required": false,
|
|
7822
7834
|
"description": "最后一个tag后面使用子构件,具体查看 [UseBrickConf](/next-docs/docs/api-reference/brick-types.usesinglebrickconf)",
|
|
7823
7835
|
"group": "other"
|
|
@@ -7831,7 +7843,7 @@
|
|
|
7831
7843
|
},
|
|
7832
7844
|
{
|
|
7833
7845
|
"type": "checked.update.v2",
|
|
7834
|
-
"detail": "{ key: string; label: string
|
|
7846
|
+
"detail": "{ key: string; label: string }[]",
|
|
7835
7847
|
"description": "选中的 tag"
|
|
7836
7848
|
},
|
|
7837
7849
|
{
|
|
@@ -7841,7 +7853,7 @@
|
|
|
7841
7853
|
},
|
|
7842
7854
|
{
|
|
7843
7855
|
"type": "tag.close",
|
|
7844
|
-
"detail": "{ current: Record<string, any>; tagList: Record<string, any>[]
|
|
7856
|
+
"detail": "{ current: Record<string, any>; tagList: Record<string, any>[] }",
|
|
7845
7857
|
"description": "当前关闭的tag和剩余的tagList"
|
|
7846
7858
|
}
|
|
7847
7859
|
],
|
|
@@ -7965,7 +7977,7 @@
|
|
|
7965
7977
|
"typeParameter": null,
|
|
7966
7978
|
"kind": "type",
|
|
7967
7979
|
"description": "",
|
|
7968
|
-
"type": "{ checked?: boolean; color?: string | Color; disabled?: boolean; disabledTooltip?: string; icon?: string | MenuIcon; key: string; label: string; tooltip?: string
|
|
7980
|
+
"type": "{ checked?: boolean; color?: string | Color; disabled?: boolean; disabledTooltip?: string; icon?: string | MenuIcon; key: string; label: string; tooltip?: string }"
|
|
7969
7981
|
}
|
|
7970
7982
|
]
|
|
7971
7983
|
}
|
|
@@ -8816,7 +8828,7 @@
|
|
|
8816
8828
|
"typeParameter": null,
|
|
8817
8829
|
"kind": "type",
|
|
8818
8830
|
"description": "",
|
|
8819
|
-
"type": "Omit<AntTreeNodeProps, \"children\"> & { children?: BrickTreeNodeProps[]; icon?: TreeIcon; key?: React.Key; title?: string
|
|
8831
|
+
"type": "Omit<AntTreeNodeProps, \"children\"> & { children?: BrickTreeNodeProps[]; icon?: TreeIcon; key?: React.Key; title?: string }"
|
|
8820
8832
|
},
|
|
8821
8833
|
{
|
|
8822
8834
|
"name": "TreeIcon",
|
|
@@ -9059,7 +9071,7 @@
|
|
|
9059
9071
|
"properties": [
|
|
9060
9072
|
{
|
|
9061
9073
|
"name": "messages",
|
|
9062
|
-
"type": "{ error: string; success: string
|
|
9074
|
+
"type": "{ error: string; success: string }",
|
|
9063
9075
|
"required": "false",
|
|
9064
9076
|
"description": "复制成功/失败时的提示,默认为“复制成功/失败”",
|
|
9065
9077
|
"group": "basic"
|
|
@@ -9450,7 +9462,7 @@
|
|
|
9450
9462
|
},
|
|
9451
9463
|
{
|
|
9452
9464
|
"name": "fields",
|
|
9453
|
-
"type": "{ value: string
|
|
9465
|
+
"type": "{ value: string }",
|
|
9454
9466
|
"required": false,
|
|
9455
9467
|
"description": "[已废弃]字段映射, 跟 dataSource 一起使用来获得运行时 value",
|
|
9456
9468
|
"deprecated": true,
|
|
@@ -9497,7 +9509,7 @@
|
|
|
9497
9509
|
"events": [
|
|
9498
9510
|
{
|
|
9499
9511
|
"type": "brick-value-mapping.click",
|
|
9500
|
-
"detail": "{ data: any; value: string | number
|
|
9512
|
+
"detail": "{ data: any; value: string | number }",
|
|
9501
9513
|
"description": "点击事件"
|
|
9502
9514
|
}
|
|
9503
9515
|
],
|
|
@@ -10546,7 +10558,7 @@
|
|
|
10546
10558
|
},
|
|
10547
10559
|
{
|
|
10548
10560
|
"name": "fields",
|
|
10549
|
-
"type": "{ cardSubtitle?: string; cardTitle?: string; descriptionList?: string; disabled?: string; icon?: string; iconColor?: string; iconOffsetX?: string; iconOffsetY?: string; iconOpacity?: string; iconSize?: string; iconStyle?: string
|
|
10561
|
+
"type": "{ cardSubtitle?: string; cardTitle?: string; descriptionList?: string; disabled?: string; icon?: string; iconColor?: string; iconOffsetX?: string; iconOffsetY?: string; iconOpacity?: string; iconSize?: string; iconStyle?: string }",
|
|
10550
10562
|
"required": "false",
|
|
10551
10563
|
"description": "字段映射, 跟 dataSource 一起使用来获得运行时 cardTitle、cardSubtitle、descriptionList、icon、iconColor、iconStyle、iconSize、iconOffsetX、iconOffsetY、iconOpacity、disabled",
|
|
10552
10564
|
"group": "other"
|
|
@@ -10607,7 +10619,7 @@
|
|
|
10607
10619
|
},
|
|
10608
10620
|
{
|
|
10609
10621
|
"name": "tagConfig",
|
|
10610
|
-
"type": "{ color?: Color; field?: string; hideOperate?: boolean; isNotEqual?: boolean; text: string; triangle?: boolean; value?: any
|
|
10622
|
+
"type": "{ color?: Color; field?: string; hideOperate?: boolean; isNotEqual?: boolean; text: string; triangle?: boolean; value?: any }",
|
|
10611
10623
|
"required": "false",
|
|
10612
10624
|
"description": "右上角 tag 标签",
|
|
10613
10625
|
"group": "other"
|
|
@@ -11360,7 +11372,7 @@
|
|
|
11360
11372
|
},
|
|
11361
11373
|
{
|
|
11362
11374
|
"name": "fields",
|
|
11363
|
-
"type": "{ cost?: string; endTime?: string; startTime?: string
|
|
11375
|
+
"type": "{ cost?: string; endTime?: string; startTime?: string }",
|
|
11364
11376
|
"required": "false",
|
|
11365
11377
|
"description": "[已废弃]字段映射, 跟 dataSource 一起使用来获得运行时对应字段",
|
|
11366
11378
|
"deprecated": true,
|
|
@@ -11892,7 +11904,7 @@
|
|
|
11892
11904
|
},
|
|
11893
11905
|
{
|
|
11894
11906
|
"name": "tipBrick",
|
|
11895
|
-
"type": "{ useBrick: UseBrickConf
|
|
11907
|
+
"type": "{ useBrick: UseBrickConf }",
|
|
11896
11908
|
"required": "false",
|
|
11897
11909
|
"description": "提示构件",
|
|
11898
11910
|
"group": "other"
|
|
@@ -11940,7 +11952,7 @@
|
|
|
11940
11952
|
"name": "__index",
|
|
11941
11953
|
"parameters": [
|
|
11942
11954
|
{
|
|
11943
|
-
"id":
|
|
11955
|
+
"id": 16751,
|
|
11944
11956
|
"name": "propName",
|
|
11945
11957
|
"kind": 32768,
|
|
11946
11958
|
"kindString": "Parameter",
|
|
@@ -14923,7 +14935,7 @@
|
|
|
14923
14935
|
},
|
|
14924
14936
|
{
|
|
14925
14937
|
"name": "fields",
|
|
14926
|
-
"type": "{ value?: string
|
|
14938
|
+
"type": "{ value?: string }",
|
|
14927
14939
|
"required": "false",
|
|
14928
14940
|
"description": "[已废弃]字段映射, 跟 dataSource 一起使用来获得运行时 value",
|
|
14929
14941
|
"deprecated": true,
|
|
@@ -16310,6 +16322,13 @@
|
|
|
16310
16322
|
"required": "false",
|
|
16311
16323
|
"description": "图片样式",
|
|
16312
16324
|
"group": "ui"
|
|
16325
|
+
},
|
|
16326
|
+
{
|
|
16327
|
+
"name": "useNewIllustration",
|
|
16328
|
+
"type": "boolean",
|
|
16329
|
+
"required": "false",
|
|
16330
|
+
"default": "true",
|
|
16331
|
+
"description": "在插画库的default分类下,使用新版本的图标替换default分类下图标"
|
|
16313
16332
|
}
|
|
16314
16333
|
],
|
|
16315
16334
|
"interface": [
|
|
@@ -17146,13 +17165,13 @@
|
|
|
17146
17165
|
"children": [
|
|
17147
17166
|
{
|
|
17148
17167
|
"name": "extra",
|
|
17149
|
-
"type": "string | { useBrick?: UseBrickConf
|
|
17168
|
+
"type": "string | { useBrick?: UseBrickConf }",
|
|
17150
17169
|
"required": false,
|
|
17151
17170
|
"description": "表格头部右边内容显示区域"
|
|
17152
17171
|
},
|
|
17153
17172
|
{
|
|
17154
17173
|
"name": "title",
|
|
17155
|
-
"type": "string | { useBrick?: UseBrickConf
|
|
17174
|
+
"type": "string | { useBrick?: UseBrickConf }",
|
|
17156
17175
|
"required": true,
|
|
17157
17176
|
"description": "表格头部左边内容显示区域"
|
|
17158
17177
|
}
|
|
@@ -17188,7 +17207,7 @@
|
|
|
17188
17207
|
"children": [
|
|
17189
17208
|
{
|
|
17190
17209
|
"name": "headerBrick",
|
|
17191
|
-
"type": "{ useBrick: UseBrickConf
|
|
17210
|
+
"type": "{ useBrick: UseBrickConf }",
|
|
17192
17211
|
"required": false,
|
|
17193
17212
|
"description": "支持为某列的表头自定义展示构件,可通过 DATA.title 获取标题文本"
|
|
17194
17213
|
},
|
|
@@ -17408,7 +17427,7 @@
|
|
|
17408
17427
|
"name": "__index",
|
|
17409
17428
|
"parameters": [
|
|
17410
17429
|
{
|
|
17411
|
-
"id":
|
|
17430
|
+
"id": 16751,
|
|
17412
17431
|
"name": "propName",
|
|
17413
17432
|
"kind": 32768,
|
|
17414
17433
|
"kindString": "Parameter",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.257.2",
|
|
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": "ee7e201e22bdb45fc3ba80b609d44ad693edaa8c"
|
|
59
59
|
}
|