/*!
*
* Wijmo Library 5.20251.40
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
*
* Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
* us.sales@mescius.com
* https://developer.mescius.com/wijmo/licensing
*
*/
/**
* {@module wijmo.react.nav}
* Contains React components for the wijmo.nav module.
*/
/**
*
*/
export declare var ___keepComment: any;
import { ControlBaseEvents, ControlBaseInputs, WjRef, BaseInputs, WjForwardRefExoticComponent } from 'wijmo/wijmo.react.base';
import * as wjcCore from 'wijmo/wijmo';
import * as wjcNav from 'wijmo/wijmo.nav';
export declare type TreeViewInputs = ControlBaseInputs & {
allowDragging?: boolean;
autoCollapse?: boolean;
checkOnClick?: boolean;
checkedMemberPath?: string | string[];
childItemsPath?: string | string[];
collapseOnClick?: boolean;
collapseWhenDisabled?: boolean;
displayMemberPath?: string | string[];
expandOnClick?: boolean;
expandOnLoad?: boolean;
imageMemberPath?: string | string[];
isAnimated?: boolean;
isContentHtml?: boolean;
isReadOnly?: boolean;
itemsSource?: any[];
lazyLoadFunction?: wjcNav.ILazyLoad;
selectedItem?: any;
selectedNode?: wjcNav.TreeNode;
showCheckboxes?: boolean;
totalItemCount?: number;
preserveSelectedNode?: boolean;
allowMultiSelect?: boolean;
};
export declare type TreeViewEvents = ControlBaseEvents & {
checkedItemsChanged?: wjcCore.IEventHandler;
dragEnd?: wjcCore.IEventHandler;
dragOver?: wjcCore.IEventHandler;
dragStart?: wjcCore.IEventHandler;
drop?: wjcCore.IEventHandler;
formatItem?: wjcCore.IEventHandler;
isCheckedChanged?: wjcCore.IEventHandler;
isCheckedChanging?: wjcCore.IEventHandler;
isCollapsedChanged?: wjcCore.IEventHandler;
isCollapsedChanging?: wjcCore.IEventHandler;
itemClicked?: wjcCore.IEventHandler;
itemsSourceChanged?: wjcCore.IEventHandler;
loadedItems?: wjcCore.IEventHandler;
loadingItems?: wjcCore.IEventHandler;
nodeEditEnded?: wjcCore.IEventHandler;
nodeEditEnding?: wjcCore.IEventHandler;
nodeEditStarted?: wjcCore.IEventHandler;
nodeEditStarting?: wjcCore.IEventHandler;
selectedItemChanged?: wjcCore.IEventHandler;
};
export declare const TreeViewMeta: {
inputs: string[];
events: string[];
};
export declare type TreeViewProps = TreeViewInputs & TreeViewEvents;
export declare type TreeViewRef = WjRef;
/**
* React component for the {@link wijmo.nav.TreeView} control.
*
* The component supports all properties and events of the pure JavaScript {@link wijmo.nav.TreeView} control it represents.
*
* The component includes an initialized event that is raised when the control is initialized after it is added to the page.
* You can use this event to perform further initialization in addition to setting properties in JSX.
* The signature of the handler function is the same as any other Wijmo event handlers.
*/
export declare const TreeView: WjForwardRefExoticComponent;
export declare type TabPanelInputs = ControlBaseInputs & {
autoSwitch?: boolean;
isAnimated?: boolean;
selectedIndex?: number;
selectedTab?: wjcNav.Tab;
};
export declare type TabPanelEvents = ControlBaseEvents & {
selectedIndexChanged?: wjcCore.IEventHandler;
};
export declare const TabPanelMeta: {
inputs: string[];
events: string[];
};
export declare type TabPanelProps = TabPanelInputs & TabPanelEvents;
export declare type TabPanelRef = WjRef;
/**
* React component for the {@link wijmo.nav.TabPanel} control.
*
* The tab-panel component may contain
* a {@link wijmo.react.nav.Tab} child component.
*
* The component supports all properties and events of the pure JavaScript {@link wijmo.nav.TabPanel} control it represents.
*
* The component includes an initialized event that is raised when the control is initialized after it is added to the page.
* You can use this event to perform further initialization in addition to setting properties in JSX.
* The signature of the handler function is the same as any other Wijmo event handlers.
*/
export declare const TabPanel: WjForwardRefExoticComponent;
export declare type TabInputs = BaseInputs & {
isDisabled?: boolean;
isVisible?: boolean;
children?: any;
};
export declare type TabEvents = {};
export declare const TabMeta: {
inputs: string[];
events: any[];
};
export declare type TabProps = TabInputs & TabEvents;
export declare type TabRef = WjRef;
/**
* React component for the {@link wijmo.nav.Tab} class.
*
* The tab component should be contained in
* a {@link wijmo.react.nav.TabPanel} component.
*
* The component supports all properties and events of the pure JavaScript {@link wijmo.nav.Tab} class it represents.
*
* The component includes an initialized event that is raised when the control is initialized after it is added to the page.
* You can use this event to perform further initialization in addition to setting properties in JSX.
* The signature of the handler function is the same as any other Wijmo event handlers.
*/
export declare const Tab: WjForwardRefExoticComponent;
export declare type AccordionInputs = ControlBaseInputs & {
allowCollapseAll?: boolean;
allowExpandMany?: boolean;
autoSwitch?: boolean;
isAnimated?: boolean;
selectedIndex?: number;
selectedPane?: wjcNav.AccordionPane;
showIcons?: boolean;
};
export declare type AccordionEvents = ControlBaseEvents & {
selectedIndexChanged?: wjcCore.IEventHandler;
};
export declare const AccordionMeta: {
inputs: string[];
events: string[];
};
export declare type AccordionProps = AccordionInputs & AccordionEvents;
export declare type AccordionRef = WjRef;
/**
* React component for the {@link wijmo.nav.Accordion} control.
*
* The accordion component may contain
* a {@link wijmo.react.nav.AccordionPane} child component.
*
* The component supports all properties and events of the pure JavaScript {@link wijmo.nav.Accordion} control it represents.
*
* The component includes an initialized event that is raised when the control is initialized after it is added to the page.
* You can use this event to perform further initialization in addition to setting properties in JSX.
* The signature of the handler function is the same as any other Wijmo event handlers.
*/
export declare const Accordion: WjForwardRefExoticComponent;
export declare type AccordionPaneInputs = BaseInputs & {
isCollapsed?: boolean;
isDisabled?: boolean;
isVisible?: boolean;
children?: any;
};
export declare type AccordionPaneEvents = {};
export declare const AccordionPaneMeta: {
inputs: string[];
events: any[];
};
export declare type AccordionPaneProps = AccordionPaneInputs & AccordionPaneEvents;
export declare type AccordionPaneRef = WjRef;
/**
* React component for the {@link wijmo.nav.AccordionPane} class.
*
* The accordion-pane component should be contained in
* a {@link wijmo.react.nav.Accordion} component.
*
* The component supports all properties and events of the pure JavaScript {@link wijmo.nav.AccordionPane} class it represents.
*
* The component includes an initialized event that is raised when the control is initialized after it is added to the page.
* You can use this event to perform further initialization in addition to setting properties in JSX.
* The signature of the handler function is the same as any other Wijmo event handlers.
*/
export declare const AccordionPane: WjForwardRefExoticComponent;