@kmkf-fe-packages/services-components 2.0.19-beta.48 → 2.0.19-beta.49

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,20 +1,20 @@
1
- import React from 'react';
2
- import { ComponentInterface, PickOption, ALignType, Record, ColumnConfig } from '../../../../../type';
1
+ import React from "react";
2
+ import { ComponentInterface, PickOption, ALignType, Record, ColumnConfig } from "../../../../../type";
3
3
  declare class ReceiverMobile implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  sortField: string;
7
7
  type: string;
8
8
  rules: any[];
9
- componentConfig: ComponentInterface['componentConfig'];
10
- effects: ComponentInterface['effects'];
9
+ componentConfig: ComponentInterface["componentConfig"];
10
+ effects: ComponentInterface["effects"];
11
11
  align: ALignType;
12
12
  width: number;
13
13
  isCombinationComponent: boolean;
14
14
  formField: string;
15
15
  canSort: boolean;
16
16
  children: ComponentInterface[];
17
- dataType: ComponentInterface['dataType'];
17
+ dataType: ComponentInterface["dataType"];
18
18
  parentName?: string;
19
19
  constructor(options: PickOption);
20
20
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -24,7 +24,7 @@ declare class ReceiverMobile implements ComponentInterface {
24
24
  getComponentValue: (r: Record) => any;
25
25
  editRender: () => null;
26
26
  filterConfig: (item: ColumnConfig) => {
27
- searchDefaultConditions: "eq";
27
+ searchDefaultConditions: "in";
28
28
  type: string;
29
29
  id: string;
30
30
  name: string;
@@ -5,8 +5,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
7
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
- import React from 'react';
9
- import { isNull } from '@kmkf-fe-packages/kmkf-utils';
8
+ import React from "react";
9
+ import { isNull } from "@kmkf-fe-packages/kmkf-utils";
10
10
  import ItemView from "../../../../../commonComponents/ItemView";
11
11
  import { SYMBOL } from "../../../../../constant";
12
12
  var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options) {
@@ -36,13 +36,13 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
36
36
  });
37
37
  _defineProperty(this, "renderPc", function (value, record) {
38
38
  var _record;
39
- return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--';
39
+ return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : "--";
40
40
  });
41
41
  _defineProperty(this, "renderLog", function (r) {
42
42
  return r === null || r === void 0 ? void 0 : r[_this.id];
43
43
  });
44
44
  _defineProperty(this, "renderExport", function (value) {
45
- return value !== null && value !== void 0 ? value : '--';
45
+ return value !== null && value !== void 0 ? value : "--";
46
46
  });
47
47
  _defineProperty(this, "getComponentValue", function (r) {
48
48
  return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
@@ -52,11 +52,11 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
52
52
  });
53
53
  _defineProperty(this, "filterConfig", function (item) {
54
54
  return _this.parentName ? {
55
- searchDefaultConditions: SYMBOL.eq,
55
+ searchDefaultConditions: SYMBOL.in,
56
56
  type: item.type,
57
57
  id: "".concat(_this.id),
58
58
  name: "".concat(_this.parentName, "-").concat(_this.name),
59
- filterComponentType: 'Input'
59
+ filterComponentType: "Input"
60
60
  } : null;
61
61
  });
62
62
  this.name = options.name;
@@ -67,8 +67,8 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
67
67
  this.isCombinationComponent = false;
68
68
  this.canSort = false;
69
69
  this.children = [];
70
- this.align = 'left';
71
- this.dataType = 'string';
70
+ this.align = "left";
71
+ this.dataType = "string";
72
72
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
73
73
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
74
74
  this.rules = [];
@@ -1,20 +1,20 @@
1
- import React from 'react';
2
- import { ComponentInterface, PickOption, ALignType, Record, ColumnConfig } from '../../../../../type';
1
+ import React from "react";
2
+ import { ComponentInterface, PickOption, ALignType, Record, ColumnConfig } from "../../../../../type";
3
3
  declare class ReceiverName implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  sortField: string;
7
7
  type: string;
8
8
  rules: any[];
9
- componentConfig: ComponentInterface['componentConfig'];
10
- effects: ComponentInterface['effects'];
9
+ componentConfig: ComponentInterface["componentConfig"];
10
+ effects: ComponentInterface["effects"];
11
11
  align: ALignType;
12
12
  width: number;
13
13
  isCombinationComponent: boolean;
14
14
  formField: string;
15
15
  canSort: boolean;
16
16
  children: ComponentInterface[];
17
- dataType: ComponentInterface['dataType'];
17
+ dataType: ComponentInterface["dataType"];
18
18
  parentName?: string;
19
19
  constructor(options: PickOption);
20
20
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -24,7 +24,7 @@ declare class ReceiverName implements ComponentInterface {
24
24
  getComponentValue: (r: Record) => any;
25
25
  editRender: () => null;
26
26
  filterConfig: (item: ColumnConfig) => {
27
- searchDefaultConditions: "eq";
27
+ searchDefaultConditions: "in";
28
28
  type: string;
29
29
  id: string;
30
30
  name: string;
@@ -5,8 +5,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
7
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
- import React from 'react';
9
- import { isNull } from '@kmkf-fe-packages/kmkf-utils';
8
+ import React from "react";
9
+ import { isNull } from "@kmkf-fe-packages/kmkf-utils";
10
10
  import ItemView from "../../../../../commonComponents/ItemView";
11
11
  import { SYMBOL } from "../../../../../constant";
12
12
  var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
@@ -36,13 +36,13 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
36
36
  });
37
37
  _defineProperty(this, "renderPc", function (value, record) {
38
38
  var _record;
39
- return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--';
39
+ return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : "--";
40
40
  });
41
41
  _defineProperty(this, "renderLog", function (r) {
42
42
  return r === null || r === void 0 ? void 0 : r[_this.id];
43
43
  });
44
44
  _defineProperty(this, "renderExport", function (value) {
45
- return value !== null && value !== void 0 ? value : '--';
45
+ return value !== null && value !== void 0 ? value : "--";
46
46
  });
47
47
  _defineProperty(this, "getComponentValue", function (r) {
48
48
  return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
@@ -52,11 +52,11 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
52
52
  });
53
53
  _defineProperty(this, "filterConfig", function (item) {
54
54
  return _this.parentName ? {
55
- searchDefaultConditions: SYMBOL.eq,
55
+ searchDefaultConditions: SYMBOL.in,
56
56
  type: item.type,
57
57
  id: "".concat(_this.id),
58
58
  name: "".concat(_this.parentName, "-").concat(_this.name),
59
- filterComponentType: 'Input'
59
+ filterComponentType: "Input"
60
60
  } : null;
61
61
  });
62
62
  this.name = options.name;
@@ -67,8 +67,8 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
67
67
  this.isCombinationComponent = false;
68
68
  this.canSort = false;
69
69
  this.children = [];
70
- this.align = 'left';
71
- this.dataType = 'string';
70
+ this.align = "left";
71
+ this.dataType = "string";
72
72
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
73
73
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
74
74
  this.rules = [];
@@ -1,3 +1,3 @@
1
1
  import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, 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, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => ActualPayment | BasicAddress | AfterSalesOrderId | AliPay | BsExchange | BsGoods | BsLogistics | BsPosting | BsReissue | BsReturn | BsSystemOrder | BsE3Goods | BsE3Reissue | BuyerNick | Calculation | BasicCascader | BasicCheckbox | CommonDataTime | CommonInput | CommonMultiStatus | CommonSystemOrder | CompletedUser | BasicDataTime | ItemEnCode | ItemId | ItemSelect | BasicInput | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ERemark | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | PublicGoods | PublicReissueGoods | PublicExchange | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | FlowWorkOrderId | StatusSelect | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | PaymentVoucherCode | Label | MemberLevel | GyGoods | GyReissue | GyReturn;
3
+ export declare const factory: (type: string, options: PickOption) => JstSendGood | MsgStatus | BasicSelect | BasicDataTime | TradeDateTime | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.0.19-beta.48",
3
+ "version": "2.0.19-beta.49",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "9e71942af6ff66ac892afd24d7541391221ecfff",
44
+ "gitHead": "91eda0302f32247335310ec373cc08f753e607f1",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }