@next-bricks/presentational-bricks 1.249.2 → 1.250.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 +27 -0
- package/deploy/contract.yaml +98 -98
- package/dist/bricks.json +16 -16
- package/dist/{index.8f25c5f2.js → index.419e1ce9.js} +2 -2
- package/dist/index.419e1ce9.js.map +1 -0
- package/dist/stories.json +56 -42
- package/package.json +2 -2
- package/dist/index.8f25c5f2.js.map +0 -1
package/dist/stories.json
CHANGED
|
@@ -2936,49 +2936,80 @@
|
|
|
2936
2936
|
"type": "string",
|
|
2937
2937
|
"required": "false",
|
|
2938
2938
|
"default": "-",
|
|
2939
|
-
"description": "提示语"
|
|
2939
|
+
"description": "提示语",
|
|
2940
|
+
"group": "basic"
|
|
2940
2941
|
},
|
|
2941
2942
|
{
|
|
2942
2943
|
"name": "shouldUpdateUrlParams",
|
|
2943
2944
|
"type": "boolean",
|
|
2944
2945
|
"required": "false",
|
|
2945
2946
|
"default": "true",
|
|
2946
|
-
"description": "是否更新 url 参数"
|
|
2947
|
+
"description": "是否更新 url 参数",
|
|
2948
|
+
"group": "basic"
|
|
2947
2949
|
},
|
|
2948
2950
|
{
|
|
2949
2951
|
"name": "shouldTrimQuery",
|
|
2950
2952
|
"type": "boolean",
|
|
2951
2953
|
"required": "false",
|
|
2952
2954
|
"default": "true",
|
|
2953
|
-
"description": "是否对输入框剔除前后空格"
|
|
2955
|
+
"description": "是否对输入框剔除前后空格",
|
|
2956
|
+
"group": "basic"
|
|
2954
2957
|
},
|
|
2955
2958
|
{
|
|
2956
2959
|
"name": "q",
|
|
2957
2960
|
"type": "string",
|
|
2958
2961
|
"required": "false",
|
|
2959
2962
|
"default": "-",
|
|
2960
|
-
"description": "输入的搜索关键字,常用于回填搜索框,如\\${query.q}"
|
|
2963
|
+
"description": "输入的搜索关键字,常用于回填搜索框,如\\${query.q}",
|
|
2964
|
+
"group": "basic"
|
|
2961
2965
|
},
|
|
2962
2966
|
{
|
|
2963
2967
|
"name": "defaultArgs",
|
|
2964
2968
|
"type": "{field: string;value: any;}[]",
|
|
2965
2969
|
"required": "false",
|
|
2966
2970
|
"default": "-",
|
|
2967
|
-
"description": "进行搜索的时候需重置的其他默认参数,如[{\"field\": \"page\", \"value\": 1}]即表示搜索的时候需要把页码重置成 1"
|
|
2971
|
+
"description": "进行搜索的时候需重置的其他默认参数,如[{\"field\": \"page\", \"value\": 1}]即表示搜索的时候需要把页码重置成 1",
|
|
2972
|
+
"group": "basic"
|
|
2968
2973
|
},
|
|
2969
2974
|
{
|
|
2970
2975
|
"name": "qField",
|
|
2971
2976
|
"type": "string",
|
|
2972
2977
|
"required": "false",
|
|
2973
2978
|
"default": "\"q\"",
|
|
2974
|
-
"description": "当 `shouldUpdateUrlParams` 为真时,将以该值为 key 更新到 url 上"
|
|
2979
|
+
"description": "当 `shouldUpdateUrlParams` 为真时,将以该值为 key 更新到 url 上",
|
|
2980
|
+
"group": "basic"
|
|
2975
2981
|
},
|
|
2976
2982
|
{
|
|
2977
2983
|
"name": "disableAutofocus",
|
|
2978
2984
|
"type": "boolean",
|
|
2979
2985
|
"required": "false",
|
|
2980
2986
|
"default": "false",
|
|
2981
|
-
"description": "是否禁用自动聚焦"
|
|
2987
|
+
"description": "是否禁用自动聚焦",
|
|
2988
|
+
"group": "basic"
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
"name": "searchType",
|
|
2992
|
+
"type": "\"all\"|\"ip\"",
|
|
2993
|
+
"required": "false",
|
|
2994
|
+
"default": "'all'",
|
|
2995
|
+
"description": "搜索类型",
|
|
2996
|
+
"group": "basic"
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"name": "searchTypeEnabled",
|
|
3000
|
+
"type": "boolean",
|
|
3001
|
+
"required": "false",
|
|
3002
|
+
"default": "true",
|
|
3003
|
+
"description": "是否支持ip搜索",
|
|
3004
|
+
"group": "basic"
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "debounceTime",
|
|
3008
|
+
"type": "number",
|
|
3009
|
+
"required": "false",
|
|
3010
|
+
"default": "0",
|
|
3011
|
+
"description": "默认延迟时间",
|
|
3012
|
+
"group": "basic"
|
|
2982
3013
|
},
|
|
2983
3014
|
{
|
|
2984
3015
|
"name": "size",
|
|
@@ -2986,7 +3017,7 @@
|
|
|
2986
3017
|
"required": "false",
|
|
2987
3018
|
"default": "default",
|
|
2988
3019
|
"description": "尺寸大小,可选`default、small、large、extraLarge`",
|
|
2989
|
-
"group": "
|
|
3020
|
+
"group": "ui"
|
|
2990
3021
|
},
|
|
2991
3022
|
{
|
|
2992
3023
|
"name": "shape",
|
|
@@ -2994,7 +3025,7 @@
|
|
|
2994
3025
|
"required": "false",
|
|
2995
3026
|
"default": "default",
|
|
2996
3027
|
"description": "形状,可选`default、round`",
|
|
2997
|
-
"group": "
|
|
3028
|
+
"group": "ui"
|
|
2998
3029
|
},
|
|
2999
3030
|
{
|
|
3000
3031
|
"name": "inputStyle",
|
|
@@ -3002,7 +3033,7 @@
|
|
|
3002
3033
|
"required": "false",
|
|
3003
3034
|
"default": "-",
|
|
3004
3035
|
"description": "输入框样式",
|
|
3005
|
-
"group": "
|
|
3036
|
+
"group": "ui"
|
|
3006
3037
|
},
|
|
3007
3038
|
{
|
|
3008
3039
|
"name": "buttonStyle",
|
|
@@ -3010,45 +3041,23 @@
|
|
|
3010
3041
|
"required": "false",
|
|
3011
3042
|
"default": "-",
|
|
3012
3043
|
"description": "按钮样式",
|
|
3013
|
-
"group": "
|
|
3014
|
-
},
|
|
3015
|
-
{
|
|
3016
|
-
"name": "field",
|
|
3017
|
-
"type": "string",
|
|
3018
|
-
"required": "false",
|
|
3019
|
-
"default": "query",
|
|
3020
|
-
"deprecated": true,
|
|
3021
|
-
"description": "[已废弃]filter.update 中 detail 的字段名",
|
|
3022
|
-
"group": "advanced"
|
|
3023
|
-
},
|
|
3024
|
-
{
|
|
3025
|
-
"name": "debounceTime",
|
|
3026
|
-
"type": "number",
|
|
3027
|
-
"required": "false",
|
|
3028
|
-
"default": "0",
|
|
3029
|
-
"description": "默认延迟时间",
|
|
3030
|
-
"group": "advanced"
|
|
3031
|
-
},
|
|
3032
|
-
{
|
|
3033
|
-
"name": "searchTypeEnabled",
|
|
3034
|
-
"type": "boolean",
|
|
3035
|
-
"required": "false",
|
|
3036
|
-
"default": "true",
|
|
3037
|
-
"description": "是否支持ip搜索"
|
|
3044
|
+
"group": "ui"
|
|
3038
3045
|
},
|
|
3039
3046
|
{
|
|
3040
3047
|
"name": "searchBoxStyleType",
|
|
3041
3048
|
"type": "\"defalut\"|\"radio\"",
|
|
3042
3049
|
"required": "\"defalut\"",
|
|
3043
3050
|
"default": "true",
|
|
3044
|
-
"description": "按类型搜索框样式"
|
|
3051
|
+
"description": "按类型搜索框样式",
|
|
3052
|
+
"group": "ui"
|
|
3045
3053
|
},
|
|
3046
3054
|
{
|
|
3047
|
-
"name": "
|
|
3048
|
-
"type": "
|
|
3055
|
+
"name": "field",
|
|
3056
|
+
"type": "string",
|
|
3049
3057
|
"required": "false",
|
|
3050
|
-
"default": "
|
|
3051
|
-
"
|
|
3058
|
+
"default": "query",
|
|
3059
|
+
"deprecated": true,
|
|
3060
|
+
"description": "[已废弃]filter.update 中 detail 的字段名"
|
|
3052
3061
|
}
|
|
3053
3062
|
],
|
|
3054
3063
|
"events": [
|
|
@@ -4661,8 +4670,7 @@
|
|
|
4661
4670
|
"name": "search-empty",
|
|
4662
4671
|
"category": "default",
|
|
4663
4672
|
"imageStyle": {
|
|
4664
|
-
"width": "250px"
|
|
4665
|
-
"height": "250px"
|
|
4673
|
+
"width": "250px"
|
|
4666
4674
|
}
|
|
4667
4675
|
}
|
|
4668
4676
|
},
|
|
@@ -13210,6 +13218,12 @@
|
|
|
13210
13218
|
"required": false,
|
|
13211
13219
|
"description": "箭头是否指向目标元素中心"
|
|
13212
13220
|
},
|
|
13221
|
+
{
|
|
13222
|
+
"name": "overlayStyle",
|
|
13223
|
+
"type": "CSSProperties",
|
|
13224
|
+
"required": false,
|
|
13225
|
+
"description": "卡片样式"
|
|
13226
|
+
},
|
|
13213
13227
|
{
|
|
13214
13228
|
"name": "placement",
|
|
13215
13229
|
"type": "TooltipPlacement",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.250.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": "bc7fdb8722528096e96dce5cfa2a44a8db39059e"
|
|
59
59
|
}
|