import { CustomElement } from '../../Abstracts/CustomElement'; import type { IRegionViewElementProps } from './IRegionViewElementProps2'; declare const RegionViewElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * RegionView - A view definition component for lazy content instantiation within a Region container. * * @description * The RegionView component acts as a template container that stores its content for lazy instantiation. * The view's children are not instantiated until the view becomes active within its parent Region element, * enabling efficient memory usage and clean lifecycle management for complex view hierarchies. When a view * is deactivated, its content is removed from the DOM, and all component lifecycle hooks are properly called. * This pattern is essential for managing large applications with multiple exclusive views. * * @name RegionView * @element mosaik-region-view * @category Grouping * * @slot - The content to be rendered when this view becomes active in its parent region * * @example * Basic view definition: * ```html * * *

Welcome Home

*

This content is only instantiated when the view is active.

*
*
* ``` * * @example * Multiple views with components: * ```html * * * * * * * * * * * * ``` * * @example * Wizard step definition: * ```html * * *

Step 1: Account Details

* *
* *

Step 2: Preferences

* *
* *

Step 3: Confirmation

*
*
*
* ``` * * @public */ export declare class RegionViewElement extends RegionViewElement_base implements IRegionViewElementProps { private _name; private _default; private _active; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * The unique name identifier for this view within a region. * * @public */ get name(): string; set name(value: string); /** * Whether this view is the default active view in the region. * * @public */ get default(): boolean; set default(value: boolean); /** * Whether this view is currently active (visible). * * @public * @attr */ get active(): boolean; set active(value: boolean); } /** * @public */ export declare namespace RegionViewElement { type Props = IRegionViewElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-region-view': RegionViewElement; } } export {}; //# sourceMappingURL=RegionViewElement.d.ts.map