@zat-design/sisyphus-react 3.6.9-beta.3 → 3.6.9-beta.4
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/ProThemeTools/component/{PrdTools → ProTools}/index.d.ts +2 -2
- package/es/ProThemeTools/component/{PrdTools → ProTools}/index.js +2 -2
- package/es/ProThemeTools/component/index.d.ts +1 -2
- package/es/ProThemeTools/component/index.js +1 -2
- package/es/ProThemeTools/index.js +2 -2
- package/es/ProThemeTools/style/index.less +1 -1
- package/lib/ProThemeTools/component/{PrdTools → ProTools}/index.d.ts +2 -2
- package/lib/ProThemeTools/component/{PrdTools → ProTools}/index.js +2 -2
- package/lib/ProThemeTools/component/index.d.ts +1 -2
- package/lib/ProThemeTools/component/index.js +3 -3
- package/lib/ProThemeTools/index.js +1 -1
- package/lib/ProThemeTools/style/index.less +1 -1
- package/package.json +1 -1
- /package/es/ProThemeTools/component/{PrdTools → ProTools}/style/index.less +0 -0
- /package/lib/ProThemeTools/component/{PrdTools → ProTools}/style/index.less +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DevToolsPropsType } from '../../propsType';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const ProTools: ({ onReset, onClose, setState, open, state, tableBorder, tableStripe, }: DevToolsPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default ProTools;
|
|
@@ -21,7 +21,7 @@ var connect = function connect(Component) {
|
|
|
21
21
|
return ComponentWrapper;
|
|
22
22
|
};
|
|
23
23
|
var NewDrawer = connect(_Drawer);
|
|
24
|
-
var
|
|
24
|
+
var ProTools = function ProTools(_ref) {
|
|
25
25
|
var onReset = _ref.onReset,
|
|
26
26
|
onClose = _ref.onClose,
|
|
27
27
|
setState = _ref.setState,
|
|
@@ -266,4 +266,4 @@ var PrdTools = function PrdTools(_ref) {
|
|
|
266
266
|
})]
|
|
267
267
|
});
|
|
268
268
|
};
|
|
269
|
-
export default
|
|
269
|
+
export default ProTools;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { default as PrdTools } from './PrdTools';
|
|
1
|
+
export { default as ProTools } from './ProTools';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { default as PrdTools } from './PrdTools';
|
|
1
|
+
export { default as ProTools } from './ProTools';
|
|
@@ -17,7 +17,7 @@ import { isEqual } from 'lodash';
|
|
|
17
17
|
import classnames from 'classnames';
|
|
18
18
|
import { getKebabCase, setThemes, setTableBorder, getMapKebabCase, getMapHumpCase } from './utils/index';
|
|
19
19
|
import settingSvg from '../assets/setting.svg';
|
|
20
|
-
import {
|
|
20
|
+
import { ProTools } from './component';
|
|
21
21
|
import locale from '../locale';
|
|
22
22
|
var defaultCacheTime = 1; // 配置保存时间为一天
|
|
23
23
|
var defaultThemeConfig = {
|
|
@@ -183,7 +183,7 @@ var ProThemeTools = function ProThemeTools(_ref) {
|
|
|
183
183
|
className: "setting-icon",
|
|
184
184
|
src: settingSvg
|
|
185
185
|
})
|
|
186
|
-
}), _jsx(
|
|
186
|
+
}), _jsx(ProTools, {
|
|
187
187
|
prefixCls: prefixCls,
|
|
188
188
|
onReset: onReset,
|
|
189
189
|
onClose: toggle,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DevToolsPropsType } from '../../propsType';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const ProTools: ({ onReset, onClose, setState, open, state, tableBorder, tableStripe, }: DevToolsPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default ProTools;
|
|
@@ -21,7 +21,7 @@ var connect = function connect(Component) {
|
|
|
21
21
|
return ComponentWrapper;
|
|
22
22
|
};
|
|
23
23
|
var NewDrawer = connect(_antd.Drawer);
|
|
24
|
-
var
|
|
24
|
+
var ProTools = function ProTools(_ref) {
|
|
25
25
|
var onReset = _ref.onReset,
|
|
26
26
|
onClose = _ref.onClose,
|
|
27
27
|
setState = _ref.setState,
|
|
@@ -266,4 +266,4 @@ var PrdTools = function PrdTools(_ref) {
|
|
|
266
266
|
})]
|
|
267
267
|
});
|
|
268
268
|
};
|
|
269
|
-
var _default = exports.default =
|
|
269
|
+
var _default = exports.default = ProTools;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { default as PrdTools } from './PrdTools';
|
|
1
|
+
export { default as ProTools } from './ProTools';
|
|
@@ -4,10 +4,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
Object.defineProperty(exports, "
|
|
7
|
+
Object.defineProperty(exports, "ProTools", {
|
|
8
8
|
enumerable: true,
|
|
9
9
|
get: function get() {
|
|
10
|
-
return
|
|
10
|
+
return _ProTools.default;
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
var
|
|
13
|
+
var _ProTools = _interopRequireDefault(require("./ProTools"));
|
|
@@ -186,7 +186,7 @@ var ProThemeTools = function ProThemeTools(_ref) {
|
|
|
186
186
|
className: "setting-icon",
|
|
187
187
|
src: _setting.default
|
|
188
188
|
})
|
|
189
|
-
}), (0, _jsxRuntime.jsx)(_component.
|
|
189
|
+
}), (0, _jsxRuntime.jsx)(_component.ProTools, {
|
|
190
190
|
prefixCls: prefixCls,
|
|
191
191
|
onReset: onReset,
|
|
192
192
|
onClose: toggle,
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|