@kmkf-fe-packages/services-components 0.8.17-alpha.19 → 0.8.17-alpha.20

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.
@@ -40,18 +40,18 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
40
40
  _defineProperty(this, "dataType", void 0);
41
41
  _defineProperty(this, "renderPc", function (value, record) {
42
42
  var _record;
43
- return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_calculation")]) !== null && _record !== void 0 ? _record : "--");
43
+ return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_numericalCalculation")]) !== null && _record !== void 0 ? _record : "--");
44
44
  });
45
45
  _defineProperty(this, "renderLog", function (r) {
46
- if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_calculation")])) return null;
46
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_numericalCalculation")])) return null;
47
47
  return _this.renderPc(undefined, r);
48
48
  });
49
49
  _defineProperty(this, "getComponentValue", function (r) {
50
- return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_calculation")];
50
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_numericalCalculation")];
51
51
  });
52
52
  _defineProperty(this, "renderExport", function (value, record) {
53
53
  var _record2;
54
- return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_calculation")]) !== null && _record2 !== void 0 ? _record2 : "--";
54
+ return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_numericalCalculation")]) !== null && _record2 !== void 0 ? _record2 : "--";
55
55
  });
56
56
  _defineProperty(this, "renderClient", function (record) {
57
57
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -81,22 +81,22 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
81
81
  return {
82
82
  searchDefaultConditions: SYMBOL.like,
83
83
  type: item.type,
84
- id: "".concat(item.id, "_calculation"),
84
+ id: "".concat(item.id, "_numericalCalculation"),
85
85
  // 过滤组件id
86
86
  name: item.name,
87
87
  // 过滤组件名称
88
88
  filterComponentType: "Input",
89
89
  filterFn: function filterFn(value) {
90
90
  return function (i) {
91
- return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, "calculation")).includes(value);
91
+ return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, "numericalCalculation")).includes(value);
92
92
  };
93
93
  }
94
94
  };
95
95
  });
96
96
  this.name = options.name;
97
97
  this.id = options.id;
98
- this.sortField = "".concat(options.id, "_calculation");
99
- this.formField = "".concat(options.id, "_calculation");
98
+ this.sortField = "".concat(options.id, "_numericalCalculation");
99
+ this.formField = "".concat(options.id, "_numericalCalculation");
100
100
  this.type = options.type;
101
101
  this.componentConfig = options.componentConfig;
102
102
  this.rules = [];
@@ -1,3 +1,3 @@
1
1
  import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsSystemOrder, StatusSelect, CommonTradeId, DeliveryNo, Calculation } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => Calculation | CommonTradeId | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | DeliveryNo | FlowStatusSelect | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | PlatForm | ShopInput | Submitter | Handler | CompletedUser | FlowWorkOrderId | StatusSelect;
3
+ export declare const factory: (type: string, options: PickOption) => DeliveryNo | BasicTextArea | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | FlowStatusSelect | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | PlatForm | ShopInput | Submitter | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | CommonTradeId | Calculation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.8.17-alpha.19",
3
+ "version": "0.8.17-alpha.20",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -40,5 +40,5 @@
40
40
  "gitHooks": {
41
41
  "pre-commit": "lint-staged"
42
42
  },
43
- "gitHead": "53e8390280f677d61940bff6e33d4434f4a2759e"
43
+ "gitHead": "4b60be5c82c97e17ea33e4dbf6ef13255bd878cd"
44
44
  }