@kmkf-fe-packages/services-components 0.6.3-alpha.21 → 0.6.3-alpha.22
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/components/ActualPayment/index.d.ts +1 -1
- package/dist/esm/components/ActualPayment/index.js +1 -1
- package/dist/esm/components/Address/index.d.ts +1 -1
- package/dist/esm/components/Address/index.js +1 -1
- package/dist/esm/components/AlipayAccount/index.d.ts +1 -1
- package/dist/esm/components/AlipayAccount/index.js +1 -1
- package/dist/esm/components/AlipayName/index.d.ts +1 -1
- package/dist/esm/components/AlipayName/index.js +1 -1
- package/dist/esm/components/Cascader/index.d.ts +1 -1
- package/dist/esm/components/Cascader/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CompletedUser/index.d.ts +1 -1
- package/dist/esm/components/CompletedUser/index.js +1 -1
- package/dist/esm/components/ErpTradeId/index.d.ts +1 -1
- package/dist/esm/components/ErpTradeId/index.js +1 -1
- package/dist/esm/components/Express/index.d.ts +1 -1
- package/dist/esm/components/Express/index.js +1 -1
- package/dist/esm/components/ExpressCode/index.d.ts +1 -1
- package/dist/esm/components/ExpressCode/index.js +2 -1
- package/dist/esm/components/Handler/index.d.ts +1 -1
- package/dist/esm/components/Handler/index.js +5 -4
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +2 -2
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +1 -1
- package/dist/esm/components/LogisticsInterception/index.d.ts +1 -1
- package/dist/esm/components/LogisticsInterception/index.js +1 -1
- package/dist/esm/components/Ordinary/index.d.ts +1 -1
- package/dist/esm/components/Ordinary/index.js +1 -1
- package/dist/esm/components/Payment/AlipayNick.js +2 -1
- package/dist/esm/components/Payment/AlipayNo.js +2 -1
- package/dist/esm/components/Payment/BuyerNick.js +1 -0
- package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -1
- package/dist/esm/components/Payment/PaymentStatus.js +1 -1
- package/dist/esm/components/Picture/index.d.ts +1 -1
- package/dist/esm/components/Picture/index.js +1 -1
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -1
- package/dist/esm/components/ReceiverAddress/index.js +1 -1
- package/dist/esm/components/ShopName/index.d.ts +1 -1
- package/dist/esm/components/ShopName/index.js +1 -1
- package/dist/esm/components/SystemOrderNo/index.d.ts +1 -1
- package/dist/esm/components/SystemOrderNo/index.js +1 -1
- package/package.json +3 -3
|
@@ -14,7 +14,7 @@ declare class ActualPayment implements ComponentInterface {
|
|
|
14
14
|
renderLog: (r: Record) => JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: unknown, record: Record) => any;
|
|
17
|
-
editRender: (
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
@@ -43,7 +43,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
43
43
|
var _record2;
|
|
44
44
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_actualPayment")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
45
45
|
});
|
|
46
|
-
_defineProperty(this, "editRender", function (
|
|
46
|
+
_defineProperty(this, "editRender", function () {
|
|
47
47
|
var _this$componentConfig, _this$componentConfig2;
|
|
48
48
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
49
49
|
title: _this.name,
|
|
@@ -24,7 +24,7 @@ declare class Address implements ComponentInterface {
|
|
|
24
24
|
renderLog: (r: Record) => JSX.Element | null;
|
|
25
25
|
getComponentValue: (r: Record) => any[];
|
|
26
26
|
renderExport: (value: any, record: any) => string;
|
|
27
|
-
editRender: (
|
|
27
|
+
editRender: () => JSX.Element;
|
|
28
28
|
filterConfig: () => never[];
|
|
29
29
|
}
|
|
30
30
|
export default Address;
|
|
@@ -72,7 +72,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
72
72
|
return _this.addressDateInstance.getNameByCode(suffix || '');
|
|
73
73
|
}).join('');
|
|
74
74
|
});
|
|
75
|
-
_defineProperty(this, "editRender", function (
|
|
75
|
+
_defineProperty(this, "editRender", function () {
|
|
76
76
|
var _this$componentConfig, _this$componentConfig2;
|
|
77
77
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
78
78
|
title: _this.name,
|
|
@@ -17,7 +17,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
17
17
|
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value?: string) => string;
|
|
20
|
-
editRender: (
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
id: string;
|
|
23
23
|
name: string;
|
|
@@ -53,7 +53,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
53
53
|
_defineProperty(this, "renderExport", function (value) {
|
|
54
54
|
return value !== null && value !== void 0 ? value : '--';
|
|
55
55
|
});
|
|
56
|
-
_defineProperty(this, "editRender", function (
|
|
56
|
+
_defineProperty(this, "editRender", function () {
|
|
57
57
|
var _this$componentConfig, _this$componentConfig2;
|
|
58
58
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
59
59
|
title: _this.name,
|
|
@@ -17,7 +17,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
17
17
|
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value?: string) => string;
|
|
20
|
-
editRender: (
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
22
|
id: string;
|
|
23
23
|
name: string;
|
|
@@ -53,7 +53,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
53
53
|
_defineProperty(this, "renderExport", function (value) {
|
|
54
54
|
return value !== null && value !== void 0 ? value : '--';
|
|
55
55
|
});
|
|
56
|
-
_defineProperty(this, "editRender", function (
|
|
56
|
+
_defineProperty(this, "editRender", function () {
|
|
57
57
|
var _this$componentConfig, _this$componentConfig2;
|
|
58
58
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
59
59
|
title: _this.name,
|
|
@@ -20,7 +20,7 @@ declare class BasicCascader implements ComponentInterface {
|
|
|
20
20
|
renderLog: (r: Record) => JSX.Element | null;
|
|
21
21
|
getComponentValue: (r: Record) => any;
|
|
22
22
|
renderExport: (value: any, record: Record) => string;
|
|
23
|
-
editRender: (
|
|
23
|
+
editRender: () => JSX.Element;
|
|
24
24
|
filterConfig: (item: ColumnConfig) => {
|
|
25
25
|
id: string;
|
|
26
26
|
name: string;
|
|
@@ -65,7 +65,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
65
65
|
return i.label;
|
|
66
66
|
})) === null || _findLabelBySelectVal6 === void 0 ? void 0 : _findLabelBySelectVal6.join(',');
|
|
67
67
|
});
|
|
68
|
-
_defineProperty(this, "editRender", function (
|
|
68
|
+
_defineProperty(this, "editRender", function () {
|
|
69
69
|
var _this$componentConfig4, _this$componentConfig5, _this$componentConfig6;
|
|
70
70
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
71
71
|
title: _this.name,
|
|
@@ -48,7 +48,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
|
48
48
|
return i !== '其他';
|
|
49
49
|
})) || [];
|
|
50
50
|
if (!isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")])) {
|
|
51
|
-
return restOtherOptions.join('/').concat("\u5176\u4ED6(".concat(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")], ")")
|
|
51
|
+
return (restOtherOptions === null || restOtherOptions === void 0 ? void 0 : restOtherOptions.length) > 0 ? restOtherOptions.join('/').concat("/\u5176\u4ED6(".concat(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")], ")")) : "\u5176\u4ED6(".concat(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")], ")");
|
|
52
52
|
}
|
|
53
53
|
return restOtherOptions.join('/');
|
|
54
54
|
});
|
|
@@ -10,7 +10,7 @@ declare class CompletedUser implements ComponentInterface {
|
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
12
|
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
13
|
-
renderLog: (
|
|
13
|
+
renderLog: () => null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: any, record: Record) => any;
|
|
16
16
|
renderClient: () => null;
|
|
@@ -21,7 +21,7 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(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) {
|
|
@@ -14,7 +14,7 @@ declare class ErpTradeId implements ComponentInterface {
|
|
|
14
14
|
renderLog: (r: Record) => JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
editRender: (
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
@@ -42,7 +42,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
42
42
|
var _record2;
|
|
43
43
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_tradeId")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
44
44
|
});
|
|
45
|
-
_defineProperty(this, "editRender", function (
|
|
45
|
+
_defineProperty(this, "editRender", function () {
|
|
46
46
|
var _this$componentConfig, _this$componentConfig2;
|
|
47
47
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
48
48
|
title: _this.name,
|
|
@@ -17,7 +17,7 @@ declare class Express implements ComponentInterface {
|
|
|
17
17
|
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
18
18
|
renderLog: (r: Record) => JSX.Element | null;
|
|
19
19
|
getComponentValue: (r: Record) => any;
|
|
20
|
-
renderExport: (value: string, record: Record) =>
|
|
20
|
+
renderExport: (value: string, record: Record) => any;
|
|
21
21
|
editRender: () => JSX.Element;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
23
|
id: string;
|
|
@@ -45,7 +45,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
45
45
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
46
46
|
});
|
|
47
47
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
48
|
-
return _this.expressDateInstance.getExpressNameByCode(
|
|
48
|
+
return _this.expressDateInstance.getExpressNameByCode(record === null || record === void 0 ? void 0 : record[_this.id]) || (record === null || record === void 0 ? void 0 : record[_this.id]);
|
|
49
49
|
});
|
|
50
50
|
_defineProperty(this, "editRender", function () {
|
|
51
51
|
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
|
|
@@ -15,7 +15,7 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
15
15
|
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
16
16
|
renderLog: (r: Record) => JSX.Element | null;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
|
-
renderExport: (value: string, record: Record) =>
|
|
18
|
+
renderExport: (value: string, record: Record) => any;
|
|
19
19
|
editRender: () => JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
21
|
id: string;
|
|
@@ -42,7 +42,8 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
42
42
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
43
43
|
});
|
|
44
44
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
45
|
-
|
|
45
|
+
var _record$_this$id2;
|
|
46
|
+
return (_record$_this$id2 = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id2 !== void 0 ? _record$_this$id2 : '--';
|
|
46
47
|
});
|
|
47
48
|
_defineProperty(this, "editRender", function () {
|
|
48
49
|
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
|
|
@@ -10,7 +10,7 @@ declare class Handler implements ComponentInterface {
|
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
12
|
renderPc: (v: unknown, record: Record) => JSX.Element;
|
|
13
|
-
renderLog: (
|
|
13
|
+
renderLog: () => null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: {
|
|
16
16
|
account: string;
|
|
@@ -25,17 +25,18 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
25
25
|
return item.account;
|
|
26
26
|
})) === null || _value$map === void 0 ? void 0 : _value$map.join('、')) !== null && _value$map$join !== void 0 ? _value$map$join : '--');
|
|
27
27
|
});
|
|
28
|
-
_defineProperty(this, "renderLog", function (
|
|
28
|
+
_defineProperty(this, "renderLog", function () {
|
|
29
29
|
return null;
|
|
30
30
|
});
|
|
31
31
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
32
32
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
33
33
|
});
|
|
34
34
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
35
|
-
var
|
|
36
|
-
|
|
35
|
+
var _values$map$join, _values$map;
|
|
36
|
+
var values = record === null || record === void 0 ? void 0 : record[_this.id];
|
|
37
|
+
return (_values$map$join = values === null || values === void 0 ? void 0 : (_values$map = values.map(function (item) {
|
|
37
38
|
return item.account;
|
|
38
|
-
})) === null ||
|
|
39
|
+
})) === null || _values$map === void 0 ? void 0 : _values$map.join('、')) !== null && _values$map$join !== void 0 ? _values$map$join : '--';
|
|
39
40
|
});
|
|
40
41
|
_defineProperty(this, "renderClient", function () {
|
|
41
42
|
return null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, ALignType, Record } from "../../type";
|
|
3
3
|
import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
4
4
|
declare class PaymentTid implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -28,6 +28,6 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
28
28
|
};
|
|
29
29
|
renderExport: (value: any, record: Record) => string | null;
|
|
30
30
|
editRender: () => JSX.Element;
|
|
31
|
-
filterConfig: (
|
|
31
|
+
filterConfig: () => never[];
|
|
32
32
|
}
|
|
33
33
|
export default PaymentTid;
|
|
@@ -102,7 +102,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
102
102
|
component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
|
|
103
103
|
});
|
|
104
104
|
});
|
|
105
|
-
_defineProperty(this, "filterConfig", function (
|
|
105
|
+
_defineProperty(this, "filterConfig", function () {
|
|
106
106
|
return [];
|
|
107
107
|
});
|
|
108
108
|
this.name = "新派送地";
|
|
@@ -41,7 +41,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
41
41
|
};
|
|
42
42
|
renderPc: () => null;
|
|
43
43
|
renderExport: () => null;
|
|
44
|
-
editRender: (
|
|
44
|
+
editRender: () => JSX.Element;
|
|
45
45
|
filterConfig: (item: ColumnConfig) => ({
|
|
46
46
|
id: string;
|
|
47
47
|
name: string;
|
|
@@ -56,7 +56,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
56
56
|
_defineProperty(this, "renderExport", function () {
|
|
57
57
|
return null;
|
|
58
58
|
});
|
|
59
|
-
_defineProperty(this, "editRender", function (
|
|
59
|
+
_defineProperty(this, "editRender", function () {
|
|
60
60
|
var _this$componentConfig, _this$componentConfig2, _this$effects, _this$effects2, _this$effects2$workOr;
|
|
61
61
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
62
62
|
title: _this.name,
|
|
@@ -20,7 +20,7 @@ declare class Ordinary implements ComponentInterface {
|
|
|
20
20
|
isCombinationComponent: boolean;
|
|
21
21
|
children: ComponentInterface[];
|
|
22
22
|
constructor(options: PickOption);
|
|
23
|
-
editRender: (
|
|
23
|
+
editRender: () => JSX.Element;
|
|
24
24
|
renderPc: () => null;
|
|
25
25
|
renderLog: (r: Record) => JSX.Element;
|
|
26
26
|
getComponentValue: (r: Record) => {
|
|
@@ -32,7 +32,7 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
|
|
|
32
32
|
_defineProperty(this, "ordinarySerial", void 0);
|
|
33
33
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
34
34
|
_defineProperty(this, "children", void 0);
|
|
35
|
-
_defineProperty(this, "editRender", function (
|
|
35
|
+
_defineProperty(this, "editRender", function () {
|
|
36
36
|
var _this$componentConfig, _this$componentConfig2;
|
|
37
37
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
38
38
|
title: _this.name,
|
|
@@ -50,7 +50,8 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
50
50
|
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
51
51
|
});
|
|
52
52
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
53
|
-
|
|
53
|
+
var _record$_this$id;
|
|
54
|
+
return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--';
|
|
54
55
|
});
|
|
55
56
|
_defineProperty(this, "editRender", function () {
|
|
56
57
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -50,7 +50,8 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
50
50
|
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
51
51
|
});
|
|
52
52
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
53
|
-
|
|
53
|
+
var _record$_this$id;
|
|
54
|
+
return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--';
|
|
54
55
|
});
|
|
55
56
|
_defineProperty(this, "editRender", function () {
|
|
56
57
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -53,6 +53,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
53
53
|
return /*#__PURE__*/React.createElement("span", null, "--");
|
|
54
54
|
}
|
|
55
55
|
var buyerOpenUid = (record === null || record === void 0 ? void 0 : record.buyerOpenUid) || Object.keys(record).reduce(function (prv, next) {
|
|
56
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
56
57
|
var _next$split = next.split('_'),
|
|
57
58
|
_next$split2 = _slicedToArray(_next$split, 2),
|
|
58
59
|
_ = _next$split2[0],
|
|
@@ -23,7 +23,7 @@ declare class PaymentStatus implements ComponentInterface {
|
|
|
23
23
|
renderLog: (r: Record) => any;
|
|
24
24
|
getComponentValue: (r: Record) => any;
|
|
25
25
|
renderExport: (value: any) => any;
|
|
26
|
-
editRender: (
|
|
26
|
+
editRender: () => null;
|
|
27
27
|
filterConfig: (item: ColumnConfig) => {
|
|
28
28
|
id: string;
|
|
29
29
|
name: string;
|
|
@@ -43,7 +43,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
43
43
|
_defineProperty(this, "renderExport", function (value) {
|
|
44
44
|
return value !== null && value !== void 0 ? value : '--';
|
|
45
45
|
});
|
|
46
|
-
_defineProperty(this, "editRender", function (
|
|
46
|
+
_defineProperty(this, "editRender", function () {
|
|
47
47
|
return null;
|
|
48
48
|
});
|
|
49
49
|
_defineProperty(this, "filterConfig", function (item) {
|
|
@@ -16,7 +16,7 @@ declare class BasicPicture implements ComponentInterface {
|
|
|
16
16
|
renderLog: (r: Record) => JSX.Element | JSX.Element[] | null;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
renderClient: (record: any) => JSX.Element | null;
|
|
19
|
-
editRender: (
|
|
19
|
+
editRender: () => JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @returns 图片类型的导出需要在导出时单独处理
|
|
@@ -83,7 +83,7 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
|
|
|
83
83
|
value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
|
|
84
84
|
}) : null;
|
|
85
85
|
});
|
|
86
|
-
_defineProperty(this, "editRender", function (
|
|
86
|
+
_defineProperty(this, "editRender", function () {
|
|
87
87
|
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3;
|
|
88
88
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
89
89
|
title: _this.name,
|
|
@@ -26,7 +26,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
26
26
|
};
|
|
27
27
|
renderExport: (value: any, record: any) => string;
|
|
28
28
|
renderClient: (record: any) => JSX.Element | null;
|
|
29
|
-
editRender: (
|
|
29
|
+
editRender: () => JSX.Element;
|
|
30
30
|
filterConfig: () => never[];
|
|
31
31
|
}
|
|
32
32
|
export default BasicInput;
|
|
@@ -89,7 +89,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
89
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,
|
|
@@ -14,7 +14,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
14
14
|
renderLog: (r: Record) => JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
editRender: (
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
@@ -43,7 +43,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
43
43
|
var _record2;
|
|
44
44
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_shopName")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
45
45
|
});
|
|
46
|
-
_defineProperty(this, "editRender", function (
|
|
46
|
+
_defineProperty(this, "editRender", function () {
|
|
47
47
|
var _this$componentConfig, _this$componentConfig2;
|
|
48
48
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
49
49
|
title: _this.name,
|
|
@@ -15,7 +15,7 @@ declare class SystemOrderNo implements ComponentInterface {
|
|
|
15
15
|
renderLog: (r: Record) => JSX.Element | null;
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: string, record: Record) => any;
|
|
18
|
-
editRender: (
|
|
18
|
+
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
@@ -44,7 +44,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
44
44
|
var _record2;
|
|
45
45
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_systemOrderNo")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
46
46
|
});
|
|
47
|
-
_defineProperty(this, "editRender", function (
|
|
47
|
+
_defineProperty(this, "editRender", function () {
|
|
48
48
|
var _this$componentConfig, _this$componentConfig2;
|
|
49
49
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
50
50
|
title: _this.name,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.6.3-alpha.
|
|
3
|
+
"version": "0.6.3-alpha.22",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"father": "^4.1.7"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@kmkf-fe-packages/basic-components": "^0.6.3-alpha.
|
|
29
|
+
"@kmkf-fe-packages/basic-components": "^0.6.3-alpha.22",
|
|
30
30
|
"@kmkf-fe-packages/kmkf-utils": "^0.6.3-alpha.21"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "57ad72d0ca4d08a63632f70692eee04fdaa0a946"
|
|
44
44
|
}
|