Skip to main content

Variable: AppSelectors

const AppSelectors: {
activeTab: string;
areChartsRendered: boolean;
areTablesRendered: boolean;
currentTheme: string;
getChartConfig: Record<string, unknown>;
getCurrentFile: string | null;
getMapConfig: Record<string, unknown>;
getPerformanceMetrics: Record<string, unknown>;
hasData: boolean;
isLoading: boolean;
isMapRendered: boolean;
isTabActive: boolean;
};

Defined in: utils/app/lifecycle/appActions.ts:373

State selectors - helper functions to get computed state values

Type Declaration​

activeTab()​

activeTab(): string;

Get the current active tab

Returns​

string

Active tab name.

areChartsRendered()​

areChartsRendered(): boolean;

Check if charts are rendered

Returns​

boolean

True if charts are rendered.

areTablesRendered()​

areTablesRendered(): boolean;

Check if tables are rendered

Returns​

boolean

True if tables are rendered.

currentTheme()​

currentTheme(): string;

Get current theme

Returns​

string

Current theme.

getChartConfig()​

getChartConfig(): Record<string, unknown>;

Get chart configuration

Returns​

Record<string, unknown>

Chart configuration.

getCurrentFile()​

getCurrentFile(): string | null;

Get current file path

Returns​

string | null

Current file path.

getMapConfig()​

getMapConfig(): Record<string, unknown>;

Get map configuration

Returns​

Record<string, unknown>

Map configuration.

getPerformanceMetrics()​

getPerformanceMetrics(): Record<string, unknown>;

Get performance metrics

Returns​

Record<string, unknown>

Performance data.

hasData()​

hasData(): boolean;

Check if any data is loaded

Returns​

boolean

True if data is loaded.

isLoading()​

isLoading(): boolean;

Check if app is currently loading

Returns​

boolean

True if loading.

isMapRendered()​

isMapRendered(): boolean;

Check if map is rendered

Returns​

boolean

True if map is rendered.

isTabActive()​

isTabActive(tabName: string): boolean;

Check if a specific tab is active

Parameters​

tabName​

string

Tab name to check.

Returns​

boolean

True if tab is active.