@kmkf-fe-packages/services-components 0.7.2 → 0.7.3-alpha.1
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.
- package/dist/esm/commonComponents/Wangwang/index.d.ts +2 -2
- package/dist/esm/components/ActualPayment/index.d.ts +2 -1
- package/dist/esm/components/ActualPayment/index.js +3 -1
- package/dist/esm/components/Address/index.d.ts +11 -3
- package/dist/esm/components/Address/index.js +19 -3
- package/dist/esm/components/Alipay/index.d.ts +1 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +1 -0
- package/dist/esm/components/AlipayAccount/index.js +2 -0
- package/dist/esm/components/AlipayName/index.d.ts +1 -0
- package/dist/esm/components/AlipayName/index.js +2 -0
- package/dist/esm/components/BuyerNick/index.d.ts +1 -0
- package/dist/esm/components/BuyerNick/index.js +2 -0
- package/dist/esm/components/Cascader/index.d.ts +1 -0
- package/dist/esm/components/Cascader/index.js +2 -0
- package/dist/esm/components/Checkbox/index.d.ts +1 -0
- package/dist/esm/components/Checkbox/index.js +2 -0
- package/dist/esm/components/Common/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
- package/dist/esm/components/CommonDataTime/index.js +2 -0
- package/dist/esm/components/CompletedUser/index.d.ts +1 -0
- package/dist/esm/components/CompletedUser/index.js +2 -0
- package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
- package/dist/esm/components/DataTime/index.d.ts +1 -0
- package/dist/esm/components/DataTime/index.js +2 -0
- package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +1 -0
- package/dist/esm/components/EItemEnCode/index.js +2 -0
- package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
- package/dist/esm/components/EItemId/index.d.ts +1 -0
- package/dist/esm/components/EItemId/index.js +2 -0
- package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
- package/dist/esm/components/ErpTradeId/index.d.ts +1 -0
- package/dist/esm/components/ErpTradeId/index.js +2 -0
- package/dist/esm/components/Express/index.d.ts +1 -0
- package/dist/esm/components/Express/index.js +2 -0
- package/dist/esm/components/ExpressCode/index.d.ts +1 -0
- package/dist/esm/components/ExpressCode/index.js +2 -0
- package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +1 -0
- package/dist/esm/components/FlowStatusSelect/index.js +2 -0
- package/dist/esm/components/Handler/index.d.ts +1 -0
- package/dist/esm/components/Handler/index.js +2 -0
- package/dist/esm/components/Input/index.d.ts +1 -0
- package/dist/esm/components/Input/index.js +2 -0
- package/dist/esm/components/JstItemSelect/index.d.ts +1 -0
- package/dist/esm/components/JstItemSelect/index.js +19 -15
- package/dist/esm/components/JstLogistics/index.d.ts +2 -0
- package/dist/esm/components/JstLogistics/index.js +3 -0
- package/dist/esm/components/JstSendGood/index.d.ts +1 -0
- package/dist/esm/components/JstSendGood/index.js +3 -0
- package/dist/esm/components/JstSupply/index.d.ts +1 -0
- package/dist/esm/components/JstSupply/index.js +3 -0
- package/dist/esm/components/Logistics/index.d.ts +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -1
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +2 -1
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +2 -1
- package/dist/esm/components/LogisticsInterception/InterceptType.js +2 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +3 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +2 -0
- package/dist/esm/components/MultSelect/index.d.ts +1 -0
- package/dist/esm/components/MultSelect/index.js +2 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +3 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -0
- package/dist/esm/components/Ordinary/index.d.ts +10 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNick.js +2 -0
- package/dist/esm/components/Payment/AlipayNo.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNo.js +2 -0
- package/dist/esm/components/Payment/AlipayTime.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayTime.js +2 -0
- package/dist/esm/components/Payment/BuyerNick.d.ts +1 -0
- package/dist/esm/components/Payment/BuyerNick.js +2 -0
- package/dist/esm/components/Payment/PaymentAmount.d.ts +2 -1
- package/dist/esm/components/Payment/PaymentAmount.js +3 -1
- package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentStatus.js +2 -0
- package/dist/esm/components/Payment/PaymentTid.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentTid.js +2 -0
- package/dist/esm/components/Payment/index.d.ts +10 -0
- package/dist/esm/components/PlatForm/index.d.ts +2 -1
- package/dist/esm/components/PlatForm/index.js +2 -0
- package/dist/esm/components/Popover/index.d.ts +2 -2
- package/dist/esm/components/Radio/index.d.ts +1 -0
- package/dist/esm/components/Radio/index.js +2 -0
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -1
- package/dist/esm/components/ReceiverMobile/index.d.ts +1 -0
- package/dist/esm/components/ReceiverMobile/index.js +2 -0
- package/dist/esm/components/ReceiverName/index.d.ts +1 -0
- package/dist/esm/components/ReceiverName/index.js +2 -0
- package/dist/esm/components/Remark/index.d.ts +1 -0
- package/dist/esm/components/Remark/index.js +2 -0
- package/dist/esm/components/ReturnLogistics/index.d.ts +2 -0
- package/dist/esm/components/Select/index.d.ts +1 -0
- package/dist/esm/components/Select/index.js +2 -0
- package/dist/esm/components/ShopInput/index.d.ts +1 -0
- package/dist/esm/components/ShopInput/index.js +2 -0
- package/dist/esm/components/ShopName/index.d.ts +1 -0
- package/dist/esm/components/ShopName/index.js +2 -0
- package/dist/esm/components/Submitter/index.d.ts +1 -0
- package/dist/esm/components/Submitter/index.js +2 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +1 -0
- package/dist/esm/components/SystemOrderNo/index.js +2 -0
- package/dist/esm/components/TemplateSelect/index.d.ts +1 -0
- package/dist/esm/components/TemplateSelect/index.js +2 -0
- package/dist/esm/components/TextArea/index.d.ts +1 -0
- package/dist/esm/components/TextArea/index.js +2 -0
- package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +1 -0
- package/dist/esm/components/ThirdItemSelect/index.js +2 -0
- package/dist/esm/components/TradeDateTime/index.d.ts +1 -0
- package/dist/esm/components/TradeDateTime/index.js +2 -0
- package/dist/esm/components/TradeId/index.d.ts +1 -0
- package/dist/esm/components/TradeId/index.js +2 -0
- package/dist/esm/components/WorkOrderId/index.d.ts +1 -0
- package/dist/esm/components/WorkOrderId/index.js +2 -0
- package/dist/esm/constant.d.ts +14 -0
- package/dist/esm/constant.js +14 -0
- package/dist/esm/type.d.ts +4 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare type WangwangProps = {
|
|
3
3
|
nick: string;
|
|
4
4
|
buyerOpenUid: string;
|
|
5
5
|
};
|
|
6
|
-
declare const Wangwang: (props: WangwangProps) => JSX.Element;
|
|
6
|
+
declare const Wangwang: (props: WangwangProps) => React.JSX.Element;
|
|
7
7
|
export default Wangwang;
|
|
@@ -16,10 +16,11 @@ declare class ActualPayment implements ComponentInterface {
|
|
|
16
16
|
renderExport: (value: unknown, record: Record) => any;
|
|
17
17
|
editRender: () => React.JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
searchDefaultConditions: "between";
|
|
19
20
|
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
22
|
-
filterComponentType: "
|
|
23
|
+
filterComponentType: "Rate";
|
|
23
24
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
24
25
|
};
|
|
25
26
|
}
|
|
@@ -11,6 +11,7 @@ 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";
|
|
14
15
|
var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, ActualPayment);
|
|
@@ -57,12 +58,13 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
57
58
|
});
|
|
58
59
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
60
|
return {
|
|
61
|
+
searchDefaultConditions: SYMBOL.between,
|
|
60
62
|
type: item.type,
|
|
61
63
|
id: item.id,
|
|
62
64
|
// 过滤组件id
|
|
63
65
|
name: item.name,
|
|
64
66
|
// 过滤组件名称
|
|
65
|
-
filterComponentType: '
|
|
67
|
+
filterComponentType: 'Rate',
|
|
66
68
|
filterFn: function filterFn(value) {
|
|
67
69
|
return function (i) {
|
|
68
70
|
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'actualPayment')).includes(value);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
1
|
+
import { ComponentInterface, PickOption, Record, ColumnConfig } from '../../type';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare type Value = (string | number)[] | undefined;
|
|
@@ -10,7 +10,7 @@ declare class Address implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
componentConfig: ComponentInterface["componentConfig"];
|
|
13
|
-
addressDateInstance: AddressData
|
|
13
|
+
addressDateInstance: InstanceType<typeof AddressData>;
|
|
14
14
|
constructor(options: PickOption);
|
|
15
15
|
/**
|
|
16
16
|
* 通过值计算展示内容
|
|
@@ -25,6 +25,14 @@ declare class Address implements ComponentInterface {
|
|
|
25
25
|
getComponentValue: (r: Record) => any[];
|
|
26
26
|
renderExport: (value: any, record: any) => string;
|
|
27
27
|
editRender: () => React.JSX.Element;
|
|
28
|
-
filterConfig: () =>
|
|
28
|
+
filterConfig: (item: ColumnConfig) => {
|
|
29
|
+
searchDefaultConditions: "eq";
|
|
30
|
+
type: string;
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
filterComponentType: "Cascader";
|
|
34
|
+
options: any;
|
|
35
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
36
|
+
};
|
|
29
37
|
}
|
|
30
38
|
export default Address;
|
|
@@ -8,10 +8,12 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { ApaasAddress } from '@kmkf-fe-packages/basic-components';
|
|
10
10
|
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
+
import intersection from 'lodash/intersection';
|
|
11
12
|
import GetFormItem from "../GetFormItem";
|
|
12
13
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
15
|
import every from 'lodash/every';
|
|
16
|
+
import { SYMBOL } from "../../constant";
|
|
15
17
|
var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
16
18
|
var _this = this;
|
|
17
19
|
_classCallCheck(this, Address);
|
|
@@ -82,8 +84,22 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
82
84
|
component: /*#__PURE__*/React.createElement(ApaasAddress, _this.componentConfig)
|
|
83
85
|
});
|
|
84
86
|
});
|
|
85
|
-
_defineProperty(this, "filterConfig", function () {
|
|
86
|
-
return
|
|
87
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
88
|
+
return {
|
|
89
|
+
searchDefaultConditions: SYMBOL.eq,
|
|
90
|
+
type: item.type,
|
|
91
|
+
id: item.id,
|
|
92
|
+
// 过滤组件id
|
|
93
|
+
name: item.name,
|
|
94
|
+
// 过滤组件名称
|
|
95
|
+
filterComponentType: 'Cascader',
|
|
96
|
+
options: _this.addressDateInstance.addressOptions || [],
|
|
97
|
+
filterFn: function filterFn(value) {
|
|
98
|
+
return function (i) {
|
|
99
|
+
return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
};
|
|
87
103
|
});
|
|
88
104
|
this.name = options.name;
|
|
89
105
|
this.id = options.id;
|
|
@@ -19,6 +19,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value?: string) => string;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
searchDefaultConditions: "in";
|
|
22
23
|
type: string;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
@@ -10,6 +10,7 @@ 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";
|
|
13
14
|
var AlipayAccount = function AlipayAccount(props) {
|
|
14
15
|
return !props.isSingle ? /*#__PURE__*/React.createElement(ApaasInput, props) : null;
|
|
15
16
|
};
|
|
@@ -65,6 +66,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
65
66
|
});
|
|
66
67
|
_defineProperty(this, "filterConfig", function (item) {
|
|
67
68
|
return {
|
|
69
|
+
searchDefaultConditions: SYMBOL.in,
|
|
68
70
|
type: item.type,
|
|
69
71
|
id: "".concat(item.id, "_alipayAccount"),
|
|
70
72
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u8D26\u53F7"),
|
|
@@ -19,6 +19,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value?: string) => string;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
searchDefaultConditions: "in";
|
|
22
23
|
type: string;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
@@ -10,6 +10,7 @@ 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";
|
|
13
14
|
var AlipayName = function AlipayName(props) {
|
|
14
15
|
return !props.isSingle ? /*#__PURE__*/React.createElement(ApaasInput, props) : null;
|
|
15
16
|
};
|
|
@@ -65,6 +66,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
65
66
|
});
|
|
66
67
|
_defineProperty(this, "filterConfig", function (item) {
|
|
67
68
|
return {
|
|
69
|
+
searchDefaultConditions: SYMBOL.in,
|
|
68
70
|
type: item.type,
|
|
69
71
|
id: "".concat(item.id, "_alipayName"),
|
|
70
72
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u540D\u79F0"),
|
|
@@ -20,6 +20,7 @@ declare class EBuyerNick implements ComponentInterface {
|
|
|
20
20
|
renderExport: (value: any, record: any) => any;
|
|
21
21
|
editRender: (value: any) => React.JSX.Element;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
+
searchDefaultConditions: "in";
|
|
23
24
|
type: string;
|
|
24
25
|
id: string;
|
|
25
26
|
name: string;
|
|
@@ -12,6 +12,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import PlatBuyer from "../../commonComponents/PlatBuyer";
|
|
14
14
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
+
import { SYMBOL } from "../../constant";
|
|
15
16
|
var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
16
17
|
var _this = this,
|
|
17
18
|
_this$componentConfig3,
|
|
@@ -76,6 +77,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
76
77
|
});
|
|
77
78
|
_defineProperty(this, "filterConfig", function (item) {
|
|
78
79
|
return {
|
|
80
|
+
searchDefaultConditions: SYMBOL.in,
|
|
79
81
|
type: item.type,
|
|
80
82
|
id: "".concat(item.id, "_buyerNick"),
|
|
81
83
|
// 过滤组件id
|
|
@@ -22,6 +22,7 @@ declare class BasicCascader implements ComponentInterface {
|
|
|
22
22
|
renderExport: (value: any, record: Record) => string;
|
|
23
23
|
editRender: () => React.JSX.Element;
|
|
24
24
|
filterConfig: (item: ColumnConfig) => {
|
|
25
|
+
searchDefaultConditions: "eq";
|
|
25
26
|
type: string;
|
|
26
27
|
id: string;
|
|
27
28
|
name: string;
|
|
@@ -13,6 +13,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
13
13
|
import { findLabelBySelectValue, transMultSelectOptions } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
15
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
16
|
+
import { SYMBOL } from "../../constant";
|
|
16
17
|
var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
17
18
|
var _this = this;
|
|
18
19
|
_classCallCheck(this, BasicCascader);
|
|
@@ -87,6 +88,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
87
88
|
_defineProperty(this, "filterConfig", function (item) {
|
|
88
89
|
var _item$config;
|
|
89
90
|
return {
|
|
91
|
+
searchDefaultConditions: SYMBOL.eq,
|
|
90
92
|
type: item.type,
|
|
91
93
|
id: item.id,
|
|
92
94
|
// 过滤组件id
|
|
@@ -24,6 +24,7 @@ declare class BasicCheckbox implements ComponentInterface {
|
|
|
24
24
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
25
25
|
editRender: () => React.JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
+
searchDefaultConditions: "in";
|
|
27
28
|
type: string;
|
|
28
29
|
id: string;
|
|
29
30
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { ApaasCheckbox } 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";
|
|
14
15
|
var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
15
16
|
var _this = this,
|
|
16
17
|
_options$componentCon;
|
|
@@ -85,6 +86,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
|
85
86
|
_defineProperty(this, "filterConfig", function (item) {
|
|
86
87
|
var _item$config, _item$config2, _item$config2$options, _item$config3;
|
|
87
88
|
return {
|
|
89
|
+
searchDefaultConditions: SYMBOL.in,
|
|
88
90
|
type: item.type,
|
|
89
91
|
id: item.id,
|
|
90
92
|
// 过滤组件id
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare type getFormItemProps = {
|
|
3
3
|
name: string;
|
|
4
4
|
title: string;
|
|
@@ -6,13 +6,13 @@ declare type getFormItemProps = {
|
|
|
6
6
|
required: boolean;
|
|
7
7
|
component: JSX.Element | string | null;
|
|
8
8
|
};
|
|
9
|
-
export declare const getFormItem: ({ name, title, rules, required, component }: getFormItemProps) => JSX.Element;
|
|
9
|
+
export declare const getFormItem: ({ name, title, rules, required, component }: getFormItemProps) => React.JSX.Element;
|
|
10
10
|
export declare const showImage: ({ item, type, index }: {
|
|
11
11
|
item: any;
|
|
12
12
|
type: string;
|
|
13
13
|
index: number;
|
|
14
|
-
}) => JSX.Element;
|
|
15
|
-
export declare const ShowTotalImage: ({ total, allImage, type }: any) => JSX.Element;
|
|
16
|
-
export declare const GoodImage: ({ list, type }: any) => JSX.Element | null;
|
|
14
|
+
}) => React.JSX.Element;
|
|
15
|
+
export declare const ShowTotalImage: ({ total, allImage, type }: any) => React.JSX.Element;
|
|
16
|
+
export declare const GoodImage: ({ list, type }: any) => React.JSX.Element | null;
|
|
17
17
|
export declare const JstGoodImage: ({ list, type }: any) => any;
|
|
18
18
|
export {};
|
|
@@ -20,6 +20,7 @@ declare class CommonDataTime implements ComponentInterface {
|
|
|
20
20
|
renderExport: (value: any, record: Record) => string;
|
|
21
21
|
editRender: () => null;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
+
searchDefaultConditions: "between";
|
|
23
24
|
type: string;
|
|
24
25
|
id: string;
|
|
25
26
|
name: string;
|
|
@@ -9,6 +9,7 @@ import React from 'react';
|
|
|
9
9
|
import moment from 'moment';
|
|
10
10
|
import ItemView from "../../commonComponents/ItemView";
|
|
11
11
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
|
+
import { SYMBOL } from "../../constant";
|
|
12
13
|
|
|
13
14
|
/**
|
|
14
15
|
* 针对完成时间、创建时间、修改时间定义了3中类型
|
|
@@ -57,6 +58,7 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
|
|
|
57
58
|
});
|
|
58
59
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
60
|
return {
|
|
61
|
+
searchDefaultConditions: SYMBOL.between,
|
|
60
62
|
type: item.type,
|
|
61
63
|
id: item.id,
|
|
62
64
|
// 过滤组件id
|
|
@@ -7,6 +7,7 @@ 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";
|
|
10
11
|
var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
11
12
|
var _this = this;
|
|
12
13
|
_classCallCheck(this, CompletedUser);
|
|
@@ -40,6 +41,7 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
|
40
41
|
_defineProperty(this, "filterConfig", function (item) {
|
|
41
42
|
var _this$effects;
|
|
42
43
|
return {
|
|
44
|
+
searchDefaultConditions: SYMBOL.in,
|
|
43
45
|
type: item.type,
|
|
44
46
|
id: item.id,
|
|
45
47
|
// 过滤组件id
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare const DateType: ['DATE', 'DATE_TIME', 'DATE_RANGE', 'DATE_TIME_RANGE'];
|
|
3
3
|
export declare type ButtonType = typeof DateType[number];
|
|
4
4
|
export interface ApaasDate {
|
|
5
5
|
dateType?: ButtonType;
|
|
6
6
|
[propName: string]: any;
|
|
7
7
|
}
|
|
8
|
-
declare const Date: (props: ApaasDate) => JSX.Element;
|
|
8
|
+
declare const Date: (props: ApaasDate) => React.JSX.Element;
|
|
9
9
|
export default Date;
|
|
@@ -19,6 +19,7 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any, record: Record) => any;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
searchDefaultConditions: "between";
|
|
22
23
|
type: string;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
@@ -15,6 +15,7 @@ import moment from 'moment';
|
|
|
15
15
|
import GetFormItem from "../GetFormItem";
|
|
16
16
|
import ItemView from "../../commonComponents/ItemView";
|
|
17
17
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
18
|
+
import { SYMBOL } from "../../constant";
|
|
18
19
|
export var DateTime = function DateTime(_ref) {
|
|
19
20
|
var value = _ref.value,
|
|
20
21
|
onChange = _ref.onChange,
|
|
@@ -81,6 +82,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
81
82
|
_defineProperty(this, "filterConfig", function (item) {
|
|
82
83
|
var _item$config;
|
|
83
84
|
return {
|
|
85
|
+
searchDefaultConditions: SYMBOL.between,
|
|
84
86
|
type: item.type,
|
|
85
87
|
id: item.id,
|
|
86
88
|
// 过滤组件id
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ItemEncode: (props: JSX.IntrinsicAttributes & any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const ItemEncode: (props: JSX.IntrinsicAttributes & any) => React.JSX.Element;
|
|
3
3
|
export default ItemEncode;
|
|
@@ -17,6 +17,7 @@ declare class EItemEncode implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: unknown, record: Record) => any;
|
|
18
18
|
editRender: () => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
searchDefaultConditions: "in";
|
|
20
21
|
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
@@ -12,6 +12,7 @@ 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";
|
|
15
16
|
var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
|
|
16
17
|
var _this = this,
|
|
17
18
|
_this$componentConfig;
|
|
@@ -73,6 +74,7 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
|
|
|
73
74
|
});
|
|
74
75
|
_defineProperty(this, "filterConfig", function (item) {
|
|
75
76
|
return {
|
|
77
|
+
searchDefaultConditions: SYMBOL.in,
|
|
76
78
|
type: item.type,
|
|
77
79
|
id: item.id,
|
|
78
80
|
// 过滤组件id
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { GoodsProps } from '@kmkf-fe-packages/basic-components/dist/common/Goods';
|
|
3
|
-
declare const ItemId: (props: JSX.IntrinsicAttributes & GoodsProps) => JSX.Element;
|
|
3
|
+
declare const ItemId: (props: JSX.IntrinsicAttributes & GoodsProps) => React.JSX.Element;
|
|
4
4
|
export default ItemId;
|
|
@@ -17,6 +17,7 @@ declare class EItemId implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
18
|
editRender: () => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
searchDefaultConditions: "in";
|
|
20
21
|
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
@@ -12,6 +12,7 @@ import ItemId from "./ItemId";
|
|
|
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";
|
|
15
16
|
var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
16
17
|
var _this = this,
|
|
17
18
|
_this$componentConfig2;
|
|
@@ -74,6 +75,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
|
74
75
|
});
|
|
75
76
|
_defineProperty(this, "filterConfig", function (item) {
|
|
76
77
|
return {
|
|
78
|
+
searchDefaultConditions: SYMBOL.in,
|
|
77
79
|
type: item.type,
|
|
78
80
|
id: item.id,
|
|
79
81
|
// 过滤组件id
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { GoodsProps } from '@kmkf-fe-packages/basic-components/dist/common/Goods';
|
|
3
|
-
declare const ItemSelect: (props: JSX.IntrinsicAttributes & GoodsProps) => JSX.Element;
|
|
3
|
+
declare const ItemSelect: (props: JSX.IntrinsicAttributes & GoodsProps) => React.JSX.Element;
|
|
4
4
|
export default ItemSelect;
|
|
@@ -16,6 +16,7 @@ declare class ErpTradeId implements ComponentInterface {
|
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
17
|
editRender: () => React.JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
searchDefaultConditions: "in";
|
|
19
20
|
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
@@ -10,6 +10,7 @@ import { TradeId } 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";
|
|
13
14
|
var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
14
15
|
var _this = this;
|
|
15
16
|
_classCallCheck(this, ErpTradeId);
|
|
@@ -54,6 +55,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
54
55
|
});
|
|
55
56
|
_defineProperty(this, "filterConfig", function (item) {
|
|
56
57
|
return {
|
|
58
|
+
searchDefaultConditions: SYMBOL.in,
|
|
57
59
|
type: item.type,
|
|
58
60
|
id: item.id,
|
|
59
61
|
// 过滤组件id
|
|
@@ -20,6 +20,7 @@ declare class Express implements ComponentInterface {
|
|
|
20
20
|
renderExport: (value: string, record: Record) => any;
|
|
21
21
|
editRender: () => React.JSX.Element;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
+
searchDefaultConditions: "in";
|
|
23
24
|
type: string;
|
|
24
25
|
id: string;
|
|
25
26
|
name: string;
|
|
@@ -11,6 +11,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
11
|
import ExpressCompany from "../ExpressCompany";
|
|
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";
|
|
14
15
|
var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, Express);
|
|
@@ -62,6 +63,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
62
63
|
_defineProperty(this, "filterConfig", function (item) {
|
|
63
64
|
var subKey = item.subKey;
|
|
64
65
|
return {
|
|
66
|
+
searchDefaultConditions: SYMBOL.in,
|
|
65
67
|
type: item.type,
|
|
66
68
|
id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
|
|
67
69
|
name: "".concat(item.name, "-\u7269\u6D41\u516C\u53F8"),
|
|
@@ -18,6 +18,7 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
18
18
|
renderExport: (value: string, record: Record) => any;
|
|
19
19
|
editRender: () => React.JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
searchDefaultConditions: "in";
|
|
21
22
|
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
@@ -10,6 +10,7 @@ import { Input } from "antd";
|
|
|
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";
|
|
13
14
|
var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
14
15
|
var _this = this,
|
|
15
16
|
_this$componentConfig5;
|
|
@@ -58,6 +59,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
58
59
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
60
|
var subKey = item.subKey;
|
|
60
61
|
return {
|
|
62
|
+
searchDefaultConditions: SYMBOL.in,
|
|
61
63
|
type: item.type,
|
|
62
64
|
id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
|
|
63
65
|
name: "".concat(item.name, "-\u7269\u6D41\u5355\u53F7"),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ExpressCompany: (props: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const ExpressCompany: (props: any) => React.JSX.Element;
|
|
3
3
|
export default ExpressCompany;
|
|
@@ -12,6 +12,7 @@ import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
|
|
|
12
12
|
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
13
|
import GetFormItem from "../GetFormItem";
|
|
14
14
|
import get from 'lodash/get';
|
|
15
|
+
import { SYMBOL } from "../../constant";
|
|
15
16
|
var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
16
17
|
var _this = this;
|
|
17
18
|
_classCallCheck(this, WorkOrderId);
|
|
@@ -84,6 +85,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
84
85
|
_defineProperty(this, "filterConfig", function (item) {
|
|
85
86
|
var _Object$keys;
|
|
86
87
|
return {
|
|
88
|
+
searchDefaultConditions: SYMBOL.in,
|
|
87
89
|
type: item.type,
|
|
88
90
|
id: item.id,
|
|
89
91
|
// 过滤组件id
|
|
@@ -8,6 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import intersection from 'lodash/intersection';
|
|
10
10
|
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
+
import { SYMBOL } from "../../constant";
|
|
11
12
|
var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
12
13
|
var _this = this;
|
|
13
14
|
_classCallCheck(this, Handler);
|
|
@@ -47,6 +48,7 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
47
48
|
_defineProperty(this, "filterConfig", function (item) {
|
|
48
49
|
var _this$effects;
|
|
49
50
|
return {
|
|
51
|
+
searchDefaultConditions: SYMBOL.in,
|
|
50
52
|
type: item.type,
|
|
51
53
|
id: item.id,
|
|
52
54
|
// 过滤组件id
|
|
@@ -16,6 +16,7 @@ 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";
|
|
19
20
|
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
@@ -11,6 +11,7 @@ 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";
|
|
14
15
|
var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
15
16
|
var _this = this,
|
|
16
17
|
_options$componentCon;
|
|
@@ -58,6 +59,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
58
59
|
});
|
|
59
60
|
_defineProperty(this, "filterConfig", function (item) {
|
|
60
61
|
return {
|
|
62
|
+
searchDefaultConditions: SYMBOL.in,
|
|
61
63
|
type: item.type,
|
|
62
64
|
id: item.id,
|
|
63
65
|
// 过滤组件id
|
|
@@ -19,6 +19,7 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any, record: any) => any;
|
|
20
20
|
editRender: () => React.JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
searchDefaultConditions: "in";
|
|
22
23
|
type: string;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|