z-ui-pc 0.5.16 → 0.5.17

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/dist/index.d.ts CHANGED
@@ -1770,6 +1770,13 @@ declare const installer_8 = withInstallComponent(ZPlusBold, "ZPlusBold");
1770
1770
 
1771
1771
  declare const installer_9 = withInstallComponent(ZShowToTags, "ZShowToTags");
1772
1772
 
1773
+ export declare interface IOpenDialogOptions {
1774
+ /**
1775
+ * 是否在路由变化的时候不自动关闭弹框
1776
+ */
1777
+ notCloseBeforeRouteChange?: boolean;
1778
+ }
1779
+
1773
1780
  /**
1774
1781
  * 操作列配置
1775
1782
  */
@@ -2319,8 +2326,9 @@ export declare type TCreateBaseFormItemParams<T extends keyof IComponentProps, U
2319
2326
  };
2320
2327
 
2321
2328
  export declare const useOpenDialog: () => {
2322
- openDialog: <V = TAllType<string | number | boolean | object | null | undefined>, T extends Component = Component>(loader: AsyncComponentLoader<T> | T, props?: Partial<PropsOf_2<T>>, closeId?: TNumberOrString) => Promise<V>;
2329
+ openDialog: <V = TAllType<string | number | boolean | object | null | undefined>, T extends Component = Component>(loader: AsyncComponentLoader<T> | T, props?: Partial<PropsOf_2<T>>, closeId?: TNumberOrString, options?: IOpenDialogOptions) => Promise<V>;
2323
2330
  closeDialog: (id?: TNumberOrString, notCloseBeforeAllInstance?: boolean) => void;
2331
+ openDialogIgnoreRouteChange: <V = TAllType<string | number | boolean | object | null | undefined>, T extends Component = Component>(loader: AsyncComponentLoader<T> | T, props?: Partial<PropsOf_2<T>>, closeId?: TNumberOrString, options?: IOpenDialogOptions) => Promise<V>;
2324
2332
  };
2325
2333
 
2326
2334
  export declare const useOptions: <T extends {