@kmkf-fe-packages/services-components 0.7.3-alpha.4 → 0.7.4-alpha.0

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.
Files changed (112) hide show
  1. package/dist/esm/components/ActualPayment/index.d.ts +1 -2
  2. package/dist/esm/components/ActualPayment/index.js +1 -3
  3. package/dist/esm/components/Address/index.d.ts +3 -18
  4. package/dist/esm/components/Address/index.js +3 -26
  5. package/dist/esm/components/Alipay/index.d.ts +0 -1
  6. package/dist/esm/components/AlipayAccount/index.d.ts +0 -1
  7. package/dist/esm/components/AlipayAccount/index.js +0 -2
  8. package/dist/esm/components/AlipayName/index.d.ts +0 -1
  9. package/dist/esm/components/AlipayName/index.js +0 -2
  10. package/dist/esm/components/BuyerNick/index.d.ts +0 -1
  11. package/dist/esm/components/BuyerNick/index.js +0 -2
  12. package/dist/esm/components/Cascader/index.d.ts +1 -4
  13. package/dist/esm/components/Cascader/index.js +1 -5
  14. package/dist/esm/components/Checkbox/index.d.ts +1 -4
  15. package/dist/esm/components/Checkbox/index.js +4 -8
  16. package/dist/esm/components/CommonDataTime/index.d.ts +0 -1
  17. package/dist/esm/components/CommonDataTime/index.js +0 -2
  18. package/dist/esm/components/CompletedUser/index.d.ts +4 -7
  19. package/dist/esm/components/CompletedUser/index.js +1 -5
  20. package/dist/esm/components/DataTime/index.d.ts +1 -4
  21. package/dist/esm/components/DataTime/index.js +1 -5
  22. package/dist/esm/components/EItemEnCode/index.d.ts +0 -1
  23. package/dist/esm/components/EItemEnCode/index.js +0 -2
  24. package/dist/esm/components/EItemId/index.d.ts +0 -1
  25. package/dist/esm/components/EItemId/index.js +0 -2
  26. package/dist/esm/components/ErpTradeId/index.d.ts +0 -1
  27. package/dist/esm/components/ErpTradeId/index.js +0 -2
  28. package/dist/esm/components/Express/index.d.ts +1 -4
  29. package/dist/esm/components/Express/index.js +1 -5
  30. package/dist/esm/components/ExpressCode/index.d.ts +0 -1
  31. package/dist/esm/components/ExpressCode/index.js +0 -2
  32. package/dist/esm/components/FlowStatusSelect/index.d.ts +4 -7
  33. package/dist/esm/components/FlowStatusSelect/index.js +6 -10
  34. package/dist/esm/components/Handler/index.d.ts +4 -7
  35. package/dist/esm/components/Handler/index.js +1 -5
  36. package/dist/esm/components/Input/index.d.ts +0 -1
  37. package/dist/esm/components/Input/index.js +0 -2
  38. package/dist/esm/components/JstItemSelect/index.d.ts +0 -1
  39. package/dist/esm/components/JstItemSelect/index.js +15 -19
  40. package/dist/esm/components/JstLogistics/index.d.ts +2 -6
  41. package/dist/esm/components/JstLogistics/index.js +1 -6
  42. package/dist/esm/components/JstSendGood/index.d.ts +0 -1
  43. package/dist/esm/components/JstSendGood/index.js +0 -3
  44. package/dist/esm/components/JstSupply/index.d.ts +0 -1
  45. package/dist/esm/components/JstSupply/index.js +0 -3
  46. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -1
  47. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +5 -8
  48. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +1 -5
  49. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +5 -8
  50. package/dist/esm/components/LogisticsInterception/InterceptType.js +1 -5
  51. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +0 -1
  52. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +0 -2
  53. package/dist/esm/components/MultSelect/index.d.ts +1 -4
  54. package/dist/esm/components/MultSelect/index.js +1 -5
  55. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +0 -1
  56. package/dist/esm/components/Ordinary/OrdinaryHeader.js +3 -5
  57. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -2
  58. package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -6
  59. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +0 -1
  60. package/dist/esm/components/Ordinary/OrdinarySerial.js +0 -2
  61. package/dist/esm/components/Payment/AlipayNick.d.ts +0 -1
  62. package/dist/esm/components/Payment/AlipayNick.js +0 -2
  63. package/dist/esm/components/Payment/AlipayNo.d.ts +0 -1
  64. package/dist/esm/components/Payment/AlipayNo.js +0 -2
  65. package/dist/esm/components/Payment/AlipayTime.d.ts +0 -1
  66. package/dist/esm/components/Payment/AlipayTime.js +0 -2
  67. package/dist/esm/components/Payment/BuyerNick.d.ts +0 -1
  68. package/dist/esm/components/Payment/BuyerNick.js +0 -2
  69. package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -2
  70. package/dist/esm/components/Payment/PaymentAmount.js +1 -3
  71. package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -7
  72. package/dist/esm/components/Payment/PaymentStatus.js +1 -5
  73. package/dist/esm/components/Payment/PaymentTid.d.ts +0 -1
  74. package/dist/esm/components/Payment/PaymentTid.js +0 -2
  75. package/dist/esm/components/PlatForm/index.d.ts +1 -2
  76. package/dist/esm/components/PlatForm/index.js +0 -2
  77. package/dist/esm/components/Radio/index.d.ts +1 -4
  78. package/dist/esm/components/Radio/index.js +4 -8
  79. package/dist/esm/components/ReceiverAddress/index.d.ts +1 -1
  80. package/dist/esm/components/ReceiverMobile/index.d.ts +0 -1
  81. package/dist/esm/components/ReceiverMobile/index.js +0 -2
  82. package/dist/esm/components/ReceiverName/index.d.ts +0 -1
  83. package/dist/esm/components/ReceiverName/index.js +0 -2
  84. package/dist/esm/components/Remark/index.d.ts +0 -1
  85. package/dist/esm/components/Remark/index.js +0 -2
  86. package/dist/esm/components/ReturnLogistics/index.d.ts +0 -2
  87. package/dist/esm/components/Select/index.d.ts +1 -4
  88. package/dist/esm/components/Select/index.js +1 -5
  89. package/dist/esm/components/ShopInput/index.d.ts +2 -5
  90. package/dist/esm/components/ShopInput/index.js +2 -6
  91. package/dist/esm/components/ShopName/index.d.ts +0 -1
  92. package/dist/esm/components/ShopName/index.js +0 -2
  93. package/dist/esm/components/Submitter/index.d.ts +4 -7
  94. package/dist/esm/components/Submitter/index.js +1 -5
  95. package/dist/esm/components/SystemOrderNo/index.d.ts +0 -1
  96. package/dist/esm/components/SystemOrderNo/index.js +0 -2
  97. package/dist/esm/components/TemplateSelect/index.d.ts +0 -1
  98. package/dist/esm/components/TemplateSelect/index.js +0 -2
  99. package/dist/esm/components/TextArea/index.d.ts +0 -1
  100. package/dist/esm/components/TextArea/index.js +0 -2
  101. package/dist/esm/components/ThirdItemSelect/index.d.ts +0 -1
  102. package/dist/esm/components/ThirdItemSelect/index.js +0 -2
  103. package/dist/esm/components/TradeDateTime/index.d.ts +0 -1
  104. package/dist/esm/components/TradeDateTime/index.js +0 -2
  105. package/dist/esm/components/TradeId/index.d.ts +0 -1
  106. package/dist/esm/components/TradeId/index.js +0 -2
  107. package/dist/esm/components/WorkOrderId/index.d.ts +0 -1
  108. package/dist/esm/components/WorkOrderId/index.js +0 -2
  109. package/dist/esm/type.d.ts +2 -5
  110. package/package.json +4 -4
  111. package/dist/esm/constant.d.ts +0 -14
  112. package/dist/esm/constant.js +0 -14
@@ -19,7 +19,6 @@ declare class BuyerNick implements ComponentInterface {
19
19
  getComponentValue: (r: Record) => any;
20
20
  renderExport: (value: string) => string;
21
21
  filterConfig: (item: ColumnConfig) => {
22
- searchDefaultConditions: "in";
23
22
  type: string;
24
23
  id: string;
25
24
  name: string;
@@ -17,7 +17,6 @@ import GetFormItem from "../GetFormItem";
17
17
  import ItemView from "../../commonComponents/ItemView";
18
18
  import PlatBuyer from "../../commonComponents/PlatBuyer";
19
19
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
20
- import { SYMBOL } from "../../constant";
21
20
  var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
22
21
  var _this = this;
23
22
  _classCallCheck(this, BuyerNick);
@@ -83,7 +82,6 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
83
82
  });
84
83
  _defineProperty(this, "filterConfig", function (item) {
85
84
  return {
86
- searchDefaultConditions: SYMBOL.in,
87
85
  type: item.type,
88
86
  id: "".concat(item.id, "_enterprisePaymentBuyerNick"),
89
87
  name: "".concat(item.name, "-\u4E70\u5BB6\u6635\u79F0"),
@@ -18,11 +18,10 @@ declare class PaymentAmount implements ComponentInterface {
18
18
  renderExport: (value: string) => string;
19
19
  editRender: () => React.JSX.Element;
20
20
  filterConfig: (item: ColumnConfig) => {
21
- searchDefaultConditions: "between";
22
21
  type: string;
23
22
  id: string;
24
23
  name: string;
25
- filterComponentType: "Rate";
24
+ filterComponentType: "Input";
26
25
  filterFn: (value: string) => (i: Record) => boolean;
27
26
  };
28
27
  }
@@ -10,7 +10,6 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
- import { SYMBOL } from "../../constant";
14
13
  var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
15
14
  var _this = this;
16
15
  _classCallCheck(this, PaymentAmount);
@@ -56,11 +55,10 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
56
55
  });
57
56
  _defineProperty(this, "filterConfig", function (item) {
58
57
  return {
59
- searchDefaultConditions: SYMBOL.between,
60
58
  type: item.type,
61
59
  id: "".concat(item.id, "_enterprisePaymentRefundFee"),
62
60
  name: "".concat(item.name, "-\u6253\u6B3E\u91D1\u989D"),
63
- filterComponentType: 'Rate',
61
+ filterComponentType: 'Input',
64
62
  filterFn: function filterFn(value) {
65
63
  return function (i) {
66
64
  return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentRefundFee')).includes(value);
@@ -25,17 +25,14 @@ declare class PaymentStatus implements ComponentInterface {
25
25
  renderExport: (value: any) => any;
26
26
  editRender: () => null;
27
27
  filterConfig: (item: ColumnConfig) => {
28
- searchDefaultConditions: "in";
29
28
  type: string;
30
29
  id: string;
31
30
  name: string;
32
31
  filterComponentType: "MultipleSelect";
33
- props: {
34
- options: {
35
- label: string;
36
- value: string;
37
- }[];
38
- };
32
+ options: {
33
+ label: string;
34
+ value: string;
35
+ }[];
39
36
  filterFn: (value: string) => (i: Record) => boolean;
40
37
  };
41
38
  }
@@ -8,7 +8,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
8
8
  import React from 'react';
9
9
  import ItemView from "../../commonComponents/ItemView";
10
10
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
11
- import { SYMBOL } from "../../constant";
12
11
  var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
13
12
  var _this = this;
14
13
  _classCallCheck(this, PaymentStatus);
@@ -49,14 +48,11 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
49
48
  });
50
49
  _defineProperty(this, "filterConfig", function (item) {
51
50
  return {
52
- searchDefaultConditions: SYMBOL.in,
53
51
  type: item.type,
54
52
  id: "".concat(item.id, "_enterprisePaymentStatus"),
55
53
  name: "".concat(item.name, "-\u6253\u6B3E\u72B6\u6001"),
56
54
  filterComponentType: 'MultipleSelect',
57
- props: {
58
- options: _this.paymentStatusOptions
59
- },
55
+ options: _this.paymentStatusOptions,
60
56
  filterFn: function filterFn(value) {
61
57
  return function (i) {
62
58
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentStatus'));
@@ -18,7 +18,6 @@ declare class PaymentTid implements ComponentInterface {
18
18
  renderExport: (value: string) => string;
19
19
  editRender: () => React.JSX.Element;
20
20
  filterConfig: (item: ColumnConfig) => {
21
- searchDefaultConditions: "in";
22
21
  type: string;
23
22
  id: string;
24
23
  name: string;
@@ -10,7 +10,6 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
- import { SYMBOL } from "../../constant";
14
13
  var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
15
14
  var _this = this;
16
15
  _classCallCheck(this, PaymentTid);
@@ -56,7 +55,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
56
55
  });
57
56
  _defineProperty(this, "filterConfig", function (item) {
58
57
  return {
59
- searchDefaultConditions: SYMBOL.in,
60
58
  type: item.type,
61
59
  id: "".concat(item.id, "_enterprisePaymentTid"),
62
60
  name: "".concat(item.name, "-\u8BA2\u5355\u7F16\u53F7"),
@@ -8,7 +8,7 @@ declare class PlatForm implements ComponentInterface {
8
8
  componentConfig: ComponentInterface["componentConfig"];
9
9
  isCombinationComponent: boolean;
10
10
  children: ComponentInterface[];
11
- platInstance: InstanceType<typeof PlatData>;
11
+ platInstance: PlatData;
12
12
  constructor();
13
13
  renderPc: (value: any, record: Record) => React.JSX.Element;
14
14
  renderExport: (value: any, record: Record) => string;
@@ -17,7 +17,6 @@ declare class PlatForm implements ComponentInterface {
17
17
  renderClient: () => null;
18
18
  editRender: () => null;
19
19
  filterConfig: (item: ColumnConfig) => {
20
- searchDefaultConditions: "in";
21
20
  type: string;
22
21
  id: string;
23
22
  name: string;
@@ -7,7 +7,6 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
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
8
  import React from 'react';
9
9
  import { PlatData, filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
10
- import { SYMBOL } from "../../constant";
11
10
  var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
12
11
  var _this = this;
13
12
  _classCallCheck(this, PlatForm);
@@ -44,7 +43,6 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
44
43
  _defineProperty(this, "filterConfig", function (item) {
45
44
  var platData = _this.platInstance.getPlatSelectList();
46
45
  return {
47
- searchDefaultConditions: SYMBOL.in,
48
46
  type: item.type,
49
47
  id: item.id,
50
48
  // 过滤组件id
@@ -24,14 +24,11 @@ declare class BasicRadio implements ComponentInterface {
24
24
  renderClient: (record: Record) => React.JSX.Element | null;
25
25
  editRender: () => React.JSX.Element;
26
26
  filterConfig: (item: ColumnConfig) => {
27
- searchDefaultConditions: "in";
28
27
  type: string;
29
28
  id: string;
30
29
  name: string;
31
30
  filterComponentType: "MultipleSelect";
32
- props: {
33
- options: any[] | undefined;
34
- };
31
+ options: any[] | undefined;
35
32
  filterFn: (value: string) => (i: Record) => boolean;
36
33
  };
37
34
  }
@@ -11,7 +11,6 @@ import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
13
  import get from 'lodash/get';
14
- import { SYMBOL } from "../../constant";
15
14
  var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
16
15
  var _this = this,
17
16
  _this$componentConfig3;
@@ -69,19 +68,16 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
69
68
  _defineProperty(this, "filterConfig", function (item) {
70
69
  var _item$config, _item$config2, _item$config2$options, _item$config3;
71
70
  return {
72
- searchDefaultConditions: SYMBOL.in,
73
71
  type: item.type,
74
72
  id: item.id,
75
73
  // 过滤组件id
76
74
  name: item.name,
77
75
  // 过滤组件名称
78
76
  filterComponentType: 'MultipleSelect',
79
- props: {
80
- options: item !== null && item !== void 0 && (_item$config = item.config) !== null && _item$config !== void 0 && _item$config.showOther ? item === null || item === void 0 ? void 0 : (_item$config2 = item.config) === null || _item$config2 === void 0 ? void 0 : (_item$config2$options = _item$config2.options) === null || _item$config2$options === void 0 ? void 0 : _item$config2$options.concat({
81
- label: '其他',
82
- value: '其他'
83
- }) : (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.options) || []
84
- },
77
+ options: item !== null && item !== void 0 && (_item$config = item.config) !== null && _item$config !== void 0 && _item$config.showOther ? item === null || item === void 0 ? void 0 : (_item$config2 = item.config) === null || _item$config2 === void 0 ? void 0 : (_item$config2$options = _item$config2.options) === null || _item$config2$options === void 0 ? void 0 : _item$config2$options.concat({
78
+ label: '其他',
79
+ value: '其他'
80
+ }) : (item === null || item === void 0 ? void 0 : (_item$config3 = item.config) === null || _item$config3 === void 0 ? void 0 : _item$config3.options) || [],
85
81
  filterFn: function filterFn(value) {
86
82
  return function (i) {
87
83
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'radio'));
@@ -14,7 +14,7 @@ declare class BasicInput implements ComponentInterface {
14
14
  effects: ComponentInterface["effects"];
15
15
  isCombinationComponent: boolean;
16
16
  children: ComponentInterface[];
17
- addressDateInstance: InstanceType<typeof AddressData>;
17
+ addressDateInstance: AddressData;
18
18
  constructor(options: PickOption);
19
19
  render: (value: Value) => React.JSX.Element;
20
20
  transTextToNumber: (value?: string) => string | number | undefined;
@@ -17,7 +17,6 @@ declare class ReceiverMobile implements ComponentInterface {
17
17
  renderExport: (value: any, record: Record) => any;
18
18
  editRender: (value: any) => React.JSX.Element;
19
19
  filterConfig: (item: ColumnConfig) => {
20
- searchDefaultConditions: "in";
21
20
  type: string;
22
21
  id: string;
23
22
  name: string;
@@ -11,7 +11,6 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
- import { SYMBOL } from "../../constant";
15
14
  var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options) {
16
15
  var _this = this;
17
16
  _classCallCheck(this, ReceiverMobile);
@@ -69,7 +68,6 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
69
68
  });
70
69
  _defineProperty(this, "filterConfig", function (item) {
71
70
  return {
72
- searchDefaultConditions: SYMBOL.in,
73
71
  type: item.type,
74
72
  id: item.id,
75
73
  // 过滤组件id
@@ -17,7 +17,6 @@ declare class ReceiverName implements ComponentInterface {
17
17
  renderExport: (value: any, record: Record) => any;
18
18
  editRender: () => React.JSX.Element;
19
19
  filterConfig: (item: ColumnConfig) => {
20
- searchDefaultConditions: "in";
21
20
  type: string;
22
21
  id: string;
23
22
  name: string;
@@ -11,7 +11,6 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
- import { SYMBOL } from "../../constant";
15
14
  var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
16
15
  var _this = this;
17
16
  _classCallCheck(this, ReceiverName);
@@ -66,7 +65,6 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
66
65
  });
67
66
  _defineProperty(this, "filterConfig", function (item) {
68
67
  return {
69
- searchDefaultConditions: SYMBOL.in,
70
68
  type: item.type,
71
69
  id: item.id,
72
70
  // 过滤组件id
@@ -26,7 +26,6 @@ declare class ERemark implements ComponentInterface {
26
26
  renderExport: (value: unknown, record: Record) => any;
27
27
  editRender: () => React.JSX.Element;
28
28
  filterConfig: (item: ColumnConfig) => {
29
- searchDefaultConditions: "in";
30
29
  type: string;
31
30
  id: string;
32
31
  name: string;
@@ -17,7 +17,6 @@ import trade5 from "./flag/trade-icon-flag-5.png";
17
17
  import get from 'lodash/get';
18
18
  import ItemView from "../../commonComponents/ItemView";
19
19
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
20
- import { SYMBOL } from "../../constant";
21
20
  var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
22
21
  var _this = this,
23
22
  _this$componentConfig3;
@@ -85,7 +84,6 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
85
84
  });
86
85
  _defineProperty(this, "filterConfig", function (item) {
87
86
  return {
88
- searchDefaultConditions: SYMBOL.in,
89
87
  type: item.type,
90
88
  id: item.id,
91
89
  // 过滤组件id
@@ -30,7 +30,6 @@ declare class ReturnLogistics implements ComponentInterface {
30
30
  renderExport: () => null;
31
31
  editRender: (value: any) => React.JSX.Element;
32
32
  filterConfig: (item: ColumnConfig) => ({
33
- searchDefaultConditions: "in";
34
33
  type: string;
35
34
  id: string;
36
35
  name: string;
@@ -38,7 +37,6 @@ declare class ReturnLogistics implements ComponentInterface {
38
37
  options: any[];
39
38
  filterFn: (value: string) => (i: Record) => boolean;
40
39
  } | {
41
- searchDefaultConditions: "in";
42
40
  type: string;
43
41
  id: string;
44
42
  name: string;
@@ -16,14 +16,11 @@ declare class BasicSelect implements ComponentInterface {
16
16
  getComponentValue: (r: Record) => any;
17
17
  renderExport: (value: any, record: Record) => any;
18
18
  filterConfig: (item: ColumnConfig) => {
19
- searchDefaultConditions: "in";
20
19
  type: string;
21
20
  id: string;
22
21
  name: string;
23
22
  filterComponentType: "MultipleSelect";
24
- props: {
25
- options: any[];
26
- };
23
+ options: any[];
27
24
  filterFn: (value: string) => (i: Record) => boolean;
28
25
  };
29
26
  }
@@ -11,7 +11,6 @@ import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
- import { SYMBOL } from "../../constant";
15
14
  var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
16
15
  var _this = this;
17
16
  _classCallCheck(this, BasicSelect);
@@ -60,16 +59,13 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
60
59
  _defineProperty(this, "filterConfig", function (item) {
61
60
  var _item$config;
62
61
  return {
63
- searchDefaultConditions: SYMBOL.in,
64
62
  type: item.type,
65
63
  id: item.id,
66
64
  // 过滤组件id
67
65
  name: item.name,
68
66
  // 过滤组件名称
69
67
  filterComponentType: 'MultipleSelect',
70
- props: {
71
- options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
72
- },
68
+ options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
73
69
  filterFn: function filterFn(value) {
74
70
  return function (i) {
75
71
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'select'));
@@ -16,15 +16,12 @@ declare class ShopInput implements ComponentInterface {
16
16
  renderClient: () => null;
17
17
  editRender: () => null;
18
18
  filterConfig: (item: ColumnConfig) => {
19
- searchDefaultConditions: "in";
20
19
  type: string;
21
20
  id: string;
22
21
  name: string;
23
22
  filterComponentType: "ShopList";
24
- props: {
25
- shopList: any[];
26
- mode: string;
27
- };
23
+ shopList: any[];
24
+ mode: string;
28
25
  filterFn: (value: string) => (i: Record) => boolean | undefined;
29
26
  };
30
27
  }
@@ -8,7 +8,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
8
8
  import React from 'react';
9
9
  import PlatformAvatar from "../../commonComponents/PlatformAvatar";
10
10
  import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
11
- import { SYMBOL } from "../../constant";
12
11
  var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
13
12
  var _this = this;
14
13
  _classCallCheck(this, ShopInput);
@@ -47,17 +46,14 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
47
46
  _defineProperty(this, "filterConfig", function (item) {
48
47
  var _this$effects;
49
48
  return {
50
- searchDefaultConditions: SYMBOL.in,
51
49
  type: item.type,
52
50
  id: item.id,
53
51
  // 过滤组件id
54
52
  name: item.name,
55
53
  // 过滤组件名称
56
54
  filterComponentType: 'ShopList',
57
- props: {
58
- shopList: (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopList) || [],
59
- mode: 'multiple'
60
- },
55
+ shopList: (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopList) || [],
56
+ mode: 'multiple',
61
57
  filterFn: function filterFn(value) {
62
58
  return function (i) {
63
59
  var _this$effects2, _this$effects2$shopLi, _this$effects2$shopLi2, _this$effects2$shopLi3;
@@ -16,7 +16,6 @@ declare class BasicInput implements ComponentInterface {
16
16
  renderExport: (value: any, record: Record) => any;
17
17
  editRender: () => React.JSX.Element;
18
18
  filterConfig: (item: ColumnConfig) => {
19
- searchDefaultConditions: "in";
20
19
  type: string;
21
20
  id: string;
22
21
  name: string;
@@ -11,7 +11,6 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
- import { SYMBOL } from "../../constant";
15
14
  var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
16
15
  var _this = this;
17
16
  _classCallCheck(this, BasicInput);
@@ -58,7 +57,6 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
58
57
  });
59
58
  _defineProperty(this, "filterConfig", function (item) {
60
59
  return {
61
- searchDefaultConditions: SYMBOL.in,
62
60
  type: item.type,
63
61
  id: item.id,
64
62
  // 过滤组件id
@@ -16,17 +16,14 @@ declare class Submitter implements ComponentInterface {
16
16
  renderClient: () => null;
17
17
  editRender: () => null;
18
18
  filterConfig: (item: ColumnConfig) => {
19
- searchDefaultConditions: "in";
20
19
  type: string;
21
20
  id: string;
22
21
  name: string;
23
22
  filterComponentType: "MultipleSelect";
24
- props: {
25
- options: {
26
- label: string;
27
- value: string;
28
- }[] | undefined;
29
- };
23
+ options: {
24
+ label: string;
25
+ value: string;
26
+ }[] | undefined;
30
27
  filterFn: (value: string) => (i: Record) => boolean;
31
28
  };
32
29
  }
@@ -7,7 +7,6 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
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
8
  import React from 'react';
9
9
  import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
10
- import { SYMBOL } from "../../constant";
11
10
  var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
12
11
  var _this = this;
13
12
  _classCallCheck(this, Submitter);
@@ -41,16 +40,13 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
41
40
  _defineProperty(this, "filterConfig", function (item) {
42
41
  var _this$effects;
43
42
  return {
44
- searchDefaultConditions: SYMBOL.in,
45
43
  type: item.type,
46
44
  id: item.id,
47
45
  // 过滤组件id
48
46
  name: item.name,
49
47
  // 过滤组件名称
50
48
  filterComponentType: 'MultipleSelect',
51
- props: {
52
- options: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList
53
- },
49
+ options: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList,
54
50
  filterFn: function filterFn(value) {
55
51
  return function (i) {
56
52
  return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
@@ -17,7 +17,6 @@ declare class SystemOrderNo implements ComponentInterface {
17
17
  renderExport: (value: string, record: Record) => any;
18
18
  editRender: () => React.JSX.Element;
19
19
  filterConfig: (item: ColumnConfig) => {
20
- searchDefaultConditions: "in";
21
20
  type: string;
22
21
  id: string;
23
22
  name: string;
@@ -11,7 +11,6 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
- import { SYMBOL } from "../../constant";
15
14
  var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
16
15
  var _this = this;
17
16
  _classCallCheck(this, SystemOrderNo);
@@ -59,7 +58,6 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
59
58
  });
60
59
  _defineProperty(this, "filterConfig", function (item) {
61
60
  return {
62
- searchDefaultConditions: SYMBOL.in,
63
61
  type: item.type,
64
62
  id: item.id,
65
63
  // 过滤组件id
@@ -17,7 +17,6 @@ declare class TemplateSelect implements ComponentInterface {
17
17
  renderClient: () => null;
18
18
  editRender: () => null;
19
19
  filterConfig: (item: ColumnConfig) => {
20
- searchDefaultConditions: "in";
21
20
  type: string;
22
21
  id: string;
23
22
  name: string;
@@ -9,7 +9,6 @@ import React from 'react';
9
9
  import find from 'lodash/find';
10
10
  import get from 'lodash/get';
11
11
  import { filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
12
- import { SYMBOL } from "../../constant";
13
12
  var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options) {
14
13
  var _this = this;
15
14
  _classCallCheck(this, TemplateSelect);
@@ -59,7 +58,6 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
59
58
  _defineProperty(this, "filterConfig", function (item) {
60
59
  var _this$effects3;
61
60
  return {
62
- searchDefaultConditions: SYMBOL.in,
63
61
  type: item.type,
64
62
  id: item.id,
65
63
  // 过滤组件id
@@ -16,7 +16,6 @@ declare class BasicInput implements ComponentInterface {
16
16
  renderClient: (record: Record) => React.JSX.Element | null;
17
17
  editRender: () => React.JSX.Element;
18
18
  filterConfig: (item: ColumnConfig) => {
19
- searchDefaultConditions: "in";
20
19
  type: string;
21
20
  id: string;
22
21
  name: string;
@@ -11,7 +11,6 @@ import { ApaasTextArea } from '@kmkf-fe-packages/basic-components';
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
- import { SYMBOL } from "../../constant";
15
14
  var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
16
15
  var _this = this;
17
16
  _classCallCheck(this, BasicInput);
@@ -58,7 +57,6 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
58
57
  });
59
58
  _defineProperty(this, "filterConfig", function (item) {
60
59
  return {
61
- searchDefaultConditions: SYMBOL.in,
62
60
  type: item.type,
63
61
  id: item.id,
64
62
  // 过滤组件id
@@ -17,7 +17,6 @@ declare class ThirdItemSelect implements ComponentInterface {
17
17
  renderExport: (value: any, record: Record) => any;
18
18
  editRender: () => React.JSX.Element;
19
19
  filterConfig: (item: ColumnConfig) => {
20
- searchDefaultConditions: "in";
21
20
  type: string;
22
21
  id: string;
23
22
  name: string;
@@ -12,7 +12,6 @@ import ItemEncode from "./ItemEncode";
12
12
  import { GoodImage } from "../Common";
13
13
  import ItemView from "../../commonComponents/ItemView";
14
14
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
15
- import { SYMBOL } from "../../constant";
16
15
  var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options) {
17
16
  var _this = this,
18
17
  _this$componentConfig2;
@@ -77,7 +76,6 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
77
76
  });
78
77
  _defineProperty(this, "filterConfig", function (item) {
79
78
  return {
80
- searchDefaultConditions: SYMBOL.in,
81
79
  type: item.type,
82
80
  id: item.id,
83
81
  // 过滤组件id
@@ -25,7 +25,6 @@ declare class BasicDataTime implements ComponentInterface {
25
25
  editRender: () => React.JSX.Element;
26
26
  getKeyByComponentType: (type: string) => "tradeCreateDateTime" | "tradePaymentDateTime" | "tradeDeliveryDateTime" | "tradeClosingDateTime" | undefined;
27
27
  filterConfig: (item: ColumnConfig) => {
28
- searchDefaultConditions: "between";
29
28
  type: string;
30
29
  id: string;
31
30
  name: string;
@@ -11,7 +11,6 @@ import { DateTime } from "../DataTime";
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
- import { SYMBOL } from "../../constant";
15
14
  var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
16
15
  var _this = this;
17
16
  _classCallCheck(this, BasicDataTime);
@@ -91,7 +90,6 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
91
90
  });
92
91
  _defineProperty(this, "filterConfig", function (item) {
93
92
  return {
94
- searchDefaultConditions: SYMBOL.between,
95
93
  type: item.type,
96
94
  id: item.id,
97
95
  // 过滤组件id
@@ -23,7 +23,6 @@ declare class ETradeId implements ComponentInterface {
23
23
  renderExport: (value: unknown, record: Record) => any;
24
24
  editRender: (value: any) => React.JSX.Element;
25
25
  filterConfig: (item: ColumnConfig) => {
26
- searchDefaultConditions: "in";
27
26
  type: string;
28
27
  id: string;
29
28
  name: string;