@kmkf-fe-packages/services-components 0.6.3-alpha.6 → 0.6.3-alpha.60
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/README.md +2 -0
- package/dist/esm/commonComponents/ItemView/index.d.ts +3 -3
- package/dist/esm/commonComponents/OperationLog/index.d.ts +9 -0
- package/dist/esm/commonComponents/OperationLog/index.js +127 -0
- package/dist/esm/commonComponents/PlatBuyer/index.d.ts +2 -2
- package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +2 -2
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +9 -0
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +92 -0
- package/dist/esm/commonComponents/ShopList/index.d.ts +2 -2
- package/dist/esm/commonComponents/Wangwang/index.d.ts +2 -2
- package/dist/esm/components/ActualPayment/index.d.ts +7 -5
- package/dist/esm/components/ActualPayment/index.js +9 -4
- package/dist/esm/components/Address/index.d.ts +6 -5
- package/dist/esm/components/Address/index.js +8 -4
- package/dist/esm/components/Alipay/index.d.ts +9 -4
- package/dist/esm/components/Alipay/index.js +9 -3
- package/dist/esm/components/AlipayAccount/index.d.ts +7 -5
- package/dist/esm/components/AlipayAccount/index.js +11 -5
- package/dist/esm/components/AlipayName/index.d.ts +7 -5
- package/dist/esm/components/AlipayName/index.js +11 -5
- package/dist/esm/components/BuyerNick/index.d.ts +10 -8
- package/dist/esm/components/BuyerNick/index.js +11 -3
- package/dist/esm/components/Cascader/index.d.ts +9 -7
- package/dist/esm/components/Cascader/index.js +9 -4
- package/dist/esm/components/Checkbox/index.d.ts +10 -5
- package/dist/esm/components/Checkbox/index.js +21 -6
- package/dist/esm/components/Common/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +7 -5
- package/dist/esm/components/CommonDataTime/index.js +8 -4
- package/dist/esm/components/CompletedUser/index.d.ts +5 -3
- package/dist/esm/components/CompletedUser/index.js +7 -3
- package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
- package/dist/esm/components/DataTime/index.d.ts +9 -7
- package/dist/esm/components/DataTime/index.js +8 -3
- package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +7 -5
- package/dist/esm/components/EItemEnCode/index.js +12 -7
- package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
- package/dist/esm/components/EItemId/index.d.ts +7 -5
- package/dist/esm/components/EItemId/index.js +12 -7
- package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
- package/dist/esm/components/EItemSelect/index.d.ts +6 -5
- package/dist/esm/components/EItemSelect/index.js +10 -6
- package/dist/esm/components/ErpTradeId/index.d.ts +8 -6
- package/dist/esm/components/ErpTradeId/index.js +10 -5
- package/dist/esm/components/Express/index.d.ts +8 -6
- package/dist/esm/components/Express/index.js +12 -7
- package/dist/esm/components/ExpressCode/index.d.ts +10 -8
- package/dist/esm/components/ExpressCode/index.js +19 -12
- package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +7 -5
- package/dist/esm/components/FlowStatusSelect/index.js +11 -3
- package/dist/esm/components/GetFormItem/index.d.ts +3 -3
- package/dist/esm/components/GetFormItem/index.js +3 -3
- package/dist/esm/components/Grade/index.d.ts +6 -5
- package/dist/esm/components/Grade/index.js +8 -4
- package/dist/esm/components/Handler/index.d.ts +5 -5
- package/dist/esm/components/Handler/index.js +18 -8
- package/dist/esm/components/Input/index.d.ts +7 -5
- package/dist/esm/components/Input/index.js +9 -4
- package/dist/esm/components/JstItemSelect/index.d.ts +8 -6
- package/dist/esm/components/JstItemSelect/index.js +29 -24
- package/dist/esm/components/JstLogistics/index.d.ts +10 -7
- package/dist/esm/components/JstLogistics/index.js +19 -9
- package/dist/esm/components/JstSendGood/index.d.ts +7 -5
- package/dist/esm/components/JstSendGood/index.js +19 -9
- package/dist/esm/components/JstSupply/index.d.ts +7 -5
- package/dist/esm/components/JstSupply/index.js +19 -9
- package/dist/esm/components/Logistics/index.d.ts +12 -6
- package/dist/esm/components/Logistics/index.js +9 -3
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +17 -9
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +72 -27
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +38 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +102 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +21 -9
- package/dist/esm/components/LogisticsInterception/InterceptType.js +40 -18
- package/dist/esm/components/LogisticsInterception/columnHeader.d.ts +5 -0
- package/dist/esm/components/LogisticsInterception/columnHeader.js +55 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +55 -8
- package/dist/esm/components/LogisticsInterception/index.js +54 -14
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +30 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +74 -0
- package/dist/esm/components/MultSelect/index.d.ts +7 -6
- package/dist/esm/components/MultSelect/index.js +10 -4
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +7 -5
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +12 -6
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +7 -5
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +11 -5
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +7 -5
- package/dist/esm/components/Ordinary/OrdinarySerial.js +12 -6
- package/dist/esm/components/Ordinary/index.d.ts +12 -6
- package/dist/esm/components/Ordinary/index.js +12 -5
- package/dist/esm/components/OrdinaryHeader/index.d.ts +2 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +7 -5
- package/dist/esm/components/Payment/AlipayNick.js +13 -6
- package/dist/esm/components/Payment/AlipayNo.d.ts +7 -5
- package/dist/esm/components/Payment/AlipayNo.js +13 -7
- package/dist/esm/components/Payment/AlipayTime.d.ts +8 -6
- package/dist/esm/components/Payment/AlipayTime.js +11 -8
- package/dist/esm/components/Payment/BuyerNick.d.ts +7 -5
- package/dist/esm/components/Payment/BuyerNick.js +12 -6
- package/dist/esm/components/Payment/PaymentAmount.d.ts +7 -5
- package/dist/esm/components/Payment/PaymentAmount.js +10 -4
- package/dist/esm/components/Payment/PaymentStatus.d.ts +7 -5
- package/dist/esm/components/Payment/PaymentStatus.js +11 -5
- package/dist/esm/components/Payment/PaymentTid.d.ts +8 -6
- package/dist/esm/components/Payment/PaymentTid.js +10 -4
- package/dist/esm/components/Payment/index.d.ts +20 -8
- package/dist/esm/components/Payment/index.js +14 -3
- package/dist/esm/components/Picture/index.d.ts +7 -5
- package/dist/esm/components/Picture/index.js +8 -1
- package/dist/esm/components/PlatForm/index.d.ts +10 -5
- package/dist/esm/components/PlatForm/index.js +8 -3
- package/dist/esm/components/Popover/index.d.ts +2 -2
- package/dist/esm/components/Radio/index.d.ts +11 -5
- package/dist/esm/components/Radio/index.js +11 -0
- package/dist/esm/components/Rate/index.d.ts +7 -5
- package/dist/esm/components/Rate/index.js +11 -11
- package/dist/esm/components/ReceiverAddress/index.d.ts +10 -5
- package/dist/esm/components/ReceiverAddress/index.js +13 -3
- package/dist/esm/components/ReceiverMobile/index.d.ts +7 -5
- package/dist/esm/components/ReceiverMobile/index.js +9 -4
- package/dist/esm/components/ReceiverName/index.d.ts +7 -5
- package/dist/esm/components/ReceiverName/index.js +9 -4
- package/dist/esm/components/Remark/index.d.ts +11 -5
- package/dist/esm/components/Remark/index.js +11 -0
- package/dist/esm/components/ReturnLogistics/index.d.ts +14 -8
- package/dist/esm/components/ReturnLogistics/index.js +9 -3
- package/dist/esm/components/Select/index.d.ts +7 -5
- package/dist/esm/components/Select/index.js +8 -3
- package/dist/esm/components/ShopInput/index.d.ts +5 -3
- package/dist/esm/components/ShopInput/index.js +9 -4
- package/dist/esm/components/ShopName/index.d.ts +7 -5
- package/dist/esm/components/ShopName/index.js +10 -5
- package/dist/esm/components/Submitter/index.d.ts +5 -3
- package/dist/esm/components/Submitter/index.js +7 -3
- package/dist/esm/components/SystemOrderNo/index.d.ts +8 -6
- package/dist/esm/components/SystemOrderNo/index.js +9 -4
- package/dist/esm/components/TemplateSelect/index.d.ts +6 -4
- package/dist/esm/components/TemplateSelect/index.js +10 -5
- package/dist/esm/components/TextArea/index.d.ts +7 -5
- package/dist/esm/components/TextArea/index.js +9 -4
- package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +7 -5
- package/dist/esm/components/ThirdItemSelect/index.js +12 -8
- package/dist/esm/components/TradeDateTime/index.d.ts +10 -6
- package/dist/esm/components/TradeDateTime/index.js +18 -7
- package/dist/esm/components/TradeId/index.d.ts +8 -6
- package/dist/esm/components/TradeId/index.js +9 -4
- package/dist/esm/components/WorkOrderId/index.d.ts +6 -4
- package/dist/esm/components/WorkOrderId/index.js +10 -4
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +4 -1
- package/dist/esm/type.d.ts +20 -14
- package/package.json +10 -5
|
@@ -24,15 +24,19 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
24
24
|
styles: {
|
|
25
25
|
marginRight: 5
|
|
26
26
|
}
|
|
27
|
-
}),
|
|
27
|
+
}), record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
|
|
28
|
+
});
|
|
29
|
+
_defineProperty(this, "renderLog", function (record) {
|
|
30
|
+
if (!(record !== null && record !== void 0 && record[_this.id])) return null;
|
|
31
|
+
return record === null || record === void 0 ? void 0 : record["".concat(_this.id)];
|
|
32
|
+
});
|
|
33
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
34
|
+
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
28
35
|
});
|
|
29
36
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
30
37
|
var _record;
|
|
31
38
|
return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--';
|
|
32
39
|
});
|
|
33
|
-
_defineProperty(this, "render", function () {
|
|
34
|
-
return null;
|
|
35
|
-
});
|
|
36
40
|
_defineProperty(this, "renderClient", function () {
|
|
37
41
|
return null;
|
|
38
42
|
});
|
|
@@ -42,6 +46,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
42
46
|
_defineProperty(this, "filterConfig", function (item) {
|
|
43
47
|
var _this$effects;
|
|
44
48
|
return {
|
|
49
|
+
type: item.type,
|
|
45
50
|
id: item.id,
|
|
46
51
|
// 过滤组件id
|
|
47
52
|
name: item.name,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class BasicInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -9,12 +9,14 @@ declare class BasicInput implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
13
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
14
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
15
|
+
getComponentValue: (r: Record) => any;
|
|
15
16
|
renderExport: (value: any, record: Record) => any;
|
|
16
|
-
editRender: (
|
|
17
|
+
editRender: () => React.JSX.Element;
|
|
17
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
18
20
|
id: string;
|
|
19
21
|
name: string;
|
|
20
22
|
filterComponentType: "Input";
|
|
@@ -21,25 +21,29 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
21
21
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
22
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
23
23
|
_defineProperty(this, "children", void 0);
|
|
24
|
-
_defineProperty(this, "render", function (value) {
|
|
25
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
26
|
-
});
|
|
27
24
|
_defineProperty(this, "renderClient", function (record) {
|
|
28
25
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
29
26
|
id: _this.id,
|
|
30
27
|
label: _this.name,
|
|
31
|
-
value:
|
|
28
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
32
29
|
}) : null;
|
|
33
30
|
});
|
|
34
31
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
35
32
|
var _record;
|
|
36
33
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_shopName")]) !== null && _record !== void 0 ? _record : '--');
|
|
37
34
|
});
|
|
35
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
36
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_shopName")])) return null;
|
|
37
|
+
return _this.renderPc(undefined, r);
|
|
38
|
+
});
|
|
39
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
40
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_shopName")];
|
|
41
|
+
});
|
|
38
42
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
39
43
|
var _record2;
|
|
40
44
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_shopName")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
41
45
|
});
|
|
42
|
-
_defineProperty(this, "editRender", function (
|
|
46
|
+
_defineProperty(this, "editRender", function () {
|
|
43
47
|
var _this$componentConfig, _this$componentConfig2;
|
|
44
48
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
45
49
|
title: _this.name,
|
|
@@ -53,6 +57,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
53
57
|
});
|
|
54
58
|
_defineProperty(this, "filterConfig", function (item) {
|
|
55
59
|
return {
|
|
60
|
+
type: item.type,
|
|
56
61
|
id: item.id,
|
|
57
62
|
// 过滤组件id
|
|
58
63
|
name: item.name,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type';
|
|
3
3
|
declare class Submitter implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
@@ -9,12 +9,14 @@ declare class Submitter implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderPc: (value:
|
|
12
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
13
|
+
renderLog: () => null;
|
|
14
|
+
getComponentValue: (r: Record) => any;
|
|
13
15
|
renderExport: (value: any, record: Record) => any;
|
|
14
|
-
render: () => null;
|
|
15
16
|
renderClient: () => null;
|
|
16
17
|
editRender: () => null;
|
|
17
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
18
20
|
id: string;
|
|
19
21
|
name: string;
|
|
20
22
|
filterComponentType: "MultipleSelect";
|
|
@@ -21,13 +21,16 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
21
21
|
var _record;
|
|
22
22
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--');
|
|
23
23
|
});
|
|
24
|
+
_defineProperty(this, "renderLog", function () {
|
|
25
|
+
return null;
|
|
26
|
+
});
|
|
27
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
28
|
+
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
29
|
+
});
|
|
24
30
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
25
31
|
var _record2;
|
|
26
32
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
27
33
|
});
|
|
28
|
-
_defineProperty(this, "render", function () {
|
|
29
|
-
return null;
|
|
30
|
-
});
|
|
31
34
|
_defineProperty(this, "renderClient", function () {
|
|
32
35
|
return null;
|
|
33
36
|
});
|
|
@@ -37,6 +40,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
37
40
|
_defineProperty(this, "filterConfig", function (item) {
|
|
38
41
|
var _this$effects;
|
|
39
42
|
return {
|
|
43
|
+
type: item.type,
|
|
40
44
|
id: item.id,
|
|
41
45
|
// 过滤组件id
|
|
42
46
|
name: item.name,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class SystemOrderNo implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,16 +10,18 @@ declare class SystemOrderNo implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
14
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
16
|
+
getComponentValue: (r: Record) => any;
|
|
16
17
|
renderExport: (value: string, record: Record) => any;
|
|
17
|
-
editRender: (
|
|
18
|
+
editRender: () => React.JSX.Element;
|
|
18
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
19
21
|
id: string;
|
|
20
22
|
name: string;
|
|
21
23
|
filterComponentType: "Input";
|
|
22
|
-
filterFn: (value: string) => (i: Record) =>
|
|
24
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
23
25
|
};
|
|
24
26
|
}
|
|
25
27
|
export default SystemOrderNo;
|
|
@@ -22,9 +22,6 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
22
22
|
_defineProperty(this, "effects", void 0);
|
|
23
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
24
|
_defineProperty(this, "children", void 0);
|
|
25
|
-
_defineProperty(this, "render", function (value) {
|
|
26
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
27
|
-
});
|
|
28
25
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
26
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
30
27
|
id: _this.id,
|
|
@@ -36,11 +33,18 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
36
33
|
var _record;
|
|
37
34
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_systemOrderNo")]) !== null && _record !== void 0 ? _record : '--');
|
|
38
35
|
});
|
|
36
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
37
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_systemOrderNo")])) return null;
|
|
38
|
+
return _this.renderPc(undefined, r);
|
|
39
|
+
});
|
|
40
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
41
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_systemOrderNo")];
|
|
42
|
+
});
|
|
39
43
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
40
44
|
var _record2;
|
|
41
45
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_systemOrderNo")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
42
46
|
});
|
|
43
|
-
_defineProperty(this, "editRender", function (
|
|
47
|
+
_defineProperty(this, "editRender", function () {
|
|
44
48
|
var _this$componentConfig, _this$componentConfig2;
|
|
45
49
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
46
50
|
title: _this.name,
|
|
@@ -54,6 +58,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
54
58
|
});
|
|
55
59
|
_defineProperty(this, "filterConfig", function (item) {
|
|
56
60
|
return {
|
|
61
|
+
type: item.type,
|
|
57
62
|
id: item.id,
|
|
58
63
|
// 过滤组件id
|
|
59
64
|
name: item.name,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class TemplateSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,14 @@ declare class TemplateSelect implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
13
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
14
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
15
|
+
getComponentValue: (r: Record) => any;
|
|
14
16
|
renderExport: (value: any, record: Record) => string;
|
|
15
|
-
render: () => null;
|
|
16
17
|
renderClient: () => null;
|
|
17
|
-
editRender: (
|
|
18
|
+
editRender: () => null;
|
|
18
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
19
21
|
id: string;
|
|
20
22
|
name: string;
|
|
21
23
|
filterComponentType: "MultipleSelect";
|
|
@@ -8,7 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import find from 'lodash/find';
|
|
10
10
|
import get from 'lodash/get';
|
|
11
|
-
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
+
import { filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
12
|
var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options) {
|
|
13
13
|
var _this = this;
|
|
14
14
|
_classCallCheck(this, TemplateSelect);
|
|
@@ -31,6 +31,13 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
|
|
|
31
31
|
});
|
|
32
32
|
return /*#__PURE__*/React.createElement("span", null, "".concat(get(item, 'fLabel'), "/").concat(get(item, 'label')));
|
|
33
33
|
});
|
|
34
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
35
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
36
|
+
return _this.renderPc(undefined, r);
|
|
37
|
+
});
|
|
38
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
39
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
40
|
+
});
|
|
34
41
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
35
42
|
var _this$effects2;
|
|
36
43
|
if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
|
|
@@ -42,18 +49,16 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
|
|
|
42
49
|
});
|
|
43
50
|
return "".concat(get(item, 'fLabel'), "/").concat(get(item, 'label'));
|
|
44
51
|
});
|
|
45
|
-
_defineProperty(this, "render", function () {
|
|
46
|
-
return null;
|
|
47
|
-
});
|
|
48
52
|
_defineProperty(this, "renderClient", function () {
|
|
49
53
|
return null;
|
|
50
54
|
});
|
|
51
|
-
_defineProperty(this, "editRender", function (
|
|
55
|
+
_defineProperty(this, "editRender", function () {
|
|
52
56
|
return null;
|
|
53
57
|
});
|
|
54
58
|
_defineProperty(this, "filterConfig", function (item) {
|
|
55
59
|
var _this$effects3;
|
|
56
60
|
return {
|
|
61
|
+
type: item.type,
|
|
57
62
|
id: item.id,
|
|
58
63
|
// 过滤组件id
|
|
59
64
|
name: item.name,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class BasicInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -9,12 +9,14 @@ declare class BasicInput implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
13
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
14
|
+
getComponentValue: (r: Record) => any;
|
|
14
15
|
renderExport: (value: any, record: Record) => any;
|
|
15
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
16
|
-
editRender: () => JSX.Element;
|
|
16
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
17
|
+
editRender: () => React.JSX.Element;
|
|
17
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
18
20
|
id: string;
|
|
19
21
|
name: string;
|
|
20
22
|
filterComponentType: "Input";
|
|
@@ -21,13 +21,17 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
21
21
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
22
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
23
23
|
_defineProperty(this, "children", void 0);
|
|
24
|
-
_defineProperty(this, "render", function (value) {
|
|
25
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
26
|
-
});
|
|
27
24
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
28
25
|
var _record;
|
|
29
26
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_textarea")]) !== null && _record !== void 0 ? _record : '--');
|
|
30
27
|
});
|
|
28
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
29
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_textarea")])) return null;
|
|
30
|
+
return _this.renderPc(undefined, r);
|
|
31
|
+
});
|
|
32
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
33
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_textarea")];
|
|
34
|
+
});
|
|
31
35
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
32
36
|
var _record2;
|
|
33
37
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_textarea")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
@@ -36,7 +40,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
36
40
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
37
41
|
id: _this.id,
|
|
38
42
|
label: _this.name,
|
|
39
|
-
value:
|
|
43
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
40
44
|
}) : null;
|
|
41
45
|
});
|
|
42
46
|
_defineProperty(this, "editRender", function () {
|
|
@@ -53,6 +57,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
53
57
|
});
|
|
54
58
|
_defineProperty(this, "filterConfig", function (item) {
|
|
55
59
|
return {
|
|
60
|
+
type: item.type,
|
|
56
61
|
id: item.id,
|
|
57
62
|
// 过滤组件id
|
|
58
63
|
name: item.name,
|
|
@@ -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 ItemEncode: (props: JSX.IntrinsicAttributes & GoodsProps) => JSX.Element;
|
|
3
|
+
declare const ItemEncode: (props: JSX.IntrinsicAttributes & GoodsProps) => React.JSX.Element;
|
|
4
4
|
export default ItemEncode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class ThirdItemSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,12 +10,14 @@ declare class ThirdItemSelect implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
14
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
16
|
+
getComponentValue: (r: Record) => any;
|
|
16
17
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
editRender: () => JSX.Element;
|
|
18
|
+
editRender: () => React.JSX.Element;
|
|
18
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
19
21
|
id: string;
|
|
20
22
|
name: string;
|
|
21
23
|
filterComponentType: "Input";
|
|
@@ -24,18 +24,14 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
24
24
|
_defineProperty(this, "effects", void 0);
|
|
25
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
26
|
_defineProperty(this, "children", void 0);
|
|
27
|
-
_defineProperty(this, "render", function (value) {
|
|
28
|
-
//兼容多个商品
|
|
29
|
-
return /*#__PURE__*/React.createElement(GoodImage, {
|
|
30
|
-
list: value,
|
|
31
|
-
type: "itemThird"
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
27
|
_defineProperty(this, "renderClient", function (record) {
|
|
35
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
36
29
|
id: _this.id,
|
|
37
30
|
label: _this.name,
|
|
38
|
-
value:
|
|
31
|
+
value: /*#__PURE__*/React.createElement(GoodImage, {
|
|
32
|
+
list: record === null || record === void 0 ? void 0 : record[_this.id],
|
|
33
|
+
type: "itemThird"
|
|
34
|
+
})
|
|
39
35
|
}) : null;
|
|
40
36
|
});
|
|
41
37
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -49,6 +45,13 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
49
45
|
type: "itemThird"
|
|
50
46
|
});
|
|
51
47
|
});
|
|
48
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
49
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_itemList")])) return null;
|
|
50
|
+
return _this.renderPc(undefined, r);
|
|
51
|
+
});
|
|
52
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
53
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_itemList")];
|
|
54
|
+
});
|
|
52
55
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
53
56
|
var _ref;
|
|
54
57
|
return (_ref = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_itemList")]) || []) === null || _ref === void 0 ? void 0 : _ref.map(function (item) {
|
|
@@ -73,6 +76,7 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
73
76
|
});
|
|
74
77
|
_defineProperty(this, "filterConfig", function (item) {
|
|
75
78
|
return {
|
|
79
|
+
type: item.type,
|
|
76
80
|
id: item.id,
|
|
77
81
|
// 过滤组件id
|
|
78
82
|
name: item.name,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, DataType, Record, ColumnConfig } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare type Value = string | string[] | undefined;
|
|
4
4
|
declare class BasicDataTime implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -14,18 +14,22 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
14
14
|
componentConfig: ComponentInterface["componentConfig"];
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
|
+
dataMap: Record;
|
|
17
18
|
constructor(options: PickOption);
|
|
18
|
-
render: (value: Value) => JSX.Element;
|
|
19
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
20
|
-
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
19
|
+
render: (value: Value) => React.JSX.Element;
|
|
20
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
21
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
22
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
23
|
+
getComponentValue: (r: Record) => any;
|
|
21
24
|
renderExport: (value: unknown, record: Record) => any;
|
|
22
|
-
editRender: () => JSX.Element;
|
|
25
|
+
editRender: () => React.JSX.Element;
|
|
23
26
|
getKeyByComponentType: (type: string) => "tradeCreateDateTime" | "tradePaymentDateTime" | "tradeDeliveryDateTime" | "tradeClosingDateTime" | undefined;
|
|
24
27
|
filterConfig: (item: ColumnConfig) => {
|
|
28
|
+
type: string;
|
|
25
29
|
id: string;
|
|
26
30
|
name: string;
|
|
27
31
|
filterComponentType: "Date";
|
|
28
|
-
filterFn: (value: string[]) => (i: Record) =>
|
|
32
|
+
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
29
33
|
};
|
|
30
34
|
}
|
|
31
35
|
export default BasicDataTime;
|
|
@@ -26,6 +26,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
26
26
|
_defineProperty(this, "componentConfig", void 0);
|
|
27
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
28
|
_defineProperty(this, "children", void 0);
|
|
29
|
+
_defineProperty(this, "dataMap", void 0);
|
|
29
30
|
_defineProperty(this, "render", function (value) {
|
|
30
31
|
return /*#__PURE__*/React.createElement("span", null, Array.isArray(value) ? value.join('~') : /*#__PURE__*/React.createElement("span", null, value));
|
|
31
32
|
});
|
|
@@ -39,13 +40,16 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
39
40
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
40
41
|
var _record;
|
|
41
42
|
var type = _this.type;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(_this.dataMap[type])]) !== null && _record !== void 0 ? _record : '--');
|
|
44
|
+
});
|
|
45
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
46
|
+
var type = _this.type;
|
|
47
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(_this.dataMap[type])])) return null;
|
|
48
|
+
return _this.renderPc(undefined, r);
|
|
49
|
+
});
|
|
50
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
51
|
+
var type = _this.type;
|
|
52
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(_this.dataMap[type])];
|
|
49
53
|
});
|
|
50
54
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
51
55
|
var _record2;
|
|
@@ -86,6 +90,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
86
90
|
});
|
|
87
91
|
_defineProperty(this, "filterConfig", function (item) {
|
|
88
92
|
return {
|
|
93
|
+
type: item.type,
|
|
89
94
|
id: item.id,
|
|
90
95
|
// 过滤组件id
|
|
91
96
|
name: item.name,
|
|
@@ -112,5 +117,11 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
112
117
|
this.rules = [];
|
|
113
118
|
this.isCombinationComponent = false;
|
|
114
119
|
this.children = [];
|
|
120
|
+
this.dataMap = {
|
|
121
|
+
TRADE_CREATE_DATETIME: 'tradeCreateDateTime',
|
|
122
|
+
TRADE_PAYMENT_DATETIME: 'tradePaymentDateTime',
|
|
123
|
+
TRADE_DELIVERY_DATETIME: 'tradeDeliveryDateTime',
|
|
124
|
+
TRADE_CLOSING_DATETIME: 'tradeClosingDateTime'
|
|
125
|
+
};
|
|
115
126
|
});
|
|
116
127
|
export default BasicDataTime;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, DataType, Record, ColumnConfig } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class ETradeId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -16,16 +16,18 @@ declare class ETradeId implements ComponentInterface {
|
|
|
16
16
|
isCombinationComponent: boolean;
|
|
17
17
|
children: ComponentInterface[];
|
|
18
18
|
constructor(options: PickOption);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
21
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
22
|
+
getComponentValue: (r: Record) => any;
|
|
22
23
|
renderExport: (value: unknown, record: Record) => any;
|
|
23
|
-
editRender: (value: any) => JSX.Element;
|
|
24
|
+
editRender: (value: any) => React.JSX.Element;
|
|
24
25
|
filterConfig: (item: ColumnConfig) => {
|
|
26
|
+
type: string;
|
|
25
27
|
id: string;
|
|
26
28
|
name: string;
|
|
27
29
|
filterComponentType: "Input";
|
|
28
|
-
filterFn: (value: string) => (i: Record) =>
|
|
30
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
export default ETradeId;
|
|
@@ -28,20 +28,24 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
|
28
28
|
_defineProperty(this, "effects", void 0);
|
|
29
29
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
30
30
|
_defineProperty(this, "children", void 0);
|
|
31
|
-
_defineProperty(this, "render", function (value) {
|
|
32
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
33
|
-
});
|
|
34
31
|
_defineProperty(this, "renderClient", function (record) {
|
|
35
32
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
36
33
|
id: _this.id,
|
|
37
34
|
label: _this.name,
|
|
38
|
-
value:
|
|
35
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
39
36
|
}) : null;
|
|
40
37
|
});
|
|
41
38
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
42
39
|
var _record;
|
|
43
40
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_tradeId")]) !== null && _record !== void 0 ? _record : '--');
|
|
44
41
|
});
|
|
42
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
43
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_tradeId")])) return null;
|
|
44
|
+
return _this.renderPc(undefined, r);
|
|
45
|
+
});
|
|
46
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
47
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_tradeId")];
|
|
48
|
+
});
|
|
45
49
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
46
50
|
var _record2;
|
|
47
51
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_tradeId")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
@@ -67,6 +71,7 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
|
67
71
|
});
|
|
68
72
|
_defineProperty(this, "filterConfig", function (item) {
|
|
69
73
|
return {
|
|
74
|
+
type: item.type,
|
|
70
75
|
id: item.id,
|
|
71
76
|
// 过滤组件id
|
|
72
77
|
name: item.name,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class WorkOrderId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -11,12 +11,14 @@ declare class WorkOrderId implements ComponentInterface {
|
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
13
|
copyHandle: (text: string) => void;
|
|
14
|
-
renderPc: (value: any, record: any) => JSX.Element;
|
|
14
|
+
renderPc: (value: any, record: any) => React.JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
16
|
+
getComponentValue: (r: Record) => any;
|
|
15
17
|
renderExport: (value: any, record: any) => any;
|
|
16
|
-
render: () => null;
|
|
17
18
|
renderClient: () => null;
|
|
18
|
-
editRender: () => JSX.Element;
|
|
19
|
+
editRender: () => React.JSX.Element;
|
|
19
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
type: string;
|
|
20
22
|
id: string;
|
|
21
23
|
name: string;
|
|
22
24
|
filterComponentType: "Input";
|