@lemon-fe/kits 1.3.4 → 1.3.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.
- package/es/app-provider/index.js +2 -8
- package/package.json +3 -3
package/es/app-provider/index.js
CHANGED
|
@@ -4,8 +4,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
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; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
-
import React, { createContext, useMemo,
|
|
8
|
-
import { PageLoading,
|
|
7
|
+
import React, { createContext, useMemo, useContext } from 'react';
|
|
8
|
+
import { PageLoading, message, Modal, ConfigProvider, Result, Button } from '@lemon-fe/components';
|
|
9
9
|
import { HooksConfigProvider } from '@lemon-fe/hooks';
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -32,12 +32,6 @@ export default function AppProvider(props) {
|
|
|
32
32
|
modal: modalApi
|
|
33
33
|
};
|
|
34
34
|
}, []);
|
|
35
|
-
useEffect(function () {
|
|
36
|
-
/** 设置滚动条 */
|
|
37
|
-
if (/windows/.test(window.navigator.userAgent.toLowerCase())) {
|
|
38
|
-
document.body.classList.add("".concat(PREFIX_CLS, "-thin-scroll-bar"));
|
|
39
|
-
}
|
|
40
|
-
}, []);
|
|
41
35
|
var hooksConfig = useMemo(function () {
|
|
42
36
|
var result = {
|
|
43
37
|
showToast: function showToast() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/kits",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@ant-design/icons": "^4.7.0",
|
|
27
|
-
"@lemon-fe/components": "^1.3.
|
|
27
|
+
"@lemon-fe/components": "^1.3.6",
|
|
28
28
|
"@lemon-fe/hooks": "^1.3.0",
|
|
29
29
|
"@lemon-fe/utils": "^1.3.0",
|
|
30
30
|
"ag-grid-community": "29.2.0",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"registry": "https://registry.npmjs.org"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "534d1dc31dc65da58e5a28226fb6c64a0c7da3b7"
|
|
50
50
|
}
|