@kmkf-fe-packages/services-components 0.6.3-alpha.9 → 0.7.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.
- package/README.md +2 -0
- package/dist/esm/commonComponents/ItemView/index.d.ts +2 -2
- package/dist/esm/commonComponents/OperationLog/index.d.ts +2 -1
- package/dist/esm/commonComponents/OperationLog/index.js +28 -27
- 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 +6 -6
- package/dist/esm/components/ActualPayment/index.js +2 -4
- package/dist/esm/components/Address/index.d.ts +5 -6
- package/dist/esm/components/Address/index.js +1 -4
- package/dist/esm/components/Alipay/index.d.ts +5 -5
- package/dist/esm/components/Alipay/index.js +1 -4
- package/dist/esm/components/AlipayAccount/index.d.ts +6 -6
- package/dist/esm/components/AlipayAccount/index.js +2 -4
- package/dist/esm/components/AlipayName/index.d.ts +6 -6
- package/dist/esm/components/AlipayName/index.js +2 -4
- package/dist/esm/components/BuyerNick/index.d.ts +6 -9
- package/dist/esm/components/BuyerNick/index.js +1 -3
- package/dist/esm/components/Cascader/index.d.ts +6 -6
- package/dist/esm/components/Cascader/index.js +2 -4
- package/dist/esm/components/Checkbox/index.d.ts +5 -5
- package/dist/esm/components/Checkbox/index.js +8 -14
- package/dist/esm/components/Common/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.js +1 -4
- package/dist/esm/components/CompletedUser/index.d.ts +4 -4
- package/dist/esm/components/CompletedUser/index.js +2 -4
- package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
- package/dist/esm/components/DataTime/index.d.ts +7 -7
- package/dist/esm/components/DataTime/index.js +1 -3
- package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +6 -6
- package/dist/esm/components/EItemEnCode/index.js +5 -7
- package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
- package/dist/esm/components/EItemId/index.d.ts +6 -6
- package/dist/esm/components/EItemId/index.js +5 -7
- package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
- package/dist/esm/components/EItemSelect/index.d.ts +5 -6
- package/dist/esm/components/EItemSelect/index.js +3 -6
- package/dist/esm/components/ErpTradeId/index.d.ts +6 -6
- package/dist/esm/components/ErpTradeId/index.js +3 -5
- package/dist/esm/components/Express/index.d.ts +8 -8
- package/dist/esm/components/Express/index.js +3 -5
- package/dist/esm/components/ExpressCode/index.d.ts +8 -8
- package/dist/esm/components/ExpressCode/index.js +11 -12
- package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +6 -6
- package/dist/esm/components/FlowStatusSelect/index.js +1 -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 +5 -6
- package/dist/esm/components/Grade/index.js +1 -4
- package/dist/esm/components/Handler/index.d.ts +4 -4
- package/dist/esm/components/Handler/index.js +11 -8
- package/dist/esm/components/Input/index.d.ts +6 -6
- package/dist/esm/components/Input/index.js +2 -4
- package/dist/esm/components/JstItemSelect/index.d.ts +7 -7
- package/dist/esm/components/JstItemSelect/index.js +21 -24
- package/dist/esm/components/JstLogistics/index.d.ts +8 -7
- package/dist/esm/components/JstLogistics/index.js +11 -9
- package/dist/esm/components/JstSendGood/index.d.ts +6 -6
- package/dist/esm/components/JstSendGood/index.js +11 -9
- package/dist/esm/components/JstSupply/index.d.ts +6 -6
- package/dist/esm/components/JstSupply/index.js +11 -9
- package/dist/esm/components/Logistics/index.d.ts +7 -6
- package/dist/esm/components/Logistics/index.js +1 -4
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +17 -11
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +68 -29
- 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 +54 -9
- package/dist/esm/components/LogisticsInterception/index.js +50 -16
- 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 +6 -7
- package/dist/esm/components/MultSelect/index.js +3 -4
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +4 -4
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -4
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +4 -4
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +4 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -4
- package/dist/esm/components/Ordinary/index.d.ts +5 -5
- package/dist/esm/components/Ordinary/index.js +2 -5
- package/dist/esm/components/OrdinaryHeader/index.d.ts +2 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +6 -6
- package/dist/esm/components/Payment/AlipayNick.js +3 -4
- package/dist/esm/components/Payment/AlipayNo.d.ts +6 -6
- package/dist/esm/components/Payment/AlipayNo.js +4 -5
- package/dist/esm/components/Payment/AlipayTime.d.ts +6 -6
- package/dist/esm/components/Payment/AlipayTime.js +2 -6
- package/dist/esm/components/Payment/BuyerNick.d.ts +6 -6
- package/dist/esm/components/Payment/BuyerNick.js +2 -3
- package/dist/esm/components/Payment/PaymentAmount.d.ts +6 -6
- package/dist/esm/components/Payment/PaymentAmount.js +1 -3
- package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -4
- package/dist/esm/components/Payment/PaymentStatus.js +2 -4
- package/dist/esm/components/Payment/PaymentTid.d.ts +6 -6
- package/dist/esm/components/Payment/PaymentTid.js +1 -3
- package/dist/esm/components/Payment/index.d.ts +7 -5
- package/dist/esm/components/Payment/index.js +1 -4
- package/dist/esm/components/Picture/index.d.ts +6 -6
- package/dist/esm/components/Picture/index.js +1 -1
- package/dist/esm/components/PlatForm/index.d.ts +4 -4
- package/dist/esm/components/PlatForm/index.js +1 -3
- package/dist/esm/components/Popover/index.d.ts +2 -2
- package/dist/esm/components/Radio/index.d.ts +7 -6
- package/dist/esm/components/Radio/index.js +1 -0
- package/dist/esm/components/Rate/index.d.ts +6 -6
- package/dist/esm/components/Rate/index.js +4 -11
- package/dist/esm/components/ReceiverAddress/index.d.ts +6 -6
- package/dist/esm/components/ReceiverAddress/index.js +3 -3
- package/dist/esm/components/ReceiverMobile/index.d.ts +6 -6
- package/dist/esm/components/ReceiverMobile/index.js +2 -4
- package/dist/esm/components/ReceiverName/index.d.ts +6 -6
- package/dist/esm/components/ReceiverName/index.js +2 -4
- package/dist/esm/components/Remark/index.d.ts +7 -6
- package/dist/esm/components/Remark/index.js +1 -0
- package/dist/esm/components/ReturnLogistics/index.d.ts +7 -6
- package/dist/esm/components/ReturnLogistics/index.js +1 -4
- package/dist/esm/components/Select/index.d.ts +6 -6
- package/dist/esm/components/Select/index.js +1 -3
- package/dist/esm/components/ShopInput/index.d.ts +3 -3
- package/dist/esm/components/ShopInput/index.js +1 -3
- package/dist/esm/components/ShopName/index.d.ts +6 -6
- package/dist/esm/components/ShopName/index.js +3 -5
- package/dist/esm/components/Submitter/index.d.ts +4 -4
- package/dist/esm/components/Submitter/index.js +2 -4
- package/dist/esm/components/SystemOrderNo/index.d.ts +6 -6
- package/dist/esm/components/SystemOrderNo/index.js +2 -4
- package/dist/esm/components/TemplateSelect/index.d.ts +5 -5
- package/dist/esm/components/TemplateSelect/index.js +2 -4
- package/dist/esm/components/TextArea/index.d.ts +6 -6
- package/dist/esm/components/TextArea/index.js +2 -4
- package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +6 -6
- package/dist/esm/components/ThirdItemSelect/index.js +5 -8
- package/dist/esm/components/TradeDateTime/index.d.ts +7 -6
- package/dist/esm/components/TradeDateTime/index.js +1 -0
- package/dist/esm/components/TradeId/index.d.ts +6 -6
- package/dist/esm/components/TradeId/index.js +2 -4
- package/dist/esm/components/WorkOrderId/index.d.ts +5 -5
- package/dist/esm/components/WorkOrderId/index.js +1 -3
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/type.d.ts +13 -15
- package/package.json +10 -5
|
@@ -34,9 +34,6 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
|
34
34
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
35
35
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
36
36
|
});
|
|
37
|
-
_defineProperty(this, "render", function () {
|
|
38
|
-
return null;
|
|
39
|
-
});
|
|
40
37
|
_defineProperty(this, "renderClient", function () {
|
|
41
38
|
return null;
|
|
42
39
|
});
|
|
@@ -46,6 +43,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
|
46
43
|
_defineProperty(this, "filterConfig", function (item) {
|
|
47
44
|
var platData = _this.platInstance.getPlatSelectList();
|
|
48
45
|
return {
|
|
46
|
+
type: item.type,
|
|
49
47
|
id: item.id,
|
|
50
48
|
// 过滤组件id
|
|
51
49
|
name: item.name,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Popover: ({ Overlay, ShowComponent }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Popover: ({ Overlay, ShowComponent }: any) => React.JSX.Element;
|
|
3
3
|
export default Popover;
|
|
@@ -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 type Value = {
|
|
4
4
|
value?: string;
|
|
5
5
|
other?: string;
|
|
@@ -13,17 +13,18 @@ declare class BasicRadio implements ComponentInterface {
|
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
15
|
constructor(options: PickOption);
|
|
16
|
-
render: (value: Value) => JSX.Element;
|
|
17
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
16
|
+
render: (value: Value) => React.JSX.Element;
|
|
17
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
19
19
|
getComponentValue: (r: Record) => {
|
|
20
20
|
value: any;
|
|
21
21
|
other: any;
|
|
22
22
|
};
|
|
23
23
|
renderExport: (value: any, record: Record) => string;
|
|
24
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
25
|
-
editRender: () => JSX.Element;
|
|
24
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
25
|
+
editRender: () => React.JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
+
type: string;
|
|
27
28
|
id: string;
|
|
28
29
|
name: string;
|
|
29
30
|
filterComponentType: "MultipleSelect";
|
|
@@ -68,6 +68,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
|
68
68
|
_defineProperty(this, "filterConfig", function (item) {
|
|
69
69
|
var _item$config, _item$config2, _item$config2$options, _item$config3;
|
|
70
70
|
return {
|
|
71
|
+
type: item.type,
|
|
71
72
|
id: item.id,
|
|
72
73
|
// 过滤组件id
|
|
73
74
|
name: item.name,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare type Value = {
|
|
4
4
|
name: string;
|
|
5
5
|
value: number;
|
|
@@ -17,13 +17,13 @@ declare class BasicRate implements ComponentInterface {
|
|
|
17
17
|
isCombinationComponent: boolean;
|
|
18
18
|
children: ComponentInterface[];
|
|
19
19
|
constructor(options: PickOption);
|
|
20
|
-
render: (value: Value) => JSX.Element;
|
|
21
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
22
|
-
renderPc: (value: any, record: Record) => JSX.Element | null;
|
|
23
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
20
|
+
render: (value: Value) => React.JSX.Element;
|
|
21
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
22
|
+
renderPc: (value: any, record: Record) => React.JSX.Element | null;
|
|
23
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
24
24
|
getComponentValue: (r: Record) => any;
|
|
25
25
|
renderExport: (value: any, record: any) => any;
|
|
26
|
-
editRender: () => JSX.Element;
|
|
26
|
+
editRender: () => React.JSX.Element;
|
|
27
27
|
filterConfig: () => never[];
|
|
28
28
|
}
|
|
29
29
|
export default BasicRate;
|
|
@@ -13,8 +13,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
13
13
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
14
|
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
15
|
var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
|
|
16
|
-
var _this = this
|
|
17
|
-
_this$componentConfig;
|
|
16
|
+
var _this = this;
|
|
18
17
|
_classCallCheck(this, BasicRate);
|
|
19
18
|
_defineProperty(this, "name", void 0);
|
|
20
19
|
_defineProperty(this, "id", void 0);
|
|
@@ -100,11 +99,12 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
|
|
|
100
99
|
return textArr === null || textArr === void 0 ? void 0 : textArr.join(';');
|
|
101
100
|
});
|
|
102
101
|
_defineProperty(this, "editRender", function () {
|
|
102
|
+
var _this$componentConfig, _this$componentConfig2;
|
|
103
103
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
104
104
|
title: _this.name,
|
|
105
105
|
name: _this.id,
|
|
106
106
|
rules: _this.rules,
|
|
107
|
-
required: false,
|
|
107
|
+
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
108
108
|
component: /*#__PURE__*/React.createElement(ApaasRate, _extends({}, _this.componentConfig, {
|
|
109
109
|
allowClear: false,
|
|
110
110
|
style: {
|
|
@@ -125,14 +125,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
|
|
|
125
125
|
this.componentConfig = options.componentConfig;
|
|
126
126
|
this.isCombinationComponent = false;
|
|
127
127
|
this.children = [];
|
|
128
|
-
this.rules =
|
|
129
|
-
validator: function validator(_, value) {
|
|
130
|
-
if (value && !value.length) {
|
|
131
|
-
return Promise.reject(new Error("\u8BF7\u9009\u62E9".concat(_this.name)));
|
|
132
|
-
}
|
|
133
|
-
return Promise.resolve();
|
|
134
|
-
}
|
|
135
|
-
}] : [];
|
|
128
|
+
this.rules = [];
|
|
136
129
|
this.rateMap = {
|
|
137
130
|
0: '',
|
|
138
131
|
0.5: '非常差',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare type Value = {
|
|
5
5
|
address?: (string | number)[];
|
|
@@ -16,17 +16,17 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
addressDateInstance: AddressData;
|
|
18
18
|
constructor(options: PickOption);
|
|
19
|
-
render: (value: Value
|
|
19
|
+
render: (value: Value) => React.JSX.Element;
|
|
20
20
|
transTextToNumber: (value?: string) => string | number | undefined;
|
|
21
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
22
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
21
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
22
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
23
23
|
getComponentValue: (r: Record) => {
|
|
24
24
|
address: any[];
|
|
25
25
|
detail: any;
|
|
26
26
|
};
|
|
27
27
|
renderExport: (value: any, record: any) => string;
|
|
28
|
-
renderClient: (record: any) => JSX.Element | null;
|
|
29
|
-
editRender: (
|
|
28
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
29
|
+
editRender: () => React.JSX.Element;
|
|
30
30
|
filterConfig: () => never[];
|
|
31
31
|
}
|
|
32
32
|
export default BasicInput;
|
|
@@ -25,7 +25,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
25
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
26
|
_defineProperty(this, "children", void 0);
|
|
27
27
|
_defineProperty(this, "addressDateInstance", void 0);
|
|
28
|
-
_defineProperty(this, "render", function (value
|
|
28
|
+
_defineProperty(this, "render", function (value) {
|
|
29
29
|
var _value$address;
|
|
30
30
|
return /*#__PURE__*/React.createElement("span", {
|
|
31
31
|
className: "pointer"
|
|
@@ -86,10 +86,10 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
86
86
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
87
87
|
id: _this.id,
|
|
88
88
|
label: _this.name,
|
|
89
|
-
value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id]
|
|
89
|
+
value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
|
|
90
90
|
}) : null;
|
|
91
91
|
});
|
|
92
|
-
_defineProperty(this, "editRender", function (
|
|
92
|
+
_defineProperty(this, "editRender", function () {
|
|
93
93
|
var _this$componentConfig, _this$componentConfig2;
|
|
94
94
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
95
95
|
title: _this.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 ReceiverMobile implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,14 +10,14 @@ declare class ReceiverMobile implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
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;
|
|
17
16
|
getComponentValue: (r: Record) => any;
|
|
18
17
|
renderExport: (value: any, record: Record) => any;
|
|
19
|
-
editRender: (value: any) => JSX.Element;
|
|
18
|
+
editRender: (value: any) => React.JSX.Element;
|
|
20
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
21
21
|
id: string;
|
|
22
22
|
name: string;
|
|
23
23
|
filterComponentType: "Input";
|
|
@@ -22,14 +22,11 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(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, record) {
|
|
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,
|
|
31
28
|
label: _this.name,
|
|
32
|
-
value:
|
|
29
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
33
30
|
}) : null;
|
|
34
31
|
});
|
|
35
32
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -71,6 +68,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
71
68
|
});
|
|
72
69
|
_defineProperty(this, "filterConfig", function (item) {
|
|
73
70
|
return {
|
|
71
|
+
type: item.type,
|
|
74
72
|
id: item.id,
|
|
75
73
|
// 过滤组件id
|
|
76
74
|
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 ReceiverName implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -10,14 +10,14 @@ declare class ReceiverName implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
13
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
14
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
17
16
|
getComponentValue: (r: Record) => any;
|
|
18
17
|
renderExport: (value: any, record: Record) => any;
|
|
19
|
-
editRender: () => JSX.Element;
|
|
18
|
+
editRender: () => React.JSX.Element;
|
|
20
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
21
21
|
id: string;
|
|
22
22
|
name: string;
|
|
23
23
|
filterComponentType: "Input";
|
|
@@ -22,14 +22,11 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(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, record) {
|
|
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,
|
|
31
28
|
label: _this.name,
|
|
32
|
-
value:
|
|
29
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
33
30
|
}) : null;
|
|
34
31
|
});
|
|
35
32
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -68,6 +65,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
68
65
|
});
|
|
69
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
70
67
|
return {
|
|
68
|
+
type: item.type,
|
|
71
69
|
id: item.id,
|
|
72
70
|
// 过滤组件id
|
|
73
71
|
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 type Value = {
|
|
4
4
|
flag?: number | string;
|
|
5
5
|
remark?: string;
|
|
@@ -15,17 +15,18 @@ declare class ERemark implements ComponentInterface {
|
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
constructor(options: PickOption);
|
|
18
|
-
render: (value: Value) => JSX.Element;
|
|
19
|
-
renderClient: (record: Record) => JSX.Element | null;
|
|
20
|
-
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
21
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
18
|
+
render: (value: Value) => React.JSX.Element;
|
|
19
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
20
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
21
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
22
22
|
getComponentValue: (r: Record) => {
|
|
23
23
|
remark: any;
|
|
24
24
|
flag: any;
|
|
25
25
|
};
|
|
26
26
|
renderExport: (value: unknown, record: Record) => any;
|
|
27
|
-
editRender: () => JSX.Element;
|
|
27
|
+
editRender: () => React.JSX.Element;
|
|
28
28
|
filterConfig: (item: ColumnConfig) => {
|
|
29
|
+
type: string;
|
|
29
30
|
id: string;
|
|
30
31
|
name: string;
|
|
31
32
|
filterComponentType: "Input";
|
|
@@ -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
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
import Express from '../Express';
|
|
5
5
|
import ExpressCode from '../ExpressCode';
|
|
@@ -14,29 +14,30 @@ declare class ReturnLogistics implements ComponentInterface {
|
|
|
14
14
|
dataType: DataType;
|
|
15
15
|
showContains: boolean;
|
|
16
16
|
componentConfig: ComponentInterface["componentConfig"];
|
|
17
|
-
expressDateInstance: ExpressData
|
|
17
|
+
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
18
18
|
express: Express;
|
|
19
19
|
expressCode: ExpressCode;
|
|
20
20
|
isCombinationComponent: boolean;
|
|
21
21
|
children: ComponentInterface[];
|
|
22
22
|
constructor(options: PickOption);
|
|
23
|
-
|
|
24
|
-
renderClient: (record: any) => JSX.Element;
|
|
23
|
+
renderClient: (record: any) => React.JSX.Element;
|
|
25
24
|
renderPc: () => null;
|
|
26
|
-
renderLog: (r: Record) => JSX.Element;
|
|
25
|
+
renderLog: (r: Record) => React.JSX.Element;
|
|
27
26
|
getComponentValue: (r: Record) => {
|
|
28
27
|
company: any;
|
|
29
28
|
order: any;
|
|
30
29
|
};
|
|
31
30
|
renderExport: () => null;
|
|
32
|
-
editRender: (value: any) => JSX.Element;
|
|
31
|
+
editRender: (value: any) => React.JSX.Element;
|
|
33
32
|
filterConfig: (item: ColumnConfig) => ({
|
|
33
|
+
type: string;
|
|
34
34
|
id: string;
|
|
35
35
|
name: string;
|
|
36
36
|
filterComponentType: "MultipleSelect";
|
|
37
37
|
options: any[];
|
|
38
38
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
39
39
|
} | {
|
|
40
|
+
type: string;
|
|
40
41
|
id: string;
|
|
41
42
|
name: string;
|
|
42
43
|
filterComponentType: "Input";
|
|
@@ -33,9 +33,6 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
33
33
|
_defineProperty(this, "expressCode", void 0);
|
|
34
34
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
35
35
|
_defineProperty(this, "children", void 0);
|
|
36
|
-
_defineProperty(this, "render", function () {
|
|
37
|
-
return null;
|
|
38
|
-
});
|
|
39
36
|
_defineProperty(this, "renderClient", function (record) {
|
|
40
37
|
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record));
|
|
41
38
|
});
|
|
@@ -43,7 +40,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
43
40
|
return null;
|
|
44
41
|
});
|
|
45
42
|
_defineProperty(this, "renderLog", function (r) {
|
|
46
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderLog(r), _this.expressCode.renderLog(r));
|
|
43
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, _this.express.name, ": ", _this.express.renderLog(r)), /*#__PURE__*/React.createElement("div", null, _this.expressCode.name, ": ", _this.expressCode.renderLog(r)));
|
|
47
44
|
});
|
|
48
45
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
49
46
|
return {
|
|
@@ -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 BasicSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -9,14 +9,14 @@ declare class BasicSelect implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
12
|
+
editRender: () => React.JSX.Element;
|
|
13
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
14
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
17
16
|
getComponentValue: (r: Record) => any;
|
|
18
17
|
renderExport: (value: any, record: Record) => any;
|
|
19
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
filterComponentType: "MultipleSelect";
|
|
@@ -21,9 +21,6 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(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, "editRender", function () {
|
|
28
25
|
var _this$componentConfig, _this$componentConfig2;
|
|
29
26
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
@@ -62,6 +59,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
62
59
|
_defineProperty(this, "filterConfig", function (item) {
|
|
63
60
|
var _item$config;
|
|
64
61
|
return {
|
|
62
|
+
type: item.type,
|
|
65
63
|
id: item.id,
|
|
66
64
|
// 过滤组件id
|
|
67
65
|
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 ShopInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
@@ -9,14 +9,14 @@ declare class ShopInput implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderPc: (shopName: unknown, record: any) => JSX.Element;
|
|
12
|
+
renderPc: (shopName: unknown, record: any) => React.JSX.Element;
|
|
13
13
|
renderLog: (record: Record) => any;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: any, record: Record) => any;
|
|
16
|
-
render: () => null;
|
|
17
16
|
renderClient: () => null;
|
|
18
17
|
editRender: () => null;
|
|
19
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
filterComponentType: "ShopList";
|
|
@@ -37,9 +37,6 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
37
37
|
var _record;
|
|
38
38
|
return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--';
|
|
39
39
|
});
|
|
40
|
-
_defineProperty(this, "render", function () {
|
|
41
|
-
return null;
|
|
42
|
-
});
|
|
43
40
|
_defineProperty(this, "renderClient", function () {
|
|
44
41
|
return null;
|
|
45
42
|
});
|
|
@@ -49,6 +46,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
49
46
|
_defineProperty(this, "filterConfig", function (item) {
|
|
50
47
|
var _this$effects;
|
|
51
48
|
return {
|
|
49
|
+
type: item.type,
|
|
52
50
|
id: item.id,
|
|
53
51
|
// 过滤组件id
|
|
54
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,14 +9,14 @@ declare class BasicInput implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
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;
|
|
16
15
|
getComponentValue: (r: Record) => any;
|
|
17
16
|
renderExport: (value: any, record: Record) => any;
|
|
18
|
-
editRender: (
|
|
17
|
+
editRender: () => React.JSX.Element;
|
|
19
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
filterComponentType: "Input";
|
|
@@ -21,14 +21,11 @@ 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) {
|
|
@@ -46,7 +43,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
46
43
|
var _record2;
|
|
47
44
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_shopName")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
48
45
|
});
|
|
49
|
-
_defineProperty(this, "editRender", function (
|
|
46
|
+
_defineProperty(this, "editRender", function () {
|
|
50
47
|
var _this$componentConfig, _this$componentConfig2;
|
|
51
48
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
52
49
|
title: _this.name,
|
|
@@ -60,6 +57,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
60
57
|
});
|
|
61
58
|
_defineProperty(this, "filterConfig", function (item) {
|
|
62
59
|
return {
|
|
60
|
+
type: item.type,
|
|
63
61
|
id: item.id,
|
|
64
62
|
// 过滤组件id
|
|
65
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,14 +9,14 @@ declare class Submitter implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
13
|
-
renderLog: (
|
|
12
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
13
|
+
renderLog: () => null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: any, record: Record) => any;
|
|
16
|
-
render: () => null;
|
|
17
16
|
renderClient: () => null;
|
|
18
17
|
editRender: () => null;
|
|
19
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
filterComponentType: "MultipleSelect";
|
|
@@ -21,7 +21,7 @@ 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 (
|
|
24
|
+
_defineProperty(this, "renderLog", function () {
|
|
25
25
|
return null;
|
|
26
26
|
});
|
|
27
27
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
@@ -31,9 +31,6 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
31
31
|
var _record2;
|
|
32
32
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
33
33
|
});
|
|
34
|
-
_defineProperty(this, "render", function () {
|
|
35
|
-
return null;
|
|
36
|
-
});
|
|
37
34
|
_defineProperty(this, "renderClient", function () {
|
|
38
35
|
return null;
|
|
39
36
|
});
|
|
@@ -43,6 +40,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
43
40
|
_defineProperty(this, "filterConfig", function (item) {
|
|
44
41
|
var _this$effects;
|
|
45
42
|
return {
|
|
43
|
+
type: item.type,
|
|
46
44
|
id: item.id,
|
|
47
45
|
// 过滤组件id
|
|
48
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,14 +10,14 @@ declare class SystemOrderNo implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
renderLog: (r: Record) => JSX.Element | null;
|
|
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;
|
|
17
16
|
getComponentValue: (r: Record) => any;
|
|
18
17
|
renderExport: (value: string, record: Record) => any;
|
|
19
|
-
editRender: (
|
|
18
|
+
editRender: () => React.JSX.Element;
|
|
20
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
21
21
|
id: string;
|
|
22
22
|
name: string;
|
|
23
23
|
filterComponentType: "Input";
|