@kmkf-fe-packages/services-components 0.3.1-alpha.4 → 0.3.1-alpha.6

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.
Files changed (29) hide show
  1. package/dist/esm/components/AlipayAccount/index.d.ts +1 -0
  2. package/dist/esm/components/AlipayAccount/index.js +3 -0
  3. package/dist/esm/components/AlipayName/index.d.ts +1 -0
  4. package/dist/esm/components/AlipayName/index.js +2 -0
  5. package/dist/esm/components/Express/index.d.ts +1 -0
  6. package/dist/esm/components/Express/index.js +2 -0
  7. package/dist/esm/components/ExpressCode/index.d.ts +1 -0
  8. package/dist/esm/components/ExpressCode/index.js +2 -0
  9. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +1 -0
  10. package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -0
  11. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -0
  12. package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -0
  13. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +1 -0
  14. package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -0
  15. package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
  16. package/dist/esm/components/Payment/AlipayNick.js +2 -0
  17. package/dist/esm/components/Payment/AlipayNo.d.ts +1 -0
  18. package/dist/esm/components/Payment/AlipayNo.js +2 -0
  19. package/dist/esm/components/Payment/AlipayTime.d.ts +1 -0
  20. package/dist/esm/components/Payment/AlipayTime.js +2 -0
  21. package/dist/esm/components/Payment/BuyerNick.d.ts +1 -0
  22. package/dist/esm/components/Payment/BuyerNick.js +2 -0
  23. package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -0
  24. package/dist/esm/components/Payment/PaymentAmount.js +2 -0
  25. package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -0
  26. package/dist/esm/components/Payment/PaymentStatus.js +2 -0
  27. package/dist/esm/components/Payment/PaymentTid.d.ts +1 -0
  28. package/dist/esm/components/Payment/PaymentTid.js +2 -0
  29. package/package.json +2 -2
@@ -13,6 +13,7 @@ declare class EAlipayAccount 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, record: Record) => JSX.Element;
18
19
  renderClient: (record: Record) => JSX.Element | null;
@@ -30,6 +30,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
30
30
  _defineProperty(this, "componentConfig", void 0);
31
31
  _defineProperty(this, "effects", void 0);
32
32
  _defineProperty(this, "align", void 0);
33
+ _defineProperty(this, "width", void 0);
33
34
  _defineProperty(this, "render", function (value, record) {
34
35
  return /*#__PURE__*/React.createElement("span", null, value);
35
36
  });
@@ -82,5 +83,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
82
83
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
83
84
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
84
85
  this.rules = [];
86
+ this.width = 200; // TODO: 针对子组件,必须拥有width属性,否则就会出现多列展示问题
85
87
  });
88
+
86
89
  export default EAlipayAccount;
@@ -13,6 +13,7 @@ declare class EAlipayAccount 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, record: any) => JSX.Element;
18
19
  renderClient: (record: any) => JSX.Element | null;
@@ -30,6 +30,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
30
30
  _defineProperty(this, "componentConfig", void 0);
31
31
  _defineProperty(this, "effects", void 0);
32
32
  _defineProperty(this, "align", void 0);
33
+ _defineProperty(this, "width", void 0);
33
34
  _defineProperty(this, "render", function (value, record) {
34
35
  return /*#__PURE__*/React.createElement("span", null, value);
35
36
  });
@@ -82,5 +83,6 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
82
83
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
83
84
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
84
85
  this.rules = [];
86
+ this.width = 200;
85
87
  });
86
88
  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;
@@ -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
  });
@@ -86,5 +87,6 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
86
87
  this.rules = [];
87
88
  this.align = 'left';
88
89
  this.effects = options.effects;
90
+ this.width = 200;
89
91
  });
90
92
  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;
@@ -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
  });
@@ -86,5 +87,6 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
86
87
  }];
87
88
  this.align = 'left';
88
89
  this.effects = options.effects;
90
+ this.width = 200;
89
91
  });
90
92
  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;
@@ -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
  });
@@ -79,5 +80,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
79
80
  this.rules = [];
80
81
  this.align = 'left';
81
82
  this.effects = options.effects;
83
+ this.width = 200;
82
84
  });
83
85
  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;
@@ -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
  });
@@ -87,5 +88,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
87
88
  this.componentConfig = options.componentConfig;
88
89
  this.rules = [];
89
90
  this.align = 'left';
91
+ this.width = 200;
90
92
  });
91
93
  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;
@@ -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
  });
@@ -85,6 +86,7 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
85
86
  this.dataType = 'string';
86
87
  this.componentConfig = options.componentConfig;
87
88
  this.effects = options.effects;
89
+ this.width = 200;
88
90
  this.rules = [{
89
91
  validator: function validator(_, value) {
90
92
  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;
@@ -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"
@@ -86,5 +87,6 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
86
87
  this.componentConfig = options.componentConfig;
87
88
  this.rules = [];
88
89
  this.align = 'left';
90
+ this.width = 200;
89
91
  });
90
92
  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;
@@ -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
  });
@@ -100,5 +101,6 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
100
101
  this.componentConfig = options.componentConfig;
101
102
  this.rules = [];
102
103
  this.align = 'left';
104
+ this.width = 200;
103
105
  });
104
106
  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;
@@ -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
  });
@@ -84,5 +85,6 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
84
85
  }
85
86
  }];
86
87
  this.align = 'left';
88
+ this.width = 200;
87
89
  });
88
90
  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
  };
@@ -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);
@@ -80,6 +81,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
80
81
  this.componentConfig = options.componentConfig;
81
82
  this.rules = [];
82
83
  this.align = 'left';
84
+ this.width = 200;
83
85
  this.paymentStatus = {
84
86
  WAITING_EXAMINE: '未打款',
85
87
  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;
@@ -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
  });
@@ -77,5 +78,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
77
78
  this.componentConfig = options.componentConfig;
78
79
  this.rules = [];
79
80
  this.align = 'left';
81
+ this.width = 200;
80
82
  });
81
83
  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.4",
3
+ "version": "0.3.1-alpha.6",
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": "877e7d7a4a48151611e108f89554d6256f7f6d24"
38
+ "gitHead": "039714f2e81d352eb6915faa02d272b2defa0cd8"
39
39
  }