@kmkf-fe-packages/services-components 1.0.1-rc.2 → 1.0.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.
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React from "react";
2
2
  declare type getFormItemProps = {
3
3
  name: string;
4
4
  title: string;
@@ -12,11 +12,11 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
12
12
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
13
13
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
14
14
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
- import { Form, Button, Modal, Tooltip, Space, Image, Popover, Table, message, Typography } from 'antd';
16
- import React, { useState, useMemo } from 'react';
15
+ import { Form, Button, Modal, Tooltip, Space, Image, Popover, Table, message, Typography } from "antd";
16
+ import React, { useState, useMemo } from "react";
17
17
  import { ExpressData } from "@kmkf-fe-packages/kmkf-utils";
18
18
  import { getAlipayBillReceipt } from "../../service/api";
19
- import { CopyToClipboard } from 'react-copy-to-clipboard';
19
+ import { CopyToClipboard } from "react-copy-to-clipboard";
20
20
  import CopyText from "../../commonComponents/CopyText";
21
21
  import styles from "./index.module.less";
22
22
  import defaultImg from "./img/default-img.png";
@@ -258,7 +258,6 @@ export var JstGoodImage = function JstGoodImage(_ref6) {
258
258
  type = _ref6.type,
259
259
  _ref6$componentType = _ref6.componentType,
260
260
  componentType = _ref6$componentType === void 0 ? '' : _ref6$componentType;
261
- // const { getSendNameByCode } = useSendData(componentType === 'WDT_SEND_GOOD' ? 'wdt' : '');
262
261
  return list !== null && list !== void 0 && list.length ? (list || []).map(function (item, index) {
263
262
  var logisticsCompany = item.logisticsCompany;
264
263
  var company = ExpressData.getInstance(componentType === 'WDT_LOGISTICS' ? 'wdt' : 'default').getExpressNameByCode(logisticsCompany);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.0.1-rc.2",
3
+ "version": "1.0.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": "^1.0.1-rc.2",
24
- "@kmkf-fe-packages/kmkf-utils": "^1.0.1-rc.2"
23
+ "@kmkf-fe-packages/basic-components": "^1.0.1-rc.3",
24
+ "@kmkf-fe-packages/kmkf-utils": "^1.0.1-rc.3"
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": "08bef10431ab0ca406a675aab12639a855185601",
40
+ "gitHead": "f2086c8596bf47cb02aafe8df809286b3f497811",
41
41
  "gitHooks": {
42
42
  "pre-commit": "lint-staged"
43
43
  }