ydb-components-material 0.1.107 → 0.1.108

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.
@@ -7,6 +7,7 @@ export interface CheckResProps {
7
7
  res?: boolean;
8
8
  name: string;
9
9
  hasBorderBottom?: boolean;
10
+ showJumpBtn?: boolean;
10
11
  desc: string;
11
12
  buttonText: string;
12
13
  jumpFun?: () => void;
@@ -8,6 +8,8 @@ var CheckRes = function CheckRes(_ref) {
8
8
  hasBorderBottom = _ref.hasBorderBottom,
9
9
  desc = _ref.desc,
10
10
  buttonText = _ref.buttonText,
11
+ _ref$showJumpBtn = _ref.showJumpBtn,
12
+ showJumpBtn = _ref$showJumpBtn === void 0 ? false : _ref$showJumpBtn,
11
13
  jumpFun = _ref.jumpFun;
12
14
  var text = '预检中...';
13
15
  if (res === true) {
@@ -41,7 +43,7 @@ var CheckRes = function CheckRes(_ref) {
41
43
  }
42
44
  }, text)), desc && /*#__PURE__*/React.createElement("div", {
43
45
  className: "prompt"
44
- }, /*#__PURE__*/React.createElement("div", null, desc), jumpFun && /*#__PURE__*/React.createElement("div", {
46
+ }, /*#__PURE__*/React.createElement("div", null, desc), showJumpBtn && /*#__PURE__*/React.createElement("div", {
45
47
  className: "btn",
46
48
  onClick: jumpFun
47
49
  }, buttonText || '去办理')));
@@ -7,6 +7,7 @@ export interface CheckResProps {
7
7
  res?: boolean;
8
8
  name: string;
9
9
  hasBorderBottom?: boolean;
10
+ showJumpBtn?: boolean;
10
11
  desc: string;
11
12
  buttonText: string;
12
13
  jumpFun?: () => void;
@@ -14,6 +14,8 @@ var CheckRes = function CheckRes(_ref) {
14
14
  hasBorderBottom = _ref.hasBorderBottom,
15
15
  desc = _ref.desc,
16
16
  buttonText = _ref.buttonText,
17
+ _ref$showJumpBtn = _ref.showJumpBtn,
18
+ showJumpBtn = _ref$showJumpBtn === void 0 ? false : _ref$showJumpBtn,
17
19
  jumpFun = _ref.jumpFun;
18
20
  var text = '预检中...';
19
21
  if (res === true) {
@@ -47,7 +49,7 @@ var CheckRes = function CheckRes(_ref) {
47
49
  }
48
50
  }, text)), desc && /*#__PURE__*/React.createElement("div", {
49
51
  className: "prompt"
50
- }, /*#__PURE__*/React.createElement("div", null, desc), jumpFun && /*#__PURE__*/React.createElement("div", {
52
+ }, /*#__PURE__*/React.createElement("div", null, desc), showJumpBtn && /*#__PURE__*/React.createElement("div", {
51
53
  className: "btn",
52
54
  onClick: jumpFun
53
55
  }, buttonText || '去办理')));
@@ -64,6 +64,21 @@ const CheckResMeta: IPublicTypeComponentMetadata = {
64
64
  "initialValue": true
65
65
  }
66
66
  },
67
+ {
68
+ "title": {
69
+ "label": {
70
+ "type": "i18n",
71
+ "en-US": "showJumpBtn",
72
+ "zh-CN": "展示跳转按钮"
73
+ }
74
+ },
75
+ "name": "showJumpBtn",
76
+ "setter": {
77
+ "componentName": "BoolSetter",
78
+ "isRequired": true,
79
+ "initialValue": false
80
+ }
81
+ },
67
82
  {
68
83
  "title": {
69
84
  "label": {
@@ -58,6 +58,20 @@ var CheckResMeta = {
58
58
  "isRequired": true,
59
59
  "initialValue": true
60
60
  }
61
+ }, {
62
+ "title": {
63
+ "label": {
64
+ "type": "i18n",
65
+ "en-US": "showJumpBtn",
66
+ "zh-CN": "展示跳转按钮"
67
+ }
68
+ },
69
+ "name": "showJumpBtn",
70
+ "setter": {
71
+ "componentName": "BoolSetter",
72
+ "isRequired": true,
73
+ "initialValue": false
74
+ }
61
75
  }, {
62
76
  "title": {
63
77
  "label": {
@@ -96,7 +96,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
96
96
  packageName = 'ydb-components-material';
97
97
  }
98
98
  if (version === void 0) {
99
- version = '0.1.107';
99
+ version = '0.1.108';
100
100
  }
101
101
  if (basicLibraryVersion === void 0) {
102
102
  basicLibraryVersion = {
@@ -63,6 +63,20 @@ var CheckResMeta = {
63
63
  "isRequired": true,
64
64
  "initialValue": true
65
65
  }
66
+ }, {
67
+ "title": {
68
+ "label": {
69
+ "type": "i18n",
70
+ "en-US": "showJumpBtn",
71
+ "zh-CN": "展示跳转按钮"
72
+ }
73
+ },
74
+ "name": "showJumpBtn",
75
+ "setter": {
76
+ "componentName": "BoolSetter",
77
+ "isRequired": true,
78
+ "initialValue": false
79
+ }
66
80
  }, {
67
81
  "title": {
68
82
  "label": {
@@ -101,7 +101,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
101
101
  packageName = 'ydb-components-material';
102
102
  }
103
103
  if (version === void 0) {
104
- version = '0.1.107';
104
+ version = '0.1.108';
105
105
  }
106
106
  if (basicLibraryVersion === void 0) {
107
107
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-components-material",
3
- "version": "0.1.107",
3
+ "version": "0.1.108",
4
4
  "description": "ydb-components-material",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -101,10 +101,10 @@
101
101
  },
102
102
  "componentConfig": {
103
103
  "isComponentLibrary": true,
104
- "materialSchema": "https://unpkg.com/ydb-components-material@0.1.107/build/lowcode/assets-prod.json"
104
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.108/build/lowcode/assets-prod.json"
105
105
  },
106
106
  "lcMeta": {
107
107
  "type": "component"
108
108
  },
109
- "homepage": "https://unpkg.com/ydb-components-material@0.1.107/build/index.html"
109
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.108/build/index.html"
110
110
  }