antd-management-fast-framework 2.11.106 → 2.11.113

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.
@@ -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
  */
@@ -101,7 +102,9 @@ export class Base extends AuthorizationWrapper {
101
102
  setColumnsMap: (event: any) => void;
102
103
  setSortKeyColumns: (event: any) => void;
103
104
  getColumnsMap: () => {};
104
- onBatchActionSelect: (key: any) => void;
105
+ triggerBatchActionClick: (list: any) => void;
106
+ onBatchActionClick: null;
107
+ onBatchActionSelect: null;
105
108
  renderPresetTable: (config: any) => null;
106
109
  renderPresetAlertContent: () => string;
107
110
  renderPresetAlertOption: () => void;
@@ -110,7 +113,10 @@ export class Base extends AuthorizationWrapper {
110
113
  establishDataContainerExtraAffixConfig: () => {};
111
114
  buildDataContainerExtraActionCollection: () => any;
112
115
  renderPresetExtraActionView: () => React.JSX.Element | null;
113
- renderPresetBatchActionMenu: () => never[];
116
+ establishPresetBatchActionSize: () => string;
117
+ establishPresetBatchActionIcon: () => null;
118
+ establishPresetBatchActionText: () => string;
119
+ establishPresetBatchActionMenu: () => never[];
114
120
  renderPresetBatchAction: () => React.JSX.Element | null;
115
121
  onPageHeaderAvatarLoadError: () => void;
116
122
  establishViewDataSource: () => null;
@@ -1,22 +1,19 @@
1
- export function BatchAction({ style, onSelect, menus, disabled }: {
2
- style: any;
3
- onSelect: any;
4
- menus?: any[] | undefined;
5
- disabled: any;
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
- export { DropdownButton as Button };
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;
@@ -23,17 +25,15 @@ export class MultiPageSelectDrawer extends MultiPageDrawer {
23
25
  confirm: boolean;
24
26
  title: string;
25
27
  };
26
- buildSelectNotificationDescription: (data: any) => string;
27
28
  selectRecord: ({ handleData }: {
28
29
  handleData: any;
29
30
  }) => void;
31
+ execSelect: () => void;
30
32
  renderPresetListViewItemActionSelect: (item: any, index: any) => import("react").JSX.Element;
31
33
  }
32
34
  export namespace MultiPageSelectDrawer {
33
35
  namespace defaultProps {
34
36
  let width: number;
35
- let multiSelect: boolean;
36
- let hideAfterSelect: boolean;
37
37
  }
38
38
  }
39
39
  import { MultiPageDrawer } from '../MultiPageDrawer';
@@ -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;
@@ -23,17 +25,15 @@ export class MultiPageSelectModal extends MultiPageModal {
23
25
  confirm: boolean;
24
26
  title: string;
25
27
  };
26
- buildSelectNotificationDescription: (data: any) => string;
27
28
  selectRecord: ({ handleData }: {
28
29
  handleData: any;
29
30
  }) => void;
31
+ execSelect: () => void;
30
32
  renderPresetListViewItemActionSelect: (item: any, index: any) => import("react").JSX.Element;
31
33
  }
32
34
  export namespace MultiPageSelectModal {
33
35
  namespace defaultProps {
34
36
  let width: number;
35
- let multiSelect: boolean;
36
- let hideAfterSelect: boolean;
37
37
  }
38
38
  }
39
39
  import { MultiPageModal } from '../MultiPageModal';
@@ -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;
@@ -23,10 +25,10 @@ export class SinglePageSelectDrawer extends SinglePageDrawer {
23
25
  confirm: boolean;
24
26
  title: string;
25
27
  };
26
- buildSelectNotificationDescription: (data: any) => string;
27
28
  selectRecord: ({ handleData }: {
28
29
  handleData: any;
29
30
  }) => void;
31
+ execSelect: () => void;
30
32
  renderPresetListViewItemActionSelect: (item: any, index: any) => import("react").JSX.Element;
31
33
  }
32
34
  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;
@@ -23,10 +25,10 @@ export class SinglePageSelectModal extends SinglePageModal {
23
25
  confirm: boolean;
24
26
  title: string;
25
27
  };
26
- buildSelectNotificationDescription: (data: any) => string;
27
28
  selectRecord: ({ handleData }: {
28
29
  handleData: any;
29
30
  }) => void;
31
+ execSelect: () => void;
30
32
  renderPresetListViewItemActionSelect: (item: any, index: any) => import("react").JSX.Element;
31
33
  }
32
34
  import { SinglePageModal } from '../SinglePageModal';