@kmkf-fe-packages/basic-components 0.13.0-alpha.20 → 0.13.0-alpha.21
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 +12 -8
- package/dist/index.js +12 -8
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -11772,7 +11772,7 @@ function CommonStatus(props) {
|
|
|
11772
11772
|
reason: failValue === val ? '' : value === null || value === void 0 ? void 0 : value.reason
|
|
11773
11773
|
});
|
|
11774
11774
|
};
|
|
11775
|
-
return /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({
|
|
11775
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({
|
|
11776
11776
|
showSearch: true,
|
|
11777
11777
|
value: value === null || value === void 0 ? void 0 : value.status,
|
|
11778
11778
|
filterOption: function filterOption(input, option) {
|
|
@@ -11780,7 +11780,9 @@ function CommonStatus(props) {
|
|
|
11780
11780
|
}
|
|
11781
11781
|
}, other), {}, {
|
|
11782
11782
|
onChange: changeHandle
|
|
11783
|
-
}))
|
|
11783
|
+
})), (value === null || value === void 0 ? void 0 : value.reason) ? /*#__PURE__*/React.createElement("div", {
|
|
11784
|
+
className: "c-red"
|
|
11785
|
+
}, "\u5931\u8D25\u539F\u56E0\uFF1A", value === null || value === void 0 ? void 0 : value.reason) : null);
|
|
11784
11786
|
}
|
|
11785
11787
|
|
|
11786
11788
|
var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
@@ -11806,7 +11808,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
11806
11808
|
maxHeight: '300px',
|
|
11807
11809
|
overflowY: 'auto'
|
|
11808
11810
|
}
|
|
11809
|
-
},
|
|
11811
|
+
}, [1, 2, 3, 4].includes(type) ? /*#__PURE__*/React.createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7", index + 1, "\uFF1A", item.systemOrderId) : null);
|
|
11810
11812
|
};
|
|
11811
11813
|
var changeInputHandle = function changeInputHandle(val, type) {
|
|
11812
11814
|
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
@@ -11855,20 +11857,20 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
11855
11857
|
onChange: function onChange(e) {
|
|
11856
11858
|
return changeInputHandle(e.target.value, 'reissueTradeId');
|
|
11857
11859
|
},
|
|
11858
|
-
value: (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.
|
|
11860
|
+
value: (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.billNo
|
|
11859
11861
|
})) : null, type === 4 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Input, {
|
|
11860
11862
|
disabled: true,
|
|
11861
11863
|
placeholder: "\u8BF7\u8F93\u5165\u6362\u8D27\u5355id",
|
|
11862
11864
|
onChange: function onChange(e) {
|
|
11863
11865
|
return changeInputHandle(e.target.value, 'exchangeTradeId');
|
|
11864
11866
|
},
|
|
11865
|
-
value: (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4.
|
|
11867
|
+
value: (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4.billNo
|
|
11866
11868
|
})) : null) : null);
|
|
11867
11869
|
};
|
|
11868
11870
|
|
|
11869
11871
|
var _excluded$h = ["value", "onChange", "disabled", "failValue", "type"];
|
|
11870
11872
|
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
11871
|
-
var _value$changeIndex;
|
|
11873
|
+
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
11872
11874
|
var _props$value = props.value,
|
|
11873
11875
|
value = _props$value === void 0 ? [] : _props$value,
|
|
11874
11876
|
onChange = props.onChange,
|
|
@@ -11892,7 +11894,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
11892
11894
|
maxHeight: '300px',
|
|
11893
11895
|
overflowY: 'auto'
|
|
11894
11896
|
}
|
|
11895
|
-
}, type
|
|
11897
|
+
}, [1, 2].includes(type) ? /*#__PURE__*/React.createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7", index + 1, "\uFF1A", item.systemOrderId) : null);
|
|
11896
11898
|
};
|
|
11897
11899
|
var changeHandle = function changeHandle(val, valType) {
|
|
11898
11900
|
console.log(val, valType);
|
|
@@ -11938,7 +11940,9 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
11938
11940
|
onChange: function onChange(val) {
|
|
11939
11941
|
return changeHandle(val, 'status');
|
|
11940
11942
|
}
|
|
11941
|
-
})))) :
|
|
11943
|
+
}))), ((_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2.reason) ? /*#__PURE__*/React.createElement("div", {
|
|
11944
|
+
className: "c-red"
|
|
11945
|
+
}, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null) : null);
|
|
11942
11946
|
};
|
|
11943
11947
|
|
|
11944
11948
|
var CalculationInput = function CalculationInput(props) {
|
package/dist/index.js
CHANGED
|
@@ -11783,7 +11783,7 @@ function CommonStatus(props) {
|
|
|
11783
11783
|
reason: failValue === val ? '' : value === null || value === void 0 ? void 0 : value.reason
|
|
11784
11784
|
});
|
|
11785
11785
|
};
|
|
11786
|
-
return /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
|
|
11786
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
|
|
11787
11787
|
showSearch: true,
|
|
11788
11788
|
value: value === null || value === void 0 ? void 0 : value.status,
|
|
11789
11789
|
filterOption: function filterOption(input, option) {
|
|
@@ -11791,7 +11791,9 @@ function CommonStatus(props) {
|
|
|
11791
11791
|
}
|
|
11792
11792
|
}, other), {}, {
|
|
11793
11793
|
onChange: changeHandle
|
|
11794
|
-
}))
|
|
11794
|
+
})), (value === null || value === void 0 ? void 0 : value.reason) ? /*#__PURE__*/React__default['default'].createElement("div", {
|
|
11795
|
+
className: "c-red"
|
|
11796
|
+
}, "\u5931\u8D25\u539F\u56E0\uFF1A", value === null || value === void 0 ? void 0 : value.reason) : null);
|
|
11795
11797
|
}
|
|
11796
11798
|
|
|
11797
11799
|
var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
@@ -11817,7 +11819,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
11817
11819
|
maxHeight: '300px',
|
|
11818
11820
|
overflowY: 'auto'
|
|
11819
11821
|
}
|
|
11820
|
-
},
|
|
11822
|
+
}, [1, 2, 3, 4].includes(type) ? /*#__PURE__*/React__default['default'].createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7", index + 1, "\uFF1A", item.systemOrderId) : null);
|
|
11821
11823
|
};
|
|
11822
11824
|
var changeInputHandle = function changeInputHandle(val, type) {
|
|
11823
11825
|
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
@@ -11866,20 +11868,20 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
11866
11868
|
onChange: function onChange(e) {
|
|
11867
11869
|
return changeInputHandle(e.target.value, 'reissueTradeId');
|
|
11868
11870
|
},
|
|
11869
|
-
value: (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.
|
|
11871
|
+
value: (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.billNo
|
|
11870
11872
|
})) : null, type === 4 ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
11871
11873
|
disabled: true,
|
|
11872
11874
|
placeholder: "\u8BF7\u8F93\u5165\u6362\u8D27\u5355id",
|
|
11873
11875
|
onChange: function onChange(e) {
|
|
11874
11876
|
return changeInputHandle(e.target.value, 'exchangeTradeId');
|
|
11875
11877
|
},
|
|
11876
|
-
value: (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4.
|
|
11878
|
+
value: (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4.billNo
|
|
11877
11879
|
})) : null) : null);
|
|
11878
11880
|
};
|
|
11879
11881
|
|
|
11880
11882
|
var _excluded$h = ["value", "onChange", "disabled", "failValue", "type"];
|
|
11881
11883
|
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
11882
|
-
var _value$changeIndex;
|
|
11884
|
+
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
11883
11885
|
var _props$value = props.value,
|
|
11884
11886
|
value = _props$value === void 0 ? [] : _props$value,
|
|
11885
11887
|
onChange = props.onChange,
|
|
@@ -11903,7 +11905,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
11903
11905
|
maxHeight: '300px',
|
|
11904
11906
|
overflowY: 'auto'
|
|
11905
11907
|
}
|
|
11906
|
-
}, type
|
|
11908
|
+
}, [1, 2].includes(type) ? /*#__PURE__*/React__default['default'].createElement("span", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7", index + 1, "\uFF1A", item.systemOrderId) : null);
|
|
11907
11909
|
};
|
|
11908
11910
|
var changeHandle = function changeHandle(val, valType) {
|
|
11909
11911
|
console.log(val, valType);
|
|
@@ -11949,7 +11951,9 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
11949
11951
|
onChange: function onChange(val) {
|
|
11950
11952
|
return changeHandle(val, 'status');
|
|
11951
11953
|
}
|
|
11952
|
-
})))) :
|
|
11954
|
+
}))), ((_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2.reason) ? /*#__PURE__*/React__default['default'].createElement("div", {
|
|
11955
|
+
className: "c-red"
|
|
11956
|
+
}, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null) : null);
|
|
11953
11957
|
};
|
|
11954
11958
|
|
|
11955
11959
|
var CalculationInput = function CalculationInput(props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.13.0-alpha.
|
|
3
|
+
"version": "0.13.0-alpha.21",
|
|
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.13.0-alpha.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.13.0-alpha.21",
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
25
|
"pubsub-js": "^1.9.4",
|
|
26
26
|
"react-copy-to-clipboard": "^5.1.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "fbeb98f026a1e5e5afbfd113179bbe85271213d6"
|
|
65
65
|
}
|