@hw-component/table 1.6.9 → 1.7.1

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.
@@ -33,7 +33,7 @@ var DwTable = (function (_ref) {
33
33
  _afterVisibleChange = _ref.afterVisibleChange,
34
34
  contentRender = _ref.contentRender,
35
35
  _ref$width = _ref.width,
36
- width = _ref$width === void 0 ? 666 : _ref$width,
36
+ width = _ref$width === void 0 ? 888 : _ref$width,
37
37
  props = _objectWithoutProperties(_ref, _excluded);
38
38
  var _useVisible = useVisible(visible),
39
39
  modalVisible = _useVisible.modalVisible,
package/es/index.d.ts CHANGED
@@ -10,4 +10,4 @@ export { default as HTableHeader } from "./HTableHeader";
10
10
  export { default as HTablePagination } from "./HTablePagination";
11
11
  export { default as HModalTable } from "./DialogTable/ModalTable";
12
12
  export { useHDialogTable } from "./DialogTable/hooks";
13
- export { default as DwTable } from "./DialogTable/DwTable";
13
+ export { default as HDwTable } from "./DialogTable/DwTable";
package/es/index.js CHANGED
@@ -9,5 +9,5 @@ export { default as HTableHeader } from './HTableHeader/index.js';
9
9
  export { default as HTablePagination } from './HTablePagination/index.js';
10
10
  export { default as HModalTable } from './DialogTable/ModalTable.js';
11
11
  export { useHDialogTable } from './DialogTable/hooks.js';
12
- export { default as DwTable } from './DialogTable/DwTable.js';
12
+ export { default as HDwTable } from './DialogTable/DwTable.js';
13
13
  // powered by hdj
@@ -36,7 +36,7 @@ var DwTable = (function (_ref) {
36
36
  _afterVisibleChange = _ref.afterVisibleChange,
37
37
  contentRender = _ref.contentRender,
38
38
  _ref$width = _ref.width,
39
- width = _ref$width === void 0 ? 666 : _ref$width,
39
+ width = _ref$width === void 0 ? 888 : _ref$width,
40
40
  props = _objectWithoutProperties(_ref, _excluded);
41
41
  var _useVisible = hooks.useVisible(visible),
42
42
  modalVisible = _useVisible.modalVisible,
package/lib/index.d.ts CHANGED
@@ -10,4 +10,4 @@ export { default as HTableHeader } from "./HTableHeader";
10
10
  export { default as HTablePagination } from "./HTablePagination";
11
11
  export { default as HModalTable } from "./DialogTable/ModalTable";
12
12
  export { useHDialogTable } from "./DialogTable/hooks";
13
- export { default as DwTable } from "./DialogTable/DwTable";
13
+ export { default as HDwTable } from "./DialogTable/DwTable";
package/lib/index.js CHANGED
@@ -24,5 +24,5 @@ exports.HTableHeader = index$2.default;
24
24
  exports.HTablePagination = index$3.default;
25
25
  exports.HModalTable = ModalTable.default;
26
26
  exports.useHDialogTable = hooks.useHDialogTable;
27
- exports.DwTable = DwTable.default;
27
+ exports.HDwTable = DwTable.default;
28
28
  // powered by h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "1.6.9",
3
+ "version": "1.7.1",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -14,7 +14,7 @@ export default ({
14
14
  onClose,
15
15
  afterVisibleChange,
16
16
  contentRender,
17
- width=666,
17
+ width=888,
18
18
  ...props
19
19
  }:DwTableProps)=>{
20
20
  const { modalVisible, setModalVisible } = useVisible(visible);
@@ -10,4 +10,4 @@ export { default as HTableHeader } from "./HTableHeader";
10
10
  export { default as HTablePagination } from "./HTablePagination";
11
11
  export { default as HModalTable } from "./DialogTable/ModalTable";
12
12
  export { useHDialogTable } from "./DialogTable/hooks";
13
- export { default as DwTable } from "./DialogTable/DwTable";
13
+ export { default as HDwTable } from "./DialogTable/DwTable";
@@ -1,5 +1,5 @@
1
1
  import { Button } from "antd";
2
- import { DwTable, HTable, useHDialogTable } from "@/components";
2
+ import { HDwTable, HTable, useHDialogTable } from "@/components";
3
3
  const configData = [
4
4
  {
5
5
  title: "座位",
@@ -95,7 +95,7 @@ const Test = () => {
95
95
 
96
96
  return (
97
97
  <>
98
- <DwTable
98
+ <HDwTable
99
99
  dialogTable={dialogTable1}
100
100
  title="111"
101
101
  configData={configData}
@@ -129,7 +129,7 @@ export default () => {
129
129
  >
130
130
  点我333
131
131
  </Button>
132
- <DwTable
132
+ <HDwTable
133
133
  dialogTable={dialogTable}
134
134
  request={req2}
135
135
  width={1200}