bhd-components 0.7.37 → 0.7.39
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/README.md +1 -1
- package/dist/{c2a80e02.esm.es5.development.js → 0bcce4e4.esm.es5.development.js} +1 -1
- package/dist/{8776245e.esm.es5.production.js → ce0ec442.esm.es5.production.js} +1 -1
- package/dist/index.esm.es5.development.js +23 -23
- package/dist/index.esm.es5.production.js +1 -1
- package/es2017/bhdAppLayout/index.js +1 -1
- package/es2017/provider/index.js +18 -18
- package/esm/bhdAppLayout/index.js +1 -1
- package/esm/provider/index.js +18 -18
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import * as React from "react";
|
|
|
5
5
|
import { useState, useLayoutEffect, useRef } from "react";
|
|
6
6
|
import styles from "./index.module.less";
|
|
7
7
|
import TitleBar from "../titleBar";
|
|
8
|
-
import
|
|
8
|
+
import Pagination from "../pagination/index";
|
|
9
9
|
import i18Conversion from "../i18n";
|
|
10
10
|
import BhdTableSimple from "./components/BhdTableSimple/index";
|
|
11
11
|
function BhdAppLayout(props) {
|
package/es2017/provider/index.js
CHANGED
|
@@ -17,19 +17,19 @@ const Provider = (Component, customConfig = {})=>{
|
|
|
17
17
|
return (_param)=>{
|
|
18
18
|
var props = _extends({}, _object_destructuring_empty(_param));
|
|
19
19
|
return /*#__PURE__*/ _jsx(ConfigProvider, _object_spread_props(_object_spread({}, AppConfig), {
|
|
20
|
-
children: /*#__PURE__*/
|
|
20
|
+
children: /*#__PURE__*/ _jsxs(StyleProvider, {
|
|
21
21
|
hashPriority: "high",
|
|
22
22
|
transformers: [
|
|
23
23
|
legacyLogicalPropertiesTransformer
|
|
24
24
|
],
|
|
25
|
-
children:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
children: [
|
|
26
|
+
/*#__PURE__*/ _jsx(App, {
|
|
27
|
+
message: message,
|
|
28
|
+
notification: notification,
|
|
29
|
+
children: /*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
30
|
+
}),
|
|
31
|
+
/*#__PURE__*/ _jsx(Component, _object_spread({}, props))
|
|
32
|
+
]
|
|
33
33
|
})
|
|
34
34
|
}));
|
|
35
35
|
};
|
|
@@ -40,19 +40,19 @@ Provider.Component = (props)=>{
|
|
|
40
40
|
ConfigProvider.config(AppConfig);
|
|
41
41
|
const { message ={} , notification ={} } = AppConfig;
|
|
42
42
|
return /*#__PURE__*/ _jsx(ConfigProvider, _object_spread_props(_object_spread({}, AppConfig), {
|
|
43
|
-
children: /*#__PURE__*/
|
|
43
|
+
children: /*#__PURE__*/ _jsxs(StyleProvider, {
|
|
44
44
|
hashPriority: "high",
|
|
45
45
|
transformers: [
|
|
46
46
|
legacyLogicalPropertiesTransformer
|
|
47
47
|
],
|
|
48
|
-
children:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
children: [
|
|
49
|
+
/*#__PURE__*/ _jsx(App, {
|
|
50
|
+
message: message,
|
|
51
|
+
notification: notification,
|
|
52
|
+
children: /*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
53
|
+
}),
|
|
54
|
+
props.children
|
|
55
|
+
]
|
|
56
56
|
})
|
|
57
57
|
}));
|
|
58
58
|
};
|
|
@@ -6,7 +6,7 @@ import * as React from "react";
|
|
|
6
6
|
import { useState, useLayoutEffect, useRef } from "react";
|
|
7
7
|
import styles from "./index.module.less";
|
|
8
8
|
import TitleBar from "../titleBar";
|
|
9
|
-
import
|
|
9
|
+
import Pagination from "../pagination/index";
|
|
10
10
|
import i18Conversion from "../i18n";
|
|
11
11
|
import BhdTableSimple from "./components/BhdTableSimple/index";
|
|
12
12
|
function BhdAppLayout(props) {
|
package/esm/provider/index.js
CHANGED
|
@@ -18,19 +18,19 @@ var Provider = function(Component) {
|
|
|
18
18
|
return function(_param) {
|
|
19
19
|
var props = _extends({}, _object_destructuring_empty(_param));
|
|
20
20
|
return /*#__PURE__*/ _jsx(ConfigProvider, _object_spread_props(_object_spread({}, AppConfig), {
|
|
21
|
-
children: /*#__PURE__*/
|
|
21
|
+
children: /*#__PURE__*/ _jsxs(StyleProvider, {
|
|
22
22
|
hashPriority: "high",
|
|
23
23
|
transformers: [
|
|
24
24
|
legacyLogicalPropertiesTransformer
|
|
25
25
|
],
|
|
26
|
-
children:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
children: [
|
|
27
|
+
/*#__PURE__*/ _jsx(App, {
|
|
28
|
+
message: message,
|
|
29
|
+
notification: notification,
|
|
30
|
+
children: /*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
31
|
+
}),
|
|
32
|
+
/*#__PURE__*/ _jsx(Component, _object_spread({}, props))
|
|
33
|
+
]
|
|
34
34
|
})
|
|
35
35
|
}));
|
|
36
36
|
};
|
|
@@ -41,19 +41,19 @@ Provider.Component = function(props) {
|
|
|
41
41
|
ConfigProvider.config(AppConfig);
|
|
42
42
|
var _AppConfig_message = AppConfig.message, message = _AppConfig_message === void 0 ? {} : _AppConfig_message, _AppConfig_notification = AppConfig.notification, notification = _AppConfig_notification === void 0 ? {} : _AppConfig_notification;
|
|
43
43
|
return /*#__PURE__*/ _jsx(ConfigProvider, _object_spread_props(_object_spread({}, AppConfig), {
|
|
44
|
-
children: /*#__PURE__*/
|
|
44
|
+
children: /*#__PURE__*/ _jsxs(StyleProvider, {
|
|
45
45
|
hashPriority: "high",
|
|
46
46
|
transformers: [
|
|
47
47
|
legacyLogicalPropertiesTransformer
|
|
48
48
|
],
|
|
49
|
-
children:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
/*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
49
|
+
children: [
|
|
50
|
+
/*#__PURE__*/ _jsx(App, {
|
|
51
|
+
message: message,
|
|
52
|
+
notification: notification,
|
|
53
|
+
children: /*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
54
|
+
}),
|
|
55
|
+
props.children
|
|
56
|
+
]
|
|
57
57
|
})
|
|
58
58
|
}));
|
|
59
59
|
};
|