@kmkf-fe-packages/services-components 0.26.2-rc.4 → 0.27.0-alpha.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 +1 -1
- package/dist/esm/commonComponents/SelectMark/index.js +2 -6
- package/dist/esm/components/BuyerNick/index.d.ts +3 -3
- package/dist/esm/components/BuyerNick/index.js +19 -9
- package/dist/esm/components/Common/index.d.ts +0 -1
- package/dist/esm/components/Common/index.js +3 -76
- package/dist/esm/components/CompletedUser/index.js +1 -1
- package/dist/esm/components/FlowMarkSelect/index.js +2 -3
- package/dist/esm/components/FlowStatusSelect/index.js +0 -1
- package/dist/esm/components/FlowTag/index.js +1 -1
- package/dist/esm/components/Handler/index.js +1 -1
- package/dist/esm/components/HandlerDeadLine/index.js +1 -0
- package/dist/esm/components/LogisticsMoreTrajectory/index.d.ts +0 -6
- package/dist/esm/components/LogisticsMoreTrajectory/index.js +3 -21
- package/dist/esm/components/LogisticsTrajectory/index.d.ts +0 -9
- package/dist/esm/components/LogisticsTrajectory/index.js +4 -25
- package/dist/esm/components/NodeDeadLine/index.js +1 -0
- package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -4
- package/dist/esm/components/Payment/PaymentStatus.js +30 -30
- package/dist/esm/components/PlatForm/index.js +1 -1
- package/dist/esm/components/Select/index.d.ts +5 -5
- package/dist/esm/components/Select/index.js +15 -28
- package/dist/esm/components/ShopInput/index.js +1 -1
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +6 -22
- package/dist/esm/index.d.ts +0 -4
- package/dist/esm/index.js +0 -4
- package/dist/esm/service/api.d.ts +0 -1
- package/dist/esm/service/api.js +0 -8
- package/dist/esm/type.d.ts +1 -1
- package/package.json +4 -4
- package/dist/esm/components/CommonInput/index.d.ts +0 -34
- package/dist/esm/components/CommonInput/index.js +0 -105
- package/dist/esm/components/FlowWorkOrderStatus/index.d.ts +0 -40
- package/dist/esm/components/FlowWorkOrderStatus/index.js +0 -143
- package/dist/esm/components/LogisticsTrajectory/trajectoryLastLogisticsInfo.d.ts +0 -27
- package/dist/esm/components/LogisticsTrajectory/trajectoryLastLogisticsInfo.js +0 -71
- package/dist/esm/components/LogisticsTrajectory/trajectoryLastUpdateTime.d.ts +0 -27
- package/dist/esm/components/LogisticsTrajectory/trajectoryLastUpdateTime.js +0 -71
- package/dist/esm/components/LogisticsTrajectory/trajectoryStatus.d.ts +0 -27
- package/dist/esm/components/LogisticsTrajectory/trajectoryStatus.js +0 -71
- package/dist/esm/components/NodeInput/index.d.ts +0 -24
- package/dist/esm/components/NodeInput/index.js +0 -58
- package/dist/esm/components/PaymentVoucherCode/index.d.ts +0 -33
- package/dist/esm/components/PaymentVoucherCode/index.js +0 -104
|
@@ -5,9 +5,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
5
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
6
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
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
|
|
8
|
+
import React from 'react';
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
|
-
import { isNull, filterFn as _filterFn } from
|
|
10
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
11
|
import { SYMBOL } from "../../constant";
|
|
12
12
|
var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
13
13
|
var _this = this;
|
|
@@ -37,7 +37,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
37
37
|
});
|
|
38
38
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
39
39
|
var _record$_this$id;
|
|
40
|
-
return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id :
|
|
40
|
+
return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--';
|
|
41
41
|
});
|
|
42
42
|
_defineProperty(this, "renderLog", function (r) {
|
|
43
43
|
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
@@ -47,7 +47,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
47
47
|
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
48
48
|
});
|
|
49
49
|
_defineProperty(this, "renderExport", function (value) {
|
|
50
|
-
return value !== null && value !== void 0 ? value :
|
|
50
|
+
return value !== null && value !== void 0 ? value : '--';
|
|
51
51
|
});
|
|
52
52
|
_defineProperty(this, "editRender", function () {
|
|
53
53
|
return null;
|
|
@@ -58,57 +58,57 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
58
58
|
type: item.type,
|
|
59
59
|
id: "".concat(item.id, "_enterprisePaymentStatus"),
|
|
60
60
|
name: "".concat(item.name, "-\u6253\u6B3E\u72B6\u6001"),
|
|
61
|
-
filterComponentType:
|
|
61
|
+
filterComponentType: 'MultipleSelect',
|
|
62
62
|
props: {
|
|
63
63
|
options: _this.paymentStatusOptions
|
|
64
64
|
},
|
|
65
65
|
filterFn: function filterFn(value) {
|
|
66
66
|
return function (i) {
|
|
67
|
-
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id,
|
|
67
|
+
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentStatus'));
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
});
|
|
72
|
-
this.name =
|
|
72
|
+
this.name = '打款状态';
|
|
73
73
|
this.id = "".concat(options.id, "_enterprisePaymentStatus");
|
|
74
74
|
this.sortField = "".concat(options.id, "_enterprisePaymentStatus");
|
|
75
75
|
this.formField = "".concat(options.id, "_enterprisePaymentStatus");
|
|
76
76
|
this.type = options.type;
|
|
77
77
|
this.componentConfig = options.componentConfig;
|
|
78
78
|
this.rules = [];
|
|
79
|
-
this.align =
|
|
79
|
+
this.align = 'left';
|
|
80
80
|
this.width = 200;
|
|
81
|
-
this.dataType =
|
|
81
|
+
this.dataType = 'string';
|
|
82
82
|
this.paymentStatus = {
|
|
83
|
-
WAITING_EXAMINE:
|
|
84
|
-
EXAMINED:
|
|
85
|
-
FLAG_PAID:
|
|
86
|
-
ALI_PAY_WAITING:
|
|
87
|
-
ALI_PAY_SUCCESS:
|
|
88
|
-
ALI_PAY_FAIL:
|
|
89
|
-
ALI_PAY_CLOSE:
|
|
83
|
+
WAITING_EXAMINE: '未打款',
|
|
84
|
+
EXAMINED: '审核通过',
|
|
85
|
+
FLAG_PAID: '标记已打款',
|
|
86
|
+
ALI_PAY_WAITING: '支付宝待付款',
|
|
87
|
+
ALI_PAY_SUCCESS: '支付宝打款成功',
|
|
88
|
+
ALI_PAY_FAIL: '支付宝打款失败',
|
|
89
|
+
ALI_PAY_CLOSE: '支付宝打款关闭'
|
|
90
90
|
};
|
|
91
91
|
this.paymentStatusOptions = [{
|
|
92
|
-
label:
|
|
93
|
-
value:
|
|
92
|
+
label: '未打款',
|
|
93
|
+
value: '未打款'
|
|
94
94
|
}, {
|
|
95
|
-
label:
|
|
96
|
-
value:
|
|
95
|
+
label: '审核通过',
|
|
96
|
+
value: '审核通过'
|
|
97
97
|
}, {
|
|
98
|
-
label:
|
|
99
|
-
value:
|
|
98
|
+
label: '标记已打款',
|
|
99
|
+
value: '标记已打款'
|
|
100
100
|
}, {
|
|
101
|
-
label:
|
|
102
|
-
value:
|
|
101
|
+
label: '支付宝待付款',
|
|
102
|
+
value: '支付宝待付款'
|
|
103
103
|
}, {
|
|
104
|
-
label:
|
|
105
|
-
value:
|
|
104
|
+
label: '支付宝打款成功',
|
|
105
|
+
value: '支付宝打款成功'
|
|
106
106
|
}, {
|
|
107
|
-
label:
|
|
108
|
-
value:
|
|
107
|
+
label: '支付宝打款失败',
|
|
108
|
+
value: '支付宝打款失败'
|
|
109
109
|
}, {
|
|
110
|
-
label:
|
|
111
|
-
value:
|
|
110
|
+
label: '支付宝打款关闭',
|
|
111
|
+
value: '支付宝打款关闭'
|
|
112
112
|
}];
|
|
113
113
|
this.options = this.paymentStatusOptions;
|
|
114
114
|
this.isCombinationComponent = false;
|
|
@@ -64,7 +64,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm(options) {
|
|
|
64
64
|
options: platData
|
|
65
65
|
};
|
|
66
66
|
});
|
|
67
|
-
this.name =
|
|
67
|
+
this.name = "平台";
|
|
68
68
|
this.id = (options === null || options === void 0 ? void 0 : options.id) || "platform";
|
|
69
69
|
this.type = "PLATFORM_INPUT";
|
|
70
70
|
this.sortField = 'platform';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, Record } from
|
|
2
|
-
import React from
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare class BasicSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
-
componentConfig: ComponentInterface[
|
|
9
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
formField: string;
|
|
12
12
|
canSort: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
|
-
dataType: ComponentInterface[
|
|
15
|
-
options: ComponentInterface[
|
|
14
|
+
dataType: ComponentInterface['dataType'];
|
|
15
|
+
options: ComponentInterface['options'];
|
|
16
16
|
constructor(options: PickOption);
|
|
17
17
|
getKeyByComponentType: (type: string) => any;
|
|
18
18
|
editRender: (p: any) => React.JSX.Element;
|
|
@@ -6,26 +6,15 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
6
6
|
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; }
|
|
7
7
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
8
|
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
|
-
import React from
|
|
10
|
-
import { ApaasSelect } from
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull, filterFn as _filterFn } from
|
|
13
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
14
|
import { SYMBOL } from "../../constant";
|
|
15
15
|
var typeMap = {
|
|
16
|
-
BUYER_MESSAGE_NOTICE:
|
|
17
|
-
|
|
18
|
-
disabled: false
|
|
19
|
-
},
|
|
20
|
-
SELECT: {
|
|
21
|
-
key: "select",
|
|
22
|
-
disabled: false
|
|
23
|
-
},
|
|
24
|
-
NEW_PAYMENT_STATUS: {
|
|
25
|
-
key: "newPaymentStatus",
|
|
26
|
-
disabled: true,
|
|
27
|
-
placeholder: "自动获取无需填写"
|
|
28
|
-
}
|
|
16
|
+
BUYER_MESSAGE_NOTICE: 'buyerMessageNotice',
|
|
17
|
+
SELECT: 'select'
|
|
29
18
|
};
|
|
30
19
|
var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
31
20
|
var _this = this,
|
|
@@ -44,7 +33,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
44
33
|
_defineProperty(this, "dataType", void 0);
|
|
45
34
|
_defineProperty(this, "options", void 0);
|
|
46
35
|
_defineProperty(this, "getKeyByComponentType", function (type) {
|
|
47
|
-
return typeMap[type]
|
|
36
|
+
return typeMap[type] || '';
|
|
48
37
|
});
|
|
49
38
|
_defineProperty(this, "editRender", function (p) {
|
|
50
39
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -55,10 +44,8 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
55
44
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
56
45
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
57
46
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
58
|
-
component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({
|
|
59
|
-
|
|
60
|
-
}, _this.componentConfig, {
|
|
61
|
-
placeholder: typeMap[_this.type].placeholder || "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
47
|
+
component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
|
|
48
|
+
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
62
49
|
showSearch: true,
|
|
63
50
|
onChange: p === null || p === void 0 ? void 0 : p.onChange
|
|
64
51
|
}))
|
|
@@ -68,27 +55,27 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
68
55
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
69
56
|
id: _this.id,
|
|
70
57
|
label: _this.name,
|
|
71
|
-
value: (record === null || record === void 0 ? void 0 : record[_this.id]) ||
|
|
58
|
+
value: (record === null || record === void 0 ? void 0 : record[_this.id]) || ''
|
|
72
59
|
}) : null;
|
|
73
60
|
});
|
|
74
61
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
75
62
|
var _record;
|
|
76
63
|
var type = _this.type;
|
|
77
|
-
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type]
|
|
64
|
+
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type])]) !== null && _record !== void 0 ? _record : '--');
|
|
78
65
|
});
|
|
79
66
|
_defineProperty(this, "renderLog", function (r) {
|
|
80
67
|
var type = _this.type;
|
|
81
|
-
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(typeMap[type]
|
|
68
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(typeMap[type])])) return null;
|
|
82
69
|
return _this.renderPc(undefined, r);
|
|
83
70
|
});
|
|
84
71
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
85
72
|
var type = _this.type;
|
|
86
|
-
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(typeMap[type]
|
|
73
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(typeMap[type])];
|
|
87
74
|
});
|
|
88
75
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
89
76
|
var _record2;
|
|
90
77
|
var type = _this.type;
|
|
91
|
-
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type]
|
|
78
|
+
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type])]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
92
79
|
});
|
|
93
80
|
_defineProperty(this, "filterConfig", function (item) {
|
|
94
81
|
var _item$config;
|
|
@@ -100,7 +87,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
100
87
|
// 过滤组件id
|
|
101
88
|
name: item.name,
|
|
102
89
|
// 过滤组件名称
|
|
103
|
-
filterComponentType:
|
|
90
|
+
filterComponentType: 'MultipleSelect',
|
|
104
91
|
props: {
|
|
105
92
|
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
|
|
106
93
|
},
|
|
@@ -121,7 +108,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
121
108
|
this.isCombinationComponent = false;
|
|
122
109
|
this.canSort = true;
|
|
123
110
|
this.children = [];
|
|
124
|
-
this.dataType =
|
|
111
|
+
this.dataType = 'string';
|
|
125
112
|
this.options = ((_this$componentConfig3 = this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.options) || [];
|
|
126
113
|
});
|
|
127
114
|
export default BasicSelect;
|
|
@@ -86,7 +86,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
});
|
|
89
|
-
this.name =
|
|
89
|
+
this.name = "店铺名称";
|
|
90
90
|
this.id = (options === null || options === void 0 ? void 0 : options.id) || "shopName";
|
|
91
91
|
this.type = "SHOP_INPUT";
|
|
92
92
|
this.sortField = "shopName";
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus,
|
|
1
|
+
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, WdtGoods } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => BuyerNick |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BuyerNick | LogisticsInterception | LogisticsMoreInterception | LogisticsMoreTrajectory | LogisticsTrajectory | BasicMultSelect | BasicSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicRadio | BasicTextArea | BasicPicture | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ErpTradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | MsgStatus | WdtGoods;
|
package/dist/esm/factory.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect,
|
|
2
2
|
// CommonTradeId,
|
|
3
|
-
CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus,
|
|
3
|
+
CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, WdtGoods } from "./index";
|
|
4
4
|
export var factory = function factory(type, options) {
|
|
5
5
|
var _options$componentCon;
|
|
6
6
|
switch (type) {
|
|
@@ -30,7 +30,6 @@ export var factory = function factory(type, options) {
|
|
|
30
30
|
return new BasicDataTime(options);
|
|
31
31
|
case "SELECT":
|
|
32
32
|
case "BUYER_MESSAGE_NOTICE":
|
|
33
|
-
case "NEW_PAYMENT_STATUS":
|
|
34
33
|
return new BasicSelect(options);
|
|
35
34
|
case "PICTURE":
|
|
36
35
|
return new BasicPicture(options);
|
|
@@ -174,35 +173,20 @@ export var factory = function factory(type, options) {
|
|
|
174
173
|
// case "REISSUE_TRADE_ID":
|
|
175
174
|
// case 'EXCHANGE_TRADE_ID':
|
|
176
175
|
// return new CommonTradeId(options);
|
|
177
|
-
case
|
|
176
|
+
case 'NUMERICAL_CALCULATION':
|
|
178
177
|
return new Calculation(options);
|
|
179
|
-
case
|
|
178
|
+
case 'NODE_DEAD_LINE_INPUT':
|
|
180
179
|
// 工单时效
|
|
181
180
|
return new NodeDeadLine(options);
|
|
182
|
-
case
|
|
181
|
+
case 'HANDLER_DEAD_LINE_INPUT':
|
|
183
182
|
// 处理人时效
|
|
184
183
|
return new HandlerDeadLine(options);
|
|
185
|
-
case
|
|
184
|
+
case 'NODE_STAY_DURATION_INPUT':
|
|
186
185
|
// 工单停留时长
|
|
187
186
|
return new NodeStayDuration(options);
|
|
188
|
-
case
|
|
187
|
+
case 'WLN_GOODS':
|
|
189
188
|
// 万里牛商品
|
|
190
189
|
return new WlnGoods(options);
|
|
191
|
-
case "WDT_GOODS":
|
|
192
|
-
// 万里牛商品
|
|
193
|
-
return new WdtGoods(options);
|
|
194
|
-
case "BUSINESS_ORDER_NO":
|
|
195
|
-
return new CommonInput(options);
|
|
196
|
-
case "PAYMENT_VOUCHER_CODE":
|
|
197
|
-
return new PaymentVoucherCode(options);
|
|
198
|
-
case "NODE_INPUT":
|
|
199
|
-
return new NodeInput(options);
|
|
200
|
-
case "FLOW_WORK_STATUS_SELECT":
|
|
201
|
-
return new FlowWorkOrderStatus(options);
|
|
202
|
-
case "FLOW_CREATED_DATETIME":
|
|
203
|
-
return new CommonDataTime(options);
|
|
204
|
-
case "FLOW_UPDATE_DATETIME":
|
|
205
|
-
return new CommonDataTime(options);
|
|
206
190
|
case 'WDT_GOODS':
|
|
207
191
|
// 万里牛商品
|
|
208
192
|
return new WdtGoods(options);
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -70,12 +70,8 @@ export { default as HandlerDeadLine } from "./components/HandlerDeadLine";
|
|
|
70
70
|
export { default as NodeStayDuration } from "./components/NodeStayDuration";
|
|
71
71
|
export { default as WlnGoods } from "./components/WLN/WlnGoods";
|
|
72
72
|
export { default as BsPosting } from "./components/BS/BsPosting";
|
|
73
|
-
export { default as NodeInput } from './components/NodeInput';
|
|
74
|
-
export { default as FlowWorkOrderStatus } from './components/FlowWorkOrderStatus';
|
|
75
73
|
export { default as MsgStatus } from './components/MsgStatus';
|
|
76
74
|
export { default as WdtGoods } from "./components/WDT/WdtGoods";
|
|
77
|
-
export { default as CommonInput } from "./components/CommonInput";
|
|
78
|
-
export { default as PaymentVoucherCode } from "./components/PaymentVoucherCode";
|
|
79
75
|
export { factory } from "./factory";
|
|
80
76
|
export { default as PlatformAvatar } from "./commonComponents/PlatformAvatar";
|
|
81
77
|
export { default as SelectMark } from "./commonComponents/SelectMark";
|
package/dist/esm/index.js
CHANGED
|
@@ -70,12 +70,8 @@ export { default as HandlerDeadLine } from "./components/HandlerDeadLine";
|
|
|
70
70
|
export { default as NodeStayDuration } from "./components/NodeStayDuration";
|
|
71
71
|
export { default as WlnGoods } from "./components/WLN/WlnGoods";
|
|
72
72
|
export { default as BsPosting } from "./components/BS/BsPosting";
|
|
73
|
-
export { default as NodeInput } from "./components/NodeInput";
|
|
74
|
-
export { default as FlowWorkOrderStatus } from "./components/FlowWorkOrderStatus";
|
|
75
73
|
export { default as MsgStatus } from "./components/MsgStatus";
|
|
76
74
|
export { default as WdtGoods } from "./components/WDT/WdtGoods";
|
|
77
|
-
export { default as CommonInput } from "./components/CommonInput";
|
|
78
|
-
export { default as PaymentVoucherCode } from "./components/PaymentVoucherCode";
|
|
79
75
|
export { factory } from "./factory";
|
|
80
76
|
export { default as PlatformAvatar } from "./commonComponents/PlatformAvatar";
|
|
81
77
|
export { default as SelectMark } from "./commonComponents/SelectMark";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const replaceCheck: (data: any) => Promise<any>;
|
|
2
|
-
export declare const getAlipayBillReceipt: (data: any) => Promise<any>;
|
|
3
2
|
export declare const queryAddressData: () => Promise<void>;
|
|
4
3
|
export declare const queryBsAddressData: () => Promise<void>;
|
|
5
4
|
export declare const queryWdtAddressData: () => Promise<void>;
|
package/dist/esm/service/api.js
CHANGED
|
@@ -21,14 +21,6 @@ export var replaceCheck = function replaceCheck(data) {
|
|
|
21
21
|
data: data
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
|
-
// 获取支付宝电子回单
|
|
25
|
-
export var getAlipayBillReceipt = function getAlipayBillReceipt(data) {
|
|
26
|
-
return request({
|
|
27
|
-
url: '/qy/payment/paymentOrder/getAlipayBillReceipt',
|
|
28
|
-
method: 'post',
|
|
29
|
-
data: data
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
24
|
export var queryAddressData = function queryAddressData() {
|
|
33
25
|
return request({
|
|
34
26
|
url: "/qy/gdfw/template/queryAreas/noLogin",
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -170,7 +170,7 @@ export interface ComponentInterface {
|
|
|
170
170
|
effects?: {
|
|
171
171
|
queryWorkOrderDetail?: (r: Record) => void;
|
|
172
172
|
handleOpenRepeatList?: (r: Record) => void;
|
|
173
|
-
handleChangeSingleWorkOrderMark?: (t: string, r: Record
|
|
173
|
+
handleChangeSingleWorkOrderMark?: (t: string, r: Record) => void;
|
|
174
174
|
templateList?: any[];
|
|
175
175
|
isEditing?: boolean;
|
|
176
176
|
form?: FormInstance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0-alpha.0",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/basic-components": "^0.
|
|
24
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.
|
|
23
|
+
"@kmkf-fe-packages/basic-components": "^0.27.0-alpha.0",
|
|
24
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.27.0-alpha.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "0972e249426cd06922db0bc33f71483b4f6d143b",
|
|
41
41
|
"gitHooks": {
|
|
42
42
|
"pre-commit": "lint-staged"
|
|
43
43
|
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, Record, ColumnConfig } from "../../type";
|
|
2
|
-
import React from "react";
|
|
3
|
-
declare class CommonInput implements ComponentInterface {
|
|
4
|
-
name: string;
|
|
5
|
-
id: string;
|
|
6
|
-
sortField: string;
|
|
7
|
-
type: string;
|
|
8
|
-
rules: any[];
|
|
9
|
-
showContains: boolean;
|
|
10
|
-
onlyContainsString: boolean;
|
|
11
|
-
componentConfig: ComponentInterface["componentConfig"];
|
|
12
|
-
effects: ComponentInterface["effects"];
|
|
13
|
-
isCombinationComponent: boolean;
|
|
14
|
-
formField: string;
|
|
15
|
-
canSort: boolean;
|
|
16
|
-
children: ComponentInterface[];
|
|
17
|
-
dataType: ComponentInterface["dataType"];
|
|
18
|
-
options: ComponentInterface["options"];
|
|
19
|
-
constructor(options: PickOption);
|
|
20
|
-
renderClient: (record: any) => React.JSX.Element | null;
|
|
21
|
-
renderPc: (value: unknown, record: Record) => any;
|
|
22
|
-
renderLog: (r: Record) => any;
|
|
23
|
-
getComponentValue: (r: Record) => any;
|
|
24
|
-
renderExport: (value: unknown, record: Record) => any;
|
|
25
|
-
editRender: (p: any) => React.JSX.Element;
|
|
26
|
-
filterConfig: (item: ColumnConfig) => {
|
|
27
|
-
searchDefaultConditions: "like";
|
|
28
|
-
type: string;
|
|
29
|
-
id: string;
|
|
30
|
-
name: string;
|
|
31
|
-
filterComponentType: "Input";
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export default CommonInput;
|
|
@@ -1,105 +0,0 @@
|
|
|
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 _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
|
-
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
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
5
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
6
|
-
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; }
|
|
7
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
-
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
|
-
import React from "react";
|
|
10
|
-
import { Input } from "antd";
|
|
11
|
-
import GetFormItem from "../GetFormItem";
|
|
12
|
-
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
14
|
-
import { SYMBOL } from "../../constant";
|
|
15
|
-
var INPUT_MAP = {
|
|
16
|
-
BUSINESS_ORDER_NO: {
|
|
17
|
-
key: "businessOrderNo",
|
|
18
|
-
disabled: true,
|
|
19
|
-
placeholder: "自动获取无需填写"
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
var CommonInput = /*#__PURE__*/_createClass(function CommonInput(options) {
|
|
23
|
-
var _this = this;
|
|
24
|
-
_classCallCheck(this, CommonInput);
|
|
25
|
-
_defineProperty(this, "name", void 0);
|
|
26
|
-
_defineProperty(this, "id", void 0);
|
|
27
|
-
_defineProperty(this, "sortField", void 0);
|
|
28
|
-
_defineProperty(this, "type", void 0);
|
|
29
|
-
_defineProperty(this, "rules", void 0);
|
|
30
|
-
_defineProperty(this, "showContains", void 0);
|
|
31
|
-
_defineProperty(this, "onlyContainsString", void 0);
|
|
32
|
-
_defineProperty(this, "componentConfig", void 0);
|
|
33
|
-
_defineProperty(this, "effects", void 0);
|
|
34
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
35
|
-
_defineProperty(this, "formField", void 0);
|
|
36
|
-
_defineProperty(this, "canSort", void 0);
|
|
37
|
-
_defineProperty(this, "children", void 0);
|
|
38
|
-
_defineProperty(this, "dataType", void 0);
|
|
39
|
-
_defineProperty(this, "options", void 0);
|
|
40
|
-
_defineProperty(this, "renderClient", function (record) {
|
|
41
|
-
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
42
|
-
id: _this.id,
|
|
43
|
-
label: _this.name,
|
|
44
|
-
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
45
|
-
}) : null;
|
|
46
|
-
});
|
|
47
|
-
_defineProperty(this, "renderPc", function (value, record) {
|
|
48
|
-
if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)]) === undefined) {
|
|
49
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
|
|
50
|
-
}
|
|
51
|
-
return record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)];
|
|
52
|
-
});
|
|
53
|
-
_defineProperty(this, "renderLog", function (r) {
|
|
54
|
-
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)])) return null;
|
|
55
|
-
return _this.renderPc(undefined, r);
|
|
56
|
-
});
|
|
57
|
-
_defineProperty(this, "getComponentValue", function (r) {
|
|
58
|
-
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)];
|
|
59
|
-
});
|
|
60
|
-
_defineProperty(this, "renderExport", function (value, record) {
|
|
61
|
-
var _record;
|
|
62
|
-
return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)]) !== null && _record !== void 0 ? _record : "--";
|
|
63
|
-
});
|
|
64
|
-
_defineProperty(this, "editRender", function (p) {
|
|
65
|
-
var _this$componentConfig, _this$componentConfig2;
|
|
66
|
-
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
67
|
-
title: _this.name,
|
|
68
|
-
name: _this.id,
|
|
69
|
-
rules: _this.rules,
|
|
70
|
-
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
71
|
-
display: p === null || p === void 0 ? void 0 : p.display,
|
|
72
|
-
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
73
|
-
component: /*#__PURE__*/React.createElement(Input, _extends({}, _this.componentConfig, {
|
|
74
|
-
placeholder: INPUT_MAP[_this.type].placeholder || "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
75
|
-
disabled: INPUT_MAP[_this.type].disabled
|
|
76
|
-
}))
|
|
77
|
-
});
|
|
78
|
-
});
|
|
79
|
-
_defineProperty(this, "filterConfig", function (item) {
|
|
80
|
-
return {
|
|
81
|
-
searchDefaultConditions: SYMBOL.like,
|
|
82
|
-
type: item.type,
|
|
83
|
-
id: "".concat(item.id, "_").concat(INPUT_MAP[_this.type].key),
|
|
84
|
-
// 过滤组件id
|
|
85
|
-
name: item.name,
|
|
86
|
-
// 过滤组件名称
|
|
87
|
-
filterComponentType: "Input"
|
|
88
|
-
};
|
|
89
|
-
});
|
|
90
|
-
this.name = options.name;
|
|
91
|
-
this.id = options.id;
|
|
92
|
-
this.sortField = "".concat(options.id, "_").concat(INPUT_MAP[options.type].key);
|
|
93
|
-
this.formField = "".concat(options.id, "_").concat(INPUT_MAP[options.type].key);
|
|
94
|
-
this.type = options.type;
|
|
95
|
-
this.showContains = false;
|
|
96
|
-
this.onlyContainsString = true;
|
|
97
|
-
this.componentConfig = options.componentConfig;
|
|
98
|
-
this.effects = options.effects;
|
|
99
|
-
this.rules = [];
|
|
100
|
-
this.isCombinationComponent = false;
|
|
101
|
-
this.canSort = !!INPUT_MAP[options.type].canSort;
|
|
102
|
-
this.children = [];
|
|
103
|
-
this.dataType = "string";
|
|
104
|
-
});
|
|
105
|
-
export default CommonInput;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare class FlowWorkOrderStatus implements ComponentInterface {
|
|
4
|
-
name: string;
|
|
5
|
-
id: string;
|
|
6
|
-
sortField: string;
|
|
7
|
-
type: string;
|
|
8
|
-
rules: any[];
|
|
9
|
-
componentConfig: ComponentInterface["componentConfig"];
|
|
10
|
-
effects: ComponentInterface["effects"];
|
|
11
|
-
workOrderStatus: any;
|
|
12
|
-
isCombinationComponent: boolean;
|
|
13
|
-
formField: string;
|
|
14
|
-
canSort: boolean;
|
|
15
|
-
children: ComponentInterface[];
|
|
16
|
-
dataType: ComponentInterface['dataType'];
|
|
17
|
-
options: ComponentInterface['options'];
|
|
18
|
-
constructor(options: PickOption);
|
|
19
|
-
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
20
|
-
renderLog: (r: Record) => React.JSX.Element | null;
|
|
21
|
-
getComponentValue: (r: Record) => any;
|
|
22
|
-
renderExport: (value: any, record: Record) => any;
|
|
23
|
-
renderClient: () => null;
|
|
24
|
-
editRender: (p: any) => React.JSX.Element;
|
|
25
|
-
filterConfig: (item: ColumnConfig) => {
|
|
26
|
-
searchDefaultConditions: "in";
|
|
27
|
-
type: string;
|
|
28
|
-
id: string;
|
|
29
|
-
name: string;
|
|
30
|
-
filterComponentType: "MultipleSelect";
|
|
31
|
-
props: {
|
|
32
|
-
options: {
|
|
33
|
-
label: any;
|
|
34
|
-
value: string;
|
|
35
|
-
}[];
|
|
36
|
-
};
|
|
37
|
-
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export default FlowWorkOrderStatus;
|