antd-management-fast-framework 2.1.6 → 2.1.7

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.
@@ -2,8 +2,6 @@ export class ApplicationWrapper extends BaseComponent {
2
2
  renderFurther(): JSX.Element;
3
3
  }
4
4
  export namespace ApplicationWrapper {
5
- namespace defaultProps {
6
- const prepareModel: null;
7
- }
5
+ const defaultProps: {};
8
6
  }
9
7
  import { BaseComponent } from 'antd-management-fast-component';
@@ -0,0 +1,7 @@
1
+ export class TopProgressBar extends BaseComponent {
2
+ renderFurther(): JSX.Element;
3
+ }
4
+ export namespace TopProgressBar {
5
+ const defaultProps: {};
6
+ }
7
+ import { BaseComponent } from 'antd-management-fast-component';
@@ -3,3 +3,4 @@ export * from "./Bootstrap";
3
3
  export * from "./DataPreviewDrawer";
4
4
  export * from "./LoadingOverlay";
5
5
  export * from "./MobileContainor";
6
+ export * from "./TopProgressBar";
@@ -4,6 +4,7 @@ export class InternalFlow extends Core {
4
4
  contentTabMode: boolean;
5
5
  contentWrapperType: string;
6
6
  showExtraActionDivider: boolean;
7
+ loadRemoteRequestDelay: number;
7
8
  lastRequestingData: {
8
9
  type: string;
9
10
  payload: {};
@@ -45,25 +46,37 @@ export class InternalFlow extends Core {
45
46
  initLoadRequestParams: (o: any) => any;
46
47
  supplementLoadRequestParams: (o: any) => any;
47
48
  checkLoadRequestParams: (o: any) => boolean;
48
- initLoad: ({ otherState, delay, callback }: {
49
+ initLoad: ({ otherState, delay, successCallback, failCallback, completeCallback, }: {
49
50
  otherState?: {} | undefined;
50
51
  delay?: number | undefined;
51
- callback?: null | undefined;
52
+ successCallback?: null | undefined;
53
+ failCallback?: null | undefined;
54
+ completeCallback?: null | undefined;
52
55
  }) => void;
53
56
  adjustLoadApiPath: () => string;
54
- initLoadCore: ({ requestData, delay, callback }: {
57
+ initLoadCore: ({ requestData, delay, successCallback, failCallback, completeCallback, }: {
55
58
  requestData: any;
56
59
  delay?: number | undefined;
57
- callback: any;
60
+ successCallback?: null | undefined;
61
+ failCallback?: null | undefined;
62
+ completeCallback?: null | undefined;
58
63
  }) => void;
59
- loadFromApi: ({ requestData, callback }: {
64
+ loadFromApi: ({ requestData, successCallback, failCallback, completeCallback, }: {
60
65
  requestData: any;
61
- callback: any;
66
+ successCallback?: null | undefined;
67
+ failCallback?: null | undefined;
68
+ completeCallback?: null | undefined;
69
+ }) => void;
70
+ pageListData: ({ otherState, delay, successCallback, failCallback, completeCallback, }: {
71
+ otherState: any;
72
+ delay?: number | undefined;
73
+ successCallback?: null | undefined;
74
+ failCallback?: null | undefined;
75
+ completeCallback?: null | undefined;
62
76
  }) => void;
63
- pageListData: (otherState: any, callback?: null, delay?: number) => void;
64
- reloadData: (otherState: any, callback?: null, delay?: number) => void;
65
- searchData: (otherState: any, callback?: null, delay?: number) => void;
66
- refreshData: (otherState: any, callback?: null, delay?: number) => void;
77
+ reloadData: (otherState: any, successCallback?: null, delay?: number) => void;
78
+ searchData: (otherState: any, successCallback?: null, delay?: number) => void;
79
+ refreshData: (otherState: any, successCallback?: null, delay?: number) => void;
67
80
  reloadGlobalData: ({ successCallback, failCallback }: {
68
81
  successCallback?: null | undefined;
69
82
  failCallback?: null | undefined;
package/es/index.css CHANGED
@@ -1,4 +1,4 @@
1
- @import url("react-toastify/dist/ReactToastify.css");.index_antd-management-fast-framework-test__fJi5r{color:#fff}.ant-pro .ant-pro-layout .ant-pro-layout-bg-list{background:#f0f2f5}.ant-pro .ant-pro-layout .ant-pro-layout-container{background-color:#f0f2f5}
1
+ @import url("react-toastify/dist/ReactToastify.css");.index_antd-management-fast-framework-test__fJi5r{color:#fff}.ant-pro .ant-pro-layout .ant-pro-layout-bg-list{background:#f0f2f5}.ant-pro .ant-pro-layout .ant-pro-layout-container{background-color:#f0f2f5}.ant-pro-top-nav-header .ant-pro-top-nav-header-logo .ant-typography h1{font-size:16px;height:auto;margin-bottom:0}.ant-pro-layout a .amf-header-logo-title-box h1{font-size:16px;height:auto;margin:0}.ant-menu-vertical.ant-pro-base-menu.ant-pro-base-menu-collapsed.ant-menu-inline-collapsed>.ant-menu-item:has(.ant-pro-base-menu-item-collapsed-show-title){height:48px}.ant-menu-vertical.ant-pro-base-menu.ant-pro-base-menu-collapsed.ant-menu-inline-collapsed>.ant-menu-item .ant-pro-base-menu-item-title.ant-pro-base-menu-item-collapsed-show-title.ant-pro-base-menu-item-title-collapsed .ant-pro-base-menu-item-text{font-size:8px;text-align:center}.ant-menu-vertical.ant-pro-base-menu.ant-pro-base-menu-collapsed.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title:has(.ant-pro-base-menu-item-collapsed-show-title){height:48px}.ant-menu-vertical.ant-pro-base-menu.ant-pro-base-menu-collapsed.ant-menu-inline-collapsed>.ant-menu-submenu .ant-pro-base-menu-item-title.ant-pro-base-menu-item-collapsed-show-title.ant-pro-base-menu-item-title-collapsed .ant-pro-base-menu-item-text{font-size:8px;text-align:center}.ant-layout-sider-children .ant-pro-sider-extra.ant-pro-sider-extra-no-logo{margin-top:0}
2
2
  .index_cardContainor__9hPAi,.index_cardContainor__9hPAi .ant-card-head:before{display:block}
3
3
  .index_mainContainor__OlU-H .index_contentContainor__Ghkie{background-color:#f0f2f5}.index_mainContainor__OlU-H .index_titleText__teFu7{margin-left:2px}.index_mainContainor__OlU-H .index_bottomBar__xN76n{background-color:#fff;border-top:1px solid #e8e8e8;padding:10px}.index_mainContainor__OlU-H .ant-layout{background-color:#fff;min-height:calc(100vh - 55px)}.index_mainContainor__OlU-H .ant-layout-footer{padding:0}
4
4
  .index_previewContainor__S8pdu{width:100%}.index_contentContainor__g0How{background-color:#f0f2f5}