@kmkf-fe-packages/basic-components 0.23.1-beta.5 → 0.23.1-beta.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
@@ -11118,7 +11118,7 @@ var GoodItem = function GoodItem(props) {
11118
11118
  companyKey = _props$companyKey === void 0 ? '' : _props$companyKey,
11119
11119
  onSelect = props.onSelect,
11120
11120
  onDelete = props.onDelete;
11121
- console.log('gooditem', type);
11121
+ console.log('gooditem', type, props);
11122
11122
  var refModal = useRef();
11123
11123
  var handleDelete = function handleDelete(record, index) {
11124
11124
  onDelete === null || onDelete === void 0 ? void 0 : onDelete(value[index]);
@@ -12406,11 +12406,12 @@ var CommonGoods = function CommonGoods(props) {
12406
12406
  var _withInfo$current, _withInfo$current2, _valueRef$current7;
12407
12407
  if (disabled) return;
12408
12408
  var newList = cloneDeep(list);
12409
- var typeMap = {
12410
- type: componentMap$1[compType].eventNameMap.selectList,
12411
- reissueType: componentMap$1[compType].eventNameMap.reissueSelectList,
12412
- returnType: componentMap$1[compType].eventNameMap.returnSelectList
12413
- };
12409
+ var typeMap = _defineProperty({
12410
+ // type: componentMap[compType].eventNameMap.selectList,
12411
+ // returnType: componentMap[compType].eventNameMap.returnSelectList,
12412
+ // reissueType: componentMap[compType].eventNameMap.reissueSelectList,
12413
+ type: componentMap$1[compType].eventNameMap.selectList
12414
+ }, "".concat(componentMap$1[compType].type, "ReissueType"), componentMap$1[compType].eventNameMap.reissueSelectList);
12414
12415
  var type = typeMap[(_withInfo$current = withInfo.current) === null || _withInfo$current === void 0 ? void 0 : _withInfo$current.type];
12415
12416
  // console.log('onSelect', type, withInfo.current, newList);
12416
12417
  pubsub.publish(type, {
package/dist/index.js CHANGED
@@ -11129,7 +11129,7 @@ var GoodItem = function GoodItem(props) {
11129
11129
  companyKey = _props$companyKey === void 0 ? '' : _props$companyKey,
11130
11130
  onSelect = props.onSelect,
11131
11131
  onDelete = props.onDelete;
11132
- console.log('gooditem', type);
11132
+ console.log('gooditem', type, props);
11133
11133
  var refModal = React.useRef();
11134
11134
  var handleDelete = function handleDelete(record, index) {
11135
11135
  onDelete === null || onDelete === void 0 ? void 0 : onDelete(value[index]);
@@ -12417,11 +12417,12 @@ var CommonGoods = function CommonGoods(props) {
12417
12417
  var _withInfo$current, _withInfo$current2, _valueRef$current7;
12418
12418
  if (disabled) return;
12419
12419
  var newList = lodash.cloneDeep(list);
12420
- var typeMap = {
12421
- type: componentMap$1[compType].eventNameMap.selectList,
12422
- reissueType: componentMap$1[compType].eventNameMap.reissueSelectList,
12423
- returnType: componentMap$1[compType].eventNameMap.returnSelectList
12424
- };
12420
+ var typeMap = _defineProperty({
12421
+ // type: componentMap[compType].eventNameMap.selectList,
12422
+ // returnType: componentMap[compType].eventNameMap.returnSelectList,
12423
+ // reissueType: componentMap[compType].eventNameMap.reissueSelectList,
12424
+ type: componentMap$1[compType].eventNameMap.selectList
12425
+ }, "".concat(componentMap$1[compType].type, "ReissueType"), componentMap$1[compType].eventNameMap.reissueSelectList);
12425
12426
  var type = typeMap[(_withInfo$current = withInfo.current) === null || _withInfo$current === void 0 ? void 0 : _withInfo$current.type];
12426
12427
  // console.log('onSelect', type, withInfo.current, newList);
12427
12428
  pubsub__default['default'].publish(type, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.23.1-beta.5",
3
+ "version": "0.23.1-beta.7",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "912a36e11485b59d82eaab0d1a47a3945e9e67b4"
67
+ "gitHead": "885bf4c24e4b1f983b055d7c42d212dd6ad3b0b7"
68
68
  }