@flatbiz/pro-layout 4.0.10 → 4.0.12

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/index.d.ts CHANGED
@@ -3,6 +3,9 @@
3
3
 
4
4
  import { ButtonProps, MenuProps } from 'antd';
5
5
  import { ConfigProviderProps } from 'antd/es/config-provider';
6
+ import { MessageInstance } from 'antd/es/message/interface';
7
+ import { ModalStaticFunctions } from 'antd/es/modal/confirm';
8
+ import { NotificationInstance } from 'antd/es/notification/interface';
6
9
  import { SizeType } from 'antd/lib/config-provider/SizeContext';
7
10
  import { CSSProperties, ComponentType, ReactElement } from 'react';
8
11
 
@@ -257,6 +260,9 @@ export interface LeaveMenuProps {
257
260
  selectedKeys?: string[];
258
261
  }
259
262
  export declare const bootstrap: (options: BootstrapOptions) => void;
263
+ export declare let message: MessageInstance;
264
+ export declare let notification: NotificationInstance;
265
+ export declare let modal: Omit<ModalStaticFunctions, "warn">;
260
266
  export declare const Bread: (props: any) => JSX.Element | null;
261
267
  export type HistoryBackProps = {
262
268
  breads: BreadsData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.0.10",
3
+ "version": "4.0.12",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",