@flatbiz/pro-layout 4.3.14 → 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/esm/index.css +1 -1
- package/esm/index.js +2 -10
- package/esm/index.js.map +1 -1
- package/index.d.ts +7 -4
- package/package.json +3 -3
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
|
|
|
@@ -293,6 +294,8 @@ export type BootstrapOptions = {
|
|
|
293
294
|
MenuEmptyRender?: ReactElement;
|
|
294
295
|
/** disableTopbarMenu != true模式下,未配置到菜单,隐藏侧边栏,默认值:true */
|
|
295
296
|
unMatchHiddenSiderBar?: boolean;
|
|
297
|
+
/** 侧边栏是否显示搜索框 */
|
|
298
|
+
sliderBarSearch?: boolean;
|
|
296
299
|
};
|
|
297
300
|
export type LayoutCtxProps = {
|
|
298
301
|
menus: TMenuItem[];
|
|
@@ -335,7 +338,7 @@ export declare let modal: Omit<ModalStaticFunctions, "warn">;
|
|
|
335
338
|
export type BreadProps = {
|
|
336
339
|
children?: ReactElement;
|
|
337
340
|
};
|
|
338
|
-
export declare const Bread: (props: BreadProps) => JSX.Element | null;
|
|
341
|
+
export declare const Bread: (props: BreadProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
339
342
|
export type HistoryBackProps = ButtonWrapperProps & {
|
|
340
343
|
breads: BreadsData;
|
|
341
344
|
level?: number;
|
|
@@ -355,7 +358,7 @@ export type HistoryBackProps = ButtonWrapperProps & {
|
|
|
355
358
|
* 5. onClick返回 promise reject,则不会进行回退处理(V4.2.4)
|
|
356
359
|
* ```
|
|
357
360
|
*/
|
|
358
|
-
export declare const HistoryBackButton: (props: HistoryBackProps) => JSX.Element;
|
|
361
|
+
export declare const HistoryBackButton: (props: HistoryBackProps) => import("react/jsx-runtime").JSX.Element;
|
|
359
362
|
export declare const useHistoryBack: (props: HistoryBackProps) => {
|
|
360
363
|
path: string;
|
|
361
364
|
};
|
|
@@ -379,7 +382,7 @@ export interface PageProps {
|
|
|
379
382
|
* @param props
|
|
380
383
|
* @returns
|
|
381
384
|
*/
|
|
382
|
-
export declare const Page: (props: PageProps) => JSX.Element;
|
|
385
|
+
export declare const Page: (props: PageProps) => import("react/jsx-runtime").JSX.Element;
|
|
383
386
|
export type PageWrapperServiceConfig = {
|
|
384
387
|
onRequest: (params?: TAny) => Promise<TPlainObject>;
|
|
385
388
|
params?: TPlainObject | (() => TPlainObject);
|
|
@@ -457,6 +460,6 @@ export declare const LayoutPage: (props: {
|
|
|
457
460
|
children?: ReactElement;
|
|
458
461
|
hideHeader?: boolean;
|
|
459
462
|
elementId?: string;
|
|
460
|
-
}) => JSX.Element;
|
|
463
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
461
464
|
|
|
462
465
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flatbiz/pro-layout",
|
|
3
|
-
"version": "4.3.
|
|
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.
|
|
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": "
|
|
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",
|