@kmkf-fe-packages/basic-components 0.11.0-alpha.6 → 0.11.0-alpha.7

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
@@ -11322,13 +11322,21 @@ var WlnGoods = function WlnGoods(props) {
11322
11322
  var value = props.value,
11323
11323
  disabled = props.disabled,
11324
11324
  onChange = props.onChange;
11325
+ var changeHandle = function changeHandle(list) {
11326
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, {
11327
+ bsGoods: list
11328
+ }));
11329
+ };
11325
11330
  return /*#__PURE__*/React.createElement(GoodItem, _objectSpread2(_objectSpread2({
11326
11331
  key: 'wlnGoods'
11327
11332
  }, props), {}, {
11328
11333
  disabled: disabled,
11329
- value: value,
11334
+ shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
11335
+ value: value === null || value === void 0 ? void 0 : value.wlnGoods,
11330
11336
  showChangeBtn: false,
11331
- onChange: onChange
11337
+ onChange: function onChange(val) {
11338
+ return changeHandle(val);
11339
+ }
11332
11340
  }));
11333
11341
  };
11334
11342
 
package/dist/index.js CHANGED
@@ -11333,13 +11333,21 @@ var WlnGoods = function WlnGoods(props) {
11333
11333
  var value = props.value,
11334
11334
  disabled = props.disabled,
11335
11335
  onChange = props.onChange;
11336
+ var changeHandle = function changeHandle(list) {
11337
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, {
11338
+ bsGoods: list
11339
+ }));
11340
+ };
11336
11341
  return /*#__PURE__*/React__default['default'].createElement(GoodItem, _objectSpread2(_objectSpread2({
11337
11342
  key: 'wlnGoods'
11338
11343
  }, props), {}, {
11339
11344
  disabled: disabled,
11340
- value: value,
11345
+ shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
11346
+ value: value === null || value === void 0 ? void 0 : value.wlnGoods,
11341
11347
  showChangeBtn: false,
11342
- onChange: onChange
11348
+ onChange: function onChange(val) {
11349
+ return changeHandle(val);
11350
+ }
11343
11351
  }));
11344
11352
  };
11345
11353
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.11.0-alpha.6",
3
+ "version": "0.11.0-alpha.7",
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.11.0-alpha.6",
23
+ "@kmkf-fe-packages/kmkf-utils": "^0.11.0-alpha.7",
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": "0adcbcc7315425a79695d2d2af0ca3d884c9776e"
64
+ "gitHead": "3626759bc859606abaf861180734e1e79b4058c9"
65
65
  }