@kmkf-fe-packages/services-components 1.0.6-rc.18 → 1.0.6-rc.22

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.
@@ -13,6 +13,7 @@ declare class BasicInput implements ComponentInterface {
13
13
  children: ComponentInterface[];
14
14
  dataType: ComponentInterface["dataType"];
15
15
  templateId?: string;
16
+ flowTemplateKey?: string;
16
17
  workOrderUniqueKey?: string;
17
18
  constructor(options: PickOption);
18
19
  renderPc: (value: any, record: Record) => React.JSX.Element;
@@ -32,6 +32,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
32
32
  _defineProperty(this, "children", void 0);
33
33
  _defineProperty(this, "dataType", void 0);
34
34
  _defineProperty(this, "templateId", void 0);
35
+ _defineProperty(this, "flowTemplateKey", void 0);
35
36
  _defineProperty(this, "workOrderUniqueKey", void 0);
36
37
  _defineProperty(this, "renderPc", function (value, record) {
37
38
  var _record;
@@ -103,6 +104,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
103
104
  this.formField = "".concat(options.id, "_input");
104
105
  this.type = options.type;
105
106
  this.templateId = options.templateId;
107
+ this.flowTemplateKey = options.flowTemplateKey;
106
108
  this.componentConfig = options.componentConfig;
107
109
  this.workOrderUniqueKey = options === null || options === void 0 ? void 0 : options.workOrderUniqueKey;
108
110
  this.rules = [{
@@ -167,6 +169,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
167
169
  break;
168
170
  }
169
171
  params = {
172
+ flowTemplateKey: _this.flowTemplateKey,
170
173
  templateId: _this.templateId,
171
174
  workOrderUniqueKey: _this.workOrderUniqueKey,
172
175
  needCheckComponentList: [{
@@ -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, 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, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => AliPay | BasicCascader | CommonMultiStatus | CommonSystemOrder | JstSendGood | Label | LogisticsInterception | WdtReissue | BasicInput | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode;
3
+ export declare const factory: (type: string, options: PickOption) => AliPay | BsLogistics | BsReissue | BasicCascader | CommonMultiStatus | CommonSystemOrder | BasicInput | JstLogistics | JstSendGood | Label | StatusSelect | WdtExchange | WdtReissue | WdtReturn | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | Calculation | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | CommonInput | PaymentVoucherCode;
@@ -51,6 +51,7 @@ export interface ComponentInterface {
51
51
  format?: "dateTime" | "date" | "time" | "cascader" | "shopInput" | "staffGroup";
52
52
  options?: Array<any>;
53
53
  templateId?: string;
54
+ flowTemplateKey?: string;
54
55
  workOrderUniqueKey?: string;
55
56
  platform?: PlatForm;
56
57
  parentName?: string;
@@ -168,7 +169,10 @@ export interface ComponentInterface {
168
169
  rulesOptions?: Array<any>;
169
170
  selectRules?: Array<string>;
170
171
  logistics?: string;
171
- belongType?: string;
172
+ repeatConfig?: {
173
+ repeatRange: string;
174
+ repeatComponents: any[];
175
+ };
172
176
  };
173
177
  effects?: {
174
178
  queryWorkOrderDetail?: (r: Record) => void;
@@ -237,7 +241,7 @@ export interface ComponentInterface {
237
241
  getComponentValue: (r: Record) => any;
238
242
  formDataTransform?: (r: any) => any;
239
243
  }
240
- export declare type PickOption = Pick<ComponentInterface, "name" | "id" | "type" | "componentConfig" | "effects" | "columnHeader" | "templateId" | "workOrderUniqueKey" | "platform" | "parentName" | "width">;
244
+ export declare type PickOption = Pick<ComponentInterface, "name" | "id" | "type" | "componentConfig" | "effects" | "columnHeader" | "templateId" | "workOrderUniqueKey" | "platform" | "parentName" | "width" | "flowTemplateKey">;
241
245
  export declare type ColumnConfig = {
242
246
  id: string;
243
247
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.0.6-rc.18",
3
+ "version": "1.0.6-rc.22",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -20,8 +20,8 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/basic-components": "^1.0.6-rc.18",
24
- "@kmkf-fe-packages/kmkf-utils": "^1.0.6-rc.12"
23
+ "@kmkf-fe-packages/basic-components": "^1.0.6-rc.22",
24
+ "@kmkf-fe-packages/kmkf-utils": "^1.0.6-rc.22"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@typescript-eslint/eslint-plugin": "^5.59.2",
@@ -37,7 +37,7 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "5c88c7ae0d9ad59798c6199a49656cf869cbbb62",
40
+ "gitHead": "5bf63cfe6cca81686346133d4a30552ab92a23c6",
41
41
  "gitHooks": {
42
42
  "pre-commit": "lint-staged"
43
43
  }