@kmkf-fe-packages/services-components 2.7.7-beta.0 → 2.7.7-beta.11

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.
@@ -1,6 +1,6 @@
1
1
  import LogisticsInterception from "../components/LogisticsInterception";
2
2
  import LogisticsMoreInterception from "../components/LogisticsMoreInterception";
3
- export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsSystemOrder").default | import("../components/Cascader").default | import("../components/CommonSystemOrder").default | import("../components/JST/JstSendGood").default | import("../components/KM/KmExchange").default | import("../components/Logistics").default | LogisticsInterception | import("../components/Payment").default | import("../components/PicturePro").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/ReturnWarehouse").default | import("../components/ReceiverAddress").default | import("../components/StatusSelect").default | import("../components/TradeId").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Checkbox").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/ShopName").default | import("../components/BuyerNick").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/TradeDateTime").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSupply").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").default | import("../components/Public/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/BS/BsLogistics").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/FlowTag").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/Calculation").default | import("../components/CommonMultiStatus").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/WLN/WlnGoods").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/AfterSalesOrderId").default | import("../components/GY/GyGoods").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default | import("../components/FlowOverallStatusSelect").default;
3
+ export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/AfterSalesOrderId").default | import("../components/BS/BsGoods").default | import("../components/BS/BsLogistics").default | import("../components/BS/BsSystemOrder").default | import("../components/BsE3/BsReissueE3").default | import("../components/BuyerNick").default | import("../components/Cascader").default | import("../components/Checkbox").default | import("../components/CommonDataTime").default | import("../components/CommonInput").default | import("../components/CommonMultiStatus").default | import("../components/CommonSystemOrder").default | import("../components/EItemEnCode").default | import("../components/TradeId").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/ShopName").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/BsE3/BsGoods").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/FlowTag").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsInterception | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/Calculation").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/Public/ReturnWarehouse").default | import("../components/GY/GyGoods").default | import("../components/KM/KmExchange").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default | import("../components/FlowOverallStatusSelect").default;
4
4
  export declare const useColumnsConfig: ({ queryWorkOrderDetail, flatTemplateList, shopList, sortState, onChangeSort, handleReset, handleSubmit, handleChangeSingleWorkOrderMark, userList, tbAppKey, isShare, openSingleColumnsFilter, openSingleColumnsSort, }: {
5
5
  queryWorkOrderDetail?: ((p: any) => void) | undefined;
6
6
  flatTemplateList?: any;
@@ -187,7 +187,6 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
187
187
  _defineProperty(this, "renderPc", function (value, record) {
188
188
  var _typeMap$_this$type2, _typeMap$_this$type3;
189
189
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type2 = typeMap[_this.type]) === null || _typeMap$_this$type2 === void 0 ? void 0 : _typeMap$_this$type2.key)];
190
- console.log("\uD83D\uDE80 ~ index.tsx:234 ~ list:", list);
191
190
  //兼容多个商品
192
191
  return /*#__PURE__*/React.createElement("span", {
193
192
  onClick: function onClick(e) {
@@ -158,6 +158,11 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
158
158
  showHeader: (options === null || options === void 0 ? void 0 : (_options$componentCon = options.componentConfig) === null || _options$componentCon === void 0 ? void 0 : _options$componentCon.showHeader) || []
159
159
  })) === null || _getSystemShowHead === void 0 ? void 0 : _getSystemShowHead.map(function (column) {
160
160
  return new BsHeaderChild(_objectSpread(_objectSpread({}, options), {}, {
161
+ parent: {
162
+ id: _this.id,
163
+ formField: _this.formField,
164
+ sortField: _this.sortField
165
+ },
161
166
  transformValue: column.render,
162
167
  renderExport: column.renderExport,
163
168
  name: column.title,
@@ -14,16 +14,17 @@ declare class BsHeaderChild implements ComponentInterface {
14
14
  children: ComponentInterface[];
15
15
  dataType: ComponentInterface["dataType"];
16
16
  parentName?: string;
17
- transformValue: (val: any, record?: any, parentName?: string) => any;
18
- export: (val: any, record?: any, parentName?: string) => any;
17
+ parent?: any;
18
+ transformValue: (val: any, record?: any, parentName?: string, parent?: any, index?: number) => any;
19
+ export: (val: any, record?: any, parentName?: string, parent?: any, index?: number) => any;
19
20
  constructor(options: PickOption);
20
21
  getParentId: () => string;
21
- renderClient: (record: any) => React.JSX.Element | null;
22
- renderPc: (value: unknown, record: Record) => React.JSX.Element;
23
- renderLog: (r: Record) => React.JSX.Element | null;
24
- getComponentValue: (r: Record) => any;
25
- getComponentExport: (r: Record) => any;
26
- renderExport: (value: string, record: Record) => any;
22
+ renderClient: (record: any, index: number) => React.JSX.Element | null;
23
+ renderPc: (value: unknown, record: Record, index?: number) => React.JSX.Element;
24
+ renderLog: (r: Record, index?: number) => React.JSX.Element | null;
25
+ getComponentValue: (r: Record, index?: number) => any;
26
+ getComponentExport: (r: Record, index?: number) => any;
27
+ renderExport: (value: string, record: Record, index?: number) => any;
27
28
  editRender: () => null;
28
29
  filterConfig: () => never[];
29
30
  }
@@ -30,6 +30,7 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
30
30
  _defineProperty(this, "children", void 0);
31
31
  _defineProperty(this, "dataType", void 0);
32
32
  _defineProperty(this, "parentName", void 0);
33
+ _defineProperty(this, "parent", void 0);
33
34
  _defineProperty(this, "transformValue", function (val) {
34
35
  return val;
35
36
  });
@@ -44,31 +45,31 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
44
45
  code = _this$id$split2[2];
45
46
  return "".concat(key, "_").concat(name);
46
47
  });
47
- _defineProperty(this, "renderClient", function (record) {
48
+ _defineProperty(this, "renderClient", function (record, index) {
48
49
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
49
50
  id: _this.id,
50
51
  label: _this.name,
51
- value: _this.getComponentValue(record)
52
+ value: _this.getComponentValue(record, index)
52
53
  }) : null;
53
54
  });
54
- _defineProperty(this, "renderPc", function (value, record) {
55
+ _defineProperty(this, "renderPc", function (value, record, index) {
55
56
  var _this$getComponentVal;
56
- return /*#__PURE__*/React.createElement("span", null, (_this$getComponentVal = _this.getComponentValue(record)) !== null && _this$getComponentVal !== void 0 ? _this$getComponentVal : "--");
57
+ return /*#__PURE__*/React.createElement("span", null, (_this$getComponentVal = _this.getComponentValue(record, index)) !== null && _this$getComponentVal !== void 0 ? _this$getComponentVal : "--");
57
58
  });
58
- _defineProperty(this, "renderLog", function (r) {
59
+ _defineProperty(this, "renderLog", function (r, index) {
59
60
  var id = _this.getParentId();
60
61
  if (isNull(r === null || r === void 0 ? void 0 : r[id])) return null;
61
- return _this.renderPc(undefined, r);
62
+ return _this.renderPc(undefined, r, index);
62
63
  });
63
- _defineProperty(this, "getComponentValue", function (r) {
64
- return _this.transformValue(r === null || r === void 0 ? void 0 : r[_this.id], r, _this.parentName);
64
+ _defineProperty(this, "getComponentValue", function (r, index) {
65
+ return _this.transformValue(r === null || r === void 0 ? void 0 : r[_this.id], r, _this.parentName, _this.parent, index);
65
66
  });
66
- _defineProperty(this, "getComponentExport", function (r) {
67
- return _this.export(r === null || r === void 0 ? void 0 : r[_this.id], r, _this.parentName);
67
+ _defineProperty(this, "getComponentExport", function (r, index) {
68
+ return _this.export(r === null || r === void 0 ? void 0 : r[_this.id], r, _this.parentName, _this.parent, index);
68
69
  });
69
- _defineProperty(this, "renderExport", function (value, record) {
70
+ _defineProperty(this, "renderExport", function (value, record, index) {
70
71
  var _this$getComponentExp;
71
- var val = (_this$getComponentExp = _this.getComponentExport(record)) !== null && _this$getComponentExp !== void 0 ? _this$getComponentExp : "--";
72
+ var val = (_this$getComponentExp = _this.getComponentExport(record, index)) !== null && _this$getComponentExp !== void 0 ? _this$getComponentExp : "--";
72
73
  return typeof val === "number" ? val + "" : val;
73
74
  });
74
75
  _defineProperty(this, "editRender", function () {
@@ -85,6 +86,9 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
85
86
  if (options.parentName) {
86
87
  this.parentName = options.parentName;
87
88
  }
89
+ if (options.parent) {
90
+ this.parent = options.parent;
91
+ }
88
92
  this.componentConfig = options.componentConfig;
89
93
  this.align = "left";
90
94
  this.width = (options === null || options === void 0 ? void 0 : options.width) || 100;
@@ -1407,10 +1407,6 @@ var GoodHeaderMap = {
1407
1407
  name: "商品名称",
1408
1408
  width: 250
1409
1409
  },
1410
- goodsCode: {
1411
- name: "商品编码",
1412
- width: 250
1413
- },
1414
1410
  wlnSkuName: {
1415
1411
  name: "sku名称",
1416
1412
  width: 250
@@ -1440,7 +1436,7 @@ var GoodHeaderMap = {
1440
1436
  width: 100,
1441
1437
  component: BsHeaderPic
1442
1438
  },
1443
- olnItemCOde: {
1439
+ olnItemCode: {
1444
1440
  name: "线上商品编码",
1445
1441
  width: 150
1446
1442
  },
@@ -1465,10 +1461,6 @@ var GoodHeaderMap = {
1465
1461
  name: "折后单价",
1466
1462
  width: 250
1467
1463
  },
1468
- originPrice: {
1469
- name: "原价",
1470
- width: 250
1471
- },
1472
1464
  price: {
1473
1465
  name: "单价",
1474
1466
  width: 250
@@ -1479,10 +1471,18 @@ var GoodHeaderMap = {
1479
1471
  },
1480
1472
  type: {
1481
1473
  name: "赠品类型",
1482
- width: 100
1474
+ width: 100,
1475
+ transformValue: function transformValue(val) {
1476
+ if (isNull(val)) return "--";
1477
+ return val ? "赠品" : "非赠品";
1478
+ },
1479
+ renderExport: function renderExport(val) {
1480
+ if (isNull(val)) return "--";
1481
+ return val ? "赠品" : "非赠品";
1482
+ }
1483
1483
  },
1484
1484
  isPackage: {
1485
- width: 100,
1485
+ width: 200,
1486
1486
  name: "是否组合商品",
1487
1487
  transformValue: function transformValue(val) {
1488
1488
  if (isNull(val)) return "--";
@@ -1530,10 +1530,6 @@ var GoodHeaderMap = {
1530
1530
  name: "商品名称",
1531
1531
  width: 250
1532
1532
  },
1533
- goodsCode: {
1534
- name: "商品编码",
1535
- width: 250
1536
- },
1537
1533
  wlnSkuName: {
1538
1534
  name: "sku名称",
1539
1535
  width: 250
@@ -1563,7 +1559,7 @@ var GoodHeaderMap = {
1563
1559
  width: 100,
1564
1560
  component: BsHeaderPic
1565
1561
  },
1566
- olnItemCOde: {
1562
+ olnItemCode: {
1567
1563
  name: "线上商品编码",
1568
1564
  width: 150
1569
1565
  },
@@ -1583,16 +1579,24 @@ var GoodHeaderMap = {
1583
1579
  name: "数量",
1584
1580
  width: 100
1585
1581
  },
1586
- outPrice: {
1582
+ money: {
1587
1583
  name: "实付金额",
1588
1584
  width: 100
1589
1585
  },
1590
1586
  type: {
1591
1587
  name: "赠品类型",
1592
- width: 100
1588
+ width: 100,
1589
+ transformValue: function transformValue(val) {
1590
+ if (isNull(val)) return "--";
1591
+ return val ? "赠品" : "非赠品";
1592
+ },
1593
+ renderExport: function renderExport(val) {
1594
+ if (isNull(val)) return "--";
1595
+ return val ? "赠品" : "非赠品";
1596
+ }
1593
1597
  },
1594
1598
  isPackage: {
1595
- width: 100,
1599
+ width: 200,
1596
1600
  name: "是否组合商品",
1597
1601
  transformValue: function transformValue(val) {
1598
1602
  if (isNull(val)) return "--";
@@ -31,7 +31,7 @@ declare class BasicPosting implements ComponentInterface {
31
31
  sortColumns: SortColumnsField;
32
32
  headerProvince: boolean;
33
33
  constructor(options: PickOption);
34
- getChildren: () => (Province | City | District | Detail | ReceiverName | ReceiverMobile | undefined)[];
34
+ getChildren: () => (Detail | District | ReceiverMobile | ReceiverName | Province | City | undefined)[];
35
35
  getSortColumns: (sortColumns: string | undefined) => SortColumnsField;
36
36
  renderPc: (value: any, record: Record) => React.JSX.Element | null;
37
37
  renderLog: (r: Record) => React.JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect, ReturnWarehouse, KmExchange } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => CommonMultiStatus | JstSendGood | LogisticsInterception | PublicGoods | PublicReissueGoods | StatusSelect | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | ReturnWarehouse | GyGoods | KmExchange | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
3
+ export declare const factory: (type: string, options: PickOption) => BsSystemOrder | CommonSystemOrder | LogisticsInterception | StatusSelect | TradeId | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | Calculation | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | ReturnWarehouse | GyGoods | KmExchange | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
@@ -35,7 +35,7 @@ export declare type FilterConfigType = {
35
35
  };
36
36
  export declare type FilterComponentType = "MultipleSelect" | "TagsSelect" | "Input" | "Date" | "Cascader" | "ShopList" | "Rate" | "SelectInput" | "AsyncSelect";
37
37
  export interface ComponentInterface {
38
- transformValue?: (val: any, record?: any, parentName?: string) => any;
38
+ transformValue?: (val: any, record?: any, parentName?: string, parent?: any) => any;
39
39
  id: string;
40
40
  sortField: string;
41
41
  sortChildField?: {
@@ -64,6 +64,7 @@ export interface ComponentInterface {
64
64
  workOrderUniqueKey?: string;
65
65
  platform?: PlatForm;
66
66
  parentName?: string;
67
+ parent?: any;
67
68
  exampleValue?: any;
68
69
  compoundConfig?: Array<{
69
70
  id: string;
@@ -323,7 +324,7 @@ export interface ComponentInterface {
323
324
  getComponentValue: (r: Record) => any;
324
325
  formDataTransform?: (r: any) => any;
325
326
  }
326
- export declare type PickOption = Pick<ComponentInterface, "name" | "id" | "type" | "componentConfig" | "effects" | "columnHeader" | "templateId" | "workOrderUniqueKey" | "platform" | "parentName" | "width" | "flowTemplateKey" | "transformValue" | "renderExport">;
327
+ export declare type PickOption = Pick<ComponentInterface, "name" | "id" | "type" | "componentConfig" | "effects" | "columnHeader" | "templateId" | "workOrderUniqueKey" | "platform" | "parentName" | "parent" | "width" | "flowTemplateKey" | "transformValue" | "renderExport">;
327
328
  export declare type ColumnConfig = {
328
329
  id: string;
329
330
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.7.7-beta.0",
3
+ "version": "2.7.7-beta.11",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "2.7.7-beta.0",
25
- "@kmkf-fe-packages/kmkf-utils": "2.7.7-beta.0",
24
+ "@kmkf-fe-packages/basic-components": "2.7.7-beta.11",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.7.7-beta.9",
26
26
  "b64-to-blob": "^1.2.19",
27
27
  "html2canvas": "^1.4.1",
28
28
  "react-pdf-js": "^5.1.0"
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "a671b946cfc210a0f9446c8ea9edb1b43f0a9831",
44
+ "gitHead": "f4be4364c58551b9abe6211a3c661456f7c8770e",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }