antd-management-fast-framework 2.1.12 → 2.1.13

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.
Files changed (61) hide show
  1. package/es/components/ApplicationWrapper/index.d.ts +2 -1
  2. package/es/components/DataPreviewDrawer/index.d.ts +2 -2
  3. package/es/components/DrawerExtra/index.d.ts +27 -3
  4. package/es/components/ElasticityExtraButton/index.d.ts +3 -3
  5. package/es/components/LoadingOverlay/index.d.ts +7 -1
  6. package/es/components/MobileContainor/MobileHtmlPreviewBox/index.d.ts +3 -2
  7. package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +6 -3
  8. package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +6 -2
  9. package/es/components/ModalExtra/index.d.ts +6 -0
  10. package/es/components/PageExtraWrapper/index.d.ts +6 -0
  11. package/es/components/ReloadAnimalPrompt/index.d.ts +14 -0
  12. package/es/components/TopProgressBar/index.d.ts +2 -1
  13. package/es/components/index.d.ts +3 -0
  14. package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +2 -2
  15. package/es/framework/Common/InternalBuild/index.d.ts +6 -5
  16. package/es/framework/Common/InternalFlow/index.d.ts +48 -29
  17. package/es/framework/Common/InternalLayout/index.d.ts +6 -5
  18. package/es/framework/Common/InternalTabFlow/index.d.ts +13 -3
  19. package/es/framework/Common/ReloadActionButton/index.d.ts +1 -1
  20. package/es/framework/Core/index.d.ts +5 -0
  21. package/es/framework/DataDrawer/Base/index.d.ts +14 -10
  22. package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +2 -1
  23. package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +0 -1
  24. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +0 -1
  25. package/es/framework/DataForm/BaseAddForm/index.d.ts +2 -1
  26. package/es/framework/DataListView/Base/index.d.ts +33 -25
  27. package/es/framework/DataListView/BatchAction/index.d.ts +3 -2
  28. package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +2 -1
  29. package/es/framework/DataListView/ColumnSetting/index.d.ts +2 -1
  30. package/es/framework/DataListView/DensityAction/index.d.ts +1 -1
  31. package/es/framework/DataListView/EmptyCardCollection/index.d.ts +1 -1
  32. package/es/framework/DataListView/RefreshButton/index.d.ts +1 -1
  33. package/es/framework/DataListView/ResetButton/index.d.ts +1 -1
  34. package/es/framework/DataListView/SearchButton/index.d.ts +1 -1
  35. package/es/framework/DataMenuContainer/index.d.ts +4 -3
  36. package/es/framework/DataModal/Base/index.d.ts +11 -10
  37. package/es/framework/DataModal/BaseLoadModal/index.d.ts +0 -1
  38. package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +1 -2
  39. package/es/framework/DataModal/BaseSelectModal/index.d.ts +1 -2
  40. package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +4 -4
  41. package/es/framework/DataMultiPageView/MultiPage/index.d.ts +0 -1
  42. package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +38 -34
  43. package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +36 -7
  44. package/es/framework/DataOperation/BaseWindow/index.d.ts +11 -28
  45. package/es/framework/DataSinglePageView/SinglePage/index.d.ts +1 -1
  46. package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +32 -31
  47. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +26 -7
  48. package/es/framework/DataSingleView/DataCore/index.d.ts +7 -7
  49. package/es/framework/DataTabContainer/index.d.ts +1 -3
  50. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +3 -2
  51. package/es/index.css +6 -5
  52. package/es/index.js +2 -2
  53. package/es/modelBuilders/reloadAnimalPromptControl.d.ts +37 -0
  54. package/es/modelBuilders/switchControl.d.ts +0 -1
  55. package/es/modelBuilders/tabControl.d.ts +38 -0
  56. package/es/utils/entranceAssist.d.ts +16 -0
  57. package/es/utils/index.d.ts +1 -0
  58. package/es/utils/interfaceSettingAssist.d.ts +7 -5
  59. package/es/utils/reloadAnimalPromptControlAssist.d.ts +17 -0
  60. package/es/utils/tabControlAssist.d.ts +17 -0
  61. package/package.json +45 -44
@@ -5,7 +5,7 @@ export class Base extends AuthorizationWrapper {
5
5
  */
6
6
  useRemotePagination: boolean;
7
7
  /**
8
- * 使用前台模拟分页,有助于优化长列表页面交互操作导致的延迟
8
+ * 使用前台模拟分页,有助于优化长列表页面交互操作导致的延迟, 默认 true
9
9
  */
10
10
  useFrontendPagination: boolean;
11
11
  showSearchForm: boolean;
@@ -15,7 +15,14 @@ export class Base extends AuthorizationWrapper {
15
15
  columnOperateVisible: boolean;
16
16
  columnOperateWidth: number;
17
17
  columnOperateFixed: string;
18
+ /**
19
+ * 显示选择按钮
20
+ */
18
21
  showListViewItemActionSelect: boolean;
22
+ /**
23
+ * 使用表格密度配置
24
+ */
25
+ useTableDensityAction: boolean;
19
26
  lastLoadParams: any;
20
27
  columnsOtherConfig: any[];
21
28
  state: any;
@@ -51,8 +58,8 @@ export class Base extends AuthorizationWrapper {
51
58
  handleSearch: () => void;
52
59
  filterFormValues: any;
53
60
  getSearchCard: () => any;
54
- buildSearchCardContent: (config: any) => JSX.Element | null;
55
- buildSearchCardContentItem: (contentItem: any, contentIndex: any) => JSX.Element;
61
+ buildSearchCardContent: (config: any) => React.JSX.Element | null;
62
+ buildSearchCardContentItem: (contentItem: any, contentIndex: any) => React.JSX.Element;
56
63
  establishSearchCardConfig: () => {
57
64
  list: ({
58
65
  lg: number;
@@ -62,18 +69,18 @@ export class Base extends AuthorizationWrapper {
62
69
  } | {
63
70
  lg: number;
64
71
  type: string;
65
- component: JSX.Element;
72
+ component: React.JSX.Element;
66
73
  dateRangeFieldName?: undefined;
67
74
  })[];
68
75
  };
69
- buildSearchCardButtonCore: () => JSX.Element;
70
- buildSearchCardButton: (ColMd?: number) => JSX.Element;
71
- buildSearchCardRangePickerCore: (dateRangeFieldName: any, rangePickerProperties?: null) => JSX.Element;
72
- buildSearchCardRangePicker: (dateRangeFieldName: any, colLg?: number, rangePickerProperties?: null) => JSX.Element;
73
- buildSearchCardRow: () => JSX.Element | null;
76
+ buildSearchCardButtonCore: () => React.JSX.Element;
77
+ buildSearchCardButton: (ColMd?: number) => React.JSX.Element;
78
+ buildSearchCardRangePickerCore: (dateRangeFieldName: any, rangePickerProperties?: null) => React.JSX.Element;
79
+ buildSearchCardRangePicker: (dateRangeFieldName: any, colLg?: number, rangePickerProperties?: null) => React.JSX.Element;
80
+ buildSearchCardRow: () => React.JSX.Element | null;
74
81
  fillSearchCardInitialValues: () => {};
75
- buildSearchCard: () => JSX.Element | null;
76
- renderPresetForm: () => JSX.Element | null;
82
+ buildSearchCard: () => React.JSX.Element | null;
83
+ renderPresetForm: () => React.JSX.Element | null;
77
84
  establishTableAdditionalConfig: () => {};
78
85
  establishTableExpandableConfig: () => null;
79
86
  restoreColumnsOtherConfigArray: () => void;
@@ -91,14 +98,13 @@ export class Base extends AuthorizationWrapper {
91
98
  renderPresetTable: (config: any) => null;
92
99
  renderPresetAlertContent: () => string;
93
100
  renderPresetAlertOption: () => void;
94
- renderPresetAboveTable: () => JSX.Element | null;
101
+ renderPresetAboveTable: () => React.JSX.Element | null;
95
102
  establishDataContainerExtraActionCollectionConfig: () => never[];
96
103
  establishDataContainerExtraAffixConfig: () => {};
97
104
  buildDataContainerExtraActionCollection: () => any;
98
- renderPresetExtraActionView: () => JSX.Element | null;
105
+ renderPresetExtraActionView: () => React.JSX.Element | null;
99
106
  renderPresetBatchActionMenu: () => never[];
100
- renderPresetBatchAction: () => JSX.Element | null;
101
- getInitialTabActiveKey: () => any;
107
+ renderPresetBatchAction: () => React.JSX.Element | null;
102
108
  onPageHeaderAvatarLoadError: () => void;
103
109
  establishViewDataSource: () => null;
104
110
  adjustViewDataSource: () => null;
@@ -154,9 +160,9 @@ export class Base extends AuthorizationWrapper {
154
160
  handleAdditionalPaginationChange: (page: any, size: any) => void;
155
161
  handlePaginationShowSizeChange: (current: any, size: any) => void;
156
162
  establishPageHeaderExtraContentConfig: () => null;
157
- buildPaginationBar: () => JSX.Element;
158
- renderPresetCardExtraAction: () => JSX.Element;
159
- renderPresetListViewItem: (record: any, index: any) => JSX.Element;
163
+ buildPaginationBar: () => React.JSX.Element;
164
+ renderPresetCardExtraAction: () => React.JSX.Element;
165
+ renderPresetListViewItem: (record: any, index: any) => React.JSX.Element;
160
166
  renderPresetListViewItemInner: (record: any, index: any) => null;
161
167
  renderPresetListViewItemExtra: (record: any, index: any) => null;
162
168
  renderPresetListViewItemActions: (record: any, index: any) => any[] | null;
@@ -164,19 +170,21 @@ export class Base extends AuthorizationWrapper {
164
170
  renderPresetListViewItemActionSelect: (record: any, index: any) => null;
165
171
  renderPresetListViewItemLayout: () => string;
166
172
  renderPresetListViewSize: () => string;
167
- renderPresetListView: () => JSX.Element;
173
+ renderPresetListView: () => React.JSX.Element;
168
174
  /**
169
175
  * 构建分页视图
170
176
  * frontendPagination配置仅用在前台模拟分页时
171
177
  */
172
- renderPresetTableView: () => JSX.Element;
173
- renderPresetCardCollectionView: () => JSX.Element;
174
- renderPresetPaginationView: () => JSX.Element;
175
- renderPresetListMainView: () => JSX.Element | null;
176
- renderPresetContentArea: () => JSX.Element;
178
+ renderPresetTableView: () => React.JSX.Element;
179
+ renderPresetCardCollectionView: () => React.JSX.Element;
180
+ renderPresetCustomItemView: (item: any) => null;
181
+ renderPresetCustomView: () => React.JSX.Element;
182
+ renderPresetPaginationView: () => React.JSX.Element;
183
+ renderPresetListMainView: () => React.JSX.Element | null;
184
+ renderPresetContentArea: () => React.JSX.Element;
177
185
  establishPageContentLayoutConfig: () => {};
178
186
  establishListItemDropdownConfig: (record: any) => null;
179
- renderPresetListItemDropdown: (record: any) => JSX.Element;
187
+ renderPresetListItemDropdown: (record: any) => React.JSX.Element;
180
188
  }
181
189
  import { AuthorizationWrapper } from '../../AuthorizationWrapper';
182
190
  import React from 'react';
@@ -3,10 +3,11 @@ export function BatchAction({ style, onSelect, menus, disabled }: {
3
3
  onSelect: any;
4
4
  menus?: any[] | undefined;
5
5
  disabled: any;
6
- }): JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace BatchAction {
8
8
  export { DropdownButton as Button };
9
9
  }
10
+ import React from 'react';
10
11
  /**
11
12
  * 默认的 index 列容器,提供一个好看的 index
12
13
  * @param param0
@@ -17,5 +18,5 @@ declare function DropdownButton({ children, menus, onSelect, style, disabled, }:
17
18
  onSelect: any;
18
19
  style: any;
19
20
  disabled: any;
20
- }): JSX.Element;
21
+ }): React.JSX.Element;
21
22
  export {};
@@ -4,4 +4,5 @@ export function DnDItem({ id, end, move, children, index }: {
4
4
  move: any;
5
5
  children: any;
6
6
  index: any;
7
- }): JSX.Element;
7
+ }): React.JSX.Element;
8
+ import React from 'react';
@@ -1,2 +1,3 @@
1
1
  export function genColumnKey(key: any, dataIndex: any): any;
2
- export function ColumnSetting(properties: any): JSX.Element;
2
+ export function ColumnSetting(properties: any): React.JSX.Element;
3
+ import React from 'react';
@@ -1,6 +1,6 @@
1
1
  export class DensityAction extends React.PureComponent<any, any, any> {
2
2
  constructor(props: any);
3
3
  constructor(props: any, context: any);
4
- render(): JSX.Element;
4
+ render(): React.JSX.Element;
5
5
  }
6
6
  import React from 'react';
@@ -1,7 +1,7 @@
1
1
  export class EmptyCardCollection extends React.PureComponent<any, any, any> {
2
2
  constructor(props: any);
3
3
  constructor(props: any, context: any);
4
- render(): JSX.Element;
4
+ render(): React.JSX.Element;
5
5
  }
6
6
  export namespace EmptyCardCollection {
7
7
  const defaultProps: {};
@@ -1,7 +1,7 @@
1
1
  export class RefreshButton extends React.PureComponent<any, any, any> {
2
2
  constructor(props: any);
3
3
  constructor(props: any, context: any);
4
- render(): JSX.Element;
4
+ render(): React.JSX.Element;
5
5
  }
6
6
  export namespace RefreshButton {
7
7
  namespace defaultProps {
@@ -1,7 +1,7 @@
1
1
  export class ResetButton extends React.PureComponent<any, any, any> {
2
2
  constructor(props: any);
3
3
  constructor(props: any, context: any);
4
- render(): JSX.Element;
4
+ render(): React.JSX.Element;
5
5
  }
6
6
  export namespace ResetButton {
7
7
  namespace defaultProps {
@@ -1,7 +1,7 @@
1
1
  export class SearchButton extends React.PureComponent<any, any, any> {
2
2
  constructor(props: any);
3
3
  constructor(props: any, context: any);
4
- render(): JSX.Element;
4
+ render(): React.JSX.Element;
5
5
  }
6
6
  export namespace SearchButton {
7
7
  namespace defaultProps {
@@ -15,14 +15,15 @@ export class DataMenuContainer extends AuthorizationWrapper {
15
15
  buildRightTitle: ({ icon, text }: {
16
16
  icon?: null | undefined;
17
17
  text?: null | undefined;
18
- }) => JSX.Element;
18
+ }) => React.JSX.Element;
19
19
  buildMenu: () => any;
20
20
  selectKey: ({ key }: {
21
21
  key: any;
22
22
  }) => void;
23
23
  resize: () => void;
24
- renderPresetRightTitle: () => JSX.Element;
25
- renderFurther(): JSX.Element;
24
+ renderPresetRightTitle: () => React.JSX.Element;
25
+ renderFurther(): React.JSX.Element;
26
26
  main: HTMLDivElement | null | undefined;
27
27
  }
28
28
  import { AuthorizationWrapper } from '../AuthorizationWrapper';
29
+ import React from 'react';
@@ -1,8 +1,7 @@
1
1
  export class Base extends BaseWindow {
2
+ constructor(properties: any, visibleFlag: any);
2
3
  contentWrapperType: string;
3
4
  state: {
4
- visible: boolean;
5
- dataLoading: boolean;
6
5
  width: number;
7
6
  errorFieldName: string;
8
7
  submitApiPath: string;
@@ -13,6 +12,7 @@ export class Base extends BaseWindow {
13
12
  metaExtra: null;
14
13
  metaListData: never[];
15
14
  metaOriginalData: null;
15
+ dataLoading: boolean;
16
16
  firstLoadSuccess: boolean;
17
17
  loadSuccess: boolean;
18
18
  urlParams: null;
@@ -32,28 +32,29 @@ export class Base extends BaseWindow {
32
32
  disabled: any;
33
33
  };
34
34
  buildOkText: () => string;
35
- buildOkTextWrapper: () => JSX.Element;
35
+ buildOkTextWrapper: () => React.JSX.Element;
36
36
  buildCancelButtonProps: () => {
37
37
  disabled: any;
38
38
  } | {
39
39
  disabled?: undefined;
40
40
  };
41
- buildCancelText: (saveButtonText?: string) => JSX.Element;
41
+ buildCancelText: (saveButtonText?: string) => React.JSX.Element;
42
42
  buildModalBodyStyle: () => {
43
43
  padding: number;
44
44
  };
45
45
  getModalBodyStyle: () => {
46
46
  padding: number;
47
47
  };
48
- buildTitleIcon: () => JSX.Element;
48
+ buildTitleIcon: () => React.JSX.Element;
49
49
  buildTitlePrevText: () => string;
50
50
  buildTitleText: () => string;
51
51
  buildTitleSubText: () => string;
52
- buildTitle: () => JSX.Element;
52
+ buildTitle: () => React.JSX.Element;
53
53
  renderPresetFormContent: () => any;
54
- renderPresetForm: () => JSX.Element;
55
- renderPresetFormWrapper: () => JSX.Element;
56
- renderPresetModalInner: () => JSX.Element;
57
- renderFurther(): JSX.Element;
54
+ renderPresetForm: () => React.JSX.Element;
55
+ renderPresetFormWrapper: () => React.JSX.Element;
56
+ renderPresetModalInner: () => React.JSX.Element;
57
+ renderFurther(): React.JSX.Element;
58
58
  }
59
59
  import { BaseWindow } from '../../DataOperation/BaseWindow';
60
+ import React from 'react';
@@ -1,4 +1,3 @@
1
1
  export class BaseLoadModal extends Base {
2
- doOtherWhenChangeVisibleToShow: (preProperties: any, preState: any, snapshot: any) => void;
3
2
  }
4
3
  import { Base } from '../Base';
@@ -7,7 +7,6 @@ export class BaseNeedlessLoadModal extends Base {
7
7
  state: {
8
8
  visible: boolean;
9
9
  needReset: boolean;
10
- dataLoading: boolean;
11
10
  width: number;
12
11
  errorFieldName: string;
13
12
  submitApiPath: string;
@@ -18,12 +17,12 @@ export class BaseNeedlessLoadModal extends Base {
18
17
  metaExtra: null;
19
18
  metaListData: never[];
20
19
  metaOriginalData: null;
20
+ dataLoading: boolean;
21
21
  firstLoadSuccess: boolean;
22
22
  loadSuccess: boolean;
23
23
  urlParams: null;
24
24
  externalData: null;
25
25
  };
26
- doOtherWhenChangeVisibleToShow: (preProperties: any, preState: any, snapshot: any) => void;
27
26
  buildInitialValues: () => {};
28
27
  fillDefaultInitialValues: () => {};
29
28
  }
@@ -1,8 +1,6 @@
1
1
  export class BaseSelectModal extends BaseLoadModal {
2
2
  state: {
3
3
  currentRecord: null;
4
- visible: boolean;
5
- dataLoading: boolean;
6
4
  width: number;
7
5
  errorFieldName: string;
8
6
  submitApiPath: string;
@@ -13,6 +11,7 @@ export class BaseSelectModal extends BaseLoadModal {
13
11
  metaExtra: null;
14
12
  metaListData: never[];
15
13
  metaOriginalData: null;
14
+ dataLoading: boolean;
16
15
  firstLoadSuccess: boolean;
17
16
  loadSuccess: boolean;
18
17
  urlParams: null;
@@ -3,8 +3,6 @@ export class BaseUpdateTransferModal extends BaseUpdateModal {
3
3
  width: number;
4
4
  targetKeys: never[];
5
5
  selectedKeys: never[];
6
- visible: boolean;
7
- dataLoading: boolean;
8
6
  errorFieldName: string;
9
7
  submitApiPath: string;
10
8
  loadApiPath: string;
@@ -14,12 +12,13 @@ export class BaseUpdateTransferModal extends BaseUpdateModal {
14
12
  metaExtra: null;
15
13
  metaListData: never[];
16
14
  metaOriginalData: null;
15
+ dataLoading: boolean;
17
16
  firstLoadSuccess: boolean;
18
17
  loadSuccess: boolean;
19
18
  urlParams: null;
20
19
  externalData: null;
21
20
  };
22
- buildTargetKeys: (preProperties: any, preState: any, snapshot: any) => never;
21
+ buildTargetKeys: () => never;
23
22
  handleChange: (nextTargetKeys: any) => void;
24
23
  handleSelectChange: (sourceSelectedKeys: any, targetSelectedKeys: any) => void;
25
24
  buildDataSource: () => never;
@@ -31,9 +30,10 @@ export class BaseUpdateTransferModal extends BaseUpdateModal {
31
30
  items: {
32
31
  lg: number;
33
32
  type: string;
34
- component: JSX.Element;
33
+ component: React.JSX.Element;
35
34
  }[];
36
35
  }[];
37
36
  };
38
37
  }
39
38
  import { BaseUpdateModal } from '../BaseUpdateModal';
39
+ import React from 'react';
@@ -10,7 +10,6 @@ export class MultiPage extends Base {
10
10
  restoreSearchComplete: boolean;
11
11
  supplementPageLoadRequestParams: () => void;
12
12
  supplementLoadRequestParams: (o: any) => any;
13
- handleSearchReset: (checkWorkDoing?: boolean, delay?: number) => void;
14
13
  filterNoFormValues: any;
15
14
  filterExtraValues: any;
16
15
  /**
@@ -1,63 +1,66 @@
1
1
  export class MultiPageDrawer extends MultiPage {
2
2
  static getDerivedStateFromProps(nextProperties: any, previousState: any): {
3
- visible: any;
4
3
  externalData: any;
5
4
  };
5
+ constructor(properties: any, visibleFlag: any);
6
+ visibleFlag: string;
6
7
  contentWrapperType: string;
7
8
  loadRemoteRequestAfterMount: boolean;
8
9
  resetDataAfterLoad: boolean;
9
10
  reloadWhenShow: boolean;
10
- doWorkWhenDidUpdate: (preProperties: any, preState: any, snapshot: any) => void;
11
+ reloadAnimalPrompt: boolean;
12
+ reloadAnimalPromptComplete: boolean;
11
13
  /**
12
- * 当可见性发生变化时执行
14
+ * 构建附加的分页配置
15
+ * @returns
13
16
  */
14
- doOtherWhenChangeVisible: (preProperties: any, preState: any, snapshot: any, currentVisible: any) => void;
17
+ establishTableAdditionalConfig: () => {
18
+ style: {
19
+ padding: string;
20
+ height: string;
21
+ };
22
+ };
23
+ getVisibleFlag(): any;
15
24
  /**
16
25
  * 当可见性变为显示时执行
17
- * @param {*} preProps
18
- * @param {*} preState
19
- * @param {*} snapshot
20
26
  */
21
- doOtherWhenChangeVisibleToShow: (preProperties: any, preState: any, snapshot: any) => void;
27
+ doOtherWhenChangeVisibleToShow: () => void;
22
28
  /**
23
29
  * 当可见性变为显示时附加的执行
24
- * @param {*} preProps
25
- * @param {*} preState
26
- * @param {*} snapshot
27
30
  */
28
- executeAfterDoOtherWhenChangeVisibleToShow: (preProperties: any, preState: any, snapshot: any) => void;
31
+ executeAfterDoOtherWhenChangeVisibleToShow: () => void;
29
32
  /**
30
33
  * 当可见性变为隐藏时执行
31
- * @param {*} preProps
32
- * @param {*} preState
33
- * @param {*} snapshot
34
34
  */
35
- doOtherWhenChangeVisibleToHide: (preProperties: any, preState: any, snapshot: any) => void;
35
+ doOtherWhenChangeVisibleToHide: () => void;
36
36
  /**
37
- * 当可见性变为显示后附加的执行
38
- * @param {*} preProps
39
- * @param {*} preState
40
- * @param {*} snapshot
37
+ * 当可见性变为隐藏后附加的执行
41
38
  */
42
- executeAfterDoOtherWhenChangeVisibleToHide: (preProperties: any, preState: any, snapshot: any) => void;
39
+ executeAfterDoOtherWhenChangeVisibleToHide: () => void;
43
40
  /**
44
41
  * 当可见性变更后的附加执行
45
- * @param {*} preProps
46
- * @param {*} preState
47
- * @param {*} snapshot
48
42
  */
49
- executeOtherAfterDoOtherWhenChangeVisible: (preProperties: any, preState: any, snapshot: any) => void;
43
+ executeOtherAfterDoOtherWhenChangeVisible: () => void;
44
+ /**
45
+ * 当可见性发生变化时执行
46
+ */
47
+ doOtherWhenChangeVisible: (currentVisible: any) => void;
50
48
  onClose: () => void;
51
- renderPresetTitleIcon: () => JSX.Element;
49
+ /**
50
+ * 选择数据
51
+ * @param {*} handleData
52
+ */
53
+ selectRecord: ({ handleData }: any) => void;
54
+ renderPresetTitleIcon: () => React.JSX.Element;
55
+ buildTitlePrevText: () => string;
56
+ buildTitleText: () => any;
57
+ buildTitleSubText: () => string;
52
58
  hideDrawer: () => void;
53
- selectRecord: ({ handleData }: {
54
- handleData: any;
55
- }) => void;
56
- renderPresetListMainViewContainor: () => JSX.Element;
57
- renderPresetContentContainor: () => JSX.Element;
58
- renderPresetDrawerInner: () => JSX.Element;
59
- renderPresetListViewItemActionSelect: (item: any, index: any) => JSX.Element;
60
- renderFurther(): JSX.Element;
59
+ renderPresetListMainViewContainor: () => React.JSX.Element;
60
+ renderPresetContentContainor: () => React.JSX.Element;
61
+ renderPresetDrawerInner: () => React.JSX.Element;
62
+ renderOverlayContent: () => null;
63
+ renderFurther(): React.JSX.Element;
61
64
  }
62
65
  export namespace MultiPageDrawer {
63
66
  namespace defaultProps {
@@ -67,3 +70,4 @@ export namespace MultiPageDrawer {
67
70
  }
68
71
  }
69
72
  import { MultiPage } from '../MultiPage';
73
+ import React from 'react';
@@ -1,10 +1,39 @@
1
1
  export class MultiPageSelectDrawer extends MultiPageDrawer {
2
- renderPresetSelectButton: ({ confirm, text: textSource, icon: iconSource, handleData, showIcon, }: {
3
- confirm?: boolean | undefined;
4
- text?: string | undefined;
5
- icon?: JSX.Element | undefined;
6
- handleData?: null | undefined;
7
- showIcon?: boolean | undefined;
8
- }) => JSX.Element;
2
+ /**
3
+ * 指定使用选择确认模式, 默认 false, 不使用二次选择确认时可不用特殊指定
4
+ */
5
+ confirmSelect: boolean;
6
+ /**
7
+ * 已选择的数据集合
8
+ */
9
+ selectListData: any[];
10
+ /**
11
+ * 选择状态是否发生变化
12
+ */
13
+ selectChanged: boolean;
14
+ establishListItemDropdownConfig: (record: any) => {
15
+ size: string;
16
+ text: string;
17
+ placement: string;
18
+ icon: import("react").JSX.Element;
19
+ handleButtonClick: ({ handleData }: {
20
+ handleData: any;
21
+ }) => void;
22
+ handleData: any;
23
+ confirm: boolean;
24
+ title: string;
25
+ };
26
+ buildSelectNotificationDescription: (data: any) => string;
27
+ selectRecord: ({ handleData }: {
28
+ handleData: any;
29
+ }) => void;
30
+ renderPresetListViewItemActionSelect: (item: any, index: any) => import("react").JSX.Element;
31
+ }
32
+ export namespace MultiPageSelectDrawer {
33
+ namespace defaultProps {
34
+ const width: number;
35
+ const multiSelect: boolean;
36
+ const hideAfterSelect: boolean;
37
+ }
9
38
  }
10
39
  import { MultiPageDrawer } from '../MultiPageDrawer';
@@ -1,55 +1,38 @@
1
1
  export class BaseWindow extends Base {
2
2
  static getDerivedStateFromProps(nextProperties: any, previousState: any): {
3
- visible: any;
4
3
  externalData: any;
5
4
  };
6
- constructor(properties: any, visibleFlag: any);
5
+ constructor(properties: any, visibleFlag?: string);
7
6
  visibleFlag: string;
8
7
  reloadWhenShow: boolean;
9
8
  loadRemoteRequestAfterMount: boolean;
10
9
  formRef: React.RefObject<any>;
11
10
  submitWithForm: boolean;
12
11
  goToUpdateWhenProcessed: boolean;
13
- doWorkWhenDidUpdate: (preProperties: any, preState: any, snapshot: any) => void;
14
- /**
15
- * 当可见性发生变化时执行
16
- */
17
- doOtherWhenChangeVisible: (preProperties: any, preState: any, snapshot: any, currentVisible: any) => void;
18
12
  /**
19
13
  * 当可见性变为显示时执行
20
- * @param {*} preProps
21
- * @param {*} preState
22
- * @param {*} snapshot
23
14
  */
24
- doOtherWhenChangeVisibleToShow: (preProperties: any, preState: any, snapshot: any) => void;
15
+ doOtherWhenChangeVisibleToShow: () => void;
25
16
  /**
26
17
  * 当可见性变为显示时附加的执行
27
- * @param {*} preProps
28
- * @param {*} preState
29
- * @param {*} snapshot
30
18
  */
31
- executeAfterDoOtherWhenChangeVisibleToShow: (preProperties: any, preState: any, snapshot: any) => void;
19
+ executeAfterDoOtherWhenChangeVisibleToShow: () => void;
32
20
  /**
33
21
  * 当可见性变为隐藏时执行
34
- * @param {*} preProps
35
- * @param {*} preState
36
- * @param {*} snapshot
37
22
  */
38
- doOtherWhenChangeVisibleToHide: (preProperties: any, preState: any, snapshot: any) => void;
23
+ doOtherWhenChangeVisibleToHide: () => void;
39
24
  /**
40
- * 当可见性变为显示后附加的执行
41
- * @param {*} preProps
42
- * @param {*} preState
43
- * @param {*} snapshot
25
+ * 当可见性变为隐藏后附加的执行
44
26
  */
45
- executeAfterDoOtherWhenChangeVisibleToHide: (preProperties: any, preState: any, snapshot: any) => void;
27
+ executeAfterDoOtherWhenChangeVisibleToHide: () => void;
46
28
  /**
47
29
  * 当可见性变更后的附加执行
48
- * @param {*} preProps
49
- * @param {*} preState
50
- * @param {*} snapshot
51
30
  */
52
- executeOtherAfterDoOtherWhenChangeVisible: (preProperties: any, preState: any, snapshot: any) => void;
31
+ executeOtherAfterDoOtherWhenChangeVisible: () => void;
32
+ /**
33
+ * 当可见性发生变化时执行
34
+ */
35
+ doOtherWhenChangeVisible: (currentVisible: any) => void;
53
36
  getTargetForm: () => any;
54
37
  supplementSubmitRequestParams: (o: any) => any;
55
38
  afterLoadSuccess: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
@@ -29,6 +29,6 @@ export class SinglePage extends Base {
29
29
  * @returns
30
30
  */
31
31
  getFrontendPageNo: () => number;
32
- renderPresetPaginationView: () => JSX.Element | null;
32
+ renderPresetPaginationView: () => import("react").JSX.Element | null;
33
33
  }
34
34
  import { Base } from '../../DataListView/Base';