@kmkf-fe-packages/basic-components 2.0.12-beta.3 → 2.0.12-beta.6

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
@@ -14376,8 +14376,9 @@ var getColumns$4 = function getColumns(_ref) {
14376
14376
  };
14377
14377
  };
14378
14378
 
14379
- var getColumns$5 = function getColumns(_ref) {
14380
- var _ref$text = _ref.text,
14379
+ var getColumns$5 = function getColumns() {
14380
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
14381
+ _ref$text = _ref.text,
14381
14382
  disabled = _ref.disabled,
14382
14383
  updateHandle = _ref.updateHandle;
14383
14384
  return {
@@ -14441,7 +14442,7 @@ var getColumns$5 = function getColumns(_ref) {
14441
14442
  min: 0,
14442
14443
  precision: 2,
14443
14444
  onChange: function onChange(num) {
14444
- return updateHandle(num, index, 'salePrice');
14445
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
14445
14446
  }
14446
14447
  }) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(2) : '');
14447
14448
  }
@@ -14460,7 +14461,7 @@ var getColumns$5 = function getColumns(_ref) {
14460
14461
  min: 1,
14461
14462
  precision: 0,
14462
14463
  onChange: function onChange(num) {
14463
- return updateHandle(num, index, 'qty');
14464
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
14464
14465
  }
14465
14466
  }) : /*#__PURE__*/React.createElement("span", null, val);
14466
14467
  }
@@ -14489,7 +14490,7 @@ var getColumns$5 = function getColumns(_ref) {
14489
14490
  return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
14490
14491
  value: val,
14491
14492
  onChange: function onChange(value) {
14492
- updateHandle(value, index, 'isGift');
14493
+ updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(value, index, 'isGift');
14493
14494
  },
14494
14495
  options: [{
14495
14496
  label: '是',
@@ -14567,7 +14568,7 @@ var getColumns$5 = function getColumns(_ref) {
14567
14568
  min: 0,
14568
14569
  precision: 2,
14569
14570
  onChange: function onChange(num) {
14570
- return updateHandle(num, index, 'salePrice');
14571
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
14571
14572
  }
14572
14573
  }) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(2) : '');
14573
14574
  }
@@ -14586,7 +14587,7 @@ var getColumns$5 = function getColumns(_ref) {
14586
14587
  min: 1,
14587
14588
  precision: 0,
14588
14589
  onChange: function onChange(num) {
14589
- return updateHandle(num, index, 'qty');
14590
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
14590
14591
  }
14591
14592
  }) : /*#__PURE__*/React.createElement("span", null, val);
14592
14593
  }
@@ -14600,7 +14601,7 @@ var getColumns$5 = function getColumns(_ref) {
14600
14601
  return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
14601
14602
  value: val,
14602
14603
  onChange: function onChange(value) {
14603
- updateHandle(value, index, 'isGift');
14604
+ updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(value, index, 'isGift');
14604
14605
  },
14605
14606
  options: [{
14606
14607
  label: '是',
@@ -14624,7 +14625,7 @@ var getColumns$5 = function getColumns(_ref) {
14624
14625
  },
14625
14626
  value: val,
14626
14627
  onChange: function onChange(e) {
14627
- return updateHandle(e.target.value, index, 'remark');
14628
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
14628
14629
  }
14629
14630
  }) : /*#__PURE__*/React.createElement("span", null, val);
14630
14631
  }
@@ -18871,4 +18872,4 @@ var GyReissue = function GyReissue(props) {
18871
18872
  })));
18872
18873
  };
18873
18874
 
18874
- export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, index as ApaasUploadAsync, ApaasUploadFile, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$1 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, ExpressLogistics, Goods, index$2 as GoodsTable, GyReissue, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap };
18875
+ export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, index as ApaasUploadAsync, ApaasUploadFile, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$1 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, ExpressLogistics, Goods, index$2 as GoodsTable, GyReissue, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, getColumns$5 as getJstColumns };
package/dist/index.js CHANGED
@@ -14388,8 +14388,9 @@ var getColumns$4 = function getColumns(_ref) {
14388
14388
  };
14389
14389
  };
14390
14390
 
14391
- var getColumns$5 = function getColumns(_ref) {
14392
- var _ref$text = _ref.text,
14391
+ var getColumns$5 = function getColumns() {
14392
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
14393
+ _ref$text = _ref.text,
14393
14394
  disabled = _ref.disabled,
14394
14395
  updateHandle = _ref.updateHandle;
14395
14396
  return {
@@ -14453,7 +14454,7 @@ var getColumns$5 = function getColumns(_ref) {
14453
14454
  min: 0,
14454
14455
  precision: 2,
14455
14456
  onChange: function onChange(num) {
14456
- return updateHandle(num, index, 'salePrice');
14457
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
14457
14458
  }
14458
14459
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(2) : '');
14459
14460
  }
@@ -14472,7 +14473,7 @@ var getColumns$5 = function getColumns(_ref) {
14472
14473
  min: 1,
14473
14474
  precision: 0,
14474
14475
  onChange: function onChange(num) {
14475
- return updateHandle(num, index, 'qty');
14476
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
14476
14477
  }
14477
14478
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
14478
14479
  }
@@ -14501,7 +14502,7 @@ var getColumns$5 = function getColumns(_ref) {
14501
14502
  return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
14502
14503
  value: val,
14503
14504
  onChange: function onChange(value) {
14504
- updateHandle(value, index, 'isGift');
14505
+ updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(value, index, 'isGift');
14505
14506
  },
14506
14507
  options: [{
14507
14508
  label: '是',
@@ -14579,7 +14580,7 @@ var getColumns$5 = function getColumns(_ref) {
14579
14580
  min: 0,
14580
14581
  precision: 2,
14581
14582
  onChange: function onChange(num) {
14582
- return updateHandle(num, index, 'salePrice');
14583
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
14583
14584
  }
14584
14585
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(2) : '');
14585
14586
  }
@@ -14598,7 +14599,7 @@ var getColumns$5 = function getColumns(_ref) {
14598
14599
  min: 1,
14599
14600
  precision: 0,
14600
14601
  onChange: function onChange(num) {
14601
- return updateHandle(num, index, 'qty');
14602
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
14602
14603
  }
14603
14604
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
14604
14605
  }
@@ -14612,7 +14613,7 @@ var getColumns$5 = function getColumns(_ref) {
14612
14613
  return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
14613
14614
  value: val,
14614
14615
  onChange: function onChange(value) {
14615
- updateHandle(value, index, 'isGift');
14616
+ updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(value, index, 'isGift');
14616
14617
  },
14617
14618
  options: [{
14618
14619
  label: '是',
@@ -14636,7 +14637,7 @@ var getColumns$5 = function getColumns(_ref) {
14636
14637
  },
14637
14638
  value: val,
14638
14639
  onChange: function onChange(e) {
14639
- return updateHandle(e.target.value, index, 'remark');
14640
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
14640
14641
  }
14641
14642
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
14642
14643
  }
@@ -18947,3 +18948,4 @@ exports.WdtGoodList = WdtGoodList;
18947
18948
  exports.WdtReissue = wdtReissue;
18948
18949
  exports.WlnGoods = WlnGoods;
18949
18950
  exports.columnsBaseInfoMap = columnsBaseInfoMap;
18951
+ exports.getJstColumns = getColumns$5;
@@ -0,0 +1 @@
1
+ export { default as getJstColumns } from './jst';
@@ -62,4 +62,5 @@ export { default as WdtGoodList } from './bs/component/model/WdtGoodList';
62
62
  export { default as BsE3Reissue } from './e3/Reissue';
63
63
  export type { WdtGoods } from './bs/component/model/WdtGoodList';
64
64
  export { default as GyReissue } from './gy/Reissue';
65
+ export * from './constants/index';
65
66
  export { default as columnsBaseInfoMap } from './constants/columnsBaseInfoMap';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.0.12-beta.3",
3
+ "version": "2.0.12-beta.6",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "de663a2d4df54a85b0bcfd2f1fe066781583c5e7"
68
+ "gitHead": "f561f4ccaec02e8a1a0f8cabaaf19a9cde3dff3a"
69
69
  }