@kmkf-fe-packages/services-components 0.3.1-alpha.5 → 0.3.1-alpha.7
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/AlipayAccount/index.js +2 -1
- 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/Ordinary/OrdinaryHeader.d.ts +2 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +4 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +2 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +2 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.js +4 -1
- package/dist/esm/components/Payment/AlipayNick.d.ts +2 -0
- package/dist/esm/components/Payment/AlipayNick.js +3 -0
- package/dist/esm/components/Payment/AlipayNo.d.ts +2 -0
- package/dist/esm/components/Payment/AlipayNo.js +3 -0
- package/dist/esm/components/Payment/AlipayTime.d.ts +2 -0
- package/dist/esm/components/Payment/AlipayTime.js +3 -0
- package/dist/esm/components/Payment/BuyerNick.d.ts +2 -0
- package/dist/esm/components/Payment/BuyerNick.js +3 -0
- package/dist/esm/components/Payment/PaymentAmount.d.ts +2 -0
- package/dist/esm/components/Payment/PaymentAmount.js +3 -0
- package/dist/esm/components/Payment/PaymentStatus.d.ts +2 -0
- package/dist/esm/components/Payment/PaymentStatus.js +3 -0
- package/dist/esm/components/Payment/PaymentTid.d.ts +2 -0
- package/dist/esm/components/Payment/PaymentTid.js +3 -0
- package/package.json +2 -2
|
@@ -83,6 +83,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
83
83
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
84
84
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
85
85
|
this.rules = [];
|
|
86
|
-
this.width = 200;
|
|
86
|
+
this.width = 200; // TODO: 针对子组件,必须拥有width属性,否则就会出现多列展示问题
|
|
87
87
|
});
|
|
88
|
+
|
|
88
89
|
export default EAlipayAccount;
|
|
@@ -14,6 +14,7 @@ declare class Express implements ComponentInterface {
|
|
|
14
14
|
componentConfig: ComponentInterface["componentConfig"];
|
|
15
15
|
align: ALignType;
|
|
16
16
|
expressDateInstance: ExpressData;
|
|
17
|
+
width: number;
|
|
17
18
|
constructor(options: PickOption);
|
|
18
19
|
render: (value: string) => JSX.Element;
|
|
19
20
|
renderClient: (record: any) => JSX.Element | null;
|
|
@@ -28,6 +28,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
28
28
|
_defineProperty(this, "componentConfig", void 0);
|
|
29
29
|
_defineProperty(this, "align", void 0);
|
|
30
30
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
31
|
+
_defineProperty(this, "width", void 0);
|
|
31
32
|
_defineProperty(this, "render", function (value) {
|
|
32
33
|
return /*#__PURE__*/React.createElement("span", null, _this.expressDateInstance.getExpressNameByCode(value) || value);
|
|
33
34
|
});
|
|
@@ -87,5 +88,6 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
87
88
|
this.rules = [];
|
|
88
89
|
this.align = 'left';
|
|
89
90
|
this.expressDateInstance = ExpressData.getInstance();
|
|
91
|
+
this.width = 200;
|
|
90
92
|
});
|
|
91
93
|
export default Express;
|
|
@@ -12,6 +12,7 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
12
12
|
showContains: boolean;
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
align: ALignType;
|
|
15
|
+
width: number;
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
render: (value: string) => JSX.Element;
|
|
17
18
|
renderClient: (record: any) => JSX.Element | null;
|
|
@@ -27,6 +27,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
27
27
|
_defineProperty(this, "showContains", void 0);
|
|
28
28
|
_defineProperty(this, "componentConfig", void 0);
|
|
29
29
|
_defineProperty(this, "align", void 0);
|
|
30
|
+
_defineProperty(this, "width", void 0);
|
|
30
31
|
_defineProperty(this, "render", function (value) {
|
|
31
32
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
32
33
|
});
|
|
@@ -80,5 +81,6 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
80
81
|
}
|
|
81
82
|
}] : [];
|
|
82
83
|
this.align = 'left';
|
|
84
|
+
this.width = 200;
|
|
83
85
|
});
|
|
84
86
|
export default ExpressCode;
|
|
@@ -13,6 +13,7 @@ declare class OrdinaryHeader implements ComponentInterface {
|
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
effects: ComponentInterface["effects"];
|
|
15
15
|
align: ALignType;
|
|
16
|
+
width: number;
|
|
16
17
|
constructor(options: PickOption);
|
|
17
18
|
render: (value: string) => JSX.Element;
|
|
18
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
@@ -32,6 +33,7 @@ declare class OrdinaryHeader implements ComponentInterface {
|
|
|
32
33
|
componentType: () => JSX.Element;
|
|
33
34
|
showContains: boolean;
|
|
34
35
|
renderExport: (value: any) => any;
|
|
36
|
+
width: number;
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
export default OrdinaryHeader;
|
|
@@ -26,6 +26,7 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
26
26
|
_defineProperty(this, "componentConfig", void 0);
|
|
27
27
|
_defineProperty(this, "effects", void 0);
|
|
28
28
|
_defineProperty(this, "align", void 0);
|
|
29
|
+
_defineProperty(this, "width", void 0);
|
|
29
30
|
_defineProperty(this, "render", function (value) {
|
|
30
31
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
31
32
|
});
|
|
@@ -71,7 +72,8 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
71
72
|
render: _this.render,
|
|
72
73
|
componentType: _this.editRender,
|
|
73
74
|
showContains: _this.showContains,
|
|
74
|
-
renderExport: _this.renderExport
|
|
75
|
+
renderExport: _this.renderExport,
|
|
76
|
+
width: _this.width
|
|
75
77
|
};
|
|
76
78
|
});
|
|
77
79
|
this.name = '发票抬头';
|
|
@@ -86,5 +88,6 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
86
88
|
this.rules = [];
|
|
87
89
|
this.align = 'left';
|
|
88
90
|
this.effects = options.effects;
|
|
91
|
+
this.width = 200;
|
|
89
92
|
});
|
|
90
93
|
export default OrdinaryHeader;
|
|
@@ -13,6 +13,7 @@ declare class OrdinaryMoney implements ComponentInterface {
|
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
effects: ComponentInterface["effects"];
|
|
15
15
|
align: ALignType;
|
|
16
|
+
width: number;
|
|
16
17
|
constructor(options: PickOption);
|
|
17
18
|
render: (value: string) => JSX.Element;
|
|
18
19
|
renderPc: (value: any) => any;
|
|
@@ -32,6 +33,7 @@ declare class OrdinaryMoney implements ComponentInterface {
|
|
|
32
33
|
componentType: () => JSX.Element;
|
|
33
34
|
showContains: boolean;
|
|
34
35
|
renderExport: (value: any) => any;
|
|
36
|
+
width: number;
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
export default OrdinaryMoney;
|
|
@@ -25,6 +25,7 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "effects", void 0);
|
|
27
27
|
_defineProperty(this, "align", void 0);
|
|
28
|
+
_defineProperty(this, "width", void 0);
|
|
28
29
|
_defineProperty(this, "render", function (value) {
|
|
29
30
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
30
31
|
});
|
|
@@ -64,7 +65,8 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
64
65
|
render: _this.render,
|
|
65
66
|
componentType: _this.editRender,
|
|
66
67
|
showContains: _this.showContains,
|
|
67
|
-
renderExport: _this.renderExport
|
|
68
|
+
renderExport: _this.renderExport,
|
|
69
|
+
width: _this.width
|
|
68
70
|
};
|
|
69
71
|
});
|
|
70
72
|
this.name = '开票金额';
|
|
@@ -86,5 +88,6 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
86
88
|
}];
|
|
87
89
|
this.align = 'left';
|
|
88
90
|
this.effects = options.effects;
|
|
91
|
+
this.width = 200;
|
|
89
92
|
});
|
|
90
93
|
export default OrdinaryMoney;
|
|
@@ -13,6 +13,7 @@ declare class OrdinarySerial implements ComponentInterface {
|
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
effects: ComponentInterface["effects"];
|
|
15
15
|
align: ALignType;
|
|
16
|
+
width: number;
|
|
16
17
|
constructor(options: PickOption);
|
|
17
18
|
render: (value: string) => JSX.Element;
|
|
18
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
@@ -32,6 +33,7 @@ declare class OrdinarySerial implements ComponentInterface {
|
|
|
32
33
|
componentType: () => JSX.Element;
|
|
33
34
|
showContains: boolean;
|
|
34
35
|
renderExport: (value: any) => any;
|
|
36
|
+
width: number;
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
export default OrdinarySerial;
|
|
@@ -25,6 +25,7 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "effects", void 0);
|
|
27
27
|
_defineProperty(this, "align", void 0);
|
|
28
|
+
_defineProperty(this, "width", void 0);
|
|
28
29
|
_defineProperty(this, "render", function (value) {
|
|
29
30
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
30
31
|
});
|
|
@@ -64,7 +65,8 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
64
65
|
render: _this.render,
|
|
65
66
|
componentType: _this.editRender,
|
|
66
67
|
showContains: _this.showContains,
|
|
67
|
-
renderExport: _this.renderExport
|
|
68
|
+
renderExport: _this.renderExport,
|
|
69
|
+
width: _this.width
|
|
68
70
|
};
|
|
69
71
|
});
|
|
70
72
|
this.name = '纳税人识别号';
|
|
@@ -79,5 +81,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
79
81
|
this.rules = [];
|
|
80
82
|
this.align = 'left';
|
|
81
83
|
this.effects = options.effects;
|
|
84
|
+
this.width = 200;
|
|
82
85
|
});
|
|
83
86
|
export default OrdinarySerial;
|
|
@@ -13,6 +13,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
effects: ComponentInterface["effects"];
|
|
15
15
|
align: ALignType;
|
|
16
|
+
width: number;
|
|
16
17
|
constructor(options: PickOption);
|
|
17
18
|
render: (value: any, record: Record) => JSX.Element;
|
|
18
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
@@ -28,6 +29,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
28
29
|
canFilter: boolean;
|
|
29
30
|
canGroup: boolean;
|
|
30
31
|
type: string;
|
|
32
|
+
width: number;
|
|
31
33
|
render: (value: any, record: Record) => JSX.Element;
|
|
32
34
|
componentType: () => JSX.Element;
|
|
33
35
|
showContains: boolean;
|
|
@@ -25,6 +25,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "effects", void 0);
|
|
27
27
|
_defineProperty(this, "align", void 0);
|
|
28
|
+
_defineProperty(this, "width", void 0);
|
|
28
29
|
_defineProperty(this, "render", function (value, record) {
|
|
29
30
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
30
31
|
});
|
|
@@ -70,6 +71,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
70
71
|
canFilter: _this.canFilter,
|
|
71
72
|
canGroup: _this.canGroup,
|
|
72
73
|
type: _this.type,
|
|
74
|
+
width: _this.width,
|
|
73
75
|
render: _this.render,
|
|
74
76
|
componentType: _this.editRender,
|
|
75
77
|
showContains: _this.showContains,
|
|
@@ -87,5 +89,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
87
89
|
this.componentConfig = options.componentConfig;
|
|
88
90
|
this.rules = [];
|
|
89
91
|
this.align = 'left';
|
|
92
|
+
this.width = 200;
|
|
90
93
|
});
|
|
91
94
|
export default PaymentTid;
|
|
@@ -13,6 +13,7 @@ declare class AlipayNo implements ComponentInterface {
|
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
effects: ComponentInterface["effects"];
|
|
15
15
|
align: ALignType;
|
|
16
|
+
width: number;
|
|
16
17
|
constructor(options: PickOption);
|
|
17
18
|
render: (value: string) => JSX.Element;
|
|
18
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
@@ -23,6 +24,7 @@ declare class AlipayNo implements ComponentInterface {
|
|
|
23
24
|
title: string;
|
|
24
25
|
align: ALignType;
|
|
25
26
|
dataIndex: string;
|
|
27
|
+
idth: number;
|
|
26
28
|
dataType: DataType;
|
|
27
29
|
canHidden: boolean;
|
|
28
30
|
canFilter: boolean;
|
|
@@ -25,6 +25,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "effects", void 0);
|
|
27
27
|
_defineProperty(this, "align", void 0);
|
|
28
|
+
_defineProperty(this, "width", void 0);
|
|
28
29
|
_defineProperty(this, "render", function (value) {
|
|
29
30
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
30
31
|
});
|
|
@@ -65,6 +66,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
65
66
|
title: _this.name,
|
|
66
67
|
align: _this.align,
|
|
67
68
|
dataIndex: _this.id,
|
|
69
|
+
idth: _this.width,
|
|
68
70
|
dataType: _this.dataType,
|
|
69
71
|
canHidden: _this.canHidden,
|
|
70
72
|
canFilter: _this.canFilter,
|
|
@@ -85,6 +87,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
85
87
|
this.dataType = 'string';
|
|
86
88
|
this.componentConfig = options.componentConfig;
|
|
87
89
|
this.effects = options.effects;
|
|
90
|
+
this.width = 200;
|
|
88
91
|
this.rules = [{
|
|
89
92
|
validator: function validator(_, value) {
|
|
90
93
|
if (/^(?:1[3-9]\d{9}|[a-zA-Z\d._-]*\@[a-zA-Z\d.-]{1,10}\.[a-zA-Z\d]{1,20})$/.test(value)) {
|
|
@@ -12,6 +12,7 @@ declare class AlipayTime implements ComponentInterface {
|
|
|
12
12
|
showContains: boolean;
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
align: ALignType;
|
|
15
|
+
width: number;
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
render: (value: string) => JSX.Element;
|
|
17
18
|
renderClient: (record: Record) => JSX.Element | null;
|
|
@@ -22,6 +23,7 @@ declare class AlipayTime implements ComponentInterface {
|
|
|
22
23
|
title: string;
|
|
23
24
|
align: ALignType;
|
|
24
25
|
dataIndex: string;
|
|
26
|
+
idth: number;
|
|
25
27
|
dataType: DataType;
|
|
26
28
|
canHidden: boolean;
|
|
27
29
|
canFilter: boolean;
|
|
@@ -25,6 +25,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
|
25
25
|
_defineProperty(this, "showContains", void 0);
|
|
26
26
|
_defineProperty(this, "componentConfig", void 0);
|
|
27
27
|
_defineProperty(this, "align", void 0);
|
|
28
|
+
_defineProperty(this, "width", void 0);
|
|
28
29
|
_defineProperty(this, "render", function (value) {
|
|
29
30
|
return /*#__PURE__*/React.createElement("span", {
|
|
30
31
|
className: "pointer"
|
|
@@ -63,6 +64,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
|
63
64
|
title: _this.name,
|
|
64
65
|
align: _this.align,
|
|
65
66
|
dataIndex: _this.id,
|
|
67
|
+
idth: _this.width,
|
|
66
68
|
dataType: _this.dataType,
|
|
67
69
|
canHidden: _this.canHidden,
|
|
68
70
|
canFilter: _this.canFilter,
|
|
@@ -86,5 +88,6 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
|
86
88
|
this.componentConfig = options.componentConfig;
|
|
87
89
|
this.rules = [];
|
|
88
90
|
this.align = 'left';
|
|
91
|
+
this.width = 200;
|
|
89
92
|
});
|
|
90
93
|
export default AlipayTime;
|
|
@@ -12,6 +12,7 @@ declare class BuyerNick implements ComponentInterface {
|
|
|
12
12
|
showContains: boolean;
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
align: ALignType;
|
|
15
|
+
width: number;
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
render: (value: string) => JSX.Element;
|
|
17
18
|
renderClient: (record: Record) => JSX.Element | null;
|
|
@@ -22,6 +23,7 @@ declare class BuyerNick implements ComponentInterface {
|
|
|
22
23
|
title: string;
|
|
23
24
|
align: ALignType;
|
|
24
25
|
dataIndex: string;
|
|
26
|
+
idth: number;
|
|
25
27
|
dataType: DataType;
|
|
26
28
|
canHidden: boolean;
|
|
27
29
|
canFilter: boolean;
|
|
@@ -30,6 +30,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
30
30
|
_defineProperty(this, "showContains", void 0);
|
|
31
31
|
_defineProperty(this, "componentConfig", void 0);
|
|
32
32
|
_defineProperty(this, "align", void 0);
|
|
33
|
+
_defineProperty(this, "width", void 0);
|
|
33
34
|
_defineProperty(this, "render", function (value) {
|
|
34
35
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
35
36
|
});
|
|
@@ -78,6 +79,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
78
79
|
title: _this.name,
|
|
79
80
|
align: _this.align,
|
|
80
81
|
dataIndex: _this.id,
|
|
82
|
+
idth: _this.width,
|
|
81
83
|
dataType: _this.dataType,
|
|
82
84
|
canHidden: _this.canHidden,
|
|
83
85
|
canFilter: _this.canFilter,
|
|
@@ -100,5 +102,6 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
100
102
|
this.componentConfig = options.componentConfig;
|
|
101
103
|
this.rules = [];
|
|
102
104
|
this.align = 'left';
|
|
105
|
+
this.width = 200;
|
|
103
106
|
});
|
|
104
107
|
export default BuyerNick;
|
|
@@ -12,6 +12,7 @@ declare class PaymentAmount implements ComponentInterface {
|
|
|
12
12
|
showContains: boolean;
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
align: ALignType;
|
|
15
|
+
width: number;
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
render: (value: string) => JSX.Element;
|
|
17
18
|
renderClient: (record: Record) => JSX.Element | null;
|
|
@@ -22,6 +23,7 @@ declare class PaymentAmount implements ComponentInterface {
|
|
|
22
23
|
title: string;
|
|
23
24
|
align: ALignType;
|
|
24
25
|
dataIndex: string;
|
|
26
|
+
idth: number;
|
|
25
27
|
dataType: DataType;
|
|
26
28
|
canHidden: boolean;
|
|
27
29
|
canFilter: boolean;
|
|
@@ -24,6 +24,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
24
24
|
_defineProperty(this, "showContains", void 0);
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "align", void 0);
|
|
27
|
+
_defineProperty(this, "width", void 0);
|
|
27
28
|
_defineProperty(this, "render", function (value) {
|
|
28
29
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
29
30
|
});
|
|
@@ -55,6 +56,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
55
56
|
title: _this.name,
|
|
56
57
|
align: _this.align,
|
|
57
58
|
dataIndex: _this.id,
|
|
59
|
+
idth: _this.width,
|
|
58
60
|
dataType: _this.dataType,
|
|
59
61
|
canHidden: _this.canHidden,
|
|
60
62
|
canFilter: _this.canFilter,
|
|
@@ -84,5 +86,6 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
84
86
|
}
|
|
85
87
|
}];
|
|
86
88
|
this.align = 'left';
|
|
89
|
+
this.width = 200;
|
|
87
90
|
});
|
|
88
91
|
export default PaymentAmount;
|
|
@@ -12,6 +12,7 @@ declare class PaymentStatus implements ComponentInterface {
|
|
|
12
12
|
showContains: boolean;
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
align: ALignType;
|
|
15
|
+
width: number;
|
|
15
16
|
paymentStatus: {
|
|
16
17
|
[prop in string]: string;
|
|
17
18
|
};
|
|
@@ -29,6 +30,7 @@ declare class PaymentStatus implements ComponentInterface {
|
|
|
29
30
|
canHidden: boolean;
|
|
30
31
|
canFilter: boolean;
|
|
31
32
|
canGroup: boolean;
|
|
33
|
+
idth: number;
|
|
32
34
|
type: string;
|
|
33
35
|
render: (value: string) => JSX.Element;
|
|
34
36
|
componentType: (value: any) => null;
|
|
@@ -22,6 +22,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
22
22
|
_defineProperty(this, "showContains", void 0);
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "align", void 0);
|
|
25
|
+
_defineProperty(this, "width", void 0);
|
|
25
26
|
_defineProperty(this, "paymentStatus", void 0);
|
|
26
27
|
_defineProperty(this, "render", function (value) {
|
|
27
28
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
@@ -51,6 +52,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
51
52
|
canHidden: _this.canHidden,
|
|
52
53
|
canFilter: _this.canFilter,
|
|
53
54
|
canGroup: _this.canGroup,
|
|
55
|
+
idth: _this.width,
|
|
54
56
|
type: _this.type,
|
|
55
57
|
render: _this.render,
|
|
56
58
|
componentType: _this.editRender,
|
|
@@ -80,6 +82,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
80
82
|
this.componentConfig = options.componentConfig;
|
|
81
83
|
this.rules = [];
|
|
82
84
|
this.align = 'left';
|
|
85
|
+
this.width = 200;
|
|
83
86
|
this.paymentStatus = {
|
|
84
87
|
WAITING_EXAMINE: '未打款',
|
|
85
88
|
EXAMINED: '审核通过',
|
|
@@ -12,6 +12,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
12
12
|
showContains: boolean;
|
|
13
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
14
14
|
align: ALignType;
|
|
15
|
+
width: number;
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
render: (value: string) => JSX.Element;
|
|
17
18
|
renderClient: (record: any) => JSX.Element | null;
|
|
@@ -26,6 +27,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
26
27
|
canHidden: boolean;
|
|
27
28
|
canFilter: boolean;
|
|
28
29
|
canGroup: boolean;
|
|
30
|
+
idth: number;
|
|
29
31
|
type: string;
|
|
30
32
|
render: (value: string) => JSX.Element;
|
|
31
33
|
componentType: () => JSX.Element;
|
|
@@ -24,6 +24,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
24
24
|
_defineProperty(this, "showContains", void 0);
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "align", void 0);
|
|
27
|
+
_defineProperty(this, "width", void 0);
|
|
27
28
|
_defineProperty(this, "render", function (value) {
|
|
28
29
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
29
30
|
});
|
|
@@ -59,6 +60,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
59
60
|
canHidden: _this.canHidden,
|
|
60
61
|
canFilter: _this.canFilter,
|
|
61
62
|
canGroup: _this.canGroup,
|
|
63
|
+
idth: _this.width,
|
|
62
64
|
type: _this.type,
|
|
63
65
|
render: _this.render,
|
|
64
66
|
componentType: _this.editRender,
|
|
@@ -77,5 +79,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
77
79
|
this.componentConfig = options.componentConfig;
|
|
78
80
|
this.rules = [];
|
|
79
81
|
this.align = 'left';
|
|
82
|
+
this.width = 200;
|
|
80
83
|
});
|
|
81
84
|
export default PaymentTid;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.3.1-alpha.
|
|
3
|
+
"version": "0.3.1-alpha.7",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"gitHooks": {
|
|
36
36
|
"pre-commit": "lint-staged"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "3960754e40c61e8fc20d100a929ab6c6b0c114bc"
|
|
39
39
|
}
|