@kmkf-fe-packages/services-components 0.6.3 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/esm/commonComponents/ItemView/index.d.ts +3 -3
- package/dist/esm/commonComponents/OperationLog/index.d.ts +9 -0
- package/dist/esm/commonComponents/OperationLog/index.js +127 -0
- package/dist/esm/commonComponents/PlatBuyer/index.d.ts +2 -2
- package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +7 -0
- package/dist/esm/commonComponents/PlatformAvatar/index.js +28 -0
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +9 -0
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +92 -0
- package/dist/esm/commonComponents/ShopList/index.d.ts +13 -0
- package/dist/esm/commonComponents/ShopList/index.js +34 -0
- package/dist/esm/commonComponents/Wangwang/index.d.ts +2 -2
- package/dist/esm/components/ActualPayment/index.d.ts +15 -16
- package/dist/esm/components/ActualPayment/index.js +28 -26
- package/dist/esm/components/Address/index.d.ts +12 -19
- package/dist/esm/components/Address/index.js +17 -26
- package/dist/esm/components/Alipay/index.d.ts +18 -22
- package/dist/esm/components/Alipay/index.js +15 -20
- package/dist/esm/components/AlipayAccount/index.d.ts +15 -17
- package/dist/esm/components/AlipayAccount/index.js +29 -28
- package/dist/esm/components/AlipayName/index.d.ts +15 -17
- package/dist/esm/components/AlipayName/index.js +29 -28
- package/dist/esm/components/BuyerNick/index.d.ts +18 -19
- package/dist/esm/components/BuyerNick/index.js +41 -28
- package/dist/esm/components/Cascader/index.d.ts +16 -28
- package/dist/esm/components/Cascader/index.js +38 -31
- package/dist/esm/components/Checkbox/index.d.ts +19 -15
- package/dist/esm/components/Checkbox/index.js +45 -26
- package/dist/esm/components/Common/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +14 -14
- package/dist/esm/components/CommonDataTime/index.js +27 -24
- package/dist/esm/components/CompletedUser/index.d.ts +30 -0
- package/dist/esm/components/CompletedUser/index.js +64 -0
- package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
- package/dist/esm/components/DataTime/index.d.ts +17 -16
- package/dist/esm/components/DataTime/index.js +30 -26
- package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +15 -15
- package/dist/esm/components/EItemEnCode/index.js +34 -27
- package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
- package/dist/esm/components/EItemId/index.d.ts +15 -15
- package/dist/esm/components/EItemId/index.js +34 -27
- package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
- package/dist/esm/components/EItemSelect/index.d.ts +10 -16
- package/dist/esm/components/EItemSelect/index.js +16 -24
- package/dist/esm/components/ErpTradeId/index.d.ts +15 -16
- package/dist/esm/components/ErpTradeId/index.js +28 -26
- package/dist/esm/components/Express/index.d.ts +18 -20
- package/dist/esm/components/Express/index.js +30 -36
- package/dist/esm/components/ExpressCode/index.d.ts +16 -18
- package/dist/esm/components/ExpressCode/index.js +34 -32
- package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +20 -38
- package/dist/esm/components/FlowStatusSelect/index.js +38 -25
- package/dist/esm/components/GetFormItem/index.d.ts +3 -3
- package/dist/esm/components/GetFormItem/index.js +3 -3
- package/dist/esm/components/Grade/index.d.ts +10 -16
- package/dist/esm/components/Grade/index.js +14 -23
- package/dist/esm/components/Handler/index.d.ts +32 -0
- package/dist/esm/components/Handler/index.js +74 -0
- package/dist/esm/components/Input/index.d.ts +15 -16
- package/dist/esm/components/Input/index.js +29 -28
- package/dist/esm/components/JstItemSelect/index.d.ts +17 -17
- package/dist/esm/components/JstItemSelect/index.js +48 -28
- package/dist/esm/components/JstLogistics/index.d.ts +25 -17
- package/dist/esm/components/JstLogistics/index.js +50 -29
- package/dist/esm/components/JstSendGood/index.d.ts +16 -16
- package/dist/esm/components/JstSendGood/index.js +54 -29
- package/dist/esm/components/JstSupply/index.d.ts +16 -16
- package/dist/esm/components/JstSupply/index.js +54 -29
- package/dist/esm/components/Logistics/index.d.ts +26 -30
- package/dist/esm/components/Logistics/index.js +19 -20
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +33 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +134 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +38 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +102 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +36 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.js +84 -0
- package/dist/esm/components/LogisticsInterception/columnHeader.d.ts +5 -0
- package/dist/esm/components/LogisticsInterception/columnHeader.js +55 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +74 -0
- package/dist/esm/components/LogisticsInterception/index.js +133 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +30 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +74 -0
- package/dist/esm/components/MultSelect/index.d.ts +16 -16
- package/dist/esm/components/MultSelect/index.js +31 -24
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +14 -25
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +26 -32
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +14 -25
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +25 -31
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +14 -20
- package/dist/esm/components/Ordinary/OrdinarySerial.js +26 -22
- package/dist/esm/components/Ordinary/index.d.ts +19 -26
- package/dist/esm/components/Ordinary/index.js +20 -12
- package/dist/esm/components/OrdinaryHeader/index.d.ts +2 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +14 -25
- package/dist/esm/components/Payment/AlipayNick.js +29 -34
- package/dist/esm/components/Payment/AlipayNo.d.ts +14 -24
- package/dist/esm/components/Payment/AlipayNo.js +29 -34
- package/dist/esm/components/Payment/AlipayTime.d.ts +14 -26
- package/dist/esm/components/Payment/AlipayTime.js +26 -35
- package/dist/esm/components/Payment/BuyerNick.d.ts +14 -25
- package/dist/esm/components/Payment/BuyerNick.js +26 -32
- package/dist/esm/components/Payment/PaymentAmount.d.ts +14 -25
- package/dist/esm/components/Payment/PaymentAmount.js +24 -30
- package/dist/esm/components/Payment/PaymentStatus.d.ts +19 -31
- package/dist/esm/components/Payment/PaymentStatus.js +48 -41
- package/dist/esm/components/Payment/PaymentTid.d.ts +14 -25
- package/dist/esm/components/Payment/PaymentTid.js +24 -30
- package/dist/esm/components/Payment/index.d.ts +39 -100
- package/dist/esm/components/Payment/index.js +22 -20
- package/dist/esm/components/Picture/index.d.ts +15 -15
- package/dist/esm/components/Picture/index.js +14 -19
- package/dist/esm/components/PlatForm/index.d.ts +31 -0
- package/dist/esm/components/PlatForm/index.js +67 -0
- package/dist/esm/components/Popover/index.d.ts +2 -2
- package/dist/esm/components/Radio/index.d.ts +20 -15
- package/dist/esm/components/Radio/index.js +34 -20
- package/dist/esm/components/Rate/index.d.ts +11 -16
- package/dist/esm/components/Rate/index.js +17 -30
- package/dist/esm/components/ReceiverAddress/index.d.ts +14 -17
- package/dist/esm/components/ReceiverAddress/index.js +22 -29
- package/dist/esm/components/ReceiverMobile/index.d.ts +15 -16
- package/dist/esm/components/ReceiverMobile/index.js +29 -27
- package/dist/esm/components/ReceiverName/index.d.ts +15 -16
- package/dist/esm/components/ReceiverName/index.js +29 -27
- package/dist/esm/components/Remark/index.d.ts +19 -16
- package/dist/esm/components/Remark/index.js +31 -23
- package/dist/esm/components/ReturnLogistics/index.d.ts +26 -25
- package/dist/esm/components/ReturnLogistics/index.js +19 -10
- package/dist/esm/components/Select/index.d.ts +16 -15
- package/dist/esm/components/Select/index.js +28 -23
- package/dist/esm/components/ShopInput/index.d.ts +28 -0
- package/dist/esm/components/ShopInput/index.js +76 -0
- package/dist/esm/components/ShopName/index.d.ts +15 -16
- package/dist/esm/components/ShopName/index.js +28 -25
- package/dist/esm/components/Submitter/index.d.ts +30 -0
- package/dist/esm/components/Submitter/index.js +64 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +15 -16
- package/dist/esm/components/SystemOrderNo/index.js +27 -25
- package/dist/esm/components/TemplateSelect/index.d.ts +15 -15
- package/dist/esm/components/TemplateSelect/index.js +29 -24
- package/dist/esm/components/TextArea/index.d.ts +15 -15
- package/dist/esm/components/TextArea/index.js +27 -24
- package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +15 -15
- package/dist/esm/components/ThirdItemSelect/index.js +36 -28
- package/dist/esm/components/TradeDateTime/index.d.ts +18 -10
- package/dist/esm/components/TradeDateTime/index.js +52 -17
- package/dist/esm/components/TradeId/index.d.ts +15 -10
- package/dist/esm/components/TradeId/index.js +27 -14
- package/dist/esm/components/WorkOrderId/index.d.ts +14 -15
- package/dist/esm/components/WorkOrderId/index.js +36 -29
- package/dist/esm/factory.d.ts +3 -0
- package/dist/esm/factory.js +105 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.js +13 -1
- package/dist/esm/type.d.ts +53 -45
- package/package.json +10 -5
|
@@ -1,6 +1,4 @@
|
|
|
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; }
|
|
4
2
|
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); }
|
|
5
3
|
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); } }
|
|
6
4
|
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,6 +9,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
11
9
|
import React from 'react';
|
|
12
10
|
import { Dropdown, Menu } from 'antd';
|
|
13
11
|
import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
|
|
12
|
+
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
13
|
import GetFormItem from "../GetFormItem";
|
|
15
14
|
import get from 'lodash/get';
|
|
16
15
|
var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
@@ -20,20 +19,17 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
20
19
|
_defineProperty(this, "id", void 0);
|
|
21
20
|
_defineProperty(this, "type", void 0);
|
|
22
21
|
_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);
|
|
28
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
29
23
|
_defineProperty(this, "effects", void 0);
|
|
30
24
|
_defineProperty(this, "workOrderStatus", void 0);
|
|
25
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
+
_defineProperty(this, "children", void 0);
|
|
31
27
|
_defineProperty(this, "renderMenu", function (record) {
|
|
32
28
|
var menu = /*#__PURE__*/React.createElement(Menu, {
|
|
33
29
|
onClick: function onClick(_ref) {
|
|
34
|
-
var _this$effects;
|
|
30
|
+
var _this$effects, _this$effects2;
|
|
35
31
|
var key = _ref.key;
|
|
36
|
-
|
|
32
|
+
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleChangeSingleWorkOrderStatus) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.handleChangeSingleWorkOrderStatus(key, record));
|
|
37
33
|
}
|
|
38
34
|
}, /*#__PURE__*/React.createElement(Menu.Item, {
|
|
39
35
|
key: "HANDLING"
|
|
@@ -56,13 +52,19 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
56
52
|
}
|
|
57
53
|
}, status === null || status === void 0 ? void 0 : status.label)) : /*#__PURE__*/React.createElement("span", null, "--");
|
|
58
54
|
});
|
|
55
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
56
|
+
var status = get(_this.workOrderStatus, r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
|
|
57
|
+
if (!status) return null;
|
|
58
|
+
return _this.renderPc(undefined, r);
|
|
59
|
+
});
|
|
60
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
61
|
+
var status = get(_this.workOrderStatus, r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
|
|
62
|
+
return status;
|
|
63
|
+
});
|
|
59
64
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
60
65
|
var status = get(_this.workOrderStatus, record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
|
|
61
66
|
return status ? status === null || status === void 0 ? void 0 : status.label : '--';
|
|
62
67
|
});
|
|
63
|
-
_defineProperty(this, "render", function () {
|
|
64
|
-
return null;
|
|
65
|
-
});
|
|
66
68
|
_defineProperty(this, "renderClient", function () {
|
|
67
69
|
return null;
|
|
68
70
|
});
|
|
@@ -79,25 +81,36 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
79
81
|
}))
|
|
80
82
|
});
|
|
81
83
|
});
|
|
82
|
-
_defineProperty(this, "
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
85
|
+
var _Object$keys;
|
|
86
|
+
return {
|
|
87
|
+
type: item.type,
|
|
88
|
+
id: item.id,
|
|
89
|
+
// 过滤组件id
|
|
90
|
+
name: item.name,
|
|
91
|
+
// 过滤组件名称
|
|
92
|
+
filterComponentType: 'MultipleSelect',
|
|
93
|
+
options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (item) {
|
|
94
|
+
return {
|
|
95
|
+
label: _this.workOrderStatus[item].label,
|
|
96
|
+
value: item
|
|
97
|
+
};
|
|
98
|
+
}),
|
|
99
|
+
filterFn: function filterFn(value) {
|
|
100
|
+
return function (i) {
|
|
101
|
+
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
};
|
|
90
105
|
});
|
|
91
106
|
this.name = options.name;
|
|
92
107
|
this.id = options.id;
|
|
93
108
|
this.type = options.type;
|
|
94
|
-
this.canFilter = true;
|
|
95
|
-
this.canGroup = true;
|
|
96
|
-
this.canHidden = true;
|
|
97
|
-
this.dataType = 'string';
|
|
98
|
-
this.showContains = false;
|
|
99
109
|
this.componentConfig = options.componentConfig;
|
|
110
|
+
this.effects = options.effects;
|
|
100
111
|
this.rules = [];
|
|
112
|
+
this.isCombinationComponent = false;
|
|
113
|
+
this.children = [];
|
|
101
114
|
this.workOrderStatus = {
|
|
102
115
|
"WAITING": {
|
|
103
116
|
label: '待处理',
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare type GetFormItemProps = {
|
|
3
3
|
rules: any[];
|
|
4
4
|
required: boolean;
|
|
5
|
-
title: string;
|
|
5
|
+
title: string | JSX.Element;
|
|
6
6
|
name: string;
|
|
7
7
|
component: JSX.Element | null;
|
|
8
8
|
};
|
|
9
|
-
declare const GetFormItem: ({ rules, required, title, component, name }: GetFormItemProps) => JSX.Element;
|
|
9
|
+
declare const GetFormItem: ({ rules, required, title, component, name, }: GetFormItemProps) => React.JSX.Element;
|
|
10
10
|
export default GetFormItem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { Form } from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Form } from "antd";
|
|
3
3
|
var GetFormItem = function GetFormItem(_ref) {
|
|
4
4
|
var rules = _ref.rules,
|
|
5
5
|
required = _ref.required,
|
|
@@ -16,7 +16,7 @@ var GetFormItem = function GetFormItem(_ref) {
|
|
|
16
16
|
return /*#__PURE__*/React.createElement("div", {
|
|
17
17
|
className: "form-item--wrap",
|
|
18
18
|
style: {
|
|
19
|
-
position:
|
|
19
|
+
position: "relative"
|
|
20
20
|
}
|
|
21
21
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
22
22
|
name: name,
|
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class BasicGrade 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;
|
|
13
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
|
+
isCombinationComponent: boolean;
|
|
10
|
+
children: ComponentInterface[];
|
|
14
11
|
constructor(options: PickOption);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
13
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
14
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
15
|
+
getComponentValue: (r: Record) => any;
|
|
18
16
|
renderExport: (value: any, record: Record) => any;
|
|
19
|
-
editRender: () => JSX.Element;
|
|
20
|
-
|
|
21
|
-
dataIndex: string;
|
|
22
|
-
title: string;
|
|
23
|
-
renderExport: (value: any, record: Record) => any;
|
|
24
|
-
};
|
|
17
|
+
editRender: () => React.JSX.Element;
|
|
18
|
+
filterConfig: () => never[];
|
|
25
19
|
}
|
|
26
20
|
export default BasicGrade;
|
|
@@ -1,6 +1,4 @@
|
|
|
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; }
|
|
4
2
|
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); } }
|
|
5
3
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
4
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -19,26 +17,27 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
|
|
|
19
17
|
_defineProperty(this, "id", void 0);
|
|
20
18
|
_defineProperty(this, "type", void 0);
|
|
21
19
|
_defineProperty(this, "rules", void 0);
|
|
22
|
-
_defineProperty(this, "canFilter", void 0);
|
|
23
|
-
_defineProperty(this, "canGroup", void 0);
|
|
24
|
-
_defineProperty(this, "canHidden", void 0);
|
|
25
|
-
_defineProperty(this, "dataType", void 0);
|
|
26
|
-
_defineProperty(this, "showContains", void 0);
|
|
27
20
|
_defineProperty(this, "componentConfig", void 0);
|
|
28
|
-
_defineProperty(this, "
|
|
29
|
-
|
|
30
|
-
});
|
|
21
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
22
|
+
_defineProperty(this, "children", void 0);
|
|
31
23
|
_defineProperty(this, "renderClient", function (record) {
|
|
32
24
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
33
25
|
id: _this.id,
|
|
34
26
|
label: _this.name,
|
|
35
|
-
value:
|
|
27
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
36
28
|
}) : null;
|
|
37
29
|
});
|
|
38
30
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
39
31
|
var _record;
|
|
40
32
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_basicGrade")]) !== null && _record !== void 0 ? _record : '--');
|
|
41
33
|
});
|
|
34
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
35
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_basicGrade")])) return null;
|
|
36
|
+
return _this.renderPc(undefined, r);
|
|
37
|
+
});
|
|
38
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
39
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_basicGrade")];
|
|
40
|
+
});
|
|
42
41
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
43
42
|
var _record2;
|
|
44
43
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_basicGrade")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
@@ -53,23 +52,15 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
|
|
|
53
52
|
component: /*#__PURE__*/React.createElement(ApaasSlider, _this.componentConfig)
|
|
54
53
|
});
|
|
55
54
|
});
|
|
56
|
-
_defineProperty(this, "
|
|
57
|
-
return
|
|
58
|
-
dataIndex: _this.id,
|
|
59
|
-
title: _this.name,
|
|
60
|
-
renderExport: _this.renderExport
|
|
61
|
-
});
|
|
62
|
-
;
|
|
55
|
+
_defineProperty(this, "filterConfig", function () {
|
|
56
|
+
return [];
|
|
63
57
|
});
|
|
64
58
|
this.name = options.name;
|
|
65
59
|
this.id = options.id;
|
|
66
60
|
this.type = options.type;
|
|
67
|
-
this.canFilter = true;
|
|
68
|
-
this.canGroup = true;
|
|
69
|
-
this.canHidden = true;
|
|
70
|
-
this.showContains = false;
|
|
71
|
-
this.dataType = 'number';
|
|
72
61
|
this.componentConfig = options.componentConfig;
|
|
73
62
|
this.rules = [];
|
|
63
|
+
this.isCombinationComponent = false;
|
|
64
|
+
this.children = [];
|
|
74
65
|
});
|
|
75
66
|
export default BasicGrade;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type';
|
|
3
|
+
declare class Handler implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
8
|
+
effects: ComponentInterface["effects"];
|
|
9
|
+
isCombinationComponent: boolean;
|
|
10
|
+
children: ComponentInterface[];
|
|
11
|
+
constructor(options: PickOption);
|
|
12
|
+
renderPc: (v: unknown, record: Record) => React.JSX.Element;
|
|
13
|
+
renderLog: () => null;
|
|
14
|
+
getComponentValue: (r: Record) => any;
|
|
15
|
+
renderExport: (value: {
|
|
16
|
+
account: string;
|
|
17
|
+
}[], record: Record) => string;
|
|
18
|
+
renderClient: () => null;
|
|
19
|
+
editRender: () => null;
|
|
20
|
+
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
type: string;
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
filterComponentType: "MultipleSelect";
|
|
25
|
+
options: {
|
|
26
|
+
label: string;
|
|
27
|
+
value: string;
|
|
28
|
+
}[];
|
|
29
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export default Handler;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 _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); } }
|
|
3
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
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); }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import intersection from 'lodash/intersection';
|
|
10
|
+
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
+
var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
12
|
+
var _this = this;
|
|
13
|
+
_classCallCheck(this, Handler);
|
|
14
|
+
_defineProperty(this, "name", void 0);
|
|
15
|
+
_defineProperty(this, "id", void 0);
|
|
16
|
+
_defineProperty(this, "type", void 0);
|
|
17
|
+
_defineProperty(this, "componentConfig", void 0);
|
|
18
|
+
_defineProperty(this, "effects", void 0);
|
|
19
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
20
|
+
_defineProperty(this, "children", void 0);
|
|
21
|
+
_defineProperty(this, "renderPc", function (v, record) {
|
|
22
|
+
var _value$map$join, _value$map;
|
|
23
|
+
var value = record === null || record === void 0 ? void 0 : record[_this.id];
|
|
24
|
+
return /*#__PURE__*/React.createElement("span", null, (_value$map$join = value === null || value === void 0 ? void 0 : (_value$map = value.map(function (item) {
|
|
25
|
+
return item.account;
|
|
26
|
+
})) === null || _value$map === void 0 ? void 0 : _value$map.join('、')) !== null && _value$map$join !== void 0 ? _value$map$join : '--');
|
|
27
|
+
});
|
|
28
|
+
_defineProperty(this, "renderLog", function () {
|
|
29
|
+
return null;
|
|
30
|
+
});
|
|
31
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
32
|
+
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
33
|
+
});
|
|
34
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
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) {
|
|
38
|
+
return item.account;
|
|
39
|
+
})) === null || _values$map === void 0 ? void 0 : _values$map.join('、')) !== null && _values$map$join !== void 0 ? _values$map$join : '--';
|
|
40
|
+
});
|
|
41
|
+
_defineProperty(this, "renderClient", function () {
|
|
42
|
+
return null;
|
|
43
|
+
});
|
|
44
|
+
_defineProperty(this, "editRender", function () {
|
|
45
|
+
return null;
|
|
46
|
+
});
|
|
47
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
48
|
+
var _this$effects;
|
|
49
|
+
return {
|
|
50
|
+
type: item.type,
|
|
51
|
+
id: item.id,
|
|
52
|
+
// 过滤组件id
|
|
53
|
+
name: item.name,
|
|
54
|
+
// 过滤组件名称
|
|
55
|
+
filterComponentType: 'MultipleSelect',
|
|
56
|
+
options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || [],
|
|
57
|
+
filterFn: function filterFn(value) {
|
|
58
|
+
return function (i) {
|
|
59
|
+
var _ref;
|
|
60
|
+
return intersection(value, (_ref = _filterFn.filterTableListItemColumnValue(i, item.id) || []) === null || _ref === void 0 ? void 0 : _ref.map(function (item) {
|
|
61
|
+
return item === null || item === void 0 ? void 0 : item.account;
|
|
62
|
+
})).length > 0;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
this.name = "处理人";
|
|
68
|
+
this.id = "handlerList";
|
|
69
|
+
this.type = "HANDLER_INPUT";
|
|
70
|
+
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
71
|
+
this.isCombinationComponent = false;
|
|
72
|
+
this.children = [];
|
|
73
|
+
});
|
|
74
|
+
export default Handler;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class BasicInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
-
canFilter: boolean;
|
|
9
|
-
canGroup: boolean;
|
|
10
|
-
canHidden: boolean;
|
|
11
|
-
dataType: DataType;
|
|
12
|
-
showContains: boolean;
|
|
13
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
|
+
isCombinationComponent: boolean;
|
|
10
|
+
children: ComponentInterface[];
|
|
14
11
|
constructor(options: PickOption);
|
|
15
|
-
renderPc: (value: any, record: Record) => JSX.Element;
|
|
12
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
13
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
14
|
+
getComponentValue: (r: Record) => any;
|
|
16
15
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
17
|
+
editRender: () => React.JSX.Element;
|
|
18
|
+
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
filterComponentType: "Input";
|
|
23
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
25
24
|
};
|
|
26
25
|
}
|
|
27
26
|
export default BasicInput;
|
|
@@ -1,6 +1,4 @@
|
|
|
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; }
|
|
4
2
|
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); }
|
|
5
3
|
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); } }
|
|
6
4
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -12,38 +10,38 @@ import React from 'react';
|
|
|
12
10
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
13
11
|
import GetFormItem from "../GetFormItem";
|
|
14
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
16
14
|
var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
17
15
|
var _this = this,
|
|
18
|
-
_options$componentCon
|
|
19
|
-
_options$componentCon2;
|
|
16
|
+
_options$componentCon;
|
|
20
17
|
_classCallCheck(this, BasicInput);
|
|
21
18
|
_defineProperty(this, "name", void 0);
|
|
22
19
|
_defineProperty(this, "id", void 0);
|
|
23
20
|
_defineProperty(this, "type", void 0);
|
|
24
21
|
_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);
|
|
30
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
23
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
+
_defineProperty(this, "children", void 0);
|
|
31
25
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
32
26
|
var _record;
|
|
33
27
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record !== void 0 ? _record : '--');
|
|
34
28
|
});
|
|
29
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
30
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_input")])) return null;
|
|
31
|
+
return _this.renderPc(undefined, r);
|
|
32
|
+
});
|
|
33
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
34
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_input")];
|
|
35
|
+
});
|
|
35
36
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
36
37
|
var _record2;
|
|
37
38
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
38
39
|
});
|
|
39
|
-
_defineProperty(this, "render", function (value) {
|
|
40
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
41
|
-
});
|
|
42
40
|
_defineProperty(this, "renderClient", function (record) {
|
|
43
41
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
44
42
|
id: _this.id,
|
|
45
43
|
label: _this.name,
|
|
46
|
-
value:
|
|
44
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
47
45
|
}) : null;
|
|
48
46
|
});
|
|
49
47
|
_defineProperty(this, "editRender", function () {
|
|
@@ -58,27 +56,30 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
58
56
|
}))
|
|
59
57
|
});
|
|
60
58
|
});
|
|
61
|
-
_defineProperty(this, "
|
|
62
|
-
return
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
60
|
+
return {
|
|
61
|
+
type: item.type,
|
|
62
|
+
id: item.id,
|
|
63
|
+
// 过滤组件id
|
|
64
|
+
name: item.name,
|
|
65
|
+
// 过滤组件名称
|
|
66
|
+
filterComponentType: 'Input',
|
|
67
|
+
filterFn: function filterFn(value) {
|
|
68
|
+
return function (i) {
|
|
69
|
+
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'input')).includes(value);
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
};
|
|
69
73
|
});
|
|
70
74
|
this.name = options.name;
|
|
71
75
|
this.id = options.id;
|
|
72
76
|
this.type = options.type;
|
|
73
|
-
this.canFilter = true;
|
|
74
|
-
this.canGroup = true;
|
|
75
|
-
this.canHidden = true;
|
|
76
|
-
this.dataType = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.isNumber ? 'number' : 'string';
|
|
77
|
-
this.showContains = true;
|
|
78
77
|
this.componentConfig = options.componentConfig;
|
|
79
|
-
this.rules = options !== null && options !== void 0 && (_options$
|
|
78
|
+
this.rules = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.isNumber ? [{
|
|
80
79
|
pattern: /^(([0-9]*(\.[0-9]{1,})$)|([0-9]+$))/,
|
|
81
80
|
message: '字段必须是数字'
|
|
82
81
|
}] : [];
|
|
82
|
+
this.isCombinationComponent = false;
|
|
83
|
+
this.children = [];
|
|
83
84
|
});
|
|
84
85
|
export default BasicInput;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class JstItemSelect 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;
|
|
14
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
15
10
|
align: ALignType;
|
|
16
|
-
expressDateInstance: ExpressData
|
|
11
|
+
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
12
|
+
isCombinationComponent: boolean;
|
|
13
|
+
children: ComponentInterface[];
|
|
17
14
|
constructor(options: PickOption);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
16
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
18
|
+
getComponentValue: (r: Record) => any;
|
|
21
19
|
renderExport: (value: any, record: any) => any;
|
|
22
|
-
editRender: () => JSX.Element;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
editRender: () => React.JSX.Element;
|
|
21
|
+
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
type: string;
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
filterComponentType: "Input";
|
|
26
|
+
filterFn: (value: string) => (i: Record) => any;
|
|
27
|
+
}[];
|
|
28
28
|
}
|
|
29
29
|
export default JstItemSelect;
|