@kmkf-fe-packages/services-components 0.8.9-alpha.2 → 0.8.9-alpha.5
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.
|
@@ -13,13 +13,13 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
13
13
|
formField: string;
|
|
14
14
|
canSort: boolean;
|
|
15
15
|
children: ComponentInterface[];
|
|
16
|
-
dataType: ComponentInterface[
|
|
16
|
+
dataType: ComponentInterface["dataType"];
|
|
17
17
|
constructor(options: PickOption);
|
|
18
18
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
19
19
|
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
20
20
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
21
21
|
getComponentValue: (r: Record) => any;
|
|
22
|
-
renderExport: (value: string, record: Record) =>
|
|
22
|
+
renderExport: (value: string, record: Record) => any;
|
|
23
23
|
editRender: (p: any) => React.JSX.Element;
|
|
24
24
|
filterConfig: (item: ColumnConfig) => {
|
|
25
25
|
searchDefaultConditions: "like";
|
|
@@ -47,8 +47,8 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
47
47
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
48
48
|
});
|
|
49
49
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
50
|
-
var
|
|
51
|
-
return (
|
|
50
|
+
var _record$_this$id2;
|
|
51
|
+
return (_record$_this$id2 = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id2 !== void 0 ? _record$_this$id2 : "--";
|
|
52
52
|
});
|
|
53
53
|
_defineProperty(this, "editRender", function (p) {
|
|
54
54
|
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
|
|
@@ -94,7 +94,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
94
94
|
this.width = 200;
|
|
95
95
|
this.isCombinationComponent = false;
|
|
96
96
|
this.canSort = true;
|
|
97
|
-
this.dataType =
|
|
97
|
+
this.dataType = "string";
|
|
98
98
|
this.children = [];
|
|
99
99
|
});
|
|
100
100
|
export default ExpressCode;
|
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, FlowWorkOrderId, 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) => JstLogistics | JstSendGood | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstItemSelect | JstSupply | BsGoods | BsExchange | BsReissue | FlowStatusSelect | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | PlatForm | ShopInput | Submitter | Handler | CompletedUser | FlowWorkOrderId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.8.9-alpha.
|
|
3
|
+
"version": "0.8.9-alpha.5",
|
|
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.8.9-alpha.
|
|
30
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.8.9-alpha.
|
|
29
|
+
"@kmkf-fe-packages/basic-components": "^0.8.9-alpha.5",
|
|
30
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.8.9-alpha.5"
|
|
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": "7aad6296b89633808b2c665d6f40a5af8e5ebd7b"
|
|
44
44
|
}
|