ydb-components-material 0.1.100 → 0.1.101

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.
@@ -8,6 +8,7 @@ export interface CheckResProps {
8
8
  name: string;
9
9
  hasBorderBottom?: boolean;
10
10
  desc: string;
11
+ buttonText: string;
11
12
  jumpFun?: () => void;
12
13
  }
13
14
  declare const CheckRes: React.FC<CheckResProps>;
@@ -7,6 +7,7 @@ var CheckRes = function CheckRes(_ref) {
7
7
  name = _ref.name,
8
8
  hasBorderBottom = _ref.hasBorderBottom,
9
9
  desc = _ref.desc,
10
+ buttonText = _ref.buttonText,
10
11
  jumpFun = _ref.jumpFun;
11
12
  var text = '预检中...';
12
13
  if (res === true) {
@@ -43,7 +44,7 @@ var CheckRes = function CheckRes(_ref) {
43
44
  }, /*#__PURE__*/React.createElement("div", null, desc), jumpFun && /*#__PURE__*/React.createElement("div", {
44
45
  className: "btn",
45
46
  onClick: jumpFun
46
- }, "\u53BB\u529E\u7406")));
47
+ }, buttonText || '去办理')));
47
48
  };
48
49
  CheckRes.displayName = 'CheckRes';
49
50
  export default CheckRes;
@@ -8,6 +8,7 @@ export interface CheckResProps {
8
8
  name: string;
9
9
  hasBorderBottom?: boolean;
10
10
  desc: string;
11
+ buttonText: string;
11
12
  jumpFun?: () => void;
12
13
  }
13
14
  declare const CheckRes: React.FC<CheckResProps>;
@@ -13,6 +13,7 @@ var CheckRes = function CheckRes(_ref) {
13
13
  name = _ref.name,
14
14
  hasBorderBottom = _ref.hasBorderBottom,
15
15
  desc = _ref.desc,
16
+ buttonText = _ref.buttonText,
16
17
  jumpFun = _ref.jumpFun;
17
18
  var text = '预检中...';
18
19
  if (res === true) {
@@ -49,7 +50,7 @@ var CheckRes = function CheckRes(_ref) {
49
50
  }, /*#__PURE__*/React.createElement("div", null, desc), jumpFun && /*#__PURE__*/React.createElement("div", {
50
51
  className: "btn",
51
52
  onClick: jumpFun
52
- }, "\u53BB\u529E\u7406")));
53
+ }, buttonText || '去办理')));
53
54
  };
54
55
  CheckRes.displayName = 'CheckRes';
55
56
  var _default = exports["default"] = CheckRes;
@@ -79,6 +79,21 @@ const CheckResMeta: IPublicTypeComponentMetadata = {
79
79
  "initialValue": ''
80
80
  }
81
81
  },
82
+ {
83
+ "title": {
84
+ "label": {
85
+ "type": "i18n",
86
+ "en-US": "buttonText",
87
+ "zh-CN": "按钮提示文案"
88
+ }
89
+ },
90
+ "name": "buttonText",
91
+ "setter": {
92
+ "componentName": "StringSetter",
93
+ "isRequired": true,
94
+ "initialValue": ''
95
+ }
96
+ },
82
97
  {
83
98
  "title": {
84
99
  "label": {
@@ -72,6 +72,20 @@ var CheckResMeta = {
72
72
  "isRequired": true,
73
73
  "initialValue": ''
74
74
  }
75
+ }, {
76
+ "title": {
77
+ "label": {
78
+ "type": "i18n",
79
+ "en-US": "buttonText",
80
+ "zh-CN": "按钮提示文案"
81
+ }
82
+ },
83
+ "name": "buttonText",
84
+ "setter": {
85
+ "componentName": "StringSetter",
86
+ "isRequired": true,
87
+ "initialValue": ''
88
+ }
75
89
  }, {
76
90
  "title": {
77
91
  "label": {
@@ -94,7 +94,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
94
94
  packageName = 'ydb-components-material';
95
95
  }
96
96
  if (version === void 0) {
97
- version = '0.1.100';
97
+ version = '0.1.101';
98
98
  }
99
99
  if (basicLibraryVersion === void 0) {
100
100
  basicLibraryVersion = {
@@ -77,6 +77,20 @@ var CheckResMeta = {
77
77
  "isRequired": true,
78
78
  "initialValue": ''
79
79
  }
80
+ }, {
81
+ "title": {
82
+ "label": {
83
+ "type": "i18n",
84
+ "en-US": "buttonText",
85
+ "zh-CN": "按钮提示文案"
86
+ }
87
+ },
88
+ "name": "buttonText",
89
+ "setter": {
90
+ "componentName": "StringSetter",
91
+ "isRequired": true,
92
+ "initialValue": ''
93
+ }
80
94
  }, {
81
95
  "title": {
82
96
  "label": {
@@ -99,7 +99,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
99
99
  packageName = 'ydb-components-material';
100
100
  }
101
101
  if (version === void 0) {
102
- version = '0.1.100';
102
+ version = '0.1.101';
103
103
  }
104
104
  if (basicLibraryVersion === void 0) {
105
105
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-components-material",
3
- "version": "0.1.100",
3
+ "version": "0.1.101",
4
4
  "description": "ydb-components-material",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -100,10 +100,10 @@
100
100
  },
101
101
  "componentConfig": {
102
102
  "isComponentLibrary": true,
103
- "materialSchema": "https://unpkg.com/ydb-components-material@0.1.100/build/lowcode/assets-prod.json"
103
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.101/build/lowcode/assets-prod.json"
104
104
  },
105
105
  "lcMeta": {
106
106
  "type": "component"
107
107
  },
108
- "homepage": "https://unpkg.com/ydb-components-material@0.1.100/build/index.html"
108
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.101/build/index.html"
109
109
  }