@teamix/pro 1.4.25 → 1.4.27
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/dist/pro.css +1 -1
- package/dist/pro.js +45535 -35222
- package/dist/pro.min.css +1 -1
- package/dist/pro.min.js +1 -1
- package/dist/pro.min.js.LICENSE.txt +11 -0
- package/es/card/index.js +2 -2
- package/es/form/Filter/layout.scss +1 -1
- package/es/form/ProForm/addCascadeEffect.d.ts +2 -0
- package/es/form/ProForm/addCascadeEffect.js +225 -0
- package/es/form/ProForm/index.js +8 -5
- package/es/form/typing.d.ts +20 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -1
- package/es/sidebar/components/sidebar-container/index.js +18 -2
- package/es/sidebar/components/sidebar-container/index.scss +21 -14
- package/es/sidebar/components/tree/index.js +24 -6
- package/es/sidebar/components/tree-node/index.js +1 -1
- package/es/sidebar/components/tree-node/index.scss +6 -0
- package/es/sidebar/typing.d.ts +4 -0
- package/es/table/components/Layout/index.scss +1 -1
- package/es/table/components/ToolBar/DensityIcon.js +1 -0
- package/es/table/components/ToolBar/FilterColumnIcon.js +2 -0
- package/es/table/components/ToolBar/FullScreenIcon.js +6 -57
- package/es/table/components/ToolBar/index.d.ts +1 -1
- package/es/table/components/ToolBar/index.js +99 -16
- package/es/table/components/ToolBar/index.scss +22 -2
- package/es/table/index.js +6 -3
- package/es/table/typing.d.ts +4 -1
- package/lib/card/index.js +2 -2
- package/lib/form/Filter/layout.scss +1 -1
- package/lib/form/ProForm/addCascadeEffect.d.ts +2 -0
- package/lib/form/ProForm/addCascadeEffect.js +235 -0
- package/lib/form/ProForm/index.js +9 -5
- package/lib/form/typing.d.ts +20 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -1
- package/lib/sidebar/components/sidebar-container/index.js +18 -2
- package/lib/sidebar/components/sidebar-container/index.scss +21 -14
- package/lib/sidebar/components/tree/index.js +24 -6
- package/lib/sidebar/components/tree-node/index.js +1 -1
- package/lib/sidebar/components/tree-node/index.scss +6 -0
- package/lib/sidebar/typing.d.ts +4 -0
- package/lib/table/components/Layout/index.scss +1 -1
- package/lib/table/components/ToolBar/DensityIcon.js +1 -0
- package/lib/table/components/ToolBar/FilterColumnIcon.js +2 -0
- package/lib/table/components/ToolBar/FullScreenIcon.js +9 -63
- package/lib/table/components/ToolBar/index.d.ts +1 -1
- package/lib/table/components/ToolBar/index.js +109 -16
- package/lib/table/components/ToolBar/index.scss +22 -2
- package/lib/table/index.js +6 -3
- package/lib/table/typing.d.ts +4 -1
- package/package.json +1 -1
package/lib/table/typing.d.ts
CHANGED
@@ -7,7 +7,7 @@ import { QueryFilterProps, ProFormType } from '../form';
|
|
7
7
|
import { ProActionGroupProps, ProActionButtonProps } from '../actions';
|
8
8
|
import { PaginationProps } from '@alicloudfe/components/types/pagination';
|
9
9
|
import { HeaderProps as ProTableHeaderProps } from '../field';
|
10
|
-
import { Method } from 'axios';
|
10
|
+
import { Method, AxiosRequestConfig } from 'axios';
|
11
11
|
import React from 'react';
|
12
12
|
declare type IFieldRenderProps = keyof ProFieldRenderProps;
|
13
13
|
/** 列record函数 */
|
@@ -86,6 +86,8 @@ export declare type ProTableProps = {
|
|
86
86
|
onSuccess?: (res: any) => void;
|
87
87
|
/** 内部请求失败时的回调 */
|
88
88
|
onError?: (error: Error) => void;
|
89
|
+
/** 自定义的请求配置 */
|
90
|
+
requestConfig?: AxiosRequestConfig;
|
89
91
|
/** 翻页页数的请求参数名 */
|
90
92
|
pageKey?: string;
|
91
93
|
/** 翻页器页数对应字段 */
|
@@ -274,6 +276,7 @@ export declare type ProTableLayoutProps = {
|
|
274
276
|
actionRef: React.MutableRefObject<ProTableActionType | undefined>;
|
275
277
|
columns?: ProTableColumnProps[];
|
276
278
|
rowSelection?: innerRowSelectionType | rowSelectionType;
|
279
|
+
fullScreenState?: boolean;
|
277
280
|
} & ProTableTopAreaProps;
|
278
281
|
/** columns 列过滤 */
|
279
282
|
export declare type ProTableColumnsFilterItemProps = {
|