@flatbiz/pro-layout 4.3.13 → 4.3.15

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
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  /// <reference types="prop-types" />
2
3
  /// <reference types="scheduler" />
3
4
 
@@ -291,6 +292,10 @@ export type BootstrapOptions = {
291
292
  collapsedWidth?: number;
292
293
  /** 菜单为空渲染,默认:请联系运营人员确定菜单数据配置 */
293
294
  MenuEmptyRender?: ReactElement;
295
+ /** disableTopbarMenu != true模式下,未配置到菜单,隐藏侧边栏,默认值:true */
296
+ unMatchHiddenSiderBar?: boolean;
297
+ /** 侧边栏是否显示搜索框 */
298
+ sliderBarSearch?: boolean;
294
299
  };
295
300
  export type LayoutCtxProps = {
296
301
  menus: TMenuItem[];
@@ -333,7 +338,7 @@ export declare let modal: Omit<ModalStaticFunctions, "warn">;
333
338
  export type BreadProps = {
334
339
  children?: ReactElement;
335
340
  };
336
- export declare const Bread: (props: BreadProps) => JSX.Element | null;
341
+ export declare const Bread: (props: BreadProps) => import("react/jsx-runtime").JSX.Element | null;
337
342
  export type HistoryBackProps = ButtonWrapperProps & {
338
343
  breads: BreadsData;
339
344
  level?: number;
@@ -353,7 +358,7 @@ export type HistoryBackProps = ButtonWrapperProps & {
353
358
  * 5. onClick返回 promise reject,则不会进行回退处理(V4.2.4)
354
359
  * ```
355
360
  */
356
- export declare const HistoryBackButton: (props: HistoryBackProps) => JSX.Element;
361
+ export declare const HistoryBackButton: (props: HistoryBackProps) => import("react/jsx-runtime").JSX.Element;
357
362
  export declare const useHistoryBack: (props: HistoryBackProps) => {
358
363
  path: string;
359
364
  };
@@ -377,7 +382,7 @@ export interface PageProps {
377
382
  * @param props
378
383
  * @returns
379
384
  */
380
- export declare const Page: (props: PageProps) => JSX.Element;
385
+ export declare const Page: (props: PageProps) => import("react/jsx-runtime").JSX.Element;
381
386
  export type PageWrapperServiceConfig = {
382
387
  onRequest: (params?: TAny) => Promise<TPlainObject>;
383
388
  params?: TPlainObject | (() => TPlainObject);
@@ -455,6 +460,6 @@ export declare const LayoutPage: (props: {
455
460
  children?: ReactElement;
456
461
  hideHeader?: boolean;
457
462
  elementId?: string;
458
- }) => JSX.Element;
463
+ }) => import("react/jsx-runtime").JSX.Element;
459
464
 
460
465
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.3.13",
3
+ "version": "4.3.15",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@dimjs/utils": ">=1.2.33",
40
40
  "@wove/react": ">=1.2.22",
41
41
  "@flatbiz/antd": ">=4.2.0",
42
- "antd": ">=5.4.0",
42
+ "antd": ">=5.5.1",
43
43
  "react": ">=18.2.0",
44
44
  "react-dom": ">=18.2.0",
45
45
  "react-router": ">=6.8.1",
@@ -53,7 +53,7 @@
53
53
  "@dimjs/model-react": "^1.1.8",
54
54
  "@dimjs/utils": "^1.2.23",
55
55
  "@wove/react": "^1.2.22",
56
- "antd": "^5.4.0",
56
+ "antd": "5.5.1",
57
57
  "react": "18.2.0",
58
58
  "react-dom": "18.2.0",
59
59
  "react-router": "^6.6.1",