@adminui-dev/antd-layout 1.0.0
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/components/AntdLayout/AsidePanel.d.ts +28 -0
- package/dist/components/AntdLayout/AvatarPanel.d.ts +21 -0
- package/dist/components/AntdLayout/BrandPanel.d.ts +33 -0
- package/dist/components/AntdLayout/CollapsedPanel.d.ts +24 -0
- package/dist/components/AntdLayout/Container.d.ts +17 -0
- package/dist/components/AntdLayout/IconPanel.d.ts +874 -0
- package/dist/components/AntdLayout/ImagePanel.d.ts +19 -0
- package/dist/components/AntdLayout/MainAside.d.ts +8 -0
- package/dist/components/AntdLayout/MainBreadcrumb.d.ts +3 -0
- package/dist/components/AntdLayout/MainContext.d.ts +19 -0
- package/dist/components/AntdLayout/MainHeader.d.ts +2 -0
- package/dist/components/AntdLayout/MainLayout.d.ts +10 -0
- package/dist/components/AntdLayout/SoltPanel.d.ts +12 -0
- package/dist/components/AntdLayout/SvgPanel.d.ts +87 -0
- package/dist/components/AntdLayout/ToolbarPanel.d.ts +22 -0
- package/dist/components/AntdLayout/common/ColorUtil.d.ts +4 -0
- package/dist/components/AntdLayout/common/MenuUtil.d.ts +36 -0
- package/dist/components/AntdLayout/common/RouteUtil.d.ts +15 -0
- package/dist/components/AntdLayout/common/StringUtil.d.ts +96 -0
- package/dist/components/AntdLayout/index.d.ts +27 -0
- package/dist/components/AntdLayout/typings.d.ts +78 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/typings.d.ts +2 -0
- package/dist/index.cjs.js +10 -0
- package/dist/index.d.ts +253 -0
- package/dist/index.esm.js +10 -0
- package/package.json +83 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ROLE_ASIDE_CONTENT_ITEM, ROLE_ASIDE_CONTENT_ITEMS, ROLE_ASIDE_FOOTER, ROLE_ASIDE_HEADER } from "./MainContext";
|
|
2
|
+
declare function AsideContentItem(props: React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
icon?: React.ReactNode;
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare namespace AsideContentItem {
|
|
6
|
+
var displayName: string;
|
|
7
|
+
var role: typeof ROLE_ASIDE_CONTENT_ITEM;
|
|
8
|
+
}
|
|
9
|
+
declare function AsideContentItems(props: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare namespace AsideContentItems {
|
|
11
|
+
var displayName: string;
|
|
12
|
+
var role: typeof ROLE_ASIDE_CONTENT_ITEMS;
|
|
13
|
+
}
|
|
14
|
+
declare function AsideFooter(props: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare namespace AsideFooter {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
var Items: typeof AsideContentItems;
|
|
18
|
+
var Item: typeof AsideContentItem;
|
|
19
|
+
var role: typeof ROLE_ASIDE_FOOTER;
|
|
20
|
+
}
|
|
21
|
+
declare function AsideHeader(props: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare namespace AsideHeader {
|
|
23
|
+
var displayName: string;
|
|
24
|
+
var Items: typeof AsideContentItems;
|
|
25
|
+
var Item: typeof AsideContentItem;
|
|
26
|
+
var role: typeof ROLE_ASIDE_HEADER;
|
|
27
|
+
}
|
|
28
|
+
export { AsideContentItem, AsideContentItems, AsideHeader, AsideFooter };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { AvatarPanelProps } from "./typings";
|
|
3
|
+
import { ROLE_AVATAR_POPOVER_CONTENT } from "./MainContext";
|
|
4
|
+
/**
|
|
5
|
+
* Avatar for panel
|
|
6
|
+
* @param props
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
declare function AvatarPanel(props: AvatarPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* Avatar for toolbar
|
|
12
|
+
* @param props
|
|
13
|
+
* @returns
|
|
14
|
+
*/
|
|
15
|
+
declare function AvatarToolbarItem(props: AvatarPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function AvatarPopoverContent(props: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare namespace AvatarPopoverContent {
|
|
18
|
+
var displayName: string;
|
|
19
|
+
var role: typeof ROLE_AVATAR_POPOVER_CONTENT;
|
|
20
|
+
}
|
|
21
|
+
export { AvatarPanel, AvatarToolbarItem, AvatarPopoverContent };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { BrandPanelProps } from "./typings";
|
|
3
|
+
import { ROLE_BRAND_POPOVER_CONTENT } from "./MainContext";
|
|
4
|
+
/**
|
|
5
|
+
* Normal brand panel
|
|
6
|
+
* @param props
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
declare function BrandPanel(props: BrandPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* Aside brand panel
|
|
12
|
+
* @param props
|
|
13
|
+
* @returns
|
|
14
|
+
*/
|
|
15
|
+
declare function BrandAsidePanel(props: BrandPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
/**
|
|
17
|
+
* Mobile brand panel
|
|
18
|
+
* @param props
|
|
19
|
+
* @returns
|
|
20
|
+
*/
|
|
21
|
+
declare function BrandMobilePanel(props: BrandPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
/**
|
|
23
|
+
* Large brand panel
|
|
24
|
+
* @param props
|
|
25
|
+
* @returns
|
|
26
|
+
*/
|
|
27
|
+
declare function LargeBrandPanel(props: BrandPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare function BrandPopoverContent(props: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare namespace BrandPopoverContent {
|
|
30
|
+
var displayName: string;
|
|
31
|
+
var role: typeof ROLE_BRAND_POPOVER_CONTENT;
|
|
32
|
+
}
|
|
33
|
+
export { BrandPanel, BrandAsidePanel, BrandMobilePanel, LargeBrandPanel, BrandPopoverContent };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { CollapsedPanelProps } from "./typings";
|
|
2
|
+
/**
|
|
3
|
+
* Default collapsed button
|
|
4
|
+
* @param props
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
declare function CollapsedMenu(props: CollapsedPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* Track collapsed button
|
|
10
|
+
* @param props
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
declare function CollapsedTrack(props: CollapsedPanelProps & {
|
|
14
|
+
offset?: number;
|
|
15
|
+
top?: boolean;
|
|
16
|
+
flated?: boolean;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
/**
|
|
19
|
+
* Mobile collapsed button
|
|
20
|
+
* @param props
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
declare function CollapsedMobileMenu(props: CollapsedPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export { CollapsedMenu, CollapsedTrack, CollapsedMobileMenu };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ContainerProps, LayoutProps } from "@adminui-dev/layout";
|
|
2
|
+
import { ROLE_CONTENT_FOOTER } from "./MainContext";
|
|
3
|
+
/**
|
|
4
|
+
* Container - layout
|
|
5
|
+
* Recommend using this component comprehensively as the main content shell
|
|
6
|
+
* @author zhouwenqi
|
|
7
|
+
* @param props
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
declare function Container(props: ContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const ContainerFooter: {
|
|
12
|
+
(props: LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
role: typeof ROLE_CONTENT_FOOTER;
|
|
15
|
+
};
|
|
16
|
+
export { ContainerFooter };
|
|
17
|
+
export default Container;
|