@kmkf-fe-packages/services-components 0.3.1-alpha.3 → 0.3.1-alpha.5

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.
@@ -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,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;
@@ -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;
@@ -204,9 +204,10 @@ var content = function content(item, index) {
204
204
  }));
205
205
  };
206
206
  export var JstGoodImage = function JstGoodImage(_ref6) {
207
- var list = _ref6.list,
207
+ var _ref6$list = _ref6.list,
208
+ list = _ref6$list === void 0 ? [] : _ref6$list,
208
209
  type = _ref6.type;
209
- return list.length ? (list || []).map(function (item, index) {
210
+ return list !== null && list !== void 0 && list.length ? (list || []).map(function (item, index) {
210
211
  var logisticsCompany = item.logisticsCompany;
211
212
  var company = ExpressData.getInstance().getExpressNameByCode(logisticsCompany);
212
213
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Popover, {
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",
3
+ "version": "0.3.1-alpha.5",
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": "87672bb488d76bb096517e535f05bab039242d5d"
38
+ "gitHead": "9a65327beac20d2340768578841fe23a7981b1af"
39
39
  }