@kmkf-fe-packages/services-components 0.6.3-alpha.3 → 0.6.3
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 +11 -8
- package/dist/esm/components/ActualPayment/index.js +22 -19
- package/dist/esm/components/Address/index.d.ts +14 -6
- package/dist/esm/components/Address/index.js +22 -9
- package/dist/esm/components/Alipay/index.d.ts +18 -9
- package/dist/esm/components/Alipay/index.js +17 -6
- package/dist/esm/components/AlipayAccount/index.d.ts +13 -9
- package/dist/esm/components/AlipayAccount/index.js +24 -19
- package/dist/esm/components/AlipayName/index.d.ts +12 -8
- package/dist/esm/components/AlipayName/index.js +23 -18
- package/dist/esm/components/BuyerNick/index.d.ts +11 -8
- package/dist/esm/components/BuyerNick/index.js +25 -30
- package/dist/esm/components/Cascader/index.d.ts +23 -9
- package/dist/esm/components/Cascader/index.js +27 -29
- package/dist/esm/components/Checkbox/index.d.ts +10 -9
- package/dist/esm/components/Checkbox/index.js +21 -25
- package/dist/esm/components/CommonDataTime/index.d.ts +10 -8
- package/dist/esm/components/CommonDataTime/index.js +20 -19
- package/dist/esm/components/DataTime/index.d.ts +10 -9
- package/dist/esm/components/DataTime/index.js +23 -22
- package/dist/esm/components/EItemEnCode/index.d.ts +10 -8
- package/dist/esm/components/EItemEnCode/index.js +20 -22
- package/dist/esm/components/EItemId/index.d.ts +10 -8
- package/dist/esm/components/EItemId/index.js +20 -22
- package/dist/esm/components/EItemSelect/index.d.ts +11 -4
- package/dist/esm/components/EItemSelect/index.js +18 -6
- package/dist/esm/components/ErpTradeId/index.d.ts +11 -8
- package/dist/esm/components/ErpTradeId/index.js +21 -18
- package/dist/esm/components/Express/index.d.ts +13 -9
- package/dist/esm/components/Express/index.js +29 -18
- package/dist/esm/components/ExpressCode/index.d.ts +12 -8
- package/dist/esm/components/ExpressCode/index.js +22 -17
- package/dist/esm/components/FlowStatusSelect/index.d.ts +33 -13
- package/dist/esm/components/FlowStatusSelect/index.js +22 -27
- package/dist/esm/components/Grade/index.d.ts +11 -4
- package/dist/esm/components/Grade/index.js +19 -6
- package/dist/esm/components/Input/index.d.ts +11 -8
- package/dist/esm/components/Input/index.js +24 -20
- package/dist/esm/components/JstItemSelect/index.d.ts +11 -9
- package/dist/esm/components/JstItemSelect/index.js +20 -35
- package/dist/esm/components/JstLogistics/index.d.ts +11 -16
- package/dist/esm/components/JstLogistics/index.js +20 -31
- package/dist/esm/components/JstSendGood/index.d.ts +11 -9
- package/dist/esm/components/JstSendGood/index.js +20 -35
- package/dist/esm/components/JstSupply/index.d.ts +11 -9
- package/dist/esm/components/JstSupply/index.js +20 -35
- package/dist/esm/components/Logistics/index.d.ts +25 -15
- package/dist/esm/components/Logistics/index.js +17 -10
- package/dist/esm/components/MultSelect/index.d.ts +10 -9
- package/dist/esm/components/MultSelect/index.js +20 -21
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +21 -8
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +26 -14
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +21 -8
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +26 -14
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +16 -8
- package/dist/esm/components/Ordinary/OrdinarySerial.js +16 -14
- package/dist/esm/components/Ordinary/index.d.ts +22 -9
- package/dist/esm/components/Ordinary/index.js +7 -8
- package/dist/esm/components/Payment/AlipayNick.d.ts +22 -9
- package/dist/esm/components/Payment/AlipayNick.js +28 -16
- package/dist/esm/components/Payment/AlipayNo.d.ts +20 -8
- package/dist/esm/components/Payment/AlipayNo.js +27 -16
- package/dist/esm/components/Payment/AlipayTime.d.ts +22 -8
- package/dist/esm/components/Payment/AlipayTime.js +27 -15
- package/dist/esm/components/Payment/BuyerNick.d.ts +21 -8
- package/dist/esm/components/Payment/BuyerNick.js +26 -14
- package/dist/esm/components/Payment/PaymentAmount.d.ts +21 -8
- package/dist/esm/components/Payment/PaymentAmount.js +26 -14
- package/dist/esm/components/Payment/PaymentStatus.d.ts +27 -13
- package/dist/esm/components/Payment/PaymentStatus.js +36 -37
- package/dist/esm/components/Payment/PaymentTid.d.ts +21 -8
- package/dist/esm/components/Payment/PaymentTid.js +26 -14
- package/dist/esm/components/Payment/index.d.ts +96 -23
- package/dist/esm/components/Payment/index.js +17 -8
- package/dist/esm/components/Picture/index.d.ts +10 -8
- package/dist/esm/components/Picture/index.js +18 -6
- package/dist/esm/components/Radio/index.d.ts +10 -9
- package/dist/esm/components/Radio/index.js +23 -30
- package/dist/esm/components/Rate/index.d.ts +11 -4
- package/dist/esm/components/Rate/index.js +22 -11
- package/dist/esm/components/ReceiverAddress/index.d.ts +12 -4
- package/dist/esm/components/ReceiverAddress/index.js +26 -9
- package/dist/esm/components/ReceiverMobile/index.d.ts +12 -9
- package/dist/esm/components/ReceiverMobile/index.js +23 -20
- package/dist/esm/components/ReceiverName/index.d.ts +11 -8
- package/dist/esm/components/ReceiverName/index.js +23 -20
- package/dist/esm/components/Remark/index.d.ts +11 -8
- package/dist/esm/components/Remark/index.js +21 -18
- package/dist/esm/components/ReturnLogistics/index.d.ts +20 -15
- package/dist/esm/components/ReturnLogistics/index.js +7 -10
- package/dist/esm/components/Select/index.d.ts +10 -9
- package/dist/esm/components/Select/index.js +20 -20
- package/dist/esm/components/ShopName/index.d.ts +11 -8
- package/dist/esm/components/ShopName/index.js +20 -18
- package/dist/esm/components/SystemOrderNo/index.d.ts +11 -8
- package/dist/esm/components/SystemOrderNo/index.js +21 -18
- package/dist/esm/components/TemplateSelect/index.d.ts +11 -9
- package/dist/esm/components/TemplateSelect/index.js +20 -20
- package/dist/esm/components/TextArea/index.d.ts +10 -8
- package/dist/esm/components/TextArea/index.js +20 -18
- package/dist/esm/components/ThirdItemSelect/index.d.ts +10 -8
- package/dist/esm/components/ThirdItemSelect/index.js +20 -24
- package/dist/esm/components/TradeDateTime/index.d.ts +5 -9
- package/dist/esm/components/TradeDateTime/index.js +10 -34
- package/dist/esm/components/TradeId/index.d.ts +5 -8
- package/dist/esm/components/TradeId/index.js +10 -18
- package/dist/esm/components/WorkOrderId/index.d.ts +11 -8
- package/dist/esm/components/WorkOrderId/index.js +22 -20
- package/dist/esm/index.d.ts +0 -9
- package/dist/esm/index.js +1 -10
- package/dist/esm/type.d.ts +36 -38
- package/package.json +4 -4
- package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +0 -7
- package/dist/esm/commonComponents/PlatformAvatar/index.js +0 -28
- package/dist/esm/commonComponents/ShopList/index.d.ts +0 -13
- package/dist/esm/commonComponents/ShopList/index.js +0 -34
- package/dist/esm/components/CompletedUser/index.d.ts +0 -28
- package/dist/esm/components/CompletedUser/index.js +0 -60
- package/dist/esm/components/Handler/index.d.ts +0 -32
- package/dist/esm/components/Handler/index.js +0 -64
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +0 -25
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +0 -89
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +0 -24
- package/dist/esm/components/LogisticsInterception/InterceptType.js +0 -62
- package/dist/esm/components/LogisticsInterception/index.d.ts +0 -27
- package/dist/esm/components/LogisticsInterception/index.js +0 -90
- package/dist/esm/components/PlatForm/index.d.ts +0 -29
- package/dist/esm/components/PlatForm/index.js +0 -62
- package/dist/esm/components/ShopInput/index.d.ts +0 -26
- package/dist/esm/components/ShopInput/index.js +0 -71
- package/dist/esm/components/Submitter/index.d.ts +0 -28
- package/dist/esm/components/Submitter/index.js +0 -60
- package/dist/esm/factory.d.ts +0 -3
- package/dist/esm/factory.js +0 -105
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
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;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}[];
|
|
21
|
+
getColumns: () => this & {
|
|
22
|
+
dataIndex: string;
|
|
23
|
+
title: string;
|
|
24
|
+
renderExport: (value: any, record: any) => any;
|
|
25
|
+
};
|
|
24
26
|
}
|
|
25
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; }
|
|
@@ -11,7 +13,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
13
|
import { JstGoodImage } from "../Common";
|
|
12
14
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
13
15
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
|
-
import { isNull
|
|
16
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
17
|
var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
16
18
|
var _this = this,
|
|
17
19
|
_this$componentConfig;
|
|
@@ -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,40 +68,22 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
63
68
|
}))
|
|
64
69
|
});
|
|
65
70
|
});
|
|
66
|
-
_defineProperty(this, "
|
|
67
|
-
return
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
var _ref;
|
|
74
|
-
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
|
|
75
|
-
var _String;
|
|
76
|
-
var name = item !== null && item !== void 0 && item.sendName ? (_String = String(item === null || item === void 0 ? void 0 : item.sendName)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
|
|
77
|
-
return name;
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
}, {
|
|
82
|
-
id: "".concat(item.id, "_sendId"),
|
|
83
|
-
name: "jst\u53D1\u8D27\u4ED3\u7F16\u7801",
|
|
84
|
-
filterComponentType: 'Input',
|
|
85
|
-
filterFn: function filterFn(value) {
|
|
86
|
-
return function (i) {
|
|
87
|
-
var _ref2;
|
|
88
|
-
return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
|
|
89
|
-
var _String2;
|
|
90
|
-
var id = item !== null && item !== void 0 && item.sendId ? (_String2 = String(item === null || item === void 0 ? void 0 : item.sendId)) === null || _String2 === void 0 ? void 0 : _String2.includes(value) : false;
|
|
91
|
-
return id;
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
}];
|
|
71
|
+
_defineProperty(this, "getColumns", function () {
|
|
72
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
73
|
+
dataIndex: _this.id,
|
|
74
|
+
title: _this.name,
|
|
75
|
+
renderExport: _this.renderExport
|
|
76
|
+
});
|
|
77
|
+
;
|
|
96
78
|
});
|
|
97
79
|
this.name = options.name;
|
|
98
80
|
this.id = options.id;
|
|
99
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';
|
|
100
87
|
this.componentConfig = options.componentConfig;
|
|
101
88
|
this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
102
89
|
required: true,
|
|
@@ -121,7 +108,5 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
121
108
|
}
|
|
122
109
|
}] : [];
|
|
123
110
|
this.align = 'left';
|
|
124
|
-
this.isCombinationComponent = false;
|
|
125
|
-
this.children = [];
|
|
126
111
|
});
|
|
127
112
|
export default JstSendGood;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
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;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}[];
|
|
21
|
+
getColumns: () => this & {
|
|
22
|
+
dataIndex: string;
|
|
23
|
+
title: string;
|
|
24
|
+
renderExport: (value: any, record: any) => any;
|
|
25
|
+
};
|
|
24
26
|
}
|
|
25
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; }
|
|
@@ -11,7 +13,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
13
|
import { JstGoodImage } from "../Common";
|
|
12
14
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
13
15
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
|
-
import { isNull
|
|
16
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
17
|
var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
16
18
|
var _this = this,
|
|
17
19
|
_this$componentConfig;
|
|
@@ -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,43 +68,23 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
63
68
|
}))
|
|
64
69
|
});
|
|
65
70
|
});
|
|
66
|
-
_defineProperty(this, "
|
|
67
|
-
return
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
var _ref;
|
|
74
|
-
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
|
|
75
|
-
var _String;
|
|
76
|
-
var name = item !== null && item !== void 0 && item.supplyName ? (_String = String(item === null || item === void 0 ? void 0 : item.supplyName)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
|
|
77
|
-
return name;
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
}, {
|
|
82
|
-
id: "".concat(item.id, "_supplyId"),
|
|
83
|
-
name: "jst\u4F9B\u9500\u5546\u7F16\u7801",
|
|
84
|
-
filterComponentType: 'Input',
|
|
85
|
-
filterFn: function filterFn(value) {
|
|
86
|
-
return function (i) {
|
|
87
|
-
var _ref2;
|
|
88
|
-
return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
|
|
89
|
-
var _String2;
|
|
90
|
-
var id = item !== null && item !== void 0 && item.supplyId ? (_String2 = String(item === null || item === void 0 ? void 0 : item.supplyId)) === null || _String2 === void 0 ? void 0 : _String2.includes(value) : false;
|
|
91
|
-
return id;
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
}];
|
|
71
|
+
_defineProperty(this, "getColumns", function () {
|
|
72
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
73
|
+
dataIndex: _this.id,
|
|
74
|
+
title: _this.name,
|
|
75
|
+
renderExport: _this.renderExport
|
|
76
|
+
});
|
|
77
|
+
;
|
|
96
78
|
});
|
|
97
79
|
this.name = options.name;
|
|
98
80
|
this.id = options.id;
|
|
99
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';
|
|
100
87
|
this.componentConfig = options.componentConfig;
|
|
101
|
-
this.isCombinationComponent = false;
|
|
102
|
-
this.children = [];
|
|
103
88
|
this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
104
89
|
required: true,
|
|
105
90
|
validator: function validator(_, value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
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,29 +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;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
+
};
|
|
35
45
|
}
|
|
36
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,16 +56,22 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
53
56
|
_defineProperty(this, "renderExport", function () {
|
|
54
57
|
return null;
|
|
55
58
|
});
|
|
56
|
-
_defineProperty(this, "
|
|
57
|
-
return
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
+
};
|
|
62
66
|
});
|
|
63
67
|
this.name = options.name;
|
|
64
68
|
this.id = options.id;
|
|
65
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';
|
|
66
75
|
this.componentConfig = options.componentConfig;
|
|
67
76
|
this.expressDateInstance = ExpressData.getInstance();
|
|
68
77
|
this.express = new Express(_objectSpread(_objectSpread({}, options), {}, {
|
|
@@ -73,8 +82,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
73
82
|
name: '快递物流单号',
|
|
74
83
|
id: "".concat(this.id, "_expressLogisticsCode")
|
|
75
84
|
}));
|
|
76
|
-
this.isCombinationComponent = true;
|
|
77
|
-
this.children = [this.express, this.expressCode];
|
|
78
85
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
79
86
|
validator: function validator(_, value) {
|
|
80
87
|
var _this$componentConfig4;
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
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;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
options: any[];
|
|
23
|
-
filterFn: (value: string) => (i: Record) => boolean;
|
|
21
|
+
getColumns: () => this & {
|
|
22
|
+
dataIndex: string;
|
|
23
|
+
title: string;
|
|
24
|
+
renderExport: (value: any, record: Record) => any;
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
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; }
|
|
@@ -7,11 +9,10 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
7
9
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
10
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
11
|
import React from 'react';
|
|
10
|
-
import intersection from 'lodash/intersection';
|
|
11
12
|
import { ApaasMultipleSelect } from '@kmkf-fe-packages/basic-components';
|
|
12
13
|
import GetFormItem from "../GetFormItem";
|
|
13
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
|
-
import { isNull
|
|
15
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
16
|
var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options) {
|
|
16
17
|
var _this = this;
|
|
17
18
|
_classCallCheck(this, BasicMultSelect);
|
|
@@ -19,9 +20,12 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
|
|
|
19
20
|
_defineProperty(this, "id", void 0);
|
|
20
21
|
_defineProperty(this, "type", void 0);
|
|
21
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);
|
|
22
28
|
_defineProperty(this, "componentConfig", void 0);
|
|
23
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
-
_defineProperty(this, "children", void 0);
|
|
25
29
|
_defineProperty(this, "render", function (value) {
|
|
26
30
|
return /*#__PURE__*/React.createElement("span", null, " ", value === null || value === void 0 ? void 0 : value.join(','));
|
|
27
31
|
});
|
|
@@ -58,28 +62,23 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
|
|
|
58
62
|
}))
|
|
59
63
|
});
|
|
60
64
|
});
|
|
61
|
-
_defineProperty(this, "
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
filterComponentType: 'MultipleSelect',
|
|
69
|
-
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
|
|
70
|
-
filterFn: function filterFn(value) {
|
|
71
|
-
return function (i) {
|
|
72
|
-
return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
};
|
|
65
|
+
_defineProperty(this, "getColumns", function () {
|
|
66
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
67
|
+
dataIndex: _this.id,
|
|
68
|
+
title: _this.name,
|
|
69
|
+
renderExport: _this.renderExport
|
|
70
|
+
});
|
|
71
|
+
;
|
|
76
72
|
});
|
|
77
73
|
this.name = options.name;
|
|
78
74
|
this.id = options.id;
|
|
79
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';
|
|
80
81
|
this.componentConfig = options.componentConfig;
|
|
81
82
|
this.rules = [];
|
|
82
|
-
this.isCombinationComponent = false;
|
|
83
|
-
this.children = [];
|
|
84
83
|
});
|
|
85
84
|
export default BasicMultSelect;
|
|
@@ -1,27 +1,40 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
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;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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;
|
|
25
38
|
};
|
|
26
39
|
}
|
|
27
40
|
export default OrdinaryHeader;
|
|
@@ -10,7 +10,7 @@ import React from 'react';
|
|
|
10
10
|
import GetFormItem from "../GetFormItem";
|
|
11
11
|
import Header from "../OrdinaryHeader";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull
|
|
13
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
14
|
var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options) {
|
|
15
15
|
var _this = this;
|
|
16
16
|
_classCallCheck(this, 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,27 +59,36 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
56
59
|
}))
|
|
57
60
|
});
|
|
58
61
|
});
|
|
59
|
-
_defineProperty(this, "
|
|
62
|
+
_defineProperty(this, "getColumns", function () {
|
|
60
63
|
return {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
|
69
78
|
};
|
|
70
79
|
});
|
|
71
80
|
this.name = '发票抬头';
|
|
72
81
|
this.id = "".concat(options.id, "_ordinaryTaitou");
|
|
73
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';
|
|
74
88
|
this.componentConfig = options.componentConfig;
|
|
75
89
|
this.rules = [];
|
|
76
90
|
this.align = 'left';
|
|
77
91
|
this.effects = options.effects;
|
|
78
92
|
this.width = 200;
|
|
79
|
-
this.isCombinationComponent = false;
|
|
80
|
-
this.children = [];
|
|
81
93
|
});
|
|
82
94
|
export default OrdinaryHeader;
|