@hw-component/table 0.0.7-beta-v2 → 0.0.7-beta-v3
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/HTableHeader/modal.d.ts +13 -0
- package/es/HTablePagination/index.d.ts +1 -1
- package/es/hooks/useDispatch.d.ts +1 -1
- package/es/hooks/useReq.d.ts +1 -1
- package/lib/HTableHeader/modal.d.ts +13 -0
- package/lib/HTablePagination/index.d.ts +1 -1
- package/lib/hooks/useDispatch.d.ts +1 -1
- package/lib/hooks/useReq.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/HTableHeader/{modal.d.ts → modal.ts} +1 -1
- package/src/components/HTablePagination/index.tsx +1 -1
- package/src/components/hooks/useDispatch.ts +1 -1
- package/src/components/hooks/useReq.ts +1 -1
- package/tsconfig.json +1 -0
- /package/es/{src/components/HTableHeader → HTableHeader}/index.d.ts +0 -0
- /package/es/{src/components/Table.d.ts → Table.d.ts} +0 -0
- /package/es/{src/components/context.d.ts → context.d.ts} +0 -0
- /package/es/{src/components/hooks → hooks}/index.d.ts +0 -0
- /package/es/{src/components/index.d.ts → index.d.ts} +0 -0
- /package/es/{src/components/modal.d.ts → modal.d.ts} +0 -0
- /package/lib/{src/components/HTableHeader → HTableHeader}/index.d.ts +0 -0
- /package/lib/{src/components/Table.d.ts → Table.d.ts} +0 -0
- /package/lib/{src/components/context.d.ts → context.d.ts} +0 -0
- /package/lib/{src/components/hooks → hooks}/index.d.ts +0 -0
- /package/lib/{src/components/index.d.ts → index.d.ts} +0 -0
- /package/lib/{src/components/modal.d.ts → modal.d.ts} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ConfigDataModal, ConfigItemModal } from "../modal";
|
|
2
|
+
import type { ColProps } from "antd";
|
|
3
|
+
import type React from "react";
|
|
4
|
+
export interface IHeaderProps {
|
|
5
|
+
configData?: ConfigDataModal;
|
|
6
|
+
onFinish?: (value: Record<string, any>) => Promise<any>;
|
|
7
|
+
searchSpan?: ColProps;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
headerStyle?: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
export interface FormConfigDataItemProviderModal extends ConfigItemModal {
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PaginationProps } from "antd";
|
|
2
|
-
import type { ParamsModal } from "
|
|
2
|
+
import type { ParamsModal } from "../modal";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import type { AffixProps } from "antd/lib/affix";
|
|
5
5
|
export interface IPaginationProps extends PaginationProps {
|
package/es/hooks/useReq.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ConfigDataModal, ConfigItemModal } from "../modal";
|
|
2
|
+
import type { ColProps } from "antd";
|
|
3
|
+
import type React from "react";
|
|
4
|
+
export interface IHeaderProps {
|
|
5
|
+
configData?: ConfigDataModal;
|
|
6
|
+
onFinish?: (value: Record<string, any>) => Promise<any>;
|
|
7
|
+
searchSpan?: ColProps;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
headerStyle?: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
export interface FormConfigDataItemProviderModal extends ConfigItemModal {
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PaginationProps } from "antd";
|
|
2
|
-
import type { ParamsModal } from "
|
|
2
|
+
import type { ParamsModal } from "../modal";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import type { AffixProps } from "antd/lib/affix";
|
|
5
5
|
export interface IPaginationProps extends PaginationProps {
|
package/lib/hooks/useReq.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PaginationProps } from "antd";
|
|
2
2
|
import { Affix, Pagination, Row } from "antd";
|
|
3
3
|
import { useHTableContext } from "../context";
|
|
4
|
-
import type { ParamsModal } from "
|
|
4
|
+
import type { ParamsModal } from "../modal";
|
|
5
5
|
import { useClassName } from "../hooks";
|
|
6
6
|
import React, { useState } from "react";
|
|
7
7
|
import type { AffixProps } from "antd/lib/affix";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEffect, useMemo } from "react";
|
|
2
2
|
import { useRequest } from "ahooks";
|
|
3
|
-
import type { ParamsModal, ResultModal } from "
|
|
3
|
+
import type { ParamsModal, ResultModal } from "../modal";
|
|
4
4
|
export interface IParamsModal {
|
|
5
5
|
request?: (params: ParamsModal) => Promise<ResultModal>;
|
|
6
6
|
loading?: boolean;
|
package/tsconfig.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|