@kmkf-fe-packages/services-components 0.7.11-alpha.1 → 0.7.11-alpha.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/dist/esm/components/ActualPayment/index.d.ts +1 -0
- package/dist/esm/components/ActualPayment/index.js +2 -0
- package/dist/esm/components/Address/index.d.ts +1 -0
- package/dist/esm/components/Address/index.js +2 -0
- package/dist/esm/components/Alipay/index.d.ts +1 -0
- package/dist/esm/components/Alipay/index.js +2 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +1 -0
- package/dist/esm/components/AlipayAccount/index.js +2 -0
- package/dist/esm/components/AlipayName/index.d.ts +1 -0
- package/dist/esm/components/AlipayName/index.js +2 -0
- package/dist/esm/components/BuyerNick/index.d.ts +1 -0
- package/dist/esm/components/BuyerNick/index.js +2 -0
- package/dist/esm/components/Cascader/index.d.ts +1 -0
- package/dist/esm/components/Cascader/index.js +2 -0
- package/dist/esm/components/Checkbox/index.d.ts +2 -0
- package/dist/esm/components/Checkbox/index.js +5 -0
- package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
- package/dist/esm/components/CommonDataTime/index.js +2 -0
- package/dist/esm/components/CompletedUser/index.d.ts +1 -0
- package/dist/esm/components/CompletedUser/index.js +2 -0
- package/dist/esm/components/DataTime/index.d.ts +1 -0
- package/dist/esm/components/DataTime/index.js +2 -0
- package/dist/esm/components/EItemEnCode/index.d.ts +1 -0
- package/dist/esm/components/EItemEnCode/index.js +2 -0
- package/dist/esm/components/EItemId/index.d.ts +1 -0
- package/dist/esm/components/EItemId/index.js +2 -0
- package/dist/esm/components/EItemSelect/index.d.ts +1 -0
- package/dist/esm/components/EItemSelect/index.js +2 -0
- package/dist/esm/components/ErpTradeId/index.d.ts +1 -0
- package/dist/esm/components/ErpTradeId/index.js +2 -0
- package/dist/esm/components/Express/index.d.ts +1 -0
- package/dist/esm/components/Express/index.js +2 -0
- package/dist/esm/components/ExpressCode/index.d.ts +1 -0
- package/dist/esm/components/ExpressCode/index.js +2 -0
- package/dist/esm/components/FlowStatusSelect/index.d.ts +1 -0
- package/dist/esm/components/FlowStatusSelect/index.js +2 -0
- package/dist/esm/components/Grade/index.d.ts +1 -0
- package/dist/esm/components/Grade/index.js +2 -0
- package/dist/esm/components/Handler/index.d.ts +1 -0
- package/dist/esm/components/Handler/index.js +2 -0
- package/dist/esm/components/Input/index.d.ts +1 -0
- package/dist/esm/components/Input/index.js +2 -0
- package/dist/esm/components/JstItemSelect/index.d.ts +1 -0
- package/dist/esm/components/JstItemSelect/index.js +2 -0
- package/dist/esm/components/JstLogistics/index.d.ts +1 -0
- package/dist/esm/components/JstLogistics/index.js +2 -0
- package/dist/esm/components/JstSendGood/index.d.ts +1 -0
- package/dist/esm/components/JstSendGood/index.js +2 -0
- package/dist/esm/components/JstSupply/index.d.ts +1 -0
- package/dist/esm/components/JstSupply/index.js +2 -0
- package/dist/esm/components/Logistics/index.d.ts +1 -0
- package/dist/esm/components/Logistics/index.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.js +2 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/index.js +2 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +3 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +6 -0
- package/dist/esm/components/MultSelect/index.d.ts +1 -0
- package/dist/esm/components/MultSelect/index.js +2 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -0
- package/dist/esm/components/Ordinary/index.d.ts +1 -0
- package/dist/esm/components/Ordinary/index.js +2 -1
- package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNick.js +2 -0
- package/dist/esm/components/Payment/AlipayNo.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNo.js +2 -0
- package/dist/esm/components/Payment/AlipayTime.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayTime.js +2 -0
- package/dist/esm/components/Payment/BuyerNick.d.ts +1 -0
- package/dist/esm/components/Payment/BuyerNick.js +2 -0
- package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentAmount.js +2 -0
- package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentStatus.js +2 -0
- package/dist/esm/components/Payment/PaymentTid.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentTid.js +2 -0
- package/dist/esm/components/Payment/index.d.ts +1 -0
- package/dist/esm/components/Payment/index.js +2 -0
- package/dist/esm/components/Picture/index.d.ts +1 -0
- package/dist/esm/components/Picture/index.js +2 -0
- package/dist/esm/components/PlatForm/index.d.ts +1 -0
- package/dist/esm/components/PlatForm/index.js +2 -0
- package/dist/esm/components/Radio/index.d.ts +2 -0
- package/dist/esm/components/Radio/index.js +5 -0
- package/dist/esm/components/Rate/index.d.ts +1 -0
- package/dist/esm/components/Rate/index.js +2 -0
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -0
- package/dist/esm/components/ReceiverAddress/index.js +2 -0
- package/dist/esm/components/ReceiverMobile/index.d.ts +1 -0
- package/dist/esm/components/ReceiverMobile/index.js +2 -0
- package/dist/esm/components/ReceiverName/index.d.ts +1 -0
- package/dist/esm/components/ReceiverName/index.js +2 -0
- package/dist/esm/components/Remark/index.d.ts +1 -0
- package/dist/esm/components/Remark/index.js +2 -0
- package/dist/esm/components/ReturnLogistics/index.d.ts +1 -0
- package/dist/esm/components/ReturnLogistics/index.js +2 -0
- package/dist/esm/components/Select/index.d.ts +1 -0
- package/dist/esm/components/Select/index.js +2 -0
- package/dist/esm/components/ShopInput/index.d.ts +1 -0
- package/dist/esm/components/ShopInput/index.js +2 -0
- package/dist/esm/components/ShopName/index.d.ts +1 -0
- package/dist/esm/components/ShopName/index.js +2 -0
- package/dist/esm/components/Submitter/index.d.ts +1 -0
- package/dist/esm/components/Submitter/index.js +2 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +1 -0
- package/dist/esm/components/SystemOrderNo/index.js +2 -0
- package/dist/esm/components/TemplateSelect/index.d.ts +1 -0
- package/dist/esm/components/TemplateSelect/index.js +2 -0
- package/dist/esm/components/TextArea/index.d.ts +1 -0
- package/dist/esm/components/TextArea/index.js +2 -0
- package/dist/esm/components/ThirdItemSelect/index.d.ts +1 -0
- package/dist/esm/components/ThirdItemSelect/index.js +2 -0
- package/dist/esm/components/TradeDateTime/index.d.ts +1 -0
- package/dist/esm/components/TradeDateTime/index.js +2 -0
- package/dist/esm/components/TradeId/index.d.ts +2 -2
- package/dist/esm/components/TradeId/index.js +2 -2
- package/dist/esm/components/WorkOrderId/index.d.ts +1 -0
- package/dist/esm/components/WorkOrderId/index.js +2 -0
- package/dist/esm/type.d.ts +2 -0
- package/package.json +4 -4
|
@@ -23,6 +23,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
|
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "rateMap", void 0);
|
|
25
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
+
_defineProperty(this, "formField", void 0);
|
|
26
27
|
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -126,6 +127,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
|
|
|
126
127
|
this.name = options.name;
|
|
127
128
|
this.id = options.id;
|
|
128
129
|
this.sortField = "".concat(options.id, "_rate");
|
|
130
|
+
this.formField = "".concat(options.id, "_rate");
|
|
129
131
|
this.type = options.type;
|
|
130
132
|
this.componentConfig = options.componentConfig;
|
|
131
133
|
this.isCombinationComponent = false;
|
|
@@ -14,6 +14,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
14
14
|
componentConfig: ComponentInterface["componentConfig"];
|
|
15
15
|
effects: ComponentInterface["effects"];
|
|
16
16
|
isCombinationComponent: boolean;
|
|
17
|
+
formField: string;
|
|
17
18
|
canSort: boolean;
|
|
18
19
|
children: ComponentInterface[];
|
|
19
20
|
addressDateInstance: InstanceType<typeof AddressData>;
|
|
@@ -24,6 +24,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
24
24
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
25
|
_defineProperty(this, "effects", void 0);
|
|
26
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "formField", void 0);
|
|
27
28
|
_defineProperty(this, "canSort", void 0);
|
|
28
29
|
_defineProperty(this, "children", void 0);
|
|
29
30
|
_defineProperty(this, "addressDateInstance", void 0);
|
|
@@ -109,6 +110,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
109
110
|
this.name = options.name;
|
|
110
111
|
this.id = options.id;
|
|
111
112
|
this.sortField = options.id;
|
|
113
|
+
this.formField = options.id;
|
|
112
114
|
this.type = options.type;
|
|
113
115
|
this.componentConfig = options.componentConfig;
|
|
114
116
|
this.isCombinationComponent = false;
|
|
@@ -9,6 +9,7 @@ declare class ReceiverMobile implements ComponentInterface {
|
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
effects: ComponentInterface["effects"];
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
formField: string;
|
|
12
13
|
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
dataType: ComponentInterface['dataType'];
|
|
@@ -23,6 +23,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "effects", void 0);
|
|
25
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
+
_defineProperty(this, "formField", void 0);
|
|
26
27
|
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -90,6 +91,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
90
91
|
this.name = options.name;
|
|
91
92
|
this.id = options.id;
|
|
92
93
|
this.sortField = "".concat(options.id, "_receiveMobile");
|
|
94
|
+
this.formField = "".concat(options.id, "_receiveMobile");
|
|
93
95
|
this.type = options.type;
|
|
94
96
|
this.componentConfig = options.componentConfig;
|
|
95
97
|
this.rules = [];
|
|
@@ -9,6 +9,7 @@ declare class ReceiverName implements ComponentInterface {
|
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
effects: ComponentInterface["effects"];
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
formField: string;
|
|
12
13
|
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
dataType: ComponentInterface['dataType'];
|
|
@@ -23,6 +23,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "effects", void 0);
|
|
25
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
+
_defineProperty(this, "formField", void 0);
|
|
26
27
|
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -87,6 +88,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
87
88
|
this.name = options.name;
|
|
88
89
|
this.id = options.id;
|
|
89
90
|
this.sortField = "".concat(options.id, "_receiveName");
|
|
91
|
+
this.formField = "".concat(options.id, "_receiveName");
|
|
90
92
|
this.type = options.type;
|
|
91
93
|
this.componentConfig = options.componentConfig;
|
|
92
94
|
this.rules = [];
|
|
@@ -31,6 +31,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
31
31
|
_defineProperty(this, "imgList", void 0);
|
|
32
32
|
_defineProperty(this, "flagColors", void 0);
|
|
33
33
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
34
|
+
_defineProperty(this, "formField", void 0);
|
|
34
35
|
_defineProperty(this, "canSort", void 0);
|
|
35
36
|
_defineProperty(this, "children", void 0);
|
|
36
37
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -106,6 +107,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
106
107
|
this.name = options.name;
|
|
107
108
|
this.id = options.id;
|
|
108
109
|
this.sortField = "".concat(options.id, "_remark");
|
|
110
|
+
this.formField = "".concat(options.id, "_remark");
|
|
109
111
|
this.type = options.type;
|
|
110
112
|
this.componentConfig = options.componentConfig;
|
|
111
113
|
this.dataType = 'object';
|
|
@@ -15,6 +15,7 @@ declare class ReturnLogistics implements ComponentInterface {
|
|
|
15
15
|
express: Express;
|
|
16
16
|
expressCode: ExpressCode;
|
|
17
17
|
isCombinationComponent: boolean;
|
|
18
|
+
formField: string;
|
|
18
19
|
canSort: boolean;
|
|
19
20
|
children: ComponentInterface[];
|
|
20
21
|
dataType: ComponentInterface['dataType'];
|
|
@@ -29,6 +29,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
29
29
|
_defineProperty(this, "express", void 0);
|
|
30
30
|
_defineProperty(this, "expressCode", void 0);
|
|
31
31
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
32
|
+
_defineProperty(this, "formField", void 0);
|
|
32
33
|
_defineProperty(this, "canSort", void 0);
|
|
33
34
|
_defineProperty(this, "children", void 0);
|
|
34
35
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -74,6 +75,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
74
75
|
this.name = options.name;
|
|
75
76
|
this.id = options.id;
|
|
76
77
|
this.sortField = options.id;
|
|
78
|
+
this.formField = options.id;
|
|
77
79
|
this.type = options.type;
|
|
78
80
|
this.showContains = false;
|
|
79
81
|
this.dataType = 'string';
|
|
@@ -8,6 +8,7 @@ declare class BasicSelect implements ComponentInterface {
|
|
|
8
8
|
rules: any[];
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
formField: string;
|
|
11
12
|
canSort: boolean;
|
|
12
13
|
children: ComponentInterface[];
|
|
13
14
|
dataType: ComponentInterface['dataType'];
|
|
@@ -23,6 +23,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
23
23
|
_defineProperty(this, "rules", void 0);
|
|
24
24
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
+
_defineProperty(this, "formField", void 0);
|
|
26
27
|
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -86,6 +87,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
86
87
|
this.name = options.name;
|
|
87
88
|
this.id = options.id;
|
|
88
89
|
this.sortField = "".concat(options.id, "_select");
|
|
90
|
+
this.formField = "".concat(options.id, "_select");
|
|
89
91
|
this.type = options.type;
|
|
90
92
|
this.componentConfig = options.componentConfig;
|
|
91
93
|
this.rules = [];
|
|
@@ -8,6 +8,7 @@ declare class ShopInput implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
effects: ComponentInterface["effects"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
formField: string;
|
|
11
12
|
canSort: boolean;
|
|
12
13
|
children: ComponentInterface[];
|
|
13
14
|
dataType: ComponentInterface['dataType'];
|
|
@@ -20,6 +20,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
20
20
|
_defineProperty(this, "componentConfig", void 0);
|
|
21
21
|
_defineProperty(this, "effects", void 0);
|
|
22
22
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
23
|
+
_defineProperty(this, "formField", void 0);
|
|
23
24
|
_defineProperty(this, "canSort", void 0);
|
|
24
25
|
_defineProperty(this, "children", void 0);
|
|
25
26
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -88,6 +89,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
88
89
|
this.id = "shopName";
|
|
89
90
|
this.type = "SHOP_INPUT";
|
|
90
91
|
this.sortField = "shopName";
|
|
92
|
+
this.formField = "shopName";
|
|
91
93
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
92
94
|
this.isCombinationComponent = false;
|
|
93
95
|
this.canSort = true;
|
|
@@ -8,6 +8,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
8
8
|
rules: any[];
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
formField: string;
|
|
11
12
|
canSort: boolean;
|
|
12
13
|
children: ComponentInterface[];
|
|
13
14
|
dataType: ComponentInterface['dataType'];
|
|
@@ -22,6 +22,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
22
22
|
_defineProperty(this, "rules", void 0);
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "formField", void 0);
|
|
25
26
|
_defineProperty(this, "canSort", void 0);
|
|
26
27
|
_defineProperty(this, "children", void 0);
|
|
27
28
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -80,6 +81,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
80
81
|
this.id = options.id;
|
|
81
82
|
this.type = options.type;
|
|
82
83
|
this.sortField = "".concat(options.id, "_shopName");
|
|
84
|
+
this.formField = "".concat(options.id, "_shopName");
|
|
83
85
|
this.componentConfig = options.componentConfig;
|
|
84
86
|
this.rules = [];
|
|
85
87
|
this.isCombinationComponent = false;
|
|
@@ -8,6 +8,7 @@ declare class Submitter implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
effects: ComponentInterface["effects"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
formField: string;
|
|
11
12
|
canSort: boolean;
|
|
12
13
|
children: ComponentInterface[];
|
|
13
14
|
dataType: ComponentInterface['dataType'];
|
|
@@ -19,6 +19,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
19
19
|
_defineProperty(this, "componentConfig", void 0);
|
|
20
20
|
_defineProperty(this, "effects", void 0);
|
|
21
21
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
22
|
+
_defineProperty(this, "formField", void 0);
|
|
22
23
|
_defineProperty(this, "canSort", void 0);
|
|
23
24
|
_defineProperty(this, "children", void 0);
|
|
24
25
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -75,6 +76,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
75
76
|
this.id = "submitter";
|
|
76
77
|
this.type = "OPERATOR_INPUT";
|
|
77
78
|
this.sortField = "submitter";
|
|
79
|
+
this.formField = "submitter";
|
|
78
80
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
79
81
|
this.isCombinationComponent = false;
|
|
80
82
|
this.canSort = true;
|
|
@@ -9,6 +9,7 @@ declare class SystemOrderNo implements ComponentInterface {
|
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
effects: ComponentInterface["effects"];
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
formField: string;
|
|
12
13
|
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
dataType: ComponentInterface['dataType'];
|
|
@@ -23,6 +23,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "effects", void 0);
|
|
25
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
+
_defineProperty(this, "formField", void 0);
|
|
26
27
|
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -83,6 +84,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
83
84
|
this.name = options.name;
|
|
84
85
|
this.id = options.id;
|
|
85
86
|
this.sortField = "".concat(options.id, "_systemOrderNo");
|
|
87
|
+
this.formField = "".concat(options.id, "_systemOrderNo");
|
|
86
88
|
this.type = options.type;
|
|
87
89
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
88
90
|
this.componentConfig = options.componentConfig;
|
|
@@ -9,6 +9,7 @@ declare class TemplateSelect implements ComponentInterface {
|
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
effects: ComponentInterface["effects"];
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
formField: string;
|
|
12
13
|
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
dataType: ComponentInterface['dataType'];
|
|
@@ -22,6 +22,7 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
|
|
|
22
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
23
23
|
_defineProperty(this, "effects", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "formField", void 0);
|
|
25
26
|
_defineProperty(this, "canSort", void 0);
|
|
26
27
|
_defineProperty(this, "children", void 0);
|
|
27
28
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -82,6 +83,7 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
|
|
|
82
83
|
this.name = options.name;
|
|
83
84
|
this.id = options.id;
|
|
84
85
|
this.sortField = options.id;
|
|
86
|
+
this.formField = options.id;
|
|
85
87
|
this.type = options.type;
|
|
86
88
|
this.componentConfig = options.componentConfig;
|
|
87
89
|
this.rules = [];
|
|
@@ -8,6 +8,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
8
8
|
rules: any[];
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
formField: string;
|
|
11
12
|
canSort: boolean;
|
|
12
13
|
children: ComponentInterface[];
|
|
13
14
|
dataType: ComponentInterface['dataType'];
|
|
@@ -22,6 +22,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
22
22
|
_defineProperty(this, "rules", void 0);
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "formField", void 0);
|
|
25
26
|
_defineProperty(this, "canSort", void 0);
|
|
26
27
|
_defineProperty(this, "children", void 0);
|
|
27
28
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -79,6 +80,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
79
80
|
this.name = options.name;
|
|
80
81
|
this.id = options.id;
|
|
81
82
|
this.sortField = "".concat(options.id, "_textarea");
|
|
83
|
+
this.formField = "".concat(options.id, "_textarea");
|
|
82
84
|
this.type = options.type;
|
|
83
85
|
this.componentConfig = options.componentConfig;
|
|
84
86
|
this.dataType = 'string';
|
|
@@ -9,6 +9,7 @@ declare class ThirdItemSelect implements ComponentInterface {
|
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
effects: ComponentInterface["effects"];
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
formField: string;
|
|
12
13
|
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
dataType: ComponentInterface['dataType'];
|
|
@@ -25,6 +25,7 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "effects", void 0);
|
|
27
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
+
_defineProperty(this, "formField", void 0);
|
|
28
29
|
_defineProperty(this, "canSort", void 0);
|
|
29
30
|
_defineProperty(this, "children", void 0);
|
|
30
31
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -104,6 +105,7 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
104
105
|
this.name = options.name || '供应商编码/名称';
|
|
105
106
|
this.id = options.id;
|
|
106
107
|
this.sortField = "".concat(options.id, "_itemList");
|
|
108
|
+
this.formField = "".concat(options.id, "_itemList");
|
|
107
109
|
this.type = options.type;
|
|
108
110
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
109
111
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
@@ -10,6 +10,7 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
10
10
|
showContains: boolean;
|
|
11
11
|
componentConfig: ComponentInterface["componentConfig"];
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
|
+
formField: string;
|
|
13
14
|
canSort: boolean;
|
|
14
15
|
children: ComponentInterface[];
|
|
15
16
|
dataMap: Record;
|
|
@@ -24,6 +24,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
24
24
|
_defineProperty(this, "showContains", void 0);
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "formField", void 0);
|
|
27
28
|
_defineProperty(this, "canSort", void 0);
|
|
28
29
|
_defineProperty(this, "children", void 0);
|
|
29
30
|
_defineProperty(this, "dataMap", void 0);
|
|
@@ -119,6 +120,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
119
120
|
this.name = options.name;
|
|
120
121
|
this.id = options.id;
|
|
121
122
|
this.sortField = "".concat(options.id, "_").concat(this.getKeyByComponentType(options.type));
|
|
123
|
+
this.formField = "".concat(options.id, "_").concat(this.getKeyByComponentType(options.type));
|
|
122
124
|
this.type = options.type;
|
|
123
125
|
this.showContains = false;
|
|
124
126
|
this.dataType = 'string';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption,
|
|
1
|
+
import { ComponentInterface, PickOption, Record, ColumnConfig } from '../../type';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare class ETradeId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
@@ -6,12 +6,12 @@ declare class ETradeId implements ComponentInterface {
|
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
-
dataType: DataType;
|
|
10
9
|
showContains: boolean;
|
|
11
10
|
onlyContainsString: boolean;
|
|
12
11
|
componentConfig: ComponentInterface["componentConfig"];
|
|
13
12
|
effects: ComponentInterface["effects"];
|
|
14
13
|
isCombinationComponent: boolean;
|
|
14
|
+
formField: string;
|
|
15
15
|
canSort: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
dataType: ComponentInterface['dataType'];
|
|
@@ -20,12 +20,12 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
|
20
20
|
_defineProperty(this, "sortField", void 0);
|
|
21
21
|
_defineProperty(this, "type", void 0);
|
|
22
22
|
_defineProperty(this, "rules", void 0);
|
|
23
|
-
_defineProperty(this, "dataType", void 0);
|
|
24
23
|
_defineProperty(this, "showContains", void 0);
|
|
25
24
|
_defineProperty(this, "onlyContainsString", void 0);
|
|
26
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
27
26
|
_defineProperty(this, "effects", void 0);
|
|
28
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
+
_defineProperty(this, "formField", void 0);
|
|
29
29
|
_defineProperty(this, "canSort", void 0);
|
|
30
30
|
_defineProperty(this, "children", void 0);
|
|
31
31
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -93,8 +93,8 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
|
93
93
|
this.name = options.name;
|
|
94
94
|
this.id = options.id;
|
|
95
95
|
this.sortField = "".concat(options.id, "_tradeId");
|
|
96
|
+
this.formField = "".concat(options.id, "_tradeId");
|
|
96
97
|
this.type = options.type;
|
|
97
|
-
this.dataType = 'tradeId';
|
|
98
98
|
this.showContains = false;
|
|
99
99
|
this.onlyContainsString = true;
|
|
100
100
|
this.componentConfig = options.componentConfig;
|
|
@@ -9,6 +9,7 @@ declare class WorkOrderId implements ComponentInterface {
|
|
|
9
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
effects: ComponentInterface["effects"];
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
formField: string;
|
|
12
13
|
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
dataType: ComponentInterface['dataType'];
|
|
@@ -26,6 +26,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
26
26
|
_defineProperty(this, "componentConfig", void 0);
|
|
27
27
|
_defineProperty(this, "effects", void 0);
|
|
28
28
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
29
|
+
_defineProperty(this, "formField", void 0);
|
|
29
30
|
_defineProperty(this, "canSort", void 0);
|
|
30
31
|
_defineProperty(this, "children", void 0);
|
|
31
32
|
_defineProperty(this, "dataType", void 0);
|
|
@@ -111,6 +112,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
111
112
|
this.name = options.name;
|
|
112
113
|
this.id = options.id;
|
|
113
114
|
this.sortField = options.id;
|
|
115
|
+
this.formField = options.id;
|
|
114
116
|
this.type = options.type;
|
|
115
117
|
this.componentConfig = options.componentConfig;
|
|
116
118
|
this.effects = options.effects;
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export interface ComponentInterface {
|
|
|
26
26
|
columnHeader?: string | JSX.Element;
|
|
27
27
|
type: string;
|
|
28
28
|
isCombinationComponent: boolean;
|
|
29
|
+
formField: string;
|
|
29
30
|
canSort: boolean;
|
|
30
31
|
children: ComponentInterface[];
|
|
31
32
|
rules?: any[];
|
|
@@ -184,6 +185,7 @@ export interface ComponentInterface {
|
|
|
184
185
|
}) => JSX.Element | null;
|
|
185
186
|
filterConfig: (p: ColumnConfig) => FilterConfigType | FilterConfigType[];
|
|
186
187
|
getComponentValue: (r: Record) => any;
|
|
188
|
+
formDataTransform?: (r: any) => any;
|
|
187
189
|
}
|
|
188
190
|
export declare type PickOption = Pick<ComponentInterface, "name" | "id" | "type" | "componentConfig" | "effects" | "columnHeader">;
|
|
189
191
|
export declare type ColumnConfig = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.7.11-alpha.
|
|
3
|
+
"version": "0.7.11-alpha.3",
|
|
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.11-alpha.
|
|
30
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.7.11-alpha.
|
|
29
|
+
"@kmkf-fe-packages/basic-components": "^0.7.11-alpha.2",
|
|
30
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.7.11-alpha.2"
|
|
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": "5fd78458b4a8f4bec1764c78fcb2d6fb9b8cf60f"
|
|
44
44
|
}
|