@kmkf-fe-packages/basic-components 0.7.15-alpha.73 → 0.7.15-alpha.74

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
@@ -10202,6 +10202,7 @@ var BsGoods = function BsGoods(props) {
10202
10202
  if (disabled) return;
10203
10203
  var newList = cloneDeep(list);
10204
10204
  var type = ((_withInfo$current = withInfo.current) === null || _withInfo$current === void 0 ? void 0 : _withInfo$current.type) === 'reissueType' ? 'reissueSelectList' : 'selectList';
10205
+ console.log('onSelect', type, withInfo.current);
10205
10206
  pubsub.publish(type, {
10206
10207
  type: (_withInfo$current2 = withInfo.current) === null || _withInfo$current2 === void 0 ? void 0 : _withInfo$current2.val,
10207
10208
  list: newList.map(function (item) {
@@ -10275,6 +10276,7 @@ var BsExchange = function BsExchange(props) {
10275
10276
  }, [value]);
10276
10277
  useEffect(function () {
10277
10278
  pubsub.subscribe('selectList', function (_, data) {
10279
+ // console.log('selectList', data, valueRef.current);
10278
10280
  if (disabled) return;
10279
10281
  if (valueRef.current) {
10280
10282
  var newDataList = cloneDeep((data === null || data === void 0 ? void 0 : data.list) || []);
package/dist/index.js CHANGED
@@ -10213,6 +10213,7 @@ var BsGoods = function BsGoods(props) {
10213
10213
  if (disabled) return;
10214
10214
  var newList = lodash.cloneDeep(list);
10215
10215
  var type = ((_withInfo$current = withInfo.current) === null || _withInfo$current === void 0 ? void 0 : _withInfo$current.type) === 'reissueType' ? 'reissueSelectList' : 'selectList';
10216
+ console.log('onSelect', type, withInfo.current);
10216
10217
  pubsub__default['default'].publish(type, {
10217
10218
  type: (_withInfo$current2 = withInfo.current) === null || _withInfo$current2 === void 0 ? void 0 : _withInfo$current2.val,
10218
10219
  list: newList.map(function (item) {
@@ -10286,6 +10287,7 @@ var BsExchange = function BsExchange(props) {
10286
10287
  }, [value]);
10287
10288
  React.useEffect(function () {
10288
10289
  pubsub__default['default'].subscribe('selectList', function (_, data) {
10290
+ // console.log('selectList', data, valueRef.current);
10289
10291
  if (disabled) return;
10290
10292
  if (valueRef.current) {
10291
10293
  var newDataList = lodash.cloneDeep((data === null || data === void 0 ? void 0 : data.list) || []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.7.15-alpha.73",
3
+ "version": "0.7.15-alpha.74",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "a212416de89353bc5f4a45a00bb6670cc10e5feb"
61
+ "gitHead": "aa4a53b173174e0d3b5c0fc90abfc54def9a4642"
62
62
  }