@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.
@@ -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 "@/components/modal";
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 {
@@ -1,3 +1,3 @@
1
- import type { actionFn } from "@/components/modal";
1
+ import type { actionFn } from "../modal";
2
2
  declare const _default: (action: Record<string, actionFn>) => (key: string, dispatchParams: any) => void;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { ParamsModal, ResultModal } from "@/components/modal";
1
+ import type { ParamsModal, ResultModal } from "../modal";
2
2
  export interface IParamsModal {
3
3
  request?: (params: ParamsModal) => Promise<ResultModal>;
4
4
  loading?: boolean;
@@ -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 "@/components/modal";
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 {
@@ -1,3 +1,3 @@
1
- import type { actionFn } from "@/components/modal";
1
+ import type { actionFn } from "../modal";
2
2
  declare const _default: (action: Record<string, actionFn>) => (key: string, dispatchParams: any) => void;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { ParamsModal, ResultModal } from "@/components/modal";
1
+ import type { ParamsModal, ResultModal } from "../modal";
2
2
  export interface IParamsModal {
3
3
  request?: (params: ParamsModal) => Promise<ResultModal>;
4
4
  loading?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "0.0.7-beta-v2",
3
+ "version": "0.0.7-beta-v3",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -10,6 +10,6 @@ export interface IHeaderProps {
10
10
  headerStyle?: React.CSSProperties;
11
11
  }
12
12
 
13
- interface FormConfigDataItemProviderModal extends ConfigItemModal {
13
+ export interface FormConfigDataItemProviderModal extends ConfigItemModal {
14
14
  className?: string;
15
15
  }
@@ -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 "@/components/modal";
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,4 +1,4 @@
1
- import type { actionFn } from "@/components/modal";
1
+ import type { actionFn } from "../modal";
2
2
 
3
3
  export default (action: Record<string, actionFn>) => {
4
4
  return (key: string, dispatchParams: any) => {
@@ -1,6 +1,6 @@
1
1
  import { useEffect, useMemo } from "react";
2
2
  import { useRequest } from "ahooks";
3
- import type { ParamsModal, ResultModal } from "@/components/modal";
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
@@ -25,4 +25,5 @@
25
25
  }
26
26
  },
27
27
  "include": ["src/**/*", "typings/**/*"],
28
+ "exclude": ["node_modules", "**/*.spec.ts", "**/*.css", "**/*.less"]
28
29
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes