@archbase/admin 4.0.41 → 4.0.43
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/ArchbaseAdminMainLayout.d.ts +18 -1
- package/dist/ArchbaseAliveAbleRoutes.d.ts +10 -0
- package/dist/archbase-admin-4.0.43.tgz +0 -0
- package/dist/index.js +2096 -2029
- package/dist/sidebar/components/SidebarItem.d.ts +1 -1
- package/dist/sidebar/types.d.ts +38 -0
- package/package.json +7 -7
- package/dist/archbase-admin-4.0.41.tgz +0 -0
|
@@ -68,6 +68,23 @@ export interface ArchbaseAdminMainLayoutProps {
|
|
|
68
68
|
sideBarTextLightColor?: string;
|
|
69
69
|
sideBarIconDarkColor?: string;
|
|
70
70
|
sideBarIconLightColor?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Imagem/gradiente de fundo do sidebar (ex: `linear-gradient(...)`). Aceita
|
|
73
|
+
* qualquer valor de `background`. Quando definido, é usado no lugar da cor
|
|
74
|
+
* sólida de `sideBarBackground*Color`. @default undefined
|
|
75
|
+
*/
|
|
76
|
+
sideBarBackgroundImage?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Background da área de conteúdo principal. Aceita cor OU gradiente. Quando
|
|
79
|
+
* definido, substitui o cinza padrão derivado do tema. @default undefined
|
|
80
|
+
*/
|
|
81
|
+
mainBackground?: string;
|
|
82
|
+
/** Raio das bordas dos itens do sidebar (px). Pílulas arredondadas. @default 0 */
|
|
83
|
+
sideBarItemBorderRadius?: string | number;
|
|
84
|
+
/** Recuo horizontal dos itens do sidebar (px). @default 0 */
|
|
85
|
+
sideBarItemHorizontalGap?: string | number;
|
|
86
|
+
/** Background do item ativo do sidebar. Aceita cor OU gradiente. @default undefined */
|
|
87
|
+
sideBarItemActiveBackground?: string;
|
|
71
88
|
sideBarCollapsedSubmenuWidth?: string | number;
|
|
72
89
|
/** Cor de destaque/hover dos items do sidebar (nome da cor do tema, ex: 'blue', 'appPrimary') */
|
|
73
90
|
sidebarActiveColor?: string;
|
|
@@ -85,4 +102,4 @@ export interface ArchbaseAdminMainLayoutProps {
|
|
|
85
102
|
/** Mostrar campo de busca no sidebar (apenas para variantes Mantine) */
|
|
86
103
|
sidebarShowSearch?: boolean;
|
|
87
104
|
}
|
|
88
|
-
export declare function ArchbaseAdminMainLayout({ navigationRootLink, navigationData, user, children, header, footer, owner, company, sideBarWidth, sideBarCollapsedWidth, sideBarHiddenBreakPoint, sideBarFooterHeight, sideBarFooterContent, onCollapsedSideBar, onHiddenSidebar, sidebarDefaultGroupIcon, sidebarSelectedGroupName, sideBarHeaderHeight, sideBarHeaderContent, selectedGroupColor, groupColor, backgroundGroupColor, groupLabelDarkColor, groupLabelLightColor, headerColor, footerHeight, iconsWithBackground, menuItemHeight, showSideBar, showHeader, headerStyle, highlightActiveMenuItem, enableSecurity, securityOptions, customRenderSidebar, onNavigationDataChange, showCollapsedButton, initialSidebarCollapsed, sideBarBackgroundDarkColor, sideBarBackgroundLightColor, sideBarTextDarkColor, sideBarTextLightColor, sideBarIconDarkColor, sideBarIconLightColor, sideBarCollapsedSubmenuWidth, sidebarActiveColor, maxKeepAliveTabs, sidebarVariant, sidebarShowSearch, }: ArchbaseAdminMainLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
105
|
+
export declare function ArchbaseAdminMainLayout({ navigationRootLink, navigationData, user, children, header, footer, owner, company, sideBarWidth, sideBarCollapsedWidth, sideBarHiddenBreakPoint, sideBarFooterHeight, sideBarFooterContent, onCollapsedSideBar, onHiddenSidebar, sidebarDefaultGroupIcon, sidebarSelectedGroupName, sideBarHeaderHeight, sideBarHeaderContent, selectedGroupColor, groupColor, backgroundGroupColor, groupLabelDarkColor, groupLabelLightColor, headerColor, footerHeight, iconsWithBackground, menuItemHeight, showSideBar, showHeader, headerStyle, highlightActiveMenuItem, enableSecurity, securityOptions, customRenderSidebar, onNavigationDataChange, showCollapsedButton, initialSidebarCollapsed, sideBarBackgroundDarkColor, sideBarBackgroundLightColor, sideBarTextDarkColor, sideBarTextLightColor, sideBarIconDarkColor, sideBarIconLightColor, sideBarBackgroundImage, mainBackground, sideBarItemBorderRadius, sideBarItemHorizontalGap, sideBarItemActiveBackground, sideBarCollapsedSubmenuWidth, sidebarActiveColor, maxKeepAliveTabs, sidebarVariant, sidebarShowSearch, }: ArchbaseAdminMainLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,6 +3,16 @@ import { RouteProps, RoutesProps } from 'react-router';
|
|
|
3
3
|
import { Params } from 'react-router-dom';
|
|
4
4
|
interface KeepAliveVisibilityContextValue {
|
|
5
5
|
isVisible: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Indica que o componente já voltou do cache pelo menos uma vez, ou seja,
|
|
8
|
+
* não está mais na sua primeira exibição.
|
|
9
|
+
*/
|
|
10
|
+
wasRestored: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Quantidade de vezes que o componente foi restaurado do cache. Use como
|
|
13
|
+
* dependência de efeito para reinicializar estado a cada retorno à aba.
|
|
14
|
+
*/
|
|
15
|
+
restoreCount: number;
|
|
6
16
|
}
|
|
7
17
|
/**
|
|
8
18
|
* Hook para acessar o estado de visibilidade do componente keep-alive.
|
|
Binary file
|