@quansitech/antd-admin 1.1.13 → 1.1.14

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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ColumnReadonlyProps } from "./types";
3
+ export default function (props: ColumnReadonlyProps): React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { replaceUrl } from "../../../lib/helpers";
3
+ export default function (props) {
4
+ var url = replaceUrl(props.fieldProps.url || props.fieldProps.href || '', props.record);
5
+ return /*#__PURE__*/React.createElement("a", {
6
+ href: url
7
+ }, props.text);
8
+ }
@@ -3,5 +3,6 @@ declare const _default: {
3
3
  File: () => Promise<typeof import("./File")>;
4
4
  Image: () => Promise<typeof import("./Image")>;
5
5
  Action: () => Promise<typeof import("./Action")>;
6
+ Link: () => Promise<typeof import("./Link")>;
6
7
  };
7
8
  export default _default;
@@ -10,5 +10,8 @@ export default {
10
10
  },
11
11
  Action: function Action() {
12
12
  return import("./Action");
13
+ },
14
+ Link: function Link() {
15
+ return import("./Link");
13
16
  }
14
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quansitech/antd-admin",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"