Compare commits

..

No commits in common. "33eb6519c0399c4ca094991d7009b5c809664842" and "9256bf4e8f76195f9b96ddec5ef9dc2346ca3fc8" have entirely different histories.

18 changed files with 4 additions and 126 deletions

View File

@ -1,6 +0,0 @@
import type { AntdIconProps } from "@ant-design/icons/lib/components/AntdIcon";
import type { FC } from "react";
declare const AddIcon: FC<AntdIconProps>;
export default AddIcon;

View File

@ -1,9 +0,0 @@
import { PlusOutlined } from "@ant-design/icons";
const AddIcon = props => (
<PlusOutlined {...props} />
);
AddIcon.displayName = "AddIcon";
export default AddIcon;

View File

@ -1,6 +0,0 @@
import type { AntdIconProps } from "@ant-design/icons/lib/components/AntdIcon";
import type { FC } from "react";
declare const DeleteIcon: FC<AntdIconProps>;
export default DeleteIcon;

View File

@ -1,9 +0,0 @@
import { DeleteOutlined } from "@ant-design/icons";
const DeleteIcon = props => (
<DeleteOutlined {...props} />
);
DeleteIcon.displayName = "DeleteIcon";
export default DeleteIcon;

View File

@ -1,6 +0,0 @@
import type { AntdIconProps } from "@ant-design/icons/lib/components/AntdIcon";
import type { FC } from "react";
declare const EditIcon: FC<AntdIconProps>;
export default EditIcon;

View File

@ -1,9 +0,0 @@
import { EditOutlined } from "@ant-design/icons";
const EditIcon = props => (
<EditOutlined {...props} />
);
EditIcon.displayName = "EditIcon";
export default EditIcon;

View File

@ -1,6 +0,0 @@
import type { AntdIconProps } from "@ant-design/icons/lib/components/AntdIcon";
import type { FC } from "react";
declare const ExportIcon: FC<AntdIconProps>;
export default ExportIcon;

View File

@ -1,9 +0,0 @@
import { DownloadOutlined } from "@ant-design/icons";
const ExportIcon = props => (
<DownloadOutlined {...props} />
);
ExportIcon.displayName = "ExportIcon";
export default ExportIcon;

View File

@ -1,6 +0,0 @@
import type { AntdIconProps } from "@ant-design/icons/lib/components/AntdIcon";
import type { FC } from "react";
declare const ImportIcon: FC<AntdIconProps>;
export default ImportIcon;

View File

@ -1,9 +0,0 @@
import { UploadOutlined } from "@ant-design/icons";
const ImportIcon = props => (
<UploadOutlined {...props} />
);
ImportIcon.displayName = "ImportIcon";
export default ImportIcon;

View File

@ -1,6 +0,0 @@
import type { AntdIconProps } from "@ant-design/icons/lib/components/AntdIcon";
import type { FC } from "react";
declare const ResetIcon: FC<AntdIconProps>;
export default ResetIcon;

View File

@ -1,9 +0,0 @@
import { UndoOutlined } from "@ant-design/icons";
const ResetIcon = props => (
<UndoOutlined {...props} />
);
ResetIcon.displayName = "ResetIcon";
export default ResetIcon;

View File

@ -1,6 +0,0 @@
import type { AntdIconProps } from "@ant-design/icons/lib/components/AntdIcon";
import type { FC } from "react";
declare const SearchIcon: FC<AntdIconProps>;
export default SearchIcon;

View File

@ -1,9 +0,0 @@
import { PlusOutlined } from "@ant-design/icons";
const SearchIcon = props => (
<PlusOutlined {...props} />
);
SearchIcon.displayName = "SearchIcon";
export default SearchIcon;

View File

@ -1,6 +0,0 @@
import type { AntdIconProps } from "@ant-design/icons/lib/components/AntdIcon";
import type { FC } from "react";
declare const ViewIcon: FC<AntdIconProps>;
export default ViewIcon;

View File

@ -1,9 +0,0 @@
import { EyeOutlined } from "@ant-design/icons";
const ViewIcon = props => (
<EyeOutlined {...props} />
);
ViewIcon.displayName = "ViewIcon";
export default ViewIcon;

View File

@ -1,9 +1,7 @@
import { DownOutlined, UpOutlined } from "@ant-design/icons";
import { DownOutlined, SearchOutlined, UndoOutlined, UpOutlined } from "@ant-design/icons";
import { Button, Col, Form, Row } from "antd";
import { useEffect, useRef, useState } from "react";
import FormItemsRenderer from "../FormBuilder/FormItemsRenderer";
import ResetIcon from "../Icon/ResetIcon";
import SearchIcon from "../Icon/SearchIcon";
/**
* 搜索表单组件
@ -91,12 +89,12 @@ const Search = (props) => {
<Col span={showCollapseButton ? (collapse ? 6 : span) : span}>
<Form.Item label=" " labelCol={{ span: 2 }} colon={false} style={{ textAlign: "right" }}>
{showSearchButton && (
<Button type="primary" icon={<SearchIcon />} onClick={handleSubmit}>
<Button type="primary" icon={<SearchOutlined />} onClick={handleSubmit}>
{searchText}
</Button>
)}
{showResetButton && (
<Button style={{ marginLeft: 8 }} icon={<ResetIcon />} onClick={handleReset}>
<Button style={{ marginLeft: 8 }} icon={<UndoOutlined />} onClick={handleReset}>
{resetText}
</Button>
)}

View File

@ -1,7 +1,7 @@
{
"name": "zy-react-library",
"private": false,
"version": "1.0.33",
"version": "1.0.32",
"type": "module",
"description": "",
"author": "LiuJiaNan",