@kmkf-fe-packages/basic-components 1.22.1-beta.11 → 1.22.1-beta.12
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/dist/index.esm.js +6 -1
- package/dist/index.js +6 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -10963,6 +10963,11 @@ var jstGoods = function jstGoods(props) {
|
|
|
10963
10963
|
onChange === null || onChange === void 0 ? void 0 : onChange(typeInitValueMap[type]);
|
|
10964
10964
|
}
|
|
10965
10965
|
}, [value, type]);
|
|
10966
|
+
useEffect(function () {
|
|
10967
|
+
if (changeIndex > (value === null || value === void 0 ? void 0 : value.length) - 1) {
|
|
10968
|
+
setChangeIndex(0);
|
|
10969
|
+
}
|
|
10970
|
+
}, value);
|
|
10966
10971
|
var content = function content(item, index) {
|
|
10967
10972
|
return /*#__PURE__*/React.createElement("div", {
|
|
10968
10973
|
style: {
|
|
@@ -10973,7 +10978,7 @@ var jstGoods = function jstGoods(props) {
|
|
|
10973
10978
|
style: {
|
|
10974
10979
|
textAlign: 'center'
|
|
10975
10980
|
}
|
|
10976
|
-
}, "\u5305\u88F9".concat(index + 1, "\u5546\u54C1\u4FE1\u606F")), ((item === null || item === void 0 ? void 0 : item.items) || []).map(function (t, index) {
|
|
10981
|
+
}, "\u5305\u88F9".concat(index + 1, "\u5546\u54C1\u4FE1\u606F"), item.sid && /*#__PURE__*/React.createElement("span", null, "(\u7CFB\u7EDF\u5355\u53F7:", item.sid, ")")), ((item === null || item === void 0 ? void 0 : item.items) || []).map(function (t, index) {
|
|
10977
10982
|
return /*#__PURE__*/React.createElement("div", {
|
|
10978
10983
|
key: index
|
|
10979
10984
|
}, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Image, {
|
package/dist/index.js
CHANGED
|
@@ -10975,6 +10975,11 @@ var jstGoods = function jstGoods(props) {
|
|
|
10975
10975
|
onChange === null || onChange === void 0 ? void 0 : onChange(typeInitValueMap[type]);
|
|
10976
10976
|
}
|
|
10977
10977
|
}, [value, type]);
|
|
10978
|
+
React.useEffect(function () {
|
|
10979
|
+
if (changeIndex > (value === null || value === void 0 ? void 0 : value.length) - 1) {
|
|
10980
|
+
setChangeIndex(0);
|
|
10981
|
+
}
|
|
10982
|
+
}, value);
|
|
10978
10983
|
var content = function content(item, index) {
|
|
10979
10984
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
10980
10985
|
style: {
|
|
@@ -10985,7 +10990,7 @@ var jstGoods = function jstGoods(props) {
|
|
|
10985
10990
|
style: {
|
|
10986
10991
|
textAlign: 'center'
|
|
10987
10992
|
}
|
|
10988
|
-
}, "\u5305\u88F9".concat(index + 1, "\u5546\u54C1\u4FE1\u606F")), ((item === null || item === void 0 ? void 0 : item.items) || []).map(function (t, index) {
|
|
10993
|
+
}, "\u5305\u88F9".concat(index + 1, "\u5546\u54C1\u4FE1\u606F"), item.sid && /*#__PURE__*/React__default['default'].createElement("span", null, "(\u7CFB\u7EDF\u5355\u53F7:", item.sid, ")")), ((item === null || item === void 0 ? void 0 : item.items) || []).map(function (t, index) {
|
|
10989
10994
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
10990
10995
|
key: index
|
|
10991
10996
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Image, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "1.22.1-beta.
|
|
3
|
+
"version": "1.22.1-beta.12",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/kmkf-utils": "1.22.1-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "1.22.1-beta.12",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"bignumber.js": "^9.1.2",
|
|
26
26
|
"kmkf-monitor": "^0.8.9",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "43e0e8a2ead29fdebc77c8d879bb2f2092b01dbe"
|
|
69
69
|
}
|