@kmkf-fe-packages/basic-components 0.21.4-alpha.5 → 0.21.4
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
CHANGED
|
@@ -9229,9 +9229,7 @@ var Payment = function Payment(props) {
|
|
|
9229
9229
|
shopList = props.shopList,
|
|
9230
9230
|
onChange = props.onChange,
|
|
9231
9231
|
onSearch = props.onSearch,
|
|
9232
|
-
_onBlur = props.onBlur
|
|
9233
|
-
_props$replaceValueCh = props.replaceValueCh,
|
|
9234
|
-
replaceValueCh = _props$replaceValueCh === void 0 ? {} : _props$replaceValueCh;
|
|
9232
|
+
_onBlur = props.onBlur;
|
|
9235
9233
|
useEffect(function () {
|
|
9236
9234
|
var platformList = ['TAOBAO', 'FXG'];
|
|
9237
9235
|
var showBuyerId = (shopList || []).some(function (item) {
|
|
@@ -9308,11 +9306,7 @@ var Payment = function Payment(props) {
|
|
|
9308
9306
|
onBlur: function onBlur(e) {
|
|
9309
9307
|
return _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e.target.value, item.name);
|
|
9310
9308
|
}
|
|
9311
|
-
})
|
|
9312
|
-
style: {
|
|
9313
|
-
color: '#e99d42'
|
|
9314
|
-
}
|
|
9315
|
-
}, replaceValueCh === null || replaceValueCh === void 0 ? void 0 : replaceValueCh[item.name]));
|
|
9309
|
+
}));
|
|
9316
9310
|
}));
|
|
9317
9311
|
};
|
|
9318
9312
|
|
package/dist/index.js
CHANGED
|
@@ -9240,9 +9240,7 @@ var Payment = function Payment(props) {
|
|
|
9240
9240
|
shopList = props.shopList,
|
|
9241
9241
|
onChange = props.onChange,
|
|
9242
9242
|
onSearch = props.onSearch,
|
|
9243
|
-
_onBlur = props.onBlur
|
|
9244
|
-
_props$replaceValueCh = props.replaceValueCh,
|
|
9245
|
-
replaceValueCh = _props$replaceValueCh === void 0 ? {} : _props$replaceValueCh;
|
|
9243
|
+
_onBlur = props.onBlur;
|
|
9246
9244
|
React.useEffect(function () {
|
|
9247
9245
|
var platformList = ['TAOBAO', 'FXG'];
|
|
9248
9246
|
var showBuyerId = (shopList || []).some(function (item) {
|
|
@@ -9319,11 +9317,7 @@ var Payment = function Payment(props) {
|
|
|
9319
9317
|
onBlur: function onBlur(e) {
|
|
9320
9318
|
return _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e.target.value, item.name);
|
|
9321
9319
|
}
|
|
9322
|
-
})
|
|
9323
|
-
style: {
|
|
9324
|
-
color: '#e99d42'
|
|
9325
|
-
}
|
|
9326
|
-
}, replaceValueCh === null || replaceValueCh === void 0 ? void 0 : replaceValueCh[item.name]));
|
|
9320
|
+
}));
|
|
9327
9321
|
}));
|
|
9328
9322
|
};
|
|
9329
9323
|
|
|
@@ -10,9 +10,6 @@ export interface PaymentProps {
|
|
|
10
10
|
onChange: (value: any) => void;
|
|
11
11
|
onSearch: (value: any) => void;
|
|
12
12
|
onBlur: (value: any, type: string) => void;
|
|
13
|
-
replaceValueCh?: {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
};
|
|
16
13
|
}
|
|
17
14
|
declare const Payment: (props: Partial<PaymentProps>) => React.JSX.Element;
|
|
18
15
|
export default Payment;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.21.4
|
|
3
|
+
"version": "0.21.4",
|
|
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.21.4
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.21.4",
|
|
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": "510c76d8426f214eb5653d9e75a59fa44e318939"
|
|
65
65
|
}
|