ztxkui 4.2.18-75 → 4.2.18-76
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.
|
@@ -6,8 +6,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
|
6
6
|
import i18next from 'ztxkutils/dist/i18next';
|
|
7
7
|
import React, { useState, useMemo } from 'react';
|
|
8
8
|
import { Input } from 'antd';
|
|
9
|
-
import { Button,
|
|
10
|
-
import { QuestionCircleOutlined } from '@ant-design/icons';
|
|
9
|
+
import { Button, Checkbox } from '../../../index';
|
|
11
10
|
var FilterDropdown = function (_a) {
|
|
12
11
|
var searchInputRef = _a.searchInputRef, setSelectedKeys = _a.setSelectedKeys, selectedKeys = _a.selectedKeys, confirm = _a.confirm, clearFilters = _a.clearFilters, dataIndex = _a.dataIndex, handleSearch = _a.handleSearch, handleReset = _a.handleReset, dataSourceRef = _a.dataSourceRef, column = _a.column;
|
|
13
12
|
var _b = useState(''), v = _b[0], setV = _b[1];
|
|
@@ -84,10 +83,7 @@ var FilterDropdown = function (_a) {
|
|
|
84
83
|
React.createElement("div", null,
|
|
85
84
|
React.createElement(Button, { type: "primary", onClick: function () {
|
|
86
85
|
return handleSearch(selectedKeys, confirm, dataIndex);
|
|
87
|
-
} },
|
|
88
|
-
i18next.t('搜索'),
|
|
89
|
-
React.createElement(Tooltip, { placement: "bottomLeft", title: i18next.t('对于数字列可以尝试输入一些表达式: $0 + 1 > 2、 >= 10、 $0 + 1 == 2') },
|
|
90
|
-
React.createElement(QuestionCircleOutlined, null))),
|
|
86
|
+
} }, i18next.t('搜索')),
|
|
91
87
|
React.createElement(Button, { onClick: function () {
|
|
92
88
|
setV('');
|
|
93
89
|
setCV([]);
|
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export { default as NumberCase } from './components/NumberCase';
|
|
|
52
52
|
export { default as WorkflowPrintContainer } from './components/WorkflowPrintContainer';
|
|
53
53
|
export { default as Watermark } from './components/Watermark';
|
|
54
54
|
export { default as ZtxkContext } from './components/utils/ZtxkContext';
|
|
55
|
-
export { ConfigProvider, Drawer, Space, Grid, Divider, Dropdown, Badge, List, Result, Spin, Popconfirm, TreeSelect, Tree, Progress, Cascader, Tooltip, Descriptions, Image, Popover, Breadcrumb, Transfer, Row, Col, notification, Slider, Rate, Affix, } from 'antd';
|
|
55
|
+
export { ConfigProvider, Drawer, Space, Grid, Divider, Dropdown, Badge, List, Result, Spin, Popconfirm, TreeSelect, Tree, Progress, Cascader, Tooltip, Descriptions, Image, Popover, Breadcrumb, Transfer, Row, Col, notification, Slider, Rate, Affix, Carousel, } from 'antd';
|
|
56
56
|
export { default as zhCN } from 'antd/lib/locale/zh_CN';
|
|
57
57
|
export { default as Icon, createFromIconfontCN } from '@ant-design/icons';
|
|
58
58
|
export { default as ztxkuiZhCn } from './locales/zh-CN.json';
|
package/dist/index.js
CHANGED
|
@@ -271,7 +271,7 @@ export { default as NumberCase } from './components/NumberCase';
|
|
|
271
271
|
export { default as WorkflowPrintContainer } from './components/WorkflowPrintContainer';
|
|
272
272
|
export { default as Watermark } from './components/Watermark';
|
|
273
273
|
export { default as ZtxkContext } from './components/utils/ZtxkContext';
|
|
274
|
-
export { ConfigProvider, Drawer, Space, Grid, Divider, Dropdown, Badge, List, Result, Spin, Popconfirm, TreeSelect, Tree, Progress, Cascader, Tooltip, Descriptions, Image, Popover, Breadcrumb, Transfer, Row, Col, notification, Slider, Rate, Affix, } from 'antd';
|
|
274
|
+
export { ConfigProvider, Drawer, Space, Grid, Divider, Dropdown, Badge, List, Result, Spin, Popconfirm, TreeSelect, Tree, Progress, Cascader, Tooltip, Descriptions, Image, Popover, Breadcrumb, Transfer, Row, Col, notification, Slider, Rate, Affix, Carousel, } from 'antd';
|
|
275
275
|
export { default as zhCN } from 'antd/lib/locale/zh_CN';
|
|
276
276
|
export { default as Icon, createFromIconfontCN } from '@ant-design/icons';
|
|
277
277
|
export { default as ztxkuiZhCn } from './locales/zh-CN.json';
|