@kmkf-fe-packages/services-components 0.7.15-alpha.2 → 0.7.15-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +4 -4
- package/dist/esm/components/BS/BsExchange/index.d.ts +22 -6
- package/dist/esm/components/BS/BsExchange/index.js +175 -39
- package/dist/esm/components/BS/BsGoods/index.d.ts +4 -5
- package/dist/esm/components/BS/BsGoods/index.js +43 -29
- package/dist/esm/components/BS/BsReissue/index.d.ts +17 -6
- package/dist/esm/components/BS/BsReissue/index.js +61 -34
- package/dist/esm/components/BS/common/BsChildCode.d.ts +25 -0
- package/dist/esm/components/BS/common/BsChildCode.js +71 -0
- package/dist/esm/components/BS/common/BsChildMoney.d.ts +25 -0
- package/dist/esm/components/BS/common/BsChildMoney.js +71 -0
- package/dist/esm/components/BS/common/BsChildName.d.ts +25 -0
- package/dist/esm/components/BS/common/BsChildName.js +71 -0
- package/dist/esm/components/BS/common/BsChildNumber.d.ts +25 -0
- package/dist/esm/components/BS/common/BsChildNumber.js +71 -0
- package/dist/esm/components/BS/common/BsChildPic.d.ts +25 -0
- package/dist/esm/components/BS/common/BsChildPic.js +72 -0
- package/dist/esm/components/BS/common/BsChildShare.d.ts +25 -0
- package/dist/esm/components/BS/common/BsChildShare.js +71 -0
- package/dist/esm/components/BS/common/BsChildSku.d.ts +25 -0
- package/dist/esm/components/BS/common/BsChildSku.js +71 -0
- package/dist/esm/components/BS/common/BsChildType.d.ts +25 -0
- package/dist/esm/components/BS/common/BsChildType.js +71 -0
- package/dist/esm/components/BS/common/BsExchangeImage.d.ts +31 -0
- package/dist/esm/components/BS/common/BsExchangeImage.js +126 -0
- package/dist/esm/components/BS/common/BsGoodImage.d.ts +31 -0
- package/dist/esm/components/BS/common/BsGoodImage.js +88 -0
- package/dist/esm/components/BS/common/BsMemo.d.ts +25 -0
- package/dist/esm/components/BS/common/BsMemo.js +76 -0
- package/dist/esm/components/BS/common/BsType.d.ts +35 -0
- package/dist/esm/components/BS/common/{BsPic.js → BsType.js} +40 -49
- package/dist/esm/components/BS/common/index.d.ts +10 -0
- package/dist/esm/components/BS/common/index.js +10 -0
- package/dist/esm/components/Common/index.d.ts +12 -6
- package/dist/esm/components/Common/index.js +115 -50
- package/dist/esm/components/Common/index.module.less +8 -0
- package/dist/esm/components/File/index.d.ts +7 -8
- package/dist/esm/components/File/index.js +18 -47
- package/dist/esm/components/Input/index.js +3 -0
- package/dist/esm/components/LogisticsTrajectory/index.d.ts +0 -2
- package/dist/esm/components/LogisticsTrajectory/index.js +6 -16
- package/dist/esm/components/LogisticsTrajectory/trajectoryCode.js +3 -3
- package/dist/esm/components/LogisticsTrajectory/trajectoryCompany.d.ts +0 -1
- package/dist/esm/components/LogisticsTrajectory/trajectoryCompany.js +2 -8
- package/dist/esm/components/LogisticsTrajectory/trajectorySnapshot.d.ts +0 -1
- package/dist/esm/components/LogisticsTrajectory/trajectorySnapshot.js +3 -9
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/type.d.ts +1 -0
- package/package.json +4 -4
- package/dist/esm/components/BS/common/BsPic.d.ts +0 -43
|
@@ -7,9 +7,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
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
9
|
import React from "react";
|
|
10
|
-
import { Image } from "antd";
|
|
11
10
|
import { ApaasUploadFile } from "@kmkf-fe-packages/basic-components";
|
|
12
|
-
import { imgResize } from "@kmkf-fe-packages/kmkf-utils";
|
|
13
11
|
import GetFormItem from "../GetFormItem";
|
|
14
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
13
|
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
@@ -19,56 +17,23 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
|
|
|
19
17
|
_defineProperty(this, "name", void 0);
|
|
20
18
|
_defineProperty(this, "id", void 0);
|
|
21
19
|
_defineProperty(this, "sortField", void 0);
|
|
20
|
+
_defineProperty(this, "formField", void 0);
|
|
22
21
|
_defineProperty(this, "type", void 0);
|
|
23
22
|
_defineProperty(this, "rules", void 0);
|
|
24
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
25
|
_defineProperty(this, "canSort", void 0);
|
|
27
26
|
_defineProperty(this, "children", void 0);
|
|
28
|
-
_defineProperty(this, "
|
|
29
|
-
pictures = pictures.replace(/[\[\]]/g, "");
|
|
30
|
-
pictures = pictures.replace(/\s/g, "");
|
|
31
|
-
return pictures ? pictures.split(",") : [];
|
|
32
|
-
});
|
|
33
|
-
_defineProperty(this, "render", function (value) {
|
|
34
|
-
if (!(value !== null && value !== void 0 && value.length)) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return /*#__PURE__*/React.createElement("div", null, value === null || value === void 0 ? void 0 : value.map(function (pic) {
|
|
38
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
39
|
-
style: {
|
|
40
|
-
marginRight: "5px",
|
|
41
|
-
display: "inline-block"
|
|
42
|
-
}
|
|
43
|
-
}, /*#__PURE__*/React.createElement(Image, {
|
|
44
|
-
width: 32,
|
|
45
|
-
src: imgResize(pic || ""),
|
|
46
|
-
preview: {
|
|
47
|
-
src: imgResize(pic || "", 0, 0)
|
|
48
|
-
}
|
|
49
|
-
}));
|
|
50
|
-
}));
|
|
51
|
-
});
|
|
27
|
+
_defineProperty(this, "dataType", void 0);
|
|
52
28
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
53
|
-
|
|
29
|
+
var fileList = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_file")]) || [];
|
|
30
|
+
if (!fileList.length) {
|
|
54
31
|
return /*#__PURE__*/React.createElement("span", null, "--");
|
|
55
32
|
}
|
|
56
|
-
|
|
57
|
-
return ""
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
61
|
-
style: {
|
|
62
|
-
marginRight: "5px",
|
|
63
|
-
display: "inline-block"
|
|
64
|
-
}
|
|
65
|
-
}, /*#__PURE__*/React.createElement(Image, {
|
|
66
|
-
width: 32,
|
|
67
|
-
src: "".concat(pic, "?x-oss-process=image/resize,m_pad,h_40,w_40"),
|
|
68
|
-
preview: {
|
|
69
|
-
src: pic
|
|
70
|
-
}
|
|
71
|
-
}));
|
|
33
|
+
return fileList === null || fileList === void 0 ? void 0 : fileList.map(function (file) {
|
|
34
|
+
return /*#__PURE__*/React.createElement("a", {
|
|
35
|
+
href: file.url
|
|
36
|
+
}, file.name);
|
|
72
37
|
});
|
|
73
38
|
});
|
|
74
39
|
_defineProperty(this, "renderLog", function (r) {
|
|
@@ -79,10 +44,10 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
|
|
|
79
44
|
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_file")];
|
|
80
45
|
});
|
|
81
46
|
_defineProperty(this, "renderClient", function (record) {
|
|
82
|
-
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
47
|
+
return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_file")]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
83
48
|
id: _this.id,
|
|
84
49
|
label: _this.name,
|
|
85
|
-
value: _this.
|
|
50
|
+
value: _this.renderPc(null, record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_file")])
|
|
86
51
|
}) : null;
|
|
87
52
|
});
|
|
88
53
|
_defineProperty(this, "editRender", function () {
|
|
@@ -98,8 +63,12 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
|
|
|
98
63
|
}))
|
|
99
64
|
});
|
|
100
65
|
});
|
|
101
|
-
_defineProperty(this, "renderExport", function () {
|
|
102
|
-
|
|
66
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
67
|
+
var textArr = ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_rate")]) || []).reduce(function (prv, next) {
|
|
68
|
+
prv.push(next.url);
|
|
69
|
+
return prv;
|
|
70
|
+
}, []);
|
|
71
|
+
return textArr === null || textArr === void 0 ? void 0 : textArr.join(",");
|
|
103
72
|
});
|
|
104
73
|
_defineProperty(this, "filterConfig", function () {
|
|
105
74
|
return [];
|
|
@@ -107,11 +76,13 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
|
|
|
107
76
|
this.name = options.name;
|
|
108
77
|
this.id = options.id;
|
|
109
78
|
this.sortField = "".concat(options.id, "_file");
|
|
79
|
+
this.formField = "".concat(options.id, "_file");
|
|
110
80
|
this.type = options.type;
|
|
111
81
|
this.componentConfig = options.componentConfig;
|
|
112
82
|
this.rules = [];
|
|
113
83
|
this.isCombinationComponent = false;
|
|
114
84
|
this.canSort = false;
|
|
115
85
|
this.children = [];
|
|
86
|
+
this.dataType = "array";
|
|
116
87
|
});
|
|
117
88
|
export default BasicFile;
|
|
@@ -87,6 +87,9 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
87
87
|
this.rules = [{
|
|
88
88
|
validator: function validator(_, value) {
|
|
89
89
|
var _this$componentConfig3, _this$componentConfig4, _this$componentConfig5;
|
|
90
|
+
if (!value) {
|
|
91
|
+
return Promise.resolve();
|
|
92
|
+
}
|
|
90
93
|
var number = /^(([0-9]*(\.[0-9]{1,})$)|([0-9]+$))/;
|
|
91
94
|
var mail = /^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(.[a-zA-Z0-9_-]+)+$/;
|
|
92
95
|
var phone = /^1\d{10}$/;
|
|
@@ -40,14 +40,12 @@ declare class LogisticsTrajectory implements ComponentInterface {
|
|
|
40
40
|
props: {
|
|
41
41
|
options: any[];
|
|
42
42
|
};
|
|
43
|
-
filterFn: (value: string) => (i: Record) => boolean;
|
|
44
43
|
} | {
|
|
45
44
|
searchDefaultConditions: "like";
|
|
46
45
|
type: string;
|
|
47
46
|
id: string;
|
|
48
47
|
name: string;
|
|
49
48
|
filterComponentType: "Input";
|
|
50
|
-
filterFn: (value: string) => (i: Record) => boolean;
|
|
51
49
|
})[];
|
|
52
50
|
}
|
|
53
51
|
export default LogisticsTrajectory;
|
|
@@ -91,24 +91,14 @@ var LogisticsTrajectory = /*#__PURE__*/_createClass(function LogisticsTrajectory
|
|
|
91
91
|
this.isCombinationComponent = true;
|
|
92
92
|
this.canSort = false;
|
|
93
93
|
this.dataType = "object";
|
|
94
|
-
this.children = [this.express, this.expressCode];
|
|
94
|
+
this.children = [this.express, this.expressCode, this.expressSnapshot];
|
|
95
95
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
96
96
|
validator: function validator(_, value) {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} else if (((_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.showField) === "EXPRESS_WAYBILL_CODE" && !(value !== null && value !== void 0 && value.order)) {
|
|
103
|
-
return Promise.reject(new Error("请输入物流单号"));
|
|
104
|
-
}
|
|
105
|
-
} else {
|
|
106
|
-
if (!(value !== null && value !== void 0 && value.company)) {
|
|
107
|
-
return Promise.reject(new Error("请选择物流公司"));
|
|
108
|
-
}
|
|
109
|
-
if (!(value !== null && value !== void 0 && value.order)) {
|
|
110
|
-
return Promise.reject(new Error("请输入物流单号"));
|
|
111
|
-
}
|
|
97
|
+
if (!value.trajectoryCompany) {
|
|
98
|
+
return Promise.reject(new Error("请选择物流公司"));
|
|
99
|
+
}
|
|
100
|
+
if (!value.trajectoryCode) {
|
|
101
|
+
return Promise.reject(new Error("请输入物流单号"));
|
|
112
102
|
}
|
|
113
103
|
return Promise.resolve();
|
|
114
104
|
}
|
|
@@ -33,6 +33,7 @@ var TrajectoryCode = /*#__PURE__*/_createClass(function TrajectoryCode(options)
|
|
|
33
33
|
var company = record === null || record === void 0 ? void 0 : record["".concat(_this.parentId, "_trajectoryCompany")];
|
|
34
34
|
var code = record === null || record === void 0 ? void 0 : record[_this.id];
|
|
35
35
|
return /*#__PURE__*/React.createElement("div", null, code ? /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
|
|
36
|
+
title: code,
|
|
36
37
|
modelWidth: w,
|
|
37
38
|
interceptCompany: company,
|
|
38
39
|
interceptCode: code,
|
|
@@ -64,16 +65,15 @@ var TrajectoryCode = /*#__PURE__*/_createClass(function TrajectoryCode(options)
|
|
|
64
65
|
return null;
|
|
65
66
|
});
|
|
66
67
|
_defineProperty(this, "filterConfig", function (item) {
|
|
67
|
-
var subKey = item.subKey;
|
|
68
68
|
return {
|
|
69
69
|
searchDefaultConditions: SYMBOL.like,
|
|
70
70
|
type: item.type,
|
|
71
|
-
id:
|
|
71
|
+
id: "".concat(item.id, "_trajectoryCode"),
|
|
72
72
|
name: "".concat(item.name, "-\u7269\u6D41\u5355\u53F7"),
|
|
73
73
|
filterComponentType: "Input",
|
|
74
74
|
filterFn: function filterFn(value) {
|
|
75
75
|
return function (i) {
|
|
76
|
-
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, ""
|
|
76
|
+
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, "trajectoryCode"), value);
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
};
|
|
@@ -8,7 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from "react";
|
|
9
9
|
import { ExpressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
10
10
|
import ItemView from "../../commonComponents/ItemView";
|
|
11
|
-
import { isNull
|
|
11
|
+
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
12
12
|
import { SYMBOL } from "../../constant";
|
|
13
13
|
var TrajectoryCompany = /*#__PURE__*/_createClass(function TrajectoryCompany(options) {
|
|
14
14
|
var _this = this;
|
|
@@ -55,20 +55,14 @@ var TrajectoryCompany = /*#__PURE__*/_createClass(function TrajectoryCompany(opt
|
|
|
55
55
|
return null;
|
|
56
56
|
});
|
|
57
57
|
_defineProperty(this, "filterConfig", function (item) {
|
|
58
|
-
var subKey = item.subKey;
|
|
59
58
|
return {
|
|
60
59
|
searchDefaultConditions: SYMBOL.in,
|
|
61
60
|
type: item.type,
|
|
62
|
-
id:
|
|
61
|
+
id: item.id,
|
|
63
62
|
name: "".concat(item.name, "-\u7269\u6D41\u516C\u53F8"),
|
|
64
63
|
filterComponentType: "MultipleSelect",
|
|
65
64
|
props: {
|
|
66
65
|
options: _this.expressDateInstance.getExpressData() || []
|
|
67
|
-
},
|
|
68
|
-
filterFn: function filterFn(value) {
|
|
69
|
-
return function (i) {
|
|
70
|
-
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, "".concat(subKey)));
|
|
71
|
-
};
|
|
72
66
|
}
|
|
73
67
|
};
|
|
74
68
|
});
|
|
@@ -7,7 +7,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
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
8
|
import React from "react";
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
|
-
import { isNull
|
|
10
|
+
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
import { SYMBOL } from "../../constant";
|
|
12
12
|
var TrajectorySnapshot = /*#__PURE__*/_createClass(function TrajectorySnapshot(options) {
|
|
13
13
|
var _this = this;
|
|
@@ -50,18 +50,12 @@ var TrajectorySnapshot = /*#__PURE__*/_createClass(function TrajectorySnapshot(o
|
|
|
50
50
|
return null;
|
|
51
51
|
});
|
|
52
52
|
_defineProperty(this, "filterConfig", function (item) {
|
|
53
|
-
var subKey = item.subKey;
|
|
54
53
|
return {
|
|
55
54
|
searchDefaultConditions: SYMBOL.like,
|
|
56
55
|
type: item.type,
|
|
57
|
-
id:
|
|
56
|
+
id: item.id,
|
|
58
57
|
name: "".concat(item.name, "-\u7269\u6D41\u5FEB\u7167"),
|
|
59
|
-
filterComponentType: "Input"
|
|
60
|
-
filterFn: function filterFn(value) {
|
|
61
|
-
return function (i) {
|
|
62
|
-
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, "".concat(subKey)), value);
|
|
63
|
-
};
|
|
64
|
-
}
|
|
58
|
+
filterComponentType: "Input"
|
|
65
59
|
};
|
|
66
60
|
});
|
|
67
61
|
this.name = options.name;
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, BsLogistics, BsGoods, BsExchange, BsReissue } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) =>
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => ActualPayment | BsExchange | BsGoods | BsLogistics | BsReissue | BasicFile | BasicInput | JstItemSelect | JstLogistics | JstSendGood | JstSupply | LogisticsTrajectory | BasicPosting | BasicDataTime | TradeDateTime | BasicAddress | BasicCascader | BasicCheckbox | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | CommonDataTime | TradeId | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | Logistics | ReturnLogistics | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | FlowStatusSelect | TemplateSelect | WorkOrderId | LogisticsInterception | PlatForm | ShopInput | Submitter | Handler | CompletedUser;
|
package/dist/esm/type.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.7.15-alpha.
|
|
3
|
+
"version": "0.7.15-alpha.22",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"father": "^4.1.7"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@kmkf-fe-packages/basic-components": "^0.7.15-alpha.
|
|
30
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.7.15-alpha.
|
|
29
|
+
"@kmkf-fe-packages/basic-components": "^0.7.15-alpha.22",
|
|
30
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.7.15-alpha.22"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@ant-design/icons": "^4.7.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "a10fd461911a357a1f8b6d13e499dd64e84e6c4e"
|
|
44
44
|
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from "../../../type";
|
|
2
|
-
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
3
|
-
declare class BsPic implements ComponentInterface {
|
|
4
|
-
name: string;
|
|
5
|
-
parentId: string;
|
|
6
|
-
id: string;
|
|
7
|
-
sortField: string;
|
|
8
|
-
type: string;
|
|
9
|
-
rules: any[];
|
|
10
|
-
componentConfig: ComponentInterface["componentConfig"];
|
|
11
|
-
effects: ComponentInterface["effects"];
|
|
12
|
-
align: ALignType;
|
|
13
|
-
width: number;
|
|
14
|
-
isCombinationComponent: boolean;
|
|
15
|
-
formField: string;
|
|
16
|
-
canSort: boolean;
|
|
17
|
-
children: ComponentInterface[];
|
|
18
|
-
expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
|
|
19
|
-
dataType: ComponentInterface["dataType"];
|
|
20
|
-
constructor(options: PickOption);
|
|
21
|
-
getComponentValue: (r: Record) => any;
|
|
22
|
-
renderClient: (record: any) => null;
|
|
23
|
-
renderPc: (value: any, record: Record) => null;
|
|
24
|
-
renderLog: (r: Record) => any;
|
|
25
|
-
renderExport: (value: any, record: Record) => any;
|
|
26
|
-
editRender: () => null;
|
|
27
|
-
filterConfig: (item: ColumnConfig) => {
|
|
28
|
-
searchDefaultConditions: "in";
|
|
29
|
-
type: string;
|
|
30
|
-
id: string;
|
|
31
|
-
name: string;
|
|
32
|
-
filterComponentType: "MultipleSelect";
|
|
33
|
-
props: {
|
|
34
|
-
options: {
|
|
35
|
-
label: string;
|
|
36
|
-
value: string;
|
|
37
|
-
}[];
|
|
38
|
-
};
|
|
39
|
-
formatFilterValue: (value: string[]) => string[];
|
|
40
|
-
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export default BsPic;
|