@next-bricks/basic-bricks 1.180.9 → 1.180.10
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 +8 -0
- package/deploy/contract.yaml +78 -78
- package/dist/bricks.json +20 -20
- package/dist/{index.9b6e1f4f.js → index.52ce99f8.js} +2 -2
- package/dist/index.52ce99f8.js.map +1 -0
- package/dist/stories.json +99 -74
- package/package.json +2 -2
- package/dist/index.9b6e1f4f.js.map +0 -1
package/dist/stories.json
CHANGED
|
@@ -858,6 +858,12 @@
|
|
|
858
858
|
"name": "basic-bricks.fold-brick-v2",
|
|
859
859
|
"dockind": "brick",
|
|
860
860
|
"description": "折叠容器,只折叠单个内容,支持slot",
|
|
861
|
+
"groupI18N": {
|
|
862
|
+
"divider": {
|
|
863
|
+
"en": "Divider",
|
|
864
|
+
"zh": "分割线"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
861
867
|
"author": "momo",
|
|
862
868
|
"slots": [
|
|
863
869
|
{
|
|
@@ -886,35 +892,48 @@
|
|
|
886
892
|
"type": "string",
|
|
887
893
|
"required": "true",
|
|
888
894
|
"default": "-",
|
|
889
|
-
"description": "折叠展示名称"
|
|
895
|
+
"description": "折叠展示名称",
|
|
896
|
+
"group": "basic"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "defaultShow",
|
|
900
|
+
"type": "boolean",
|
|
901
|
+
"required": "false",
|
|
902
|
+
"default": "-",
|
|
903
|
+
"description": "是否默认展开",
|
|
904
|
+
"group": "basic"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "type",
|
|
908
|
+
"type": "\"normal\" | \"primary\"",
|
|
909
|
+
"required": "false",
|
|
910
|
+
"default": "\"normal\"",
|
|
911
|
+
"description": "折叠面板类型",
|
|
912
|
+
"group": "basic"
|
|
890
913
|
},
|
|
891
914
|
{
|
|
892
915
|
"name": "isShowFoldIcon",
|
|
893
916
|
"type": "boolean",
|
|
894
917
|
"required": "false",
|
|
895
918
|
"default": "true",
|
|
896
|
-
"description": "是否显示展开图标"
|
|
919
|
+
"description": "是否显示展开图标",
|
|
920
|
+
"group": "ui"
|
|
897
921
|
},
|
|
898
922
|
{
|
|
899
|
-
"name": "
|
|
900
|
-
"type": "
|
|
923
|
+
"name": "foldStyle",
|
|
924
|
+
"type": "object",
|
|
901
925
|
"required": "false",
|
|
902
926
|
"default": "-",
|
|
903
|
-
"description": "
|
|
927
|
+
"description": "折叠展示的样式编写",
|
|
928
|
+
"group": "ui"
|
|
904
929
|
},
|
|
905
930
|
{
|
|
906
931
|
"name": "showDivider",
|
|
907
932
|
"type": "boolean",
|
|
908
933
|
"required": "false",
|
|
909
934
|
"default": "-",
|
|
910
|
-
"description": "
|
|
911
|
-
|
|
912
|
-
{
|
|
913
|
-
"name": "type",
|
|
914
|
-
"type": "\"normal\" | \"primary\"",
|
|
915
|
-
"required": "false",
|
|
916
|
-
"default": "\"normal\"",
|
|
917
|
-
"description": "折叠面板类型"
|
|
935
|
+
"description": "是否展示分割线",
|
|
936
|
+
"group": "divider"
|
|
918
937
|
},
|
|
919
938
|
{
|
|
920
939
|
"name": "dividerOrientation",
|
|
@@ -922,7 +941,7 @@
|
|
|
922
941
|
"required": "false",
|
|
923
942
|
"default": "center",
|
|
924
943
|
"description": "分割线标题的位置",
|
|
925
|
-
"group": "
|
|
944
|
+
"group": "divider"
|
|
926
945
|
},
|
|
927
946
|
{
|
|
928
947
|
"name": "dividerDashed",
|
|
@@ -930,19 +949,7 @@
|
|
|
930
949
|
"required": "false",
|
|
931
950
|
"default": "false",
|
|
932
951
|
"description": "是否虚线",
|
|
933
|
-
"group": "
|
|
934
|
-
},
|
|
935
|
-
{
|
|
936
|
-
"name": "foldStyle",
|
|
937
|
-
"type": "object",
|
|
938
|
-
"required": "false",
|
|
939
|
-
"default": "-",
|
|
940
|
-
"description": "折叠展示的样式编写",
|
|
941
|
-
"group": "advanced"
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
"name": "show",
|
|
945
|
-
"type": "boolean"
|
|
952
|
+
"group": "divider"
|
|
946
953
|
}
|
|
947
954
|
],
|
|
948
955
|
"interface": []
|
|
@@ -2784,44 +2791,54 @@
|
|
|
2784
2791
|
"name": "basic-bricks.general-custom-buttons",
|
|
2785
2792
|
"dockind": "brick",
|
|
2786
2793
|
"description": "可配置收纳起来的更多按钮,可配置不同事件",
|
|
2794
|
+
"groupI18N": {
|
|
2795
|
+
"moreButton": {
|
|
2796
|
+
"en": "MoreButton",
|
|
2797
|
+
"zh": "更多按钮"
|
|
2798
|
+
},
|
|
2799
|
+
"dropdownButton": {
|
|
2800
|
+
"en": "DropdownButton",
|
|
2801
|
+
"zh": "含下拉选框的按钮"
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2787
2804
|
"author": "ice",
|
|
2788
2805
|
"slots": null,
|
|
2789
2806
|
"history": [
|
|
2790
2807
|
{
|
|
2791
|
-
"version": "1.
|
|
2792
|
-
"change": "
|
|
2808
|
+
"version": "1.72.0",
|
|
2809
|
+
"change": "新增属性 `loading`"
|
|
2793
2810
|
},
|
|
2794
2811
|
{
|
|
2795
|
-
"version": "1.
|
|
2796
|
-
"change": "
|
|
2812
|
+
"version": "1.59.0",
|
|
2813
|
+
"change": "新增属性 `disableAfterClick`"
|
|
2797
2814
|
},
|
|
2798
2815
|
{
|
|
2799
|
-
"version": "1.
|
|
2800
|
-
"change": "按钮新增 `
|
|
2816
|
+
"version": "1.48.0",
|
|
2817
|
+
"change": "按钮新增 `hide` 属性"
|
|
2801
2818
|
},
|
|
2802
2819
|
{
|
|
2803
|
-
"version": "1.
|
|
2804
|
-
"change": "新增 `
|
|
2820
|
+
"version": "1.45.0",
|
|
2821
|
+
"change": "新增 `dropdownPlacement` 属性, 按钮新增 `isDivider` 属性"
|
|
2805
2822
|
},
|
|
2806
2823
|
{
|
|
2807
2824
|
"version": "1.40.0",
|
|
2808
2825
|
"change": "按钮新增 `buttonHref`, `tooltip`, `tooltipPlacement` 属性"
|
|
2809
2826
|
},
|
|
2810
2827
|
{
|
|
2811
|
-
"version": "1.
|
|
2812
|
-
"change": "新增 `
|
|
2828
|
+
"version": "1.35.0",
|
|
2829
|
+
"change": "新增 `alignment` 属性"
|
|
2813
2830
|
},
|
|
2814
2831
|
{
|
|
2815
|
-
"version": "1.
|
|
2816
|
-
"change": "按钮新增 `
|
|
2832
|
+
"version": "1.30.0",
|
|
2833
|
+
"change": "按钮新增 `buttonSize`, `buttonUrl`, `urlTarget` 属性"
|
|
2817
2834
|
},
|
|
2818
2835
|
{
|
|
2819
|
-
"version": "1.
|
|
2820
|
-
"change": "
|
|
2836
|
+
"version": "1.29.0",
|
|
2837
|
+
"change": "按钮新增 `buttonType`, `buttonShape` 属性"
|
|
2821
2838
|
},
|
|
2822
2839
|
{
|
|
2823
|
-
"version": "1.
|
|
2824
|
-
"change": "
|
|
2840
|
+
"version": "1.28.0",
|
|
2841
|
+
"change": "新增 `updateButton` 方法,按钮新增 `id`, `disabled` 属性"
|
|
2825
2842
|
}
|
|
2826
2843
|
],
|
|
2827
2844
|
"memo": "",
|
|
@@ -2831,88 +2848,96 @@
|
|
|
2831
2848
|
"type": "CustomButton[]",
|
|
2832
2849
|
"required": "true",
|
|
2833
2850
|
"default": "-",
|
|
2834
|
-
"description": "自定义按钮组"
|
|
2851
|
+
"description": "自定义按钮组",
|
|
2852
|
+
"group": "basic"
|
|
2835
2853
|
},
|
|
2836
2854
|
{
|
|
2837
2855
|
"name": "alignment",
|
|
2838
2856
|
"type": "\"start\" | \"center\" | \"end\" | \"stretch\"",
|
|
2839
2857
|
"required": "false",
|
|
2840
|
-
"default": "
|
|
2841
|
-
"description": "对齐方式"
|
|
2858
|
+
"default": "\"center\"",
|
|
2859
|
+
"description": "对齐方式",
|
|
2860
|
+
"group": "basic"
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"name": "dataSource",
|
|
2864
|
+
"type": "any",
|
|
2865
|
+
"required": "false",
|
|
2866
|
+
"default": "-",
|
|
2867
|
+
"description": "按钮事件的 detail",
|
|
2868
|
+
"group": "basic"
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
"name": "disableAfterClick",
|
|
2872
|
+
"type": "boolean",
|
|
2873
|
+
"required": "false",
|
|
2874
|
+
"default": "false",
|
|
2875
|
+
"description": "点击按钮后自动禁用",
|
|
2876
|
+
"group": "basic"
|
|
2842
2877
|
},
|
|
2843
2878
|
{
|
|
2844
2879
|
"name": "isMoreButton",
|
|
2845
2880
|
"type": "boolean",
|
|
2846
2881
|
"required": "false",
|
|
2847
2882
|
"default": "-",
|
|
2848
|
-
"description": "按钮组中 isDropdown 为 true 的按钮收纳成 dropdown。isMoreButton 为 true 时更多按钮显示纯icon样式,为 false 时显示icon+文字样式。"
|
|
2883
|
+
"description": "按钮组中 isDropdown 为 true 的按钮收纳成 dropdown。isMoreButton 为 true 时更多按钮显示纯icon样式,为 false 时显示icon+文字样式。",
|
|
2884
|
+
"group": "moreButton"
|
|
2849
2885
|
},
|
|
2850
2886
|
{
|
|
2851
2887
|
"name": "moreBtnIcon",
|
|
2852
2888
|
"type": "MenuIcon",
|
|
2853
2889
|
"required": "false",
|
|
2854
2890
|
"default": "-",
|
|
2855
|
-
"description": "isMoreButton 为 true 时更多按钮的图标,默认为`...`"
|
|
2891
|
+
"description": "isMoreButton 为 true 时更多按钮的图标,默认为`...`",
|
|
2892
|
+
"group": "moreButton"
|
|
2856
2893
|
},
|
|
2857
2894
|
{
|
|
2858
2895
|
"name": "moreButtonType",
|
|
2859
2896
|
"type": "`ButtonType` (`\"link\" | \"default\" | \"primary\" | \"ghost\" | \"dashed\" | \"danger\" | \"icon\" | \"text\"`)",
|
|
2860
2897
|
"required": "false",
|
|
2861
2898
|
"default": "-",
|
|
2862
|
-
"description": "更多按钮的类型,参考 general-button 构件"
|
|
2899
|
+
"description": "更多按钮的类型,参考 general-button 构件",
|
|
2900
|
+
"group": "moreButton"
|
|
2863
2901
|
},
|
|
2864
2902
|
{
|
|
2865
2903
|
"name": "moreButtonShape",
|
|
2866
2904
|
"type": "\"circle\" | \"no\" | \"rectangle\" | \"icon\"",
|
|
2867
2905
|
"required": "false",
|
|
2868
2906
|
"default": "-",
|
|
2869
|
-
"description": "isMoreButton 为 true 时更多按钮的样式"
|
|
2870
|
-
|
|
2871
|
-
{
|
|
2872
|
-
"name": "dataSource",
|
|
2873
|
-
"type": "any",
|
|
2874
|
-
"required": "false",
|
|
2875
|
-
"default": "-",
|
|
2876
|
-
"description": "按钮事件的 detail"
|
|
2907
|
+
"description": "isMoreButton 为 true 时更多按钮的样式",
|
|
2908
|
+
"group": "moreButton"
|
|
2877
2909
|
},
|
|
2878
2910
|
{
|
|
2879
2911
|
"name": "dropdownBtnText",
|
|
2880
2912
|
"type": "string",
|
|
2881
2913
|
"required": "false",
|
|
2882
|
-
"default": "
|
|
2914
|
+
"default": "\"管理\"",
|
|
2883
2915
|
"description": "isMoreButton 为 false 时,按钮组中 isDropdown 为 true 的按钮收纳成 dropdown,收纳起来的按钮文字",
|
|
2884
|
-
"group": "
|
|
2916
|
+
"group": "dropdownButton"
|
|
2885
2917
|
},
|
|
2886
2918
|
{
|
|
2887
2919
|
"name": "dropdownBtnType",
|
|
2888
2920
|
"type": "`\"default\" | \"link\"`",
|
|
2889
2921
|
"required": "false",
|
|
2890
|
-
"default": "
|
|
2891
|
-
"description": "dropdown按钮的类型"
|
|
2922
|
+
"default": "\"default\"",
|
|
2923
|
+
"description": "dropdown按钮的类型",
|
|
2924
|
+
"group": "dropdownButton"
|
|
2892
2925
|
},
|
|
2893
2926
|
{
|
|
2894
2927
|
"name": "dropdownBtnIcon",
|
|
2895
2928
|
"type": "MenuIcon",
|
|
2896
2929
|
"required": "false",
|
|
2897
|
-
"default": "
|
|
2930
|
+
"default": "\"setting\"",
|
|
2898
2931
|
"description": "isMoreButton 为 false 时,按钮组中 isDropdown 为 true 的按钮收纳成 dropdown,收纳起来的按钮 icon,支持[icon 图标库](/next/developers/icon),可直接复制图标图标的配置(antd、fa 及 easyops 三种库都支持),也可只取 icon 字段的值(仅支持 antd 库)。配置{ \"lib\": \"antd\", \"icon\": \"edit\" }与 \"edit\"等价",
|
|
2899
|
-
"group": "
|
|
2932
|
+
"group": "dropdownButton"
|
|
2900
2933
|
},
|
|
2901
2934
|
{
|
|
2902
2935
|
"name": "dropdownPlacement",
|
|
2903
2936
|
"type": "DropdownPlacement",
|
|
2904
2937
|
"required": "false",
|
|
2905
|
-
"default": "
|
|
2938
|
+
"default": "\"bottomRight\"",
|
|
2906
2939
|
"description": "dropdown 的弹出位置",
|
|
2907
|
-
"group": "
|
|
2908
|
-
},
|
|
2909
|
-
{
|
|
2910
|
-
"name": "disableAfterClick",
|
|
2911
|
-
"type": "boolean",
|
|
2912
|
-
"required": "false",
|
|
2913
|
-
"default": "`false`",
|
|
2914
|
-
"description": "点击按钮后自动禁用",
|
|
2915
|
-
"group": "advanced"
|
|
2940
|
+
"group": "dropdownButton"
|
|
2916
2941
|
}
|
|
2917
2942
|
],
|
|
2918
2943
|
"events": [
|
|
@@ -3004,7 +3029,7 @@
|
|
|
3004
3029
|
"name": "icon",
|
|
3005
3030
|
"type": "any",
|
|
3006
3031
|
"required": true,
|
|
3007
|
-
"description": "按钮 icon,支持[icon图标库](
|
|
3032
|
+
"description": "按钮 icon,支持[icon图标库](/next/developers/icon),可直接复制图标图标的配置(antd、fa 及 easyops 三种库都支持),也可只取 icon 字段的值(仅支持 antd 库)。配置{ \"lib\": \"antd\", \"icon\": \"edit\" }与 \"edit\"等价"
|
|
3008
3033
|
},
|
|
3009
3034
|
{
|
|
3010
3035
|
"name": "id",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/basic-bricks",
|
|
3
|
-
"version": "1.180.
|
|
3
|
+
"version": "1.180.10",
|
|
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",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"immutability-helper": "^3.1.1"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": true,
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "7f78e1fcd0e57cc6b1ceab891161c6cfeed3c7ae"
|
|
43
43
|
}
|