@kmkf-fe-packages/services-components 0.5.2-alpha.1 → 0.6.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/ActualPayment/index.d.ts +12 -3
- package/dist/esm/components/ActualPayment/index.js +22 -5
- package/dist/esm/components/Address/index.d.ts +12 -3
- package/dist/esm/components/Address/index.js +20 -4
- package/dist/esm/components/Alipay/index.d.ts +18 -3
- package/dist/esm/components/Alipay/index.js +18 -4
- package/dist/esm/components/AlipayAccount/index.d.ts +13 -3
- package/dist/esm/components/AlipayAccount/index.js +21 -4
- package/dist/esm/components/AlipayName/index.d.ts +13 -3
- package/dist/esm/components/AlipayName/index.js +21 -4
- package/dist/esm/components/BuyerNick/index.d.ts +12 -3
- package/dist/esm/components/BuyerNick/index.js +27 -8
- package/dist/esm/components/Cascader/index.d.ts +24 -3
- package/dist/esm/components/Cascader/index.js +27 -12
- package/dist/esm/components/Checkbox/index.d.ts +11 -3
- package/dist/esm/components/Checkbox/index.js +20 -4
- package/dist/esm/components/CommonDataTime/index.d.ts +11 -3
- package/dist/esm/components/CommonDataTime/index.js +20 -4
- package/dist/esm/components/DataTime/index.d.ts +11 -3
- package/dist/esm/components/DataTime/index.js +23 -5
- package/dist/esm/components/EItemEnCode/index.d.ts +11 -3
- package/dist/esm/components/EItemEnCode/index.js +20 -4
- package/dist/esm/components/EItemId/index.d.ts +11 -3
- package/dist/esm/components/EItemId/index.js +20 -4
- package/dist/esm/components/EItemSelect/index.d.ts +11 -3
- package/dist/esm/components/EItemSelect/index.js +25 -10
- package/dist/esm/components/ErpTradeId/index.d.ts +12 -3
- package/dist/esm/components/ErpTradeId/index.js +21 -4
- package/dist/esm/components/Express/index.d.ts +14 -3
- package/dist/esm/components/Express/index.js +29 -4
- package/dist/esm/components/ExpressCode/index.d.ts +13 -3
- package/dist/esm/components/ExpressCode/index.js +22 -4
- package/dist/esm/components/FlowStatusSelect/index.d.ts +34 -4
- package/dist/esm/components/FlowStatusSelect/index.js +21 -4
- package/dist/esm/components/Grade/index.d.ts +11 -3
- package/dist/esm/components/Grade/index.js +20 -4
- package/dist/esm/components/Input/index.d.ts +12 -3
- package/dist/esm/components/Input/index.js +24 -6
- package/dist/esm/components/JstItemSelect/index.d.ts +11 -3
- package/dist/esm/components/JstItemSelect/index.js +20 -4
- package/dist/esm/components/JstLogistics/index.d.ts +11 -3
- package/dist/esm/components/JstLogistics/index.js +20 -4
- package/dist/esm/components/JstSendGood/index.d.ts +11 -3
- package/dist/esm/components/JstSendGood/index.js +20 -4
- package/dist/esm/components/JstSupply/index.d.ts +11 -3
- package/dist/esm/components/JstSupply/index.js +20 -4
- package/dist/esm/components/Logistics/index.d.ts +25 -3
- package/dist/esm/components/Logistics/index.js +18 -4
- package/dist/esm/components/MultSelect/index.d.ts +11 -3
- package/dist/esm/components/MultSelect/index.js +20 -4
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +22 -3
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +28 -4
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +22 -3
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +28 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +16 -2
- package/dist/esm/components/Ordinary/OrdinarySerial.js +18 -4
- package/dist/esm/components/Ordinary/index.d.ts +21 -2
- package/dist/esm/components/Ordinary/index.js +8 -4
- package/dist/esm/components/Payment/AlipayNick.d.ts +22 -3
- package/dist/esm/components/Payment/AlipayNick.js +28 -4
- package/dist/esm/components/Payment/AlipayNo.d.ts +21 -3
- package/dist/esm/components/Payment/AlipayNo.js +27 -4
- package/dist/esm/components/Payment/AlipayTime.d.ts +23 -3
- package/dist/esm/components/Payment/AlipayTime.js +29 -4
- package/dist/esm/components/Payment/BuyerNick.d.ts +22 -3
- package/dist/esm/components/Payment/BuyerNick.js +28 -4
- package/dist/esm/components/Payment/PaymentAmount.d.ts +22 -3
- package/dist/esm/components/Payment/PaymentAmount.js +28 -4
- package/dist/esm/components/Payment/PaymentStatus.d.ts +31 -3
- package/dist/esm/components/Payment/PaymentStatus.js +39 -4
- package/dist/esm/components/Payment/PaymentTid.d.ts +22 -3
- package/dist/esm/components/Payment/PaymentTid.js +28 -4
- package/dist/esm/components/Payment/index.d.ts +96 -3
- package/dist/esm/components/Payment/index.js +18 -4
- package/dist/esm/components/Picture/index.d.ts +10 -3
- package/dist/esm/components/Picture/index.js +19 -4
- package/dist/esm/components/Radio/index.d.ts +11 -3
- package/dist/esm/components/Radio/index.js +20 -4
- package/dist/esm/components/Rate/index.d.ts +11 -3
- package/dist/esm/components/Rate/index.js +20 -4
- package/dist/esm/components/ReceiverAddress/index.d.ts +12 -3
- package/dist/esm/components/ReceiverAddress/index.js +20 -4
- package/dist/esm/components/ReceiverMobile/index.d.ts +12 -3
- package/dist/esm/components/ReceiverMobile/index.js +21 -4
- package/dist/esm/components/ReceiverName/index.d.ts +12 -3
- package/dist/esm/components/ReceiverName/index.js +21 -4
- package/dist/esm/components/Remark/index.d.ts +12 -3
- package/dist/esm/components/Remark/index.js +21 -4
- package/dist/esm/components/ReturnLogistics/index.d.ts +19 -2
- package/dist/esm/components/ReturnLogistics/index.js +8 -4
- package/dist/esm/components/Select/index.d.ts +11 -3
- package/dist/esm/components/Select/index.js +20 -4
- package/dist/esm/components/ShopName/index.d.ts +12 -3
- package/dist/esm/components/ShopName/index.js +20 -4
- package/dist/esm/components/SystemOrderNo/index.d.ts +12 -3
- package/dist/esm/components/SystemOrderNo/index.js +21 -4
- package/dist/esm/components/TemplateSelect/index.d.ts +12 -3
- package/dist/esm/components/TemplateSelect/index.js +21 -4
- package/dist/esm/components/TextArea/index.d.ts +11 -3
- package/dist/esm/components/TextArea/index.js +20 -4
- package/dist/esm/components/ThirdItemSelect/index.d.ts +11 -3
- package/dist/esm/components/ThirdItemSelect/index.js +20 -4
- package/dist/esm/components/TradeDateTime/index.d.ts +5 -2
- package/dist/esm/components/TradeDateTime/index.js +10 -4
- package/dist/esm/components/TradeId/index.d.ts +5 -2
- package/dist/esm/components/TradeId/index.js +10 -4
- package/dist/esm/components/WorkOrderId/index.d.ts +12 -3
- package/dist/esm/components/WorkOrderId/index.js +21 -4
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/type.d.ts +30 -3
- package/package.json +4 -4
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +0 -24
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +0 -85
- package/dist/esm/components/LogisticsInterception/index.d.ts +0 -22
- package/dist/esm/components/LogisticsInterception/index.js +0 -73
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, ALignType, Record } from '../../type';
|
|
3
3
|
declare class JstSendGood implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
+
canFilter: boolean;
|
|
9
|
+
canGroup: boolean;
|
|
10
|
+
canHidden: boolean;
|
|
11
|
+
dataType: DataType;
|
|
12
|
+
showContains: boolean;
|
|
8
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
14
|
align: ALignType;
|
|
10
|
-
isCombinationComponent: boolean;
|
|
11
|
-
children: ComponentInterface[];
|
|
12
15
|
constructor(options: PickOption);
|
|
13
16
|
render: (value: any) => JSX.Element;
|
|
14
17
|
renderClient: (record: Record) => JSX.Element | null;
|
|
15
18
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
19
|
renderExport: (value: any, record: any) => any;
|
|
17
20
|
editRender: () => JSX.Element;
|
|
21
|
+
getColumns: () => this & {
|
|
22
|
+
dataIndex: string;
|
|
23
|
+
title: string;
|
|
24
|
+
renderExport: (value: any, record: any) => any;
|
|
25
|
+
};
|
|
18
26
|
}
|
|
19
27
|
export default JstSendGood;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2
4
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
5
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
4
6
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -20,10 +22,13 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
20
22
|
_defineProperty(this, "id", void 0);
|
|
21
23
|
_defineProperty(this, "type", void 0);
|
|
22
24
|
_defineProperty(this, "rules", void 0);
|
|
25
|
+
_defineProperty(this, "canFilter", void 0);
|
|
26
|
+
_defineProperty(this, "canGroup", void 0);
|
|
27
|
+
_defineProperty(this, "canHidden", void 0);
|
|
28
|
+
_defineProperty(this, "dataType", void 0);
|
|
29
|
+
_defineProperty(this, "showContains", void 0);
|
|
23
30
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
31
|
_defineProperty(this, "align", void 0);
|
|
25
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
-
_defineProperty(this, "children", void 0);
|
|
27
32
|
_defineProperty(this, "render", function (value) {
|
|
28
33
|
//兼容多个商品
|
|
29
34
|
return /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
@@ -63,9 +68,22 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
63
68
|
}))
|
|
64
69
|
});
|
|
65
70
|
});
|
|
71
|
+
_defineProperty(this, "getColumns", function () {
|
|
72
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
73
|
+
dataIndex: _this.id,
|
|
74
|
+
title: _this.name,
|
|
75
|
+
renderExport: _this.renderExport
|
|
76
|
+
});
|
|
77
|
+
;
|
|
78
|
+
});
|
|
66
79
|
this.name = options.name;
|
|
67
80
|
this.id = options.id;
|
|
68
81
|
this.type = options.type;
|
|
82
|
+
this.canFilter = false;
|
|
83
|
+
this.canGroup = false;
|
|
84
|
+
this.canHidden = true;
|
|
85
|
+
this.showContains = false;
|
|
86
|
+
this.dataType = 'string';
|
|
69
87
|
this.componentConfig = options.componentConfig;
|
|
70
88
|
this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
71
89
|
required: true,
|
|
@@ -90,7 +108,5 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
90
108
|
}
|
|
91
109
|
}] : [];
|
|
92
110
|
this.align = 'left';
|
|
93
|
-
this.isCombinationComponent = false;
|
|
94
|
-
this.children = [];
|
|
95
111
|
});
|
|
96
112
|
export default JstSendGood;
|
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, ALignType, Record } from '../../type';
|
|
3
3
|
declare class JstSupply implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
+
canFilter: boolean;
|
|
9
|
+
canGroup: boolean;
|
|
10
|
+
canHidden: boolean;
|
|
11
|
+
dataType: DataType;
|
|
12
|
+
showContains: boolean;
|
|
8
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
14
|
align: ALignType;
|
|
10
|
-
isCombinationComponent: boolean;
|
|
11
|
-
children: ComponentInterface[];
|
|
12
15
|
constructor(options: PickOption);
|
|
13
16
|
render: (value: any) => JSX.Element;
|
|
14
17
|
renderClient: (record: Record) => JSX.Element | null;
|
|
15
18
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
19
|
renderExport: (value: any, record: any) => any;
|
|
17
20
|
editRender: () => JSX.Element;
|
|
21
|
+
getColumns: () => this & {
|
|
22
|
+
dataIndex: string;
|
|
23
|
+
title: string;
|
|
24
|
+
renderExport: (value: any, record: any) => any;
|
|
25
|
+
};
|
|
18
26
|
}
|
|
19
27
|
export default JstSupply;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2
4
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
5
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
4
6
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -20,10 +22,13 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
20
22
|
_defineProperty(this, "id", void 0);
|
|
21
23
|
_defineProperty(this, "type", void 0);
|
|
22
24
|
_defineProperty(this, "rules", void 0);
|
|
25
|
+
_defineProperty(this, "canFilter", void 0);
|
|
26
|
+
_defineProperty(this, "canGroup", void 0);
|
|
27
|
+
_defineProperty(this, "canHidden", void 0);
|
|
28
|
+
_defineProperty(this, "dataType", void 0);
|
|
29
|
+
_defineProperty(this, "showContains", void 0);
|
|
23
30
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
31
|
_defineProperty(this, "align", void 0);
|
|
25
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
-
_defineProperty(this, "children", void 0);
|
|
27
32
|
_defineProperty(this, "render", function (value) {
|
|
28
33
|
//兼容多个商品
|
|
29
34
|
return /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
@@ -63,12 +68,23 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
63
68
|
}))
|
|
64
69
|
});
|
|
65
70
|
});
|
|
71
|
+
_defineProperty(this, "getColumns", function () {
|
|
72
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
73
|
+
dataIndex: _this.id,
|
|
74
|
+
title: _this.name,
|
|
75
|
+
renderExport: _this.renderExport
|
|
76
|
+
});
|
|
77
|
+
;
|
|
78
|
+
});
|
|
66
79
|
this.name = options.name;
|
|
67
80
|
this.id = options.id;
|
|
68
81
|
this.type = options.type;
|
|
82
|
+
this.canFilter = false;
|
|
83
|
+
this.canGroup = false;
|
|
84
|
+
this.canHidden = true;
|
|
85
|
+
this.showContains = false;
|
|
86
|
+
this.dataType = 'string';
|
|
69
87
|
this.componentConfig = options.componentConfig;
|
|
70
|
-
this.isCombinationComponent = false;
|
|
71
|
-
this.children = [];
|
|
72
88
|
this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
73
89
|
required: true,
|
|
74
90
|
validator: function validator(_, value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, Record } from '../../type';
|
|
3
3
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
import Express from '../Express';
|
|
5
5
|
import ExpressCode from '../ExpressCode';
|
|
@@ -8,17 +8,39 @@ declare class Logistics implements ComponentInterface {
|
|
|
8
8
|
id: string;
|
|
9
9
|
type: string;
|
|
10
10
|
rules: any[];
|
|
11
|
+
canFilter: boolean;
|
|
12
|
+
canGroup: boolean;
|
|
13
|
+
canHidden: boolean;
|
|
14
|
+
dataType: DataType;
|
|
15
|
+
showContains: boolean;
|
|
11
16
|
componentConfig: ComponentInterface["componentConfig"];
|
|
12
17
|
expressDateInstance: ExpressData;
|
|
13
18
|
express: Express;
|
|
14
19
|
expressCode: ExpressCode;
|
|
15
|
-
isCombinationComponent: boolean;
|
|
16
|
-
children: ComponentInterface[];
|
|
17
20
|
constructor(options: PickOption);
|
|
18
21
|
render: () => null;
|
|
19
22
|
editRender: (value: any) => JSX.Element;
|
|
20
23
|
renderClient: (record: Record) => JSX.Element;
|
|
21
24
|
renderPc: () => null;
|
|
22
25
|
renderExport: () => null;
|
|
26
|
+
getColumns: () => {
|
|
27
|
+
title: string;
|
|
28
|
+
children: ((Express & {
|
|
29
|
+
dataIndex: string;
|
|
30
|
+
title: string;
|
|
31
|
+
widget: JSX.Element;
|
|
32
|
+
groupFieldPath: string;
|
|
33
|
+
renderExport: (value: string, record: Record) => string | number;
|
|
34
|
+
render: (value: string, record: Record) => JSX.Element;
|
|
35
|
+
}) | (ExpressCode & {
|
|
36
|
+
dataIndex: string;
|
|
37
|
+
title: string;
|
|
38
|
+
groupFieldPath: string;
|
|
39
|
+
renderExport: (value: string, record: Record) => string;
|
|
40
|
+
render: (value: any, record: Record) => JSX.Element;
|
|
41
|
+
}))[];
|
|
42
|
+
canHidden: boolean;
|
|
43
|
+
dataIndex: string;
|
|
44
|
+
};
|
|
23
45
|
}
|
|
24
46
|
export default Logistics;
|
|
@@ -22,12 +22,15 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
22
22
|
_defineProperty(this, "id", void 0);
|
|
23
23
|
_defineProperty(this, "type", void 0);
|
|
24
24
|
_defineProperty(this, "rules", void 0);
|
|
25
|
+
_defineProperty(this, "canFilter", void 0);
|
|
26
|
+
_defineProperty(this, "canGroup", void 0);
|
|
27
|
+
_defineProperty(this, "canHidden", void 0);
|
|
28
|
+
_defineProperty(this, "dataType", void 0);
|
|
29
|
+
_defineProperty(this, "showContains", void 0);
|
|
25
30
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
31
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
27
32
|
_defineProperty(this, "express", void 0);
|
|
28
33
|
_defineProperty(this, "expressCode", void 0);
|
|
29
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
30
|
-
_defineProperty(this, "children", void 0);
|
|
31
34
|
_defineProperty(this, "render", function () {
|
|
32
35
|
return null;
|
|
33
36
|
});
|
|
@@ -53,9 +56,22 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
53
56
|
_defineProperty(this, "renderExport", function () {
|
|
54
57
|
return null;
|
|
55
58
|
});
|
|
59
|
+
_defineProperty(this, "getColumns", function () {
|
|
60
|
+
return {
|
|
61
|
+
title: _this.name,
|
|
62
|
+
children: [_this.express.getColumns(), _this.expressCode.getColumns()],
|
|
63
|
+
canHidden: _this.canHidden,
|
|
64
|
+
dataIndex: _this.id
|
|
65
|
+
};
|
|
66
|
+
});
|
|
56
67
|
this.name = options.name;
|
|
57
68
|
this.id = options.id;
|
|
58
69
|
this.type = options.type;
|
|
70
|
+
this.canFilter = false;
|
|
71
|
+
this.canGroup = false;
|
|
72
|
+
this.canHidden = true;
|
|
73
|
+
this.showContains = false;
|
|
74
|
+
this.dataType = 'string';
|
|
59
75
|
this.componentConfig = options.componentConfig;
|
|
60
76
|
this.expressDateInstance = ExpressData.getInstance();
|
|
61
77
|
this.express = new Express(_objectSpread(_objectSpread({}, options), {}, {
|
|
@@ -66,8 +82,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
66
82
|
name: '快递物流单号',
|
|
67
83
|
id: "".concat(this.id, "_expressLogisticsCode")
|
|
68
84
|
}));
|
|
69
|
-
this.isCombinationComponent = true;
|
|
70
|
-
this.children = [this.express, this.expressCode];
|
|
71
85
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
72
86
|
validator: function validator(_, value) {
|
|
73
87
|
var _this$componentConfig4;
|
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, Record } from '../../type';
|
|
3
3
|
declare type Value = string[];
|
|
4
4
|
declare class BasicMultSelect implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
6
6
|
id: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
+
canFilter: boolean;
|
|
10
|
+
canGroup: boolean;
|
|
11
|
+
canHidden: boolean;
|
|
12
|
+
dataType: DataType;
|
|
13
|
+
showContains: boolean;
|
|
9
14
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
|
-
isCombinationComponent: boolean;
|
|
11
|
-
children: ComponentInterface[];
|
|
12
15
|
constructor(options: PickOption);
|
|
13
16
|
render: (value: Value) => JSX.Element;
|
|
14
17
|
renderClient: (record: any) => JSX.Element | null;
|
|
15
18
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
19
|
renderExport: (value: any, record: Record) => any;
|
|
17
20
|
editRender: () => JSX.Element;
|
|
21
|
+
getColumns: () => this & {
|
|
22
|
+
dataIndex: string;
|
|
23
|
+
title: string;
|
|
24
|
+
renderExport: (value: any, record: Record) => any;
|
|
25
|
+
};
|
|
18
26
|
}
|
|
19
27
|
export default BasicMultSelect;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2
4
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
5
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
4
6
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -18,9 +20,12 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
|
|
|
18
20
|
_defineProperty(this, "id", void 0);
|
|
19
21
|
_defineProperty(this, "type", void 0);
|
|
20
22
|
_defineProperty(this, "rules", void 0);
|
|
23
|
+
_defineProperty(this, "canFilter", void 0);
|
|
24
|
+
_defineProperty(this, "canGroup", void 0);
|
|
25
|
+
_defineProperty(this, "canHidden", void 0);
|
|
26
|
+
_defineProperty(this, "dataType", void 0);
|
|
27
|
+
_defineProperty(this, "showContains", void 0);
|
|
21
28
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
23
|
-
_defineProperty(this, "children", void 0);
|
|
24
29
|
_defineProperty(this, "render", function (value) {
|
|
25
30
|
return /*#__PURE__*/React.createElement("span", null, " ", value === null || value === void 0 ? void 0 : value.join(','));
|
|
26
31
|
});
|
|
@@ -57,12 +62,23 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
|
|
|
57
62
|
}))
|
|
58
63
|
});
|
|
59
64
|
});
|
|
65
|
+
_defineProperty(this, "getColumns", function () {
|
|
66
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
67
|
+
dataIndex: _this.id,
|
|
68
|
+
title: _this.name,
|
|
69
|
+
renderExport: _this.renderExport
|
|
70
|
+
});
|
|
71
|
+
;
|
|
72
|
+
});
|
|
60
73
|
this.name = options.name;
|
|
61
74
|
this.id = options.id;
|
|
62
75
|
this.type = options.type;
|
|
76
|
+
this.canFilter = false;
|
|
77
|
+
this.canGroup = false;
|
|
78
|
+
this.canHidden = true;
|
|
79
|
+
this.showContains = false;
|
|
80
|
+
this.dataType = 'array';
|
|
63
81
|
this.componentConfig = options.componentConfig;
|
|
64
82
|
this.rules = [];
|
|
65
|
-
this.isCombinationComponent = false;
|
|
66
|
-
this.children = [];
|
|
67
83
|
});
|
|
68
84
|
export default BasicMultSelect;
|
|
@@ -1,21 +1,40 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, ALignType } from '../../type';
|
|
3
3
|
declare class OrdinaryHeader implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
+
canFilter: boolean;
|
|
9
|
+
canGroup: boolean;
|
|
10
|
+
canHidden: boolean;
|
|
11
|
+
dataType: DataType;
|
|
12
|
+
showContains: boolean;
|
|
8
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
14
|
effects: ComponentInterface["effects"];
|
|
10
15
|
align: ALignType;
|
|
11
16
|
width: number;
|
|
12
|
-
isCombinationComponent: boolean;
|
|
13
|
-
children: ComponentInterface[];
|
|
14
17
|
constructor(options: PickOption);
|
|
15
18
|
render: (value: string) => JSX.Element;
|
|
16
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
17
20
|
renderPc: (value: any) => any;
|
|
18
21
|
renderExport: (value: any) => any;
|
|
19
22
|
editRender: () => JSX.Element;
|
|
23
|
+
getColumns: () => {
|
|
24
|
+
title: string;
|
|
25
|
+
align: ALignType;
|
|
26
|
+
dataIndex: string;
|
|
27
|
+
dataType: DataType;
|
|
28
|
+
canHidden: boolean;
|
|
29
|
+
canFilter: boolean;
|
|
30
|
+
canGroup: boolean;
|
|
31
|
+
type: string;
|
|
32
|
+
render: (value: any) => any;
|
|
33
|
+
renderPc: (value: any) => any;
|
|
34
|
+
componentType: () => JSX.Element;
|
|
35
|
+
showContains: boolean;
|
|
36
|
+
renderExport: (value: any) => any;
|
|
37
|
+
width: number;
|
|
38
|
+
};
|
|
20
39
|
}
|
|
21
40
|
export default OrdinaryHeader;
|
|
@@ -18,12 +18,15 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
18
18
|
_defineProperty(this, "id", void 0);
|
|
19
19
|
_defineProperty(this, "type", void 0);
|
|
20
20
|
_defineProperty(this, "rules", void 0);
|
|
21
|
+
_defineProperty(this, "canFilter", void 0);
|
|
22
|
+
_defineProperty(this, "canGroup", void 0);
|
|
23
|
+
_defineProperty(this, "canHidden", void 0);
|
|
24
|
+
_defineProperty(this, "dataType", void 0);
|
|
25
|
+
_defineProperty(this, "showContains", void 0);
|
|
21
26
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
27
|
_defineProperty(this, "effects", void 0);
|
|
23
28
|
_defineProperty(this, "align", void 0);
|
|
24
29
|
_defineProperty(this, "width", void 0);
|
|
25
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
-
_defineProperty(this, "children", void 0);
|
|
27
30
|
_defineProperty(this, "render", function (value) {
|
|
28
31
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
29
32
|
});
|
|
@@ -56,15 +59,36 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
56
59
|
}))
|
|
57
60
|
});
|
|
58
61
|
});
|
|
62
|
+
_defineProperty(this, "getColumns", function () {
|
|
63
|
+
return {
|
|
64
|
+
title: _this.name,
|
|
65
|
+
align: _this.align,
|
|
66
|
+
dataIndex: _this.id,
|
|
67
|
+
dataType: _this.dataType,
|
|
68
|
+
canHidden: _this.canHidden,
|
|
69
|
+
canFilter: _this.canFilter,
|
|
70
|
+
canGroup: _this.canGroup,
|
|
71
|
+
type: _this.type,
|
|
72
|
+
render: _this.renderPc,
|
|
73
|
+
renderPc: _this.renderPc,
|
|
74
|
+
componentType: _this.editRender,
|
|
75
|
+
showContains: _this.showContains,
|
|
76
|
+
renderExport: _this.renderExport,
|
|
77
|
+
width: _this.width
|
|
78
|
+
};
|
|
79
|
+
});
|
|
59
80
|
this.name = '发票抬头';
|
|
60
81
|
this.id = "".concat(options.id, "_ordinaryTaitou");
|
|
61
82
|
this.type = options.type;
|
|
83
|
+
this.canFilter = true;
|
|
84
|
+
this.canGroup = true;
|
|
85
|
+
this.canHidden = false;
|
|
86
|
+
this.showContains = false;
|
|
87
|
+
this.dataType = 'string';
|
|
62
88
|
this.componentConfig = options.componentConfig;
|
|
63
89
|
this.rules = [];
|
|
64
90
|
this.align = 'left';
|
|
65
91
|
this.effects = options.effects;
|
|
66
92
|
this.width = 200;
|
|
67
|
-
this.isCombinationComponent = false;
|
|
68
|
-
this.children = [];
|
|
69
93
|
});
|
|
70
94
|
export default OrdinaryHeader;
|
|
@@ -1,21 +1,40 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, ALignType } from '../../type';
|
|
3
3
|
declare class OrdinaryMoney implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
+
canFilter: boolean;
|
|
9
|
+
canGroup: boolean;
|
|
10
|
+
canHidden: boolean;
|
|
11
|
+
dataType: DataType;
|
|
12
|
+
showContains: boolean;
|
|
8
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
14
|
effects: ComponentInterface["effects"];
|
|
10
15
|
align: ALignType;
|
|
11
16
|
width: number;
|
|
12
|
-
isCombinationComponent: boolean;
|
|
13
|
-
children: ComponentInterface[];
|
|
14
17
|
constructor(options: PickOption);
|
|
15
18
|
render: (value: string) => JSX.Element;
|
|
16
19
|
renderPc: (value: any) => any;
|
|
17
20
|
renderExport: (value: any) => any;
|
|
18
21
|
renderClient: (record: any) => JSX.Element | null;
|
|
19
22
|
editRender: () => JSX.Element;
|
|
23
|
+
getColumns: () => {
|
|
24
|
+
title: string;
|
|
25
|
+
align: ALignType;
|
|
26
|
+
dataIndex: string;
|
|
27
|
+
dataType: DataType;
|
|
28
|
+
canHidden: boolean;
|
|
29
|
+
canFilter: boolean;
|
|
30
|
+
canGroup: boolean;
|
|
31
|
+
type: string;
|
|
32
|
+
render: (value: any) => any;
|
|
33
|
+
renderPc: (value: any) => any;
|
|
34
|
+
componentType: () => JSX.Element;
|
|
35
|
+
showContains: boolean;
|
|
36
|
+
renderExport: (value: any) => any;
|
|
37
|
+
width: number;
|
|
38
|
+
};
|
|
20
39
|
}
|
|
21
40
|
export default OrdinaryMoney;
|
|
@@ -17,12 +17,15 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
17
17
|
_defineProperty(this, "id", void 0);
|
|
18
18
|
_defineProperty(this, "type", void 0);
|
|
19
19
|
_defineProperty(this, "rules", void 0);
|
|
20
|
+
_defineProperty(this, "canFilter", void 0);
|
|
21
|
+
_defineProperty(this, "canGroup", void 0);
|
|
22
|
+
_defineProperty(this, "canHidden", void 0);
|
|
23
|
+
_defineProperty(this, "dataType", void 0);
|
|
24
|
+
_defineProperty(this, "showContains", void 0);
|
|
20
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
21
26
|
_defineProperty(this, "effects", void 0);
|
|
22
27
|
_defineProperty(this, "align", void 0);
|
|
23
28
|
_defineProperty(this, "width", void 0);
|
|
24
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
-
_defineProperty(this, "children", void 0);
|
|
26
29
|
_defineProperty(this, "render", function (value) {
|
|
27
30
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
28
31
|
});
|
|
@@ -49,9 +52,32 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
49
52
|
component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
|
|
50
53
|
});
|
|
51
54
|
});
|
|
55
|
+
_defineProperty(this, "getColumns", function () {
|
|
56
|
+
return {
|
|
57
|
+
title: _this.name,
|
|
58
|
+
align: _this.align,
|
|
59
|
+
dataIndex: _this.id,
|
|
60
|
+
dataType: _this.dataType,
|
|
61
|
+
canHidden: _this.canHidden,
|
|
62
|
+
canFilter: _this.canFilter,
|
|
63
|
+
canGroup: _this.canGroup,
|
|
64
|
+
type: _this.type,
|
|
65
|
+
render: _this.renderPc,
|
|
66
|
+
renderPc: _this.renderPc,
|
|
67
|
+
componentType: _this.editRender,
|
|
68
|
+
showContains: _this.showContains,
|
|
69
|
+
renderExport: _this.renderExport,
|
|
70
|
+
width: _this.width
|
|
71
|
+
};
|
|
72
|
+
});
|
|
52
73
|
this.name = '开票金额';
|
|
53
74
|
this.id = "".concat(options.id, "_ordinaryMoney");
|
|
54
75
|
this.type = options.type;
|
|
76
|
+
this.canFilter = true;
|
|
77
|
+
this.canGroup = true;
|
|
78
|
+
this.canHidden = false;
|
|
79
|
+
this.showContains = false;
|
|
80
|
+
this.dataType = 'number';
|
|
55
81
|
this.componentConfig = options.componentConfig;
|
|
56
82
|
this.rules = [{
|
|
57
83
|
validator: function validator(_, value) {
|
|
@@ -64,7 +90,5 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
64
90
|
this.align = 'left';
|
|
65
91
|
this.effects = options.effects;
|
|
66
92
|
this.width = 200;
|
|
67
|
-
this.isCombinationComponent = false;
|
|
68
|
-
this.children = [];
|
|
69
93
|
});
|
|
70
94
|
export default OrdinaryMoney;
|
|
@@ -14,13 +14,27 @@ declare class OrdinarySerial implements ComponentInterface {
|
|
|
14
14
|
effects: ComponentInterface["effects"];
|
|
15
15
|
align: ALignType;
|
|
16
16
|
width: number;
|
|
17
|
-
isCombinationComponent: boolean;
|
|
18
|
-
children: ComponentInterface[];
|
|
19
17
|
constructor(options: PickOption);
|
|
20
18
|
render: (value: string) => JSX.Element;
|
|
21
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
22
20
|
renderPc: (value: any) => any;
|
|
23
21
|
renderExport: (value: any) => any;
|
|
24
22
|
editRender: () => JSX.Element;
|
|
23
|
+
getColumns: () => {
|
|
24
|
+
title: string;
|
|
25
|
+
align: ALignType;
|
|
26
|
+
dataIndex: string;
|
|
27
|
+
dataType: DataType;
|
|
28
|
+
canHidden: boolean;
|
|
29
|
+
canFilter: boolean;
|
|
30
|
+
canGroup: boolean;
|
|
31
|
+
type: string;
|
|
32
|
+
render: (value: any) => any;
|
|
33
|
+
renderPc: (value: any) => any;
|
|
34
|
+
componentType: () => JSX.Element;
|
|
35
|
+
showContains: boolean;
|
|
36
|
+
renderExport: (value: any) => any;
|
|
37
|
+
width: number;
|
|
38
|
+
};
|
|
25
39
|
}
|
|
26
40
|
export default OrdinarySerial;
|
|
@@ -26,8 +26,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
26
26
|
_defineProperty(this, "effects", void 0);
|
|
27
27
|
_defineProperty(this, "align", void 0);
|
|
28
28
|
_defineProperty(this, "width", void 0);
|
|
29
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
30
|
-
_defineProperty(this, "children", void 0);
|
|
31
29
|
_defineProperty(this, "render", function (value) {
|
|
32
30
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
33
31
|
});
|
|
@@ -54,6 +52,24 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
54
52
|
component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
|
|
55
53
|
});
|
|
56
54
|
});
|
|
55
|
+
_defineProperty(this, "getColumns", function () {
|
|
56
|
+
return {
|
|
57
|
+
title: _this.name,
|
|
58
|
+
align: _this.align,
|
|
59
|
+
dataIndex: _this.id,
|
|
60
|
+
dataType: _this.dataType,
|
|
61
|
+
canHidden: _this.canHidden,
|
|
62
|
+
canFilter: _this.canFilter,
|
|
63
|
+
canGroup: _this.canGroup,
|
|
64
|
+
type: _this.type,
|
|
65
|
+
render: _this.renderPc,
|
|
66
|
+
renderPc: _this.renderPc,
|
|
67
|
+
componentType: _this.editRender,
|
|
68
|
+
showContains: _this.showContains,
|
|
69
|
+
renderExport: _this.renderExport,
|
|
70
|
+
width: _this.width
|
|
71
|
+
};
|
|
72
|
+
});
|
|
57
73
|
this.name = '纳税人识别号';
|
|
58
74
|
this.id = "".concat(options.id, "_ordinarySerial");
|
|
59
75
|
this.type = options.type;
|
|
@@ -67,7 +83,5 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
67
83
|
this.align = 'left';
|
|
68
84
|
this.effects = options.effects;
|
|
69
85
|
this.width = 200;
|
|
70
|
-
this.isCombinationComponent = false;
|
|
71
|
-
this.children = [];
|
|
72
86
|
});
|
|
73
87
|
export default OrdinarySerial;
|
|
@@ -17,13 +17,32 @@ declare class Ordinary implements ComponentInterface {
|
|
|
17
17
|
ordinaryMoney: OrdinaryMoney;
|
|
18
18
|
ordinaryHeader: OrdinaryHeader;
|
|
19
19
|
ordinarySerial: OrdinarySerial;
|
|
20
|
-
isCombinationComponent: boolean;
|
|
21
|
-
children: ComponentInterface[];
|
|
22
20
|
constructor(options: PickOption);
|
|
23
21
|
render: () => null;
|
|
24
22
|
editRender: (value: any) => JSX.Element;
|
|
25
23
|
renderPc: () => null;
|
|
26
24
|
renderExport: () => null;
|
|
27
25
|
renderClient: (record: any) => JSX.Element;
|
|
26
|
+
getColumns: () => {
|
|
27
|
+
title: string;
|
|
28
|
+
children: {
|
|
29
|
+
title: string;
|
|
30
|
+
align: import("../../type").ALignType;
|
|
31
|
+
dataIndex: string;
|
|
32
|
+
dataType: DataType;
|
|
33
|
+
canHidden: boolean;
|
|
34
|
+
canFilter: boolean;
|
|
35
|
+
canGroup: boolean;
|
|
36
|
+
type: string;
|
|
37
|
+
render: (value: any) => any;
|
|
38
|
+
renderPc: (value: any) => any;
|
|
39
|
+
componentType: () => JSX.Element;
|
|
40
|
+
showContains: boolean;
|
|
41
|
+
renderExport: (value: any) => any;
|
|
42
|
+
width: number;
|
|
43
|
+
}[];
|
|
44
|
+
canHidden: boolean;
|
|
45
|
+
dataIndex: string;
|
|
46
|
+
};
|
|
28
47
|
}
|
|
29
48
|
export default Ordinary;
|