@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.
@@ -1,3 +1,3 @@
1
1
  import type { DevToolsPropsType } from '../../propsType';
2
- declare const PrdTools: ({ onReset, onClose, setState, open, state, tableBorder, tableStripe, }: DevToolsPropsType) => import("react/jsx-runtime").JSX.Element;
3
- export default PrdTools;
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 PrdTools = function PrdTools(_ref) {
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 PrdTools;
269
+ export default ProTools;
@@ -1,2 +1 @@
1
- /// <reference types="typings" />
2
- export { default as PrdTools } from './PrdTools';
1
+ export { default as ProTools } from './ProTools';
@@ -1,2 +1 @@
1
- /// <reference path="../../../typings.d.ts" />;
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 { PrdTools } from './component';
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(PrdTools, {
186
+ }), _jsx(ProTools, {
187
187
  prefixCls: prefixCls,
188
188
  onReset: onReset,
189
189
  onClose: toggle,
@@ -1,7 +1,7 @@
1
1
  @root-entry-name: 'default';
2
2
  @import (reference) '~antd/es/style/themes/index.less';
3
3
 
4
- @import '../component/PrdTools/style/index.less';
4
+ @import '../component/ProTools/style/index.less';
5
5
 
6
6
  .pro-theme-tools {
7
7
  display: flex;
@@ -1,3 +1,3 @@
1
1
  import type { DevToolsPropsType } from '../../propsType';
2
- declare const PrdTools: ({ onReset, onClose, setState, open, state, tableBorder, tableStripe, }: DevToolsPropsType) => import("react/jsx-runtime").JSX.Element;
3
- export default PrdTools;
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 PrdTools = function PrdTools(_ref) {
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 = PrdTools;
269
+ var _default = exports.default = ProTools;
@@ -1,2 +1 @@
1
- /// <reference types="typings" />
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, "PrdTools", {
7
+ Object.defineProperty(exports, "ProTools", {
8
8
  enumerable: true,
9
9
  get: function get() {
10
- return _PrdTools.default;
10
+ return _ProTools.default;
11
11
  }
12
12
  });
13
- var _PrdTools = _interopRequireDefault(require("./PrdTools"));
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.PrdTools, {
189
+ }), (0, _jsxRuntime.jsx)(_component.ProTools, {
190
190
  prefixCls: prefixCls,
191
191
  onReset: onReset,
192
192
  onClose: toggle,
@@ -1,7 +1,7 @@
1
1
  @root-entry-name: 'default';
2
2
  @import (reference) '~antd/es/style/themes/index.less';
3
3
 
4
- @import '../component/PrdTools/style/index.less';
4
+ @import '../component/ProTools/style/index.less';
5
5
 
6
6
  .pro-theme-tools {
7
7
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.6.9-beta.3",
3
+ "version": "3.6.9-beta.4",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",