antd-management-fast-framework 2.11.105 → 2.11.110
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/framework/DataListView/Base/index.d.ts +12 -2
- package/es/framework/DataListView/BatchAction/index.d.ts +16 -19
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +3 -1
- package/es/framework/DataMultiPageView/MultiPageSelectModal/index.d.ts +3 -0
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +3 -0
- package/es/framework/DataSinglePageView/SinglePageSelectModal/index.d.ts +3 -0
- package/es/index.js +2 -2
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export class Base extends AuthorizationWrapper {
|
|
2
2
|
constructor(properties: any);
|
|
3
3
|
showReloadButton: boolean;
|
|
4
|
+
batchActionSwitch: boolean;
|
|
4
5
|
/**
|
|
5
6
|
* 使用远端分页
|
|
6
7
|
*/
|
|
@@ -83,7 +84,11 @@ export class Base extends AuthorizationWrapper {
|
|
|
83
84
|
buildSearchCardRow: () => React.JSX.Element | null;
|
|
84
85
|
fillSearchCardInitialValues: () => {};
|
|
85
86
|
buildSearchCard: () => React.JSX.Element | null;
|
|
87
|
+
establishPresetFormOverlayStyle: () => void;
|
|
86
88
|
renderPresetForm: () => React.JSX.Element | null;
|
|
89
|
+
renderPresetFormOverlayContent: () => null;
|
|
90
|
+
renderPresetListMainViewOverlayContent: () => null;
|
|
91
|
+
renderPresetContentFooter: () => null;
|
|
87
92
|
establishTableAdditionalConfig: () => {};
|
|
88
93
|
establishTableExpandableConfig: () => null;
|
|
89
94
|
restoreColumnsOtherConfigArray: () => void;
|
|
@@ -97,7 +102,9 @@ export class Base extends AuthorizationWrapper {
|
|
|
97
102
|
setColumnsMap: (event: any) => void;
|
|
98
103
|
setSortKeyColumns: (event: any) => void;
|
|
99
104
|
getColumnsMap: () => {};
|
|
100
|
-
|
|
105
|
+
triggerBatchActionClick: (list: any) => void;
|
|
106
|
+
onBatchActionClick: null;
|
|
107
|
+
onBatchActionSelect: null;
|
|
101
108
|
renderPresetTable: (config: any) => null;
|
|
102
109
|
renderPresetAlertContent: () => string;
|
|
103
110
|
renderPresetAlertOption: () => void;
|
|
@@ -106,7 +113,10 @@ export class Base extends AuthorizationWrapper {
|
|
|
106
113
|
establishDataContainerExtraAffixConfig: () => {};
|
|
107
114
|
buildDataContainerExtraActionCollection: () => any;
|
|
108
115
|
renderPresetExtraActionView: () => React.JSX.Element | null;
|
|
109
|
-
|
|
116
|
+
establishPresetBatchActionSize: () => string;
|
|
117
|
+
establishPresetBatchActionIcon: () => null;
|
|
118
|
+
establishPresetBatchActionText: () => string;
|
|
119
|
+
establishPresetBatchActionMenu: () => never[];
|
|
110
120
|
renderPresetBatchAction: () => React.JSX.Element | null;
|
|
111
121
|
onPageHeaderAvatarLoadError: () => void;
|
|
112
122
|
establishViewDataSource: () => null;
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}): React.JSX.Element;
|
|
1
|
+
export class BatchAction extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): React.JSX.Element;
|
|
5
|
+
}
|
|
7
6
|
export namespace BatchAction {
|
|
8
|
-
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
let type: string;
|
|
9
|
+
let icon: null;
|
|
10
|
+
let text: string;
|
|
11
|
+
let size: string;
|
|
12
|
+
let danger: boolean;
|
|
13
|
+
let menus: never[];
|
|
14
|
+
let onClick: null;
|
|
15
|
+
let onSelect: null;
|
|
16
|
+
let disabled: boolean;
|
|
17
|
+
}
|
|
9
18
|
}
|
|
10
19
|
import React from 'react';
|
|
11
|
-
/**
|
|
12
|
-
* 默认的 index 列容器,提供一个好看的 index
|
|
13
|
-
* @param param0
|
|
14
|
-
*/
|
|
15
|
-
declare function DropdownButton({ children, menus, onSelect, style, disabled, }: {
|
|
16
|
-
children: any;
|
|
17
|
-
menus?: any[] | undefined;
|
|
18
|
-
onSelect: any;
|
|
19
|
-
style: any;
|
|
20
|
-
disabled: any;
|
|
21
|
-
}): React.JSX.Element;
|
|
22
|
-
export {};
|
|
@@ -11,6 +11,8 @@ export class MultiPageSelectDrawer extends MultiPageDrawer {
|
|
|
11
11
|
* 选择状态是否发生变化
|
|
12
12
|
*/
|
|
13
13
|
selectChanged: boolean;
|
|
14
|
+
establishPresetBatchActionIcon: () => import("react").JSX.Element;
|
|
15
|
+
onBatchActionClick: (list: any) => void;
|
|
14
16
|
establishListItemDropdownConfig: (record: any) => {
|
|
15
17
|
size: string;
|
|
16
18
|
text: string;
|
|
@@ -27,12 +29,12 @@ export class MultiPageSelectDrawer extends MultiPageDrawer {
|
|
|
27
29
|
selectRecord: ({ handleData }: {
|
|
28
30
|
handleData: any;
|
|
29
31
|
}) => void;
|
|
32
|
+
execSelect: () => void;
|
|
30
33
|
renderPresetListViewItemActionSelect: (item: any, index: any) => import("react").JSX.Element;
|
|
31
34
|
}
|
|
32
35
|
export namespace MultiPageSelectDrawer {
|
|
33
36
|
namespace defaultProps {
|
|
34
37
|
let width: number;
|
|
35
|
-
let multiSelect: boolean;
|
|
36
38
|
let hideAfterSelect: boolean;
|
|
37
39
|
}
|
|
38
40
|
}
|
|
@@ -11,6 +11,8 @@ export class MultiPageSelectModal extends MultiPageModal {
|
|
|
11
11
|
* 选择状态是否发生变化
|
|
12
12
|
*/
|
|
13
13
|
selectChanged: boolean;
|
|
14
|
+
establishPresetBatchActionIcon: () => import("react").JSX.Element;
|
|
15
|
+
onBatchActionClick: () => void;
|
|
14
16
|
establishListItemDropdownConfig: (record: any) => {
|
|
15
17
|
size: string;
|
|
16
18
|
text: string;
|
|
@@ -27,6 +29,7 @@ export class MultiPageSelectModal extends MultiPageModal {
|
|
|
27
29
|
selectRecord: ({ handleData }: {
|
|
28
30
|
handleData: any;
|
|
29
31
|
}) => void;
|
|
32
|
+
execSelect: () => void;
|
|
30
33
|
renderPresetListViewItemActionSelect: (item: any, index: any) => import("react").JSX.Element;
|
|
31
34
|
}
|
|
32
35
|
export namespace MultiPageSelectModal {
|
|
@@ -11,6 +11,8 @@ export class SinglePageSelectDrawer extends SinglePageDrawer {
|
|
|
11
11
|
* 选择状态是否发生变化
|
|
12
12
|
*/
|
|
13
13
|
selectChanged: boolean;
|
|
14
|
+
establishPresetBatchActionIcon: () => import("react").JSX.Element;
|
|
15
|
+
onBatchActionClick: () => void;
|
|
14
16
|
establishListItemDropdownConfig: (record: any) => {
|
|
15
17
|
size: string;
|
|
16
18
|
text: string;
|
|
@@ -27,6 +29,7 @@ export class SinglePageSelectDrawer extends SinglePageDrawer {
|
|
|
27
29
|
selectRecord: ({ handleData }: {
|
|
28
30
|
handleData: any;
|
|
29
31
|
}) => void;
|
|
32
|
+
execSelect: () => void;
|
|
30
33
|
renderPresetListViewItemActionSelect: (item: any, index: any) => import("react").JSX.Element;
|
|
31
34
|
}
|
|
32
35
|
import { SinglePageDrawer } from '../SinglePageDrawer';
|
|
@@ -11,6 +11,8 @@ export class SinglePageSelectModal extends SinglePageModal {
|
|
|
11
11
|
* 选择状态是否发生变化
|
|
12
12
|
*/
|
|
13
13
|
selectChanged: boolean;
|
|
14
|
+
establishPresetBatchActionIcon: () => import("react").JSX.Element;
|
|
15
|
+
onBatchActionClick: () => void;
|
|
14
16
|
establishListItemDropdownConfig: (record: any) => {
|
|
15
17
|
size: string;
|
|
16
18
|
text: string;
|
|
@@ -27,6 +29,7 @@ export class SinglePageSelectModal extends SinglePageModal {
|
|
|
27
29
|
selectRecord: ({ handleData }: {
|
|
28
30
|
handleData: any;
|
|
29
31
|
}) => void;
|
|
32
|
+
execSelect: () => void;
|
|
30
33
|
renderPresetListViewItemActionSelect: (item: any, index: any) => import("react").JSX.Element;
|
|
31
34
|
}
|
|
32
35
|
import { SinglePageModal } from '../SinglePageModal';
|