@kmkf-fe-packages/services-components 0.11.0-alpha.8 → 0.11.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/CompletedUser/index.js +1 -1
- package/dist/esm/components/FlowMarkSelect/index.js +1 -1
- package/dist/esm/components/Handler/index.js +1 -1
- package/dist/esm/components/PlatForm/index.d.ts +2 -2
- package/dist/esm/components/PlatForm/index.js +2 -2
- package/dist/esm/components/ShopInput/index.js +1 -1
- package/dist/esm/components/Submitter/index.js +1 -1
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/factory.js +1 -1
- package/package.json +2 -2
|
@@ -65,7 +65,7 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
|
65
65
|
};
|
|
66
66
|
});
|
|
67
67
|
this.name = "完成人";
|
|
68
|
-
this.id = "completedUserName";
|
|
68
|
+
this.id = (options === null || options === void 0 ? void 0 : options.id) || "completedUserName";
|
|
69
69
|
this.sortField = "completedUserName";
|
|
70
70
|
this.formField = "completedUserName";
|
|
71
71
|
this.type = "COMPLETED_USER_INPUT";
|
|
@@ -134,7 +134,7 @@ var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options)
|
|
|
134
134
|
};
|
|
135
135
|
});
|
|
136
136
|
this.name = "标记";
|
|
137
|
-
this.id = "markFlag";
|
|
137
|
+
this.id = (options === null || options === void 0 ? void 0 : options.id) || "markFlag";
|
|
138
138
|
this.sortField = "markFlag";
|
|
139
139
|
this.formField = "markFlag";
|
|
140
140
|
this.type = "FLOW_MARK_SELECT";
|
|
@@ -75,7 +75,7 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
75
75
|
};
|
|
76
76
|
});
|
|
77
77
|
this.name = "处理人";
|
|
78
|
-
this.id = "handlerList";
|
|
78
|
+
this.id = (options === null || options === void 0 ? void 0 : options.id) || "handlerList";
|
|
79
79
|
this.sortField = "handlerList";
|
|
80
80
|
this.formField = "handlerList";
|
|
81
81
|
this.type = "HANDLER_INPUT";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ComponentInterface, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type';
|
|
3
3
|
import { PlatData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class PlatForm implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -14,7 +14,7 @@ declare class PlatForm implements ComponentInterface {
|
|
|
14
14
|
platInstance: InstanceType<typeof PlatData>;
|
|
15
15
|
dataType: ComponentInterface['dataType'];
|
|
16
16
|
options: ComponentInterface['options'];
|
|
17
|
-
constructor();
|
|
17
|
+
constructor(options: PickOption);
|
|
18
18
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
19
19
|
renderExport: (value: any, record: Record) => string;
|
|
20
20
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
@@ -8,7 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { PlatData, filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
10
|
import { SYMBOL } from "../../constant";
|
|
11
|
-
var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
11
|
+
var PlatForm = /*#__PURE__*/_createClass(function PlatForm(options) {
|
|
12
12
|
var _this = this;
|
|
13
13
|
_classCallCheck(this, PlatForm);
|
|
14
14
|
_defineProperty(this, "name", void 0);
|
|
@@ -65,7 +65,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
|
65
65
|
};
|
|
66
66
|
});
|
|
67
67
|
this.name = "平台";
|
|
68
|
-
this.id = "platform";
|
|
68
|
+
this.id = (options === null || options === void 0 ? void 0 : options.id) || "platform";
|
|
69
69
|
this.type = "PLATFORM_INPUT";
|
|
70
70
|
this.sortField = 'platform';
|
|
71
71
|
this.formField = 'platform';
|
|
@@ -87,7 +87,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
87
87
|
};
|
|
88
88
|
});
|
|
89
89
|
this.name = "店铺名称";
|
|
90
|
-
this.id = "shopName";
|
|
90
|
+
this.id = (options === null || options === void 0 ? void 0 : options.id) || "shopName";
|
|
91
91
|
this.type = "SHOP_INPUT";
|
|
92
92
|
this.sortField = "shopName";
|
|
93
93
|
this.formField = "shopName";
|
|
@@ -73,7 +73,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
73
73
|
};
|
|
74
74
|
});
|
|
75
75
|
this.name = "提交人";
|
|
76
|
-
this.id = "submitter";
|
|
76
|
+
this.id = (options === null || options === void 0 ? void 0 : options.id) || "submitter";
|
|
77
77
|
this.type = "OPERATOR_INPUT";
|
|
78
78
|
this.sortField = "submitter";
|
|
79
79
|
this.formField = "submitter";
|
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, FlowMarkSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods } from './index';
|
|
2
2
|
import { PickOption } from './type';
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => CommonMultiStatus | CommonSystemOrder | StatusSelect | 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 | JstLogistics | JstItemSelect |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BsGoods | BsLogistics | BsSystemOrder | CommonMultiStatus | CommonSystemOrder | CompletedUser | FlowMarkSelect | Handler | JstSendGood | PlatForm | ShopInput | StatusSelect | Submitter | WlnGoods | 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 | JstLogistics | JstItemSelect | JstSupply | BsExchange | BsReissue | BsReturn | FlowStatusSelect | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | FlowWorkOrderId | Calculation | NodeDeadLine | HandlerDeadLine | NodeStayDuration;
|
package/dist/esm/factory.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.11.0-alpha.
|
|
3
|
+
"version": "0.11.0-alpha.9",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "496d6ac03416efd192b73cfebf17b6cdabfa330d"
|
|
44
44
|
}
|