@kmkf-fe-packages/basic-components 0.24.1-alpha.9 → 0.24.1
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 +11 -4
- package/dist/index.js +11 -4
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -8951,7 +8951,7 @@ var ChooseBaby = function ChooseBaby(props) {
|
|
|
8951
8951
|
}));
|
|
8952
8952
|
};
|
|
8953
8953
|
|
|
8954
|
-
var css_248z$6 = ".goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n.goodsBox.single-row .good-item.rich-item.with-pic,\n.goodsBox.single-row .good-item.rich-item.with-attr,\n.goodsBox.single-row .good-item.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n.goodsBox.single-row .good-item.rich-item .good-attrs {\n flex-grow: 1;\n flex-shrink: 1;\n}\n.goodsBox.single-row .good-item.rich-item .good-attrs .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n.goodsBox.single-row .good-item.rich-item .good-attrs .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n.good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n.good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n.good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n.good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n.good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n.good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n.good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n.good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n.good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n.good-item.rich-item .good-attrs div {\n display: flex;\n}\n.good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n";
|
|
8954
|
+
var css_248z$6 = "#goods-wrap.goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-pic,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs {\n flex-grow: 1;\n flex-shrink: 1;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n#goods-wrap .good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n#goods-wrap .good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n#goods-wrap .good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n#goods-wrap .good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n#goods-wrap .good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n#goods-wrap .good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n#goods-wrap .good-item.rich-item .good-attrs div {\n display: flex;\n}\n#goods-wrap .good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n";
|
|
8955
8955
|
styleInject(css_248z$6);
|
|
8956
8956
|
|
|
8957
8957
|
var GoodItem = function GoodItem(props) {
|
|
@@ -9194,6 +9194,7 @@ var GoodItem = function GoodItem(props) {
|
|
|
9194
9194
|
className: "goods-uploaded-count"
|
|
9195
9195
|
}, imgList.length), "/", maxLength, "\u4E2A\u5B9D\u8D1D"), /*#__PURE__*/React.createElement("div", {
|
|
9196
9196
|
ref: boxRef,
|
|
9197
|
+
id: "goods-wrap",
|
|
9197
9198
|
className: "goodsBox goodsBox-item-horizontal--box".concat(isSingleRow ? ' single-row' : '')
|
|
9198
9199
|
}, imgList === null || imgList === void 0 ? void 0 : imgList.map(function (img, index) {
|
|
9199
9200
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -10949,8 +10950,8 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
10949
10950
|
}];
|
|
10950
10951
|
return selectList.length ? /*#__PURE__*/React.createElement("div", {
|
|
10951
10952
|
style: {
|
|
10952
|
-
width: '
|
|
10953
|
-
maxWidth: '
|
|
10953
|
+
width: '100%',
|
|
10954
|
+
maxWidth: '387px'
|
|
10954
10955
|
}
|
|
10955
10956
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
10956
10957
|
columns: showColumns,
|
|
@@ -10978,7 +10979,10 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
10978
10979
|
_onCancel();
|
|
10979
10980
|
},
|
|
10980
10981
|
onOk: onOk,
|
|
10981
|
-
wrapClassName: "goodModal"
|
|
10982
|
+
wrapClassName: "goodModal",
|
|
10983
|
+
style: {
|
|
10984
|
+
top: 20
|
|
10985
|
+
}
|
|
10982
10986
|
}, /*#__PURE__*/React.createElement(Form, {
|
|
10983
10987
|
layout: "inline",
|
|
10984
10988
|
form: form,
|
|
@@ -11054,6 +11058,9 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
11054
11058
|
onChange: pageChange
|
|
11055
11059
|
}
|
|
11056
11060
|
}), /*#__PURE__*/React.createElement(Popover, {
|
|
11061
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
11062
|
+
return triggerNode.parentElement;
|
|
11063
|
+
},
|
|
11057
11064
|
content: showTable(),
|
|
11058
11065
|
title: "\u5DF2\u9009\u62E9".concat(selectIds.length, "\u4E2A\u5546\u54C1")
|
|
11059
11066
|
}, /*#__PURE__*/React.createElement(Button, {
|
package/dist/index.js
CHANGED
|
@@ -8962,7 +8962,7 @@ var ChooseBaby = function ChooseBaby(props) {
|
|
|
8962
8962
|
}));
|
|
8963
8963
|
};
|
|
8964
8964
|
|
|
8965
|
-
var css_248z$6 = ".goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n.goodsBox.single-row .good-item.rich-item.with-pic,\n.goodsBox.single-row .good-item.rich-item.with-attr,\n.goodsBox.single-row .good-item.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n.goodsBox.single-row .good-item.rich-item .good-attrs {\n flex-grow: 1;\n flex-shrink: 1;\n}\n.goodsBox.single-row .good-item.rich-item .good-attrs .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n.goodsBox.single-row .good-item.rich-item .good-attrs .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n.good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n.good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n.good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n.good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n.good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n.good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n.good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n.good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n.good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n.good-item.rich-item .good-attrs div {\n display: flex;\n}\n.good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n";
|
|
8965
|
+
var css_248z$6 = "#goods-wrap.goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-pic,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs {\n flex-grow: 1;\n flex-shrink: 1;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n#goods-wrap .good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n#goods-wrap .good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n#goods-wrap .good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n#goods-wrap .good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n#goods-wrap .good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n#goods-wrap .good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n#goods-wrap .good-item.rich-item .good-attrs div {\n display: flex;\n}\n#goods-wrap .good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n";
|
|
8966
8966
|
styleInject(css_248z$6);
|
|
8967
8967
|
|
|
8968
8968
|
var GoodItem = function GoodItem(props) {
|
|
@@ -9205,6 +9205,7 @@ var GoodItem = function GoodItem(props) {
|
|
|
9205
9205
|
className: "goods-uploaded-count"
|
|
9206
9206
|
}, imgList.length), "/", maxLength, "\u4E2A\u5B9D\u8D1D"), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
9207
9207
|
ref: boxRef,
|
|
9208
|
+
id: "goods-wrap",
|
|
9208
9209
|
className: "goodsBox goodsBox-item-horizontal--box".concat(isSingleRow ? ' single-row' : '')
|
|
9209
9210
|
}, imgList === null || imgList === void 0 ? void 0 : imgList.map(function (img, index) {
|
|
9210
9211
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
@@ -10960,8 +10961,8 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
10960
10961
|
}];
|
|
10961
10962
|
return selectList.length ? /*#__PURE__*/React__default['default'].createElement("div", {
|
|
10962
10963
|
style: {
|
|
10963
|
-
width: '
|
|
10964
|
-
maxWidth: '
|
|
10964
|
+
width: '100%',
|
|
10965
|
+
maxWidth: '387px'
|
|
10965
10966
|
}
|
|
10966
10967
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Table, {
|
|
10967
10968
|
columns: showColumns,
|
|
@@ -10989,7 +10990,10 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
10989
10990
|
_onCancel();
|
|
10990
10991
|
},
|
|
10991
10992
|
onOk: onOk,
|
|
10992
|
-
wrapClassName: "goodModal"
|
|
10993
|
+
wrapClassName: "goodModal",
|
|
10994
|
+
style: {
|
|
10995
|
+
top: 20
|
|
10996
|
+
}
|
|
10993
10997
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Form, {
|
|
10994
10998
|
layout: "inline",
|
|
10995
10999
|
form: form,
|
|
@@ -11065,6 +11069,9 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
11065
11069
|
onChange: pageChange
|
|
11066
11070
|
}
|
|
11067
11071
|
}), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
|
|
11072
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
11073
|
+
return triggerNode.parentElement;
|
|
11074
|
+
},
|
|
11068
11075
|
content: showTable(),
|
|
11069
11076
|
title: "\u5DF2\u9009\u62E9".concat(selectIds.length, "\u4E2A\u5546\u54C1")
|
|
11070
11077
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.24.1
|
|
3
|
+
"version": "0.24.1",
|
|
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": "^0.24.1
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.24.1",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"kmkf-monitor": "^0.8.8",
|
|
26
26
|
"lodash": "^4.17.21",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "1574e8b0d511d79bf4a92f7d614a226b67fc8640"
|
|
68
68
|
}
|