@kmkf-fe-packages/basic-components 1.0.10-rc.6 → 1.1.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/README.md +1 -1
- package/dist/index.esm.js +8 -14
- package/dist/index.js +8 -14
- package/package.json +4 -4
package/README.md
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -12919,11 +12919,9 @@ var index$1 = (function (props) {
|
|
|
12919
12919
|
_onChange = props.onChange,
|
|
12920
12920
|
disabled = props.disabled,
|
|
12921
12921
|
type = props.type;
|
|
12922
|
-
var onceRef = useRef(false);
|
|
12923
12922
|
useEffect(function () {
|
|
12924
12923
|
var _value$orders, _value$showOrderInfo;
|
|
12925
|
-
if (!(value === null || value === void 0 ? void 0 : (_value$orders = value.orders) === null || _value$orders === void 0 ? void 0 : _value$orders.length) && (value === null || value === void 0 ? void 0 : value.orderNo) && (value === null || value === void 0 ? void 0 : (_value$showOrderInfo = value.showOrderInfo) === null || _value$showOrderInfo === void 0 ? void 0 : _value$showOrderInfo.length)
|
|
12926
|
-
onceRef.current = true;
|
|
12924
|
+
if (!(value === null || value === void 0 ? void 0 : (_value$orders = value.orders) === null || _value$orders === void 0 ? void 0 : _value$orders.length) && (value === null || value === void 0 ? void 0 : value.orderNo) && (value === null || value === void 0 ? void 0 : (_value$showOrderInfo = value.showOrderInfo) === null || _value$showOrderInfo === void 0 ? void 0 : _value$showOrderInfo.length)) {
|
|
12927
12925
|
if (type === 'BS_SYSTEM_ORDER') {
|
|
12928
12926
|
getOrderList(value.orderNo);
|
|
12929
12927
|
} else if (type === 'WLN_SYSTEM_ORDER') {
|
|
@@ -12932,7 +12930,7 @@ var index$1 = (function (props) {
|
|
|
12932
12930
|
getWdtOrderList(value.orderNo);
|
|
12933
12931
|
}
|
|
12934
12932
|
}
|
|
12935
|
-
}, [value, type]);
|
|
12933
|
+
}, [value === null || value === void 0 ? void 0 : value.orderNo, type]);
|
|
12936
12934
|
var columns = useMemo(function () {
|
|
12937
12935
|
var _columnsNameMap$type, _columnsNameMap$type2;
|
|
12938
12936
|
return [{
|
|
@@ -12975,8 +12973,7 @@ var index$1 = (function (props) {
|
|
|
12975
12973
|
})
|
|
12976
12974
|
}));
|
|
12977
12975
|
}
|
|
12978
|
-
|
|
12979
|
-
case 7:
|
|
12976
|
+
case 6:
|
|
12980
12977
|
case "end":
|
|
12981
12978
|
return _context.stop();
|
|
12982
12979
|
}
|
|
@@ -13021,8 +13018,7 @@ var index$1 = (function (props) {
|
|
|
13021
13018
|
})
|
|
13022
13019
|
}));
|
|
13023
13020
|
}
|
|
13024
|
-
|
|
13025
|
-
case 7:
|
|
13021
|
+
case 6:
|
|
13026
13022
|
case "end":
|
|
13027
13023
|
return _context2.stop();
|
|
13028
13024
|
}
|
|
@@ -13077,8 +13073,7 @@ var index$1 = (function (props) {
|
|
|
13077
13073
|
})
|
|
13078
13074
|
}));
|
|
13079
13075
|
}
|
|
13080
|
-
|
|
13081
|
-
case 7:
|
|
13076
|
+
case 6:
|
|
13082
13077
|
case "end":
|
|
13083
13078
|
return _context3.stop();
|
|
13084
13079
|
}
|
|
@@ -13745,7 +13740,9 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
13745
13740
|
var _typeMap$type25;
|
|
13746
13741
|
return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.wdtSystemOrderNo]);
|
|
13747
13742
|
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.wdtSystemOrderNo]]);
|
|
13748
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row,
|
|
13743
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
|
|
13744
|
+
gutter: 8
|
|
13745
|
+
}, /*#__PURE__*/React.createElement(Col, {
|
|
13749
13746
|
className: "gutter-row",
|
|
13750
13747
|
xs: {
|
|
13751
13748
|
span: 11
|
|
@@ -13777,9 +13774,6 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
13777
13774
|
},
|
|
13778
13775
|
md: {
|
|
13779
13776
|
span: 6
|
|
13780
|
-
},
|
|
13781
|
-
style: {
|
|
13782
|
-
marginLeft: '8px'
|
|
13783
13777
|
}
|
|
13784
13778
|
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
13785
13779
|
style: {
|
package/dist/index.js
CHANGED
|
@@ -12931,11 +12931,9 @@ var index$1 = (function (props) {
|
|
|
12931
12931
|
_onChange = props.onChange,
|
|
12932
12932
|
disabled = props.disabled,
|
|
12933
12933
|
type = props.type;
|
|
12934
|
-
var onceRef = React.useRef(false);
|
|
12935
12934
|
React.useEffect(function () {
|
|
12936
12935
|
var _value$orders, _value$showOrderInfo;
|
|
12937
|
-
if (!(value === null || value === void 0 ? void 0 : (_value$orders = value.orders) === null || _value$orders === void 0 ? void 0 : _value$orders.length) && (value === null || value === void 0 ? void 0 : value.orderNo) && (value === null || value === void 0 ? void 0 : (_value$showOrderInfo = value.showOrderInfo) === null || _value$showOrderInfo === void 0 ? void 0 : _value$showOrderInfo.length)
|
|
12938
|
-
onceRef.current = true;
|
|
12936
|
+
if (!(value === null || value === void 0 ? void 0 : (_value$orders = value.orders) === null || _value$orders === void 0 ? void 0 : _value$orders.length) && (value === null || value === void 0 ? void 0 : value.orderNo) && (value === null || value === void 0 ? void 0 : (_value$showOrderInfo = value.showOrderInfo) === null || _value$showOrderInfo === void 0 ? void 0 : _value$showOrderInfo.length)) {
|
|
12939
12937
|
if (type === 'BS_SYSTEM_ORDER') {
|
|
12940
12938
|
getOrderList(value.orderNo);
|
|
12941
12939
|
} else if (type === 'WLN_SYSTEM_ORDER') {
|
|
@@ -12944,7 +12942,7 @@ var index$1 = (function (props) {
|
|
|
12944
12942
|
getWdtOrderList(value.orderNo);
|
|
12945
12943
|
}
|
|
12946
12944
|
}
|
|
12947
|
-
}, [value, type]);
|
|
12945
|
+
}, [value === null || value === void 0 ? void 0 : value.orderNo, type]);
|
|
12948
12946
|
var columns = React.useMemo(function () {
|
|
12949
12947
|
var _columnsNameMap$type, _columnsNameMap$type2;
|
|
12950
12948
|
return [{
|
|
@@ -12987,8 +12985,7 @@ var index$1 = (function (props) {
|
|
|
12987
12985
|
})
|
|
12988
12986
|
}));
|
|
12989
12987
|
}
|
|
12990
|
-
|
|
12991
|
-
case 7:
|
|
12988
|
+
case 6:
|
|
12992
12989
|
case "end":
|
|
12993
12990
|
return _context.stop();
|
|
12994
12991
|
}
|
|
@@ -13033,8 +13030,7 @@ var index$1 = (function (props) {
|
|
|
13033
13030
|
})
|
|
13034
13031
|
}));
|
|
13035
13032
|
}
|
|
13036
|
-
|
|
13037
|
-
case 7:
|
|
13033
|
+
case 6:
|
|
13038
13034
|
case "end":
|
|
13039
13035
|
return _context2.stop();
|
|
13040
13036
|
}
|
|
@@ -13089,8 +13085,7 @@ var index$1 = (function (props) {
|
|
|
13089
13085
|
})
|
|
13090
13086
|
}));
|
|
13091
13087
|
}
|
|
13092
|
-
|
|
13093
|
-
case 7:
|
|
13088
|
+
case 6:
|
|
13094
13089
|
case "end":
|
|
13095
13090
|
return _context3.stop();
|
|
13096
13091
|
}
|
|
@@ -13757,7 +13752,9 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
13757
13752
|
var _typeMap$type25;
|
|
13758
13753
|
return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.wdtSystemOrderNo]);
|
|
13759
13754
|
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.wdtSystemOrderNo]]);
|
|
13760
|
-
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Row,
|
|
13755
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Row, {
|
|
13756
|
+
gutter: 8
|
|
13757
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
13761
13758
|
className: "gutter-row",
|
|
13762
13759
|
xs: {
|
|
13763
13760
|
span: 11
|
|
@@ -13789,9 +13786,6 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
13789
13786
|
},
|
|
13790
13787
|
md: {
|
|
13791
13788
|
span: 6
|
|
13792
|
-
},
|
|
13793
|
-
style: {
|
|
13794
|
-
marginLeft: '8px'
|
|
13795
13789
|
}
|
|
13796
13790
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
|
|
13797
13791
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
|
-
"
|
|
14
|
+
"async": "yarn build && yalc push",
|
|
15
15
|
"build": "yarn lint && father-build",
|
|
16
16
|
"lint": "eslint '**/*.{ts,tsx}'",
|
|
17
17
|
"lint:fix": "eslint --fix '**/*.{ts,tsx}'",
|
|
@@ -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.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^1.1.1",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"bignumber.js": "^9.1.2",
|
|
26
26
|
"kmkf-monitor": "^0.8.8",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "6b83a90a6799241bb31250f7e1e974a7f3597672"
|
|
69
69
|
}
|