xmirror-components 1.0.7 → 1.0.8
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.
|
@@ -25,7 +25,7 @@ import { Tooltip, Button } from 'antd';
|
|
|
25
25
|
import { noop, isString } from 'lodash-es';
|
|
26
26
|
import classNames from 'classnames';
|
|
27
27
|
import { useHover } from 'ahooks';
|
|
28
|
-
import IconFont from '
|
|
28
|
+
import IconFont from '../IconFont';
|
|
29
29
|
import styles from './index.module.less';
|
|
30
30
|
export var Icon = function (props, buttonRef) {
|
|
31
31
|
var ref = useRef(null);
|
|
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { useRequest } from 'ahooks';
|
|
13
|
-
import { message } from '
|
|
13
|
+
import { message } from '../../components/AntdApp';
|
|
14
14
|
function useWrappedRequest(service, options, plugins) {
|
|
15
15
|
var result = useRequest(service, __assign(__assign({}, options), { onError: function (error, params) {
|
|
16
16
|
var _a, _b;
|
|
@@ -64,7 +64,7 @@ var antd_1 = require("antd");
|
|
|
64
64
|
var lodash_es_1 = require("lodash-es");
|
|
65
65
|
var classnames_1 = __importDefault(require("classnames"));
|
|
66
66
|
var ahooks_1 = require("ahooks");
|
|
67
|
-
var IconFont_1 = __importDefault(require("
|
|
67
|
+
var IconFont_1 = __importDefault(require("../IconFont"));
|
|
68
68
|
var index_module_less_1 = __importDefault(require("./index.module.less"));
|
|
69
69
|
var Icon = function (props, buttonRef) {
|
|
70
70
|
var ref = (0, react_1.useRef)(null);
|
|
@@ -12,7 +12,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
var ahooks_1 = require("ahooks");
|
|
15
|
-
var AntdApp_1 = require("
|
|
15
|
+
var AntdApp_1 = require("../../components/AntdApp");
|
|
16
16
|
function useWrappedRequest(service, options, plugins) {
|
|
17
17
|
var result = (0, ahooks_1.useRequest)(service, __assign(__assign({}, options), { onError: function (error, params) {
|
|
18
18
|
var _a, _b;
|
package/build/package.json
CHANGED