@kmkf-fe-packages/services-components 0.29.0 → 0.29.1-rc.3
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 +0 -1
- package/dist/esm/commonComponents/CopyText/index.d.ts +6 -0
- package/dist/esm/commonComponents/CopyText/index.js +12 -0
- package/dist/esm/commonComponents/PlatBuyer/index.d.ts +1 -1
- package/dist/esm/commonComponents/PlatBuyer/index.js +4 -17
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +1 -1
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +18 -15
- package/dist/esm/components/Common/index.d.ts +1 -1
- package/dist/esm/components/Common/index.js +182 -175
- package/dist/esm/components/CommonTradeId/index.d.ts +5 -6
- package/dist/esm/components/CommonTradeId/index.js +12 -25
- package/dist/esm/components/ExpressCode/index.d.ts +2 -2
- package/dist/esm/components/ExpressCode/index.js +6 -4
- package/dist/esm/components/FlowWorkOrderId/index.d.ts +2 -3
- package/dist/esm/components/FlowWorkOrderId/index.js +4 -18
- package/dist/esm/components/LogisticsInterception/InterceptState.d.ts +37 -0
- package/dist/esm/components/LogisticsInterception/InterceptState.js +89 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +4 -16
- package/dist/esm/components/LogisticsInterception/index.js +11 -6
- package/dist/esm/components/LogisticsMoreInterception/index.d.ts +13 -13
- package/dist/esm/components/LogisticsMoreInterception/index.js +14 -14
- package/dist/esm/components/LogisticsMoreInterception/{interceptItem.d.ts → interceptCode.d.ts} +2 -2
- package/dist/esm/components/LogisticsMoreInterception/{interceptItem.js → interceptCode.js} +7 -4
- package/dist/esm/components/Payment/PaymentTid.d.ts +1 -2
- package/dist/esm/components/Payment/PaymentTid.js +4 -18
- package/dist/esm/components/TradeId/index.d.ts +0 -1
- package/dist/esm/components/TradeId/index.js +4 -18
- package/dist/esm/components/WorkOrderId/index.d.ts +2 -3
- package/dist/esm/components/WorkOrderId/index.js +4 -18
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +1 -4
- package/dist/esm/index.d.ts +3 -3
- package/package.json +4 -4
|
@@ -8,9 +8,10 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
10
|
import { SYMBOL, batchInput } from "../../constant";
|
|
11
|
-
|
|
11
|
+
import CopyText from "../../commonComponents/CopyText";
|
|
12
|
+
var InterceptCode = /*#__PURE__*/_createClass(function InterceptCode(options) {
|
|
12
13
|
var _this = this;
|
|
13
|
-
_classCallCheck(this,
|
|
14
|
+
_classCallCheck(this, InterceptCode);
|
|
14
15
|
_defineProperty(this, "name", void 0);
|
|
15
16
|
_defineProperty(this, "id", void 0);
|
|
16
17
|
_defineProperty(this, "sortField", void 0);
|
|
@@ -28,7 +29,9 @@ var InterceptItem = /*#__PURE__*/_createClass(function InterceptItem(options) {
|
|
|
28
29
|
var list = record[_this.id] || [];
|
|
29
30
|
if (isNull(list)) return '--';
|
|
30
31
|
return /*#__PURE__*/React.createElement(React.Fragment, null, list.map(function (item, index) {
|
|
31
|
-
return /*#__PURE__*/React.createElement("div", null, "\u5305\u88F9".concat(index + 1, ":"),
|
|
32
|
+
return /*#__PURE__*/React.createElement("div", null, "\u5305\u88F9".concat(index + 1, ":"), /*#__PURE__*/React.createElement(CopyText, {
|
|
33
|
+
text: item
|
|
34
|
+
}));
|
|
32
35
|
}));
|
|
33
36
|
});
|
|
34
37
|
_defineProperty(this, "renderClient", function () {
|
|
@@ -78,4 +81,4 @@ var InterceptItem = /*#__PURE__*/_createClass(function InterceptItem(options) {
|
|
|
78
81
|
this.dataType = 'object';
|
|
79
82
|
this.children = [];
|
|
80
83
|
});
|
|
81
|
-
export default
|
|
84
|
+
export default InterceptCode;
|
|
@@ -6,7 +6,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
-
componentConfig: ComponentInterface[
|
|
9
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
10
10
|
align: ALignType;
|
|
11
11
|
width: number;
|
|
12
12
|
isCombinationComponent: boolean;
|
|
@@ -16,7 +16,6 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
16
16
|
dataType: ComponentInterface['dataType'];
|
|
17
17
|
constructor(options: PickOption);
|
|
18
18
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
19
|
-
copyHandle: (text: string) => void;
|
|
20
19
|
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
21
20
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
22
21
|
getComponentValue: (r: Record) => any;
|
|
@@ -6,14 +6,12 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
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
8
|
import React from 'react';
|
|
9
|
-
import { message } from 'antd';
|
|
10
9
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
11
|
-
import { CopyOutlined } from '@ant-design/icons';
|
|
12
10
|
import GetFormItem from "../GetFormItem";
|
|
13
11
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
12
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
-
import copy from 'copy-to-clipboard';
|
|
16
13
|
import { SYMBOL } from "../../constant";
|
|
14
|
+
import CopyText from "../../commonComponents/CopyText";
|
|
17
15
|
var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
18
16
|
var _this = this;
|
|
19
17
|
_classCallCheck(this, PaymentTid);
|
|
@@ -37,10 +35,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
37
35
|
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
38
36
|
}) : null;
|
|
39
37
|
});
|
|
40
|
-
_defineProperty(this, "copyHandle", function (text) {
|
|
41
|
-
copy(text);
|
|
42
|
-
message.success('复制成功');
|
|
43
|
-
});
|
|
44
38
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
45
39
|
if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
|
|
46
40
|
return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
|
|
@@ -49,17 +43,9 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
49
43
|
onClick: function onClick(e) {
|
|
50
44
|
return e.stopPropagation();
|
|
51
45
|
}
|
|
52
|
-
}, /*#__PURE__*/React.createElement(
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
e.stopPropagation();
|
|
56
|
-
}
|
|
57
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
58
|
-
style: {
|
|
59
|
-
paddingLeft: '4px',
|
|
60
|
-
cursor: 'pointer'
|
|
61
|
-
}
|
|
62
|
-
}, /*#__PURE__*/React.createElement(CopyOutlined, null)))));
|
|
46
|
+
}, /*#__PURE__*/React.createElement(CopyText, {
|
|
47
|
+
text: record === null || record === void 0 ? void 0 : record["".concat(_this.id)]
|
|
48
|
+
}));
|
|
63
49
|
});
|
|
64
50
|
_defineProperty(this, "renderLog", function (r) {
|
|
65
51
|
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
@@ -17,7 +17,6 @@ declare class ETradeId implements ComponentInterface {
|
|
|
17
17
|
dataType: ComponentInterface['dataType'];
|
|
18
18
|
constructor(options: PickOption);
|
|
19
19
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
|
-
copyHandle: (text: string) => void;
|
|
21
20
|
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
22
21
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
23
22
|
getComponentValue: (r: Record) => any;
|
|
@@ -7,14 +7,12 @@ 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 { message } from 'antd';
|
|
11
10
|
import { TradeId } from '@kmkf-fe-packages/basic-components';
|
|
12
|
-
import { CopyOutlined } from '@ant-design/icons';
|
|
13
11
|
import GetFormItem from "../GetFormItem";
|
|
14
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
16
|
-
import copy from 'copy-to-clipboard';
|
|
17
14
|
import { SYMBOL, batchInput } from "../../constant";
|
|
15
|
+
import CopyText from "../../commonComponents/CopyText";
|
|
18
16
|
var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
19
17
|
var _this = this;
|
|
20
18
|
_classCallCheck(this, ETradeId);
|
|
@@ -39,10 +37,6 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
|
39
37
|
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
40
38
|
}) : null;
|
|
41
39
|
});
|
|
42
|
-
_defineProperty(this, "copyHandle", function (text) {
|
|
43
|
-
copy(text);
|
|
44
|
-
message.success('复制成功');
|
|
45
|
-
});
|
|
46
40
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
47
41
|
if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_tradeId")]) === undefined) {
|
|
48
42
|
return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
|
|
@@ -51,17 +45,9 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
|
51
45
|
onClick: function onClick(e) {
|
|
52
46
|
return e.stopPropagation();
|
|
53
47
|
}
|
|
54
|
-
}, /*#__PURE__*/React.createElement(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
e.stopPropagation();
|
|
58
|
-
}
|
|
59
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
60
|
-
style: {
|
|
61
|
-
paddingLeft: '4px',
|
|
62
|
-
cursor: 'pointer'
|
|
63
|
-
}
|
|
64
|
-
}, /*#__PURE__*/React.createElement(CopyOutlined, null)))));
|
|
48
|
+
}, /*#__PURE__*/React.createElement(CopyText, {
|
|
49
|
+
text: record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_tradeId")]
|
|
50
|
+
}));
|
|
65
51
|
});
|
|
66
52
|
_defineProperty(this, "renderLog", function (r) {
|
|
67
53
|
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_tradeId")])) return null;
|
|
@@ -6,15 +6,14 @@ declare class WorkOrderId implements ComponentInterface {
|
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
-
componentConfig: ComponentInterface[
|
|
10
|
-
effects: ComponentInterface[
|
|
9
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
10
|
+
effects: ComponentInterface['effects'];
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
formField: string;
|
|
13
13
|
canSort: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
15
|
dataType: ComponentInterface['dataType'];
|
|
16
16
|
constructor(options: PickOption);
|
|
17
|
-
copyHandle: (text: string) => void;
|
|
18
17
|
renderPc: (value: any, record: any) => React.JSX.Element;
|
|
19
18
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
20
19
|
getComponentValue: (r: Record) => any;
|
|
@@ -7,13 +7,11 @@ 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 { message } from 'antd';
|
|
11
|
-
import { CopyOutlined } from '@ant-design/icons';
|
|
12
10
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
13
11
|
import { filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
12
|
import GetFormItem from "../GetFormItem";
|
|
15
|
-
import copy from 'copy-to-clipboard';
|
|
16
13
|
import { SYMBOL } from "../../constant";
|
|
14
|
+
import CopyText from "../../commonComponents/CopyText";
|
|
17
15
|
var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
18
16
|
var _this = this;
|
|
19
17
|
_classCallCheck(this, WorkOrderId);
|
|
@@ -29,25 +27,13 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
29
27
|
_defineProperty(this, "canSort", void 0);
|
|
30
28
|
_defineProperty(this, "children", void 0);
|
|
31
29
|
_defineProperty(this, "dataType", void 0);
|
|
32
|
-
_defineProperty(this, "copyHandle", function (text) {
|
|
33
|
-
copy(text);
|
|
34
|
-
message.success('复制成功');
|
|
35
|
-
});
|
|
36
30
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
37
31
|
if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
|
|
38
32
|
return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
|
|
39
33
|
}
|
|
40
|
-
return /*#__PURE__*/React.createElement(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
e.stopPropagation();
|
|
44
|
-
}
|
|
45
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
46
|
-
style: {
|
|
47
|
-
paddingLeft: '4px',
|
|
48
|
-
cursor: 'pointer'
|
|
49
|
-
}
|
|
50
|
-
}, /*#__PURE__*/React.createElement(CopyOutlined, null))));
|
|
34
|
+
return /*#__PURE__*/React.createElement(CopyText, {
|
|
35
|
+
text: record === null || record === void 0 ? void 0 : record["".concat(_this.id)]
|
|
36
|
+
});
|
|
51
37
|
});
|
|
52
38
|
_defineProperty(this, "renderLog", function (r) {
|
|
53
39
|
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
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, 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, NodeInput, FlowWorkOrderStatus,
|
|
1
|
+
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, 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, NodeInput, FlowWorkOrderStatus, CommonInput, PaymentVoucherCode } 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 | BasicAddress | AliPay | BsExchange | BsGoods | BsLogistics | BsPosting | BsReissue | BsReturn | BsSystemOrder | BuyerNick | Calculation | BasicCascader | BasicCheckbox | CommonDataTime | CommonInput | CommonMultiStatus | CommonSystemOrder | CompletedUser | BasicDataTime | ItemEnCode | ItemId | ItemSelect | BasicInput | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ERemark | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | FlowWorkOrderId | StatusSelect | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | NodeInput | FlowWorkOrderStatus | MsgStatus | PaymentVoucherCode;
|
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, NodeInput, FlowWorkOrderStatus,
|
|
3
|
+
CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, CommonInput, PaymentVoucherCode } from "./index";
|
|
4
4
|
export var factory = function factory(type, options) {
|
|
5
5
|
var _options$componentCon;
|
|
6
6
|
switch (type) {
|
|
@@ -196,9 +196,6 @@ export var factory = function factory(type, options) {
|
|
|
196
196
|
return new CommonDataTime(options);
|
|
197
197
|
case "FLOW_UPDATE_DATETIME":
|
|
198
198
|
return new CommonDataTime(options);
|
|
199
|
-
case "WDT_GOODS":
|
|
200
|
-
// 万里牛商品
|
|
201
|
-
return new WdtGoods(options);
|
|
202
199
|
case "BUSINESS_ORDER_NO":
|
|
203
200
|
return new CommonInput(options);
|
|
204
201
|
case "PAYMENT_VOUCHER_CODE":
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -70,9 +70,9 @@ 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
|
|
74
|
-
export { default as FlowWorkOrderStatus } from
|
|
75
|
-
export { default as MsgStatus } from
|
|
73
|
+
export { default as NodeInput } from './components/NodeInput';
|
|
74
|
+
export { default as FlowWorkOrderStatus } from './components/FlowWorkOrderStatus';
|
|
75
|
+
export { default as MsgStatus } from './components/MsgStatus';
|
|
76
76
|
export { default as WdtGoods } from "./components/WDT/WdtGoods";
|
|
77
77
|
export { default as CommonInput } from "./components/CommonInput";
|
|
78
78
|
export { default as PaymentVoucherCode } from "./components/PaymentVoucherCode";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.1-rc.3",
|
|
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.29.0",
|
|
24
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.29.0"
|
|
23
|
+
"@kmkf-fe-packages/basic-components": "^0.29.1-rc.0",
|
|
24
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.29.1-rc.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": "d76f8eddce5a5c4226b7bb39cfad0fe7ef6901e7",
|
|
41
41
|
"gitHooks": {
|
|
42
42
|
"pre-commit": "lint-staged"
|
|
43
43
|
}
|