@kmkf-fe-packages/basic-components 0.21.3 → 0.21.4-alpha.3

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 CHANGED
@@ -17,5 +17,4 @@ yarn start
17
17
  - business 快麦工单业务组件
18
18
  - common 公共组件
19
19
  - config 公共方法
20
- - assets 静态资源
21
- -
20
+ - assets 静态资源
package/dist/index.esm.js CHANGED
@@ -9229,7 +9229,9 @@ var Payment = function Payment(props) {
9229
9229
  shopList = props.shopList,
9230
9230
  onChange = props.onChange,
9231
9231
  onSearch = props.onSearch,
9232
- _onBlur = props.onBlur;
9232
+ _onBlur = props.onBlur,
9233
+ _props$replaceValueCh = props.replaceValueCh,
9234
+ replaceValueCh = _props$replaceValueCh === void 0 ? {} : _props$replaceValueCh;
9233
9235
  useEffect(function () {
9234
9236
  var platformList = ['TAOBAO', 'FXG'];
9235
9237
  var showBuyerId = (shopList || []).some(function (item) {
@@ -9306,7 +9308,11 @@ var Payment = function Payment(props) {
9306
9308
  onBlur: function onBlur(e) {
9307
9309
  return _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e.target.value, item.name);
9308
9310
  }
9309
- }));
9311
+ }), (replaceValueCh === null || replaceValueCh === void 0 ? void 0 : replaceValueCh[item.name]) && /*#__PURE__*/React.createElement("p", {
9312
+ style: {
9313
+ color: '#e99d42'
9314
+ }
9315
+ }, replaceValueCh === null || replaceValueCh === void 0 ? void 0 : replaceValueCh[item.name]));
9310
9316
  }));
9311
9317
  };
9312
9318
 
package/dist/index.js CHANGED
@@ -9240,7 +9240,9 @@ var Payment = function Payment(props) {
9240
9240
  shopList = props.shopList,
9241
9241
  onChange = props.onChange,
9242
9242
  onSearch = props.onSearch,
9243
- _onBlur = props.onBlur;
9243
+ _onBlur = props.onBlur,
9244
+ _props$replaceValueCh = props.replaceValueCh,
9245
+ replaceValueCh = _props$replaceValueCh === void 0 ? {} : _props$replaceValueCh;
9244
9246
  React.useEffect(function () {
9245
9247
  var platformList = ['TAOBAO', 'FXG'];
9246
9248
  var showBuyerId = (shopList || []).some(function (item) {
@@ -9317,7 +9319,11 @@ var Payment = function Payment(props) {
9317
9319
  onBlur: function onBlur(e) {
9318
9320
  return _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e.target.value, item.name);
9319
9321
  }
9320
- }));
9322
+ }), (replaceValueCh === null || replaceValueCh === void 0 ? void 0 : replaceValueCh[item.name]) && /*#__PURE__*/React__default['default'].createElement("p", {
9323
+ style: {
9324
+ color: '#e99d42'
9325
+ }
9326
+ }, replaceValueCh === null || replaceValueCh === void 0 ? void 0 : replaceValueCh[item.name]));
9321
9327
  }));
9322
9328
  };
9323
9329
 
@@ -10,6 +10,9 @@ 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
+ };
13
16
  }
14
17
  declare const Payment: (props: Partial<PaymentProps>) => React.JSX.Element;
15
18
  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.3",
3
+ "version": "0.21.4-alpha.3",
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.3",
23
+ "@kmkf-fe-packages/kmkf-utils": "^0.21.4-alpha.3",
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": "41b66f12bbbeb30d30fa6f8b523f66d173970c12"
64
+ "gitHead": "243e0dd8e70534ca496d8cd4711f3d2c5e0d094a"
65
65
  }